@silexpert/core 1.0.153 → 1.0.155

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 (78) 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 +5 -2626
  8. package/es/types/Enum/PrestationType.d.ts.map +1 -1
  9. package/es/types/Enum/PrestationType.js +1674 -1511
  10. package/es/types/Enum/PrestationType.js.map +1 -1
  11. package/es/types/Interface/api/rule/Create.d.ts +10 -0
  12. package/es/types/Interface/api/rule/Create.d.ts.map +1 -0
  13. package/es/types/Interface/api/rule/Create.js +46 -0
  14. package/es/types/Interface/api/rule/Create.js.map +1 -0
  15. package/es/types/Interface/api/rule/Update.d.ts +4 -0
  16. package/es/types/Interface/api/rule/Update.d.ts.map +1 -0
  17. package/es/types/Interface/api/rule/Update.js +21 -0
  18. package/es/types/Interface/api/rule/Update.js.map +1 -0
  19. package/es/types/Interface/models/IAccountingTransaction.d.ts +1 -0
  20. package/es/types/Interface/models/IAccountingTransaction.d.ts.map +1 -1
  21. package/es/types/Interface/models/IAccountingTransaction.js.map +1 -1
  22. package/es/types/Interface/models/IExercicePrestation.d.ts +2 -1
  23. package/es/types/Interface/models/IExercicePrestation.d.ts.map +1 -1
  24. package/es/types/Interface/models/IExercicePrestation.js.map +1 -1
  25. package/es/types/Interface/models/IPrestation.d.ts +13 -10
  26. package/es/types/Interface/models/IPrestation.d.ts.map +1 -1
  27. package/es/types/Interface/models/IPrestation.js.map +1 -1
  28. package/es/types/Interface/models/IPrestationList.d.ts +3 -2
  29. package/es/types/Interface/models/IPrestationList.d.ts.map +1 -1
  30. package/es/types/Interface/models/IPrestationList.js.map +1 -1
  31. package/es/types/Interface/models/IRule.d.ts +2 -0
  32. package/es/types/Interface/models/IRule.d.ts.map +1 -1
  33. package/es/types/Interface/models/IRule.js.map +1 -1
  34. package/es/types/Interface/models/ITerminationList.d.ts +7 -4
  35. package/es/types/Interface/models/ITerminationList.d.ts.map +1 -1
  36. package/es/types/Interface/models/ITerminationList.js.map +1 -1
  37. package/es/types/index.d.ts +3 -0
  38. package/es/types/index.d.ts.map +1 -1
  39. package/es/types/index.js +3 -0
  40. package/es/types/index.js.map +1 -1
  41. package/es/utils/prestation.d.ts +4 -1
  42. package/es/utils/prestation.d.ts.map +1 -1
  43. package/es/utils/prestation.js +18 -1
  44. package/es/utils/prestation.js.map +1 -1
  45. package/js/api/resources/Rule.js +6 -0
  46. package/js/api/resources/Rule.js.map +1 -1
  47. package/js/api/resources/Shine.js +4 -4
  48. package/js/api/resources/Shine.js.map +1 -1
  49. package/js/types/Enum/PrestationType.js +1837 -1674
  50. package/js/types/Enum/PrestationType.js.map +1 -1
  51. package/js/types/Interface/api/rule/Create.js +29 -0
  52. package/js/types/Interface/api/rule/Create.js.map +1 -0
  53. package/js/types/Interface/api/rule/Update.js +23 -0
  54. package/js/types/Interface/api/rule/Update.js.map +1 -0
  55. package/js/types/Interface/models/IAccountingTransaction.js.map +1 -1
  56. package/js/types/Interface/models/IExercicePrestation.js.map +1 -1
  57. package/js/types/Interface/models/IPrestation.js.map +1 -1
  58. package/js/types/Interface/models/IPrestationList.js.map +1 -1
  59. package/js/types/Interface/models/IRule.js.map +1 -1
  60. package/js/types/Interface/models/ITerminationList.js.map +1 -1
  61. package/js/types/index.js +30 -0
  62. package/js/types/index.js.map +1 -1
  63. package/js/utils/prestation.js +17 -1
  64. package/js/utils/prestation.js.map +1 -1
  65. package/package.json +1 -1
  66. package/ts/api/resources/Rule.ts +12 -2
  67. package/ts/api/resources/Shine.ts +4 -4
  68. package/ts/types/Enum/PrestationType.ts +1681 -1512
  69. package/ts/types/Interface/api/rule/Create.ts +29 -0
  70. package/ts/types/Interface/api/rule/Update.ts +10 -0
  71. package/ts/types/Interface/models/IAccountingTransaction.ts +1 -0
  72. package/ts/types/Interface/models/IExercicePrestation.ts +2 -1
  73. package/ts/types/Interface/models/IPrestation.ts +13 -10
  74. package/ts/types/Interface/models/IPrestationList.ts +3 -2
  75. package/ts/types/Interface/models/IRule.ts +2 -0
  76. package/ts/types/Interface/models/ITerminationList.ts +7 -4
  77. package/ts/types/index.ts +3 -0
  78. package/ts/utils/prestation.ts +23 -1
@@ -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":"IExercicePrestation.js","names":[],"sources":["../../../../ts/types/Interface/models/IExercicePrestation.ts"],"sourcesContent":["import { IPrestation } from './IPrestation';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { IExercice } from '../..';\n\n// exercicesPrestations\nexport interface IExercicePrestation {\n id?: number;\n priceHt: number | null;\n totalPrestation: number | null;\n monthNumber: number | null;\n amountSocial: number | null;\n monthOffers: number | null;\n isInCA: boolean;\n idBalanceSheet: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n idExercice: number | null;\n idPrestation: number | null;\n\n // Associations\n prestation: IPrestation;\n balanceSheet?: IBalanceSheet;\n exercice?: IExercice;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IExercicePrestation.js","names":[],"sources":["../../../../ts/types/Interface/models/IExercicePrestation.ts"],"sourcesContent":["import { IPrestation } from './IPrestation';\nimport { IBalanceSheet } from './IBalanceSheet';\nimport { IExercice } from '../..';\n\n// exercicesPrestations\nexport interface IExercicePrestation {\n id?: number;\n priceHt: number | null;\n customerPriceHt: number | null;\n totalPrestation: number | null;\n monthNumber: number | null;\n amountSocial: number | null;\n monthOffers: number | null;\n isInCA: boolean;\n idBalanceSheet: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n idExercice: number | null;\n idPrestation: number | null;\n\n // Associations\n prestation?: IPrestation;\n balanceSheet?: IBalanceSheet;\n exercice?: IExercice;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"IPrestation.js","names":[],"sources":["../../../../ts/types/Interface/models/IPrestation.ts"],"sourcesContent":["import { IExercice } from './IExercice';\nimport { IPayment } from './IPayment';\nimport { IPrestationList } from './IPrestationList';\nimport { IPrestationComplementary } from './IPrestationComplementary';\nimport { ISociety } from './ISociety';\nimport { IExercicePrestation } from './IExercicePrestation';\nimport { ICustomerSignature } from './ICustomerSignature';\n\n// prestations\nexport interface IPrestation {\n id?: number;\n numPrestation: string | null;\n statePrevi: number | null;\n archive: boolean;\n withStatuteDrafted: boolean | null;\n withCaptainContrat: boolean | null;\n withStatutesApportNature: boolean | null;\n withStatutesAutorisationTutelle: boolean | null;\n withStatutesFileAccre: boolean | null;\n paid: boolean | null;\n signed: boolean | null;\n toAdministratif: number | null;\n goToAdministratif: Date | null;\n administratifStatus: number;\n toConstitution: number;\n dateValidPrestation: Date | null;\n goToOnboarding: Date | null;\n goToClient: Date | null;\n state: boolean;\n commentPdf: string | null;\n token: string | null;\n size: number | null;\n inProgress: number | null;\n idSociety: number;\n idPrestationList: number;\n idPrestationComplementary: number | null;\n gestionJuridique: boolean;\n idPrestationSocial: number | null;\n idPrestationJuridique: number | null;\n idPrestationCreation: number | null;\n totalAmount?: number;\n discountAmount?: number;\n debitType?: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n exercices: IExercice[];\n prestationsPayments: IPayment[];\n prestationsList: IPrestationList;\n prestationsComplementary: IPrestationComplementary;\n prestationJuridique: IPrestation;\n prestationSocial: IPrestation;\n prestationCreation: IPrestation;\n societiesPrestations: ISociety;\n prestationsDetailsBeforeExercice: IExercicePrestation[];\n customersSignatures: ICustomerSignature[];\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IPrestation.js","names":[],"sources":["../../../../ts/types/Interface/models/IPrestation.ts"],"sourcesContent":["import { IExercice } from './IExercice';\nimport { IPayment } from './IPayment';\nimport { IPrestationList } from './IPrestationList';\nimport { IPrestationComplementary } from './IPrestationComplementary';\nimport { ISociety } from './ISociety';\nimport { IExercicePrestation } from './IExercicePrestation';\nimport { ICustomerSignature } from './ICustomerSignature';\nimport { ITerminationList } from './ITerminationList';\n\n// prestations\nexport interface IPrestation {\n id?: number;\n numPrestation: string | null;\n statePrevi: number | null;\n archive: boolean;\n withStatuteDrafted: boolean | null;\n withCaptainContrat: boolean | null;\n withStatutesApportNature: boolean | null;\n withStatutesAutorisationTutelle: boolean | null;\n withStatutesFileAccre: boolean | null;\n paid: boolean | null;\n signed: boolean | null;\n toAdministratif: number | null;\n goToAdministratif: Date | null;\n administratifStatus: number;\n toConstitution: number;\n dateValidPrestation: Date | null;\n goToOnboarding: Date | null;\n goToClient: Date | null;\n scoring: number | null;\n state: boolean;\n commentPdf: string | null;\n token: string | null;\n size: number | null;\n inProgress: number | null;\n idSociety: number;\n idPrestationList: number;\n idPrestationComplementary: number | null;\n gestionJuridique: boolean;\n idPrestationSocial: number | null;\n idPrestationJuridique: number | null;\n idPrestationCreation: number | null;\n totalAmount?: number;\n discountAmount?: number;\n debitType?: string;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n exercices?: IExercice[];\n prestationsPayments?: IPayment[];\n prestationsList?: IPrestationList;\n prestationsComplementary?: IPrestationComplementary;\n prestationJuridique?: IPrestation;\n prestationSocial?: IPrestation;\n prestationCreation?: IPrestation;\n societiesPrestations?: ISociety;\n prestationsDetailsBeforeExercice?: IExercicePrestation[];\n customersSignatures?: ICustomerSignature[];\n terminationsList?: ITerminationList;\n}\n"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"IPrestationList.js","names":[],"sources":["../../../../ts/types/Interface/models/IPrestationList.ts"],"sourcesContent":["// prestationsList\nexport interface IPrestationList {\n id?: number;\n name: string;\n isComptable: boolean;\n isJuridique: boolean;\n isSocial: boolean;\n isAttestation: boolean;\n inAverageCart: boolean;\n isBack: boolean;\n price: number | null;\n isCatalog: boolean;\n hidden: boolean;\n isComplementary: boolean;\n signaturePosition: string | null;\n signaturePage: number | null;\n textDefault: string | null;\n color: string | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"IPrestationList.js","names":[],"sources":["../../../../ts/types/Interface/models/IPrestationList.ts"],"sourcesContent":["// prestationsList\nexport interface IPrestationList {\n id?: number;\n name: string;\n isComptable: boolean;\n isJuridique: boolean;\n isSocial: boolean;\n isAttestation: boolean;\n inAverageCart: boolean;\n isBack: boolean;\n price: number | null;\n isCatalog: boolean;\n hidden: boolean;\n isComplementary: boolean;\n signaturePosition: string | null;\n signaturePage: number | null;\n textDefault?: string;\n color?: string;\n point?: number;\n createdAt?: Date | null;\n updatedAt?: Date | null;\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":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ITerminationList.js","names":[],"sources":["../../../../ts/types/Interface/models/ITerminationList.ts"],"sourcesContent":["import { IReasonTermination } from './IReasonTermination';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n comment: string | null;\n recalledCustomer: Date | null;\n recalledCustomerBySupervisor: Date | null;\n effectiveDate: Date | null;\n idExercice: number | null;\n endContractDate: Date | null;\n refund: boolean;\n idReasonTermination: number | null;\n idSociety: number | null;\n idCollaborateur: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n reasonTermination: IReasonTermination;\n societiesTerminations: ISociety;\n exercice: IExercice;\n user: IUser;\n}\n"],"mappings":""}
1
+ {"version":3,"file":"ITerminationList.js","names":[],"sources":["../../../../ts/types/Interface/models/ITerminationList.ts"],"sourcesContent":["import { IReasonTermination } from './IReasonTermination';\nimport { ISociety } from './ISociety';\nimport { IExercice } from './IExercice';\nimport { IUser } from './IUser';\nimport { IPrestation } from './IPrestation';\n\n// terminitionsList\nexport interface ITerminationList {\n id?: number;\n comment: string | null;\n recalledCustomer: Date | null;\n recalledCustomerBySupervisor: Date | null;\n effectiveDate: Date | null;\n idExercice: number | null;\n endContractDate: Date | null;\n refund: boolean;\n idReasonTermination: number | null;\n idSociety: number | null;\n idPrestation: number | null;\n idCollaborateur: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n reasonTermination?: IReasonTermination;\n societiesTerminations?: ISociety;\n exercice?: IExercice;\n user?: IUser;\n prestation?: IPrestation;\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;