@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,8 @@
|
|
|
1
|
+
import { Resource } from '../Resource';
|
|
2
|
+
import { RetrieveUpcomingInvoiceParams, ReadUpcomingInvoice } from '../../types';
|
|
3
|
+
|
|
4
|
+
export class Subscription extends Resource {
|
|
5
|
+
retrieveUpcomingInvoice(params: RetrieveUpcomingInvoiceParams): Promise<ReadUpcomingInvoice> {
|
|
6
|
+
return this.axios.$get('/subscription/next-invoice', { params });
|
|
7
|
+
}
|
|
8
|
+
}
|
package/ts/api/resources.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { IncomeStatement } from './resources/IncomeStatement';
|
|
|
18
18
|
import { BalanceSheet } from './resources/BalanceSheet';
|
|
19
19
|
import { Cerfa } from './resources/Cerfa';
|
|
20
20
|
import { LegalForm } from './resources/LegalForm';
|
|
21
|
+
import { Subscription } from './resources/Subscription';
|
|
21
22
|
import { Authenticate } from './resources/Authenticate';
|
|
22
23
|
import { Search } from './resources/Search';
|
|
23
24
|
|
|
@@ -44,4 +45,5 @@ export const resources = {
|
|
|
44
45
|
legalForm: LegalForm,
|
|
45
46
|
authenticate: Authenticate,
|
|
46
47
|
search: Search,
|
|
48
|
+
subscription: Subscription,
|
|
47
49
|
};
|