@silexpert/core 1.0.139 → 1.0.141
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/Shine.d.ts +2 -1
- package/es/api/resources/Shine.d.ts.map +1 -1
- package/es/api/resources/Shine.js +3 -0
- package/es/api/resources/Shine.js.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts +0 -1
- package/es/types/Interface/api/commercial/QueryGetStats.d.ts.map +1 -1
- package/es/types/Interface/api/commercial/QueryGetStats.js +0 -7
- package/es/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/es/types/Interface/api/mail/QueryAllMail.d.ts +1 -0
- package/es/types/Interface/api/mail/QueryAllMail.d.ts.map +1 -1
- package/es/types/Interface/api/mail/QueryAllMail.js.map +1 -1
- package/es/types/Interface/api/shine/ConnectResponse.d.ts +1 -0
- package/es/types/Interface/api/shine/ConnectResponse.d.ts.map +1 -1
- package/es/types/Interface/api/shine/ConnectResponse.js.map +1 -1
- package/js/api/resources/Shine.js +4 -0
- package/js/api/resources/Shine.js.map +1 -1
- package/js/types/Interface/api/commercial/QueryGetStats.js +0 -2
- package/js/types/Interface/api/commercial/QueryGetStats.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Shine.ts +4 -1
- package/ts/types/Interface/api/commercial/QueryGetStats.ts +0 -6
- package/ts/types/Interface/api/mail/QueryAllMail.ts +2 -1
- package/ts/types/Interface/api/shine/ConnectResponse.ts +1 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
|
-
import { IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse } from '../../types';
|
|
2
|
+
import { IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse, IBankConnection } from '../../types';
|
|
3
3
|
export declare class Shine extends Resource {
|
|
4
4
|
connect(idSociety: number, params: GetConnect): Promise<ConnectResponse>;
|
|
5
5
|
importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount>;
|
|
6
6
|
importTransactions(params: CreateShineTransactions): Promise<number>;
|
|
7
|
+
refreshConnection(idBankConnection: number): Promise<IBankConnection>;
|
|
7
8
|
}
|
|
8
9
|
//# sourceMappingURL=Shine.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shine.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EAAE,uBAAuB,EAAE,UAAU,EAAE,kBAAkB,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"Shine.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EACL,YAAY,EAAE,uBAAuB,EAAE,UAAU,EAAE,kBAAkB,EAAE,eAAe,EAAE,eAAe,EACxG,MAAM,aAAa,CAAC;AAErB,qBAAa,KAAM,SAAQ,QAAQ;IACjC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,eAAe,CAAC;IAGxE,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,YAAY,CAAC;IAGvF,kBAAkB,CAAC,MAAM,EAAE,uBAAuB,GAAG,OAAO,CAAC,MAAM,CAAC;IAGpE,iBAAiB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;CAGtE"}
|
|
@@ -9,5 +9,8 @@ export class Shine extends Resource {
|
|
|
9
9
|
importTransactions(params) {
|
|
10
10
|
return this.axios.$post('/shine/importTransactions', params);
|
|
11
11
|
}
|
|
12
|
+
refreshConnection(idBankConnection) {
|
|
13
|
+
return this.axios.$put(`/shine/${idBankConnection}/refresh-connection`);
|
|
14
|
+
}
|
|
12
15
|
}
|
|
13
16
|
//# sourceMappingURL=Shine.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shine.js","sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,OAAO,CAAC,SAAiB,EAAE,MAAkB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,SAAS,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,iBAAiB,CAAC,SAAiB,EAAE,MAA0B;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,SAAS,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC3E,CAAC;IACD,kBAAkB,CAAC,MAA+B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/shine/importTransactions', params);\n }\n}"]}
|
|
1
|
+
{"version":3,"file":"Shine.js","sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAKvC,MAAM,OAAO,KAAM,SAAQ,QAAQ;IACjC,OAAO,CAAC,SAAiB,EAAE,MAAkB;QAC3C,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,SAAS,UAAU,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC;IACpE,CAAC;IACD,iBAAiB,CAAC,SAAiB,EAAE,MAA0B;QAC7D,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,UAAU,SAAS,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC3E,CAAC;IACD,kBAAkB,CAAC,MAA+B;QAChD,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,2BAA2B,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;IACD,iBAAiB,CAAC,gBAAwB;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,gBAAgB,qBAAqB,CAAC,CAAC;IAC1E,CAAC;CACF","sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse, IBankConnection,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/shine/importTransactions', params);\n }\n refreshConnection(idBankConnection: number): Promise<IBankConnection> {\n return this.axios.$put(`/shine/${idBankConnection}/refresh-connection`);\n }\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetStats.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercial/QueryGetStats.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,
|
|
1
|
+
{"version":3,"file":"QueryGetStats.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercial/QueryGetStats.ts"],"names":[],"mappings":"AAOA,qBAAa,aAAa;IAIxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAK5B,GAAG,CAAC,EAAE,MAAM,CAAC;IAKb,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,IAAI,CAAC,EAAE,MAAM,CAAC;IAKd,MAAM,CAAC,EAAE,MAAM,CAAC;IAKhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAK5B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAK/B,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -18,13 +18,6 @@ __decorate([
|
|
|
18
18
|
IsString(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
20
|
], QueryGetStats.prototype, "search", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
ApiPropertyOptional(),
|
|
23
|
-
IsOptional(),
|
|
24
|
-
IsBoolean(),
|
|
25
|
-
ToBoolean(),
|
|
26
|
-
__metadata("design:type", Boolean)
|
|
27
|
-
], QueryGetStats.prototype, "isInCA", void 0);
|
|
28
21
|
__decorate([
|
|
29
22
|
ApiPropertyOptional(),
|
|
30
23
|
IsOptional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetStats.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercial/QueryGetStats.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,aAAa;
|
|
1
|
+
{"version":3,"file":"QueryGetStats.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercial/QueryGetStats.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,KAAK,EAAE,UAAU,EAAE,QAAQ,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,aAAa;CAmDzB;AA/CC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6CACK;AAMhB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;wDACgB;AAK5B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0CACK;AAKb;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;4CACO;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;2CACM;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;6CACQ;AAKhB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;+CACU;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;uDACM;AAK5B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;0DACS;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;qDACgB","sourcesContent":["import {\n IsBoolean,\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGetStats {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isAdditionalSales?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idPrestationList?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idConstitutionState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBillingState?: number;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryAllMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryAllMail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,YAAa,SAAQ,KAAK;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"QueryAllMail.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryAllMail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAE3C,MAAM,WAAW,YAAa,SAAQ,KAAK;IACzC,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryAllMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryAllMail.ts"],"names":[],"mappings":"","sourcesContent":["import { IMail } from '../../models/IMail';\n\nexport interface QueryAllMail extends IMail{\n idUser: number;\n startDate?: number;\n endDate?: number;\n isProcessed?: boolean;\n orderBy?: string;\n descending?: boolean;\n}"]}
|
|
1
|
+
{"version":3,"file":"QueryAllMail.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/mail/QueryAllMail.ts"],"names":[],"mappings":"","sourcesContent":["import { IMail } from '../../models/IMail';\n\nexport interface QueryAllMail extends IMail {\n idUser: number;\n startDate?: number;\n endDate?: number;\n isProcessed?: boolean;\n orderBy?: string;\n descending?: boolean;\n attributes?: string[];\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectResponse.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/shine/ConnectResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,eAAe,GAAG;IAC5B,cAAc,EAAE,eAAe,CAAC;IAChC,YAAY,EAAE,gBAAgB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"ConnectResponse.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/shine/ConnectResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,eAAe,GAAG;IAC5B,cAAc,EAAE,eAAe,CAAC;IAChC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectResponse.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/shine/ConnectResponse.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankConnection } from '../../models/IBankConnection';\nimport { ShineBankAccount } from './CreateShine';\n\nexport type ConnectResponse = {\n bankConnection: IBankConnection;\n bankAccounts: ShineBankAccount[];\n};"]}
|
|
1
|
+
{"version":3,"file":"ConnectResponse.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/shine/ConnectResponse.ts"],"names":[],"mappings":"","sourcesContent":["import { IBankConnection } from '../../models/IBankConnection';\nimport { ShineBankAccount } from './CreateShine';\n\nexport type ConnectResponse = {\n bankConnection: IBankConnection;\n bankAccounts: ShineBankAccount[];\n alreadyExists: boolean;\n};"]}
|
|
@@ -22,6 +22,10 @@ class Shine extends _Resource.Resource {
|
|
|
22
22
|
return this.axios.$post('/shine/importTransactions', params);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
refreshConnection(idBankConnection) {
|
|
26
|
+
return this.axios.$put(`/shine/${idBankConnection}/refresh-connection`);
|
|
27
|
+
}
|
|
28
|
+
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
exports.Shine = Shine;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Shine.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,OAAO,CAACC,SAAD,EAAoBC,MAApB,EAAsC;IAC3C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAUH,SAAS,UAAnC,EAA+C;MAAEC;IAAF,CAA/C,CAAP;EACD;;EACDG,iBAAiB,CAACJ,SAAD,EAAoBC,MAApB,EAA8C;IAC7D,OAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,UAAUL,SAAS,oBAApC,EAA0DC,MAA1D,CAAP;EACD;;EACDK,kBAAkB,CAACL,MAAD,EAAgC;IAChD,OAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,2BAAjB,EAA8CJ,MAA9C,CAAP;EACD;;
|
|
1
|
+
{"version":3,"file":"Shine.js","mappings":";;;;;;;AAAA;;AAKM,MAAOA,KAAP,SAAqBC,kBAArB,CAA6B;EACjCC,OAAO,CAACC,SAAD,EAAoBC,MAApB,EAAsC;IAC3C,OAAO,KAAKC,KAAL,CAAWC,IAAX,CAAgB,UAAUH,SAAS,UAAnC,EAA+C;MAAEC;IAAF,CAA/C,CAAP;EACD;;EACDG,iBAAiB,CAACJ,SAAD,EAAoBC,MAApB,EAA8C;IAC7D,OAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,UAAUL,SAAS,oBAApC,EAA0DC,MAA1D,CAAP;EACD;;EACDK,kBAAkB,CAACL,MAAD,EAAgC;IAChD,OAAO,KAAKC,KAAL,CAAWG,KAAX,CAAiB,2BAAjB,EAA8CJ,MAA9C,CAAP;EACD;;EACDM,iBAAiB,CAACC,gBAAD,EAAyB;IACxC,OAAO,KAAKN,KAAL,CAAWO,IAAX,CAAgB,UAAUD,gBAAgB,qBAA1C,CAAP;EACD;;AAZgC;;QAAtBX,K,GAAAA,K","names":["Shine","Resource","connect","idSociety","params","axios","$get","importBankAccount","$post","importTransactions","refreshConnection","idBankConnection","$put"],"sourceRoot":"","sources":["../../../ts/api/resources/Shine.ts"],"sourcesContent":["import { Resource } from '../Resource';\nimport {\n IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse, IBankConnection,\n} from '../../types';\n\nexport class Shine extends Resource {\n connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {\n return this.axios.$get(`/shine/${idSociety}/connect`, { params });\n }\n importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {\n return this.axios.$post(`/shine/${idSociety}/importBankAccount`, params);\n }\n importTransactions(params: CreateShineTransactions): Promise<number> {\n return this.axios.$post('/shine/importTransactions', params);\n }\n refreshConnection(idBankConnection: number): Promise<IBankConnection> {\n return this.axios.$put(`/shine/${idBankConnection}/refresh-connection`);\n }\n}"]}
|
|
@@ -29,8 +29,6 @@ exports.QueryGetStats = QueryGetStats;
|
|
|
29
29
|
|
|
30
30
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], QueryGetStats.prototype, "search", void 0);
|
|
31
31
|
|
|
32
|
-
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryGetStats.prototype, "isInCA", void 0);
|
|
33
|
-
|
|
34
32
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryGetStats.prototype, "isAdditionalSales", void 0);
|
|
35
33
|
|
|
36
34
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], QueryGetStats.prototype, "day", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryGetStats.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;
|
|
1
|
+
{"version":3,"file":"QueryGetStats.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,aAAP,CAAoB;;QAAbA,a,GAAAA,a;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,2BAAM;EAAEC,IAAI,EAAE;AAAR,CAAN,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,2BAAM;EAAEC,IAAI,EAAE;AAAR,CAAN,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,4BACD","names":["QueryGetStats","__decorate","each"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercial/QueryGetStats.ts"],"sourcesContent":["import {\n IsBoolean,\n IsInt, IsOptional, IsString,\n} from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryGetStats {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isAdditionalSales?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n day?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n month?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idUser?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idSource?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idPrestationList?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt({ each: true })\n idConstitutionState?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idBillingState?: number;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.141",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "js/index.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Resource } from '../Resource';
|
|
2
2
|
import {
|
|
3
|
-
IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse,
|
|
3
|
+
IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse, IBankConnection,
|
|
4
4
|
} from '../../types';
|
|
5
5
|
|
|
6
6
|
export class Shine extends Resource {
|
|
@@ -13,4 +13,7 @@ export class Shine extends Resource {
|
|
|
13
13
|
importTransactions(params: CreateShineTransactions): Promise<number> {
|
|
14
14
|
return this.axios.$post('/shine/importTransactions', params);
|
|
15
15
|
}
|
|
16
|
+
refreshConnection(idBankConnection: number): Promise<IBankConnection> {
|
|
17
|
+
return this.axios.$put(`/shine/${idBankConnection}/refresh-connection`);
|
|
18
|
+
}
|
|
16
19
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { IMail } from '../../models/IMail';
|
|
2
2
|
|
|
3
|
-
export interface QueryAllMail extends IMail{
|
|
3
|
+
export interface QueryAllMail extends IMail {
|
|
4
4
|
idUser: number;
|
|
5
5
|
startDate?: number;
|
|
6
6
|
endDate?: number;
|
|
7
7
|
isProcessed?: boolean;
|
|
8
8
|
orderBy?: string;
|
|
9
9
|
descending?: boolean;
|
|
10
|
+
attributes?: string[];
|
|
10
11
|
}
|