@silexpert/core 1.3.184 → 1.3.185-0

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 (71) 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/api/resources/Society.d.ts +2 -1
  6. package/dist/cjs/api/resources/Society.d.ts.map +1 -1
  7. package/dist/cjs/api/resources/Society.js +3 -0
  8. package/dist/cjs/api/resources/Society.js.map +1 -1
  9. package/dist/cjs/types/Enum/BrandPourcentage.js +8 -8
  10. package/dist/cjs/types/Enum/BrandPourcentage.js.map +1 -1
  11. package/dist/cjs/types/Enum/EntityType.d.ts +2 -2
  12. package/dist/cjs/types/Enum/EntityType.js +2 -2
  13. package/dist/cjs/types/Enum/EntityType.js.map +1 -1
  14. package/dist/cjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  15. package/dist/cjs/types/Enum/PriceGridClementine.js +482 -478
  16. package/dist/cjs/types/Enum/PriceGridClementine.js.map +1 -1
  17. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  18. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  19. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +4 -1
  20. package/dist/cjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  21. package/dist/cjs/types/Interface/api/shine/Query.d.ts +7 -0
  22. package/dist/cjs/types/Interface/api/shine/Query.d.ts.map +1 -0
  23. package/dist/cjs/types/Interface/api/shine/{GetConnect.js → Query.js} +9 -2
  24. package/dist/cjs/types/Interface/api/shine/Query.js.map +1 -0
  25. package/dist/cjs/types/index.d.ts +1 -1
  26. package/dist/cjs/types/index.d.ts.map +1 -1
  27. package/dist/cjs/types/index.js +1 -1
  28. package/dist/cjs/types/index.js.map +1 -1
  29. package/dist/mjs/api/resources/Shine.d.ts +2 -1
  30. package/dist/mjs/api/resources/Shine.d.ts.map +1 -1
  31. package/dist/mjs/api/resources/Shine.js +3 -0
  32. package/dist/mjs/api/resources/Shine.js.map +1 -1
  33. package/dist/mjs/api/resources/Society.d.ts +2 -1
  34. package/dist/mjs/api/resources/Society.d.ts.map +1 -1
  35. package/dist/mjs/api/resources/Society.js +3 -0
  36. package/dist/mjs/api/resources/Society.js.map +1 -1
  37. package/dist/mjs/types/Enum/BrandPourcentage.js +8 -8
  38. package/dist/mjs/types/Enum/BrandPourcentage.js.map +1 -1
  39. package/dist/mjs/types/Enum/EntityType.d.ts +2 -2
  40. package/dist/mjs/types/Enum/EntityType.js +2 -2
  41. package/dist/mjs/types/Enum/EntityType.js.map +1 -1
  42. package/dist/mjs/types/Enum/PriceGridClementine.d.ts.map +1 -1
  43. package/dist/mjs/types/Enum/PriceGridClementine.js +486 -474
  44. package/dist/mjs/types/Enum/PriceGridClementine.js.map +1 -1
  45. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts +17 -0
  46. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.d.ts.map +1 -1
  47. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js +7 -0
  48. package/dist/mjs/types/Interface/api/authentification/ReadAuthenticateCollaborater.js.map +1 -1
  49. package/dist/mjs/types/Interface/api/shine/Query.d.ts +7 -0
  50. package/dist/mjs/types/Interface/api/shine/Query.d.ts.map +1 -0
  51. package/dist/mjs/types/Interface/api/shine/{GetConnect.js → Query.js} +8 -1
  52. package/dist/mjs/types/Interface/api/shine/Query.js.map +1 -0
  53. package/dist/mjs/types/index.d.ts +1 -1
  54. package/dist/mjs/types/index.d.ts.map +1 -1
  55. package/dist/mjs/types/index.js +1 -1
  56. package/dist/mjs/types/index.js.map +1 -1
  57. package/package.json +1 -1
  58. package/ts/api/resources/Shine.ts +11 -1
  59. package/ts/api/resources/Society.ts +5 -0
  60. package/ts/types/Enum/BrandPourcentage.ts +8 -8
  61. package/ts/types/Enum/EntityType.ts +2 -2
  62. package/ts/types/Enum/PriceGridClementine.ts +487 -474
  63. package/ts/types/Interface/api/authentification/ReadAuthenticateCollaborater.ts +18 -0
  64. package/ts/types/Interface/api/shine/{GetConnect.ts → Query.ts} +5 -0
  65. package/ts/types/index.ts +1 -1
  66. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
  67. package/dist/cjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
  68. package/dist/cjs/types/Interface/api/shine/GetConnect.js.map +0 -1
  69. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts +0 -4
  70. package/dist/mjs/types/Interface/api/shine/GetConnect.d.ts.map +0 -1
  71. 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
  }
@@ -30,6 +30,7 @@ import {
30
30
  DataCustomersCsv,
31
31
  ReadCurrentPrestations,
32
32
  QueryToArchivedSociety,
33
+ ReadFeatureAccess,
33
34
  } from '../../types';
34
35
  import { CancelToken } from 'axios';
35
36
 
@@ -205,4 +206,8 @@ export class Society extends Resource {
205
206
  },
206
207
  });
207
208
  }
209
+
210
+ getAllFeatures(idSociety: number): Promise<ReadFeatureAccess> {
211
+ return this.axios.$get(`/societies/${idSociety}/features`);
212
+ }
208
213
  }
@@ -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',