@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,3 +1,5 @@
1
+ import { Feature } from '../../../Enum/Feature';
2
+ import { PrestationTypeDetail } from '../../../Enum/PrestationType';
1
3
  import { IUser } from '../../models/IUser';
2
4
 
3
5
  export class ReadAuthenticateCollaborater {
@@ -16,3 +18,19 @@ export class ReadByExternalId {
16
18
  idTypeBrand: number;
17
19
  token: string;
18
20
  }
21
+
22
+ export type ExerciceFeatures = {
23
+ id: number;
24
+ startDate: Date | string;
25
+ endDate: Date | string;
26
+ isDefault: boolean;
27
+ subscriptionType: PrestationTypeDetail;
28
+ features: Feature[];
29
+ };
30
+ export class ReadFeatureAccess {
31
+ isOwner: boolean;
32
+ /** @returns default features */
33
+ features: Feature[];
34
+ exercices: ExerciceFeatures[];
35
+ isInTrialPeriod: boolean;
36
+ }
@@ -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"]}