@silexpert/core 1.3.59 → 1.3.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/Subscription.d.ts +2 -2
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +3 -4
- package/dist/cjs/api/resources/Subscription.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/api/resources.d.ts +0 -4
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -4
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.js +12 -12
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Enum/PrestationType.js +8 -8
- package/dist/cjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +40 -71
- 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/internalInvoicing/GetLastRef.d.ts +0 -2
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -12
- package/dist/cjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts +9 -0
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.js +30 -1
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts +0 -1
- package/dist/cjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IApiError.js +0 -2
- package/dist/cjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/cjs/types/index.d.ts +0 -10
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +0 -11
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/index.d.ts +0 -1
- package/dist/cjs/utils/index.d.ts.map +1 -1
- package/dist/cjs/utils/index.js +0 -1
- package/dist/cjs/utils/index.js.map +1 -1
- package/dist/cjs/utils/payment.d.ts +1 -0
- package/dist/cjs/utils/payment.d.ts.map +1 -1
- package/dist/cjs/utils/payment.js.map +1 -1
- package/dist/cjs/utils/prestation.d.ts +2 -1
- package/dist/cjs/utils/prestation.d.ts.map +1 -1
- package/dist/cjs/utils/prestation.js +19 -4
- package/dist/cjs/utils/prestation.js.map +1 -1
- package/dist/cjs/utils/vat/utils.d.ts +2 -0
- package/dist/cjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/cjs/utils/vat/utils.js +10 -0
- package/dist/cjs/utils/vat/utils.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +2 -2
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +3 -4
- package/dist/mjs/api/resources/Subscription.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 +6 -0
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +0 -4
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -4
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.js +12 -12
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Enum/PrestationType.js +8 -8
- package/dist/mjs/types/Enum/PrestationType.js.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts +1 -0
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/commercial/RequiredDocsTypeParams.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +40 -71
- 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/internalInvoicing/GetLastRef.d.ts +0 -2
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js +0 -14
- package/dist/mjs/types/Interface/api/internalInvoicing/GetLastRef.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts +9 -0
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.js +28 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts +0 -1
- package/dist/mjs/types/Interface/models/IApiError.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IApiError.js +0 -2
- package/dist/mjs/types/Interface/models/IApiError.js.map +1 -1
- package/dist/mjs/types/index.d.ts +0 -10
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +0 -11
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/index.d.ts +0 -1
- package/dist/mjs/utils/index.d.ts.map +1 -1
- package/dist/mjs/utils/index.js +0 -1
- package/dist/mjs/utils/index.js.map +1 -1
- package/dist/mjs/utils/payment.d.ts +1 -0
- package/dist/mjs/utils/payment.d.ts.map +1 -1
- package/dist/mjs/utils/payment.js.map +1 -1
- package/dist/mjs/utils/prestation.d.ts +2 -1
- package/dist/mjs/utils/prestation.d.ts.map +1 -1
- package/dist/mjs/utils/prestation.js +17 -4
- package/dist/mjs/utils/prestation.js.map +1 -1
- package/dist/mjs/utils/vat/utils.d.ts +2 -0
- package/dist/mjs/utils/vat/utils.d.ts.map +1 -1
- package/dist/mjs/utils/vat/utils.js +9 -0
- package/dist/mjs/utils/vat/utils.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Subscription.ts +5 -15
- package/ts/api/resources/User.ts +8 -0
- package/ts/api/resources.ts +0 -4
- package/ts/types/Enum/BalanceSheet.ts +12 -12
- package/ts/types/Enum/PrestationType.ts +8 -8
- package/ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts +1 -0
- package/ts/types/Interface/api/config/ConfigType.ts +39 -75
- package/ts/types/Interface/api/internalInvoicing/GetLastRef.ts +0 -10
- package/ts/types/Interface/api/user/Query.ts +26 -0
- package/ts/types/Interface/models/IApiError.ts +0 -3
- package/ts/types/index.ts +0 -11
- package/ts/utils/index.ts +0 -1
- package/ts/utils/payment.ts +1 -0
- package/ts/utils/prestation.ts +30 -5
- package/ts/utils/vat/utils.ts +10 -1
- package/dist/cjs/api/resources/PromoCode.d.ts +0 -14
- package/dist/cjs/api/resources/PromoCode.d.ts.map +0 -1
- package/dist/cjs/api/resources/PromoCode.js +0 -35
- package/dist/cjs/api/resources/PromoCode.js.map +0 -1
- package/dist/cjs/api/resources/SocietyPromoCode.d.ts +0 -8
- package/dist/cjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
- package/dist/cjs/api/resources/SocietyPromoCode.js +0 -17
- package/dist/cjs/api/resources/SocietyPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -85
- package/dist/cjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -53
- package/dist/cjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -49
- package/dist/cjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +0 -34
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -3
- package/dist/cjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -53
- package/dist/cjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +0 -25
- package/dist/cjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
- package/dist/cjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IDefaultPromotion.js +0 -3
- package/dist/cjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
- package/dist/cjs/types/Interface/models/IPromoCode.d.ts +0 -15
- package/dist/cjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IPromoCode.js +0 -3
- package/dist/cjs/types/Interface/models/IPromoCode.js.map +0 -1
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.js +0 -3
- package/dist/cjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
- package/dist/cjs/utils/subscription.d.ts +0 -21
- package/dist/cjs/utils/subscription.d.ts.map +0 -1
- package/dist/cjs/utils/subscription.js +0 -97
- package/dist/cjs/utils/subscription.js.map +0 -1
- package/dist/mjs/api/resources/PromoCode.d.ts +0 -14
- package/dist/mjs/api/resources/PromoCode.d.ts.map +0 -1
- package/dist/mjs/api/resources/PromoCode.js +0 -31
- package/dist/mjs/api/resources/PromoCode.js.map +0 -1
- package/dist/mjs/api/resources/SocietyPromoCode.d.ts +0 -8
- package/dist/mjs/api/resources/SocietyPromoCode.d.ts.map +0 -1
- package/dist/mjs/api/resources/SocietyPromoCode.js +0 -13
- package/dist/mjs/api/resources/SocietyPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts +0 -14
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js +0 -93
- package/dist/mjs/types/Interface/api/promoCode/CreateDefaultPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts +0 -12
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js +0 -58
- package/dist/mjs/types/Interface/api/promoCode/CreatePromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts +0 -8
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js +0 -50
- package/dist/mjs/types/Interface/api/promoCode/QueryDefaultPromotion.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts +0 -5
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js +0 -28
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts +0 -7
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js +0 -2
- package/dist/mjs/types/Interface/api/promoCode/ReadDefaultPromotion.js.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts +0 -12
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js +0 -58
- package/dist/mjs/types/Interface/api/promoCode/UpdatePromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts +0 -5
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js +0 -23
- package/dist/mjs/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts +0 -17
- package/dist/mjs/types/Interface/models/IDefaultPromotion.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IDefaultPromotion.js +0 -2
- package/dist/mjs/types/Interface/models/IDefaultPromotion.js.map +0 -1
- package/dist/mjs/types/Interface/models/IPromoCode.d.ts +0 -15
- package/dist/mjs/types/Interface/models/IPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IPromoCode.js +0 -2
- package/dist/mjs/types/Interface/models/IPromoCode.js.map +0 -1
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts +0 -8
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.js +0 -2
- package/dist/mjs/types/Interface/models/ISocietyPromoCode.js.map +0 -1
- package/dist/mjs/utils/subscription.d.ts +0 -21
- package/dist/mjs/utils/subscription.d.ts.map +0 -1
- package/dist/mjs/utils/subscription.js +0 -92
- package/dist/mjs/utils/subscription.js.map +0 -1
- package/ts/api/resources/PromoCode.ts +0 -50
- package/ts/api/resources/SocietyPromoCode.ts +0 -16
- package/ts/types/Interface/api/promoCode/CreateDefaultPromoCode.ts +0 -59
- package/ts/types/Interface/api/promoCode/CreatePromoCode.ts +0 -30
- package/ts/types/Interface/api/promoCode/QueryDefaultPromotion.ts +0 -30
- package/ts/types/Interface/api/promoCode/ReadDefaultPaginationPromoCode.ts +0 -14
- package/ts/types/Interface/api/promoCode/ReadDefaultPromotion.ts +0 -7
- package/ts/types/Interface/api/promoCode/UpdatePromoCode.ts +0 -30
- package/ts/types/Interface/api/societyPromoCode/CreateSocietyPromoCode.ts +0 -9
- package/ts/types/Interface/models/IDefaultPromotion.ts +0 -16
- package/ts/types/Interface/models/IPromoCode.ts +0 -14
- package/ts/types/Interface/models/ISocietyPromoCode.ts +0 -7
- package/ts/utils/subscription.ts +0 -124
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequiredDocsTypeParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACpG,aAAa,CAAC,EAAE;QAAE,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACrE,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"RequiredDocsTypeParams.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,EAAE,CAAC,EAAE,MAAM,CAAC;QAAC,eAAe,CAAC,EAAE,MAAM,CAAC;QAAC,kBAAkB,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACpG,aAAa,CAAC,EAAE;QAAE,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAAC,YAAY,CAAC,EAAE,IAAI,CAAA;KAAE,CAAC;IACrE,QAAQ,EAAE,QAAQ,EAAE,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC1C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequiredDocsTypeParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"","sourcesContent":["import { IBusinessPartner } from '../../models/IBusinessPartner';\nimport { IGedFile } from '../../models/IGedFile';\n\nexport interface RequiredDocsType {\n society: { idLegalForm?: number; id?: number; totalSharesHeld?: number; dateOfRegistration?: Date };\n oldExpertInfo?: { dontHaveOldExpert?: boolean; recoveryDate?: Date };\n _gedFile: IGedFile[];\n isOnlyPrevi?: boolean;\n isOnlyJuridic?: boolean;\n isOnlySocial?: boolean;\n listBusinessPartners?: IBusinessPartner[];\n isCreation?: boolean;\n isConsultingHour?: boolean;\n goToClient?: Date;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"RequiredDocsTypeParams.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/commercial/RequiredDocsTypeParams.ts"],"names":[],"mappings":"","sourcesContent":["import { IBusinessPartner } from '../../models/IBusinessPartner';\nimport { IGedFile } from '../../models/IGedFile';\n\nexport interface RequiredDocsType {\n society: { idLegalForm?: number; id?: number; totalSharesHeld?: number; dateOfRegistration?: Date };\n oldExpertInfo?: { dontHaveOldExpert?: boolean; recoveryDate?: Date };\n _gedFile: IGedFile[];\n isOnlyPrevi?: boolean;\n isOnlyJuridic?: boolean;\n isOnlySocial?: boolean;\n listBusinessPartners?: IBusinessPartner[];\n isCreation?: boolean;\n isConsultingHour?: boolean;\n goToClient?: Date;\n isOnlySoftware?: boolean;\n}\n"]}
|
|
@@ -2,30 +2,24 @@ export interface ConfigType {
|
|
|
2
2
|
port: number;
|
|
3
3
|
db: Db;
|
|
4
4
|
hostS3: string;
|
|
5
|
-
hostApplication: string;
|
|
6
|
-
hostSiteInternet: string;
|
|
7
5
|
redis: Redis;
|
|
8
6
|
redisPrimary: RedisPrimary;
|
|
9
7
|
caarl: Caarl;
|
|
10
8
|
yousign: Yousign;
|
|
11
9
|
secretToken: string;
|
|
12
|
-
comptaclementineTest: ComptaclementineTest;
|
|
13
10
|
bred: Bred;
|
|
14
11
|
awsClementine: AwsClementine;
|
|
15
12
|
mail: Mail;
|
|
16
13
|
client: Client;
|
|
17
14
|
twilio: Twilio;
|
|
18
|
-
aspone: Aspone;
|
|
19
15
|
societyTestId: number;
|
|
20
16
|
pappers: Pappers;
|
|
21
17
|
shine: Shine;
|
|
22
18
|
defaultPermissions: DefaultPermissions;
|
|
23
19
|
crisp: Crisp;
|
|
24
20
|
brand: ConfigBrand;
|
|
25
|
-
adminStatic: AdminStatic;
|
|
26
21
|
ocr: Ocr;
|
|
27
22
|
jeDeclare: JeDeclare;
|
|
28
|
-
firebase: Firebase;
|
|
29
23
|
notification: Notification;
|
|
30
24
|
pdfizer: Pdfizer;
|
|
31
25
|
iDocus: IDocus;
|
|
@@ -45,22 +39,22 @@ export interface ConfigType {
|
|
|
45
39
|
authentication: Authentication;
|
|
46
40
|
recaptcha: Recaptcha;
|
|
47
41
|
}
|
|
48
|
-
|
|
42
|
+
interface Authentication {
|
|
49
43
|
token: string;
|
|
50
44
|
}
|
|
51
|
-
|
|
45
|
+
interface LambdaInfos {
|
|
52
46
|
url: string;
|
|
53
47
|
key: string;
|
|
54
48
|
}
|
|
55
|
-
|
|
49
|
+
interface Mongodb {
|
|
56
50
|
username: string;
|
|
57
51
|
password: string;
|
|
58
52
|
host: string;
|
|
59
53
|
}
|
|
60
|
-
|
|
54
|
+
interface MachineLearning {
|
|
61
55
|
transactionAnnotation: string;
|
|
62
56
|
}
|
|
63
|
-
|
|
57
|
+
interface Db {
|
|
64
58
|
username: string;
|
|
65
59
|
password: string;
|
|
66
60
|
database: string;
|
|
@@ -68,36 +62,28 @@ export interface Db {
|
|
|
68
62
|
host: string;
|
|
69
63
|
dialect: string;
|
|
70
64
|
}
|
|
71
|
-
|
|
65
|
+
interface Redis {
|
|
72
66
|
host: string;
|
|
73
67
|
port: number;
|
|
74
68
|
}
|
|
75
|
-
|
|
69
|
+
interface RedisPrimary {
|
|
76
70
|
replicationGroupId: string;
|
|
77
71
|
}
|
|
78
|
-
|
|
72
|
+
interface Caarl {
|
|
79
73
|
api: string;
|
|
80
74
|
token: string;
|
|
81
75
|
bundle: string;
|
|
82
76
|
}
|
|
83
|
-
|
|
77
|
+
interface Yousign {
|
|
84
78
|
apiYousign: string;
|
|
85
79
|
appYousign: string;
|
|
86
80
|
token: Token;
|
|
87
81
|
workspaceId: string;
|
|
88
82
|
}
|
|
89
|
-
|
|
83
|
+
interface Token {
|
|
90
84
|
clementine: string;
|
|
91
85
|
pourcentage: string;
|
|
92
86
|
}
|
|
93
|
-
export interface ComptaclementineTest {
|
|
94
|
-
username: string;
|
|
95
|
-
password: string;
|
|
96
|
-
database: string;
|
|
97
|
-
port: string;
|
|
98
|
-
host: string;
|
|
99
|
-
dialect: string;
|
|
100
|
-
}
|
|
101
87
|
export interface Bred {
|
|
102
88
|
authorizeHost: string;
|
|
103
89
|
authorizePath: string;
|
|
@@ -111,43 +97,37 @@ export interface Bred {
|
|
|
111
97
|
subscriptionKey: string;
|
|
112
98
|
}
|
|
113
99
|
export type BucketName = 'resources-local-dev' | 'resources-anytime' | 'resources-comptalib' | 'resources-eunomia' | 'resources-legalstart' | 'resources-pourcentage' | 'resources-statuts-express' | 'resources-clementine' | 'resources-comptalib-staging' | 'clementine-website' | 'resources-internal' | 'sales-contract';
|
|
114
|
-
|
|
100
|
+
interface AwsClementine {
|
|
115
101
|
accessKeyId: string;
|
|
116
102
|
secretAccessKey: string;
|
|
117
103
|
clementineBucketName: BucketName;
|
|
118
104
|
apiVersion: string;
|
|
119
105
|
}
|
|
120
|
-
|
|
106
|
+
interface Mail {
|
|
121
107
|
user: string;
|
|
122
108
|
password: string;
|
|
123
109
|
host: string;
|
|
124
110
|
port: number;
|
|
125
111
|
tls: boolean;
|
|
126
112
|
}
|
|
127
|
-
|
|
113
|
+
interface Client {
|
|
128
114
|
host: string;
|
|
129
115
|
hostFull: string;
|
|
130
116
|
}
|
|
131
|
-
|
|
117
|
+
interface Twilio {
|
|
132
118
|
accountSID: string;
|
|
133
119
|
authToken: string;
|
|
134
120
|
number: string;
|
|
135
121
|
}
|
|
136
|
-
export interface Aspone {
|
|
137
|
-
siret: string;
|
|
138
|
-
api: string;
|
|
139
|
-
access: Access;
|
|
140
|
-
serviceVersion: string;
|
|
141
|
-
}
|
|
142
122
|
export interface Access {
|
|
143
123
|
login: string;
|
|
144
124
|
password: string;
|
|
145
125
|
}
|
|
146
|
-
|
|
126
|
+
interface Pappers {
|
|
147
127
|
token: string;
|
|
148
128
|
url: string;
|
|
149
129
|
}
|
|
150
|
-
|
|
130
|
+
interface Shine {
|
|
151
131
|
host: string;
|
|
152
132
|
hostV3: string;
|
|
153
133
|
publicHost: string;
|
|
@@ -157,7 +137,7 @@ export interface Shine {
|
|
|
157
137
|
status: string;
|
|
158
138
|
scope: string;
|
|
159
139
|
}
|
|
160
|
-
|
|
140
|
+
interface DefaultPermissions {
|
|
161
141
|
gescom: boolean;
|
|
162
142
|
compta: boolean;
|
|
163
143
|
stats: boolean;
|
|
@@ -171,98 +151,87 @@ export interface DefaultPermissions {
|
|
|
171
151
|
setting: boolean;
|
|
172
152
|
purchase: boolean;
|
|
173
153
|
}
|
|
174
|
-
|
|
154
|
+
interface Crisp {
|
|
175
155
|
identifier: string;
|
|
176
156
|
key: string;
|
|
177
157
|
}
|
|
178
|
-
|
|
158
|
+
interface ConfigBrand {
|
|
179
159
|
name: string;
|
|
180
160
|
api: string;
|
|
181
161
|
api2: string;
|
|
182
162
|
api2Clementine: string;
|
|
183
163
|
api2Legalstart: string;
|
|
184
164
|
}
|
|
185
|
-
export interface AdminStatic {
|
|
186
|
-
login: string;
|
|
187
|
-
password: string;
|
|
188
|
-
}
|
|
189
165
|
export interface Ocr {
|
|
190
166
|
URL: string;
|
|
191
167
|
}
|
|
192
|
-
|
|
168
|
+
interface JeDeclare {
|
|
193
169
|
access: Access2[];
|
|
194
170
|
serviceVersion: string;
|
|
195
171
|
}
|
|
196
|
-
|
|
172
|
+
interface Access2 {
|
|
197
173
|
name: string;
|
|
198
174
|
test: Test;
|
|
199
175
|
production: Production;
|
|
200
176
|
}
|
|
201
|
-
|
|
177
|
+
interface Test {
|
|
202
178
|
login: string;
|
|
203
179
|
password: string;
|
|
204
180
|
editor: string;
|
|
205
181
|
software: string;
|
|
206
182
|
wsdl: Wsdl;
|
|
207
183
|
}
|
|
208
|
-
|
|
184
|
+
interface Wsdl {
|
|
209
185
|
url: string;
|
|
210
186
|
}
|
|
211
|
-
|
|
187
|
+
interface Production {
|
|
212
188
|
login: string;
|
|
213
189
|
password: string;
|
|
214
190
|
editor: string;
|
|
215
191
|
software: string;
|
|
216
192
|
wsdl: Wsdl2;
|
|
217
193
|
}
|
|
218
|
-
|
|
194
|
+
interface Wsdl2 {
|
|
219
195
|
url: string;
|
|
220
196
|
}
|
|
221
|
-
export interface Firebase {
|
|
222
|
-
type: string;
|
|
223
|
-
project_id: string;
|
|
224
|
-
private_key_id: string;
|
|
225
|
-
private_key: string;
|
|
226
|
-
client_email: string;
|
|
227
|
-
client_id: string;
|
|
228
|
-
auth_uri: string;
|
|
229
|
-
token_uri: string;
|
|
230
|
-
auth_provider_x509_cert_url: string;
|
|
231
|
-
client_x509_cert_url: string;
|
|
232
|
-
universe_domain: string;
|
|
233
|
-
}
|
|
234
197
|
export interface Notification {
|
|
235
198
|
hookToken: string;
|
|
236
199
|
}
|
|
237
|
-
|
|
200
|
+
interface Pdfizer {
|
|
238
201
|
url: string;
|
|
239
202
|
key: string;
|
|
240
203
|
}
|
|
241
|
-
|
|
204
|
+
interface IDocus {
|
|
242
205
|
baseUrl: string;
|
|
243
206
|
callbackurl: string;
|
|
244
207
|
authorizationKey: string;
|
|
245
208
|
}
|
|
246
|
-
|
|
209
|
+
interface Companeo {
|
|
247
210
|
username: string;
|
|
248
211
|
pass: string;
|
|
249
212
|
}
|
|
250
|
-
|
|
213
|
+
interface Inpi {
|
|
251
214
|
username: string;
|
|
252
215
|
password: string;
|
|
253
216
|
}
|
|
254
|
-
|
|
217
|
+
interface Notion {
|
|
255
218
|
key: string;
|
|
256
219
|
}
|
|
257
|
-
|
|
258
|
-
|
|
220
|
+
interface Brevo {
|
|
221
|
+
lists: {
|
|
222
|
+
hot: number;
|
|
223
|
+
paying: number;
|
|
224
|
+
cold: number;
|
|
225
|
+
churned: number;
|
|
226
|
+
};
|
|
259
227
|
}
|
|
260
|
-
|
|
228
|
+
interface Echo {
|
|
261
229
|
url: string;
|
|
262
230
|
accountid: string;
|
|
263
231
|
apikey: string;
|
|
264
232
|
}
|
|
265
|
-
|
|
233
|
+
interface Recaptcha {
|
|
266
234
|
secret: string;
|
|
267
235
|
}
|
|
236
|
+
export {};
|
|
268
237
|
//# sourceMappingURL=ConfigType.d.ts.map
|
|
@@ -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,
|
|
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,KAAK,EAAE,KAAK,CAAC;IACb,YAAY,EAAE,YAAY,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,IAAI,CAAC;IACX,aAAa,EAAE,aAAa,CAAC;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,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,GAAG,EAAE,GAAG,CAAC;IACT,SAAS,EAAE,SAAS,CAAC;IACrB,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,CA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":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\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 redis: Redis;\n redisPrimary: RedisPrimary;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n bred: Bred;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n societyTestId: number;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n ocr: Ocr;\n jeDeclare: JeDeclare;\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\ninterface Authentication {\n token: string;\n}\n\ninterface LambdaInfos {\n url: string;\n key: string;\n}\n\ninterface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\ninterface MachineLearning {\n transactionAnnotation: string;\n}\n\ninterface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\ninterface Redis {\n host: string;\n port: number;\n}\n\ninterface RedisPrimary {\n replicationGroupId: string;\n}\n\ninterface Caarl {\n api: string;\n token: string;\n bundle: string;\n}\n\ninterface Yousign {\n apiYousign: string;\n appYousign: string;\n token: Token;\n workspaceId: string;\n}\n\ninterface Token {\n clementine: string;\n pourcentage: 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\ninterface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\ninterface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\ninterface Client {\n host: string;\n hostFull: string;\n}\n\ninterface Twilio {\n accountSID: string;\n authToken: string;\n number: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\ninterface Pappers {\n token: string;\n url: string;\n}\n\ninterface 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\ninterface 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\ninterface Crisp {\n identifier: string;\n key: string;\n}\n\ninterface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\ninterface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\ninterface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\ninterface Test {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\ninterface Wsdl {\n url: string;\n}\n\ninterface Production {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\ninterface Wsdl2 {\n url: string;\n}\n\nexport interface Notification {\n hookToken: string;\n}\n\ninterface Pdfizer {\n url: string;\n key: string;\n}\n\ninterface IDocus {\n baseUrl: string;\n callbackurl: string;\n authorizationKey: string;\n}\n\ninterface Companeo {\n username: string;\n pass: string;\n}\n\ninterface Inpi {\n username: string;\n password: string;\n}\n\ninterface Notion {\n key: string;\n}\n\ninterface Brevo {\n lists: {\n hot: number;\n paying: number;\n cold: number;\n churned: number;\n };\n}\n\ninterface Echo {\n url: string;\n accountid: string;\n apikey: string;\n}\n\ninterface Recaptcha {\n secret: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLastRef.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GetLastRef.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAC5B"}
|
|
@@ -10,24 +10,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GetLastRef = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
13
|
const utils_1 = require("../../../../utils");
|
|
15
14
|
class GetLastRef {
|
|
16
15
|
}
|
|
17
16
|
exports.GetLastRef = GetLastRef;
|
|
18
17
|
__decorate([
|
|
19
18
|
(0, utils_1.ApiProperty)(),
|
|
20
|
-
(0, class_validator_1.IsString)(),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], GetLastRef.prototype, "login", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, utils_1.ApiProperty)(),
|
|
25
|
-
(0, class_validator_1.IsString)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], GetLastRef.prototype, "password", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, utils_1.ApiProperty)(),
|
|
30
|
-
(0, class_validator_1.IsArray)(),
|
|
31
19
|
__metadata("design:type", Array)
|
|
32
20
|
], GetLastRef.prototype, "idTypeBrand", void 0);
|
|
33
21
|
//# sourceMappingURL=GetLastRef.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetLastRef.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"GetLastRef.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/internalInvoicing/GetLastRef.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,UAAU;CAGtB;AAHD,gCAGC;AADC;IADC,IAAA,mBAAW,GAAE;8BACD,KAAK;+CAAS","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetLastRef {\n @ApiProperty()\n idTypeBrand: Array<number>;\n}\n"]}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
import { SubscriptionType } from '../../../Enum/SubscriptionType';
|
|
2
2
|
import { WhereOptions } from 'sequelize';
|
|
3
3
|
import { ISociety } from '../../models/ISociety';
|
|
4
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
5
|
+
import { Role } from '../../../Enum/Role';
|
|
6
|
+
import { EntityType } from '../../../Enum/EntityType';
|
|
4
7
|
export declare class QueryConfirm {
|
|
5
8
|
tokenConfirmedAt: string;
|
|
6
9
|
email: string;
|
|
7
10
|
}
|
|
11
|
+
export declare class QueryGetAllUsersPaginated extends RequiredQueryPaginate {
|
|
12
|
+
search?: string;
|
|
13
|
+
roles?: Role[];
|
|
14
|
+
entities?: EntityType[];
|
|
15
|
+
active?: boolean;
|
|
16
|
+
}
|
|
8
17
|
export declare class QueryGetAllCollaborators {
|
|
9
18
|
idUser?: number[];
|
|
10
19
|
include?: string[];
|
|
@@ -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;
|
|
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;AACjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,qBAAa,YAAY;IAEvB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,yBAA0B,SAAQ,qBAAqB;IAI1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,KAAK,CAAC,EAAE,IAAI,EAAE,CAAC;IAKf,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAC;IAMxB,MAAM,CAAC,EAAE,OAAO,CAAC;CAC1B;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,CAAC;CACrC;AAED,qBAAa,oBAAoB;IAO/B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,2BAA2B;IAEtC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,kBAAkB;IAI7B,kBAAkB,CAAC,EAAE,gBAAgB,CAAC;IAMtC,eAAe,CAAC,EAAE,OAAO,CAAC;IAM1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAK1B,UAAU,CAAC,EAAE,OAAO,CAAC,MAAM,QAAQ,EAAE,MAAM,CAAC,EAAE,CAAC;IAoC/C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAInB,KAAK,CAAC,EAAE,YAAY,CAAC,QAAQ,CAAC,CAAC;CAChC;AAED,qBAAa,mBAAmB;IAG9B,QAAQ,EAAE,MAAM,CAAC;IAMjB,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACvB;AAED,qBAAa,wBAAwB;IAEnC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,eAAe;IAI1B,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,OAAO,CAAC,EAAE,MAAM,CAAC;IAMjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAKlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAK5B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,QAAQ;IAKnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
|
|
@@ -9,11 +9,12 @@ 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.QueryGet = exports.QueryUserExport = exports.QueryUserSmsConfirmation = exports.QueryUpdatePassword = exports.GetSocietyFromUser = exports.QueryResendConfirmationLink = exports.QueryGetAllWithoutBp = exports.QueryGetAllFromSociety = exports.QueryGetAllCollaboratorsByRoles = exports.QueryGetAllCollaborators = exports.QueryConfirm = void 0;
|
|
12
|
+
exports.QueryGet = exports.QueryUserExport = exports.QueryUserSmsConfirmation = exports.QueryUpdatePassword = exports.GetSocietyFromUser = exports.QueryResendConfirmationLink = exports.QueryGetAllWithoutBp = exports.QueryGetAllFromSociety = exports.QueryGetAllCollaboratorsByRoles = exports.QueryGetAllCollaborators = exports.QueryGetAllUsersPaginated = exports.QueryConfirm = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
16
|
const SubscriptionType_1 = require("../../../Enum/SubscriptionType");
|
|
17
|
+
const BasePaginate_1 = require("../BasePaginate");
|
|
17
18
|
class QueryConfirm {
|
|
18
19
|
}
|
|
19
20
|
exports.QueryConfirm = QueryConfirm;
|
|
@@ -25,6 +26,34 @@ __decorate([
|
|
|
25
26
|
(0, utils_1.ApiProperty)(),
|
|
26
27
|
__metadata("design:type", String)
|
|
27
28
|
], QueryConfirm.prototype, "email", void 0);
|
|
29
|
+
class QueryGetAllUsersPaginated extends BasePaginate_1.RequiredQueryPaginate {
|
|
30
|
+
}
|
|
31
|
+
exports.QueryGetAllUsersPaginated = QueryGetAllUsersPaginated;
|
|
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
|
+
], QueryGetAllUsersPaginated.prototype, "search", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
(0, class_validator_1.IsArray)(),
|
|
42
|
+
__metadata("design:type", Array)
|
|
43
|
+
], QueryGetAllUsersPaginated.prototype, "roles", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
|
47
|
+
(0, class_validator_1.IsArray)(),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], QueryGetAllUsersPaginated.prototype, "entities", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsBoolean)(),
|
|
54
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], QueryGetAllUsersPaginated.prototype, "active", void 0);
|
|
28
57
|
class QueryGetAllCollaborators {
|
|
29
58
|
}
|
|
30
59
|
exports.QueryGetAllCollaborators = QueryGetAllCollaborators;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuG;AACvG,6CAAqE;AACrE,sFAA2E;AAC3E,qEAAkE;
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuG;AACvG,6CAAqE;AACrE,sFAA2E;AAC3E,qEAAkE;AAGlE,kDAAwD;AAIxD,MAAa,YAAY;CAMxB;AAND,oCAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;sDACW;AAGzB;IADC,IAAA,mBAAW,GAAE;;2CACA;AAGhB,MAAa,yBAA0B,SAAQ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BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;gDACM;AAKlB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAKd;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACiB;AAK5B;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;+CACQ;AAGpB,MAAa,QAAQ;CAMpB;AAND,4BAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8CACW","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';\nimport { RequiredQueryPaginate } from '../BasePaginate';\nimport { Role } from '../../../Enum/Role';\nimport { EntityType } from '../../../Enum/EntityType';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n\nexport class QueryGetAllUsersPaginated extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n declare search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare roles?: Role[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n declare entities?: EntityType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n declare active?: boolean;\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: [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n ],\n })\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(\n [\n 'societyConfig',\n 'brandType',\n 'societyGescom',\n 'oldExpertInfo',\n 'activity',\n 'follows',\n 'compta',\n 'subscriptionType',\n 'connector',\n 'permissions',\n 'societyDetails',\n ],\n { each: true },\n )\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\nexport class QueryGet {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n withNewToken?: boolean;\n}\n"]}
|
|
@@ -109,7 +109,6 @@ export declare enum Code {
|
|
|
109
109
|
invalidData = "invalidData",
|
|
110
110
|
societyNotFound = "society_not_found",
|
|
111
111
|
payloadIsEmpty = "payload_is_empty",
|
|
112
|
-
wrongPromoCode = "wrong_promo_code",
|
|
113
112
|
fetchNewBudgetInvalidSociety = "fetch_new_budget_invalid_idSociety",
|
|
114
113
|
fetchConnectionFailed = "fetch_connection_failed",
|
|
115
114
|
fetchBankAccountFailed = "fetch_bank_account_failed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/I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128
128
|
Code["payloadIsEmpty"] = "payload_is_empty";
|
|
129
|
-
// PromoCode
|
|
130
|
-
Code["wrongPromoCode"] = "wrong_promo_code";
|
|
131
129
|
// Budget Fetch
|
|
132
130
|
Code["fetchNewBudgetInvalidSociety"] = "fetch_new_budget_invalid_idSociety";
|
|
133
131
|
Code["fetchConnectionFailed"] = "fetch_connection_failed";
|