@silexpert/core 2.0.6-exp-2 → 2.0.6

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 (34) hide show
  1. package/dist/api/resources.d.ts +0 -2
  2. package/dist/api/resources.d.ts.map +1 -1
  3. package/dist/api/resources.js +0 -2
  4. package/dist/api/resources.js.map +1 -1
  5. package/dist/types/Enum/BrandPourcentage.js +11 -11
  6. package/dist/types/Enum/BrandPourcentage.js.map +1 -1
  7. package/dist/types/Enum/Brevo.d.ts +4 -5
  8. package/dist/types/Enum/Brevo.d.ts.map +1 -1
  9. package/dist/types/Enum/Brevo.js +4 -5
  10. package/dist/types/Enum/Brevo.js.map +1 -1
  11. package/dist/types/Enum/IntermediateManagementRebate.d.ts.map +1 -1
  12. package/dist/types/Enum/IntermediateManagementRebate.js +1 -10
  13. package/dist/types/Enum/IntermediateManagementRebate.js.map +1 -1
  14. package/dist/types/index.d.ts +0 -1
  15. package/dist/types/index.d.ts.map +1 -1
  16. package/dist/types/index.js +0 -1
  17. package/dist/types/index.js.map +1 -1
  18. package/package.json +1 -1
  19. package/ts/api/resources.ts +0 -2
  20. package/ts/types/Enum/BrandPourcentage.ts +11 -11
  21. package/ts/types/Enum/Brevo.ts +4 -5
  22. package/ts/types/Enum/IntermediateManagementRebate.ts +1 -10
  23. package/ts/types/index.ts +0 -1
  24. package/tsconfig-base.json +2 -3
  25. package/dist/api/resources/Acd.d.ts +0 -8
  26. package/dist/api/resources/Acd.d.ts.map +0 -1
  27. package/dist/api/resources/Acd.js +0 -7
  28. package/dist/api/resources/Acd.js.map +0 -1
  29. package/dist/types/Interface/api/acd/Create.d.ts +0 -6
  30. package/dist/types/Interface/api/acd/Create.d.ts.map +0 -1
  31. package/dist/types/Interface/api/acd/Create.js +0 -32
  32. package/dist/types/Interface/api/acd/Create.js.map +0 -1
  33. package/ts/api/resources/Acd.ts +0 -8
  34. package/ts/types/Interface/api/acd/Create.ts +0 -16
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@silexpert/core",
3
- "version": "2.0.6-exp-2",
3
+ "version": "2.0.6",
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
  "type": "module",
@@ -191,7 +191,6 @@ import { AutomaticRegistration } from './resources/AutomaticRegistration.js';
191
191
  import { LoginApproval } from './resources/LoginApproval.js';
192
192
  import { SocietyApproval } from './resources/SocietyApproval.js';
193
193
  import { Docoon } from './resources/Docoon.js';
194
- import { Acd } from './resources/Acd.js';
195
194
 
196
195
  export const resources = {
197
196
  budgetInsight: BudgetInsight,
@@ -387,5 +386,4 @@ export const resources = {
387
386
  loginApproval: LoginApproval,
388
387
  societyApproval: SocietyApproval,
389
388
  docoon: Docoon,
390
- acd: Acd,
391
389
  };
@@ -91,19 +91,19 @@ export const BrandPourcentage: Brand[] = [
91
91
  // cleRib: '80',
92
92
  },
93
93
  internalInvoicing: {
94
- statut: 'SAS',
95
- name: 'EXPERTISE CHOIX B',
96
- address: '9 AVENUE DU RHIN',
97
- zipCode: '54521',
98
- city: 'LAXOU CEDEX',
94
+ statut: 'SASU',
95
+ name: 'POURCENTAGE',
96
+ address: '9, avenue du Rhin',
97
+ zipCode: '54520',
98
+ city: 'LAXOU',
99
99
  country: 'FRANCE',
100
- montantCapital: '500 000',
101
- siret: '75256668700063',
100
+ montantCapital: '150 000',
101
+ siret: '89150118100020',
102
102
  ape: '6920Z',
103
- rcs: '752 566 687',
104
- phone: '03 83 93 14 14',
105
- vatIntracom: 'FR47752566687',
106
- email: 'facturation@clementine.fr',
103
+ rcs: '891 501 181',
104
+ phone: '01 86 90 82 15',
105
+ vatIntracom: 'FR58891501181',
106
+ email: 'facturation@pourcentage.fr',
107
107
  },
108
108
  webmail: {
109
109
  domains: ['@pourcentage.fr', '@rlexpertise.fr', '@cabinetamex.com'],
@@ -1,17 +1,16 @@
1
1
  export enum BrevoList {
2
- ALL_CUSTOMERS_COMPTALIB = 18,
3
- COMPTALIB_NEWSLETTER = 38,
4
- CLEMENTINE_PROSPECT = 44,
5
2
  ALL_CUSTOMERS = 211,
6
3
  TERMINATIONS = 213,
7
4
  JURIDICAL = 214,
8
5
  ACCOUNTING = 215,
9
6
  SOCIAL = 216,
10
7
  NEWSLETTER = 218,
11
- PROSPECT_CLEMENTINE = 237,
8
+ COMPTALIB_NEWSLETTER = 38,
9
+ ALL_CUSTOMERS_COMPTALIB = 18,
10
+ CLEMENTINE_PROSPECT = 44,
12
11
  QUOTE_RECEIVED = 300,
13
12
  INITIAL_EXCHANGE = 301,
14
13
  DOWNLOAD_WHITEPAPER = 302,
15
14
  CALENDLY_PROSPECT = 303,
16
- OB_VALIDATED = 390,
15
+ PROSPECT_CLEMENTINE = 237,
17
16
  }
@@ -34,16 +34,7 @@ export const IntermediateManagementRebateSegments: IMRSegment[] = [
34
34
  },
35
35
  {
36
36
  name: 'Achats consommés',
37
- accounts: ['601', '602', '604', '607'],
38
- isNegative: true,
39
- type: IntermediateManagementRebateType.BUY,
40
- },
41
- {
42
- name: 'Marge de production',
43
- },
44
- {
45
- name: 'Autres consomables',
46
- accounts: ['603', '605', '606', '608', '609'],
37
+ accounts: ['60'],
47
38
  isNegative: true,
48
39
  type: IntermediateManagementRebateType.BUY,
49
40
  },
package/ts/types/index.ts CHANGED
@@ -580,7 +580,6 @@ export * from './Enum/Revenue.js';
580
580
  export * from './Enum/EbookIntention.js';
581
581
 
582
582
  // Interfaces API
583
- export * from './Interface/api/acd/Create.js';
584
583
  export * from './Interface/api/authentification/AuthenticationResponse.js';
585
584
  export * from './Interface/api/exercice/ReadExercice.js';
586
585
  export * from './Interface/api/authentification/AuthenticationResponse.js';
@@ -15,10 +15,9 @@
15
15
  "declarationMap": true,
16
16
  "skipLibCheck": true,
17
17
  "moduleResolution": "NodeNext",
18
- "outDir": "dist",
19
- "rootDir": "ts"
18
+ "outDir": "dist"
20
19
  },
21
20
  "include": ["ts/**/*.ts"],
22
21
  "exclude": ["dist"],
23
- "compileOnSave": false,
22
+ "compileOnSave": false
24
23
  }
@@ -1,8 +0,0 @@
1
- import { CreateAcdAuthentication } from '../../index.js';
2
- import { Resource } from '../Resource.js';
3
- export declare class Acd extends Resource {
4
- authenticate(body: CreateAcdAuthentication): Promise<{
5
- token: string;
6
- }>;
7
- }
8
- //# sourceMappingURL=Acd.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Acd.d.ts","sourceRoot":"","sources":["../../../ts/api/resources/Acd.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,qBAAa,GAAI,SAAQ,QAAQ;IAC/B,YAAY,CAAC,IAAI,EAAE,uBAAuB,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAGxE"}
@@ -1,7 +0,0 @@
1
- import { Resource } from '../Resource.js';
2
- export class Acd extends Resource {
3
- authenticate(body) {
4
- return this.axios.$post('/connectors/acd/authenticate', body);
5
- }
6
- }
7
- //# sourceMappingURL=Acd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Acd.js","sourceRoot":"","sources":["../../../ts/api/resources/Acd.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,OAAO,GAAI,SAAQ,QAAQ;IAC/B,YAAY,CAAC,IAA6B;QACxC,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,8BAA8B,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;CACF","sourcesContent":["import { CreateAcdAuthentication } from '../../index.js';\nimport { Resource } from '../Resource.js';\n\nexport class Acd extends Resource {\n authenticate(body: CreateAcdAuthentication): Promise<{ token: string }> {\n return this.axios.$post('/connectors/acd/authenticate', body);\n }\n}\n"]}
@@ -1,6 +0,0 @@
1
- export declare class CreateAcdAuthentication {
2
- uuid: string;
3
- referer: string;
4
- cnx: string;
5
- }
6
- //# sourceMappingURL=Create.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/acd/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,uBAAuB;IAGlC,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,MAAM,CAAC;IAIhB,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -1,32 +0,0 @@
1
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
2
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
3
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
4
- 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;
5
- return c > 3 && r && Object.defineProperty(target, key, r), r;
6
- };
7
- var __metadata = (this && this.__metadata) || function (k, v) {
8
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
9
- };
10
- import { ApiProperty } from '@nestjs/swagger';
11
- import { IsString } from 'class-validator';
12
- export class CreateAcdAuthentication {
13
- uuid;
14
- referer;
15
- cnx;
16
- }
17
- __decorate([
18
- ApiProperty(),
19
- IsString(),
20
- __metadata("design:type", String)
21
- ], CreateAcdAuthentication.prototype, "uuid", void 0);
22
- __decorate([
23
- ApiProperty(),
24
- IsString(),
25
- __metadata("design:type", String)
26
- ], CreateAcdAuthentication.prototype, "referer", void 0);
27
- __decorate([
28
- ApiProperty(),
29
- IsString(),
30
- __metadata("design:type", String)
31
- ], CreateAcdAuthentication.prototype, "cnx", void 0);
32
- //# sourceMappingURL=Create.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/acd/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,OAAO,uBAAuB;IAGlC,IAAI,CAAS;IAIb,OAAO,CAAS;IAIhB,GAAG,CAAS;CACb;AATC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;qDACE;AAIb;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;wDACK;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACC","sourcesContent":["import { ApiProperty } from '@nestjs/swagger';\nimport { IsString } from 'class-validator';\n\nexport class CreateAcdAuthentication {\n @ApiProperty()\n @IsString()\n uuid: string;\n\n @ApiProperty()\n @IsString()\n referer: string;\n\n @ApiProperty()\n @IsString()\n cnx: string;\n}\n"]}
@@ -1,8 +0,0 @@
1
- import { CreateAcdAuthentication } from '../../index.js';
2
- import { Resource } from '../Resource.js';
3
-
4
- export class Acd extends Resource {
5
- authenticate(body: CreateAcdAuthentication): Promise<{ token: string }> {
6
- return this.axios.$post('/connectors/acd/authenticate', body);
7
- }
8
- }
@@ -1,16 +0,0 @@
1
- import { ApiProperty } from '@nestjs/swagger';
2
- import { IsString } from 'class-validator';
3
-
4
- export class CreateAcdAuthentication {
5
- @ApiProperty()
6
- @IsString()
7
- uuid: string;
8
-
9
- @ApiProperty()
10
- @IsString()
11
- referer: string;
12
-
13
- @ApiProperty()
14
- @IsString()
15
- cnx: string;
16
- }