@silexpert/core 1.3.94-9 → 1.3.95-1
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/Society.d.ts +1 -2
- package/dist/cjs/api/resources/Society.d.ts.map +1 -1
- package/dist/cjs/api/resources/Society.js +0 -3
- package/dist/cjs/api/resources/Society.js.map +1 -1
- package/dist/cjs/api/resources/Team.d.ts +15 -1
- package/dist/cjs/api/resources/Team.d.ts.map +1 -1
- package/dist/cjs/api/resources/Team.js +18 -0
- package/dist/cjs/api/resources/Team.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 +0 -2
- package/dist/cjs/api/resources.d.ts.map +1 -1
- package/dist/cjs/api/resources.js +0 -2
- 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 +0 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +0 -7
- package/dist/cjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +0 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +0 -4
- package/dist/cjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +3 -0
- 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 +0 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +0 -6
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts +4 -5
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js +0 -13
- package/dist/cjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +4 -0
- package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/{society/QueryToArchived.js → team/QueryUpdateTeamsForUser.js} +9 -10
- package/dist/cjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +1 -0
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +5 -0
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js +28 -0
- package/dist/cjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +1 -0
- package/dist/cjs/types/Interface/api/team/index.d.ts +6 -0
- package/dist/cjs/types/Interface/api/team/index.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/team/index.js +22 -0
- package/dist/cjs/types/Interface/api/team/index.js.map +1 -0
- package/dist/cjs/types/index.d.ts +1 -2
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +1 -2
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Society.d.ts +1 -2
- package/dist/mjs/api/resources/Society.d.ts.map +1 -1
- package/dist/mjs/api/resources/Society.js +0 -3
- package/dist/mjs/api/resources/Society.js.map +1 -1
- package/dist/mjs/api/resources/Team.d.ts +15 -1
- package/dist/mjs/api/resources/Team.d.ts.map +1 -1
- package/dist/mjs/api/resources/Team.js +18 -0
- package/dist/mjs/api/resources/Team.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 +0 -2
- package/dist/mjs/api/resources.d.ts.map +1 -1
- package/dist/mjs/api/resources.js +0 -2
- 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 +0 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js +0 -8
- package/dist/mjs/types/Interface/api/accountingFiles/queryAccountingFiles.js.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts +0 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js +0 -5
- package/dist/mjs/types/Interface/api/calendarEvent/updateCalendarEvent.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +3 -0
- 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 +0 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +0 -7
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts +4 -5
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js +0 -14
- package/dist/mjs/types/Interface/api/shopify/InvoicesShopify.js.map +1 -1
- package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts +4 -0
- package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/{society/QueryToArchived.js → team/QueryUpdateTeamsForUser.js} +10 -11
- package/dist/mjs/types/Interface/api/team/QueryUpdateTeamsForUser.js.map +1 -0
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts +5 -0
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js +26 -0
- package/dist/mjs/types/Interface/api/team/QueryUpdateUserTeam.js.map +1 -0
- package/dist/mjs/types/Interface/api/team/index.d.ts +6 -0
- package/dist/mjs/types/Interface/api/team/index.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/team/index.js +6 -0
- package/dist/mjs/types/Interface/api/team/index.js.map +1 -0
- package/dist/mjs/types/index.d.ts +1 -2
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +1 -2
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Society.ts +2 -5
- package/ts/api/resources/Team.ts +22 -1
- package/ts/api/resources/User.ts +1 -1
- package/ts/api/resources.ts +0 -2
- package/ts/types/Enum/BalanceSheet.ts +2 -2
- package/ts/types/Interface/api/accountingFiles/queryAccountingFiles.ts +0 -6
- package/ts/types/Interface/api/calendarEvent/updateCalendarEvent.ts +0 -3
- package/ts/types/Interface/api/config/ConfigType.ts +3 -0
- package/ts/types/Interface/api/registration/CreateRegistration.ts +0 -5
- package/ts/types/Interface/api/shopify/InvoicesShopify.ts +4 -19
- package/ts/types/Interface/api/team/QueryUpdateTeamsForUser.ts +9 -0
- package/ts/types/Interface/api/team/QueryUpdateUserTeam.ts +12 -0
- package/ts/types/Interface/api/team/index.ts +5 -0
- package/ts/types/index.ts +1 -2
- package/dist/cjs/api/resources/BankDedup.d.ts +0 -9
- package/dist/cjs/api/resources/BankDedup.d.ts.map +0 -1
- package/dist/cjs/api/resources/BankDedup.js +0 -14
- package/dist/cjs/api/resources/BankDedup.js.map +0 -1
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.d.ts +0 -84
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.js +0 -301
- package/dist/cjs/types/Interface/api/bankDedup/BankDedup.js.map +0 -1
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts +0 -5
- package/dist/cjs/types/Interface/api/society/QueryToArchived.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/society/QueryToArchived.js.map +0 -1
- package/dist/mjs/api/resources/BankDedup.d.ts +0 -9
- package/dist/mjs/api/resources/BankDedup.d.ts.map +0 -1
- package/dist/mjs/api/resources/BankDedup.js +0 -10
- package/dist/mjs/api/resources/BankDedup.js.map +0 -1
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.d.ts +0 -84
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.js +0 -340
- package/dist/mjs/types/Interface/api/bankDedup/BankDedup.js.map +0 -1
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts +0 -5
- package/dist/mjs/types/Interface/api/society/QueryToArchived.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/society/QueryToArchived.js.map +0 -1
- package/ts/api/resources/BankDedup.ts +0 -11
- package/ts/types/Interface/api/bankDedup/BankDedup.ts +0 -264
- package/ts/types/Interface/api/society/QueryToArchived.ts +0 -10
package/ts/api/resources/Team.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { ITeam, QueryCreateTeam, QueryGetAllTeamsWithIncludes, QueryUpdateTeam } from '../../types';
|
|
2
|
+
import { ITeam, QueryCreateTeam, QueryGetAllTeamsWithIncludes, QueryUpdateTeam, QueryUpdateTeamsForUser, IUserTeam } from '../../types';
|
|
3
3
|
|
|
4
4
|
export class Team extends Resource {
|
|
5
5
|
/**
|
|
@@ -27,6 +27,7 @@ export class Team extends Resource {
|
|
|
27
27
|
delete(id: number): Promise<number> {
|
|
28
28
|
return this.axios.$delete(`/teams/${id}`);
|
|
29
29
|
}
|
|
30
|
+
|
|
30
31
|
/**
|
|
31
32
|
* Should return all records in Team table with includes
|
|
32
33
|
* @param { QueryGetAllTeamsWithIncludes } params
|
|
@@ -35,4 +36,24 @@ export class Team extends Resource {
|
|
|
35
36
|
getAll(params: QueryGetAllTeamsWithIncludes): Promise<ITeam[]> {
|
|
36
37
|
return this.axios.$get('/teams/all', { params });
|
|
37
38
|
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Should update teams for a specific user
|
|
42
|
+
* @param { number } userId
|
|
43
|
+
* @param { QueryUpdateTeamsForUser } payload
|
|
44
|
+
* @returns { IUserTeam[] }
|
|
45
|
+
*/
|
|
46
|
+
updateTeamsForUser(userId: number, payload: QueryUpdateTeamsForUser): Promise<IUserTeam[]> {
|
|
47
|
+
return this.axios.$put(`/teams/user/${userId}/teams`, payload);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Should delete an user attach to a team
|
|
52
|
+
* @param { number } teamId
|
|
53
|
+
* @param { number } userId
|
|
54
|
+
* @returns { number }
|
|
55
|
+
*/
|
|
56
|
+
deleteUserFromTeam(teamId: number, userId: number): Promise<number> {
|
|
57
|
+
return this.axios.$delete(`/teams/${teamId}/user/${userId}`);
|
|
58
|
+
}
|
|
38
59
|
}
|
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}/resendConfirmationEmailLink`);
|
|
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,7 +179,6 @@ 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';
|
|
183
182
|
|
|
184
183
|
export const resources = {
|
|
185
184
|
budgetInsight: BudgetInsight,
|
|
@@ -265,7 +264,6 @@ export const resources = {
|
|
|
265
264
|
notificationSetting: NotificationSetting,
|
|
266
265
|
cx: Cx,
|
|
267
266
|
bankList: BankList,
|
|
268
|
-
bankDedup: BankDedup,
|
|
269
267
|
thirdParty: ThirdParty,
|
|
270
268
|
alert: Alert,
|
|
271
269
|
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']],
|
|
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']],
|
|
233
233
|
},
|
|
234
234
|
{
|
|
235
235
|
text: "Accepté SIE en l'état",
|
|
@@ -135,6 +135,7 @@ interface Shine {
|
|
|
135
135
|
hostV3: string;
|
|
136
136
|
publicHost: string;
|
|
137
137
|
clientId: string;
|
|
138
|
+
clientSecret: string;
|
|
138
139
|
redirect_uris: string[];
|
|
139
140
|
status: string;
|
|
140
141
|
scope: string;
|
|
@@ -185,6 +186,7 @@ interface Access2 {
|
|
|
185
186
|
|
|
186
187
|
interface Test {
|
|
187
188
|
login: string;
|
|
189
|
+
password: string;
|
|
188
190
|
editor: string;
|
|
189
191
|
software: string;
|
|
190
192
|
wsdl: Wsdl;
|
|
@@ -196,6 +198,7 @@ interface Wsdl {
|
|
|
196
198
|
|
|
197
199
|
interface Production {
|
|
198
200
|
login: string;
|
|
201
|
+
password: string;
|
|
199
202
|
editor: string;
|
|
200
203
|
software: string;
|
|
201
204
|
wsdl: Wsdl2;
|
|
@@ -1,27 +1,12 @@
|
|
|
1
|
-
import { IsBoolean, IsOptional } from 'class-validator';
|
|
2
1
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
3
|
-
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
4
2
|
|
|
5
3
|
export class InvoicesShopify {
|
|
6
4
|
@ApiPropertyOptional()
|
|
7
|
-
|
|
8
|
-
order?: string;
|
|
9
|
-
|
|
5
|
+
order: string;
|
|
10
6
|
@ApiPropertyOptional()
|
|
11
|
-
|
|
12
|
-
limit?: number;
|
|
13
|
-
|
|
7
|
+
limit: number;
|
|
14
8
|
@ApiPropertyOptional()
|
|
15
|
-
|
|
16
|
-
ids?: number[];
|
|
17
|
-
|
|
18
|
-
@ApiPropertyOptional()
|
|
19
|
-
@IsOptional()
|
|
20
|
-
idSociety?: number;
|
|
21
|
-
|
|
9
|
+
ids: number[];
|
|
22
10
|
@ApiPropertyOptional()
|
|
23
|
-
|
|
24
|
-
@IsBoolean()
|
|
25
|
-
@ToBoolean()
|
|
26
|
-
debug?: boolean;
|
|
11
|
+
idSociety: number;
|
|
27
12
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IsArray, IsNumber } from 'class-validator';
|
|
2
|
+
import { ApiProperty } from '../../../../utils';
|
|
3
|
+
|
|
4
|
+
export class QueryUpdateTeamsForUser {
|
|
5
|
+
@ApiProperty({ description: 'Array of team IDs to assign to the user', type: [Number] })
|
|
6
|
+
@IsArray()
|
|
7
|
+
@IsNumber({}, { each: true })
|
|
8
|
+
teamIds: number[];
|
|
9
|
+
}
|
package/ts/types/index.ts
CHANGED
|
@@ -735,7 +735,6 @@ 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';
|
|
739
738
|
export * from './Interface/api/log/QueryLogPagination';
|
|
740
739
|
export * from './Interface/api/employee/QueryEmployeeSearch';
|
|
741
740
|
export * from './Interface/api/employee/QueryCreateEmployee';
|
|
@@ -771,6 +770,7 @@ export * from './Interface/api/inpi/inpi';
|
|
|
771
770
|
export * from './Interface/api/team/QueryCreate';
|
|
772
771
|
export * from './Interface/api/team/QueryGetAllWithIncludes';
|
|
773
772
|
export * from './Interface/api/team/QueryUpdate';
|
|
773
|
+
export * from './Interface/api/team/QueryUpdateTeamsForUser';
|
|
774
774
|
export * from './Interface/api/constitutionHistory/QueryPaginatedConstitutionHistory';
|
|
775
775
|
export * from './Interface/api/userSpecialDay/BodyUserSpecialDay';
|
|
776
776
|
export * from './Interface/api/userSpecialDay/QueryUserSpecialDay';
|
|
@@ -1058,7 +1058,6 @@ export * from './Interface/api/accountsSectors/Query';
|
|
|
1058
1058
|
export * from './Interface/api/visualizedInformation/Query';
|
|
1059
1059
|
export * from './Interface/api/visualizedInformation/Update';
|
|
1060
1060
|
export * from './Interface/api/society/QueryArchived';
|
|
1061
|
-
export * from './Interface/api/society/QueryToArchived';
|
|
1062
1061
|
export * from './Interface/api/society/QueryUnpaid';
|
|
1063
1062
|
export * from './Interface/api/vatControl/CreateVatControl';
|
|
1064
1063
|
export * from './Interface/api/vatControl/QueryVatControl';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BankDedupRequest, BankDedupResponse } from '../../types';
|
|
2
|
-
import { Resource } from '../Resource';
|
|
3
|
-
export declare class BankDedup extends Resource {
|
|
4
|
-
/**
|
|
5
|
-
* Analyze bank transactions for deduplication
|
|
6
|
-
*/
|
|
7
|
-
getAnalysis(body: BankDedupRequest): Promise<BankDedupResponse>;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=BankDedup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BankDedup.d.ts","sourceRoot":"","sources":["../../../../ts/api/resources/BankDedup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,qBAAa,SAAU,SAAQ,QAAQ;IACrC;;OAEG;IACI,WAAW,CAAC,IAAI,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAGvE"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BankDedup = void 0;
|
|
4
|
-
const Resource_1 = require("../Resource");
|
|
5
|
-
class BankDedup extends Resource_1.Resource {
|
|
6
|
-
/**
|
|
7
|
-
* Analyze bank transactions for deduplication
|
|
8
|
-
*/
|
|
9
|
-
getAnalysis(body) {
|
|
10
|
-
return this.axios.$post('/bank-dedup/detect', body);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.BankDedup = BankDedup;
|
|
14
|
-
//# sourceMappingURL=BankDedup.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BankDedup.js","sourceRoot":"","sources":["../../../../ts/api/resources/BankDedup.ts"],"names":[],"mappings":";;;AACA,0CAAuC;AAEvC,MAAa,SAAU,SAAQ,mBAAQ;IACrC;;OAEG;IACI,WAAW,CAAC,IAAsB;QACvC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,oBAAoB,EAAE,IAAI,CAAC,CAAC;IACtD,CAAC;CACF;AAPD,8BAOC","sourcesContent":["import { BankDedupRequest, BankDedupResponse } from '../../types';\nimport { Resource } from '../Resource';\n\nexport class BankDedup extends Resource {\n /**\n * Analyze bank transactions for deduplication\n */\n public getAnalysis(body: BankDedupRequest): Promise<BankDedupResponse> {\n return this.axios.$post('/bank-dedup/detect', body);\n }\n}\n"]}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
export declare class BankDedupRequest {
|
|
2
|
-
csv: string;
|
|
3
|
-
initial: number;
|
|
4
|
-
target: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class BankDedupFileUploadBody {
|
|
7
|
-
initial: number;
|
|
8
|
-
target: number;
|
|
9
|
-
}
|
|
10
|
-
export declare class BankTx {
|
|
11
|
-
id: string;
|
|
12
|
-
label: string;
|
|
13
|
-
dateValue: string;
|
|
14
|
-
credit: number;
|
|
15
|
-
debit: number;
|
|
16
|
-
sign: 1 | -1;
|
|
17
|
-
amount: number;
|
|
18
|
-
cents: number;
|
|
19
|
-
}
|
|
20
|
-
export declare class DuplicateGroup {
|
|
21
|
-
id: string;
|
|
22
|
-
transactions: BankTx[];
|
|
23
|
-
amount: number;
|
|
24
|
-
cents: number;
|
|
25
|
-
sign: 1 | -1;
|
|
26
|
-
confidence: number;
|
|
27
|
-
method: 'exact' | 'fuzzy_high' | 'fuzzy_medium' | 'fuzzy_low';
|
|
28
|
-
}
|
|
29
|
-
export declare class BankDedupResult {
|
|
30
|
-
success: true;
|
|
31
|
-
initial: number;
|
|
32
|
-
target: number;
|
|
33
|
-
finalRaw: number;
|
|
34
|
-
finalAfterDedup: number;
|
|
35
|
-
diffBefore: number;
|
|
36
|
-
diffAfter: number;
|
|
37
|
-
removedGroups: BankDedupGroup[];
|
|
38
|
-
removedCount: number;
|
|
39
|
-
keptCount: number;
|
|
40
|
-
csvDeduped: string;
|
|
41
|
-
allGroups: BankDedupGroup[];
|
|
42
|
-
debug: {
|
|
43
|
-
totalGroups: number;
|
|
44
|
-
selectedGroups: number;
|
|
45
|
-
iterations: number;
|
|
46
|
-
strategiesUsed: string[];
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
export declare class BankDedupGroup {
|
|
50
|
-
id: string;
|
|
51
|
-
isSelected: boolean;
|
|
52
|
-
confidence?: number;
|
|
53
|
-
method?: string;
|
|
54
|
-
amount?: number;
|
|
55
|
-
transactionCount?: number;
|
|
56
|
-
transactions?: {
|
|
57
|
-
id: string;
|
|
58
|
-
label: string;
|
|
59
|
-
dateValue: string;
|
|
60
|
-
isKept: boolean;
|
|
61
|
-
isCredit: boolean;
|
|
62
|
-
}[];
|
|
63
|
-
}
|
|
64
|
-
export declare class BankDedupImpossible {
|
|
65
|
-
success: false;
|
|
66
|
-
reason: 'NO_EXACT_COMBINATION' | 'CSV_PARSE_ERROR' | 'INVALID_INPUT' | 'INSUFFICIENT_DUPLICATES';
|
|
67
|
-
message: string;
|
|
68
|
-
initial?: number;
|
|
69
|
-
target?: number;
|
|
70
|
-
finalRaw?: number;
|
|
71
|
-
diffBefore?: number;
|
|
72
|
-
bestAttempt?: {
|
|
73
|
-
finalAfterDedup: number;
|
|
74
|
-
diffAfter: number;
|
|
75
|
-
removedCount: number;
|
|
76
|
-
};
|
|
77
|
-
stats?: {
|
|
78
|
-
totalTx?: number;
|
|
79
|
-
totalGroups?: number;
|
|
80
|
-
strategiesTried?: string[];
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
export type BankDedupResponse = BankDedupResult | BankDedupImpossible;
|
|
84
|
-
//# sourceMappingURL=BankDedup.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BankDedup.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/bankDedup/BankDedup.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.BankDedupImpossible = exports.BankDedupGroup = exports.BankDedupResult = exports.DuplicateGroup = exports.BankTx = exports.BankDedupFileUploadBody = exports.BankDedupRequest = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
const class_transformer_1 = require("class-transformer");
|
|
16
|
-
class BankDedupRequest {
|
|
17
|
-
}
|
|
18
|
-
exports.BankDedupRequest = BankDedupRequest;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, swagger_1.ApiProperty)(),
|
|
21
|
-
(0, class_validator_1.IsString)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], BankDedupRequest.prototype, "csv", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, swagger_1.ApiProperty)(),
|
|
26
|
-
(0, class_validator_1.IsNumber)(),
|
|
27
|
-
__metadata("design:type", Number)
|
|
28
|
-
], BankDedupRequest.prototype, "initial", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, swagger_1.ApiProperty)(),
|
|
31
|
-
(0, class_validator_1.IsNumber)(),
|
|
32
|
-
__metadata("design:type", Number)
|
|
33
|
-
], BankDedupRequest.prototype, "target", void 0);
|
|
34
|
-
class BankDedupFileUploadBody {
|
|
35
|
-
}
|
|
36
|
-
exports.BankDedupFileUploadBody = BankDedupFileUploadBody;
|
|
37
|
-
__decorate([
|
|
38
|
-
(0, swagger_1.ApiProperty)(),
|
|
39
|
-
(0, class_validator_1.IsNumber)(),
|
|
40
|
-
__metadata("design:type", Number)
|
|
41
|
-
], BankDedupFileUploadBody.prototype, "initial", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiProperty)(),
|
|
44
|
-
(0, class_validator_1.IsNumber)(),
|
|
45
|
-
__metadata("design:type", Number)
|
|
46
|
-
], BankDedupFileUploadBody.prototype, "target", void 0);
|
|
47
|
-
class BankTx {
|
|
48
|
-
}
|
|
49
|
-
exports.BankTx = BankTx;
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, swagger_1.ApiProperty)(),
|
|
52
|
-
(0, class_validator_1.IsString)(),
|
|
53
|
-
__metadata("design:type", String)
|
|
54
|
-
], BankTx.prototype, "id", void 0);
|
|
55
|
-
__decorate([
|
|
56
|
-
(0, swagger_1.ApiProperty)(),
|
|
57
|
-
(0, class_validator_1.IsString)(),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], BankTx.prototype, "label", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, swagger_1.ApiProperty)(),
|
|
62
|
-
(0, class_validator_1.IsString)(),
|
|
63
|
-
__metadata("design:type", String)
|
|
64
|
-
], BankTx.prototype, "dateValue", void 0);
|
|
65
|
-
__decorate([
|
|
66
|
-
(0, swagger_1.ApiProperty)(),
|
|
67
|
-
(0, class_validator_1.IsNumber)(),
|
|
68
|
-
__metadata("design:type", Number)
|
|
69
|
-
], BankTx.prototype, "credit", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, swagger_1.ApiProperty)(),
|
|
72
|
-
(0, class_validator_1.IsNumber)(),
|
|
73
|
-
__metadata("design:type", Number)
|
|
74
|
-
], BankTx.prototype, "debit", void 0);
|
|
75
|
-
__decorate([
|
|
76
|
-
(0, swagger_1.ApiProperty)(),
|
|
77
|
-
(0, class_validator_1.IsIn)([1, -1]),
|
|
78
|
-
__metadata("design:type", Number)
|
|
79
|
-
], BankTx.prototype, "sign", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, swagger_1.ApiProperty)(),
|
|
82
|
-
(0, class_validator_1.IsNumber)(),
|
|
83
|
-
(0, class_validator_1.Min)(0),
|
|
84
|
-
__metadata("design:type", Number)
|
|
85
|
-
], BankTx.prototype, "amount", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, swagger_1.ApiProperty)(),
|
|
88
|
-
(0, class_validator_1.IsNumber)(),
|
|
89
|
-
__metadata("design:type", Number)
|
|
90
|
-
], BankTx.prototype, "cents", void 0);
|
|
91
|
-
class DuplicateGroup {
|
|
92
|
-
}
|
|
93
|
-
exports.DuplicateGroup = DuplicateGroup;
|
|
94
|
-
__decorate([
|
|
95
|
-
(0, swagger_1.ApiProperty)(),
|
|
96
|
-
(0, class_validator_1.IsString)(),
|
|
97
|
-
__metadata("design:type", String)
|
|
98
|
-
], DuplicateGroup.prototype, "id", void 0);
|
|
99
|
-
__decorate([
|
|
100
|
-
(0, swagger_1.ApiProperty)({ type: [BankTx] }),
|
|
101
|
-
(0, class_validator_1.IsArray)(),
|
|
102
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
103
|
-
(0, class_transformer_1.Type)(() => BankTx),
|
|
104
|
-
__metadata("design:type", Array)
|
|
105
|
-
], DuplicateGroup.prototype, "transactions", void 0);
|
|
106
|
-
__decorate([
|
|
107
|
-
(0, swagger_1.ApiProperty)(),
|
|
108
|
-
(0, class_validator_1.IsNumber)(),
|
|
109
|
-
__metadata("design:type", Number)
|
|
110
|
-
], DuplicateGroup.prototype, "amount", void 0);
|
|
111
|
-
__decorate([
|
|
112
|
-
(0, swagger_1.ApiProperty)(),
|
|
113
|
-
(0, class_validator_1.IsNumber)(),
|
|
114
|
-
__metadata("design:type", Number)
|
|
115
|
-
], DuplicateGroup.prototype, "cents", void 0);
|
|
116
|
-
__decorate([
|
|
117
|
-
(0, swagger_1.ApiProperty)(),
|
|
118
|
-
(0, class_validator_1.IsIn)([1, -1]),
|
|
119
|
-
__metadata("design:type", Number)
|
|
120
|
-
], DuplicateGroup.prototype, "sign", void 0);
|
|
121
|
-
__decorate([
|
|
122
|
-
(0, swagger_1.ApiProperty)(),
|
|
123
|
-
(0, class_validator_1.IsNumber)(),
|
|
124
|
-
(0, class_validator_1.Min)(0),
|
|
125
|
-
(0, class_validator_1.Max)(1),
|
|
126
|
-
__metadata("design:type", Number)
|
|
127
|
-
], DuplicateGroup.prototype, "confidence", void 0);
|
|
128
|
-
__decorate([
|
|
129
|
-
(0, swagger_1.ApiProperty)(),
|
|
130
|
-
(0, class_validator_1.IsIn)(['exact', 'fuzzy_high', 'fuzzy_medium', 'fuzzy_low']),
|
|
131
|
-
__metadata("design:type", String)
|
|
132
|
-
], DuplicateGroup.prototype, "method", void 0);
|
|
133
|
-
class BankDedupResult {
|
|
134
|
-
}
|
|
135
|
-
exports.BankDedupResult = BankDedupResult;
|
|
136
|
-
__decorate([
|
|
137
|
-
(0, swagger_1.ApiProperty)(),
|
|
138
|
-
(0, class_validator_1.IsBoolean)(),
|
|
139
|
-
__metadata("design:type", Boolean)
|
|
140
|
-
], BankDedupResult.prototype, "success", void 0);
|
|
141
|
-
__decorate([
|
|
142
|
-
(0, swagger_1.ApiProperty)(),
|
|
143
|
-
(0, class_validator_1.IsNumber)(),
|
|
144
|
-
__metadata("design:type", Number)
|
|
145
|
-
], BankDedupResult.prototype, "initial", void 0);
|
|
146
|
-
__decorate([
|
|
147
|
-
(0, swagger_1.ApiProperty)(),
|
|
148
|
-
(0, class_validator_1.IsNumber)(),
|
|
149
|
-
__metadata("design:type", Number)
|
|
150
|
-
], BankDedupResult.prototype, "target", void 0);
|
|
151
|
-
__decorate([
|
|
152
|
-
(0, swagger_1.ApiProperty)(),
|
|
153
|
-
(0, class_validator_1.IsNumber)(),
|
|
154
|
-
__metadata("design:type", Number)
|
|
155
|
-
], BankDedupResult.prototype, "finalRaw", void 0);
|
|
156
|
-
__decorate([
|
|
157
|
-
(0, swagger_1.ApiProperty)(),
|
|
158
|
-
(0, class_validator_1.IsNumber)(),
|
|
159
|
-
__metadata("design:type", Number)
|
|
160
|
-
], BankDedupResult.prototype, "finalAfterDedup", void 0);
|
|
161
|
-
__decorate([
|
|
162
|
-
(0, swagger_1.ApiProperty)(),
|
|
163
|
-
(0, class_validator_1.IsNumber)(),
|
|
164
|
-
__metadata("design:type", Number)
|
|
165
|
-
], BankDedupResult.prototype, "diffBefore", void 0);
|
|
166
|
-
__decorate([
|
|
167
|
-
(0, swagger_1.ApiProperty)(),
|
|
168
|
-
(0, class_validator_1.IsNumber)(),
|
|
169
|
-
__metadata("design:type", Number)
|
|
170
|
-
], BankDedupResult.prototype, "diffAfter", void 0);
|
|
171
|
-
__decorate([
|
|
172
|
-
(0, swagger_1.ApiProperty)(),
|
|
173
|
-
(0, class_validator_1.IsArray)(),
|
|
174
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
175
|
-
(0, class_transformer_1.Type)(() => BankDedupGroup),
|
|
176
|
-
__metadata("design:type", Array)
|
|
177
|
-
], BankDedupResult.prototype, "removedGroups", void 0);
|
|
178
|
-
__decorate([
|
|
179
|
-
(0, swagger_1.ApiProperty)(),
|
|
180
|
-
(0, class_validator_1.IsNumber)(),
|
|
181
|
-
__metadata("design:type", Number)
|
|
182
|
-
], BankDedupResult.prototype, "removedCount", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
(0, swagger_1.ApiProperty)(),
|
|
185
|
-
(0, class_validator_1.IsNumber)(),
|
|
186
|
-
__metadata("design:type", Number)
|
|
187
|
-
], BankDedupResult.prototype, "keptCount", void 0);
|
|
188
|
-
__decorate([
|
|
189
|
-
(0, swagger_1.ApiProperty)(),
|
|
190
|
-
(0, class_validator_1.IsString)(),
|
|
191
|
-
__metadata("design:type", String)
|
|
192
|
-
], BankDedupResult.prototype, "csvDeduped", void 0);
|
|
193
|
-
__decorate([
|
|
194
|
-
(0, swagger_1.ApiProperty)(),
|
|
195
|
-
(0, class_validator_1.IsArray)(),
|
|
196
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
197
|
-
(0, class_transformer_1.Type)(() => BankDedupGroup),
|
|
198
|
-
__metadata("design:type", Array)
|
|
199
|
-
], BankDedupResult.prototype, "allGroups", void 0);
|
|
200
|
-
__decorate([
|
|
201
|
-
(0, swagger_1.ApiProperty)(),
|
|
202
|
-
__metadata("design:type", Object)
|
|
203
|
-
], BankDedupResult.prototype, "debug", void 0);
|
|
204
|
-
class BankDedupGroup {
|
|
205
|
-
}
|
|
206
|
-
exports.BankDedupGroup = BankDedupGroup;
|
|
207
|
-
__decorate([
|
|
208
|
-
(0, swagger_1.ApiProperty)(),
|
|
209
|
-
(0, class_validator_1.IsString)(),
|
|
210
|
-
__metadata("design:type", String)
|
|
211
|
-
], BankDedupGroup.prototype, "id", void 0);
|
|
212
|
-
__decorate([
|
|
213
|
-
(0, swagger_1.ApiProperty)(),
|
|
214
|
-
(0, class_validator_1.IsBoolean)(),
|
|
215
|
-
__metadata("design:type", Boolean)
|
|
216
|
-
], BankDedupGroup.prototype, "isSelected", void 0);
|
|
217
|
-
__decorate([
|
|
218
|
-
(0, swagger_1.ApiProperty)(),
|
|
219
|
-
(0, class_validator_1.IsOptional)(),
|
|
220
|
-
(0, class_validator_1.IsNumber)(),
|
|
221
|
-
(0, class_validator_1.Min)(0),
|
|
222
|
-
(0, class_validator_1.Max)(1),
|
|
223
|
-
__metadata("design:type", Number)
|
|
224
|
-
], BankDedupGroup.prototype, "confidence", void 0);
|
|
225
|
-
__decorate([
|
|
226
|
-
(0, swagger_1.ApiProperty)(),
|
|
227
|
-
(0, class_validator_1.IsOptional)(),
|
|
228
|
-
(0, class_validator_1.IsString)(),
|
|
229
|
-
__metadata("design:type", String)
|
|
230
|
-
], BankDedupGroup.prototype, "method", void 0);
|
|
231
|
-
__decorate([
|
|
232
|
-
(0, swagger_1.ApiProperty)(),
|
|
233
|
-
(0, class_validator_1.IsOptional)(),
|
|
234
|
-
(0, class_validator_1.IsNumber)(),
|
|
235
|
-
__metadata("design:type", Number)
|
|
236
|
-
], BankDedupGroup.prototype, "amount", void 0);
|
|
237
|
-
__decorate([
|
|
238
|
-
(0, swagger_1.ApiProperty)(),
|
|
239
|
-
(0, class_validator_1.IsOptional)(),
|
|
240
|
-
(0, class_validator_1.IsNumber)(),
|
|
241
|
-
__metadata("design:type", Number)
|
|
242
|
-
], BankDedupGroup.prototype, "transactionCount", void 0);
|
|
243
|
-
__decorate([
|
|
244
|
-
(0, swagger_1.ApiProperty)(),
|
|
245
|
-
(0, class_validator_1.IsOptional)(),
|
|
246
|
-
(0, class_validator_1.IsArray)(),
|
|
247
|
-
__metadata("design:type", Array)
|
|
248
|
-
], BankDedupGroup.prototype, "transactions", void 0);
|
|
249
|
-
class BankDedupImpossible {
|
|
250
|
-
}
|
|
251
|
-
exports.BankDedupImpossible = BankDedupImpossible;
|
|
252
|
-
__decorate([
|
|
253
|
-
(0, swagger_1.ApiProperty)(),
|
|
254
|
-
(0, class_validator_1.IsBoolean)(),
|
|
255
|
-
__metadata("design:type", Boolean)
|
|
256
|
-
], BankDedupImpossible.prototype, "success", void 0);
|
|
257
|
-
__decorate([
|
|
258
|
-
(0, swagger_1.ApiProperty)(),
|
|
259
|
-
(0, class_validator_1.IsIn)(['NO_EXACT_COMBINATION', 'CSV_PARSE_ERROR', 'INVALID_INPUT', 'INSUFFICIENT_DUPLICATES']),
|
|
260
|
-
__metadata("design:type", String)
|
|
261
|
-
], BankDedupImpossible.prototype, "reason", void 0);
|
|
262
|
-
__decorate([
|
|
263
|
-
(0, swagger_1.ApiProperty)(),
|
|
264
|
-
(0, class_validator_1.IsString)(),
|
|
265
|
-
__metadata("design:type", String)
|
|
266
|
-
], BankDedupImpossible.prototype, "message", void 0);
|
|
267
|
-
__decorate([
|
|
268
|
-
(0, swagger_1.ApiProperty)(),
|
|
269
|
-
(0, class_validator_1.IsOptional)(),
|
|
270
|
-
(0, class_validator_1.IsNumber)(),
|
|
271
|
-
__metadata("design:type", Number)
|
|
272
|
-
], BankDedupImpossible.prototype, "initial", void 0);
|
|
273
|
-
__decorate([
|
|
274
|
-
(0, swagger_1.ApiProperty)(),
|
|
275
|
-
(0, class_validator_1.IsOptional)(),
|
|
276
|
-
(0, class_validator_1.IsNumber)(),
|
|
277
|
-
__metadata("design:type", Number)
|
|
278
|
-
], BankDedupImpossible.prototype, "target", void 0);
|
|
279
|
-
__decorate([
|
|
280
|
-
(0, swagger_1.ApiProperty)(),
|
|
281
|
-
(0, class_validator_1.IsOptional)(),
|
|
282
|
-
(0, class_validator_1.IsNumber)(),
|
|
283
|
-
__metadata("design:type", Number)
|
|
284
|
-
], BankDedupImpossible.prototype, "finalRaw", void 0);
|
|
285
|
-
__decorate([
|
|
286
|
-
(0, swagger_1.ApiProperty)(),
|
|
287
|
-
(0, class_validator_1.IsOptional)(),
|
|
288
|
-
(0, class_validator_1.IsNumber)(),
|
|
289
|
-
__metadata("design:type", Number)
|
|
290
|
-
], BankDedupImpossible.prototype, "diffBefore", void 0);
|
|
291
|
-
__decorate([
|
|
292
|
-
(0, swagger_1.ApiProperty)(),
|
|
293
|
-
(0, class_validator_1.IsOptional)(),
|
|
294
|
-
__metadata("design:type", Object)
|
|
295
|
-
], BankDedupImpossible.prototype, "bestAttempt", void 0);
|
|
296
|
-
__decorate([
|
|
297
|
-
(0, swagger_1.ApiProperty)(),
|
|
298
|
-
(0, class_validator_1.IsOptional)(),
|
|
299
|
-
__metadata("design:type", Object)
|
|
300
|
-
], BankDedupImpossible.prototype, "stats", void 0);
|
|
301
|
-
//# sourceMappingURL=BankDedup.js.map
|