@silexpert/core 1.0.88 → 1.0.89

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/es/api/resources/CustomerActivity.d.ts +3 -0
  2. package/es/api/resources/CustomerActivity.d.ts.map +1 -1
  3. package/es/api/resources/CustomerActivity.js +6 -0
  4. package/es/api/resources/CustomerActivity.js.map +1 -1
  5. package/es/api/resources/prestation.d.ts +5 -2
  6. package/es/api/resources/prestation.d.ts.map +1 -1
  7. package/es/api/resources/prestation.js +22 -0
  8. package/es/api/resources/prestation.js.map +1 -1
  9. package/es/types/Enum/FolderFile.d.ts +1 -0
  10. package/es/types/Enum/FolderFile.d.ts.map +1 -1
  11. package/es/types/Enum/FolderFile.js +1 -0
  12. package/es/types/Enum/FolderFile.js.map +1 -1
  13. package/es/types/Enum/LetterRecoveryState.d.ts +23 -0
  14. package/es/types/Enum/LetterRecoveryState.d.ts.map +1 -0
  15. package/es/types/Enum/LetterRecoveryState.js +23 -0
  16. package/es/types/Enum/LetterRecoveryState.js.map +1 -0
  17. package/es/types/Interface/api/customerActivity/Create.d.ts +4 -0
  18. package/es/types/Interface/api/customerActivity/Create.d.ts.map +1 -0
  19. package/es/types/Interface/api/customerActivity/Create.js +19 -0
  20. package/es/types/Interface/api/customerActivity/Create.js.map +1 -0
  21. package/es/types/Interface/api/customerActivity/Query.d.ts +4 -0
  22. package/es/types/Interface/api/customerActivity/Query.d.ts.map +1 -0
  23. package/es/types/Interface/api/customerActivity/Query.js +20 -0
  24. package/es/types/Interface/api/customerActivity/Query.js.map +1 -0
  25. package/es/types/Interface/api/gedFile/updateGedFile.d.ts +1 -0
  26. package/es/types/Interface/api/gedFile/updateGedFile.d.ts.map +1 -1
  27. package/es/types/Interface/api/gedFile/updateGedFile.js +4 -0
  28. package/es/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
  29. package/es/types/Interface/api/prestation/QueryPrestation.d.ts +4 -0
  30. package/es/types/Interface/api/prestation/QueryPrestation.d.ts.map +1 -0
  31. package/es/types/Interface/api/prestation/QueryPrestation.js +20 -0
  32. package/es/types/Interface/api/prestation/QueryPrestation.js.map +1 -0
  33. package/es/types/index.d.ts +4 -1
  34. package/es/types/index.d.ts.map +1 -1
  35. package/es/types/index.js +4 -1
  36. package/es/types/index.js.map +1 -1
  37. package/js/api/resources/CustomerActivity.js +10 -0
  38. package/js/api/resources/CustomerActivity.js.map +1 -1
  39. package/js/api/resources/prestation.js +20 -0
  40. package/js/api/resources/prestation.js.map +1 -1
  41. package/js/types/Enum/FolderFile.js +1 -0
  42. package/js/types/Enum/FolderFile.js.map +1 -1
  43. package/js/types/Enum/LetterRecoveryState.js +28 -0
  44. package/js/types/Enum/LetterRecoveryState.js.map +1 -0
  45. package/js/types/Interface/api/customerActivity/Create.js +29 -0
  46. package/js/types/Interface/api/customerActivity/Create.js.map +1 -0
  47. package/js/types/Interface/api/customerActivity/Query.js +29 -0
  48. package/js/types/Interface/api/customerActivity/Query.js.map +1 -0
  49. package/js/types/Interface/api/gedFile/updateGedFile.js +2 -0
  50. package/js/types/Interface/api/gedFile/updateGedFile.js.map +1 -1
  51. package/js/types/Interface/api/prestation/QueryPrestation.js +29 -0
  52. package/js/types/Interface/api/prestation/QueryPrestation.js.map +1 -0
  53. package/js/types/index.js +63 -27
  54. package/js/types/index.js.map +1 -1
  55. package/package.json +1 -1
  56. package/ts/api/resources/CustomerActivity.ts +9 -0
  57. package/ts/api/resources/prestation.ts +28 -2
  58. package/ts/types/Enum/FolderFile.ts +1 -0
  59. package/ts/types/Enum/LetterRecoveryState.ts +22 -0
  60. package/ts/types/Interface/api/customerActivity/Create.ts +8 -0
  61. package/ts/types/Interface/api/customerActivity/Query.ts +9 -0
  62. package/ts/types/Interface/api/gedFile/updateGedFile.ts +3 -0
  63. package/ts/types/Interface/api/prestation/QueryPrestation.ts +9 -0
  64. package/ts/types/index.ts +4 -1
  65. package/es/types/Interface/api/pdf/BillingDocumentData.d.ts +0 -46
  66. package/es/types/Interface/api/pdf/BillingDocumentData.d.ts.map +0 -1
  67. package/es/types/Interface/api/pdf/BillingDocumentData.js +0 -2
  68. package/es/types/Interface/api/pdf/BillingDocumentData.js.map +0 -1
  69. package/js/types/Interface/api/pdf/BillingDocumentData.js +0 -6
  70. package/js/types/Interface/api/pdf/BillingDocumentData.js.map +0 -1
  71. package/ts/types/Interface/api/pdf/BillingDocumentData.ts +0 -46
@@ -0,0 +1,22 @@
1
+ export const LetterRecoveryState = {
2
+ N_A: {
3
+ id: 0,
4
+ name: 'N/A',
5
+ },
6
+ MAIL_OK: {
7
+ id: 1,
8
+ name: 'Mail ok',
9
+ },
10
+ REFUS_M: {
11
+ id: 2,
12
+ name: 'Refus (m)',
13
+ },
14
+ LETTER_OK: {
15
+ id: 3,
16
+ name: 'Courrier ok',
17
+ },
18
+ REFUS_C: {
19
+ id: 4,
20
+ name: 'Refus (c)',
21
+ },
22
+ };
@@ -0,0 +1,8 @@
1
+ import { IsNumber } from 'class-validator';
2
+ import { ApiProperty } from '../../../../utils';
3
+
4
+ export class CreateContactRequest {
5
+ @ApiProperty()
6
+ @IsNumber()
7
+ idSource: number;
8
+ }
@@ -0,0 +1,9 @@
1
+ import { IsNumber, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class QueryContactRequest {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsNumber()
8
+ idSource?: number;
9
+ }
@@ -24,4 +24,7 @@ export class UpdateGedFile {
24
24
 
25
25
  @ApiPropertyOptional()
26
26
  idExercice: number;
27
+
28
+ @ApiPropertyOptional()
29
+ idMail: number;
27
30
  }
@@ -0,0 +1,9 @@
1
+ import { IsArray, IsOptional } from 'class-validator';
2
+ import { ApiPropertyOptional } from '../../../../utils';
3
+
4
+ export class QueryPrestation {
5
+ @ApiPropertyOptional()
6
+ @IsOptional()
7
+ @IsArray()
8
+ prestationListIds: Array<number>;
9
+ }
package/ts/types/index.ts CHANGED
@@ -375,6 +375,7 @@ export * from './Enum/Vehicle';
375
375
  export * from './Enum/VehicleType';
376
376
  export * from './Enum/BalanceSheet';
377
377
  export * from './Enum/LetterState';
378
+ export * from './Enum/LetterRecoveryState';
378
379
  export * from './Enum/SponsorshipState';
379
380
  export * from './Enum/Ged';
380
381
  export * from './Enum/SendInBlueList';
@@ -548,7 +549,6 @@ export * from './Interface/api/accountingFiles/OcrValue';
548
549
  export * from './Interface/api/stock/StockEntries';
549
550
  export * from './Interface/api/dashboard/QueryTurnoverProfitAndLoss';
550
551
  export * from './Interface/api/dashboard/ReadTurnOverProfitAndLossAndVats';
551
- export * from './Interface/api/pdf/BillingDocumentData';
552
552
  export * from './Interface/api/dashboard/QueryBalanceBankAccount';
553
553
  export * from './Interface/api/dashboard/QueryTopBuys';
554
554
  export * from './Interface/api/dashboard/QueryTopProviders';
@@ -812,6 +812,8 @@ export * from './Interface/api/3cx/Read3cxSearch';
812
812
  export * from './Interface/api/3cx/Create3cxLog';
813
813
  export * from './Interface/api/amount/FormattedAmount';
814
814
  export * from './Interface/api/customerActivity/CreateCustomerActivityReport';
815
+ export * from './Interface/api/customerActivity/Query';
816
+ export * from './Interface/api/customerActivity/Create';
815
817
  export * from './Interface/api/alert/CreateAlert';
816
818
  export * from './Interface/api/commercialManagement/Create';
817
819
  export * from './Interface/api/commercialManagement/Read';
@@ -834,6 +836,7 @@ export * from './Interface/api/file/Read';
834
836
  export * from './Interface/api/societyConfig/update';
835
837
  export * from './Interface/api/wallet/UpdateAttribution';
836
838
  export * from './Interface/api/prestation/CreatePrestation';
839
+ export * from './Interface/api/prestation/QueryPrestation';
837
840
  export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
838
841
  export * from './Interface/api/legalNotice/UpdateLegalNotice';
839
842
  export * from './Interface/api/wallet/QueryWallet';
@@ -1,46 +0,0 @@
1
- import { ISociety } from '../../models/ISociety';
2
- interface BillingDocumentItemVat {
3
- computeMethod: 'percentage';
4
- vatPercentageValue: number;
5
- }
6
- export interface BillingDocumentItem {
7
- name: string;
8
- comment: string;
9
- quantity: number;
10
- discount: number;
11
- code: string;
12
- price: number;
13
- unit: string;
14
- vat: BillingDocumentItemVat;
15
- }
16
- export interface BillingDocumentRecipient {
17
- id?: number;
18
- fullname: string | null;
19
- company: string;
20
- address?: string | null;
21
- zipCode?: string | null;
22
- city?: string | null;
23
- phone?: string | null;
24
- nTva?: string | null;
25
- thirdPartyCountry: {
26
- name: string;
27
- };
28
- }
29
- export interface BillingDocumentReferences {
30
- createdDate: Date | null;
31
- ref: string | null;
32
- paymentPlan: string | null;
33
- dueDate: Date | null;
34
- }
35
- export declare type BillingDocumentData = {
36
- society: Partial<ISociety>;
37
- deposit: number;
38
- template: number | null;
39
- generalComment: string | null;
40
- generalDiscount: number | null;
41
- recipient: BillingDocumentRecipient;
42
- references: BillingDocumentReferences;
43
- items: BillingDocumentItem[];
44
- };
45
- export {};
46
- //# sourceMappingURL=BillingDocumentData.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BillingDocumentData.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,UAAU,sBAAsB;IAC9B,aAAa,EAAE,YAAY,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AACD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,sBAAsB,CAAC;CAC7B;AACD,MAAM,WAAW,wBAAwB;IACvC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,iBAAiB,EAAE;QACjB,IAAI,EAAE,MAAM,CAAC;KACd,CAAA;CACF;AACD,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,IAAI,GAAG,IAAI,CAAC;IACzB,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,OAAO,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB;AAED,oBAAY,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,wBAAwB,CAAC;IACpC,UAAU,EAAE,yBAAyB,CAAC;IACtC,KAAK,EAAE,mBAAmB,EAAE,CAAA;CAC7B,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=BillingDocumentData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BillingDocumentData.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/pdf/BillingDocumentData.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from '../../models/ISociety';\n\ninterface BillingDocumentItemVat {\n computeMethod: 'percentage',\n vatPercentageValue: number,\n}\nexport interface BillingDocumentItem {\n name: string,\n comment: string,\n quantity: number,\n discount: number,\n code: string,\n price: number,\n unit: string,\n vat: BillingDocumentItemVat,\n}\nexport interface BillingDocumentRecipient {\n id?: number;\n fullname: string | null;\n company: string;\n address?: string | null;\n zipCode?: string | null;\n city?: string | null;\n phone?: string | null;\n nTva?: string | null;\n thirdPartyCountry: {\n name: string;\n }\n}\nexport interface BillingDocumentReferences {\n createdDate: Date | null;\n ref: string | null;\n paymentPlan: string | null;\n dueDate: Date | null;\n}\n\nexport type BillingDocumentData = {\n society: Partial<ISociety>,\n deposit: number;\n template: number | null;\n generalComment: string | null;\n generalDiscount: number | null;\n recipient: BillingDocumentRecipient;\n references: BillingDocumentReferences,\n items: BillingDocumentItem[]\n};"]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=BillingDocumentData.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"BillingDocumentData.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
@@ -1,46 +0,0 @@
1
- import { ISociety } from '../../models/ISociety';
2
-
3
- interface BillingDocumentItemVat {
4
- computeMethod: 'percentage',
5
- vatPercentageValue: number,
6
- }
7
- export interface BillingDocumentItem {
8
- name: string,
9
- comment: string,
10
- quantity: number,
11
- discount: number,
12
- code: string,
13
- price: number,
14
- unit: string,
15
- vat: BillingDocumentItemVat,
16
- }
17
- export interface BillingDocumentRecipient {
18
- id?: number;
19
- fullname: string | null;
20
- company: string;
21
- address?: string | null;
22
- zipCode?: string | null;
23
- city?: string | null;
24
- phone?: string | null;
25
- nTva?: string | null;
26
- thirdPartyCountry: {
27
- name: string;
28
- }
29
- }
30
- export interface BillingDocumentReferences {
31
- createdDate: Date | null;
32
- ref: string | null;
33
- paymentPlan: string | null;
34
- dueDate: Date | null;
35
- }
36
-
37
- export type BillingDocumentData = {
38
- society: Partial<ISociety>,
39
- deposit: number;
40
- template: number | null;
41
- generalComment: string | null;
42
- generalDiscount: number | null;
43
- recipient: BillingDocumentRecipient;
44
- references: BillingDocumentReferences,
45
- items: BillingDocumentItem[]
46
- };