@silexpert/core 1.3.28 → 1.3.30-0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api/resources/Immobilization.d.ts +1 -1
- package/dist/cjs/api/resources/Immobilization.d.ts.map +1 -1
- package/dist/cjs/api/resources/Immobilization.js +2 -2
- package/dist/cjs/api/resources/Immobilization.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +25 -4
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js +34 -8
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +16 -0
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/cjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +4 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +10 -3
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +2 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js +11 -7
- package/dist/cjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/user/Query.js +1 -0
- package/dist/cjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietySocial.d.ts +6 -6
- package/dist/cjs/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ISocietySocial.js.map +1 -1
- package/dist/mjs/api/resources/Immobilization.d.ts +1 -1
- package/dist/mjs/api/resources/Immobilization.d.ts.map +1 -1
- package/dist/mjs/api/resources/Immobilization.js +2 -2
- package/dist/mjs/api/resources/Immobilization.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +25 -4
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js +34 -8
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +16 -0
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2035.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2035.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2065.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2065.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2069RCI.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2571.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2571.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2572.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2572.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts +1 -0
- package/dist/mjs/types/Interface/api/cerfa/2573.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2573.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -13
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +4 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +9 -2
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +3 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js +11 -7
- package/dist/mjs/types/Interface/api/user/CreateCoworker.js.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/user/Query.js +1 -0
- package/dist/mjs/types/Interface/api/user/Query.js.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietySocial.d.ts +6 -6
- package/dist/mjs/types/Interface/models/ISocietySocial.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ISocietySocial.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Immobilization.ts +6 -2
- package/ts/api/resources/Subscription.ts +41 -11
- package/ts/types/Enum/BrandClementine.ts +16 -0
- package/ts/types/Enum/TimeSlot.ts +1 -1
- package/ts/types/Interface/api/cerfa/2031.ts +1 -0
- package/ts/types/Interface/api/cerfa/2035.ts +6 -1
- package/ts/types/Interface/api/cerfa/2065.ts +1 -0
- package/ts/types/Interface/api/cerfa/2069RCI.ts +1 -0
- package/ts/types/Interface/api/cerfa/2571.ts +1 -0
- package/ts/types/Interface/api/cerfa/2572.ts +1 -0
- package/ts/types/Interface/api/cerfa/2573.ts +1 -0
- package/ts/types/Interface/api/config/ConfigType.ts +0 -16
- package/ts/types/Interface/api/stripe/Create.ts +8 -3
- package/ts/types/Interface/api/stripe/QueryStripe.ts +3 -1
- package/ts/types/Interface/api/user/CreateCoworker.ts +11 -7
- package/ts/types/Interface/api/user/Query.ts +7 -6
- package/ts/types/Interface/models/ISocietySocial.ts +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n values: Cerfa2573_2024;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
|
|
1
|
+
{"version":3,"file":"2573.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/cerfa/2573.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeCOL_2024, AsponeCRB_2024, AsponeENT_2024 } from '../../../Enum/Aspone';\nimport { CerfaAddress } from './ReadCerfa';\n\ntype Cession = {\n amount: number;\n cessionDate: Date;\n closingDate: Date;\n siren: string;\n};\n\nexport type CompanyTaxRefund = {\n amount: number;\n impute: {\n amount: number | null;\n date: Date | null;\n tax: string | null;\n };\n nature: string | null;\n procedure: {\n date: string;\n nature: string;\n } | null;\n reason: string | null;\n year: number | null;\n interest: number | null;\n};\n\ntype Repayment = {\n amount: number;\n closingDate: Date;\n interests: number;\n nature: string;\n transferDate: string;\n};\n\ntype Transfert = {\n amount: number;\n closingDate: string;\n date: Date;\n nature: string;\n siren: string;\n};\n\nexport type Cerfa2573_2024 = {\n cessions: Cession[];\n declaration: {\n recipient: {\n address: CerfaAddress;\n name: string;\n operator: null | {\n address: CerfaAddress;\n };\n };\n siren: string;\n };\n headOfGroupSiren: string | null;\n absorbentCompanySiren: string | null;\n hasTaxIntegrationRegime: boolean;\n refunds: CompanyTaxRefund[];\n repayments: Repayment[];\n transferts: Transfert[];\n};\n\nexport type Prepare2573Params = {\n idSociety: number;\n idExercice: number;\n idUser: number;\n values: Cerfa2573_2024;\n};\n\nexport type Cerfa2573_Refund_Input = {\n nature: AsponeCRB_2024;\n year: number | null;\n amount: number | null;\n reason: AsponeENT_2024 | null;\n procedure: {\n date: Date | null;\n nature: null;\n };\n};\n\nexport type ReadCerfa2573Inputs = {\n refunds: Cerfa2573_Refund_Input[];\n selectValues: {\n natures: Array<{ id: AsponeCRB_2024; value: string }>;\n procedureNatures: Array<{ id: AsponeCOL_2024; value: string }>;\n reasons: Array<{ id: AsponeENT_2024; value: string }>;\n };\n};\n"]}
|
|
@@ -13,9 +13,6 @@ export interface ConfigType {
|
|
|
13
13
|
comptaclementineTest: ComptaclementineTest;
|
|
14
14
|
bred: Bred;
|
|
15
15
|
awsClementine: AwsClementine;
|
|
16
|
-
stripe: Stripe;
|
|
17
|
-
stripeECB: StripeEcb;
|
|
18
|
-
stripeStatuts: StripeStatuts;
|
|
19
16
|
mail: Mail;
|
|
20
17
|
client: Client;
|
|
21
18
|
twilio: Twilio;
|
|
@@ -127,16 +124,6 @@ export interface AwsClementine {
|
|
|
127
124
|
clementineBucketName: BucketName;
|
|
128
125
|
apiVersion: string;
|
|
129
126
|
}
|
|
130
|
-
export interface Stripe {
|
|
131
|
-
secretKey: string;
|
|
132
|
-
secretKeyTestToDelete: string;
|
|
133
|
-
}
|
|
134
|
-
export interface StripeEcb {
|
|
135
|
-
secretKey: string;
|
|
136
|
-
}
|
|
137
|
-
export interface StripeStatuts {
|
|
138
|
-
secretKey: string;
|
|
139
|
-
}
|
|
140
127
|
export interface Mail {
|
|
141
128
|
user: string;
|
|
142
129
|
password: string;
|
|
@@ -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,
|
|
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,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,IAA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/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n budgetInsight: BudgetInsight;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n
|
|
1
|
+
{"version":3,"file":"ConfigType.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/config/ConfigType.ts"],"names":[],"mappings":"","sourcesContent":["export interface ConfigType {\n port: number;\n db: Db;\n hostS3: string;\n hostApplication: string;\n hostSiteInternet: string;\n redis: Redis;\n redisPrimary: RedisPrimary;\n budgetInsight: BudgetInsight;\n caarl: Caarl;\n yousign: Yousign;\n secretToken: string;\n comptaclementineTest: ComptaclementineTest;\n bred: Bred;\n awsClementine: AwsClementine;\n mail: Mail;\n client: Client;\n twilio: Twilio;\n aspone: Aspone;\n societyTestId: number;\n pappers: Pappers;\n shine: Shine;\n defaultPermissions: DefaultPermissions;\n crisp: Crisp;\n brand: ConfigBrand;\n adminStatic: AdminStatic;\n ocr: Ocr;\n jeDeclare: JeDeclare;\n firebase: Firebase;\n notification: Notification;\n pdfizer: Pdfizer;\n iDocus: IDocus;\n imageMagick: LambdaInfos;\n companeo: Companeo;\n inpi: Inpi;\n notion: Notion;\n brevo: Brevo;\n tinyurl: LambdaInfos;\n machineLearning: MachineLearning;\n echo: Echo;\n compressPdf: LambdaInfos;\n mongodb: Mongodb;\n pdftkizer: LambdaInfos;\n sharper: LambdaInfos;\n chartizer: LambdaInfos;\n authentication: Authentication;\n recaptcha: Recaptcha;\n}\n\nexport interface Authentication {\n token: string;\n}\n\nexport interface LambdaInfos {\n url: string;\n key: string;\n}\n\nexport interface Mongodb {\n username: string;\n password: string;\n host: string;\n}\n\nexport interface MachineLearning {\n transactionAnnotation: string;\n}\n\nexport interface Db {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Redis {\n host: string;\n port: number;\n}\n\nexport interface RedisPrimary {\n replicationGroupId: string;\n}\n\nexport interface BudgetInsight {\n apiLinkBudget: string;\n clientId: string;\n clientSecret: string;\n hookToken: string;\n}\n\nexport interface Caarl {\n api: string;\n token: string;\n bundle: string;\n}\n\nexport interface Yousign {\n apiYousign: string;\n appYousign: string;\n token: Token;\n workspaceId: string;\n}\n\nexport interface Token {\n clementine: string;\n pourcentage: string;\n}\n\nexport interface ComptaclementineTest {\n username: string;\n password: string;\n database: string;\n port: string;\n host: string;\n dialect: string;\n}\n\nexport interface Bred {\n authorizeHost: string;\n authorizePath: string;\n urlPostCodeRequest: string;\n urlGetToken: string;\n apiUrl: string;\n clientId: string;\n clientSecret: string;\n scope: string;\n redirectUri: string;\n subscriptionKey: string;\n}\n\nexport type BucketName =\n | 'resources-local-dev'\n | 'resources-anytime'\n | 'resources-comptalib'\n | 'resources-eunomia'\n | 'resources-legalstart'\n | 'resources-pourcentage'\n | 'resources-statuts-express'\n | 'resources-clementine'\n | 'resources-comptalib-staging'\n | 'clementine-website'\n | 'resources-internal'\n | 'sales-contract';\n\nexport interface AwsClementine {\n accessKeyId: string;\n secretAccessKey: string;\n clementineBucketName: BucketName;\n apiVersion: string;\n}\n\nexport interface Mail {\n user: string;\n password: string;\n host: string;\n port: number;\n tls: boolean;\n}\n\nexport interface Client {\n host: string;\n hostFull: string;\n}\n\nexport interface Twilio {\n accountSID: string;\n authToken: string;\n number: string;\n}\n\nexport interface Aspone {\n siret: string;\n api: string;\n access: Access;\n serviceVersion: string;\n}\n\nexport interface Access {\n login: string;\n password: string;\n}\n\nexport interface Pappers {\n token: string;\n url: string;\n}\n\nexport interface Shine {\n host: string;\n hostV3: string;\n publicHost: string;\n clientId: string;\n clientSecret: string;\n redirect_uris: string[];\n status: string;\n scope: string;\n}\n\nexport interface DefaultPermissions {\n gescom: boolean;\n compta: boolean;\n stats: boolean;\n docTreso: boolean;\n services: boolean;\n social: boolean;\n tva: boolean;\n simulation: boolean;\n simulationMultiple: boolean;\n balanceSheet: boolean;\n setting: boolean;\n purchase: boolean;\n}\n\nexport interface Crisp {\n identifier: string;\n key: string;\n}\n\nexport interface ConfigBrand {\n name: string;\n api: string;\n api2: string;\n api2Clementine: string;\n api2Legalstart: string;\n}\n\nexport interface AdminStatic {\n login: string;\n password: string;\n}\n\nexport interface Ocr {\n URL: string;\n}\n\nexport interface JeDeclare {\n access: Access2[];\n serviceVersion: string;\n}\n\nexport interface Access2 {\n name: string;\n test: Test;\n production: Production;\n}\n\nexport interface Test {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl;\n}\n\nexport interface Wsdl {\n url: string;\n}\n\nexport interface Production {\n login: string;\n password: string;\n editor: string;\n software: string;\n wsdl: Wsdl2;\n}\n\nexport interface Wsdl2 {\n url: string;\n}\n\nexport interface Firebase {\n type: string;\n project_id: string;\n private_key_id: string;\n private_key: string;\n client_email: string;\n client_id: string;\n auth_uri: string;\n token_uri: string;\n auth_provider_x509_cert_url: string;\n client_x509_cert_url: string;\n universe_domain: string;\n}\n\nexport interface Notification {\n hookToken: string;\n}\n\nexport interface Pdfizer {\n url: string;\n key: string;\n}\n\nexport interface IDocus {\n baseUrl: string;\n callbackurl: string;\n authorizationKey: string;\n}\n\nexport interface Companeo {\n username: string;\n pass: string;\n}\n\nexport interface Inpi {\n username: string;\n password: string;\n}\n\nexport interface Notion {\n key: string;\n}\n\nexport interface Brevo {\n apiKeyProd: string;\n}\n\nexport interface Echo {\n url: string;\n accountid: string;\n apikey: string;\n}\n\nexport interface Recaptcha {\n secret: string;\n}\n"]}
|
|
@@ -2,10 +2,13 @@ export declare class CreateStripeConnection {
|
|
|
2
2
|
code: string;
|
|
3
3
|
}
|
|
4
4
|
export declare class CreateStripePortals {
|
|
5
|
-
stripeCustomerId
|
|
5
|
+
stripeCustomerId: string;
|
|
6
6
|
}
|
|
7
7
|
export declare class CreateImportTransactionForSociety {
|
|
8
8
|
startDate?: Date;
|
|
9
9
|
endDate?: Date;
|
|
10
10
|
}
|
|
11
|
+
export declare class CreateSubscriptionSession {
|
|
12
|
+
priceId: string;
|
|
13
|
+
}
|
|
11
14
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -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.CreateImportTransactionForSociety = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
12
|
+
exports.CreateSubscriptionSession = exports.CreateImportTransactionForSociety = exports.CreateStripePortals = exports.CreateStripeConnection = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
class CreateStripeConnection {
|
|
@@ -24,9 +24,8 @@ class CreateStripePortals {
|
|
|
24
24
|
}
|
|
25
25
|
exports.CreateStripePortals = CreateStripePortals;
|
|
26
26
|
__decorate([
|
|
27
|
-
(0, utils_1.
|
|
27
|
+
(0, utils_1.ApiProperty)(),
|
|
28
28
|
(0, class_validator_1.IsString)(),
|
|
29
|
-
(0, class_validator_1.IsOptional)(),
|
|
30
29
|
__metadata("design:type", String)
|
|
31
30
|
], CreateStripePortals.prototype, "stripeCustomerId", void 0);
|
|
32
31
|
class CreateImportTransactionForSociety {
|
|
@@ -44,4 +43,12 @@ __decorate([
|
|
|
44
43
|
(0, class_validator_1.IsOptional)(),
|
|
45
44
|
__metadata("design:type", Date)
|
|
46
45
|
], CreateImportTransactionForSociety.prototype, "endDate", void 0);
|
|
46
|
+
class CreateSubscriptionSession {
|
|
47
|
+
}
|
|
48
|
+
exports.CreateSubscriptionSession = CreateSubscriptionSession;
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, utils_1.ApiProperty)(),
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], CreateSubscriptionSession.prototype, "priceId", void 0);
|
|
47
54
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,6CAAqE;AAErE,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6DACc;AAG3B,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AANC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACD,IAAI;oEAAC;AAKjB;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;8BACH,IAAI;kEAAC;AAGjB,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AADC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;0DACK","sourcesContent":["import { IsDate, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,6BAA6B;IAGxC,UAAU,EAAE,MAAM,CAAC;IAInB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -18,10 +18,12 @@ class RetrieveUpcomingInvoiceParams {
|
|
|
18
18
|
exports.RetrieveUpcomingInvoiceParams = RetrieveUpcomingInvoiceParams;
|
|
19
19
|
__decorate([
|
|
20
20
|
(0, utils_1.ApiProperty)(),
|
|
21
|
+
(0, class_validator_1.IsString)(),
|
|
21
22
|
__metadata("design:type", String)
|
|
22
23
|
], RetrieveUpcomingInvoiceParams.prototype, "customerId", void 0);
|
|
23
24
|
__decorate([
|
|
24
25
|
(0, utils_1.ApiProperty)(),
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
25
27
|
__metadata("design:type", String)
|
|
26
28
|
], RetrieveUpcomingInvoiceParams.prototype, "subscriptionId", void 0);
|
|
27
29
|
class QueryStripeSession {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAClE,6CAAqE;AACrE,sFAA2E;AAE3E,MAAa,6BAA6B;CAQzC;AARD,sEAQC;AALC;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;iEACQ;AAInB;IAFC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;qEACY;AAGzB,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AADC;IAJC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;oDACO","sourcesContent":["import { IsBoolean, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrieveUpcomingInvoiceParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiProperty()\n @IsString()\n subscriptionId: string;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCoworker.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,qBAAa,cAAc;IAIzB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAC;IAKhB,SAAS,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateCoworker.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":"AAeA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,qBAAa,cAAc;IAIzB,SAAS,EAAE,MAAM,CAAC;IAKlB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,QAAQ,EAAE,MAAM,CAAC;IAKjB,QAAQ,EAAE,MAAM,CAAC;IAKjB,KAAK,EAAE,MAAM,CAAC;IAKd,UAAU,CAAC,EAAE,MAAM,CAAC;IAKpB,MAAM,EAAE,OAAO,CAAC;IAKhB,SAAS,EAAE,OAAO,CAAC;IAMnB,YAAY,CAAC,EAAE,OAAO,CAAC;IAKvB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,QAAQ,EAAE,MAAM,CAAC;IAKjB,MAAM,EAAE,UAAU,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAMnB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAMzB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -61,18 +61,19 @@ __decorate([
|
|
|
61
61
|
], CreateCoworker.prototype, "idCivility", void 0);
|
|
62
62
|
__decorate([
|
|
63
63
|
(0, decorators_1.ApiProperty)({ default: true }),
|
|
64
|
-
(0, class_validator_1.
|
|
64
|
+
(0, class_validator_1.IsBoolean)(),
|
|
65
65
|
(0, boolean_transform_1.ToBoolean)(),
|
|
66
66
|
__metadata("design:type", Boolean)
|
|
67
67
|
], CreateCoworker.prototype, "active", void 0);
|
|
68
68
|
__decorate([
|
|
69
69
|
(0, decorators_1.ApiProperty)({ default: false }),
|
|
70
|
-
(0, class_validator_1.
|
|
70
|
+
(0, class_validator_1.IsBoolean)(),
|
|
71
71
|
(0, boolean_transform_1.ToBoolean)(),
|
|
72
72
|
__metadata("design:type", Boolean)
|
|
73
73
|
], CreateCoworker.prototype, "flexitime", void 0);
|
|
74
74
|
__decorate([
|
|
75
75
|
(0, decorators_1.ApiPropertyOptional)({ default: true }),
|
|
76
|
+
(0, class_validator_1.IsOptional)(),
|
|
76
77
|
(0, class_validator_1.IsBoolean)(),
|
|
77
78
|
(0, boolean_transform_1.ToBoolean)(),
|
|
78
79
|
__metadata("design:type", Boolean)
|
|
@@ -93,6 +94,7 @@ __decorate([
|
|
|
93
94
|
(0, decorators_1.ApiPropertyOptional)(),
|
|
94
95
|
(0, class_validator_1.IsOptional)(),
|
|
95
96
|
(0, class_validator_1.IsBoolean)(),
|
|
97
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
96
98
|
__metadata("design:type", Boolean)
|
|
97
99
|
], CreateCoworker.prototype, "apprentice", void 0);
|
|
98
100
|
__decorate([
|
|
@@ -126,22 +128,24 @@ __decorate([
|
|
|
126
128
|
__metadata("design:type", Number)
|
|
127
129
|
], CreateCoworker.prototype, "entity", void 0);
|
|
128
130
|
__decorate([
|
|
129
|
-
(0, decorators_1.
|
|
130
|
-
(0, class_validator_1.
|
|
131
|
+
(0, decorators_1.ApiPropertyOptional)(),
|
|
132
|
+
(0, class_validator_1.IsOptional)(),
|
|
131
133
|
(0, class_validator_1.IsArray)(),
|
|
132
134
|
(0, class_validator_1.IsInt)({ each: true }),
|
|
133
135
|
__metadata("design:type", Array)
|
|
134
136
|
], CreateCoworker.prototype, "idRoles", void 0);
|
|
135
137
|
__decorate([
|
|
136
|
-
(0, decorators_1.
|
|
138
|
+
(0, decorators_1.ApiPropertyOptional)(),
|
|
139
|
+
(0, class_validator_1.IsOptional)(),
|
|
137
140
|
(0, class_validator_1.IsDefined)(),
|
|
138
141
|
(0, class_validator_1.IsArray)(),
|
|
139
142
|
__metadata("design:type", Array)
|
|
140
143
|
], CreateCoworker.prototype, "idTeams", void 0);
|
|
141
144
|
__decorate([
|
|
142
|
-
(0, decorators_1.
|
|
143
|
-
(0, class_validator_1.
|
|
145
|
+
(0, decorators_1.ApiPropertyOptional)(),
|
|
146
|
+
(0, class_validator_1.IsOptional)(),
|
|
144
147
|
(0, class_validator_1.IsArray)(),
|
|
148
|
+
(0, class_validator_1.IsInt)({ each: true }),
|
|
145
149
|
__metadata("design:type", Array)
|
|
146
150
|
], CreateCoworker.prototype, "idUsersBrands", void 0);
|
|
147
151
|
__decorate([
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCoworker.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAYyB;AACzB,6DAAgF;AAChF,sFAA2E;AAC3E,yDAAsD;AAEtD,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"CreateCoworker.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/CreateCoworker.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAYyB;AACzB,6DAAgF;AAChF,sFAA2E;AAC3E,yDAAsD;AAEtD,MAAa,cAAc;CAoH1B;AApHD,wCAoHC;AAhHC;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAQ,GAAE;;iDACO;AAKlB;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAQ,GAAE;;gDACM;AAKjB;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,yBAAO,GAAE;;6CACI;AAKd;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAQ,GAAE;;gDACM;AAKjB;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,0BAAQ,GAAE;;gDACM;AAKjB;IAHC,IAAA,wBAAW,GAAE;IACb,IAAA,2BAAS,GAAE;IACX,IAAA,+BAAa,EAAC,IAAI,CAAC;;6CACN;AAKd;IAHC,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACS;AAKpB;IAHC,IAAA,wBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;8CACI;AAKhB;IAHC,IAAA,wBAAW,EAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;IAC/B,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;iDACO;AAMnB;IAJC,I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GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,uBAAK,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;qDACG;AAMzB;IAJC,IAAA,gCAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;;6CACI","sourcesContent":["import {\n IsArray,\n IsBoolean,\n IsDate,\n IsDefined,\n IsEmail,\n IsEnum,\n IsInt,\n IsNumber,\n IsOptional,\n IsPhoneNumber,\n IsString,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { EntityType } from '../../../Enum/EntityType';\n\nexport class CreateCoworker {\n @ApiProperty()\n @IsDefined()\n @IsString()\n firstname: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n lastname: string;\n\n @ApiProperty()\n @IsDefined()\n @IsEmail()\n email: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n username: string;\n\n @ApiProperty()\n @IsDefined()\n @IsString()\n password: string;\n\n @ApiProperty()\n @IsDefined()\n @IsPhoneNumber('FR')\n phone: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idCivility?: number;\n\n @ApiProperty({ default: true })\n @IsBoolean()\n @ToBoolean()\n active: boolean;\n\n @ApiProperty({ default: false })\n @IsBoolean()\n @ToBoolean()\n flexitime: boolean;\n\n @ApiPropertyOptional({ default: true })\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isThemeLight?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n calendlyUrl?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n positionLabel?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n apprentice?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n birthdate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n arrivalDate?: Date;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDate()\n confirmedAt?: Date;\n\n @ApiProperty()\n @IsDefined()\n @IsInt()\n idOffice: number;\n\n @ApiProperty()\n @IsDefined()\n @IsEnum(EntityType)\n entity: EntityType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idRoles?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDefined()\n @IsArray()\n idTeams?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n @IsInt({ each: true })\n idUsersBrands?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isVpn?: boolean;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,YAAY;IAEvB,gBAAgB,EAAE,MAAM,CAAC;IAGzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,wBAAwB;IAOnC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAQlB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB;AAED,qBAAa,+BAA+B;IAI1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAQ3B,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,qBAAa,sBAAsB;IAOjC,SAAS,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/user/Query.ts"],"names":[],"mappings":"AAGA,OAAO,EAA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AQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;gEACgB;AAGpB,MAAa,sBAAsB;
|
|
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;AAIlE,MAAa,YAAY;CAMxB;AAND,oCAMC;AAJC;IADC,IAAA,mBAAW,GAAE;;sDACW;AAGzB;IADC,IAAA,mBAAW,GAAE;;2CACA;AAGhB,MAAa,wBAAwB;CAgBpC;AAhBD,4DAgBC;AATC;IANC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,oBAAoB;QACjC,QAAQ,EAAE,KAAK;QACf,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;wDACgB;AAQlB;IANC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;IACD,IAAA,sBAAI,EAAC,CAAC,QAAQ,EAAE,OAAO,EAAE,eAAe,EAAE,qBAAqB,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;yDAC/D;AAGrB,MAAa,+BAA+B;CAa3C;AAbD,0EAaC;AATC;IAHC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;0EACmB;AAQ3B;IANC,IAAA,mBAAW,EAAC;QACX,WAAW,EAAE,4BAA4B;QACzC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,CAAC,MAAM,CAAC;QACd,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;KACjB,CAAC;;gEACgB;AAGpB,MAAa,sBA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AAMjB;IAJC,IAAA,2BAAmB,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","sourcesContent":["import { IsArray, IsBoolean, IsIn, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { SubscriptionType } from '../../../Enum/SubscriptionType';\nimport { WhereOptions } from 'sequelize';\nimport { ISociety } from '../../models/ISociety';\n\nexport class QueryConfirm {\n @ApiProperty()\n tokenConfirmedAt: string;\n\n @ApiProperty()\n email: string;\n}\n\nexport class QueryGetAllCollaborators {\n @ApiProperty({\n description: 'filtering users id',\n required: false,\n type: [Number],\n example: [1, 13],\n })\n idUser?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['avatar', 'teams', 'businessLines', 'collaboraterDetails'], { each: true })\n include?: string[];\n}\n\nexport class QueryGetAllCollaboratorsByRoles {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idTimeCounterType?: number;\n\n @ApiProperty({\n description: 'roles used for group users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n idRoles: number[];\n}\n\nexport class QueryGetAllFromSociety {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n\n @ApiProperty({\n description: 'array of roles id needed to return list of users',\n required: true,\n type: [Number],\n example: [1, 13],\n })\n @IsArray()\n roles: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n usersNotInBusinessPartner?: boolean;\n}\n\nexport class QueryGetAllWithoutBp {\n @ApiProperty({\n description: 'id of the specified society',\n required: true,\n type: Number,\n example: 100,\n })\n idSociety: number;\n}\n\nexport class QueryResendConfirmationLink {\n @ApiProperty()\n id: number;\n}\n\nexport class GetSocietyFromUser {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idSubscriptionType?: SubscriptionType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n displayArchived?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n onlyLabAccepted?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString({ each: true })\n attributes?: Extract<keyof ISociety, string>[];\n\n @ApiPropertyOptional({\n default: ['societyConfig', 'brandType', 'societyGescom', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'connector', 'permissions']\n })\n @IsOptional()\n @IsString({\n each: true,\n })\n @IsIn(['societyConfig', 'brandType', 'societyGescom', 'oldExpertInfo', 'activity', 'follows', 'compta', 'subscriptionType', 'connector', 'permissions', 'societyDetails'], { each: true })\n include?: string[];\n\n @ApiPropertyOptional()\n @IsOptional()\n where?: WhereOptions<ISociety>;\n}\n\nexport class QueryUpdatePassword {\n @ApiProperty()\n @IsString()\n password: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n @Min(1)\n id?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n token?: string | null;\n}\n\nexport class QueryUserSmsConfirmation {\n @ApiProperty()\n code: string;\n}\n\nexport class QueryUserExport {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateStart?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n dateEnd?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n archive?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n week?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idTypeSubscription?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n reason?: number[];\n}\n"]}
|
|
@@ -4,17 +4,17 @@ import { ISociety } from './ISociety';
|
|
|
4
4
|
export interface ISocietySocial {
|
|
5
5
|
id?: number;
|
|
6
6
|
quantity: number;
|
|
7
|
-
amount
|
|
8
|
-
dueDate
|
|
9
|
-
navetteOk
|
|
7
|
+
amount?: number | null;
|
|
8
|
+
dueDate?: Date | null;
|
|
9
|
+
navetteOk?: Date | null;
|
|
10
10
|
done: boolean;
|
|
11
11
|
idSociety: number;
|
|
12
12
|
idPrestationSocial: number;
|
|
13
13
|
idPayment: number;
|
|
14
14
|
createdAt?: Date | null;
|
|
15
15
|
updatedAt?: Date | null;
|
|
16
|
-
prestationList
|
|
17
|
-
society
|
|
18
|
-
payment
|
|
16
|
+
prestationList?: IPrestationList;
|
|
17
|
+
society?: ISociety;
|
|
18
|
+
payment?: IPayment;
|
|
19
19
|
}
|
|
20
20
|
//# sourceMappingURL=ISocietySocial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietySocial.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ISocietySocial.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAGtC,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,cAAc,CAAC,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,OAAO,CAAC,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietySocial.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"","sourcesContent":["import { IPayment } from './IPayment';\nimport { IPrestationList } from './IPrestationList';\nimport { ISociety } from './ISociety';\n\n// societySocial\nexport interface ISocietySocial {\n id?: number;\n quantity: number;\n amount
|
|
1
|
+
{"version":3,"file":"ISocietySocial.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/ISocietySocial.ts"],"names":[],"mappings":"","sourcesContent":["import { IPayment } from './IPayment';\nimport { IPrestationList } from './IPrestationList';\nimport { ISociety } from './ISociety';\n\n// societySocial\nexport interface ISocietySocial {\n id?: number;\n quantity: number;\n amount?: number | null;\n dueDate?: Date | null;\n navetteOk?: Date | null;\n done: boolean;\n idSociety: number;\n idPrestationSocial: number;\n idPayment: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n prestationList?: IPrestationList;\n society?: ISociety;\n payment?: IPayment;\n}\n"]}
|
|
@@ -14,7 +14,7 @@ export declare class Immobilization extends Resource {
|
|
|
14
14
|
idSociety: number;
|
|
15
15
|
id: number;
|
|
16
16
|
}): Promise<boolean>;
|
|
17
|
-
createImmobilization(idSociety: number, payload: CreateImmobilizationForm): Promise<ReadHydratedImmobilization>;
|
|
17
|
+
createImmobilization(idSociety: number, idExercice: number, payload: CreateImmobilizationForm): Promise<ReadHydratedImmobilization>;
|
|
18
18
|
end(idSociety: number, idImmobilization: number, payload: CreateEndOfImmobilizationForm): Promise<ReadHydratedImmobilization>;
|
|
19
19
|
getReconciliationFile(idSociety: number, payload: CreateImmobilizationReconciliationFile): Promise<Buffer>;
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Immobilization.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,qCAAqC,EACrC,0BAA0B,EAC1B,wBAAwB,EACxB,6BAA6B,EAC7B,sCAAsC,EACvC,MAAM,aAAa,CAAC;AAErB,qBAAa,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,qCAAqC,GAAG,KAAK,CAAC;IAInH,8BAA8B,CAAC,MAAM,EAAE;QAAE,UAAU,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,MAAM,CAAC;IAS/E,kBAAkB,CAAC,MAAM,EAAE;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,0BAA0B,EAAE,CAAC;IA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|
@@ -17,8 +17,8 @@ export class Immobilization extends Resource {
|
|
|
17
17
|
deleteImmobilization(params) {
|
|
18
18
|
return this.axios.$delete(`/society/${params.idSociety}/immobilization/${params.id}`);
|
|
19
19
|
}
|
|
20
|
-
createImmobilization(idSociety, payload) {
|
|
21
|
-
return this.axios.$post(`/society/${idSociety}/
|
|
20
|
+
createImmobilization(idSociety, idExercice, payload) {
|
|
21
|
+
return this.axios.$post(`/society/${idSociety}/exercices/${idExercice}/immobilizations`, payload);
|
|
22
22
|
}
|
|
23
23
|
end(idSociety, idImmobilization, payload) {
|
|
24
24
|
return this.axios.$put(`/society/${idSociety}/immobilization/${idImmobilization}/end`, payload);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Immobilization.js","sourceRoot":"","sources":["../../../../ts/api/resources/Immobilization.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AASvC,MAAM,OAAO,cAAe,SAAQ,QAAQ;IAC1C,2BAA2B,CAAC,MAA8B;QACxD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,2BAA2B,EAAE,EAAE,CAAC,CAAC;IACxF,CAAC;IAED,8BAA8B,CAAC,MAA8B;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,aAAa,MAAM,CAAC,UAAU,+BAA+B,EAAE;YACpF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;IAED,kBAAkB,CAAC,MAA6B;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,MAAM,CAAC,SAAS,kBAAkB,EAAE,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,oBAAoB,CAAC,MAAyC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,YAAY,MAAM,CAAC,SAAS,mBA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C,CAAC;IAClG,CAAC;IAED,qBAAqB,CAAC,SAAiB,EAAE,OAA+C;QACtF,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,SAAS,kCAAkC,EAAE,OAAO,EAAE;YACxF,YAAY,EAAE,aAAa;YAC3B,OAAO,EAAE;gBACP,MAAM,EAAE,iBAAiB;aAC1B;SACF,CAAC,CAAC;IACL,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n ReadFormattedImmobilizationsByAccount,\n ReadHydratedImmobilization,\n CreateImmobilizationForm,\n CreateEndOfImmobilizationForm,\n CreateImmobilizationReconciliationFile,\n} from '../../types';\n\nexport class Immobilization extends Resource {\n getImmobilizationsInventory(params: { idExercice: number }): Promise<ReadFormattedImmobilizationsByAccount | Error> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory`, {});\n }\n\n getImmobilizationsInventoryPdf(params: { idExercice: number }): Promise<Buffer> {\n return this.axios.$get(`/exercice/${params.idExercice}/immobilizationsInventory/pdf`, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n\n getImmobilizations(params: { idSociety: number }): Promise<ReadHydratedImmobilization[]> {\n return this.axios.$get(`/society/${params.idSociety}/immobilizations`, {});\n }\n\n deleteImmobilization(params: { idSociety: number; id: number }): Promise<boolean> {\n return this.axios.$delete(`/society/${params.idSociety}/immobilization/${params.id}`);\n }\n\n createImmobilization(\n idSociety: number,\n idExercice: number,\n payload: CreateImmobilizationForm,\n ): Promise<ReadHydratedImmobilization> {\n return this.axios.$post(`/society/${idSociety}/exercices/${idExercice}/immobilizations`, payload);\n }\n\n end(\n idSociety: number,\n idImmobilization: number,\n payload: CreateEndOfImmobilizationForm,\n ): Promise<ReadHydratedImmobilization> {\n return this.axios.$put(`/society/${idSociety}/immobilization/${idImmobilization}/end`, payload);\n }\n\n getReconciliationFile(idSociety: number, payload: CreateImmobilizationReconciliationFile): Promise<Buffer> {\n return this.axios.$post(`/society/${idSociety}/immobilizations/reconciliations`, payload, {\n responseType: 'arraybuffer',\n headers: {\n Accept: 'application/pdf',\n },\n });\n }\n}\n"]}
|
|
@@ -1,10 +1,31 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { RetrieveUpcomingInvoiceParams, ReadUpcomingInvoice, QueryStripeSession, CreateStripePortals } from '../../types';
|
|
2
|
+
import { RetrieveUpcomingInvoiceParams, ReadUpcomingInvoice, QueryStripeSession, CreateSubscriptionSession, CreateStripePortals } from '../../types';
|
|
3
3
|
import Stripe from 'stripe';
|
|
4
4
|
export declare class Subscription extends Resource {
|
|
5
|
+
/**
|
|
6
|
+
* Retourne les offres Stripe actives
|
|
7
|
+
* Attention : les montants sont retournés x100
|
|
8
|
+
*/
|
|
9
|
+
getAllOffers(): Promise<Stripe.Price[]>;
|
|
10
|
+
/**
|
|
11
|
+
* Créé une session Stripe avec les informations client
|
|
12
|
+
* Attention : les montants sont retournés x100
|
|
13
|
+
*/
|
|
14
|
+
createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
15
|
+
/**
|
|
16
|
+
* Créé un portail Stripe permettant de gérer l'abonnement
|
|
17
|
+
* Attention : les montants sont retournés x100
|
|
18
|
+
*/
|
|
19
|
+
createPortal(payload: CreateStripePortals): Promise<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Retourne l'abonnement Stripe de la société courante
|
|
22
|
+
* Attention : les montants sont retournés x100
|
|
23
|
+
*/
|
|
24
|
+
get(): Promise<Stripe.Response<Stripe.Subscription> | null>;
|
|
25
|
+
/**
|
|
26
|
+
* Retourne les informations de la prochaine facture Stripe
|
|
27
|
+
*/
|
|
5
28
|
retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice>;
|
|
6
|
-
|
|
7
|
-
createSession(idSociety: number, body: QueryStripeSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
8
|
-
createPortalSession(idUser: number, body: CreateStripePortals): Promise<Stripe.Response<Stripe.BillingPortal.Session>>;
|
|
29
|
+
createComptalibSession(idSociety: number, body: QueryStripeSession): Promise<Stripe.Response<Stripe.Checkout.Session>>;
|
|
9
30
|
}
|
|
10
31
|
//# sourceMappingURL=Subscription.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscription.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACpB,MAAM,aAAa,CAAC;AACrB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,YAAa,SAAQ,QAAQ;IACxC,
|
|
1
|
+
{"version":3,"file":"Subscription.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,6BAA6B,EAC7B,mBAAmB,EACnB,kBAAkB,EAClB,yBAAyB,EACzB,mBAAmB,EACpB,MAAM,aAAa,CAAC;AACrB,OAAO,MAAM,MAAM,QAAQ,CAAC;AAE5B,qBAAa,YAAa,SAAQ,QAAQ;IACxC;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;IAIvC;;;OAGG;IACH,aAAa,CAAC,OAAO,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAIpG;;;OAGG;IACH,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC,MAAM,CAAC;IAI3D;;;OAGG;IACH,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;IAI3D;;OAEG;IACH,uBAAuB,CAAC,MAAM,EAAE,6BAA6B,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAM5F,sBAAsB,CACpB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;CAGrD"}
|
|
@@ -1,16 +1,42 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
export class Subscription extends Resource {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
/**
|
|
4
|
+
* Retourne les offres Stripe actives
|
|
5
|
+
* Attention : les montants sont retournés x100
|
|
6
|
+
*/
|
|
7
|
+
getAllOffers() {
|
|
8
|
+
return this.axios.$get('/stripe/subscriptions/offers');
|
|
5
9
|
}
|
|
6
|
-
|
|
7
|
-
|
|
10
|
+
/**
|
|
11
|
+
* Créé une session Stripe avec les informations client
|
|
12
|
+
* Attention : les montants sont retournés x100
|
|
13
|
+
*/
|
|
14
|
+
createSession(payload) {
|
|
15
|
+
return this.axios.$post('/stripe/subscriptions/sessions', payload);
|
|
8
16
|
}
|
|
9
|
-
|
|
10
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Créé un portail Stripe permettant de gérer l'abonnement
|
|
19
|
+
* Attention : les montants sont retournés x100
|
|
20
|
+
*/
|
|
21
|
+
createPortal(payload) {
|
|
22
|
+
return this.axios.$post('/stripe/subscriptions/portals', payload);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Retourne l'abonnement Stripe de la société courante
|
|
26
|
+
* Attention : les montants sont retournés x100
|
|
27
|
+
*/
|
|
28
|
+
get() {
|
|
29
|
+
return this.axios.$get('/stripe/subscriptions');
|
|
11
30
|
}
|
|
12
|
-
|
|
13
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Retourne les informations de la prochaine facture Stripe
|
|
33
|
+
*/
|
|
34
|
+
retrieveUpcomingInvoice(params) {
|
|
35
|
+
return this.axios.$get('/stripe/subscriptions/next-invoice', { params });
|
|
36
|
+
}
|
|
37
|
+
/* -------------- */
|
|
38
|
+
createComptalibSession(idSociety, body) {
|
|
39
|
+
return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);
|
|
14
40
|
}
|
|
15
41
|
}
|
|
16
42
|
//# sourceMappingURL=Subscription.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Subscription.js","sourceRoot":"","sources":["../../../../ts/api/resources/Subscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAUvC,MAAM,OAAO,YAAa,SAAQ,QAAQ;IACxC;;;OAGG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACH,aAAa,CAAC,OAAkC;QAC9C,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,gCAAgC,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAED;;;OAGG;IACH,YAAY,CAAC,OAA4B;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,+BAA+B,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;OAGG;IACH,GAAG;QACD,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;IAClD,CAAC;IAED;;OAEG;IACH,uBAAuB,CAAC,MAAqC;QAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,oCAAoC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IAC3E,CAAC;IAED,oBAAoB;IAEpB,sBAAsB,CACpB,SAAiB,EACjB,IAAwB;QAExB,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,cAAc,SAAS,yBAAyB,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n RetrieveUpcomingInvoiceParams,\n ReadUpcomingInvoice,\n QueryStripeSession,\n CreateSubscriptionSession,\n CreateStripePortals,\n} from '../../types';\nimport Stripe from 'stripe';\n\nexport class Subscription extends Resource {\n /**\n * Retourne les offres Stripe actives\n * Attention : les montants sont retournés x100\n */\n getAllOffers(): Promise<Stripe.Price[]> {\n return this.axios.$get('/stripe/subscriptions/offers');\n }\n\n /**\n * Créé une session Stripe avec les informations client\n * Attention : les montants sont retournés x100\n */\n createSession(payload: CreateSubscriptionSession): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post('/stripe/subscriptions/sessions', payload);\n }\n\n /**\n * Créé un portail Stripe permettant de gérer l'abonnement\n * Attention : les montants sont retournés x100\n */\n createPortal(payload: CreateStripePortals): Promise<string> {\n return this.axios.$post('/stripe/subscriptions/portals', payload);\n }\n\n /**\n * Retourne l'abonnement Stripe de la société courante\n * Attention : les montants sont retournés x100\n */\n get(): Promise<Stripe.Response<Stripe.Subscription> | null> {\n return this.axios.$get('/stripe/subscriptions');\n }\n\n /**\n * Retourne les informations de la prochaine facture Stripe\n */\n retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice> {\n return this.axios.$get('/stripe/subscriptions/next-invoice', { params });\n }\n\n /* -------------- */\n\n createComptalibSession(\n idSociety: number,\n body: QueryStripeSession,\n ): Promise<Stripe.Response<Stripe.Checkout.Session>> {\n return this.axios.$post(`/societies/${idSociety}/subscriptions/sessions`, body);\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrandClementine.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/BrandClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC,eAAO,MAAM,eAAe,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"BrandClementine.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/BrandClementine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGpC,eAAO,MAAM,eAAe,EAAE,KAAK,EAsXzB,CAAC"}
|
|
@@ -264,6 +264,22 @@ export const BrandClementine = [
|
|
|
264
264
|
vatIntracom: 'FR47752566687',
|
|
265
265
|
email: 'facturation@clementine.fr',
|
|
266
266
|
},
|
|
267
|
+
companyInformation: {
|
|
268
|
+
ape: '6920Z',
|
|
269
|
+
bp: 'CS 31029',
|
|
270
|
+
city: 'LAXOU CEDEX',
|
|
271
|
+
montantCapital: '500 000',
|
|
272
|
+
nomRaisonSociale: 'EXPERTISE CHOIX B',
|
|
273
|
+
ECName: 'M. Jean-Louis BOICHÉ',
|
|
274
|
+
ECOrderCity: 'Nancy',
|
|
275
|
+
ECDepartment: 'Lorraine',
|
|
276
|
+
ECPosition: 'Président',
|
|
277
|
+
phone: '03 83 93 14 14',
|
|
278
|
+
postalAddress: '9 AVENUE DU RHIN',
|
|
279
|
+
rcs: '752 566 687',
|
|
280
|
+
statut: 'SAS',
|
|
281
|
+
zipCode: '54 521',
|
|
282
|
+
},
|
|
267
283
|
},
|
|
268
284
|
{
|
|
269
285
|
idTypeBrand: 6,
|