@silexpert/core 1.1.113 → 1.1.115
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.
- package/es/api/resources/Authenticate.d.ts +1 -1
- package/es/api/resources/Checklist.d.ts +3 -3
- package/es/api/resources/Checklist.d.ts.map +1 -1
- package/es/api/resources/Checklist.js +4 -4
- package/es/api/resources/Checklist.js.map +1 -1
- package/es/api/resources/Commercial.d.ts +4 -4
- package/es/api/resources/Commercial.d.ts.map +1 -1
- package/es/api/resources/Commercial.js +8 -8
- package/es/api/resources/Commercial.js.map +1 -1
- package/es/api/resources/CommercialDocument.d.ts +1 -1
- package/es/api/resources/CommercialDocument.d.ts.map +1 -1
- package/es/api/resources/CommercialDocument.js +2 -2
- package/es/api/resources/CommercialDocument.js.map +1 -1
- package/es/api/resources/Employee.d.ts +1 -1
- package/es/api/resources/Employee.d.ts.map +1 -1
- package/es/api/resources/Employee.js +2 -2
- package/es/api/resources/Employee.js.map +1 -1
- package/es/api/resources/Facturation.d.ts +2 -2
- package/es/api/resources/Facturation.d.ts.map +1 -1
- package/es/api/resources/Facturation.js +4 -4
- package/es/api/resources/Facturation.js.map +1 -1
- package/es/api/resources/Fusion.d.ts +1 -1
- package/es/api/resources/Invoice.d.ts +2 -2
- package/es/api/resources/Invoice.d.ts.map +1 -1
- package/es/api/resources/Invoice.js +4 -4
- package/es/api/resources/Invoice.js.map +1 -1
- package/es/api/resources/Mail.d.ts +16 -16
- package/es/api/resources/Mail.d.ts.map +1 -1
- package/es/api/resources/Mail.js +32 -32
- package/es/api/resources/Mail.js.map +1 -1
- package/es/api/resources/PartneredAccountant.d.ts +3 -3
- package/es/api/resources/PartneredAccountant.d.ts.map +1 -1
- package/es/api/resources/PartneredAccountant.js +6 -6
- package/es/api/resources/PartneredAccountant.js.map +1 -1
- package/es/api/resources/PaymentExpectationCustomer.d.ts +1 -1
- package/es/api/resources/PaymentExpectationCustomer.d.ts.map +1 -1
- package/es/api/resources/PaymentExpectationCustomer.js +2 -2
- package/es/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/es/api/resources/Product.d.ts +1 -1
- package/es/api/resources/Product.d.ts.map +1 -1
- package/es/api/resources/Product.js +2 -2
- package/es/api/resources/Product.js.map +1 -1
- package/es/api/resources/Regulate.d.ts +1 -1
- package/es/api/resources/Regulate.d.ts.map +1 -1
- package/es/api/resources/Regulate.js +2 -2
- package/es/api/resources/Regulate.js.map +1 -1
- package/es/api/resources/Report.d.ts +3 -3
- package/es/api/resources/Report.d.ts.map +1 -1
- package/es/api/resources/Report.js +6 -6
- package/es/api/resources/Report.js.map +1 -1
- package/es/api/resources/Revision.d.ts +1 -1
- package/es/api/resources/Revision.d.ts.map +1 -1
- package/es/api/resources/Revision.js +2 -2
- package/es/api/resources/Revision.js.map +1 -1
- package/es/api/resources/SalesContract.d.ts +13 -0
- package/es/api/resources/SalesContract.d.ts.map +1 -0
- package/es/api/resources/SalesContract.js +45 -0
- package/es/api/resources/SalesContract.js.map +1 -0
- package/es/api/resources/SheetMonthSchedule.d.ts +1 -1
- package/es/api/resources/SheetMonthSchedule.d.ts.map +1 -1
- package/es/api/resources/SheetMonthSchedule.js +2 -2
- package/es/api/resources/SheetMonthSchedule.js.map +1 -1
- package/es/api/resources/Society.d.ts +2 -2
- package/es/api/resources/Society.d.ts.map +1 -1
- package/es/api/resources/Society.js +2 -2
- package/es/api/resources/Society.js.map +1 -1
- package/es/api/resources/TaxDeadline.d.ts +3 -3
- package/es/api/resources/TaxDeadline.d.ts.map +1 -1
- package/es/api/resources/TaxDeadline.js +6 -6
- package/es/api/resources/TaxDeadline.js.map +1 -1
- package/es/api/resources/TextMessage.d.ts +3 -3
- package/es/api/resources/TextMessage.d.ts.map +1 -1
- package/es/api/resources/TextMessage.js +6 -6
- package/es/api/resources/TextMessage.js.map +1 -1
- package/es/api/resources/ThirdParty.d.ts +1 -1
- package/es/api/resources/ThirdParty.d.ts.map +1 -1
- package/es/api/resources/ThirdParty.js +2 -2
- package/es/api/resources/ThirdParty.js.map +1 -1
- package/es/api/resources/User.d.ts +1 -1
- package/es/api/resources/User.d.ts.map +1 -1
- package/es/api/resources/User.js.map +1 -1
- package/es/api/resources/Wallet.d.ts +2 -2
- package/es/api/resources/Wallet.d.ts.map +1 -1
- package/es/api/resources/Wallet.js +4 -4
- package/es/api/resources/Wallet.js.map +1 -1
- package/es/api/resources/prestation.d.ts +2 -2
- package/es/api/resources/prestation.d.ts.map +1 -1
- package/es/api/resources/prestation.js +4 -4
- package/es/api/resources/prestation.js.map +1 -1
- package/es/api/resources/statistic/CustomerSuccess.d.ts +1 -1
- package/es/api/resources/statistic/CustomerSuccess.d.ts.map +1 -1
- package/es/api/resources/statistic/CustomerSuccess.js +2 -2
- package/es/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/es/api/resources.d.ts +2 -0
- package/es/api/resources.d.ts.map +1 -1
- package/es/api/resources.js +2 -0
- package/es/api/resources.js.map +1 -1
- package/es/types/Enum/BrandClementine.d.ts +109 -0
- package/es/types/Enum/BrandClementine.d.ts.map +1 -1
- package/es/types/Enum/BrandClementine.js +361 -0
- package/es/types/Enum/BrandClementine.js.map +1 -1
- package/es/types/Enum/BrandPourcentage.d.ts +27 -0
- package/es/types/Enum/BrandPourcentage.d.ts.map +1 -1
- package/es/types/Enum/BrandPourcentage.js +173 -0
- package/es/types/Enum/BrandPourcentage.js.map +1 -1
- package/es/types/Enum/CustomerSignature.d.ts +39 -0
- package/es/types/Enum/CustomerSignature.d.ts.map +1 -0
- package/es/types/Enum/CustomerSignature.js +41 -0
- package/es/types/Enum/CustomerSignature.js.map +1 -0
- package/es/types/Enum/JobTitle.js +5 -5
- package/es/types/Enum/JobTitle.js.map +1 -1
- package/es/types/Enum/Notification.d.ts +47 -1
- package/es/types/Enum/Notification.d.ts.map +1 -1
- package/es/types/Enum/Notification.js +273 -1
- package/es/types/Enum/Notification.js.map +1 -1
- package/es/types/Enum/PrestationType.d.ts +1 -0
- package/es/types/Enum/PrestationType.d.ts.map +1 -1
- package/es/types/Enum/PrestationType.js +20 -5
- package/es/types/Enum/PrestationType.js.map +1 -1
- package/es/types/Enum/SalesContractConfig.d.ts +29 -0
- package/es/types/Enum/SalesContractConfig.d.ts.map +1 -0
- package/es/types/Enum/SalesContractConfig.js +2 -0
- package/es/types/Enum/SalesContractConfig.js.map +1 -0
- package/es/types/Enum/SendMethod.d.ts +5 -0
- package/es/types/Enum/SendMethod.d.ts.map +1 -0
- package/es/types/Enum/SendMethod.js +6 -0
- package/es/types/Enum/SendMethod.js.map +1 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.d.ts +4 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.d.ts.map +1 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.js +19 -0
- package/es/types/Interface/api/salesContract/GenerateSalesContractParams.js.map +1 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.d.ts +8 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.d.ts.map +1 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.js +38 -0
- package/es/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts +1 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.d.ts.map +1 -1
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js +6 -0
- package/es/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/es/types/index.d.ts +4 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +4 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.d.ts.map +1 -1
- package/es/utils/index.js +2 -0
- package/es/utils/index.js.map +1 -1
- package/es/utils/isHtml.d.ts +7 -0
- package/es/utils/isHtml.d.ts.map +1 -0
- package/es/utils/isHtml.js +10 -0
- package/es/utils/isHtml.js.map +1 -0
- package/es/utils/isUrl.d.ts +7 -0
- package/es/utils/isUrl.d.ts.map +1 -0
- package/es/utils/isUrl.js +16 -0
- package/es/utils/isUrl.js.map +1 -0
- package/js/api/resources/Checklist.js +8 -4
- package/js/api/resources/Checklist.js.map +1 -1
- package/js/api/resources/Commercial.js +16 -8
- package/js/api/resources/Commercial.js.map +1 -1
- package/js/api/resources/CommercialDocument.js +4 -2
- package/js/api/resources/CommercialDocument.js.map +1 -1
- package/js/api/resources/Employee.js +4 -2
- package/js/api/resources/Employee.js.map +1 -1
- package/js/api/resources/Facturation.js +8 -4
- package/js/api/resources/Facturation.js.map +1 -1
- package/js/api/resources/Invoice.js +8 -4
- package/js/api/resources/Invoice.js.map +1 -1
- package/js/api/resources/Mail.js +64 -32
- package/js/api/resources/Mail.js.map +1 -1
- package/js/api/resources/PartneredAccountant.js +13 -7
- package/js/api/resources/PartneredAccountant.js.map +1 -1
- package/js/api/resources/PaymentExpectationCustomer.js +4 -2
- package/js/api/resources/PaymentExpectationCustomer.js.map +1 -1
- package/js/api/resources/Product.js +4 -2
- package/js/api/resources/Product.js.map +1 -1
- package/js/api/resources/Regulate.js +4 -2
- package/js/api/resources/Regulate.js.map +1 -1
- package/js/api/resources/Report.js +12 -6
- package/js/api/resources/Report.js.map +1 -1
- package/js/api/resources/Revision.js +4 -2
- package/js/api/resources/Revision.js.map +1 -1
- package/js/api/resources/SalesContract.js +70 -0
- package/js/api/resources/SalesContract.js.map +1 -0
- package/js/api/resources/SheetMonthSchedule.js +4 -2
- package/js/api/resources/SheetMonthSchedule.js.map +1 -1
- package/js/api/resources/Society.js +4 -2
- package/js/api/resources/Society.js.map +1 -1
- package/js/api/resources/TaxDeadline.js +12 -6
- package/js/api/resources/TaxDeadline.js.map +1 -1
- package/js/api/resources/TextMessage.js +12 -6
- package/js/api/resources/TextMessage.js.map +1 -1
- package/js/api/resources/ThirdParty.js +4 -2
- package/js/api/resources/ThirdParty.js.map +1 -1
- package/js/api/resources/User.js.map +1 -1
- package/js/api/resources/Wallet.js +8 -4
- package/js/api/resources/Wallet.js.map +1 -1
- package/js/api/resources/prestation.js +8 -4
- package/js/api/resources/prestation.js.map +1 -1
- package/js/api/resources/statistic/CustomerSuccess.js +4 -2
- package/js/api/resources/statistic/CustomerSuccess.js.map +1 -1
- package/js/api/resources.js +2 -0
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/BrandClementine.js +328 -3
- package/js/types/Enum/BrandClementine.js.map +1 -1
- package/js/types/Enum/BrandPourcentage.js +158 -1
- package/js/types/Enum/BrandPourcentage.js.map +1 -1
- package/js/types/Enum/CustomerSignature.js +46 -0
- package/js/types/Enum/CustomerSignature.js.map +1 -0
- package/js/types/Enum/JobTitle.js +7 -5
- package/js/types/Enum/JobTitle.js.map +1 -1
- package/js/types/Enum/Notification.js +273 -1
- package/js/types/Enum/Notification.js.map +1 -1
- package/js/types/Enum/PrestationType.js +7 -5
- package/js/types/Enum/PrestationType.js.map +1 -1
- package/js/types/Enum/SalesContractConfig.js +6 -0
- package/js/types/Enum/SalesContractConfig.js.map +1 -0
- package/js/types/Enum/SendMethod.js +11 -0
- package/js/types/Enum/SendMethod.js.map +1 -0
- package/js/types/Interface/api/salesContract/GenerateSalesContractParams.js +22 -0
- package/js/types/Interface/api/salesContract/GenerateSalesContractParams.js.map +1 -0
- package/js/types/Interface/api/salesContract/SendSalesContractParams.js +26 -0
- package/js/types/Interface/api/salesContract/SendSalesContractParams.js.map +1 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js +3 -0
- package/js/types/Interface/api/taxDeadline/QueryTaxDeadline.js.map +1 -1
- package/js/types/index.js +40 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/index.js +20 -0
- package/js/utils/index.js.map +1 -1
- package/js/utils/isHtml.js +16 -0
- package/js/utils/isHtml.js.map +1 -0
- package/js/utils/isUrl.js +21 -0
- package/js/utils/isUrl.js.map +1 -0
- package/package.json +2 -2
- package/ts/api/resources/Checklist.ts +4 -2
- package/ts/api/resources/Commercial.ts +24 -8
- package/ts/api/resources/CommercialDocument.ts +2 -0
- package/ts/api/resources/Employee.ts +2 -0
- package/ts/api/resources/Facturation.ts +12 -4
- package/ts/api/resources/Invoice.ts +4 -2
- package/ts/api/resources/Mail.ts +32 -16
- package/ts/api/resources/PartneredAccountant.ts +9 -4
- package/ts/api/resources/PaymentExpectationCustomer.ts +2 -0
- package/ts/api/resources/Product.ts +2 -0
- package/ts/api/resources/Regulate.ts +6 -2
- package/ts/api/resources/Report.ts +6 -6
- package/ts/api/resources/Revision.ts +6 -2
- package/ts/api/resources/SalesContract.ts +54 -0
- package/ts/api/resources/SheetMonthSchedule.ts +2 -0
- package/ts/api/resources/Society.ts +3 -2
- package/ts/api/resources/TaxDeadline.ts +6 -3
- package/ts/api/resources/TextMessage.ts +18 -6
- package/ts/api/resources/ThirdParty.ts +2 -0
- package/ts/api/resources/User.ts +1 -1
- package/ts/api/resources/Wallet.ts +4 -2
- package/ts/api/resources/prestation.ts +4 -3
- package/ts/api/resources/statistic/CustomerSuccess.ts +6 -2
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/BrandClementine.ts +362 -0
- package/ts/types/Enum/BrandPourcentage.ts +174 -0
- package/ts/types/Enum/CustomerSignature.ts +40 -0
- package/ts/types/Enum/JobTitle.ts +5 -5
- package/ts/types/Enum/Notification.ts +286 -2
- package/ts/types/Enum/PrestationType.ts +21 -5
- package/ts/types/Enum/SalesContractConfig.ts +37 -0
- package/ts/types/Enum/SendMethod.ts +4 -0
- package/ts/types/Interface/api/salesContract/GenerateSalesContractParams.ts +8 -0
- package/ts/types/Interface/api/salesContract/SendSalesContractParams.ts +23 -0
- package/ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts +6 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/index.ts +3 -1
- package/ts/utils/isHtml.ts +9 -0
- package/ts/utils/isUrl.ts +14 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SalesContractConfig.js","names":[],"sources":["../../../ts/types/Enum/SalesContractConfig.ts"],"sourcesContent":["import { PrestationType } from './PrestationType';\n\n// Config in the Brand enum\nexport type SalesContractConfigType = {\n label: string,\n name: string,\n urlBgImage?: string,\n needBgImage?: boolean,\n idPrestationType: PrestationType[],\n versionable?: boolean,\n keyName?: string\n condition: (...args: (string | number)[]) => boolean\n};\n\n// Content of a config in the s3 file\nexport type SalesContractContent = {\n name: string;\n content: string;\n};\n\n// Config send from the front\nexport type SalesContractConfig = {\n name: string;\n content: string;\n css?: string;\n};\n\n// List of version for a config\nexport type SalesContractConfigVersion = {\n versionId: string;\n name: string;\n};\n\nexport type ParamsPreviewContract = {\n idPrestationList: number;\n versionId?: string;\n};\n"],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var SendMethod = exports.SendMethod = undefined;
|
|
7
|
+
(function (SendMethod) {
|
|
8
|
+
SendMethod[SendMethod["SMS"] = 1] = "SMS";
|
|
9
|
+
SendMethod[SendMethod["EMAIL"] = 2] = "EMAIL";
|
|
10
|
+
})(SendMethod || (exports.SendMethod = SendMethod = {}));
|
|
11
|
+
//# sourceMappingURL=SendMethod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendMethod.js","names":["SendMethod","exports","undefined"],"sources":["../../../ts/types/Enum/SendMethod.ts"],"sourcesContent":["export enum SendMethod {\n SMS = 1,\n EMAIL = 2,\n}\n"],"mappings":";;;;;AAAA,IAAYA,UAGX,GAAAC,OAAA,CAHWD,UAGX,GAAAE,SAAA;AAHD,WAAYF,UAAU;EACpBA,UAAA,CAAAA,UAAA,oBAAO;EACPA,UAAA,CAAAA,UAAA,wBAAS;AACX,CAAC,EAHWA,UAAU,KAAAC,OAAA,CAAVD,UAGX,GAHWA,UAAU"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.GenerateSalesContractParams = undefined;
|
|
7
|
+
var _classValidator = require("class-validator");
|
|
8
|
+
var _decorators = require("../../../../utils/decorators");
|
|
9
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10
|
+
var c = arguments.length,
|
|
11
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
12
|
+
d;
|
|
13
|
+
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;
|
|
14
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
+
};
|
|
16
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18
|
+
};
|
|
19
|
+
class GenerateSalesContractParams {}
|
|
20
|
+
exports.GenerateSalesContractParams = GenerateSalesContractParams;
|
|
21
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], GenerateSalesContractParams.prototype, "idPrestation", void 0);
|
|
22
|
+
//# sourceMappingURL=GenerateSalesContractParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GenerateSalesContractParams.js","names":["_classValidator","require","_decorators","GenerateSalesContractParams","exports","__decorate","ApiProperty","IsInt"],"sources":["../../../../../ts/types/Interface/api/salesContract/GenerateSalesContractParams.ts"],"sourcesContent":["import { IsInt } from 'class-validator';\nimport { ApiProperty } from '../../../../utils/decorators';\n\nexport class GenerateSalesContractParams {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,2BAA2B;AAIvCC,OAAA,CAJYD,2BAA2B,GAA3BA,2BAA2B;AACtCE,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,kGACe"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SendSalesContractParams = undefined;
|
|
7
|
+
var _classValidator = require("class-validator");
|
|
8
|
+
var _decorators = require("../../../../utils/decorators");
|
|
9
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
10
|
+
var c = arguments.length,
|
|
11
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
12
|
+
d;
|
|
13
|
+
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;
|
|
14
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15
|
+
};
|
|
16
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
17
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
18
|
+
};
|
|
19
|
+
class SendSalesContractParams {}
|
|
20
|
+
exports.SendSalesContractParams = SendSalesContractParams;
|
|
21
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], SendSalesContractParams.prototype, "idPrestation", void 0);
|
|
22
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsInt)(), __metadata("design:type", Number)], SendSalesContractParams.prototype, "price", void 0);
|
|
23
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], SendSalesContractParams.prototype, "startText", void 0);
|
|
24
|
+
__decorate([(0, _decorators.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], SendSalesContractParams.prototype, "endText", void 0);
|
|
25
|
+
__decorate([(0, _decorators.ApiPropertyOptional)(), __metadata("design:type", Array)], SendSalesContractParams.prototype, "files", void 0);
|
|
26
|
+
//# sourceMappingURL=SendSalesContractParams.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SendSalesContractParams.js","names":["_classValidator","require","_decorators","SendSalesContractParams","exports","__decorate","ApiProperty","IsInt","IsString","ApiPropertyOptional"],"sources":["../../../../../ts/types/Interface/api/salesContract/SendSalesContractParams.ts"],"sourcesContent":["import { IsInt, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils/decorators';\n\nexport class SendSalesContractParams {\n @ApiProperty()\n @IsInt()\n idPrestation: number;\n\n @ApiProperty()\n @IsInt()\n price: number;\n\n @ApiProperty()\n @IsString()\n startText: string;\n\n @ApiProperty()\n @IsString()\n endText: string;\n\n @ApiPropertyOptional()\n files?: File[];\n}\n"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;;;;;;;;;;;AAEM,MAAOE,uBAAuB;AAmBnCC,OAAA,CAnBYD,uBAAuB,GAAvBA,uBAAuB;AAClCE,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,8FACe;AAEvBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAC,qBAAK,GAAE,E,uFACQ;AAEhBF,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAE,wBAAQ,GAAE,E,2FACS;AAEpBH,UAAA,EAAC,IAAAC,uBAAW,GAAE,EACb,IAAAE,wBAAQ,GAAE,E,yFACO;AAElBH,UAAA,EAAC,IAAAI,+BAAmB,GAAE,E,sFACL"}
|
|
@@ -86,6 +86,9 @@ __decorate([(0, _utils.ApiPropertyOptional)({
|
|
|
86
86
|
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
87
87
|
description: 'Exercice cloturé ou non'
|
|
88
88
|
}), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryTaxDeadline.prototype, "isClosed", void 0);
|
|
89
|
+
__decorate([(0, _utils.ApiPropertyOptional)({
|
|
90
|
+
description: 'Récupérer uniquement les exercices back ou uniquement les non back'
|
|
91
|
+
}), (0, _classValidator.IsOptional)(), (0, _classValidator.IsBoolean)(), __metadata("design:type", Boolean)], QueryTaxDeadline.prototype, "isBack", void 0);
|
|
89
92
|
class QueryTaxDeadlineStatistics {}
|
|
90
93
|
exports.QueryTaxDeadlineStatistics = QueryTaxDeadlineStatistics;
|
|
91
94
|
__decorate([(0, _utils.ApiProperty)({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","_boolean","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","IsBoolean","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsDateString","IsNumber","QueryVatDeadline","RequiredQueryPaginate","describe","ToBoolean","QueryVatDeadlineByCollaborator"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsDateString, IsString, IsArray, IsBoolean, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState, RequiredQueryPaginate, TaxState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })\n bankCollectingState?: BankCollectingState[];\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n\n @ApiPropertyOptional({ description: 'Forme juridique' })\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n idLegalForm?: string | string[];\n\n @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })\n @IsOptional()\n @IsBoolean()\n isClosed?: boolean;\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}\n\nexport class QueryCompanyTaxesByCollaborater {\n @ApiProperty({ description: 'Id collaborater' })\n idUser: number | number[];\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional({ description: 'Company key word' })\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idState?: TaxState;\n}\n\nexport class QueryVatDeadline extends RequiredQueryPaginate {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idComptaType?: ComptaType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n vatUploadDay?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idState?: TaxState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idVatRegime?: VatRegime[];\n\n @ApiPropertyOptional()\n @IsOptional()\n annotationRange?: { min: number; max: number; };\n\n @ApiPropertyOptional({ describe: 'set to true if you want retrieve the ca12' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n}\n\nexport class QueryVatDeadlineByCollaborator extends QueryVatDeadline {\n @ApiProperty({ description: 'collaborator id' })\n idUser: number;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAGA,IAAAC,MAAA,GAAAD,OAAA;AACA,IAAAE,CAAA,GAAAF,OAAA;AAGA,IAAAG,WAAA,GAAAH,OAAA;AACA,IAAAI,UAAA,GAAAJ,OAAA;AACA,IAAAK,YAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,QAAA,GAAAP,OAAA;;;;;;;;;;;AAEM,MAAOQ,gBAAgB;AA+D5BC,OAAA,CA/DYD,gBAAgB,GAAhBA,gBAAgB;AAC3BE,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAA8B,CAAE,CAAC,E,iFACjC;AAE5BF,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAED,WAAW,EAAE;AAA0C,CAAE,CAAC,E,0FACtD;AAE3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AAEpBpB,UAAA,EAAC,IAAAC,kBAAW,GAAE,EACb,IAAAmB,4BAAY,GAAE,E,kFACG;AAElBpB,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,sFACoB;AAE9Bd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAI,wBAAQ,GAAE,E,iFACO;AAElBf,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,sFACgB;AAE1Bd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,iFACa;AAEvBd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,EACZ,IAAAG,uBAAO,GAAE,E,qFACkB;AAE5Bd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,E,0FACqC;AAElDX,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAEqB,QAAQ,EAAE;AAA2C,CAAE,CAAC,EAC9E,IAAAP,yBAAS,GAAE,EACX,IAAAQ,kBAAS,GAAE,EACX,IAAAd,0BAAU,GAAE,E,kFACM;AAGf,MAAOe,8BAA+B,SAAQJ,gBAAgB;AAGnEvB,OAAA,CAHY2B,8BAA+B,GAA/BA,8BAA+B;AAC1C1B,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAiB,CAAE,CAAC,E,+FAC/B"}
|
|
1
|
+
{"version":3,"file":"QueryTaxDeadline.js","names":["_classValidator","require","_utils","_","_ComptaType","_TaxSystem","_Supervision","_BalanceSheet","_boolean","QueryTaxDeadline","exports","__decorate","ApiProperty","description","ApiPropertyOptional","enum","VatRegime","ComptaType","TaxSystem","BalanceSheetState","Supervision","BankCollectingState","IsOptional","IsEnum","ToDoOrDone","IsArray","IsString","each","IsBoolean","QueryTaxDeadlineStatistics","QueryCompanyTaxesByCollaborater","IsDateString","IsNumber","QueryVatDeadline","RequiredQueryPaginate","describe","ToBoolean","QueryVatDeadlineByCollaborator"],"sources":["../../../../../ts/types/Interface/api/taxDeadline/QueryTaxDeadline.ts"],"sourcesContent":["import {\n IsOptional, IsEnum, IsDateString, IsString, IsArray, IsBoolean, IsNumber,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport {\n VatRegime, ToDoOrDone, BankCollectingState, RequiredQueryPaginate, TaxState,\n} from '../../..';\nimport { ComptaType } from '../../../Enum/ComptaType';\nimport { TaxSystem } from '../../../Enum/TaxSystem';\nimport { Supervision } from '../../../Enum/Supervision';\nimport { BalanceSheetState } from '../../../Enum/BalanceSheet';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryTaxDeadline {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM)' })\n closingDate?: string | string[];\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: number;\n\n @ApiPropertyOptional({ description: 'Date de clôture supérieure ou égale à (format YYYY-MM-DD)' })\n minimalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'Date de clôture inférieure ou égale à (format YYYY-MM-DD)' })\n maximalEndDate?: string;\n\n @ApiPropertyOptional({ description: 'État de la supervision', enum: Supervision })\n idSupervisionState?: Supervision;\n\n @ApiPropertyOptional({ description: 'État de l encaissement', enum: BankCollectingState })\n bankCollectingState?: BankCollectingState[];\n\n @ApiPropertyOptional({ description: 'Statuts de l\\'IS/IR' })\n @IsOptional()\n @IsEnum(ToDoOrDone)\n idTaxStatus?: ToDoOrDone;\n\n @ApiPropertyOptional({ description: 'Forme juridique' })\n @IsOptional()\n @IsArray()\n @IsString({\n each: true,\n })\n idLegalForm?: string | string[];\n\n @ApiPropertyOptional({ description: 'Exercice cloturé ou non' })\n @IsOptional()\n @IsBoolean()\n isClosed?: boolean;\n\n @ApiPropertyOptional({ description: 'Récupérer uniquement les exercices back ou uniquement les non back' })\n @IsOptional()\n @IsBoolean()\n isBack?: boolean;\n\n}\n\nexport class QueryTaxDeadlineStatistics {\n @ApiProperty({ description: 'Identifiant du collaborateur' })\n idUser: number | number[];\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel minimum' })\n minimalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Chiffre d\\'affaires prévisionnel maximum' })\n maximalTurnover?: number;\n\n @ApiPropertyOptional({ description: 'Régime de TVA', enum: VatRegime })\n idVatRegime?: VatRegime | VatRegime[];\n\n @ApiPropertyOptional({ description: 'Type de comptabilité', enum: ComptaType })\n idComptaType?: ComptaType | ComptaType[];\n\n @ApiPropertyOptional({ description: 'Type de fiscalité', enum: TaxSystem })\n idTaxSystem?: TaxSystem | TaxSystem[];\n\n @ApiPropertyOptional({ description: 'État du bilan', enum: BalanceSheetState })\n idBalanceSheetState?: BalanceSheetState | BalanceSheetState[];\n\n @ApiPropertyOptional({ description: 'Date de clôture (format MM-DD)' })\n closingDate?: string;\n\n @ApiPropertyOptional({ description: 'Année de clôture (format YYYY)' })\n year?: string | string[];\n\n @ApiPropertyOptional({ description: 'Recherche par nom, code dia, id' })\n search?: string;\n\n @ApiPropertyOptional({ description: 'Récupérer les exercices qui ont une date de fin inférieure à X mois à partir d\\'aujourd\\'hui' })\n additionalMonths?: string;\n}\n\nexport class QueryCompanyTaxesByCollaborater {\n @ApiProperty({ description: 'Id collaborater' })\n idUser: number | number[];\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional({ description: 'Company key word' })\n @IsString()\n @IsOptional()\n search?: string;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n idState?: TaxState;\n}\n\nexport class QueryVatDeadline extends RequiredQueryPaginate {\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idComptaType?: ComptaType[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n vatUploadDay?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idState?: TaxState[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idVatRegime?: VatRegime[];\n\n @ApiPropertyOptional()\n @IsOptional()\n annotationRange?: { min: number; max: number; };\n\n @ApiPropertyOptional({ describe: 'set to true if you want retrieve the ca12' })\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n}\n\nexport class QueryVatDeadlineByCollaborator extends QueryVatDeadline {\n @ApiProperty({ description: 'collaborator id' })\n idUser: number;\n}"],"mappings":";;;;;;AAAA,IAAAA,eAAA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O,GAAE,E,qFACkB;AAE5Bd,UAAA,EAAC,IAAAG,0BAAmB,GAAE,EACrB,IAAAQ,0BAAU,GAAE,E,0FACqC;AAElDX,UAAA,EAAC,IAAAG,0BAAmB,EAAC;EAAEqB,QAAQ,EAAE;AAA2C,CAAE,CAAC,EAC9E,IAAAP,yBAAS,GAAE,EACX,IAAAQ,kBAAS,GAAE,EACX,IAAAd,0BAAU,GAAE,E,kFACM;AAGf,MAAOe,8BAA+B,SAAQJ,gBAAgB;AAGnEvB,OAAA,CAHY2B,8BAA+B,GAA/BA,8BAA+B;AAC1C1B,UAAA,EAAC,IAAAC,kBAAW,EAAC;EAAEC,WAAW,EAAE;AAAiB,CAAE,CAAC,E,+FAC/B"}
|
package/js/types/index.js
CHANGED
|
@@ -3363,6 +3363,16 @@ Object.keys(_TimeCounterType).forEach(function (key) {
|
|
|
3363
3363
|
}
|
|
3364
3364
|
});
|
|
3365
3365
|
});
|
|
3366
|
+
var _CustomerSignature = require("./Enum/CustomerSignature");
|
|
3367
|
+
Object.keys(_CustomerSignature).forEach(function (key) {
|
|
3368
|
+
if (key === "default" || key === "__esModule") return;
|
|
3369
|
+
Object.defineProperty(exports, key, {
|
|
3370
|
+
enumerable: true,
|
|
3371
|
+
get: function () {
|
|
3372
|
+
return _CustomerSignature[key];
|
|
3373
|
+
}
|
|
3374
|
+
});
|
|
3375
|
+
});
|
|
3366
3376
|
var _MailAuto = require("./Enum/MailAuto");
|
|
3367
3377
|
Object.keys(_MailAuto).forEach(function (key) {
|
|
3368
3378
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -3763,6 +3773,16 @@ Object.keys(_TaxSystem).forEach(function (key) {
|
|
|
3763
3773
|
}
|
|
3764
3774
|
});
|
|
3765
3775
|
});
|
|
3776
|
+
var _SalesContractConfig = require("./Enum/SalesContractConfig");
|
|
3777
|
+
Object.keys(_SalesContractConfig).forEach(function (key) {
|
|
3778
|
+
if (key === "default" || key === "__esModule") return;
|
|
3779
|
+
Object.defineProperty(exports, key, {
|
|
3780
|
+
enumerable: true,
|
|
3781
|
+
get: function () {
|
|
3782
|
+
return _SalesContractConfig[key];
|
|
3783
|
+
}
|
|
3784
|
+
});
|
|
3785
|
+
});
|
|
3766
3786
|
var _FiscalRegime = require("./Enum/FiscalRegime");
|
|
3767
3787
|
Object.keys(_FiscalRegime).forEach(function (key) {
|
|
3768
3788
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -6333,6 +6353,26 @@ Object.keys(_ReadSocietyTransactionCount).forEach(function (key) {
|
|
|
6333
6353
|
}
|
|
6334
6354
|
});
|
|
6335
6355
|
});
|
|
6356
|
+
var _SendSalesContractParams = require("./Interface/api/salesContract/SendSalesContractParams");
|
|
6357
|
+
Object.keys(_SendSalesContractParams).forEach(function (key) {
|
|
6358
|
+
if (key === "default" || key === "__esModule") return;
|
|
6359
|
+
Object.defineProperty(exports, key, {
|
|
6360
|
+
enumerable: true,
|
|
6361
|
+
get: function () {
|
|
6362
|
+
return _SendSalesContractParams[key];
|
|
6363
|
+
}
|
|
6364
|
+
});
|
|
6365
|
+
});
|
|
6366
|
+
var _GenerateSalesContractParams = require("./Interface/api/salesContract/GenerateSalesContractParams");
|
|
6367
|
+
Object.keys(_GenerateSalesContractParams).forEach(function (key) {
|
|
6368
|
+
if (key === "default" || key === "__esModule") return;
|
|
6369
|
+
Object.defineProperty(exports, key, {
|
|
6370
|
+
enumerable: true,
|
|
6371
|
+
get: function () {
|
|
6372
|
+
return _GenerateSalesContractParams[key];
|
|
6373
|
+
}
|
|
6374
|
+
});
|
|
6375
|
+
});
|
|
6336
6376
|
var _CreateMailFromLambda = require("./Interface/api/webmail/CreateMailFromLambda");
|
|
6337
6377
|
Object.keys(_CreateMailFromLambda).forEach(function (key) {
|
|
6338
6378
|
if (key === "default" || key === "__esModule") return;
|