@silexpert/core 1.3.94-0 → 1.3.94-10
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/BankDedup.d.ts +9 -0
- package/dist/cjs/api/resources/BankDedup.d.ts.map +1 -0
- package/dist/cjs/api/resources/BankDedup.js +14 -0
- package/dist/cjs/api/resources/BankDedup.js.map +1 -0
- package/dist/cjs/api/resources/Refund.d.ts +1 -1
- package/dist/cjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/cjs/api/resources/Refund.js.map +1 -1
- package/dist/cjs/api/resources/Society.d.ts +2 -1
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +3 -0
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/User.js +1 -1
- package/dist/cjs/api/resources/User.js.map +1 -1
- package/dist/cjs/api/resources.d.ts +2 -0
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +2 -0
- package/dist/cjs/api/resources.js.map +1 -1
- package/dist/cjs/types/Enum/BalanceSheet.d.ts +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/cjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +7 -0
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.d.ts +84 -0
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.js +297 -0
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.js.map +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +4 -0
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +0 -3
- 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/registration/CreateRegistration.d.ts +1 -0
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +6 -0
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts +5 -4
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js +13 -0
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.js +25 -0
- package/dist/cjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
- package/dist/cjs/types/index.d.ts +2 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/BankDedup.d.ts +9 -0
- package/dist/mjs/api/resources/BankDedup.d.ts.map +1 -0
- package/dist/mjs/api/resources/BankDedup.js +10 -0
- package/dist/mjs/api/resources/BankDedup.js.map +1 -0
- package/dist/mjs/api/resources/Refund.d.ts +1 -1
- package/dist/mjs/api/resources/Refund.d.ts.map +1 -1
- package/dist/mjs/api/resources/Refund.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +2 -1
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +3 -0
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/User.js +1 -1
- package/dist/mjs/api/resources/User.js.map +1 -1
- package/dist/mjs/api/resources.d.ts +2 -0
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +2 -0
- package/dist/mjs/api/resources.js.map +1 -1
- package/dist/mjs/types/Enum/BalanceSheet.d.ts +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js +2 -2
- package/dist/mjs/types/Enum/BalanceSheet.js.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts +1 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +8 -0
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.d.ts +84 -0
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.js +336 -0
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.js.map +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +5 -0
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +0 -3
- 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/registration/CreateRegistration.d.ts +1 -0
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +7 -0
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts +5 -4
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js +14 -0
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts +5 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.js +22 -0
- package/dist/mjs/types/Interface/api/society/QueryToArchived.js.map +1 -0
- package/dist/mjs/types/index.d.ts +2 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +2 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/BankDedup.ts +11 -0
- package/ts/api/resources/Refund.ts +1 -1
- package/ts/api/resources/Society.ts +5 -2
- package/ts/api/resources/User.ts +1 -1
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BalanceSheet.ts +2 -2
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +6 -0
- package/ts/types/Interface/api/bankDedup/BankDedup.ts +249 -0
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +3 -0
- package/ts/types/Interface/api/config/ConfigType.ts +0 -3
- package/ts/types/Interface/api/registration/CreateRegistration.ts +5 -0
- package/ts/types/Interface/api/shopify/InvoicesShopify.ts +19 -4
- package/ts/types/Interface/api/society/QueryToArchived.ts +10 -0
- package/ts/types/index.ts +2 -0
|
@@ -29,10 +29,9 @@ import {
|
|
|
29
29
|
ReadSocietyUnpaidStats,
|
|
30
30
|
DataCustomersCsv,
|
|
31
31
|
ReadCurrentPrestations,
|
|
32
|
-
|
|
32
|
+
QueryToArchivedSociety,
|
|
33
33
|
} from '../../types';
|
|
34
34
|
import { CancelToken } from 'axios';
|
|
35
|
-
import { User } from './User';
|
|
36
35
|
|
|
37
36
|
export class Society extends Resource {
|
|
38
37
|
public get(params: QuerySociety): Promise<ISociety> {
|
|
@@ -138,6 +137,10 @@ export class Society extends Resource {
|
|
|
138
137
|
return this.axios.$get('/society/archived', { params: query });
|
|
139
138
|
}
|
|
140
139
|
|
|
140
|
+
getToArchived(query: QueryToArchivedSociety, signal?: AbortSignal): Promise<BasePaginate<ISociety>> {
|
|
141
|
+
return this.axios.$get('/society/to-archived', { params: query, ...(signal ? { signal } : {}) });
|
|
142
|
+
}
|
|
143
|
+
|
|
141
144
|
getUnpaids(query: QueryUnpaidSociety, signal?: AbortSignal): Promise<ISociety[]> {
|
|
142
145
|
return this.axios.$get('/society/unpaids', {
|
|
143
146
|
...(signal ? { signal } : {}),
|
package/ts/api/resources/User.ts
CHANGED
|
@@ -30,7 +30,7 @@ export class User extends Resource {
|
|
|
30
30
|
return this.axios.$put('user/confirm', params);
|
|
31
31
|
}
|
|
32
32
|
resendConfirmationEmailLink(params: QueryResendConfirmationLink): Promise<boolean> {
|
|
33
|
-
return this.axios.$put(`user/${params.id}/
|
|
33
|
+
return this.axios.$put(`user/${params.id}/send-confirmation-mail`);
|
|
34
34
|
}
|
|
35
35
|
create(data: CreateUser): Promise<IUser> {
|
|
36
36
|
return this.axios.$post('user/create', data);
|
package/ts/api/resources.ts
CHANGED
|
@@ -179,6 +179,7 @@ import { StatisticLegal } from './resources/statistic/Legal';
|
|
|
179
179
|
import { AnalyticsUtm } from './resources/AnalyticsUtm';
|
|
180
180
|
import { Caarl } from './resources/Caarl';
|
|
181
181
|
import { Gdpr } from './resources/Gdpr';
|
|
182
|
+
import { BankDedup } from './resources/BankDedup';
|
|
182
183
|
|
|
183
184
|
export const resources = {
|
|
184
185
|
budgetInsight: BudgetInsight,
|
|
@@ -264,6 +265,7 @@ export const resources = {
|
|
|
264
265
|
notificationSetting: NotificationSetting,
|
|
265
266
|
cx: Cx,
|
|
266
267
|
bankList: BankList,
|
|
268
|
+
bankDedup: BankDedup,
|
|
267
269
|
thirdParty: ThirdParty,
|
|
268
270
|
alert: Alert,
|
|
269
271
|
customerActivity: CustomerActivity,
|
|
@@ -164,7 +164,7 @@ export const BalanceSheetDetails = [
|
|
|
164
164
|
text: 'Standby',
|
|
165
165
|
color: 'grey lighten-1',
|
|
166
166
|
textColor: 'grey--text',
|
|
167
|
-
forRoles: [['admin'], ['super_admin'], ['controle_interne']],
|
|
167
|
+
forRoles: [['admin'], ['super_admin'], ['controle_interne'], ['satisfaction']],
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
text: 'Impayé',
|
|
@@ -229,7 +229,7 @@ export const BalanceSheetDetails = [
|
|
|
229
229
|
value: BalanceSheetState.FIX_IN_PROGRESS,
|
|
230
230
|
color: 'blue darken-4',
|
|
231
231
|
textColor: 'blue--text',
|
|
232
|
-
forRoles: [['front_office'], ['expert']],
|
|
232
|
+
forRoles: [['front_office'], ['expert'], ['satisfaction']],
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
text: "Accepté SIE en l'état",
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
import { IsString, IsNumber, IsArray, ValidateNested, IsBoolean, IsIn, IsOptional, Min, Max } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class BankDedupRequest {
|
|
5
|
+
@ApiProperty()
|
|
6
|
+
@IsString()
|
|
7
|
+
csv: string; // CSV en string (avec header: label,dateValue,credit,debit)
|
|
8
|
+
|
|
9
|
+
@ApiProperty()
|
|
10
|
+
@IsNumber()
|
|
11
|
+
initial: number; // solde initial
|
|
12
|
+
|
|
13
|
+
@ApiProperty()
|
|
14
|
+
@IsNumber()
|
|
15
|
+
target: number; // solde cible
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export class BankDedupFileUploadBody {
|
|
19
|
+
@ApiProperty()
|
|
20
|
+
@IsNumber()
|
|
21
|
+
initial: number; // solde initial
|
|
22
|
+
|
|
23
|
+
@ApiProperty()
|
|
24
|
+
@IsNumber()
|
|
25
|
+
target: number; // solde cible
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export class BankTx {
|
|
29
|
+
@ApiProperty()
|
|
30
|
+
@IsString()
|
|
31
|
+
id: string; // id interne généré
|
|
32
|
+
|
|
33
|
+
@ApiProperty()
|
|
34
|
+
@IsString()
|
|
35
|
+
label: string;
|
|
36
|
+
|
|
37
|
+
@ApiProperty()
|
|
38
|
+
@IsString()
|
|
39
|
+
dateValue: string; // YYYY-MM-DD
|
|
40
|
+
|
|
41
|
+
@ApiProperty()
|
|
42
|
+
@IsNumber()
|
|
43
|
+
credit: number;
|
|
44
|
+
|
|
45
|
+
@ApiProperty()
|
|
46
|
+
@IsNumber()
|
|
47
|
+
debit: number;
|
|
48
|
+
|
|
49
|
+
@ApiProperty()
|
|
50
|
+
@IsIn([1, -1])
|
|
51
|
+
sign: 1 | -1; // 1 = crédit net, -1 = débit net
|
|
52
|
+
|
|
53
|
+
@ApiProperty()
|
|
54
|
+
@IsNumber()
|
|
55
|
+
@Min(0)
|
|
56
|
+
amount: number; // valeur absolue du mouvement (en positif)
|
|
57
|
+
|
|
58
|
+
@ApiProperty()
|
|
59
|
+
@IsNumber()
|
|
60
|
+
cents: number; // montant en centimes pour calculs exacts
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export class DuplicateGroup {
|
|
64
|
+
@ApiProperty()
|
|
65
|
+
@IsString()
|
|
66
|
+
id: string;
|
|
67
|
+
|
|
68
|
+
@ApiProperty({ type: [BankTx] })
|
|
69
|
+
@IsArray()
|
|
70
|
+
@ValidateNested({ each: true })
|
|
71
|
+
transactions: BankTx[];
|
|
72
|
+
|
|
73
|
+
@ApiProperty()
|
|
74
|
+
@IsNumber()
|
|
75
|
+
amount: number; // montant commun
|
|
76
|
+
|
|
77
|
+
@ApiProperty()
|
|
78
|
+
@IsNumber()
|
|
79
|
+
cents: number; // montant en centimes
|
|
80
|
+
|
|
81
|
+
@ApiProperty()
|
|
82
|
+
@IsIn([1, -1])
|
|
83
|
+
sign: 1 | -1; // signe commun
|
|
84
|
+
|
|
85
|
+
@ApiProperty()
|
|
86
|
+
@IsNumber()
|
|
87
|
+
@Min(0)
|
|
88
|
+
@Max(1)
|
|
89
|
+
confidence: number; // score de confiance [0 - 1]
|
|
90
|
+
|
|
91
|
+
@ApiProperty()
|
|
92
|
+
@IsIn(['exact', 'fuzzy_high', 'fuzzy_medium', 'fuzzy_low'])
|
|
93
|
+
method: 'exact' | 'fuzzy_high' | 'fuzzy_medium' | 'fuzzy_low'; // méthode de détection
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export class BankDedupResult {
|
|
97
|
+
@ApiProperty()
|
|
98
|
+
@IsBoolean()
|
|
99
|
+
success: true;
|
|
100
|
+
|
|
101
|
+
@ApiProperty()
|
|
102
|
+
@IsNumber()
|
|
103
|
+
initial: number;
|
|
104
|
+
|
|
105
|
+
@ApiProperty()
|
|
106
|
+
@IsNumber()
|
|
107
|
+
target: number;
|
|
108
|
+
|
|
109
|
+
@ApiProperty()
|
|
110
|
+
@IsNumber()
|
|
111
|
+
finalRaw: number;
|
|
112
|
+
|
|
113
|
+
@ApiProperty()
|
|
114
|
+
@IsNumber()
|
|
115
|
+
finalAfterDedup: number;
|
|
116
|
+
|
|
117
|
+
@ApiProperty()
|
|
118
|
+
@IsNumber()
|
|
119
|
+
diffBefore: number; // target - finalRaw
|
|
120
|
+
|
|
121
|
+
@ApiProperty()
|
|
122
|
+
@IsNumber()
|
|
123
|
+
diffAfter: number; // target - finalAfterDedup (DOIT être exactement 0, aucune tolérance)
|
|
124
|
+
|
|
125
|
+
@ApiProperty()
|
|
126
|
+
@IsArray()
|
|
127
|
+
@ValidateNested({ each: true })
|
|
128
|
+
removedGroups: BankDedupGroup[];
|
|
129
|
+
|
|
130
|
+
@ApiProperty()
|
|
131
|
+
@IsNumber()
|
|
132
|
+
removedCount: number;
|
|
133
|
+
|
|
134
|
+
@ApiProperty()
|
|
135
|
+
@IsNumber()
|
|
136
|
+
keptCount: number;
|
|
137
|
+
|
|
138
|
+
@ApiProperty()
|
|
139
|
+
@IsString()
|
|
140
|
+
csvDeduped: string;
|
|
141
|
+
|
|
142
|
+
@ApiProperty()
|
|
143
|
+
@IsArray()
|
|
144
|
+
@ValidateNested({ each: true })
|
|
145
|
+
allGroups: BankDedupGroup[];
|
|
146
|
+
|
|
147
|
+
@ApiProperty()
|
|
148
|
+
debug: {
|
|
149
|
+
totalGroups: number;
|
|
150
|
+
selectedGroups: number;
|
|
151
|
+
iterations: number;
|
|
152
|
+
strategiesUsed: string[];
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export class BankDedupGroup {
|
|
157
|
+
@ApiProperty()
|
|
158
|
+
@IsString()
|
|
159
|
+
id: string;
|
|
160
|
+
|
|
161
|
+
@ApiProperty()
|
|
162
|
+
@IsBoolean()
|
|
163
|
+
isSelected: boolean;
|
|
164
|
+
|
|
165
|
+
@ApiProperty()
|
|
166
|
+
@IsOptional()
|
|
167
|
+
@IsNumber()
|
|
168
|
+
@Min(0)
|
|
169
|
+
@Max(1)
|
|
170
|
+
confidence?: number;
|
|
171
|
+
|
|
172
|
+
@ApiProperty()
|
|
173
|
+
@IsOptional()
|
|
174
|
+
@IsString()
|
|
175
|
+
method?: string;
|
|
176
|
+
|
|
177
|
+
@ApiProperty()
|
|
178
|
+
@IsOptional()
|
|
179
|
+
@IsNumber()
|
|
180
|
+
amount?: number;
|
|
181
|
+
|
|
182
|
+
@ApiProperty()
|
|
183
|
+
@IsOptional()
|
|
184
|
+
@IsNumber()
|
|
185
|
+
transactionCount?: number;
|
|
186
|
+
|
|
187
|
+
@ApiProperty()
|
|
188
|
+
@IsOptional()
|
|
189
|
+
@IsArray()
|
|
190
|
+
transactions?: {
|
|
191
|
+
id: string;
|
|
192
|
+
label: string;
|
|
193
|
+
dateValue: string;
|
|
194
|
+
isKept: boolean;
|
|
195
|
+
isCredit: boolean;
|
|
196
|
+
}[];
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export class BankDedupImpossible {
|
|
200
|
+
@ApiProperty()
|
|
201
|
+
@IsBoolean()
|
|
202
|
+
success: false;
|
|
203
|
+
|
|
204
|
+
@ApiProperty()
|
|
205
|
+
@IsIn(['NO_EXACT_COMBINATION', 'CSV_PARSE_ERROR', 'INVALID_INPUT', 'INSUFFICIENT_DUPLICATES'])
|
|
206
|
+
reason: 'NO_EXACT_COMBINATION' | 'CSV_PARSE_ERROR' | 'INVALID_INPUT' | 'INSUFFICIENT_DUPLICATES';
|
|
207
|
+
|
|
208
|
+
@ApiProperty()
|
|
209
|
+
@IsString()
|
|
210
|
+
message: string;
|
|
211
|
+
|
|
212
|
+
@ApiProperty()
|
|
213
|
+
@IsOptional()
|
|
214
|
+
@IsNumber()
|
|
215
|
+
initial?: number;
|
|
216
|
+
|
|
217
|
+
@ApiProperty()
|
|
218
|
+
@IsOptional()
|
|
219
|
+
@IsNumber()
|
|
220
|
+
target?: number;
|
|
221
|
+
|
|
222
|
+
@ApiProperty()
|
|
223
|
+
@IsOptional()
|
|
224
|
+
@IsNumber()
|
|
225
|
+
finalRaw?: number;
|
|
226
|
+
|
|
227
|
+
@ApiProperty()
|
|
228
|
+
@IsOptional()
|
|
229
|
+
@IsNumber()
|
|
230
|
+
diffBefore?: number;
|
|
231
|
+
|
|
232
|
+
@ApiProperty()
|
|
233
|
+
@IsOptional()
|
|
234
|
+
bestAttempt?: {
|
|
235
|
+
finalAfterDedup: number;
|
|
236
|
+
diffAfter: number;
|
|
237
|
+
removedCount: number;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
@ApiProperty()
|
|
241
|
+
@IsOptional()
|
|
242
|
+
stats?: {
|
|
243
|
+
totalTx?: number;
|
|
244
|
+
totalGroups?: number;
|
|
245
|
+
strategiesTried?: string[];
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type BankDedupResponse = BankDedupResult | BankDedupImpossible;
|
|
@@ -135,7 +135,6 @@ interface Shine {
|
|
|
135
135
|
hostV3: string;
|
|
136
136
|
publicHost: string;
|
|
137
137
|
clientId: string;
|
|
138
|
-
clientSecret: string;
|
|
139
138
|
redirect_uris: string[];
|
|
140
139
|
status: string;
|
|
141
140
|
scope: string;
|
|
@@ -186,7 +185,6 @@ interface Access2 {
|
|
|
186
185
|
|
|
187
186
|
interface Test {
|
|
188
187
|
login: string;
|
|
189
|
-
password: string;
|
|
190
188
|
editor: string;
|
|
191
189
|
software: string;
|
|
192
190
|
wsdl: Wsdl;
|
|
@@ -198,7 +196,6 @@ interface Wsdl {
|
|
|
198
196
|
|
|
199
197
|
interface Production {
|
|
200
198
|
login: string;
|
|
201
|
-
password: string;
|
|
202
199
|
editor: string;
|
|
203
200
|
software: string;
|
|
204
201
|
wsdl: Wsdl2;
|
|
@@ -1,12 +1,27 @@
|
|
|
1
|
+
import { IsBoolean, IsOptional } from 'class-validator';
|
|
1
2
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
2
4
|
|
|
3
5
|
export class InvoicesShopify {
|
|
4
6
|
@ApiPropertyOptional()
|
|
5
|
-
|
|
7
|
+
@IsOptional()
|
|
8
|
+
order?: string;
|
|
9
|
+
|
|
6
10
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
11
|
+
@IsOptional()
|
|
12
|
+
limit?: number;
|
|
13
|
+
|
|
8
14
|
@ApiPropertyOptional()
|
|
9
|
-
|
|
15
|
+
@IsOptional()
|
|
16
|
+
ids?: number[];
|
|
17
|
+
|
|
18
|
+
@ApiPropertyOptional()
|
|
19
|
+
@IsOptional()
|
|
20
|
+
idSociety?: number;
|
|
21
|
+
|
|
10
22
|
@ApiPropertyOptional()
|
|
11
|
-
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsBoolean()
|
|
25
|
+
@ToBoolean()
|
|
26
|
+
debug?: boolean;
|
|
12
27
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IsOptional, IsString } from 'class-validator';
|
|
2
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
4
|
+
|
|
5
|
+
export class QueryToArchivedSociety extends RequiredQueryPaginate {
|
|
6
|
+
@ApiPropertyOptional()
|
|
7
|
+
@IsOptional()
|
|
8
|
+
@IsString()
|
|
9
|
+
search?: string;
|
|
10
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -735,6 +735,7 @@ export * from './Interface/api/webmail/ExportEmails';
|
|
|
735
735
|
export * from './Interface/api/webmail/PostAttachmentEmailFromLambdaParams';
|
|
736
736
|
export * from './Interface/api/webmail/GetPaginatedWhereObjectParams';
|
|
737
737
|
export * from './Interface/api/bankAccount/Delete';
|
|
738
|
+
export * from './Interface/api/bankDedup/BankDedup';
|
|
738
739
|
export * from './Interface/api/log/QueryLogPagination';
|
|
739
740
|
export * from './Interface/api/employee/QueryEmployeeSearch';
|
|
740
741
|
export * from './Interface/api/employee/QueryCreateEmployee';
|
|
@@ -1057,6 +1058,7 @@ export * from './Interface/api/accountsSectors/Query';
|
|
|
1057
1058
|
export * from './Interface/api/visualizedInformation/Query';
|
|
1058
1059
|
export * from './Interface/api/visualizedInformation/Update';
|
|
1059
1060
|
export * from './Interface/api/society/QueryArchived';
|
|
1061
|
+
export * from './Interface/api/society/QueryToArchived';
|
|
1060
1062
|
export * from './Interface/api/society/QueryUnpaid';
|
|
1061
1063
|
export * from './Interface/api/vatControl/CreateVatControl';
|
|
1062
1064
|
export * from './Interface/api/vatControl/QueryVatControl';
|