@silexpert/core 1.3.184 → 1.3.185

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.
Files changed (46) hide show
  1. package/dist/cjs/api/resources/Shine.d.ts +2 -1
  2. package/dist/cjs/api/resources/Shine.d.ts.map +1 -1
  3. package/dist/cjs/api/resources/Shine.js +3 -0
  4. package/dist/cjs/api/resources/Shine.js.map +1 -1
  5. package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
  6. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  7. package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
  8. package/dist/cjs/types/Enum/EntityType.js +2 -2
  9. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  10. package/dist/cjs/types/Interface/api/shine/Query.d.ts +7 -0
  11. package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +1 -0
  12. package/dist/cjs/types/Interface/api/shine/{GetConnect.js → Query.js} +9 -2
  13. package/dist/cjs/types/Interface/api/shine/Query.js.map +1 -0
  14. package/dist/cjs/types/index.d.ts +1 -1
  15. package/dist/cjs/types/index.d.ts.map +1 -1
  16. package/dist/cjs/types/index.js +1 -1
  17. package/dist/cjs/types/index.js.map +1 -1
  18. package/dist/mjs/api/resources/Shine.d.ts +2 -1
  19. package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
  20. package/dist/mjs/api/resources/Shine.js +3 -0
  21. package/dist/mjs/api/resources/Shine.js.map +1 -1
  22. package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
  23. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  24. package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
  25. package/dist/mjs/types/Enum/EntityType.js +2 -2
  26. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  27. package/dist/mjs/types/Interface/api/shine/Query.d.ts +7 -0
  28. package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +1 -0
  29. package/dist/mjs/types/Interface/api/shine/{GetConnect.js → Query.js} +8 -1
  30. package/dist/mjs/types/Interface/api/shine/Query.js.map +1 -0
  31. package/dist/mjs/types/index.d.ts +1 -1
  32. package/dist/mjs/types/index.d.ts.map +1 -1
  33. package/dist/mjs/types/index.js +1 -1
  34. package/dist/mjs/types/index.js.map +1 -1
  35. package/package.json +1 -1
  36. package/ts/api/resources/Shine.ts +11 -1
  37. package/ts/types/Enum/BrandPourcentage.ts +8 -8
  38. package/ts/types/Enum/EntityType.ts +2 -2
  39. package/ts/types/Interface/api/shine/{GetConnect.ts → Query.ts} +5 -0
  40. package/ts/types/index.ts +1 -1
  41. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
  42. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
  43. package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +0 -1
  44. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
  45. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
  46. package/dist/mjs/types/Interface/api/shine/GetConnect.js.map +0 -1
@@ -1,10 +1,20 @@
1
1
  import { Resource } from '../Resource';
2
- import { IBankAccount, CreateShineTransactions, GetConnect, CreateShineAccount, ConnectResponse } from '../../types';
2
+ import {
3
+ IBankAccount,
4
+ CreateShineTransactions,
5
+ GetConnect,
6
+ CreateShineAccount,
7
+ ConnectResponse,
8
+ GetRefreshConnect,
9
+ } from '../../types';
3
10
 
4
11
  export class Shine extends Resource {
5
12
  connect(idSociety: number, params: GetConnect): Promise<ConnectResponse> {
6
13
  return this.axios.$get(`/connectors/shine/${idSociety}/connect`, { params });
7
14
  }
15
+ refreshConnectData(idSociety: number, params: GetRefreshConnect): Promise<ConnectResponse> {
16
+ return this.axios.$get(`/connectors/shine/${idSociety}/refresh-connect-data`, { params });
17
+ }
8
18
  importBankAccount(idSociety: number, params: CreateShineAccount): Promise<IBankAccount> {
9
19
  return this.axios.$post(`/connectors/shine/${idSociety}/importBankAccount`, params);
10
20
  }
@@ -284,10 +284,10 @@ export const BrandPourcentage: Brand[] = [
284
284
  ECDepartment: 'PACA',
285
285
  ECPosition: 'Président',
286
286
  phone: '04 93 87 03 03',
287
- postalAddress: '35 Avenue Jean Médecin',
287
+ postalAddress: '9 route de Turin',
288
288
  rcs: 'Nice B 882 255 094',
289
289
  statut: 'SAS',
290
- zipCode: '06 000',
290
+ zipCode: '06 300',
291
291
  },
292
292
  idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
293
293
  logoUrl: 'logo-pourcentage.svg',
@@ -312,8 +312,8 @@ export const BrandPourcentage: Brand[] = [
312
312
  lastUsedNumber: 1685,
313
313
  statut: 'SAS',
314
314
  name: 'AMEX',
315
- address: '35 Avenue Jean Médecin',
316
- zipCode: '06 000',
315
+ address: '9 route de Turin',
316
+ zipCode: '06 300',
317
317
  city: 'NICE',
318
318
  country: 'FRANCE',
319
319
  montantCapital: '466 800',
@@ -383,10 +383,10 @@ export const BrandPourcentage: Brand[] = [
383
383
  ECPosition: 'Salarié',
384
384
  ECDepartment: 'PACA',
385
385
  phone: '04 93 54 29 09',
386
- postalAddress: '35 Avenue Jean Médecin',
386
+ postalAddress: '9 route de Turin',
387
387
  rcs: 'Nice B 882 255 094',
388
388
  statut: 'SAS',
389
- zipCode: '06 000',
389
+ zipCode: '06 300',
390
390
  },
391
391
  idPrestationsListAuthorized: [197, 205, 12, 207, 208, 189],
392
392
  logoUrl: 'logo-pourcentage.svg',
@@ -411,8 +411,8 @@ export const BrandPourcentage: Brand[] = [
411
411
  lastUsedNumber: 1685,
412
412
  statut: 'SAS',
413
413
  name: 'AMEX',
414
- address: '35 Avenue Jean Médecin',
415
- zipCode: '06 000',
414
+ address: '9 route de Turin',
415
+ zipCode: '06 300',
416
416
  city: 'NICE',
417
417
  country: 'FRANCE',
418
418
  montantCapital: '466 800',
@@ -74,8 +74,8 @@ export const EntityTypeDetail = [
74
74
  {
75
75
  id: EntityType.AMEX,
76
76
  name: 'SAS AMEX',
77
- adress: '35 avenue Jean Médecin',
78
- city: '06000 NICE',
77
+ adress: '9 route de Turin',
78
+ city: '06300 NICE',
79
79
  capital: '466 800 €',
80
80
  RCS: '882 255 094',
81
81
  phone: '04 93 87 03 03',
@@ -4,3 +4,8 @@ export class GetConnect {
4
4
  @ApiProperty()
5
5
  code: string;
6
6
  }
7
+
8
+ export class GetRefreshConnect {
9
+ @ApiProperty()
10
+ idBankConnection: number;
11
+ }
package/ts/types/index.ts CHANGED
@@ -841,7 +841,7 @@ export * from './Interface/api/supervision/Read';
841
841
  export * from './Interface/api/salariesFile/ReadSalariesFile';
842
842
  export * from './Interface/api/salariesFile/CreateSalariesFile';
843
843
  export * from './Interface/api/shine/CreateShine';
844
- export * from './Interface/api/shine/GetConnect';
844
+ export * from './Interface/api/shine/Query';
845
845
  export * from './Interface/api/shine/CreateShineAccount';
846
846
  export * from './Interface/api/shine/CreateShineTransactions';
847
847
  export * from './Interface/api/shine/ConnectResponse';
@@ -1,4 +0,0 @@
1
- export declare class GetConnect {
2
- code: string;
3
- }
4
- //# sourceMappingURL=GetConnect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetConnect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetConnect.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAAgD;AAEhD,MAAa,UAAU;CAGtB;AAHD,gCAGC;AADC;IADC,IAAA,mBAAW,GAAE;;wCACD","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetConnect {\n @ApiProperty()\n code: string;\n}\n"]}
@@ -1,4 +0,0 @@
1
- export declare class GetConnect {
2
- code: string;
3
- }
4
- //# sourceMappingURL=GetConnect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetConnect.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":"AAEA,qBAAa,UAAU;IAErB,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"GetConnect.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/shine/GetConnect.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,UAAU;IAErB,IAAI,CAAS;CACd;AADC;IADC,WAAW,EAAE;;wCACD","sourcesContent":["import { ApiProperty } from '../../../../utils';\n\nexport class GetConnect {\n @ApiProperty()\n code: string;\n}\n"]}