@silexpert/core 1.0.15 → 1.0.21
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/CommercialDocument.d.ts +1 -0
- package/es/api/resources/CommercialDocument.d.ts.map +1 -1
- package/es/api/resources/CommercialDocument.js +3 -0
- package/es/api/resources/CommercialDocument.js.map +1 -1
- package/es/api/resources/CommercialSetting.d.ts +3 -1
- package/es/api/resources/CommercialSetting.d.ts.map +1 -1
- package/es/api/resources/CommercialSetting.js +6 -0
- package/es/api/resources/CommercialSetting.js.map +1 -1
- package/es/api/resources/Invoice.d.ts +2 -1
- package/es/api/resources/Invoice.d.ts.map +1 -1
- package/es/api/resources/Invoice.js +3 -0
- package/es/api/resources/Invoice.js.map +1 -1
- package/es/api/resources/Qonto.d.ts +5 -1
- package/es/api/resources/Qonto.d.ts.map +1 -1
- package/es/api/resources/Qonto.js +12 -0
- package/es/api/resources/Qonto.js.map +1 -1
- package/es/api/resources/Stripe.d.ts +6 -0
- package/es/api/resources/Stripe.d.ts.map +1 -0
- package/es/api/resources/Stripe.js +7 -0
- package/es/api/resources/Stripe.js.map +1 -0
- 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/CommercialManagement.d.ts +10 -0
- package/es/types/Enum/CommercialManagement.d.ts.map +1 -1
- package/es/types/Enum/CommercialManagement.js +21 -0
- package/es/types/Enum/CommercialManagement.js.map +1 -1
- package/es/types/Enum/Rules.d.ts +2 -0
- package/es/types/Enum/Rules.d.ts.map +1 -0
- package/es/types/Enum/Rules.js +19 -0
- package/es/types/Enum/Rules.js.map +1 -0
- package/es/types/Interface/api/commercialManagement/Create.d.ts +6 -1
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.js +29 -1
- package/es/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Query.d.ts +3 -0
- package/es/types/Interface/api/commercialManagement/Query.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Query.js +7 -0
- package/es/types/Interface/api/commercialManagement/Query.js.map +1 -1
- package/es/types/Interface/api/commercialManagement/Read.d.ts +1 -0
- package/es/types/Interface/api/commercialManagement/Read.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Read.js.map +1 -1
- package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts +5 -0
- package/es/types/Interface/api/qonto/CreateQontoConnection.d.ts.map +1 -0
- package/es/types/Interface/api/qonto/CreateQontoConnection.js +24 -0
- package/es/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -0
- package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts +4 -0
- package/es/types/Interface/api/qonto/GetConnectionInformation.d.ts.map +1 -0
- package/es/types/Interface/api/qonto/GetConnectionInformation.js +19 -0
- package/es/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -0
- package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts +5 -0
- package/es/types/Interface/api/qonto/ProcessBankAccount.d.ts.map +1 -0
- package/es/types/Interface/api/qonto/ProcessBankAccount.js +24 -0
- package/es/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -0
- package/es/types/Interface/api/qonto/Query.d.ts +1 -2
- package/es/types/Interface/api/qonto/Query.d.ts.map +1 -1
- package/es/types/Interface/api/qonto/Query.js.map +1 -1
- package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts +6 -0
- package/es/types/Interface/api/qonto/ReadCreateConnection.d.ts.map +1 -0
- package/es/types/Interface/api/qonto/ReadCreateConnection.js +2 -0
- package/es/types/Interface/api/qonto/ReadCreateConnection.js.map +1 -0
- package/es/types/Interface/api/qonto/UpdateConnection.d.ts +4 -0
- package/es/types/Interface/api/qonto/UpdateConnection.d.ts.map +1 -0
- package/es/types/Interface/api/qonto/UpdateConnection.js +19 -0
- package/es/types/Interface/api/qonto/UpdateConnection.js.map +1 -0
- package/es/types/Interface/api/stripe/Create.d.ts +4 -0
- package/es/types/Interface/api/stripe/Create.d.ts.map +1 -0
- package/es/types/Interface/api/stripe/Create.js +19 -0
- package/es/types/Interface/api/stripe/Create.js.map +1 -0
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts +3 -0
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js +18 -1
- package/es/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts +3 -0
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.d.ts.map +1 -1
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +18 -1
- package/es/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
- package/es/types/Interface/models/IApiError.d.ts +2 -0
- package/es/types/Interface/models/IApiError.d.ts.map +1 -1
- package/es/types/Interface/models/IApiError.js +3 -0
- package/es/types/Interface/models/IApiError.js.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.d.ts +3 -0
- package/es/types/Interface/models/IEstimateInvoice.d.ts.map +1 -1
- package/es/types/Interface/models/IEstimateInvoice.js.map +1 -1
- package/es/types/Interface/models/IPrestationHistory.d.ts +13 -0
- package/es/types/Interface/models/IPrestationHistory.d.ts.map +1 -0
- package/es/types/Interface/models/IPrestationHistory.js +2 -0
- package/es/types/Interface/models/IPrestationHistory.js.map +1 -0
- package/es/types/Interface/models/ISocietyGescom.d.ts +4 -1
- package/es/types/Interface/models/ISocietyGescom.d.ts.map +1 -1
- package/es/types/Interface/models/ISocietyGescom.js.map +1 -1
- package/es/types/Interface/models/IThirdParty.d.ts +3 -0
- package/es/types/Interface/models/IThirdParty.d.ts.map +1 -1
- package/es/types/Interface/models/IThirdParty.js.map +1 -1
- package/es/types/index.d.ts +8 -0
- package/es/types/index.d.ts.map +1 -1
- package/es/types/index.js +8 -0
- package/es/types/index.js.map +1 -1
- package/es/utils/commercialManagement/document.d.ts.map +1 -1
- package/es/utils/commercialManagement/document.js +8 -8
- package/es/utils/commercialManagement/document.js.map +1 -1
- package/es/utils/commercialManagement/templates/body.d.ts.map +1 -1
- package/es/utils/commercialManagement/templates/body.js +3 -1
- package/es/utils/commercialManagement/templates/body.js.map +1 -1
- package/es/utils/commercialManagement/templates/common.d.ts.map +1 -1
- package/es/utils/commercialManagement/templates/common.js +20 -1
- package/es/utils/commercialManagement/templates/common.js.map +1 -1
- package/js/api/resources/CommercialDocument.js +8 -0
- package/js/api/resources/CommercialDocument.js.map +1 -1
- package/js/api/resources/CommercialSetting.js +8 -0
- package/js/api/resources/CommercialSetting.js.map +1 -1
- package/js/api/resources/Invoice.js +8 -0
- package/js/api/resources/Invoice.js.map +1 -1
- package/js/api/resources/Qonto.js +18 -0
- package/js/api/resources/Qonto.js.map +1 -1
- package/js/api/resources/Stripe.js +20 -0
- package/js/api/resources/Stripe.js.map +1 -0
- package/js/api/resources.js +4 -1
- package/js/api/resources.js.map +1 -1
- package/js/types/Enum/CommercialManagement.js +19 -0
- package/js/types/Enum/CommercialManagement.js.map +1 -1
- package/js/types/Enum/Rules.js +7 -0
- package/js/types/Enum/Rules.js.map +1 -0
- package/js/types/Interface/api/commercialManagement/Create.js +13 -1
- package/js/types/Interface/api/commercialManagement/Create.js.map +1 -1
- package/js/types/Interface/api/commercialManagement/Query.js +7 -1
- package/js/types/Interface/api/commercialManagement/Query.js.map +1 -1
- package/js/types/Interface/api/qonto/CreateQontoConnection.js +31 -0
- package/js/types/Interface/api/qonto/CreateQontoConnection.js.map +1 -0
- package/js/types/Interface/api/qonto/GetConnectionInformation.js +29 -0
- package/js/types/Interface/api/qonto/GetConnectionInformation.js.map +1 -0
- package/js/types/Interface/api/qonto/ProcessBankAccount.js +31 -0
- package/js/types/Interface/api/qonto/ProcessBankAccount.js.map +1 -0
- package/js/types/Interface/api/qonto/ReadCreateConnection.js +6 -0
- package/js/types/Interface/api/qonto/ReadCreateConnection.js.map +1 -0
- package/js/types/Interface/api/qonto/UpdateConnection.js +29 -0
- package/js/types/Interface/api/qonto/UpdateConnection.js.map +1 -0
- package/js/types/Interface/api/stripe/Create.js +29 -0
- package/js/types/Interface/api/stripe/Create.js.map +1 -0
- package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js +6 -0
- package/js/types/Interface/api/thirdParty/CreateThirdPartyForm.js.map +1 -1
- package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js +6 -0
- package/js/types/Interface/api/thirdParty/UpdateThirdPartyForm.js.map +1 -1
- package/js/types/Interface/models/IApiError.js +5 -2
- package/js/types/Interface/models/IApiError.js.map +1 -1
- package/js/types/Interface/models/IPrestationHistory.js +6 -0
- package/js/types/Interface/models/IPrestationHistory.js.map +1 -0
- package/js/types/index.js +96 -0
- package/js/types/index.js.map +1 -1
- package/js/utils/commercialManagement/document.js +9 -7
- package/js/utils/commercialManagement/document.js.map +1 -1
- package/js/utils/commercialManagement/templates/body.js +3 -1
- package/js/utils/commercialManagement/templates/body.js.map +1 -1
- package/js/utils/commercialManagement/templates/common.js +20 -1
- package/js/utils/commercialManagement/templates/common.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/CommercialDocument.ts +4 -0
- package/ts/api/resources/CommercialSetting.ts +11 -1
- package/ts/api/resources/Invoice.ts +5 -0
- package/ts/api/resources/Qonto.ts +23 -7
- package/ts/api/resources/Stripe.ts +8 -0
- package/ts/api/resources.ts +2 -0
- package/ts/types/Enum/CommercialManagement.ts +22 -0
- package/ts/types/Enum/Rules.ts +18 -0
- package/ts/types/Interface/api/commercialManagement/Create.ts +24 -2
- package/ts/types/Interface/api/commercialManagement/Query.ts +6 -0
- package/ts/types/Interface/api/commercialManagement/Read.ts +1 -0
- package/ts/types/Interface/api/qonto/CreateQontoConnection.ts +12 -0
- package/ts/types/Interface/api/qonto/GetConnectionInformation.ts +8 -0
- package/ts/types/Interface/api/qonto/ProcessBankAccount.ts +12 -0
- package/ts/types/Interface/api/qonto/Query.ts +1 -1
- package/ts/types/Interface/api/qonto/ReadCreateConnection.ts +6 -0
- package/ts/types/Interface/api/qonto/UpdateConnection.ts +8 -0
- package/ts/types/Interface/api/stripe/Create.ts +8 -0
- package/ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts +15 -1
- package/ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts +15 -1
- package/ts/types/Interface/models/IApiError.ts +4 -0
- package/ts/types/Interface/models/IEstimateInvoice.ts +3 -0
- package/ts/types/Interface/models/IPrestationHistory.ts +16 -0
- package/ts/types/Interface/models/ISocietyGescom.ts +4 -1
- package/ts/types/Interface/models/IThirdParty.ts +3 -0
- package/ts/types/index.ts +8 -0
- package/ts/utils/commercialManagement/document.ts +3 -1
- package/ts/utils/commercialManagement/templates/body.ts +3 -1
- package/ts/utils/commercialManagement/templates/common.ts +20 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.QueryCountByStatus = exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryInvoice = undefined;
|
|
6
|
+
exports.QueryCountByStatus = exports.QueryDocumentPaginated = exports.QueryPreviewDocument = exports.QueryNextReference = exports.QueryGetDefaultPayload = exports.QueryInvoice = undefined;
|
|
7
7
|
|
|
8
8
|
var _classValidator = require("class-validator");
|
|
9
9
|
|
|
@@ -43,6 +43,12 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
|
|
|
43
43
|
|
|
44
44
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsBoolean)(), (0, _boolean.ToBoolean)(), __metadata("design:type", Boolean)], QueryInvoice.prototype, "isDescending", void 0);
|
|
45
45
|
|
|
46
|
+
class QueryGetDefaultPayload {}
|
|
47
|
+
|
|
48
|
+
exports.QueryGetDefaultPayload = QueryGetDefaultPayload;
|
|
49
|
+
|
|
50
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], QueryGetDefaultPayload.prototype, "idEstimateInvoiceType", void 0);
|
|
51
|
+
|
|
46
52
|
class QueryNextReference {}
|
|
47
53
|
|
|
48
54
|
exports.QueryNextReference = QueryNextReference;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAeI,MAAOC,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;
|
|
1
|
+
{"version":3,"file":"Query.js","mappings":";;;;;;;AAAA;;AAIA;;AACA;;AACA;;AACA;;;;;;;;;;;;;;AAGM,MAAOA,YAAP,CAAmB;;QAAZA,Y,GAAAA,Y;;AAIXC,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,mCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAeI,MAAOC,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXD,YAFC,yBAED,EADC,+BACD;;AAGI,MAAOE,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXF,YAFC,yBAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAQI,MAAOG,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXH,YADC,yBACD;;AAGI,MAAOI,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXJ,YAFC,yBAED,EADC,8BACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,gCAED,EADC,yBACD;;AAGI,MAAOK,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAIXL,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,mCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAMAA,YAJC,iCAID,EAHC,gCAGD,EAFC,yBAED,EADC,iCACD","names":["QueryInvoice","__decorate","QueryGetDefaultPayload","QueryNextReference","QueryPreviewDocument","QueryDocumentPaginated","QueryCountByStatus"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/commercialManagement/Query.ts"],"sourcesContent":["import {\n IsArray, IsBoolean, IsDateString, IsNumber, IsOptional, IsString,\n} from 'class-validator';\nimport { Order } from 'sequelize/types';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { DiscountType, EstimateStatus, InvoiceStatus } from '../../../Enum/CommercialManagement';\nimport { EstimateInvoiceType } from '../../../Enum/EstimateInvoice';\nimport { QueryPaginate } from '../BasePaginate';\n\nexport class QueryInvoice {\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: InvoiceStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDescending?: boolean;\n}\n\nexport interface ParamPaginatedInvoices {\n idSociety: number;\n date?: {\n gte?: string;\n lte?: string;\n };\n status?: InvoiceStatus;\n search?: string;\n pagination: QueryPaginate;\n order?: Order;\n}\n\nexport class QueryGetDefaultPayload {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n}\n\nexport class QueryNextReference {\n @ApiProperty()\n @IsNumber()\n idEstimateInvoiceType: number;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}\n\nexport interface Discount {\n type: DiscountType,\n amount: number\n}\n\nexport class QueryPreviewDocument {\n @ApiProperty()\n idEstimateInvoiceType: EstimateInvoiceType;\n}\n\nexport class QueryDocumentPaginated {\n @ApiProperty()\n @IsArray()\n types: EstimateInvoiceType[];\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n status?: EstimateStatus;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n orderBy?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDescending?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n isDraft?: boolean;\n}\n\nexport class QueryCountByStatus {\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n maxDate?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n search?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isDraft?: boolean;\n}"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateQontoConnection = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class CreateQontoConnection {}
|
|
25
|
+
|
|
26
|
+
exports.CreateQontoConnection = CreateQontoConnection;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateQontoConnection.prototype, "login", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateQontoConnection.prototype, "password", void 0);
|
|
31
|
+
//# sourceMappingURL=CreateQontoConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateQontoConnection.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,qBAAP,CAA4B;;QAArBA,qB,GAAAA,qB;;AAGXC,YAFC,yBAED,EADC,+BACD;;AAIAA,YAFC,yBAED,EADC,+BACD","names":["CreateQontoConnection","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/CreateQontoConnection.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class CreateQontoConnection {\n @ApiProperty()\n @IsString()\n login: string;\n\n @ApiProperty()\n @IsString()\n password: string;\n}"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.GetConnectionInformation = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class GetConnectionInformation {}
|
|
25
|
+
|
|
26
|
+
exports.GetConnectionInformation = GetConnectionInformation;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsNumber)(), __metadata("design:type", Number)], GetConnectionInformation.prototype, "idBankConnection", void 0);
|
|
29
|
+
//# sourceMappingURL=GetConnectionInformation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetConnectionInformation.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,wBAAP,CAA+B;;QAAxBA,wB,GAAAA,wB;;AAGXC,YAFC,yBAED,EADC,+BACD","names":["GetConnectionInformation","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/GetConnectionInformation.ts"],"sourcesContent":["import { IsNumber } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class GetConnectionInformation {\n @ApiProperty()\n @IsNumber()\n idBankConnection: number;\n}"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ProcessBankAccount = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class ProcessBankAccount {}
|
|
25
|
+
|
|
26
|
+
exports.ProcessBankAccount = ProcessBankAccount;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], ProcessBankAccount.prototype, "idsSlugToAdd", void 0);
|
|
29
|
+
|
|
30
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsArray)(), __metadata("design:type", Array)], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
|
|
31
|
+
//# sourceMappingURL=ProcessBankAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessBankAccount.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,kBAAP,CAAyB;;QAAlBA,kB,GAAAA,kB;;AAGXC,YAFC,yBAED,EADC,8BACD,4BAAcC,MAAd;;AAIAD,YAFC,yBAED,EADC,8BACD,4BAAiBC,MAAjB","names":["ProcessBankAccount","__decorate","Array"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/ProcessBankAccount.ts"],"sourcesContent":["import { IsArray } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class ProcessBankAccount {\n @ApiProperty()\n @IsArray()\n idsSlugToAdd: Array<string>;\n\n @ApiProperty()\n @IsArray()\n idsSlugToRemove: Array<string>;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadCreateConnection.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.UpdateConnection = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class UpdateConnection {}
|
|
25
|
+
|
|
26
|
+
exports.UpdateConnection = UpdateConnection;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], UpdateConnection.prototype, "password", void 0);
|
|
29
|
+
//# sourceMappingURL=UpdateConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateConnection.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,gBAAP,CAAuB;;QAAhBA,gB,GAAAA,gB;;AAGXC,YAFC,yBAED,EADC,+BACD","names":["UpdateConnection","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/UpdateConnection.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class UpdateConnection {\n @ApiProperty()\n @IsString()\n password: string;\n}"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.CreateStripeConnection = undefined;
|
|
7
|
+
|
|
8
|
+
var _classValidator = require("class-validator");
|
|
9
|
+
|
|
10
|
+
var _utils = require("../../../../utils");
|
|
11
|
+
|
|
12
|
+
var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length,
|
|
14
|
+
r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
|
|
15
|
+
d;
|
|
16
|
+
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;
|
|
17
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
var __metadata = undefined && undefined.__metadata || function (k, v) {
|
|
21
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
class CreateStripeConnection {}
|
|
25
|
+
|
|
26
|
+
exports.CreateStripeConnection = CreateStripeConnection;
|
|
27
|
+
|
|
28
|
+
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsString)(), __metadata("design:type", String)], CreateStripeConnection.prototype, "code", void 0);
|
|
29
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","mappings":";;;;;;;AAAA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,sBAAP,CAA6B;;QAAtBA,sB,GAAAA,sB;;AAGXC,YAFC,yBAED,EADC,+BACD","names":["CreateStripeConnection","__decorate"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/stripe/Create.ts"],"sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}"]}
|
|
@@ -66,4 +66,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)
|
|
|
66
66
|
__decorate([(0, _utils.ApiPropertyOptional)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "idCountry", void 0);
|
|
67
67
|
|
|
68
68
|
__decorate([(0, _utils.ApiProperty)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], CreateThirdPartyForm.prototype, "idThirdPartyType", void 0);
|
|
69
|
+
|
|
70
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "deliveryAddress", void 0);
|
|
71
|
+
|
|
72
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "deliveryCity", void 0);
|
|
73
|
+
|
|
74
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], CreateThirdPartyForm.prototype, "deliveryZipCode", void 0);
|
|
69
75
|
//# sourceMappingURL=CreateThirdPartyForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,gBAAP,CACD","names":["CreateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateThirdPartyForm {\n @ApiPropertyOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n fullnameAccountant?: string | null;\n\n @ApiProperty()\n company: string;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n nTva?: string | null;\n\n @ApiProperty()\n soldeInit: number;\n\n @ApiPropertyOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n dateImport?: Date | null;\n\n @ApiProperty()\n isGeneric: boolean;\n\n @ApiPropertyOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n idCountry?: number | null;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: ThirdPartyType;\n}"]}
|
|
1
|
+
{"version":3,"file":"CreateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAEXC,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,yBACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAGAA,YADC,iCACD;;AAIAA,YAFC,yBAED,EADC,4BAAOC,gBAAP,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,iCAED,EADC,iCACD","names":["CreateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateThirdPartyForm {\n @ApiPropertyOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n fullnameAccountant?: string | null;\n\n @ApiProperty()\n company: string;\n\n @ApiPropertyOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n nTva?: string | null;\n\n @ApiProperty()\n soldeInit: number;\n\n @ApiPropertyOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n dateImport?: Date | null;\n\n @ApiProperty()\n isGeneric: boolean;\n\n @ApiPropertyOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n idCountry?: number | null;\n\n @ApiProperty()\n @IsEnum(ThirdPartyType)\n idThirdPartyType: ThirdPartyType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryAddress: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryCity: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n deliveryZipCode: string | null;\n}"]}
|
|
@@ -66,4 +66,10 @@ __decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)()
|
|
|
66
66
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "idCountry", void 0);
|
|
67
67
|
|
|
68
68
|
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsEnum)(_.ThirdPartyType), __metadata("design:type", Number)], UpdateThirdPartyForm.prototype, "idThirdPartyType", void 0);
|
|
69
|
+
|
|
70
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "deliveryAddress", void 0);
|
|
71
|
+
|
|
72
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), (0, _classValidator.IsString)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "deliveryCity", void 0);
|
|
73
|
+
|
|
74
|
+
__decorate([(0, _utils.ApiPropertyOptional)(), (0, _classValidator.IsOptional)(), __metadata("design:type", Object)], UpdateThirdPartyForm.prototype, "deliveryZipCode", void 0);
|
|
69
75
|
//# sourceMappingURL=UpdateThirdPartyForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD","names":["UpdateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateThirdPartyForm {\n @ApiPropertyOptional()\n @IsOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullnameAccountant?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n company?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nTva?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n soldeInit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n dateImport?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n idThirdPartyType?: ThirdPartyType;\n}"]}
|
|
1
|
+
{"version":3,"file":"UpdateThirdPartyForm.js","mappings":";;;;;;;AAAA;;AACA;;AACA;;;;;;;;;;;;;;AAEM,MAAOA,oBAAP,CAA2B;;QAApBA,oB,GAAAA,oB;;AAGXC,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAIAA,YAFC,iCAED,EADC,iCACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,4BAAOC,gBAAP,CACD;;AAKAD,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAKAA,YAHC,iCAGD,EAFC,iCAED,EADC,+BACD;;AAIAA,YAFC,iCAED,EADC,iCACD","names":["UpdateThirdPartyForm","__decorate","ThirdPartyType"],"sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"sourcesContent":["import { IsEnum, IsOptional, IsString } from 'class-validator';\nimport { ThirdPartyType } from '../../..';\nimport { ApiPropertyOptional } from '../../../../utils';\n\nexport class UpdateThirdPartyForm {\n @ApiPropertyOptional()\n @IsOptional()\n budgeaSouscriptionId?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullname?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n fullnameAccountant?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n company?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n address?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n zipCode?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n city?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n phone?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n email?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nSiret?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n nTva?: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n soldeInit?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n state?: boolean | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n dateImport?: Date | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n isGeneric?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n juridicalSociety?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idTypePayment?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idAccount?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n idCountry?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsEnum(ThirdPartyType)\n idThirdPartyType?: ThirdPartyType;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryAddress: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n deliveryCity: string | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n deliveryZipCode: string | null;\n}"]}
|
|
@@ -27,7 +27,8 @@ var Code = exports.Code = undefined;
|
|
|
27
27
|
Code["serviceUnavailable"] = "service_unavailable";
|
|
28
28
|
Code["notImplemented"] = "not_implemented";
|
|
29
29
|
Code["unknown"] = "unknown";
|
|
30
|
-
Code["formatNotAuthorized"] = "format_not_authorized";
|
|
30
|
+
Code["formatNotAuthorized"] = "format_not_authorized";
|
|
31
|
+
Code["CONNECTION_ALREADY_EXIST"] = "connection_already_exist"; // Annotation Error
|
|
31
32
|
|
|
32
33
|
Code["failedCheckBalance"] = "failed_check_balance";
|
|
33
34
|
Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
|
|
@@ -136,7 +137,9 @@ var Code = exports.Code = undefined;
|
|
|
136
137
|
Code["fetchTransactionsFailed"] = "fetch_transactions_failed";
|
|
137
138
|
Code["fetchNewTokenFailed"] = "fetch_new_token_failed";
|
|
138
139
|
Code["bankAccountDesactivationFailed"] = "bank_account_desactivation_failed";
|
|
139
|
-
Code["udpateTokenFailed"] = "update_token_failed"; //
|
|
140
|
+
Code["udpateTokenFailed"] = "update_token_failed"; // qonto
|
|
141
|
+
|
|
142
|
+
Code["CONNECTION_ALREADY_EXISTS"] = "CONNECTION_ALREADY_EXISTS"; // Accounts
|
|
140
143
|
|
|
141
144
|
Code["GENERIC_ACCOUNT_NOT_FOUND"] = "GENERIC_ACCOUNT_NOT_FOUND"; // Balance Sheet Questions
|
|
142
145
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.js","mappings":";;;;;AAAA,IAAYA,SAIX,WAJWA,SAIX,YAJD;;AAAA,WAAYA,SAAZ,EAAqB;EACnBA;EACAA;EACAA;AACD,CAJD,EAAYA,SAAS,aAATA,SAAS,GAATA,SAAS,MAArB;;AAMA,IAAYC,IA0KX,WA1KWA,IA0KX,YA1KD;;AAAA,WAAYA,IAAZ,EAAgB;EACd;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDAdc,CAgBd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,+CA1Cc,CA4Cd;;EACAA;EACAA;EACAA,mCA/Cc,CAiDd;;EACAA;EACAA;EACAA;EACAA;EACAA,0CAtDc,CAwDd;;EACAA;EACAA,sEA1Dc,CA4Dd;;EACAA,qEA7Dc,CA+Dd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA5Fc,CA8Fd;;EACAA,+DA/Fc,CAiGd;;EACAA;EACAA,yDAnGc,CAqGd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8CAhHc,CAkHd;;EACAA;EACAA,oCApHc,CAsHd;;EACAA;EACAA;EACAA;EACAA;EACAA;EAEAA,4CA7Hc,CA+Hd;;EACAA,4CAhIc,CAkId;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDAzIc,CA2Id;;EACAA,gEA5Ic,CA8Id;;EACAA;EACAA;EACAA;EACAA,oFAlJc,CAoJd;;EACAA;EACAA,oDAtJc,CAwJd;;EACAA,sDAzJc,CA2Jd;;EACAA;EAEAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDApKc,CAsKd;;EACAA;EACAA;EACAA;AACD,CA1KD,EAAYA,IAAI,aAAJA,IAAI,GAAJA,IAAI,MAAhB","names":["ErrorType","Code"],"sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeWithAssetCanOnlyBeSetForDebit = 'vat_marge_with_asset_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n INVALID_BRAND = 'invalid_brand',\n INVALID_DAY = 'invalid_day',\n ENTITY_ALREADY_EXIST = 'entity_already_exist',\n\n // Gescom\n CAN_NOT_DELETE_DOCUMENT = 'can_not_delete_document',\n CAN_NOT_EDIT_INVOICE = 'can_not_edit_invoice',\n INVALID_INVOICE_TYPE = 'invalid_invoice_type',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IApiError.js","mappings":";;;;;AAAA,IAAYA,SAIX,WAJWA,SAIX,YAJD;;AAAA,WAAYA,SAAZ,EAAqB;EACnBA;EACAA;EACAA;AACD,CAJD,EAAYA,SAAS,aAATA,SAAS,GAATA,SAAS,MAArB;;AAMA,IAAYC,IA8KX,WA9KWA,IA8KX,YA9KD;;AAAA,WAAYA,IAAZ,EAAgB;EACd;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8DAfc,CAiBd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,+CA3Cc,CA6Cd;;EACAA;EACAA;EACAA,mCAhDc,CAkDd;;EACAA;EACAA;EACAA;EACAA;EACAA,0CAvDc,CAyDd;;EACAA;EACAA,sEA3Dc,CA6Dd;;EACAA,qEA9Dc,CAgEd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA7Fc,CA+Fd;;EACAA,+DAhGc,CAkGd;;EACAA;EACAA,yDApGc,CAsGd;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,8CAjHc,CAmHd;;EACAA;EACAA,oCArHc,CAuHd;;EACAA;EACAA;EACAA;EACAA;EACAA;EAEAA,4CA9Hc,CAgId;;EACAA,4CAjIc,CAmId;;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,kDA1Ic,CA4Id;;EACAA,gEA7Ic,CA+Id;;EACAA,gEAhJc,CAkJd;;EACAA;EACAA;EACAA;EACAA,oFAtJc,CAwJd;;EACAA;EACAA,oDA1Jc,CA4Jd;;EACAA,sDA7Jc,CA+Jd;;EACAA;EAEAA;EACAA;EACAA;EACAA;EACAA;EACAA;EACAA,sDAxKc,CA0Kd;;EACAA;EACAA;EACAA;AACD,CA9KD,EAAYA,IAAI,aAAJA,IAAI,GAAJA,IAAI,MAAhB","names":["ErrorType","Code"],"sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"sourcesContent":["export enum ErrorType {\n apiError = 'api_error',\n authError = 'authentication_error',\n resourceError = 'rsc_error',\n}\n\nexport enum Code {\n // HTTP Error\n tokenFailure = 'token_authentication_failure',\n authenticationFailure = 'authentication_credentials_failure',\n notFound = 'resource_not_found',\n fileNotFound = 'file_not_found',\n validationError = 'resource_validation_error',\n constraintError = 'resource_constraint_error',\n outOfRange = 'resource_ofr',\n internalServerError = 'internal_server_error',\n constraintKeyError = 'resource_fk_error',\n serviceUnavailable = 'service_unavailable',\n notImplemented = 'not_implemented',\n unknown = 'unknown',\n formatNotAuthorized = 'format_not_authorized',\n CONNECTION_ALREADY_EXIST = 'connection_already_exist',\n\n // Annotation Error\n failedCheckBalance = 'failed_check_balance',\n vatIntracomCanOnlyBeSetForDebit = 'vat_intracom_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetForCredit = 'vat_marge_can_only_be_set_for_credit',\n vatMargeWithAssetCanOnlyBeSetForDebit = 'vat_marge_with_asset_can_only_be_set_for_debit',\n vatMargeCanOnlyBeSetIfAmountAllTaxIncludedPurchaseIsSet = 'vat_marge_can_only_be_set_if_amount_all_tax_included_purchase_is_set',\n missingParamSplit = 'missing_param_split',\n totalAmountSplitNotEqualTransaction = 'total_amount_split_not_equal_transaction',\n vatManuelIsSetWithNegativeValue = 'vat_manuel_is_set_with_negative_value',\n vatManuelIsNotSetWithSpecialVat = 'vat_manuel_is_not_set_with_special_vat',\n vatManuelCannotBeSetWithSplit = 'vat_manuel_cannot_be_set_with_split',\n vatNotAuthorizeWithThisAccount = 'vat_not_authorize_with_this_account',\n transactionIsAlreadyExported = 'transaction_is_already_exported',\n thirdPartyIsNotFound = 'third_party_is_not_found',\n accountIsNotFound = 'account_is_not_found',\n immobilizationNotSetWithAccountStartTwo = 'immobilization_not_set_with_account_start_two',\n immobilizationCanOnlyBeSetForDebit = 'immobilization_can_only_be_set_for_debit',\n immobilizationCanNotBeSetWithoutAccount = 'immobilization_can_not_be_set_without_account',\n immobilizationNotExist = 'immobilization_not_exist',\n accountIsNotDepreciable = 'account_is_not_depreciable',\n invalidNetBookValue = 'invalid_net_book_value',\n noExerciceFoundForImmobilization = 'no_exercice_found_for_immobilization',\n amountImmobilizationLessThanAmountTransaction = 'amount_immobilization_less_than_amount_transaction',\n amountImmobilizationLessThanAmountAllTaxIncluded = 'amount_immobilization_less_than_amount_all_tax_included',\n amountImmobilizationIsGreaterThanTotalAmountTransactions = 'amount_immobilization_is_greater_than_total_amount_transactions',\n immobilizationNotFound = 'immobilization_not_found',\n annotationFailed = 'annotation_failed',\n\n // PDF error\n mergeFailed = 'merge_failed',\n generationError = 'generation_error',\n parseError = 'parse_error',\n\n // Email error\n emailAlreadyExist = 'email_already_exist',\n phoneAlreadyExist = 'phone_already_exist',\n societyCustomEmailAlreadyExist = 'society_custom_email_already_exist',\n societyCustomEmailNotFound = 'society_custom_email_not_found',\n emailNotFound = 'email_not_found',\n\n // BankAccount\n missingParamAccountNumber = 'missing_param_account_number',\n accountNumberParamNotFound = 'account_number_param_not_found',\n\n // Income statement\n invalidIncomeStatementList = 'invalid_income_statement_list',\n\n // Shine errors\n AUTHORIZATION_CLIENT_NOT_FOUND = 'AUTHORIZATION_CLIENT_NOT_FOUND',\n AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH = 'AUTHORIZATION_CLIENT_SECRET_DOES_NOT_MATCH',\n AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AVAILABLE',\n AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED = 'AUTHORIZATION_REQUESTED_SCOPE_NOT_AUTHORIZED',\n AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID = 'AUTHORIZATION_REQUESTED_SCOPE_MISSING_OPENID',\n AUTHORIZATION_CLIENT_STATUS_NOT_VALID = 'AUTHORIZATION_CLIENT_STATUS_NOT_VALID',\n AUTHORIZATION_CODE_MISSING = 'AUTHORIZATION_CODE_MISSING',\n AUTHORIZATION_CODE_NOT_FOUND = 'AUTHORIZATION_CODE_NOT_FOUND',\n AUTHORIZATION_CODE_ALREADY_USED = 'AUTHORIZATION_CODE_ALREADY_USED',\n AUTHORIZATION_CODE_EXPIRED = 'AUTHORIZATION_CODE_EXPIRED',\n AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_CODE_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_ACCESS_TOKEN_EXPIRED = 'AUTHORIZATION_ACCESS_TOKEN_EXPIRED',\n AUTHORIZATION_INVALID_ACCESS_TOKEN = 'AUTHORIZATION_INVALID_ACCESS_TOKEN',\n AUTHORIZATION_MISSING_ACCESS_TOKEN = 'AUTHORIZATION_MISSING_ACCESS_TOKEN',\n AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE = 'AUTHORIZATION_ACCESS_TOKEN_WRONG_AUDIENCE',\n AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE = 'AUTHORIZATION_ACCESS_TOKEN_MISSING_SCOPE',\n AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN = 'AUTHORIZATION_ACCESS_TOKEN_FORBIDDEN',\n AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE = 'AUTHORIZATION_UNSUPPORTED_RESPONSE_TYPE',\n AUTHORIZATION_UNSUPPORTED_GRANT_TYPE = 'AUTHORIZATION_UNSUPPORTED_GRANT_TYPE',\n AUTHORIZATION_REFRESH_TOKEN_MISSING = 'AUTHORIZATION_REFRESH_TOKEN_MISSING',\n AUTHORIZATION_REFRESH_TOKEN_EXPIRED = 'AUTHORIZATION_REFRESH_TOKEN_EXPIRED',\n AUTHORIZATION_REFRESH_TOKEN_INVALID = 'AUTHORIZATION_REFRESH_TOKEN_INVALID',\n AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH = 'AUTHORIZATION_REFRESH_TOKEN_REDIRECT_URI_DOES_NOT_MATCH',\n AUTHORIZATION_REFRESH_TOKEN_REVOKED = 'AUTHORIZATION_REFRESH_TOKEN_REVOKED',\n AUTHORIZATION_USER_NOT_AUTHORIZED = 'AUTHORIZATION_USER_NOT_AUTHORIZED',\n responseNotManaged = 'response_not_managed',\n bankAccountsError = 'bank_accounts_error',\n refreshTokenError = 'refresh_token_error',\n\n // Balance Sheet\n invalidBalanceSheetList = 'invalid_balance_sheet_list',\n\n // FecFile\n insertAccountingTransactionFailed = 'insert_accounting_transaction_failed',\n fecFileAlreadyExists = 'fec_file_already_exists',\n\n // User creation\n userAlreadyExistWithSociety = 'user-already-exists',\n userDoesNotExists = 'user-does-not-exist',\n userPermissionDoesNotExists = 'user-permission-does-not-exist',\n expiredSmsCode = 'expired-sms-code',\n userNotInFmaProcess = 'user-not-in-maf-process',\n wrongSmsCode = 'wrong-sms-code',\n userEmailAndPhoneAlreadyExist = 'user-username-and-phone-already-exist',\n userEmailAlreadyExist = 'user-username-already-exists',\n userPhoneAlreadyExist = 'user-phone-already-exists',\n couldNotFindUser = 'could-not-find-user',\n wrongBrandEmail = 'wrong-brand-email',\n\n // Cerfa\n civilityNotFound = 'civility_not_found',\n invalidData = 'invalidData',\n\n // Sponsorship\n emailAlreadyUsedForsponsorship = 'email_already_used_for_sponsorship',\n idSocietyAlreadyUsedForsponsorship = 'idSociety_already_used_for_sponsorship',\n sponsorshipCodeDoesntExist = 'sponsorship_code_doesnt_exist',\n sponsorshipLinkDoesntExist = 'sponsorship_link_doesnt_exist',\n societyNotFound = 'society_not_found',\n\n payloadIsEmpty = 'payload_is_empty',\n\n // PromoCode\n wrongPromoCode = 'wrong_promo_code',\n\n // Budget Fetch\n fetchNewBudgetInvalidSociety = 'fetch_new_budget_invalid_idSociety',\n fetchConnectionFailed = 'fetch_connection_failed',\n fetchBankAccountFailed = 'fetch_bank_account_failed',\n fetchTransactionsFailed = 'fetch_transactions_failed',\n fetchNewTokenFailed = 'fetch_new_token_failed',\n bankAccountDesactivationFailed = 'bank_account_desactivation_failed',\n udpateTokenFailed = 'update_token_failed',\n\n // qonto\n CONNECTION_ALREADY_EXISTS = 'CONNECTION_ALREADY_EXISTS',\n\n // Accounts\n GENERIC_ACCOUNT_NOT_FOUND = 'GENERIC_ACCOUNT_NOT_FOUND',\n\n // Balance Sheet Questions\n UNKNOWN_ANSWER_VALUE = 'UNKNOWN_ANSWER_VALUE',\n QUESTION_NOT_FOUND = 'QUESTION_NOT_FOUND',\n QUESTION_DO_NOT_MATCH = 'QUESTION_DO_NOT_MATCH',\n QUESTION_ALREADY_EXISTS_IN_EXERCICE = 'QUESTION_ALREADY_EXISTS_IN_EXERCICE',\n\n // Fiscal period closing\n EXERCICE_ALREADY_CLOSED = 'EXERCICE_ALREADY_CLOSED',\n MISSING_ANNOTATIONS = 'MISSING_ANNOTATIONS',\n\n // jeDeclare errors\n ERR_INVALID_ARG_TYPE = 'ERR_INVALID_ARG_TYPE',\n\n // Society Vehicles\n MISSING_REGISTRATION_CARD = 'MISSING_REGISTRATION_CARD',\n\n PREVIOUS_CHECKLIST_NOT_COMPLETED = 'previous_checklist_not_completed',\n CAN_NOT_EDIT_COMPLETED_ISSUE = 'can_not_edit_completed_issue',\n CAN_NOT_CONFIRM_CHECKLIST = 'can_not_confirm_checklist',\n CHECKLIST_ALREADY_EXIST = 'checklist_already_exist',\n INVALID_BRAND = 'invalid_brand',\n INVALID_DAY = 'invalid_day',\n ENTITY_ALREADY_EXIST = 'entity_already_exist',\n\n // Gescom\n CAN_NOT_DELETE_DOCUMENT = 'can_not_delete_document',\n CAN_NOT_EDIT_INVOICE = 'can_not_edit_invoice',\n INVALID_INVOICE_TYPE = 'invalid_invoice_type',\n}\n\nexport interface IApiError {\n type: ErrorType;\n code: Code;\n message: string;\n param?: string;\n field?: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPrestationHistory.js","mappings":"","names":[],"sourceRoot":"","sources":[],"sourcesContent":[]}
|
package/js/types/index.js
CHANGED
|
@@ -1720,6 +1720,18 @@ Object.keys(_IPhonePrefixChild).forEach(function (key) {
|
|
|
1720
1720
|
});
|
|
1721
1721
|
});
|
|
1722
1722
|
|
|
1723
|
+
var _IPrestationHistory = require("./Interface/models/IPrestationHistory");
|
|
1724
|
+
|
|
1725
|
+
Object.keys(_IPrestationHistory).forEach(function (key) {
|
|
1726
|
+
if (key === "default" || key === "__esModule") return;
|
|
1727
|
+
Object.defineProperty(exports, key, {
|
|
1728
|
+
enumerable: true,
|
|
1729
|
+
get: function () {
|
|
1730
|
+
return _IPrestationHistory[key];
|
|
1731
|
+
}
|
|
1732
|
+
});
|
|
1733
|
+
});
|
|
1734
|
+
|
|
1723
1735
|
var _IPrestation = require("./Interface/models/IPrestation");
|
|
1724
1736
|
|
|
1725
1737
|
Object.keys(_IPrestation).forEach(function (key) {
|
|
@@ -5200,6 +5212,18 @@ Object.keys(_RecurrenceType).forEach(function (key) {
|
|
|
5200
5212
|
});
|
|
5201
5213
|
});
|
|
5202
5214
|
|
|
5215
|
+
var _Rules = require("./Enum/Rules");
|
|
5216
|
+
|
|
5217
|
+
Object.keys(_Rules).forEach(function (key) {
|
|
5218
|
+
if (key === "default" || key === "__esModule") return;
|
|
5219
|
+
Object.defineProperty(exports, key, {
|
|
5220
|
+
enumerable: true,
|
|
5221
|
+
get: function () {
|
|
5222
|
+
return _Rules[key];
|
|
5223
|
+
}
|
|
5224
|
+
});
|
|
5225
|
+
});
|
|
5226
|
+
|
|
5203
5227
|
var _ReadPartnerTransactionType = require("./Interface/api/partnerTransactionType/ReadPartnerTransactionType");
|
|
5204
5228
|
|
|
5205
5229
|
Object.keys(_ReadPartnerTransactionType).forEach(function (key) {
|
|
@@ -9184,6 +9208,78 @@ Object.keys(_CreateImportation).forEach(function (key) {
|
|
|
9184
9208
|
});
|
|
9185
9209
|
});
|
|
9186
9210
|
|
|
9211
|
+
var _Create3 = require("./Interface/api/stripe/Create");
|
|
9212
|
+
|
|
9213
|
+
Object.keys(_Create3).forEach(function (key) {
|
|
9214
|
+
if (key === "default" || key === "__esModule") return;
|
|
9215
|
+
Object.defineProperty(exports, key, {
|
|
9216
|
+
enumerable: true,
|
|
9217
|
+
get: function () {
|
|
9218
|
+
return _Create3[key];
|
|
9219
|
+
}
|
|
9220
|
+
});
|
|
9221
|
+
});
|
|
9222
|
+
|
|
9223
|
+
var _UpdateConnection = require("./Interface/api/qonto/UpdateConnection");
|
|
9224
|
+
|
|
9225
|
+
Object.keys(_UpdateConnection).forEach(function (key) {
|
|
9226
|
+
if (key === "default" || key === "__esModule") return;
|
|
9227
|
+
Object.defineProperty(exports, key, {
|
|
9228
|
+
enumerable: true,
|
|
9229
|
+
get: function () {
|
|
9230
|
+
return _UpdateConnection[key];
|
|
9231
|
+
}
|
|
9232
|
+
});
|
|
9233
|
+
});
|
|
9234
|
+
|
|
9235
|
+
var _CreateQontoConnection = require("./Interface/api/qonto/CreateQontoConnection");
|
|
9236
|
+
|
|
9237
|
+
Object.keys(_CreateQontoConnection).forEach(function (key) {
|
|
9238
|
+
if (key === "default" || key === "__esModule") return;
|
|
9239
|
+
Object.defineProperty(exports, key, {
|
|
9240
|
+
enumerable: true,
|
|
9241
|
+
get: function () {
|
|
9242
|
+
return _CreateQontoConnection[key];
|
|
9243
|
+
}
|
|
9244
|
+
});
|
|
9245
|
+
});
|
|
9246
|
+
|
|
9247
|
+
var _GetConnectionInformation = require("./Interface/api/qonto/GetConnectionInformation");
|
|
9248
|
+
|
|
9249
|
+
Object.keys(_GetConnectionInformation).forEach(function (key) {
|
|
9250
|
+
if (key === "default" || key === "__esModule") return;
|
|
9251
|
+
Object.defineProperty(exports, key, {
|
|
9252
|
+
enumerable: true,
|
|
9253
|
+
get: function () {
|
|
9254
|
+
return _GetConnectionInformation[key];
|
|
9255
|
+
}
|
|
9256
|
+
});
|
|
9257
|
+
});
|
|
9258
|
+
|
|
9259
|
+
var _ProcessBankAccount = require("./Interface/api/qonto/ProcessBankAccount");
|
|
9260
|
+
|
|
9261
|
+
Object.keys(_ProcessBankAccount).forEach(function (key) {
|
|
9262
|
+
if (key === "default" || key === "__esModule") return;
|
|
9263
|
+
Object.defineProperty(exports, key, {
|
|
9264
|
+
enumerable: true,
|
|
9265
|
+
get: function () {
|
|
9266
|
+
return _ProcessBankAccount[key];
|
|
9267
|
+
}
|
|
9268
|
+
});
|
|
9269
|
+
});
|
|
9270
|
+
|
|
9271
|
+
var _ReadCreateConnection = require("./Interface/api/qonto/ReadCreateConnection");
|
|
9272
|
+
|
|
9273
|
+
Object.keys(_ReadCreateConnection).forEach(function (key) {
|
|
9274
|
+
if (key === "default" || key === "__esModule") return;
|
|
9275
|
+
Object.defineProperty(exports, key, {
|
|
9276
|
+
enumerable: true,
|
|
9277
|
+
get: function () {
|
|
9278
|
+
return _ReadCreateConnection[key];
|
|
9279
|
+
}
|
|
9280
|
+
});
|
|
9281
|
+
});
|
|
9282
|
+
|
|
9187
9283
|
var _Util4 = require("./Interface/enum/Util");
|
|
9188
9284
|
|
|
9189
9285
|
Object.keys(_Util4).forEach(function (key) {
|