@silexpert/core 1.3.30-4 → 1.3.30-6
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/PaymentExpectation.d.ts +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts +1 -1
- package/dist/cjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/cjs/api/resources/Subscription.js.map +1 -1
- package/dist/cjs/types/Enum/Account.d.ts +4 -0
- package/dist/cjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Account.js +4 -0
- package/dist/cjs/types/Enum/Account.js.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/2031.d.ts +2 -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/2571.d.ts +2 -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/2573.d.ts +3 -1
- 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/cerfa/ReadCerfa.d.ts +2 -2
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +15 -1
- package/dist/cjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -1
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +11 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/api/resources/PaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts +1 -1
- package/dist/mjs/api/resources/Subscription.d.ts.map +1 -1
- package/dist/mjs/api/resources/Subscription.js.map +1 -1
- package/dist/mjs/types/Enum/Account.d.ts +4 -0
- package/dist/mjs/types/Enum/Account.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Account.js +4 -0
- package/dist/mjs/types/Enum/Account.js.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/2031.d.ts +2 -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/2571.d.ts +2 -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/2573.d.ts +3 -1
- 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/cerfa/ReadCerfa.d.ts +2 -2
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/cerfa/ReadCerfa.js.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts +3 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js +18 -2
- package/dist/mjs/types/Interface/api/paymentExpectation/QueryPaymentExpectation.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -1
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +13 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/package.json +2 -2
- package/ts/api/resources/PaymentExpectation.ts +1 -1
- package/ts/api/resources/Subscription.ts +1 -1
- package/ts/types/Enum/Account.ts +4 -0
- package/ts/types/Interface/api/cerfa/2031.ts +2 -0
- package/ts/types/Interface/api/cerfa/2571.ts +4 -0
- package/ts/types/Interface/api/cerfa/2573.ts +4 -1
- package/ts/types/Interface/api/cerfa/ReadCerfa.ts +2 -3
- package/ts/types/Interface/api/paymentExpectation/QueryPaymentExpectation.ts +15 -3
- package/ts/types/Interface/api/stripe/Create.ts +14 -6
package/ts/types/Enum/Account.ts
CHANGED
|
@@ -203,6 +203,7 @@ export interface Cerfa2031_2024 {
|
|
|
203
203
|
siren: string;
|
|
204
204
|
declarantEmail: string;
|
|
205
205
|
declarantAddress: string;
|
|
206
|
+
declarantAddressObject: CerfaAddress;
|
|
206
207
|
declarantZipCode: string;
|
|
207
208
|
declarantCity: string;
|
|
208
209
|
declarantCountryCode: string;
|
|
@@ -380,6 +381,7 @@ export interface Cerfa2031_2025 {
|
|
|
380
381
|
siren: string;
|
|
381
382
|
declarantEmail: string;
|
|
382
383
|
declarantAddress: string;
|
|
384
|
+
declarantAddressObject: CerfaAddress;
|
|
383
385
|
declarantZipCode: string;
|
|
384
386
|
declarantCity: string;
|
|
385
387
|
declarantCountryCode: string;
|
|
@@ -145,9 +145,13 @@ export class Cerfa2571_2024 {
|
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
+
export type Cerfa2571_2025 = Cerfa2571_2024;
|
|
149
|
+
|
|
148
150
|
export type Prepare2571Params = {
|
|
149
151
|
idSociety: number;
|
|
150
152
|
idUser: number;
|
|
151
153
|
idExercice: number;
|
|
152
154
|
idRegistration: number;
|
|
153
155
|
};
|
|
156
|
+
|
|
157
|
+
export type AnyCerfa2571Century = Cerfa2571_2025 | Cerfa2571_2023;
|
|
@@ -61,11 +61,14 @@ export type Cerfa2573_2024 = {
|
|
|
61
61
|
transferts: Transfert[];
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
+
export type Cerfa2573_2025 = Cerfa2573_2024;
|
|
65
|
+
export type AnyCerfa2573Century = Cerfa2573_2024;
|
|
66
|
+
|
|
64
67
|
export type Prepare2573Params = {
|
|
65
68
|
idSociety: number;
|
|
66
69
|
idExercice: number;
|
|
67
70
|
idUser: number;
|
|
68
|
-
values:
|
|
71
|
+
values: AnyCerfa2573Century;
|
|
69
72
|
};
|
|
70
73
|
|
|
71
74
|
export type Cerfa2573_Refund_Input = {
|
|
@@ -4,10 +4,9 @@ import {
|
|
|
4
4
|
AnyCerfa2033Century,
|
|
5
5
|
AnyCerfa2035Century,
|
|
6
6
|
AnyCerfa2065Century,
|
|
7
|
+
AnyCerfa2571Century,
|
|
7
8
|
AnyCerfa2572Century,
|
|
8
9
|
Cerfa2069RCI_2024,
|
|
9
|
-
Cerfa2571_2023,
|
|
10
|
-
Cerfa2571_2024,
|
|
11
10
|
Cerfa2573_2024,
|
|
12
11
|
Cerfa3519_2017,
|
|
13
12
|
FieldForGeneration,
|
|
@@ -119,7 +118,7 @@ export type AsponeFormField = { name: string; fields: FieldForGeneration[] };
|
|
|
119
118
|
export interface RegistrationPayload {
|
|
120
119
|
cerfa2573?: Cerfa2573_2024;
|
|
121
120
|
cerfa2572?: AnyCerfa2572Century;
|
|
122
|
-
cerfa2571?:
|
|
121
|
+
cerfa2571?: AnyCerfa2571Century;
|
|
123
122
|
cerfa2031?: AnyCerfa2031Century;
|
|
124
123
|
cerfa2033?: AnyCerfa2033Century;
|
|
125
124
|
cerfa2065?: AnyCerfa2065Century;
|
|
@@ -1,11 +1,23 @@
|
|
|
1
|
-
import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
1
|
+
import { IsDate, IsIn, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
3
|
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
4
|
|
|
5
5
|
export class QueryGetPaymentExpectation {
|
|
6
|
-
@
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
7
8
|
@IsInt()
|
|
8
|
-
idPrestation
|
|
9
|
+
idPrestation?: number;
|
|
10
|
+
|
|
11
|
+
@ApiPropertyOptional()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
@IsString()
|
|
14
|
+
ref?: string;
|
|
15
|
+
|
|
16
|
+
@ApiPropertyOptional()
|
|
17
|
+
@IsOptional()
|
|
18
|
+
@IsString({each: true})
|
|
19
|
+
@IsIn(['society', 'owner'], { each: true })
|
|
20
|
+
includes?: string[];
|
|
9
21
|
}
|
|
10
22
|
|
|
11
23
|
export class QueryGetPaymentExpectationPaginated extends RequiredQueryPaginate {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IsDate, IsInt, IsOptional, IsString } from 'class-validator';
|
|
2
2
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import Stripe from 'stripe';
|
|
4
|
-
|
|
3
|
+
import type Stripe from 'stripe';
|
|
5
4
|
export class CreateStripeConnection {
|
|
6
5
|
@ApiProperty()
|
|
7
6
|
@IsString()
|
|
@@ -18,15 +17,15 @@ export class CreateCustomer {
|
|
|
18
17
|
@ApiProperty()
|
|
19
18
|
@IsInt()
|
|
20
19
|
id: number;
|
|
21
|
-
|
|
20
|
+
|
|
22
21
|
@ApiProperty()
|
|
23
22
|
@IsString()
|
|
24
23
|
email: string;
|
|
25
|
-
|
|
24
|
+
|
|
26
25
|
@ApiPropertyOptional()
|
|
27
26
|
@IsString()
|
|
28
27
|
lastname?: string;
|
|
29
|
-
|
|
28
|
+
|
|
30
29
|
@ApiPropertyOptional()
|
|
31
30
|
@IsString()
|
|
32
31
|
firstname?: string;
|
|
@@ -54,13 +53,22 @@ export class CreateSubscriptionSessionOff {
|
|
|
54
53
|
@ApiProperty()
|
|
55
54
|
@IsString()
|
|
56
55
|
stripeCustomerId: string;
|
|
56
|
+
|
|
57
|
+
@ApiProperty()
|
|
58
|
+
@IsString()
|
|
59
|
+
ref: string;
|
|
60
|
+
|
|
61
|
+
@ApiPropertyOptional()
|
|
62
|
+
@IsOptional()
|
|
63
|
+
@IsString()
|
|
64
|
+
returnUrl?: string;
|
|
57
65
|
}
|
|
58
66
|
|
|
59
67
|
export class CreatePaymentIntent {
|
|
60
68
|
@ApiProperty()
|
|
61
69
|
@IsString()
|
|
62
70
|
stripeCustomerId: string;
|
|
63
|
-
|
|
71
|
+
|
|
64
72
|
@ApiProperty()
|
|
65
73
|
@IsString()
|
|
66
74
|
paymentMethodId: string;
|