@silexpert/core 0.4.20 → 0.4.22
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/es/api/resources/Account.d.ts +7 -1
- package/es/api/resources/Account.d.ts.map +1 -1
- package/es/api/resources/Account.js +15 -0
- package/es/api/resources/Account.js.map +1 -1
- package/es/api/resources/Cerfa.d.ts +5 -1
- package/es/api/resources/Cerfa.d.ts.map +1 -1
- package/es/api/resources/Cerfa.js +8 -0
- package/es/api/resources/Cerfa.js.map +1 -1
- package/es/api/resources/Partner.d.ts +2 -2
- package/es/api/resources/Partner.d.ts.map +1 -1
- package/es/api/resources/Partner.js +2 -2
- package/es/api/resources/Partner.js.map +1 -1
- package/es/api/resources/Subscription.d.ts +6 -0
- package/es/api/resources/Subscription.d.ts.map +1 -0
- package/es/api/resources/Subscription.js +7 -0
- package/es/api/resources/Subscription.js.map +1 -0
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/SponsorshipEmailState.d.ts +6 -0
- package/es/types/Enum/SponsorshipEmailState.d.ts.map +1 -0
- package/es/types/Enum/SponsorshipEmailState.js +7 -0
- package/es/types/Enum/SponsorshipEmailState.js.map +1 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts +512 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.d.ts.map +1 -1
- package/es/types/Interface/api/cerfa/CreateCerfa.js +421 -0
- package/es/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/es/types/Interface/api/partner/GetPartners.d.ts +4 -0
- package/es/types/Interface/api/partner/GetPartners.d.ts.map +1 -0
- package/es/types/Interface/api/partner/GetPartners.js +17 -0
- package/es/types/Interface/api/partner/GetPartners.js.map +1 -0
- package/es/types/Interface/api/sponsorship/CreateSponsorship.d.ts +5 -0
- package/es/types/Interface/api/sponsorship/CreateSponsorship.d.ts.map +1 -0
- package/es/types/Interface/api/sponsorship/CreateSponsorship.js +21 -0
- package/es/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -0
- package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts +7 -0
- package/es/types/Interface/api/sponsorship/QuerySponsorship.d.ts.map +1 -0
- package/es/types/Interface/api/sponsorship/QuerySponsorship.js +29 -0
- package/es/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -0
- package/es/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts +5 -0
- package/es/types/Interface/api/sponsorship/SendSponsorshipLink.d.ts.map +1 -0
- package/es/types/Interface/api/sponsorship/SendSponsorshipLink.js +21 -0
- package/es/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -0
- package/es/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
- package/es/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -0
- package/es/types/Interface/api/stripe/QueryStripe.js +2 -0
- package/es/types/Interface/api/stripe/QueryStripe.js.map +1 -0
- package/es/types/Interface/api/stripe/ReadStripe.d.ts +5 -0
- package/es/types/Interface/api/stripe/ReadStripe.d.ts.map +1 -0
- package/es/types/Interface/api/stripe/ReadStripe.js +2 -0
- package/es/types/Interface/api/stripe/ReadStripe.js.map +1 -0
- package/es/types/Interface/models/IAccount.d.ts +1 -0
- package/es/types/Interface/models/IAccount.d.ts.map +1 -1
- package/es/types/Interface/models/IAccount.js.map +1 -1
- package/es/types/Interface/models/IAccountExtend.d.ts +6 -0
- package/es/types/Interface/models/IAccountExtend.d.ts.map +1 -0
- package/es/types/Interface/models/IAccountExtend.js +2 -0
- package/es/types/Interface/models/IAccountExtend.js.map +1 -0
- package/es/types/Interface/models/IApiError.d.ts +6 -1
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +6 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/ISponsorship.d.ts +9 -0
- package/es/types/Interface/models/ISponsorship.d.ts.map +1 -0
- package/es/types/Interface/models/ISponsorship.js +2 -0
- package/es/types/Interface/models/ISponsorship.js.map +1 -0
- package/es/types/Interface/models/ISponsorshipLink.d.ts +1 -2
- package/es/types/Interface/models/ISponsorshipLink.d.ts.map +1 -1
- package/es/types/Interface/models/ISponsorshipLink.js.map +1 -1
- package/es/types/index.d.ts +9 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +9 -0
- package/es/types/index.js.map +1 -1
- package/js/api/resources/Account.js +22 -0
- package/js/api/resources/Account.js.map +1 -1
- package/js/api/resources/Cerfa.js +9 -0
- package/js/api/resources/Cerfa.js.map +1 -1
- package/js/api/resources/Partner.js +4 -2
- package/js/api/resources/Partner.js.map +1 -1
- package/js/api/resources/Subscription.js +20 -0
- package/js/api/resources/Subscription.js.map +1 -0
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/SponsorshipEmailState.js +13 -0
- package/js/types/Enum/SponsorshipEmailState.js.map +1 -0
- package/js/types/Interface/api/cerfa/CreateCerfa.js +277 -1
- package/js/types/Interface/api/cerfa/CreateCerfa.js.map +1 -1
- package/js/types/Interface/api/partner/GetPartners.js +27 -0
- package/js/types/Interface/api/partner/GetPartners.js.map +1 -0
- package/js/types/Interface/api/sponsorship/CreateSponsorship.js +29 -0
- package/js/types/Interface/api/sponsorship/CreateSponsorship.js.map +1 -0
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js +33 -0
- package/js/types/Interface/api/sponsorship/QuerySponsorship.js.map +1 -0
- package/js/types/Interface/api/sponsorship/SendSponsorshipLink.js +29 -0
- package/js/types/Interface/api/sponsorship/SendSponsorshipLink.js.map +1 -0
- package/js/types/Interface/api/stripe/QueryStripe.js +6 -0
- package/js/types/Interface/api/stripe/QueryStripe.js.map +1 -0
- package/js/types/Interface/api/stripe/ReadStripe.js +6 -0
- package/js/types/Interface/api/stripe/ReadStripe.js.map +1 -0
- package/js/types/Interface/models/IAccountExtend.js +6 -0
- package/js/types/Interface/models/IAccountExtend.js.map +1 -0
- package/js/types/Interface/models/IApiError.js +6 -0
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/ISponsorship.js +6 -0
- package/js/types/Interface/models/ISponsorship.js.map +1 -0
- package/js/types/index.js +108 -0
- package/js/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Account.ts +24 -1
- package/ts/api/resources/Cerfa.ts +9 -1
- package/ts/api/resources/Partner.ts +3 -2
- package/ts/api/resources/Subscription.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/SponsorshipEmailState.ts +5 -0
- package/ts/types/Interface/api/cerfa/CreateCerfa.ts +723 -0
- package/ts/types/Interface/api/partner/GetPartners.ts +6 -0
- package/ts/types/Interface/api/sponsorship/CreateSponsorship.ts +9 -0
- package/ts/types/Interface/api/sponsorship/QuerySponsorship.ts +15 -0
- package/ts/types/Interface/api/sponsorship/SendSponsorshipLink.ts +9 -0
- package/ts/types/Interface/api/stripe/QueryStripe.ts +4 -0
- package/ts/types/Interface/api/stripe/ReadStripe.ts +4 -0
- package/ts/types/Interface/models/IAccount.ts +1 -0
- package/ts/types/Interface/models/IAccountExtend.ts +6 -0
- package/ts/types/Interface/models/IApiError.ts +7 -0
- package/ts/types/Interface/models/ISponsorship.ts +9 -0
- package/ts/types/Interface/models/ISponsorshipLink.ts +1 -2
- package/ts/types/index.ts +9 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
2
|
+
|
|
3
|
+
export class QuerySponsorship {
|
|
4
|
+
@ApiProperty()
|
|
5
|
+
page: number;
|
|
6
|
+
|
|
7
|
+
@ApiProperty()
|
|
8
|
+
limit: number;
|
|
9
|
+
|
|
10
|
+
@ApiPropertyOptional()
|
|
11
|
+
state?: number;
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
idSociety?: number;
|
|
15
|
+
}
|
|
@@ -101,6 +101,13 @@ export enum Code {
|
|
|
101
101
|
|
|
102
102
|
// Cerfa
|
|
103
103
|
civilityNotFound = 'civility_not_found',
|
|
104
|
+
invalidData = 'invalidData',
|
|
105
|
+
|
|
106
|
+
// Sponsorship
|
|
107
|
+
emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',
|
|
108
|
+
idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',
|
|
109
|
+
sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',
|
|
110
|
+
sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',
|
|
104
111
|
}
|
|
105
112
|
|
|
106
113
|
export interface IApiError {
|
package/ts/types/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './Interface/models/IAccountingStateType';
|
|
|
11
11
|
export * from './Interface/models/IAccountingState';
|
|
12
12
|
export * from './Interface/models/IAccountingTransaction';
|
|
13
13
|
export * from './Interface/models/IAccount';
|
|
14
|
+
export * from './Interface/models/IAccountExtend';
|
|
14
15
|
export * from './Interface/models/IAccountsSocieties';
|
|
15
16
|
export * from './Interface/models/IActivity';
|
|
16
17
|
export * from './Interface/models/IAdditionalBalance';
|
|
@@ -194,6 +195,7 @@ export * from './Interface/models/ISoftwareCompta';
|
|
|
194
195
|
export * from './Interface/models/ISource';
|
|
195
196
|
export * from './Interface/models/ISpecialOperation';
|
|
196
197
|
export * from './Interface/models/ISponsorshipLink';
|
|
198
|
+
export * from './Interface/models/ISponsorship';
|
|
197
199
|
export * from './Interface/models/IStatusSignature';
|
|
198
200
|
export * from './Interface/models/IStripeEvent';
|
|
199
201
|
export * from './Interface/models/ISupervision';
|
|
@@ -310,6 +312,7 @@ export * from './Enum/VehicleType';
|
|
|
310
312
|
export * from './Enum/BalanceSheet';
|
|
311
313
|
export * from './Enum/LetterState';
|
|
312
314
|
export * from './Enum/DefaultPermissions';
|
|
315
|
+
export * from './Enum/SponsorshipEmailState';
|
|
313
316
|
export * from './Enum/Ged';
|
|
314
317
|
|
|
315
318
|
// Interfaces API
|
|
@@ -354,6 +357,7 @@ export * from './Interface/api/letter/CreateLetter';
|
|
|
354
357
|
export * from './Interface/api/mailInvoice/CreateInvoiceMail';
|
|
355
358
|
export * from './Interface/api/mailInvoice/UpdateInvoiceMail';
|
|
356
359
|
export * from './Interface/api/partner/CreatePartner';
|
|
360
|
+
export * from './Interface/api/partner/GetPartners';
|
|
357
361
|
// export * from './Interface/api/generalLedger/GeneralLedgerQuery';
|
|
358
362
|
export * from './Interface/api/fecFile/CreateFecFile';
|
|
359
363
|
export * from './Interface/api/fecFile/ReadFecFile';
|
|
@@ -363,5 +367,10 @@ export * from './Interface/api/incomeStatement/ReadIncomeStatement';
|
|
|
363
367
|
export * from './Interface/api/balanceSheet/ReadBalanceSheet';
|
|
364
368
|
export * from './Interface/api/pappers/QueryPappers';
|
|
365
369
|
export * from './Interface/api/pappers/ReadPappers';
|
|
370
|
+
export * from './Interface/api/sponsorship/SendSponsorshipLink';
|
|
371
|
+
export * from './Interface/api/sponsorship/CreateSponsorship';
|
|
372
|
+
export * from './Interface/api/sponsorship/QuerySponsorship';
|
|
366
373
|
export * from './Interface/api/pappers/CreatePappers';
|
|
367
374
|
export * from './Interface/api/bankAccount/DeleteTransaction';
|
|
375
|
+
export * from './Interface/api/stripe/QueryStripe';
|
|
376
|
+
export * from './Interface/api/stripe/ReadStripe';
|