@silexpert/core 1.0.152 → 1.0.154

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 (57) hide show
  1. package/es/api/resources/Rule.d.ts +4 -2
  2. package/es/api/resources/Rule.d.ts.map +1 -1
  3. package/es/api/resources/Rule.js +6 -0
  4. package/es/api/resources/Rule.js.map +1 -1
  5. package/es/api/resources/Shine.js +4 -4
  6. package/es/api/resources/Shine.js.map +1 -1
  7. package/es/types/Enum/PrestationType.d.ts +1 -1
  8. package/es/types/Enum/PrestationType.js +1 -1
  9. package/es/types/Enum/PrestationType.js.map +1 -1
  10. package/es/types/Interface/api/partner/Query.d.ts +3 -3
  11. package/es/types/Interface/api/partner/Query.d.ts.map +1 -1
  12. package/es/types/Interface/api/partner/Query.js +3 -3
  13. package/es/types/Interface/api/partner/Query.js.map +1 -1
  14. package/es/types/Interface/api/rule/Create.d.ts +10 -0
  15. package/es/types/Interface/api/rule/Create.d.ts.map +1 -0
  16. package/es/types/Interface/api/rule/Create.js +46 -0
  17. package/es/types/Interface/api/rule/Create.js.map +1 -0
  18. package/es/types/Interface/api/rule/Update.d.ts +4 -0
  19. package/es/types/Interface/api/rule/Update.d.ts.map +1 -0
  20. package/es/types/Interface/api/rule/Update.js +21 -0
  21. package/es/types/Interface/api/rule/Update.js.map +1 -0
  22. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
  23. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  24. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  25. package/es/types/Interface/models/IRule.d.ts +2 -0
  26. package/es/types/Interface/models/IRule.d.ts.map +1 -1
  27. package/es/types/Interface/models/IRule.js.map +1 -1
  28. package/es/types/index.d.ts +3 -0
  29. package/es/types/index.d.ts.map +1 -1
  30. package/es/types/index.js +3 -0
  31. package/es/types/index.js.map +1 -1
  32. package/js/api/resources/Rule.js +6 -0
  33. package/js/api/resources/Rule.js.map +1 -1
  34. package/js/api/resources/Shine.js +4 -4
  35. package/js/api/resources/Shine.js.map +1 -1
  36. package/js/types/Enum/PrestationType.js +1 -1
  37. package/js/types/Enum/PrestationType.js.map +1 -1
  38. package/js/types/Interface/api/partner/Query.js +3 -3
  39. package/js/types/Interface/api/partner/Query.js.map +1 -1
  40. package/js/types/Interface/api/rule/Create.js +29 -0
  41. package/js/types/Interface/api/rule/Create.js.map +1 -0
  42. package/js/types/Interface/api/rule/Update.js +23 -0
  43. package/js/types/Interface/api/rule/Update.js.map +1 -0
  44. package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
  45. package/js/types/Interface/models/IRule.js.map +1 -1
  46. package/js/types/index.js +30 -0
  47. package/js/types/index.js.map +1 -1
  48. package/package.json +1 -1
  49. package/ts/api/resources/Rule.ts +12 -2
  50. package/ts/api/resources/Shine.ts +4 -4
  51. package/ts/types/Enum/PrestationType.ts +1 -1
  52. package/ts/types/Interface/api/partner/Query.ts +3 -3
  53. package/ts/types/Interface/api/rule/Create.ts +29 -0
  54. package/ts/types/Interface/api/rule/Update.ts +10 -0
  55. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
  56. package/ts/types/Interface/models/IRule.ts +2 -0
  57. package/ts/types/index.ts +3 -0
@@ -22,13 +22,13 @@ exports.GetPartners = GetPartners;
22
22
  __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Boolean)], GetPartners.prototype, "includeDeletedPartner", void 0);
23
23
  class GetPartnersCurrentAccounts {}
24
24
  exports.GetPartnersCurrentAccounts = GetPartnersCurrentAccounts;
25
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], GetPartnersCurrentAccounts.prototype, "startDate", void 0);
26
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], GetPartnersCurrentAccounts.prototype, "endDate", void 0);
25
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], GetPartnersCurrentAccounts.prototype, "startDate", void 0);
26
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], GetPartnersCurrentAccounts.prototype, "endDate", void 0);
27
27
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Boolean)], GetPartnersCurrentAccounts.prototype, "descending", void 0);
28
28
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], GetPartnersCurrentAccounts.prototype, "orderBy", void 0);
29
29
  class GetPartnerSolde {}
30
30
  exports.GetPartnerSolde = GetPartnerSolde;
31
- __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Date)], GetPartnerSolde.prototype, "endDate", void 0);
31
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], GetPartnerSolde.prototype, "endDate", void 0);
32
32
  __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], GetPartnerSolde.prototype, "page", void 0);
33
33
  __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", Number)], GetPartnerSolde.prototype, "limit", void 0);
34
34
  __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", String)], GetPartnerSolde.prototype, "search", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","names":["_classValidator","require","_utils","_boolean","GetPartners","exports","__decorate","ApiPropertyOptional","IsBoolean","ToBoolean","IsOptional","GetPartnersCurrentAccounts","ApiProperty","Date","GetPartnerSolde"],"sources":["../../../../../ts/types/Interface/api/partner/Query.ts"],"sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class GetPartners {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n includeDeletedPartner?: boolean;\n}\n\nexport class GetPartnersCurrentAccounts {\n @ApiProperty()\n startDate!: Date;\n\n @ApiProperty()\n endDate!: Date;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n orderBy?: string;\n}\n\nexport class GetPartnerSolde {\n @ApiProperty()\n endDate!: Date;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiPropertyOptional()\n search?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,WAAW;AAMvBC,OAAA,CANYD,WAAW,GAAXA,WAAW;AACtBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAC,0BAAU,GAAE,E,4FACmB;AAG5B,MAAOC,0BAA0B;AAYtCN,OAAA,CAZYM,0BAA0B,GAA1BA,0BAA0B;AACrCL,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,0BACFC,IAAI,E,4DAAC;AAEjBP,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,0BACJC,IAAI,E,0DAAC;AAEfP,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gGACD;AAErBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,4FACL;AAGb,MAAOO,eAAe;AAY3BT,OAAA,CAZYS,eAAe,GAAfA,eAAe;AAC1BR,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,0BACJC,IAAI,E,+CAAC;AAEfP,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,8EACD;AAEbN,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,+EACA;AAEdN,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gFACN"}
1
+ {"version":3,"file":"Query.js","names":["_classValidator","require","_utils","_boolean","GetPartners","exports","__decorate","ApiPropertyOptional","IsBoolean","ToBoolean","IsOptional","GetPartnersCurrentAccounts","ApiProperty","GetPartnerSolde"],"sources":["../../../../../ts/types/Interface/api/partner/Query.ts"],"sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class GetPartners {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n includeDeletedPartner?: boolean;\n}\n\nexport class GetPartnersCurrentAccounts {\n @ApiProperty()\n startDate!: string;\n\n @ApiProperty()\n endDate!: string;\n\n @ApiPropertyOptional()\n descending?: boolean;\n\n @ApiPropertyOptional()\n orderBy?: string;\n}\n\nexport class GetPartnerSolde {\n @ApiProperty()\n endDate!: string;\n\n @ApiProperty()\n page: number;\n\n @ApiProperty()\n limit: number;\n\n @ApiPropertyOptional()\n search?: string;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,WAAW;AAMvBC,OAAA,CANYD,WAAW,GAAXA,WAAW;AACtBE,UAAA,EAAC,IAAAC,0BAAmB,GAAE,EACrB,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,EACX,IAAAC,0BAAU,GAAE,E,4FACmB;AAG5B,MAAOC,0BAA0B;AAYtCN,OAAA,CAZYM,0BAA0B,GAA1BA,0BAA0B;AACrCL,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,8FACK;AAEnBN,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,4FACG;AAEjBN,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gGACD;AAErBD,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,4FACL;AAGb,MAAOM,eAAe;AAY3BR,OAAA,CAZYQ,eAAe,GAAfA,eAAe;AAC1BP,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,iFACG;AAEjBN,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,8EACD;AAEbN,UAAA,EAAC,IAAAM,kBAAW,GAAE,E,+EACA;AAEdN,UAAA,EAAC,IAAAC,0BAAmB,GAAE,E,gFACN"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.CreateRule = undefined;
7
+ var _classValidator = require("class-validator");
8
+ var _utils = require("../../../../utils");
9
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
10
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
+ var c = arguments.length,
12
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
+ d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+ };
17
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
18
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
19
+ };
20
+ class CreateRule {}
21
+ exports.CreateRule = CreateRule;
22
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateRule.prototype, "designation", void 0);
23
+ __decorate([(0, _utils.ApiProperty)(), __metadata("design:type", String)], CreateRule.prototype, "basicDesignation", void 0);
24
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateRule.prototype, "idTva", void 0);
25
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateRule.prototype, "idAccount", void 0);
26
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateRule.prototype, "idNature", void 0);
27
+ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Number)], CreateRule.prototype, "idThirdParty", void 0);
28
+ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], CreateRule.prototype, "autolock", void 0);
29
+ //# sourceMappingURL=Create.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Create.js","names":["_classValidator","require","_utils","_boolean","CreateRule","exports","__decorate","ApiProperty","ApiPropertyOptional","IsOptional","IsBoolean","ToBoolean"],"sources":["../../../../../ts/types/Interface/api/rule/Create.ts"],"sourcesContent":["import { IsBoolean, IsOptional } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class CreateRule {\n @ApiProperty()\n designation: string;\n\n @ApiProperty()\n basicDesignation: string;\n\n @ApiPropertyOptional()\n idTva?: number;\n\n @ApiPropertyOptional()\n idAccount?: number;\n\n @ApiPropertyOptional()\n idNature?: number;\n\n @ApiPropertyOptional()\n idThirdParty?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n autolock?: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,UAAU;AAwBtBC,OAAA,CAxBYD,UAAU,GAAVA,UAAU;AACrBE,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,gFACM;AAEpBD,UAAA,EAAC,IAAAC,kBAAW,GAAE,E,qFACW;AAEzBD,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,0EACP;AAEfF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,8EACH;AAEnBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,6EACJ;AAElBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,E,iFACA;AAEtBF,UAAA,EAAC,IAAAE,0BAAmB,GAAE,EACrB,IAAAC,0BAAU,GAAE,EACZ,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,8EACO"}
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.UpdateRule = undefined;
7
+ var _classValidator = require("class-validator");
8
+ var _utils = require("../../../../utils");
9
+ var _boolean = require("../../../../utils/transforms/boolean.transform");
10
+ var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
11
+ var c = arguments.length,
12
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
13
+ d;
14
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);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;
15
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
16
+ };
17
+ var __metadata = undefined && undefined.__metadata || function (k, v) {
18
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
19
+ };
20
+ class UpdateRule {}
21
+ exports.UpdateRule = UpdateRule;
22
+ __decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], UpdateRule.prototype, "autolock", void 0);
23
+ //# sourceMappingURL=Update.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Update.js","names":["_classValidator","require","_utils","_boolean","UpdateRule","exports","__decorate","ApiProperty","IsBoolean","ToBoolean"],"sources":["../../../../../ts/types/Interface/api/rule/Update.ts"],"sourcesContent":["import { IsBoolean } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class UpdateRule {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n autolock: boolean;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;;;;;;;;;;;AAEM,MAAOG,UAAU;AAKtBC,OAAA,CALYD,UAAU,GAAVA,UAAU;AACrBE,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAC,yBAAS,GAAE,EACX,IAAAC,kBAAS,GAAE,E,8EACM"}
@@ -1 +1 @@
1
- {"version":3,"file":"IAccountingTransaction.js","names":[],"sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IAccountingEntry } from './IAccountingEntry';\nimport { IAccountingFile } from './IAccountingFile';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IRule } from './IRule';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFile } from './IFile';\nimport { IComptaType } from './IComptaType';\nimport { IPartnerTransaction } from './IPartnerTransaction';\nimport { ICurrency } from './ICurrency';\nimport { IMachineLearningResult } from './IMachineLearningResult';\n\n// accountingTransactions\nexport interface IAccountingTransaction {\n id?: number;\n label: string | null;\n originalLabel?: string | null;\n invoiceNumber: string | null;\n reference: string | null;\n dateValue: Date;\n dateLocked?: Date | null;\n closingDate?: Date | null;\n dateVerified?: Date | null;\n originalValue?: number | null;\n idUser?: number | null;\n isBlocked?: boolean;\n isMerged?: boolean;\n isAsset?: boolean;\n isPayPerso?: boolean;\n isFecImport?: boolean;\n isManual?: boolean;\n exported: Date | null;\n kilometers?: number | null;\n purchaseTtc?: number | null;\n internComment?: string | null;\n isReadMobile?: boolean;\n invoiceRequested?: boolean;\n isLockedMobile?: boolean;\n isAlreadyProcessByOcr?: boolean | null;\n processingState?: number;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idPaymentMethod?: number | null;\n idSocietyVehicle?: number | null;\n idSocietyPartner?: number | null;\n idRule?: number | null;\n idAccountingJournal: number;\n idTypeCompta?: number | null;\n idEstimateInvoice?: number | null;\n idFile?: number | null;\n idEBT?: number | null;\n idEAF?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n bankAccount?: IBankAccount;\n accountingEntries?: IAccountingEntry[];\n accountingFiles?: IAccountingFile[];\n accountingJournal?: IAccountingJournal;\n currency?: ICurrency;\n society?: ISociety;\n user?: IUser;\n rule?: IRule;\n estimatesInvoice?: IEstimateInvoice;\n file?: IFile;\n typeComptum?: IComptaType;\n partnersTransaction?: IPartnerTransaction | null;\n parents?: IAccountingTransaction[];\n childs?: IAccountingTransaction[];\n machineLearningResults?: IMachineLearningResult[];\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IAccountingTransaction.js","names":[],"sources":["../../../../ts/types/Interface/models/IAccountingTransaction.ts"],"sourcesContent":["import { IBankAccount } from './IBankAccount';\nimport { IAccountingEntry } from './IAccountingEntry';\nimport { IAccountingFile } from './IAccountingFile';\nimport { IAccountingJournal } from './IAccountingJournal';\nimport { ISociety } from './ISociety';\nimport { IUser } from './IUser';\nimport { IRule } from './IRule';\nimport { IEstimateInvoice } from './IEstimateInvoice';\nimport { IFile } from './IFile';\nimport { IComptaType } from './IComptaType';\nimport { IPartnerTransaction } from './IPartnerTransaction';\nimport { ICurrency } from './ICurrency';\nimport { IMachineLearningResult } from './IMachineLearningResult';\n\n// accountingTransactions\nexport interface IAccountingTransaction {\n id?: number;\n label: string | null;\n budgeaTransactionId?: string | null;\n originalLabel?: string | null;\n invoiceNumber: string | null;\n reference: string | null;\n dateValue: Date;\n dateLocked?: Date | null;\n closingDate?: Date | null;\n dateVerified?: Date | null;\n originalValue?: number | null;\n idUser?: number | null;\n isBlocked?: boolean;\n isMerged?: boolean;\n isAsset?: boolean;\n isPayPerso?: boolean;\n isFecImport?: boolean;\n isManual?: boolean;\n exported: Date | null;\n kilometers?: number | null;\n purchaseTtc?: number | null;\n internComment?: string | null;\n isReadMobile?: boolean;\n invoiceRequested?: boolean;\n isLockedMobile?: boolean;\n isAlreadyProcessByOcr?: boolean | null;\n processingState?: number;\n idBankAccount: number | null;\n idSociety: number;\n idCurrency?: number | null;\n idPaymentMethod?: number | null;\n idSocietyVehicle?: number | null;\n idSocietyPartner?: number | null;\n idRule?: number | null;\n idAccountingJournal: number;\n idTypeCompta?: number | null;\n idEstimateInvoice?: number | null;\n idFile?: number | null;\n idEBT?: number | null;\n idEAF?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n bankAccount?: IBankAccount;\n accountingEntries?: IAccountingEntry[];\n accountingFiles?: IAccountingFile[];\n accountingJournal?: IAccountingJournal;\n currency?: ICurrency;\n society?: ISociety;\n user?: IUser;\n rule?: IRule;\n estimatesInvoice?: IEstimateInvoice;\n file?: IFile;\n typeComptum?: IComptaType;\n partnersTransaction?: IPartnerTransaction | null;\n parents?: IAccountingTransaction[];\n childs?: IAccountingTransaction[];\n machineLearningResults?: IMachineLearningResult[];\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"IRule.js","names":[],"sources":["../../../../ts/types/Interface/models/IRule.ts"],"sourcesContent":["import { IVat } from './IVat';\nimport { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\n\n// rules\nexport interface IRule {\n id?: number;\n keywords: string | null;\n aliasKeywords: string | null;\n search: string;\n autolock: boolean;\n isGeneric: boolean;\n idSociety: number | null;\n idAccount: number | null;\n idTva: number | null;\n idThirdParty: number | null;\n idNature: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n tva: IVat;\n account: IAccount;\n thirdParty: IThirdParty;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IRule.js","names":[],"sources":["../../../../ts/types/Interface/models/IRule.ts"],"sourcesContent":["import { IVat } from './IVat';\nimport { IAccount } from './IAccount';\nimport { IThirdParty } from './IThirdParty';\nimport { INature } from './INature';\n\n// rules\nexport interface IRule {\n id?: number;\n keywords: string | null;\n aliasKeywords: string | null;\n search: string;\n autolock: boolean;\n isGeneric: boolean;\n idSociety: number | null;\n idAccount: number | null;\n idTva: number | null;\n idThirdParty: number | null;\n idNature: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n tva: IVat;\n account: IAccount;\n thirdParty: IThirdParty;\n nature: INature;\n}\n"],"mappings":""}
package/js/types/index.js CHANGED
@@ -8673,6 +8673,36 @@ Object.keys(_Query8).forEach(function (key) {
8673
8673
  }
8674
8674
  });
8675
8675
  });
8676
+ var _Create7 = require("./Interface/api/rule/Create");
8677
+ Object.keys(_Create7).forEach(function (key) {
8678
+ if (key === "default" || key === "__esModule") return;
8679
+ Object.defineProperty(exports, key, {
8680
+ enumerable: true,
8681
+ get: function () {
8682
+ return _Create7[key];
8683
+ }
8684
+ });
8685
+ });
8686
+ var _Update4 = require("./Interface/api/rule/Update");
8687
+ Object.keys(_Update4).forEach(function (key) {
8688
+ if (key === "default" || key === "__esModule") return;
8689
+ Object.defineProperty(exports, key, {
8690
+ enumerable: true,
8691
+ get: function () {
8692
+ return _Update4[key];
8693
+ }
8694
+ });
8695
+ });
8696
+ var _Read6 = require("./Interface/api/rule/Read");
8697
+ Object.keys(_Read6).forEach(function (key) {
8698
+ if (key === "default" || key === "__esModule") return;
8699
+ Object.defineProperty(exports, key, {
8700
+ enumerable: true,
8701
+ get: function () {
8702
+ return _Read6[key];
8703
+ }
8704
+ });
8705
+ });
8676
8706
  var _PostRevive = require("./Interface/api/revive/PostRevive");
8677
8707
  Object.keys(_PostRevive).forEach(function (key) {
8678
8708
  if (key === "default" || key === "__esModule") return;