@silexpert/core 1.3.148 → 1.3.150-levy-1
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/dist/cjs/api/resources/DashboardLayout.d.ts +4 -3
- package/dist/cjs/api/resources/DashboardLayout.d.ts.map +1 -1
- package/dist/cjs/api/resources/DashboardLayout.js +3 -0
- package/dist/cjs/api/resources/DashboardLayout.js.map +1 -1
- package/dist/cjs/api/resources/Echo.d.ts +3 -3
- package/dist/cjs/api/resources/Echo.d.ts.map +1 -1
- package/dist/cjs/api/resources/Echo.js +3 -3
- package/dist/cjs/api/resources/Echo.js.map +1 -1
- package/dist/cjs/api/resources/LegalNotice.d.ts +7 -2
- package/dist/cjs/api/resources/LegalNotice.d.ts.map +1 -1
- package/dist/cjs/api/resources/LegalNotice.js +14 -0
- package/dist/cjs/api/resources/LegalNotice.js.map +1 -1
- package/dist/cjs/api/resources/StripeCustomer.d.ts +6 -0
- package/dist/cjs/api/resources/StripeCustomer.d.ts.map +1 -0
- package/dist/cjs/api/resources/StripeCustomer.js +11 -0
- package/dist/cjs/api/resources/StripeCustomer.js.map +1 -0
- package/dist/cjs/types/Enum/VisualizedInformation.d.ts +2 -1
- package/dist/cjs/types/Enum/VisualizedInformation.d.ts.map +1 -1
- package/dist/cjs/types/Enum/VisualizedInformation.js +1 -0
- package/dist/cjs/types/Enum/VisualizedInformation.js.map +1 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts +3 -11
- package/dist/cjs/types/Interface/api/DashboardLayout.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/DashboardLayout.js.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts +1 -0
- package/dist/cjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js +8 -0
- package/dist/cjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts +7 -2
- package/dist/cjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts +10 -19
- package/dist/cjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/echo/CreateOrder.js +0 -90
- package/dist/cjs/types/Interface/api/echo/CreateOrder.js.map +1 -1
- package/dist/cjs/types/Interface/api/echo/Estimate.d.ts +33 -0
- package/dist/cjs/types/Interface/api/echo/Estimate.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/echo/Estimate.js +3 -0
- package/dist/cjs/types/Interface/api/echo/Estimate.js.map +1 -0
- package/dist/cjs/types/Interface/api/echo/EstimatePayload.d.ts +6 -0
- package/dist/cjs/types/Interface/api/echo/EstimatePayload.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/echo/EstimatePayload.js +3 -0
- package/dist/cjs/types/Interface/api/echo/EstimatePayload.js.map +1 -0
- package/dist/cjs/types/Interface/api/echo/Mission.d.ts +4 -1
- package/dist/cjs/types/Interface/api/echo/Mission.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/echo/Mission.js.map +1 -1
- package/dist/cjs/types/Interface/api/echo/Order.d.ts +29 -8
- package/dist/cjs/types/Interface/api/echo/Order.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/echo/Order.js.map +1 -1
- package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts +10 -0
- package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.js +58 -0
- package/dist/cjs/types/Interface/api/legalNotice/QueryLegalNotice.js.map +1 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/cjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js +11 -1
- package/dist/cjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js +20 -1
- package/dist/cjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/cjs/types/Interface/models/IDashboardLayout.d.ts +10 -0
- package/dist/cjs/types/Interface/models/IDashboardLayout.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/IDashboardLayout.js +3 -0
- package/dist/cjs/types/Interface/models/IDashboardLayout.js.map +1 -0
- package/dist/cjs/types/index.d.ts +4 -0
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +4 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/brands.d.ts.map +1 -1
- package/dist/cjs/utils/brands.js.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.d.ts +4 -3
- package/dist/mjs/api/resources/DashboardLayout.d.ts.map +1 -1
- package/dist/mjs/api/resources/DashboardLayout.js +3 -0
- package/dist/mjs/api/resources/DashboardLayout.js.map +1 -1
- package/dist/mjs/api/resources/Echo.d.ts +3 -3
- package/dist/mjs/api/resources/Echo.d.ts.map +1 -1
- package/dist/mjs/api/resources/Echo.js +3 -3
- package/dist/mjs/api/resources/Echo.js.map +1 -1
- package/dist/mjs/api/resources/LegalNotice.d.ts +7 -2
- package/dist/mjs/api/resources/LegalNotice.d.ts.map +1 -1
- package/dist/mjs/api/resources/LegalNotice.js +14 -0
- package/dist/mjs/api/resources/LegalNotice.js.map +1 -1
- package/dist/mjs/api/resources/StripeCustomer.d.ts +6 -0
- package/dist/mjs/api/resources/StripeCustomer.d.ts.map +1 -0
- package/dist/mjs/api/resources/StripeCustomer.js +7 -0
- package/dist/mjs/api/resources/StripeCustomer.js.map +1 -0
- package/dist/mjs/types/Enum/VisualizedInformation.d.ts +2 -1
- package/dist/mjs/types/Enum/VisualizedInformation.d.ts.map +1 -1
- package/dist/mjs/types/Enum/VisualizedInformation.js +1 -0
- package/dist/mjs/types/Enum/VisualizedInformation.js.map +1 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts +3 -11
- package/dist/mjs/types/Interface/api/DashboardLayout.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/DashboardLayout.js.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts +1 -0
- package/dist/mjs/types/Interface/api/balanceSheet/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js +10 -1
- package/dist/mjs/types/Interface/api/balanceSheet/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts +7 -2
- package/dist/mjs/types/Interface/api/config/ConfigType.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/config/ConfigType.js.map +1 -1
- package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts +10 -19
- package/dist/mjs/types/Interface/api/echo/CreateOrder.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/echo/CreateOrder.js +1 -100
- package/dist/mjs/types/Interface/api/echo/CreateOrder.js.map +1 -1
- package/dist/mjs/types/Interface/api/echo/Estimate.d.ts +33 -0
- package/dist/mjs/types/Interface/api/echo/Estimate.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/echo/Estimate.js +2 -0
- package/dist/mjs/types/Interface/api/echo/Estimate.js.map +1 -0
- package/dist/mjs/types/Interface/api/echo/EstimatePayload.d.ts +6 -0
- package/dist/mjs/types/Interface/api/echo/EstimatePayload.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/echo/EstimatePayload.js +2 -0
- package/dist/mjs/types/Interface/api/echo/EstimatePayload.js.map +1 -0
- package/dist/mjs/types/Interface/api/echo/Mission.d.ts +4 -1
- package/dist/mjs/types/Interface/api/echo/Mission.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/echo/Mission.js.map +1 -1
- package/dist/mjs/types/Interface/api/echo/Order.d.ts +29 -8
- package/dist/mjs/types/Interface/api/echo/Order.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/echo/Order.js.map +1 -1
- package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts +10 -0
- package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.js +60 -0
- package/dist/mjs/types/Interface/api/legalNotice/QueryLegalNotice.js.map +1 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts +3 -0
- package/dist/mjs/types/Interface/api/stripe/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/Create.js +10 -0
- package/dist/mjs/types/Interface/api/stripe/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts +5 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js +21 -0
- package/dist/mjs/types/Interface/api/stripe/QueryStripe.js.map +1 -1
- package/dist/mjs/types/Interface/models/IDashboardLayout.d.ts +10 -0
- package/dist/mjs/types/Interface/models/IDashboardLayout.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IDashboardLayout.js +2 -0
- package/dist/mjs/types/Interface/models/IDashboardLayout.js.map +1 -0
- package/dist/mjs/types/index.d.ts +4 -0
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +4 -0
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/brands.d.ts.map +1 -1
- package/dist/mjs/utils/brands.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/DashboardLayout.ts +7 -3
- package/ts/api/resources/Echo.ts +6 -6
- package/ts/api/resources/LegalNotice.ts +19 -2
- package/ts/api/resources/StripeCustomer.ts +8 -0
- package/ts/types/Enum/VisualizedInformation.ts +1 -0
- package/ts/types/Interface/api/DashboardLayout.ts +3 -12
- package/ts/types/Interface/api/balanceSheet/Query.ts +8 -1
- package/ts/types/Interface/api/config/ConfigType.ts +7 -2
- package/ts/types/Interface/api/echo/CreateOrder.ts +10 -61
- package/ts/types/Interface/api/echo/Estimate.ts +33 -0
- package/ts/types/Interface/api/echo/EstimatePayload.ts +5 -0
- package/ts/types/Interface/api/echo/Mission.ts +5 -1
- package/ts/types/Interface/api/echo/Order.ts +29 -8
- package/ts/types/Interface/api/legalNotice/QueryLegalNotice.ts +38 -0
- package/ts/types/Interface/api/stripe/Create.ts +8 -0
- package/ts/types/Interface/api/stripe/QueryStripe.ts +15 -0
- package/ts/types/Interface/models/IDashboardLayout.ts +10 -0
- package/ts/types/index.ts +4 -0
- package/ts/utils/brands.ts +0 -1
|
@@ -1,101 +1,2 @@
|
|
|
1
|
-
|
|
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 { IsIn, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
-
import { ApiProperty, ApiPropertyOptional } from '../../../../utils';
|
|
12
|
-
export class PublicationContent {
|
|
13
|
-
text_html;
|
|
14
|
-
}
|
|
15
|
-
__decorate([
|
|
16
|
-
ApiProperty(),
|
|
17
|
-
IsString(),
|
|
18
|
-
__metadata("design:type", String)
|
|
19
|
-
], PublicationContent.prototype, "text_html", void 0);
|
|
20
|
-
export class Publication {
|
|
21
|
-
ad_type_id;
|
|
22
|
-
content;
|
|
23
|
-
header;
|
|
24
|
-
legal_name;
|
|
25
|
-
logo_base_64;
|
|
26
|
-
}
|
|
27
|
-
__decorate([
|
|
28
|
-
ApiProperty(),
|
|
29
|
-
IsString(),
|
|
30
|
-
__metadata("design:type", String)
|
|
31
|
-
], Publication.prototype, "ad_type_id", void 0);
|
|
32
|
-
__decorate([
|
|
33
|
-
ApiProperty(),
|
|
34
|
-
__metadata("design:type", PublicationContent)
|
|
35
|
-
], Publication.prototype, "content", void 0);
|
|
36
|
-
__decorate([
|
|
37
|
-
ApiProperty(),
|
|
38
|
-
IsString(),
|
|
39
|
-
__metadata("design:type", String)
|
|
40
|
-
], Publication.prototype, "header", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
ApiProperty(),
|
|
43
|
-
IsString(),
|
|
44
|
-
__metadata("design:type", String)
|
|
45
|
-
], Publication.prototype, "legal_name", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
ApiPropertyOptional(),
|
|
48
|
-
IsString(),
|
|
49
|
-
IsOptional(),
|
|
50
|
-
__metadata("design:type", Object)
|
|
51
|
-
], Publication.prototype, "logo_base_64", void 0);
|
|
52
|
-
export class CreateEchoOrder {
|
|
53
|
-
departement;
|
|
54
|
-
newspaper_id;
|
|
55
|
-
paper_proof_qty;
|
|
56
|
-
publication;
|
|
57
|
-
publishing_date_from;
|
|
58
|
-
publishing_date_to;
|
|
59
|
-
selection_mode;
|
|
60
|
-
type;
|
|
61
|
-
}
|
|
62
|
-
__decorate([
|
|
63
|
-
ApiProperty(),
|
|
64
|
-
__metadata("design:type", String)
|
|
65
|
-
], CreateEchoOrder.prototype, "departement", void 0);
|
|
66
|
-
__decorate([
|
|
67
|
-
ApiProperty(),
|
|
68
|
-
IsString(),
|
|
69
|
-
__metadata("design:type", String)
|
|
70
|
-
], CreateEchoOrder.prototype, "newspaper_id", void 0);
|
|
71
|
-
__decorate([
|
|
72
|
-
ApiProperty(),
|
|
73
|
-
IsInt(),
|
|
74
|
-
__metadata("design:type", Number)
|
|
75
|
-
], CreateEchoOrder.prototype, "paper_proof_qty", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
ApiProperty(),
|
|
78
|
-
__metadata("design:type", Publication)
|
|
79
|
-
], CreateEchoOrder.prototype, "publication", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
ApiProperty(),
|
|
82
|
-
IsString(),
|
|
83
|
-
__metadata("design:type", String)
|
|
84
|
-
], CreateEchoOrder.prototype, "publishing_date_from", void 0);
|
|
85
|
-
__decorate([
|
|
86
|
-
ApiProperty(),
|
|
87
|
-
IsString(),
|
|
88
|
-
__metadata("design:type", String)
|
|
89
|
-
], CreateEchoOrder.prototype, "publishing_date_to", void 0);
|
|
90
|
-
__decorate([
|
|
91
|
-
ApiProperty(),
|
|
92
|
-
IsString(),
|
|
93
|
-
__metadata("design:type", String)
|
|
94
|
-
], CreateEchoOrder.prototype, "selection_mode", void 0);
|
|
95
|
-
__decorate([
|
|
96
|
-
ApiProperty(),
|
|
97
|
-
IsString(),
|
|
98
|
-
IsIn(['simulation', 'order']),
|
|
99
|
-
__metadata("design:type", String)
|
|
100
|
-
], CreateEchoOrder.prototype, "type", void 0);
|
|
1
|
+
export {};
|
|
101
2
|
//# sourceMappingURL=CreateOrder.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateOrder.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/CreateOrder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CreateOrder.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/CreateOrder.ts"],"names":[],"mappings":"","sourcesContent":["export interface CreateOrder {\n departmentCode: string;\n legalNoticeTypeId: string;\n content: string;\n header: string;\n logo: string; // base64 string: \"data:image/jpeg;base64,<data>\"\n customerReference: string;\n publicationDate: string; // format: \"YYYY-MM-DD\"\n newspaperId: string;\n supportingDocumentQuantity: number;\n hasBodacc: boolean;\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface EchoEstimateResponse {
|
|
2
|
+
estimates: EchoEstimate[];
|
|
3
|
+
}
|
|
4
|
+
export interface EchoEstimate {
|
|
5
|
+
newspaper: {
|
|
6
|
+
id: string;
|
|
7
|
+
name: string;
|
|
8
|
+
medium: string;
|
|
9
|
+
recommended: boolean;
|
|
10
|
+
hasDigitalSupportingDocument: boolean;
|
|
11
|
+
hasSupportingDocument: boolean;
|
|
12
|
+
};
|
|
13
|
+
acceptLogo: boolean;
|
|
14
|
+
publicationDate: string;
|
|
15
|
+
publicationClosingDatetime: string;
|
|
16
|
+
price: {
|
|
17
|
+
taxRate: number;
|
|
18
|
+
legalNoticeExcludingTax: number;
|
|
19
|
+
supportingDocumentExcludingTax: number;
|
|
20
|
+
supportingDocumentDiscount: number;
|
|
21
|
+
logoAndHeaderExcludingTax: number;
|
|
22
|
+
logoAndHeaderDiscount: number;
|
|
23
|
+
totalExcludingTax: number;
|
|
24
|
+
totalTax: number;
|
|
25
|
+
total: number;
|
|
26
|
+
};
|
|
27
|
+
supportingDocument: {
|
|
28
|
+
cost: number;
|
|
29
|
+
shippingCost: number;
|
|
30
|
+
maxCopies: number;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=Estimate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Estimate.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Estimate.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,YAAY,EAAE,CAAC;CAC3B;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;QACf,WAAW,EAAE,OAAO,CAAC;QACrB,4BAA4B,EAAE,OAAO,CAAC;QACtC,qBAAqB,EAAE,OAAO,CAAC;KAChC,CAAC;IACF,UAAU,EAAE,OAAO,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,CAAC;IACnC,KAAK,EAAE;QACL,OAAO,EAAE,MAAM,CAAC;QAChB,uBAAuB,EAAE,MAAM,CAAC;QAChC,8BAA8B,EAAE,MAAM,CAAC;QACvC,0BAA0B,EAAE,MAAM,CAAC;QACnC,yBAAyB,EAAE,MAAM,CAAC;QAClC,qBAAqB,EAAE,MAAM,CAAC;QAC9B,iBAAiB,EAAE,MAAM,CAAC;QAC1B,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,kBAAkB,EAAE;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,YAAY,EAAE,MAAM,CAAC;QACrB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Estimate.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Estimate.ts"],"names":[],"mappings":"","sourcesContent":["export interface EchoEstimateResponse {\n estimates: EchoEstimate[];\n}\n\nexport interface EchoEstimate {\n newspaper: {\n id: string;\n name: string;\n medium: string;\n recommended: boolean;\n hasDigitalSupportingDocument: boolean;\n hasSupportingDocument: boolean;\n };\n acceptLogo: boolean;\n publicationDate: string; // ISO date string\n publicationClosingDatetime: string; // ISO datetime string\n price: {\n taxRate: number;\n legalNoticeExcludingTax: number;\n supportingDocumentExcludingTax: number;\n supportingDocumentDiscount: number;\n logoAndHeaderExcludingTax: number;\n logoAndHeaderDiscount: number;\n totalExcludingTax: number;\n totalTax: number;\n total: number;\n };\n supportingDocument: {\n cost: number;\n shippingCost: number;\n maxCopies: number;\n };\n}"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EstimatePayload.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/EstimatePayload.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC;IACvB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EstimatePayload.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/EstimatePayload.ts"],"names":[],"mappings":"","sourcesContent":["export interface EstimatePayload {\n departmentCode: string;\n legalNoticeTypeId: string;\n content?: string;\n}"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mission.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
1
|
+
{"version":3,"file":"Mission.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,GAAG;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,WAAW,gBAAgB;IAC/B,gBAAgB,EAAE,OAAO,EAAE,CAAC;CAC7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Mission.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"","sourcesContent":["export type Mission = {\n id:
|
|
1
|
+
{"version":3,"file":"Mission.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Mission.ts"],"names":[],"mappings":"","sourcesContent":["export type Mission = {\n id: string;\n name: string;\n};\n\nexport interface MissionsResponse {\n legalNoticeTypes: Mission[];\n}\n"]}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export interface EchoOrder {
|
|
2
|
+
customerReference: string;
|
|
3
|
+
status: string;
|
|
4
|
+
reference: string;
|
|
5
|
+
content: string;
|
|
6
|
+
header: string | null;
|
|
7
|
+
withLogo: boolean;
|
|
8
|
+
publicationDate: string;
|
|
9
|
+
publicationClosingDatetime: string | null;
|
|
10
|
+
publicationProofUrl: string | null;
|
|
11
|
+
price: {
|
|
12
|
+
totalExcludingTax: number;
|
|
13
|
+
total: number;
|
|
14
|
+
};
|
|
15
|
+
department: {
|
|
16
|
+
code: string;
|
|
17
|
+
name: string;
|
|
18
|
+
};
|
|
19
|
+
newspaper: {
|
|
20
|
+
id: string;
|
|
21
|
+
name: string;
|
|
22
|
+
};
|
|
23
|
+
type: {
|
|
24
|
+
id: string;
|
|
25
|
+
name: string;
|
|
26
|
+
};
|
|
27
|
+
hasBodacc: boolean;
|
|
28
|
+
documents: any[];
|
|
29
|
+
}
|
|
9
30
|
//# sourceMappingURL=Order.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"Order.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,MAAM,CAAC;IACxB,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,KAAK,EAAE;QACL,iBAAiB,EAAE,MAAM,CAAC;QAC1B,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,UAAU,EAAE;QACV,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,SAAS,EAAE;QACT,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,GAAG,EAAE,CAAC;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"","sourcesContent":["export
|
|
1
|
+
{"version":3,"file":"Order.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/echo/Order.ts"],"names":[],"mappings":"","sourcesContent":["export interface EchoOrder {\n customerReference: string;\n status: string;\n reference: string;\n content: string;\n header: string | null;\n withLogo: boolean;\n publicationDate: string;\n publicationClosingDatetime: string | null;\n publicationProofUrl: string | null;\n price: {\n totalExcludingTax: number;\n total: number;\n };\n department: {\n code: string;\n name: string;\n };\n newspaper: {\n id: string;\n name: string;\n };\n type: {\n id: string;\n name: string;\n };\n hasBodacc: boolean;\n documents: any[];\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
2
|
+
export declare class QueryPaginatedLegalNotice extends RequiredQueryPaginate {
|
|
3
|
+
year?: number | null;
|
|
4
|
+
quarter?: number | null;
|
|
5
|
+
idJuriste?: number[];
|
|
6
|
+
processed?: boolean | null;
|
|
7
|
+
search?: string;
|
|
8
|
+
include?: string[];
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=QueryLegalNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryLegalNotice.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/legalNotice/QueryLegalNotice.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,qBAAa,yBAA0B,SAAQ,qBAAqB;IAIlE,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKrB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAMrB,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAK3B,MAAM,CAAC,EAAE,MAAM,CAAC;IAMhB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB"}
|
|
@@ -0,0 +1,60 @@
|
|
|
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, IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';
|
|
11
|
+
import { ApiPropertyOptional } from '../../../../utils';
|
|
12
|
+
import { ToBoolean } from '../../../../utils/transforms/boolean.transform';
|
|
13
|
+
import { RequiredQueryPaginate } from '../BasePaginate';
|
|
14
|
+
export class QueryPaginatedLegalNotice extends RequiredQueryPaginate {
|
|
15
|
+
year;
|
|
16
|
+
quarter;
|
|
17
|
+
idJuriste;
|
|
18
|
+
processed;
|
|
19
|
+
search;
|
|
20
|
+
include;
|
|
21
|
+
}
|
|
22
|
+
__decorate([
|
|
23
|
+
ApiPropertyOptional(),
|
|
24
|
+
IsOptional(),
|
|
25
|
+
IsInt(),
|
|
26
|
+
__metadata("design:type", Object)
|
|
27
|
+
], QueryPaginatedLegalNotice.prototype, "year", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
ApiPropertyOptional(),
|
|
30
|
+
IsOptional(),
|
|
31
|
+
IsInt(),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], QueryPaginatedLegalNotice.prototype, "quarter", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
ApiPropertyOptional(),
|
|
36
|
+
IsOptional(),
|
|
37
|
+
IsArray(),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], QueryPaginatedLegalNotice.prototype, "idJuriste", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
ApiPropertyOptional(),
|
|
42
|
+
IsOptional(),
|
|
43
|
+
IsBoolean(),
|
|
44
|
+
ToBoolean(),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], QueryPaginatedLegalNotice.prototype, "processed", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
ApiPropertyOptional(),
|
|
49
|
+
IsString(),
|
|
50
|
+
IsOptional(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], QueryPaginatedLegalNotice.prototype, "search", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
IsOptional(),
|
|
55
|
+
IsString({
|
|
56
|
+
each: true,
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", Array)
|
|
59
|
+
], QueryPaginatedLegalNotice.prototype, "include", void 0);
|
|
60
|
+
//# sourceMappingURL=QueryLegalNotice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QueryLegalNotice.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/legalNotice/QueryLegalNotice.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAExD,MAAM,OAAO,yBAA0B,SAAQ,qBAAqB;IAIlE,IAAI,CAAiB;IAKrB,OAAO,CAAiB;IAKxB,SAAS,CAAY;IAMrB,SAAS,CAAkB;IAK3B,MAAM,CAAU;IAMhB,OAAO,CAAY;CACpB;AA5BC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;uDACa;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACgB;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;4DACW;AAMrB;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;4DACe;AAK3B;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;yDACG;AAMhB;IAJC,UAAU,EAAE;IACZ,QAAQ,CAAC;QACR,IAAI,EAAE,IAAI;KACX,CAAC;;0DACiB","sourcesContent":["import { IsArray, IsBoolean, IsInt, IsOptional, IsString } from 'class-validator';\nimport { ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { RequiredQueryPaginate } from '../BasePaginate';\n\nexport class QueryPaginatedLegalNotice extends RequiredQueryPaginate {\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n year?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n quarter?: number | null;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idJuriste?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n processed?: boolean | null;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n search?: string;\n\n @IsOptional()\n @IsString({\n each: true,\n })\n include?: string[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAC;CACd;AAED,qBAAa,mBAAmB;IAG9B,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,qBAAa,cAAc;IAGzB,EAAE,EAAE,MAAM,CAAC;IAIX,KAAK,EAAE,MAAM,CAAC;IAId,QAAQ,CAAC,EAAE,MAAM,CAAC;IAIlB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,iCAAiC;IAI5C,SAAS,CAAC,EAAE,IAAI,CAAC;IAKjB,OAAO,CAAC,EAAE,IAAI,CAAC;CAChB;AAED,qBAAa,yBAAyB;IAGpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,uBAAuB;IAGlC,SAAS,EAAE,MAAM,CAAC;IAIlB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,4BAA4B;IAIvC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAI1B,GAAG,EAAE,MAAM,CAAC;IAKZ,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,+BAA+B;IAG1C,SAAS,EAAE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,CAAC;CACzB;AAED,qBAAa,qBAAqB;IAGhC,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,MAAM,CAAC;IAIhB,IAAI,EAAE,MAAM,CAAC;IAIb,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,iCAAiC;IAK5C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
@@ -346,4 +346,14 @@ __decorate([
|
|
|
346
346
|
IsInt(),
|
|
347
347
|
__metadata("design:type", Number)
|
|
348
348
|
], CreatePaymentLocation.prototype, "idCountry", void 0);
|
|
349
|
+
export class CreateCustomerPaymentMethodPortal {
|
|
350
|
+
isSoftware;
|
|
351
|
+
}
|
|
352
|
+
__decorate([
|
|
353
|
+
ApiPropertyOptional(),
|
|
354
|
+
IsBoolean(),
|
|
355
|
+
ToBoolean(),
|
|
356
|
+
IsOptional(),
|
|
357
|
+
__metadata("design:type", Boolean)
|
|
358
|
+
], CreateCustomerPaymentMethodPortal.prototype, "isSoftware", void 0);
|
|
349
359
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,MAAM,OAAO,sBAAsB;IAGjC,IAAI,CAAS;CACd;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE;AAGf,MAAM,OAAO,mBAAmB;IAG9B,gBAAgB,CAAS;CAC1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K,EAAE;;uEAC2B;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4DACa;AAG1B,MAAM,OAAO,qBAAqB;IAGhC,IAAI,CAAS;IAIb,OAAO,CAAS;IAIhB,IAAI,CAAS;IAIb,OAAO,CAAS;IAIhB,SAAS,CAAS;CACnB;AAjBC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACE;AAIb;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACK;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACE;AAIb;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACK;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n description?: string;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n idempotencyKey?: string;\n}\n\nexport class CreatePaymentLocation {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n address: string;\n\n @ApiProperty()\n @IsString()\n city: string;\n\n @ApiProperty()\n @IsString()\n zipCode: string;\n\n @ApiProperty()\n @IsInt()\n idCountry: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/Create.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACvH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAC3E,MAAM,OAAO,sBAAsB;IAGjC,IAAI,CAAS;CACd;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;oDACE;AAGf,MAAM,OAAO,mBAAmB;IAG9B,gBAAgB,CAA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Z,KAAK,EAAE;;uEAC2B;AAKnC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;2DACY;AAKvB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4DACa;AAG1B,MAAM,OAAO,qBAAqB;IAGhC,IAAI,CAAS;IAIb,OAAO,CAAS;IAIhB,IAAI,CAAS;IAIb,OAAO,CAAS;IAIhB,SAAS,CAAS;CACnB;AAjBC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACE;AAIb;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACK;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;mDACE;AAIb;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;sDACK;AAIhB;IAFC,WAAW,EAAE;IACb,KAAK,EAAE;;wDACU;AAGpB,MAAM,OAAO,iCAAiC;IAK5C,UAAU,CAAW;CACtB;AADC;IAJC,mBAAmB,EAAE;IACrB,SAAS,EAAE;IACX,SAAS,EAAE;IACX,UAAU,EAAE;;qEACQ","sourcesContent":["import { IsArray, IsBoolean, IsDate, IsDateString, IsInt, IsNumber, IsOptional, IsString, Min } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport type Stripe from 'stripe';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nexport class CreateStripeConnection {\n @ApiProperty()\n @IsString()\n code: string;\n}\n\nexport class CreateStripePortals {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n}\n\nexport class CreateCustomer {\n @ApiProperty()\n @IsInt()\n id: number;\n\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsString()\n firstname?: string;\n}\n\nexport class CreateImportTransactionForSociety {\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n startDate?: Date;\n\n @ApiPropertyOptional()\n @IsDate()\n @IsOptional()\n endDate?: Date;\n}\n\nexport class CreateSubscriptionSession {\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateCommercialSession {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsInt()\n idUser: number;\n\n @ApiProperty()\n @IsString()\n priceId: string;\n}\n\nexport class CreateSubscriptionSessionOff {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeCustomerId?: string;\n\n @ApiProperty()\n @IsString()\n ref: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreateSubscriptionSessionOffApp {\n @ApiProperty()\n @IsInt()\n idSociety: number;\n\n @ApiProperty()\n @IsString()\n stripePriceId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n returnUrl?: string;\n}\n\nexport class CreatePaymentIntent {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiProperty()\n @IsString()\n paymentMethodId: string;\n\n @ApiProperty()\n @IsInt()\n amountInCents: number;\n\n @ApiPropertyOptional()\n metadata?: Stripe.MetadataParam;\n}\n\nexport class UpdatePaymentMethod {\n @ApiProperty()\n @IsString()\n stripePaymentMethodId: string;\n\n @ApiProperty()\n metadata: any;\n}\n\nexport class PostProcessPaymentAutomatically {\n @ApiPropertyOptional()\n @IsInt()\n @IsOptional()\n idSociety?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n minDate?: string;\n}\n\nexport class CreateTapToPayIntent {\n @ApiProperty()\n @IsNumber()\n @Min(1, {\n message: 'Le montant doit être supérieur à 1ct',\n })\n amountInCents: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n description?: string;\n}\n\nexport class CreateTapToPayConnectionToken {\n @ApiProperty()\n @IsString()\n @IsOptional()\n locationId?: string;\n}\n\nexport class CreatePurchaseSession {\n @ApiProperty({ description: 'Is software or accountancy product' })\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty({ description: 'Redirection link on success' })\n @IsString()\n successRedirection: string;\n\n @ApiProperty({ description: 'Redirection link on cancel / error' })\n @IsString()\n cancelRedirection: string;\n\n @ApiPropertyOptional()\n metadata?: Record<string, string | number>;\n\n @ApiProperty()\n @IsArray()\n items: Array<{ priceId: string; quantity: number }>;\n}\nexport class CreatePaymentSession {\n @ApiProperty()\n @IsString()\n stripeCustomerId: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n label?: string;\n\n @ApiProperty()\n @IsString()\n returnUrl: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n metadata?: Record<string, string | number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n amountInCentsTaxIncluded?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n priceId?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idVatForInternalInvoicing?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n stripeAccount?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n idempotencyKey?: string;\n}\n\nexport class CreatePaymentLocation {\n @ApiProperty()\n @IsString()\n name: string;\n\n @ApiProperty()\n @IsString()\n address: string;\n\n @ApiProperty()\n @IsString()\n city: string;\n\n @ApiProperty()\n @IsString()\n zipCode: string;\n\n @ApiProperty()\n @IsInt()\n idCountry: number;\n}\n\nexport class CreateCustomerPaymentMethodPortal {\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isSoftware?: boolean;\n}\n"]}
|
|
@@ -17,4 +17,9 @@ export declare class QueryStripePurchaseHook {
|
|
|
17
17
|
export declare class QueryStripePaymentHook {
|
|
18
18
|
isSoftware?: boolean;
|
|
19
19
|
}
|
|
20
|
+
export declare class QueryProcessCustomerPaymentMethods {
|
|
21
|
+
context: string;
|
|
22
|
+
isSoftware: boolean;
|
|
23
|
+
idUser: number;
|
|
24
|
+
}
|
|
20
25
|
//# sourceMappingURL=QueryStripe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,sBAAsB;IAKjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"QueryStripe.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":"AAIA,qBAAa,4BAA4B;IAGvC,UAAU,EAAE,MAAM,CAAC;IAKnB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,qBAAa,kBAAkB;IAK7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,qBAAa,yBAAyB;IAGpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,gBAAgB;IAI3B,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,uBAAuB;IAIlC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,qBAAa,sBAAsB;IAKjC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,qBAAa,kCAAkC;IAG7C,OAAO,EAAE,MAAM,CAAC;IAKhB,UAAU,EAAE,OAAO,CAAC;IAIpB,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -71,4 +71,25 @@ __decorate([
|
|
|
71
71
|
ToBoolean(),
|
|
72
72
|
__metadata("design:type", Boolean)
|
|
73
73
|
], QueryStripePaymentHook.prototype, "isSoftware", void 0);
|
|
74
|
+
export class QueryProcessCustomerPaymentMethods {
|
|
75
|
+
context;
|
|
76
|
+
isSoftware;
|
|
77
|
+
idUser;
|
|
78
|
+
}
|
|
79
|
+
__decorate([
|
|
80
|
+
ApiProperty({ description: 'Context identifier to link the visualized information' }),
|
|
81
|
+
IsString(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], QueryProcessCustomerPaymentMethods.prototype, "context", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
ApiProperty(),
|
|
86
|
+
IsBoolean(),
|
|
87
|
+
ToBoolean(),
|
|
88
|
+
__metadata("design:type", Boolean)
|
|
89
|
+
], QueryProcessCustomerPaymentMethods.prototype, "isSoftware", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
ApiProperty(),
|
|
92
|
+
IsNumber(),
|
|
93
|
+
__metadata("design:type", Number)
|
|
94
|
+
], QueryProcessCustomerPaymentMethods.prototype, "idUser", void 0);
|
|
74
95
|
//# sourceMappingURL=QueryStripe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,4BAA4B;IAGvC,UAAU,CAAS;IAKnB,SAAS,CAAS;CACnB;AANC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACQ;AAKnB;IAHC,mBAAmB,CAAC,EAAE,QAAQ,EAAE,qCAAqC,EAAE,CAAC;IACxE,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACK;AAGpB,MAAM,OAAO,kBAAkB;IAK7B,QAAQ,CAAW;CACpB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACO;AAGrB,MAAM,OAAO,yBAAyB;IAGpC,UAAU,CAAS;CACpB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACQ;AAGrB,MAAM,OAAO,gBAAgB;IAI3B,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;oDACQ;AAGtB,MAAM,OAAO,uBAAuB;IAIlC,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;2DACQ;AAGtB,MAAM,OAAO,sBAAsB;IAKjC,UAAU,CAAW;CACtB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACS","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiPropertyOptional({ describe: 'Search into payment method metadata' })\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePaymentHook {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSoftware?: boolean;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"QueryStripe.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/stripe/QueryStripe.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,4BAA4B;IAGvC,UAAU,CAAS;IAKnB,SAAS,CAAS;CACnB;AANC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;gEACQ;AAKnB;IAHC,mBAAmB,CAAC,EAAE,QAAQ,EAAE,qCAAqC,EAAE,CAAC;IACxE,QAAQ,EAAE;IACV,UAAU,EAAE;;+DACK;AAGpB,MAAM,OAAO,kBAAkB;IAK7B,QAAQ,CAAW;CACpB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;oDACO;AAGrB,MAAM,OAAO,yBAAyB;IAGpC,UAAU,CAAS;CACpB;AADC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6DACQ;AAGrB,MAAM,OAAO,gBAAgB;IAI3B,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;oDACQ;AAGtB,MAAM,OAAO,uBAAuB;IAIlC,UAAU,CAAU;CACrB;AADC;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;2DACQ;AAGtB,MAAM,OAAO,sBAAsB;IAKjC,UAAU,CAAW;CACtB;AADC;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;0DACS;AAGvB,MAAM,OAAO,kCAAkC;IAG7C,OAAO,CAAS;IAKhB,UAAU,CAAU;IAIpB,MAAM,CAAS;CAChB;AAVC;IAFC,WAAW,CAAC,EAAE,WAAW,EAAE,uDAAuD,EAAE,CAAC;IACrF,QAAQ,EAAE;;mEACK;AAKhB;IAHC,WAAW,EAAE;IACb,SAAS,EAAE;IACX,SAAS,EAAE;;sEACQ;AAIpB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;kEACI","sourcesContent":["import { IsBoolean, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class RetrievePaymentMethodsParams {\n @ApiProperty()\n @IsString()\n customerId: string;\n\n @ApiPropertyOptional({ describe: 'Search into payment method metadata' })\n @IsNumber()\n @IsOptional()\n idSociety: number;\n}\n\nexport class QueryStripeSession {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isYearly?: boolean;\n}\n\nexport class QueryStripeSubscriptionId {\n @ApiProperty()\n @IsString()\n customerId: string;\n}\n\nexport class QueryStripePrice {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePurchaseHook {\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n}\n\nexport class QueryStripePaymentHook {\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isSoftware?: boolean;\n}\n\nexport class QueryProcessCustomerPaymentMethods {\n @ApiProperty({ description: 'Context identifier to link the visualized information' })\n @IsString()\n context: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n isSoftware: boolean;\n\n @ApiProperty()\n @IsNumber()\n idUser: number;\n}\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReadDashboardLayoutItem } from '../api/DashboardLayout';
|
|
2
|
+
export interface IDashboardLayout {
|
|
3
|
+
id: number;
|
|
4
|
+
idUser: number;
|
|
5
|
+
idSociety: number;
|
|
6
|
+
jsonLayout: ReadDashboardLayoutItem[];
|
|
7
|
+
createdAt: Date;
|
|
8
|
+
updatedAt: Date;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=IDashboardLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDashboardLayout.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IDashboardLayout.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IDashboardLayout.ts"],"names":[],"mappings":"","sourcesContent":["import { ReadDashboardLayoutItem } from '../api/DashboardLayout';\n\nexport interface IDashboardLayout {\n id: number;\n idUser: number;\n idSociety: number;\n jsonLayout: ReadDashboardLayoutItem[];\n createdAt: Date;\n updatedAt: Date;\n}\n"]}
|
|
@@ -53,6 +53,7 @@ export * from './Interface/models/ICountry';
|
|
|
53
53
|
export * from './Interface/models/ICurrency';
|
|
54
54
|
export * from './Interface/models/ICustomerIsRegime';
|
|
55
55
|
export * from './Interface/models/ICustomerSignature';
|
|
56
|
+
export * from './Interface/models/IDashboardLayout';
|
|
56
57
|
export * from './Interface/models/ICustomerVat';
|
|
57
58
|
export * from './Interface/models/ICustomisation';
|
|
58
59
|
export * from './Interface/models/ICycle';
|
|
@@ -1007,6 +1008,7 @@ export * from './Interface/api/prestation/BodyCreatePrestationSocieties';
|
|
|
1007
1008
|
export * from './Interface/api/prestation/QueryGetPaginatedSocietiesFromPrestation';
|
|
1008
1009
|
export * from './Interface/api/paymentExpectation/QueryPaymentExpectation';
|
|
1009
1010
|
export * from './Interface/api/legalNotice/UpdateLegalNotice';
|
|
1011
|
+
export * from './Interface/api/legalNotice/QueryLegalNotice';
|
|
1010
1012
|
export * from './Interface/api/wallet/QueryWallet';
|
|
1011
1013
|
export * from './Interface/api/terminationList/QueryTerminationList';
|
|
1012
1014
|
export * from './Interface/api/terminationList/DestroyTerminationList';
|
|
@@ -1079,6 +1081,8 @@ export * from './Interface/api/echo/Mission';
|
|
|
1079
1081
|
export * from './Interface/api/echo/CreateOrder';
|
|
1080
1082
|
export * from './Interface/api/echo/NewsPaper';
|
|
1081
1083
|
export * from './Interface/api/echo/Order';
|
|
1084
|
+
export * from './Interface/api/echo/Estimate';
|
|
1085
|
+
export * from './Interface/api/echo/EstimatePayload';
|
|
1082
1086
|
export * from './Interface/api/userTimeSlot/QueryUserTimeSlot';
|
|
1083
1087
|
export * from './Interface/api/workingSchedule/QueryAvailableTimeSlot';
|
|
1084
1088
|
export * from './Interface/api/workingSchedule/Query';
|