@silexpert/core 1.0.15 → 1.0.19
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/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/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 +5 -1
- package/es/types/Interface/api/commercialManagement/Create.d.ts.map +1 -1
- package/es/types/Interface/api/commercialManagement/Create.js +23 -1
- package/es/types/Interface/api/commercialManagement/Create.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 +3 -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/CommercialSetting.js +8 -0
- package/js/api/resources/CommercialSetting.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 +11 -1
- package/js/types/Interface/api/commercialManagement/Create.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/CommercialSetting.ts +11 -1
- 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 +19 -2
- 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 +3 -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
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty } from '../../../../utils';
|
|
12
|
+
export class CreateQontoConnection {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ApiProperty(),
|
|
16
|
+
IsString(),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], CreateQontoConnection.prototype, "login", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
ApiProperty(),
|
|
21
|
+
IsString(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], CreateQontoConnection.prototype, "password", void 0);
|
|
24
|
+
//# sourceMappingURL=CreateQontoConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateQontoConnection.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/CreateQontoConnection.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,qBAAqB;CAQjC;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACG;AAId;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;uDACM","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 @@
|
|
|
1
|
+
{"version":3,"file":"GetConnectionInformation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/GetConnectionInformation.ts"],"names":[],"mappings":"AAGA,qBAAa,wBAAwB;IAGnC,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsNumber } from 'class-validator';
|
|
11
|
+
import { ApiProperty } from '../../../../utils';
|
|
12
|
+
export class GetConnectionInformation {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ApiProperty(),
|
|
16
|
+
IsNumber(),
|
|
17
|
+
__metadata("design:type", Number)
|
|
18
|
+
], GetConnectionInformation.prototype, "idBankConnection", void 0);
|
|
19
|
+
//# sourceMappingURL=GetConnectionInformation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetConnectionInformation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/GetConnectionInformation.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,wBAAwB;CAIpC;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACc","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 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessBankAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/ProcessBankAccount.ts"],"names":[],"mappings":"AAGA,qBAAa,kBAAkB;IAG7B,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAI5B,eAAe,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsArray } from 'class-validator';
|
|
11
|
+
import { ApiProperty } from '../../../../utils';
|
|
12
|
+
export class ProcessBankAccount {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ApiProperty(),
|
|
16
|
+
IsArray(),
|
|
17
|
+
__metadata("design:type", Array)
|
|
18
|
+
], ProcessBankAccount.prototype, "idsSlugToAdd", void 0);
|
|
19
|
+
__decorate([
|
|
20
|
+
ApiProperty(),
|
|
21
|
+
IsArray(),
|
|
22
|
+
__metadata("design:type", Array)
|
|
23
|
+
], ProcessBankAccount.prototype, "idsSlugToRemove", void 0);
|
|
24
|
+
//# sourceMappingURL=ProcessBankAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProcessBankAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/ProcessBankAccount.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,kBAAkB;CAQ9B;AALC;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACI,KAAK;wDAAS;AAI5B;IAFC,WAAW,EAAE;IACb,OAAO,EAAE;8BACO,KAAK;2DAAS","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}"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare type QontoOrganisationBankAccount = {
|
|
1
|
+
export declare type QontoOrganisationBankAccount = {
|
|
2
2
|
slug: string;
|
|
3
3
|
iban: string;
|
|
4
4
|
bic: string | null;
|
|
@@ -74,5 +74,4 @@ export declare type GetQontoAttachment = {
|
|
|
74
74
|
url: string | null;
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
|
-
export {};
|
|
78
77
|
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"AAAA,oBAAY,4BAA4B,GAAG;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,wBAAwB,EAAE,MAAM,CAAC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,QAAQ,GAAG,QAAQ,CAAC;CAC7B,CAAC;AAEF,oBAAY,oBAAoB,GAAG;IACjC,YAAY,EAAE;QACZ,IAAI,EAAE,MAAM,CAAC;QACb,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;QAC1B,aAAa,EAAE,4BAA4B,EAAE,CAAC;KAC/C,CAAA;CACF,CAAC;AAEF,oBAAY,4BAA4B,GAAG;IACzC,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,IAAI,EAAE;QACJ,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QACzB,WAAW,EAAE,MAAM,CAAC;QACpB,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAA;CACF,CAAC;AAEF,oBAAY,gBAAgB,GAAG;IAC7B,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,cAAc,EAAE,MAAM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pB,CAAA;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"","sourcesContent":["type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n }\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n }\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[],\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean,\n attachment_required: boolean,\n card_last_digits: string | null,\n category: string | null,\n id: string | null\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size:string;\n url: string | null;\n }\n};"]}
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/Query.ts"],"names":[],"mappings":"","sourcesContent":["export type QontoOrganisationBankAccount = {\n slug: string;\n iban: string;\n bic: string | null;\n currency: string;\n balance: number;\n balance_cents: number;\n authorized_balance: number;\n authorized_balance_cents: number;\n updated_at: string;\n status: 'active' | 'closed';\n};\n\nexport type GetQontoOrganization = {\n organization: {\n slug: string;\n legal_name: string | null;\n bank_accounts: QontoOrganisationBankAccount[];\n }\n};\n\nexport type GetQontoTransactionsResponse = {\n transactions: QontoTransaction[];\n meta: {\n current_page: number;\n next_page: number | null;\n prev_page: number | null;\n total_pages: number;\n total_count: number;\n per_page: number;\n }\n};\n\nexport type QontoTransaction = {\n transaction_id: string;\n amount: number;\n amount_cents: number;\n settled_balance: number;\n settled_balance_cents: number;\n attachment_ids: string[],\n local_amount: number;\n local_amount_cents: number;\n side: string;\n operation_type: string;\n currency: string;\n local_currency: string;\n label: string;\n settled_at: string;\n emitted_at: string;\n updated_at: string;\n status: string;\n note: string;\n reference: string | null;\n vat_amount: number | null;\n vat_amount_cents: number | null;\n vat_rate: number | null;\n initiator_id: string | null;\n label_ids: string[];\n attachment_lost: boolean,\n attachment_required: boolean,\n card_last_digits: string | null,\n category: string | null,\n id: string | null\n};\n\nexport type GetQontoAttachment = {\n id: string;\n created_at: string;\n file_name: string;\n file_size: string;\n file_content_type: string;\n url: string;\n probative_attachment: {\n status: string;\n file_name: string;\n file_content_type: string;\n file_size:string;\n url: string | null;\n }\n};"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadCreateConnection.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/ReadCreateConnection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE/C,MAAM,WAAW,oBAAoB;IACnC,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,oBAAoB,CAAC;CACvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadCreateConnection.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/ReadCreateConnection.ts"],"names":[],"mappings":"","sourcesContent":["import { GetQontoOrganization } from './Query';\n\nexport interface ReadCreateConnection {\n idBankConnection: number;\n qontoConnection: GetQontoOrganization;\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateConnection.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/UpdateConnection.ts"],"names":[],"mappings":"AAGA,qBAAa,gBAAgB;IAG3B,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty } from '../../../../utils';
|
|
12
|
+
export class UpdateConnection {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ApiProperty(),
|
|
16
|
+
IsString(),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], UpdateConnection.prototype, "password", void 0);
|
|
19
|
+
//# sourceMappingURL=UpdateConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateConnection.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/qonto/UpdateConnection.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,gBAAgB;CAI5B;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kDACM","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 @@
|
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAGA,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
|
+
};
|
|
10
|
+
import { IsString } from 'class-validator';
|
|
11
|
+
import { ApiProperty } from '../../../../utils';
|
|
12
|
+
export class CreateStripeConnection {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ApiProperty(),
|
|
16
|
+
IsString(),
|
|
17
|
+
__metadata("design:type", String)
|
|
18
|
+
], CreateStripeConnection.prototype, "code", void 0);
|
|
19
|
+
//# sourceMappingURL=Create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,OAAO,sBAAsB;CAIlC;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE","sourcesContent":["import { IsString } from 'class-validator';\nimport { ApiProperty } from '../../../../utils';\n\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}"]}
|
|
@@ -20,5 +20,8 @@ export declare class CreateThirdPartyForm {
|
|
|
20
20
|
idAccount?: number | null;
|
|
21
21
|
idCountry?: number | null;
|
|
22
22
|
idThirdPartyType: ThirdPartyType;
|
|
23
|
+
deliveryAddress: string | null;
|
|
24
|
+
deliveryCity: string | null;
|
|
25
|
+
deliveryZipCode: string | null;
|
|
23
26
|
}
|
|
24
27
|
//# sourceMappingURL=CreateThirdPartyForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateThirdPartyForm.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,qBAAa,oBAAoB;IAE/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGzB,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGnC,OAAO,EAAE,MAAM,CAAC;IAGhB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB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,MAAM,GAAG,IAAI,CAAC;IAGrB,SAAS,EAAE,MAAM,CAAC;IAGlB,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAGvB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGzB,SAAS,EAAE,OAAO,CAAC;IAGnB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGjC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG9B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAG1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI1B,gBAAgB,EAAE,cAAc,CAAC;IAKjC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAK/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAI5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsEnum } from 'class-validator';
|
|
10
|
+
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ThirdPartyType } from '../../..';
|
|
12
12
|
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
13
13
|
export class CreateThirdPartyForm {
|
|
@@ -93,4 +93,21 @@ __decorate([
|
|
|
93
93
|
IsEnum(ThirdPartyType),
|
|
94
94
|
__metadata("design:type", Number)
|
|
95
95
|
], CreateThirdPartyForm.prototype, "idThirdPartyType", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
ApiPropertyOptional(),
|
|
98
|
+
IsOptional(),
|
|
99
|
+
IsString(),
|
|
100
|
+
__metadata("design:type", Object)
|
|
101
|
+
], CreateThirdPartyForm.prototype, "deliveryAddress", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
ApiPropertyOptional(),
|
|
104
|
+
IsOptional(),
|
|
105
|
+
IsString(),
|
|
106
|
+
__metadata("design:type", Object)
|
|
107
|
+
], CreateThirdPartyForm.prototype, "deliveryCity", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
ApiPropertyOptional(),
|
|
110
|
+
IsOptional(),
|
|
111
|
+
__metadata("design:type", Object)
|
|
112
|
+
], CreateThirdPartyForm.prototype, "deliveryZipCode", void 0);
|
|
96
113
|
//# sourceMappingURL=CreateThirdPartyForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateThirdPartyForm.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"CreateThirdPartyForm.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/CreateThirdPartyForm.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,oBAAoB;CA2EhC;AAzEC;IADC,mBAAmB,EAAE;;kEACe;AAGrC;IADC,mBAAmB,EAAE;;sDACG;AAGzB;IADC,mBAAmB,EAAE;;gEACa;AAGnC;IADC,WAAW,EAAE;;qDACE;AAGhB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;qDACE;AAGxB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,mBAAmB,EAAE;;mDACA;AAGtB;IADC,mBAAmB,EAAE;;mDACA;AAGtB;IADC,mBAAmB,EAAE;;oDACC;AAGvB;IADC,mBAAmB,EAAE;;kDACD;AAGrB;IADC,WAAW,EAAE;;uDACI;AAGlB;IADC,mBAAmB,EAAE;;mDACC;AAGvB;IADC,mBAAmB,EAAE;;wDACG;AAGzB;IADC,WAAW,EAAE;;uDACK;AAGnB;IADC,mBAAmB,EAAE;;8DACW;AAGjC;IADC,mBAAmB,EAAE;;2DACQ;AAG9B;IADC,mBAAmB,EAAE;;uDACI;AAG1B;IADC,mBAAmB,EAAE;;uDACI;AAI1B;IAFC,WAAW,EAAE;IACb,MAAM,CAAC,cAAc,CAAC;;8DACU;AAKjC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6DACoB;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACiB;AAI5B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;6DACkB","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}"]}
|
|
@@ -20,5 +20,8 @@ export declare class UpdateThirdPartyForm {
|
|
|
20
20
|
idAccount?: number | null;
|
|
21
21
|
idCountry?: number | null;
|
|
22
22
|
idThirdPartyType?: ThirdPartyType;
|
|
23
|
+
deliveryAddress: string | null;
|
|
24
|
+
deliveryCity: string | null;
|
|
25
|
+
deliveryZipCode: string | null;
|
|
23
26
|
}
|
|
24
27
|
//# sourceMappingURL=UpdateThirdPartyForm.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateThirdPartyForm.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAG1C,qBAAa,oBAAoB;IAG/B,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIzB,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAInC,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIxB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAItB,KAAK,CAAC,EAAE,MAAM,GAAG,IA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IAAI,CAAC;IAIrB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,KAAK,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAIvB,UAAU,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAIzB,SAAS,CAAC,EAAE,OAAO,CAAC;IAIpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAIjC,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI9B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAI1B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAK1B,gBAAgB,CAAC,EAAE,cAAc,CAAC;IAKlC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAK/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAI5B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;CAChC"}
|
|
@@ -7,7 +7,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
7
7
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
8
8
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
9
9
|
};
|
|
10
|
-
import { IsEnum, IsOptional } from 'class-validator';
|
|
10
|
+
import { IsEnum, IsOptional, IsString } from 'class-validator';
|
|
11
11
|
import { ThirdPartyType } from '../../..';
|
|
12
12
|
import { ApiPropertyOptional } from '../../../../utils';
|
|
13
13
|
export class UpdateThirdPartyForm {
|
|
@@ -113,4 +113,21 @@ __decorate([
|
|
|
113
113
|
IsEnum(ThirdPartyType),
|
|
114
114
|
__metadata("design:type", Number)
|
|
115
115
|
], UpdateThirdPartyForm.prototype, "idThirdPartyType", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
ApiPropertyOptional(),
|
|
118
|
+
IsOptional(),
|
|
119
|
+
IsString(),
|
|
120
|
+
__metadata("design:type", Object)
|
|
121
|
+
], UpdateThirdPartyForm.prototype, "deliveryAddress", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
ApiPropertyOptional(),
|
|
124
|
+
IsOptional(),
|
|
125
|
+
IsString(),
|
|
126
|
+
__metadata("design:type", Object)
|
|
127
|
+
], UpdateThirdPartyForm.prototype, "deliveryCity", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
ApiPropertyOptional(),
|
|
130
|
+
IsOptional(),
|
|
131
|
+
__metadata("design:type", Object)
|
|
132
|
+
], UpdateThirdPartyForm.prototype, "deliveryZipCode", void 0);
|
|
116
133
|
//# sourceMappingURL=UpdateThirdPartyForm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateThirdPartyForm.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateThirdPartyForm.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/api/thirdParty/UpdateThirdPartyForm.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,OAAO,oBAAoB;CA+FhC;AA5FC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kEACwB;AAIrC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;sDACY;AAIzB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;gEACsB;AAInC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;qDACI;AAIjB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;qDACW;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;qDACW;AAIxB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kDACQ;AAIrB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;mDACS;AAItB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;mDACS;AAItB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;oDACU;AAIvB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;kDACQ;AAIrB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;uDACM;AAInB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;mDACU;AAIvB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;wDACY;AAIzB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;uDACO;AAIpB;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;8DACoB;AAIjC;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;2DACiB;AAI9B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;uDACa;AAI1B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;uDACa;AAK1B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,MAAM,CAAC,cAAc,CAAC;;8DACW;AAKlC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;6DACoB;AAK/B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;0DACiB;AAI5B;IAFC,mBAAmB,EAAE;IACrB,UAAU,EAAE;;6DACkB","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}"]}
|
|
@@ -17,6 +17,7 @@ export declare enum Code {
|
|
|
17
17
|
notImplemented = "not_implemented",
|
|
18
18
|
unknown = "unknown",
|
|
19
19
|
formatNotAuthorized = "format_not_authorized",
|
|
20
|
+
CONNECTION_ALREADY_EXIST = "connection_already_exist",
|
|
20
21
|
failedCheckBalance = "failed_check_balance",
|
|
21
22
|
vatIntracomCanOnlyBeSetForDebit = "vat_intracom_can_only_be_set_for_debit",
|
|
22
23
|
vatMargeCanOnlyBeSetForCredit = "vat_marge_can_only_be_set_for_credit",
|
|
@@ -113,6 +114,7 @@ export declare enum Code {
|
|
|
113
114
|
fetchNewTokenFailed = "fetch_new_token_failed",
|
|
114
115
|
bankAccountDesactivationFailed = "bank_account_desactivation_failed",
|
|
115
116
|
udpateTokenFailed = "update_token_failed",
|
|
117
|
+
CONNECTION_ALREADY_EXISTS = "CONNECTION_ALREADY_EXISTS",
|
|
116
118
|
GENERIC_ACCOUNT_NOT_FOUND = "GENERIC_ACCOUNT_NOT_FOUND",
|
|
117
119
|
UNKNOWN_ANSWER_VALUE = "UNKNOWN_ANSWER_VALUE",
|
|
118
120
|
QUESTION_NOT_FOUND = "QUESTION_NOT_FOUND",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/B,YAAY,mBAAmB;IAC/B,eAAe,8BAA8B;IAC7C,eAAe,8BAA8B;IAC7C,UAAU,iBAAiB;IAC3B,mBAAmB,0BAA0B;IAC7C,kBAAkB,sBAAsB;IACxC,kBAAkB,wBAAwB;IAC1C,cAAc,oBAAoB;IAClC,OAAO,YAAY;IACnB,mBAAmB,0BAA0B;
|
|
1
|
+
{"version":3,"file":"IApiError.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,QAAQ,cAAc;IACtB,SAAS,yBAAyB;IAClC,aAAa,cAAc;CAC5B;AAED,oBAAY,IAAI;IAEd,YAAY,iCAAiC;IAC7C,qBAAqB,uCAAuC;IAC5D,QAAQ,uBAAuB;IAC/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zC,yBAAyB,8BAA8B;IAGvD,yBAAyB,8BAA8B;IAGvD,oBAAoB,yBAAyB;IAC7C,kBAAkB,uBAAuB;IACzC,qBAAqB,0BAA0B;IAC/C,mCAAmC,wCAAwC;IAG3E,uBAAuB,4BAA4B;IACnD,mBAAmB,wBAAwB;IAG3C,oBAAoB,yBAAyB;IAG7C,yBAAyB,8BAA8B;IAEvD,gCAAgC,qCAAqC;IACrE,4BAA4B,iCAAiC;IAC7D,yBAAyB,8BAA8B;IACvD,uBAAuB,4BAA4B;IACnD,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAG7C,uBAAuB,4BAA4B;IACnD,oBAAoB,yBAAyB;IAC7C,oBAAoB,yBAAyB;CAC9C;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -20,6 +20,7 @@ export var Code;
|
|
|
20
20
|
Code["notImplemented"] = "not_implemented";
|
|
21
21
|
Code["unknown"] = "unknown";
|
|
22
22
|
Code["formatNotAuthorized"] = "format_not_authorized";
|
|
23
|
+
Code["CONNECTION_ALREADY_EXIST"] = "connection_already_exist";
|
|
23
24
|
// Annotation Error
|
|
24
25
|
Code["failedCheckBalance"] = "failed_check_balance";
|
|
25
26
|
Code["vatIntracomCanOnlyBeSetForDebit"] = "vat_intracom_can_only_be_set_for_debit";
|
|
@@ -129,6 +130,8 @@ export var Code;
|
|
|
129
130
|
Code["fetchNewTokenFailed"] = "fetch_new_token_failed";
|
|
130
131
|
Code["bankAccountDesactivationFailed"] = "bank_account_desactivation_failed";
|
|
131
132
|
Code["udpateTokenFailed"] = "update_token_failed";
|
|
133
|
+
// qonto
|
|
134
|
+
Code["CONNECTION_ALREADY_EXISTS"] = "CONNECTION_ALREADY_EXISTS";
|
|
132
135
|
// Accounts
|
|
133
136
|
Code["GENERIC_ACCOUNT_NOT_FOUND"] = "GENERIC_ACCOUNT_NOT_FOUND";
|
|
134
137
|
// Balance Sheet Questions
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IApiError.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IA0KX;AA1KD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,uCAA+B,CAAA;IAC/B,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;IAC7C,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAC7C,gDAAwC,CAAA;IACxC,kDAA0C,CAAA;IAC1C,0CAAkC,CAAA;IAClC,2BAAmB,CAAA;IACnB,qDAA6C,CAAA;IAE7C,mBAAmB;IACnB,mDAA2C,CAAA;IAC3C,kFAA0E,CAAA;IAC1E,8EAAsE,CAAA;IACtE,gGAAwF,CAAA;IACxF,wIAAgI,CAAA;IAChI,iDAAyC,CAAA;IACzC,wFAAgF,CAAA;IAChF,iFAAyE,CAAA;IACzE,kFAA0E,CAAA;IAC1E,6EAAqE,CAAA;IACrE,8EAAsE,CAAA;IACtE,wEAAgE,CAAA;IAChE,yDAAiD,CAAA;IACjD,kDAA0C,CAAA;IAC1C,iGAAyF,CAAA;IACzF,uFAA+E,CAAA;IAC/E,iGAAyF,CAAA;IACzF,2DAAmD,CAAA;IACnD,8DAAsD,CAAA;IACtD,sDAA8C,CAAA;IAC9C,iFAAyE,CAAA;IACzE,4GAAoG,CAAA;IACpG,oHAA4G,CAAA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,CAAA;IACtD,2DAAmD,CAAA;IACnD,gDAAwC,CAAA;IACxC,6CAAqC,CAAA;IAErC,QAAQ;IACR,+CAAuC,CAAA;IACvC,mCAA2B,CAAA;IAE3B,cAAc;IACd,6EAAqE,CAAA;IACrE,qFAA6E,CAAA;IAC7E,oEAA4D,CAAA;IAC5D,oEAA4D,CAAA;IAC5D,6CAAqC,CAAA;IAErC,2CAAmC,CAAA;IAEnC,YAAY;IACZ,2CAAmC,CAAA;IAEnC,eAAe;IACf,2EAAmE,CAAA;IACnE,yDAAiD,CAAA;IACjD,4DAAoD,CAAA;IACpD,6DAAqD,CAAA;IACrD,sDAA8C,CAAA;IAC9C,4EAAoE,CAAA;IACpE,iDAAyC,CAAA;IAEzC,WAAW;IACX,+DAAuD,CAAA;IAEvD,0BAA0B;IAC1B,qDAA6C,CAAA;IAC7C,iDAAyC,CAAA;IACzC,uDAA+C,CAAA;IAC/C,mFAA2E,CAAA;IAE3E,wBAAwB;IACxB,2DAAmD,CAAA;IACnD,mDAA2C,CAAA;IAE3C,mBAAmB;IACnB,qDAA6C,CAAA;IAE7C,mBAAmB;IACnB,+DAAuD,CAAA;IAEvD,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,+DAAuD,CAAA;IACvD,2DAAmD,CAAA;IACnD,uCAA+B,CAAA;IAC/B,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAE7C,SAAS;IACT,2DAAmD,CAAA;IACnD,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;AAC/C,CAAC,EA1KW,IAAI,KAAJ,IAAI,QA0Kf","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","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IApiError.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACnB,mCAAsB,CAAA;IACtB,+CAAkC,CAAA;IAClC,wCAA2B,CAAA;AAC7B,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAED,MAAM,CAAN,IAAY,IA8KX;AA9KD,WAAY,IAAI;IACd,aAAa;IACb,qDAA6C,CAAA;IAC7C,oEAA4D,CAAA;IAC5D,uCAA+B,CAAA;IAC/B,uCAA+B,CAAA;IAC/B,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1B,qDAA6C,CAAA;IAC7C,iDAAyC,CAAA;IACzC,uDAA+C,CAAA;IAC/C,mFAA2E,CAAA;IAE3E,wBAAwB;IACxB,2DAAmD,CAAA;IACnD,mDAA2C,CAAA;IAE3C,mBAAmB;IACnB,qDAA6C,CAAA;IAE7C,mBAAmB;IACnB,+DAAuD,CAAA;IAEvD,6EAAqE,CAAA;IACrE,qEAA6D,CAAA;IAC7D,+DAAuD,CAAA;IACvD,2DAAmD,CAAA;IACnD,uCAA+B,CAAA;IAC/B,mCAA2B,CAAA;IAC3B,qDAA6C,CAAA;IAE7C,SAAS;IACT,2DAAmD,CAAA;IACnD,qDAA6C,CAAA;IAC7C,qDAA6C,CAAA;AAC/C,CAAC,EA9KW,IAAI,KAAJ,IAAI,QA8Kf","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"]}
|
|
@@ -8,6 +8,7 @@ import { IInvoiceReminder } from './IInvoiceReminder';
|
|
|
8
8
|
import { IFile } from './IFile';
|
|
9
9
|
import { IInvoiceRecurrence } from './IInvoiceRecurrence';
|
|
10
10
|
import { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';
|
|
11
|
+
import { AccountingCategoryId } from '../../Enum/CommercialManagement';
|
|
11
12
|
export interface IEstimateInvoice {
|
|
12
13
|
id?: number;
|
|
13
14
|
label: string | null;
|
|
@@ -38,6 +39,8 @@ export interface IEstimateInvoice {
|
|
|
38
39
|
isRefused: boolean;
|
|
39
40
|
isCanceled: boolean;
|
|
40
41
|
status?: ReadEstimateInvoiceStatus;
|
|
42
|
+
accountingCategory: AccountingCategoryId;
|
|
43
|
+
shouldPayTaxAfterDebit: boolean;
|
|
41
44
|
idFile?: number | null;
|
|
42
45
|
idRelatedInvoice: number | null;
|
|
43
46
|
idTypeEstimateInvoice: number | number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEstimateInvoice.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,2BAA2B,EAAE,MAA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ACzC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B,eAAe,CAAC,EAAE,2BAA2B,CAAC;IAC9C,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,iCAAiC,CAAC,EAAE,gBAAgB,CAAC;IACrD,2BAA2B,CAAC,EAAE,gBAAgB,CAAC;IAC/C,4BAA4B,CAAC,EAAE,gBAAgB,CAAC;IAChD,eAAe,CAAC,EAAE,gBAAgB,CAAC;IACnC,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC,UAAU,CAAC,EAAE,kBAAkB,CAAC;IAChC,IAAI,CAAC,EAAE,KAAK,CAAC;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IProductInvoice } from './IProductInvoice';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';\nimport { IThirdParty } from './IThirdParty';\nimport { IFrequency } from './IFrequency';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType';\nimport { ISociety } from './ISociety';\nimport { IInvoiceReminder } from './IInvoiceReminder';\nimport { IFile } from './IFile';\nimport { IInvoiceRecurrence } from './IInvoiceRecurrence';\nimport { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';\n\n// estimatesInvoices\nexport interface IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n reference: string | null;\n depositAmount: number;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n isDraft: boolean;\n dueDate: Date | null;\n expirationDate: Date | null;\n emissionDate: Date | null;\n acceptationDate: Date | null;\n mailSent: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n generalComment: string | null;\n generalDiscount2: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n status?: ReadEstimateInvoiceStatus;\n idFile?: number | null;\n idRelatedInvoice: number | null;\n idTypeEstimateInvoice: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n products?: IProductInvoice[];\n thirdParty?: IThirdParty;\n frequency?: IFrequency;\n type?: IEstimateInvoiceType;\n customerPayment?: IPaymentExpectationCustomer;\n society?: ISociety;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimateInvoiceForThisAsset?: IEstimateInvoice;\n estimateInvoiceForThisRepeat?: IEstimateInvoice;\n invoiceReminder?: IInvoiceReminder;\n relatedInvoice?: IEstimateInvoice;\n recurrence?: IInvoiceRecurrence;\n file?: IFile;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IEstimateInvoice.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IEstimateInvoice.ts"],"names":[],"mappings":"","sourcesContent":["import { IProductInvoice } from './IProductInvoice';\nimport { IPaymentExpectationCustomer } from './IPaymentExpectationCustomer';\nimport { IThirdParty } from './IThirdParty';\nimport { IFrequency } from './IFrequency';\nimport { IEstimateInvoiceType } from './IEstimateInvoiceType';\nimport { ISociety } from './ISociety';\nimport { IInvoiceReminder } from './IInvoiceReminder';\nimport { IFile } from './IFile';\nimport { IInvoiceRecurrence } from './IInvoiceRecurrence';\nimport { ReadEstimateInvoiceStatus } from '../api/commercialManagement/Read';\nimport { AccountingCategoryId } from '../../Enum/CommercialManagement';\n\n// estimatesInvoices\nexport interface IEstimateInvoice {\n id?: number;\n label: string | null;\n payment: string | null;\n reference: string | null;\n depositAmount: number;\n totalTaxExcluded: number;\n totalTaxIncluded: number;\n isDraft: boolean;\n dueDate: Date | null;\n expirationDate: Date | null;\n emissionDate: Date | null;\n acceptationDate: Date | null;\n mailSent: Date | null;\n isPaid?: boolean;\n isUsed: boolean;\n isStripe: boolean;\n lastTryRepeat: Date | null;\n penalties: string | null;\n discount: string | null;\n recoveryCost: string | null;\n vatMention: string | null;\n freeText: string | null;\n greetings: boolean;\n generalComment: string | null;\n generalDiscount2: number | null;\n lastRelanceDate: Date | null;\n isRefused: boolean;\n isCanceled: boolean;\n status?: ReadEstimateInvoiceStatus;\n accountingCategory: AccountingCategoryId;\n shouldPayTaxAfterDebit: boolean;\n idFile?: number | null;\n idRelatedInvoice: number | null;\n idTypeEstimateInvoice: number | number[];\n idFrequency: number | null;\n idSociety: number;\n idThirdParty: number;\n idEstimateInvoiceForThisRepeat: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n products?: IProductInvoice[];\n thirdParty?: IThirdParty;\n frequency?: IFrequency;\n type?: IEstimateInvoiceType;\n customerPayment?: IPaymentExpectationCustomer;\n society?: ISociety;\n assetRelatedToThisEstimateInvoice?: IEstimateInvoice;\n estimateInvoiceForThisAsset?: IEstimateInvoice;\n estimateInvoiceForThisRepeat?: IEstimateInvoice;\n invoiceReminder?: IInvoiceReminder;\n relatedInvoice?: IEstimateInvoice;\n recurrence?: IInvoiceRecurrence;\n file?: IFile;\n}\n"]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { IPrestation } from './IPrestation';
|
|
2
|
+
import { IUser } from './IUser';
|
|
3
|
+
export interface IPrestationHistory {
|
|
4
|
+
id?: number;
|
|
5
|
+
idState: number;
|
|
6
|
+
idPrestation: number | null;
|
|
7
|
+
idUser: number | null;
|
|
8
|
+
createdAt?: Date | null;
|
|
9
|
+
updatedAt?: Date | null;
|
|
10
|
+
prestation: IPrestation;
|
|
11
|
+
user: IUser;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=IPrestationHistory.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPrestationHistory.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPrestationHistory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,MAAM,WAAW,kBAAkB;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,UAAU,EAAE,WAAW,CAAC;IACxB,IAAI,EAAE,KAAK,CAAC;CACb"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IPrestationHistory.js","sourceRoot":"","sources":["../../../../ts/types/Interface/models/IPrestationHistory.ts"],"names":[],"mappings":"","sourcesContent":["import { IPrestation } from './IPrestation';\nimport { IUser } from './IUser';\n\n// prestationHistory\nexport interface IPrestationHistory {\n id?: number;\n idState: number;\n idPrestation: number | null;\n idUser: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n prestation: IPrestation;\n user: IUser;\n}"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FontIds, LogoAlignment } from '../../Enum/CommercialManagement';
|
|
1
|
+
import { AccountingCategoryId, FontIds, LogoAlignment } from '../../Enum/CommercialManagement';
|
|
2
2
|
export interface ISocietyGescom {
|
|
3
3
|
id?: number;
|
|
4
4
|
capital?: number | null;
|
|
@@ -31,6 +31,8 @@ export interface ISocietyGescom {
|
|
|
31
31
|
commercialName?: string | null;
|
|
32
32
|
freeInvoiceText?: string | null;
|
|
33
33
|
freeEstimateText?: string | null;
|
|
34
|
+
accountingCategory?: AccountingCategoryId | null;
|
|
35
|
+
shouldPayTaxAfterDebit?: boolean;
|
|
34
36
|
logoAlignment?: LogoAlignment | null;
|
|
35
37
|
isEdgingDisplayed?: boolean;
|
|
36
38
|
edgingColor?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ISocietyGescom.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietyGescom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"ISocietyGescom.d.ts","sourceRoot":"","sources":["../../../../ts/types/Interface/models/ISocietyGescom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAG/F,MAAM,WAAW,cAAc;IAC7B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,oBAAoB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CA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