@silexpert/core 1.2.18 → 1.2.20
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/Equipment.d.ts +4 -0
- package/dist/cjs/api/resources/Equipment.d.ts.map +1 -1
- package/dist/cjs/api/resources/Equipment.js +8 -0
- package/dist/cjs/api/resources/Equipment.js.map +1 -1
- package/dist/cjs/api/resources/Library.d.ts +1 -2
- package/dist/cjs/api/resources/Library.d.ts.map +1 -1
- package/dist/cjs/api/resources/Library.js.map +1 -1
- package/dist/cjs/api/resources/Registration.d.ts +3 -1
- package/dist/cjs/api/resources/Registration.d.ts.map +1 -1
- package/dist/cjs/api/resources/Registration.js +6 -0
- package/dist/cjs/api/resources/Registration.js.map +1 -1
- package/dist/cjs/api/resources/SalesContract.d.ts +4 -0
- package/dist/cjs/api/resources/SalesContract.d.ts.map +1 -1
- package/dist/cjs/api/resources/SalesContract.js +18 -0
- package/dist/cjs/api/resources/SalesContract.js.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/cjs/types/Enum/BrandClementine.js +28 -27
- package/dist/cjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/cjs/types/Enum/CustomerSignature.d.ts +6 -0
- package/dist/cjs/types/Enum/CustomerSignature.d.ts.map +1 -1
- package/dist/cjs/types/Enum/CustomerSignature.js +8 -1
- package/dist/cjs/types/Enum/CustomerSignature.js.map +1 -1
- package/dist/cjs/types/Enum/Pdf2PicLocalType.d.ts +17 -0
- package/dist/cjs/types/Enum/Pdf2PicLocalType.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Pdf2PicLocalType.js +3 -0
- package/dist/cjs/types/Enum/Pdf2PicLocalType.js.map +1 -0
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts +2 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReasonTerminationType.js +6 -0
- package/dist/cjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/cjs/types/Enum/StatusSignature.d.ts +2 -1
- package/dist/cjs/types/Enum/StatusSignature.d.ts.map +1 -1
- package/dist/cjs/types/Enum/StatusSignature.js +1 -0
- package/dist/cjs/types/Enum/StatusSignature.js.map +1 -1
- package/dist/cjs/types/Enum/TerminationList.d.ts +4 -2
- package/dist/cjs/types/Enum/TerminationList.d.ts.map +1 -1
- package/dist/cjs/types/Enum/TerminationList.js +10 -0
- package/dist/cjs/types/Enum/TerminationList.js.map +1 -1
- package/dist/cjs/types/Interface/api/aspone/AsponeApi.d.ts +137 -0
- package/dist/cjs/types/Interface/api/aspone/AsponeApi.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/aspone/AsponeApi.js +19 -0
- package/dist/cjs/types/Interface/api/aspone/AsponeApi.js.map +1 -0
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.d.ts +8 -8
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.js +0 -13
- package/dist/cjs/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts +3 -3
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js +9 -11
- package/dist/cjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts +7 -0
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/cjs/types/Interface/api/yousign/index.d.ts +211 -0
- package/dist/cjs/types/Interface/api/yousign/index.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/yousign/index.js +35 -0
- package/dist/cjs/types/Interface/api/yousign/index.js.map +1 -0
- package/dist/cjs/types/Interface/models/ICustomerSignature.d.ts +5 -5
- package/dist/cjs/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/dist/cjs/types/index.d.ts +3 -1
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +3 -1
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/utils/vat/3310/century24.js +1 -1
- package/dist/cjs/utils/vat/3310/century24.js.map +1 -1
- package/dist/mjs/api/resources/Equipment.d.ts +4 -0
- package/dist/mjs/api/resources/Equipment.d.ts.map +1 -1
- package/dist/mjs/api/resources/Equipment.js +13 -0
- package/dist/mjs/api/resources/Equipment.js.map +1 -1
- package/dist/mjs/api/resources/Library.d.ts +1 -2
- package/dist/mjs/api/resources/Library.d.ts.map +1 -1
- package/dist/mjs/api/resources/Library.js.map +1 -1
- package/dist/mjs/api/resources/Registration.d.ts +3 -1
- package/dist/mjs/api/resources/Registration.d.ts.map +1 -1
- package/dist/mjs/api/resources/Registration.js +6 -0
- package/dist/mjs/api/resources/Registration.js.map +1 -1
- package/dist/mjs/api/resources/SalesContract.d.ts +4 -0
- package/dist/mjs/api/resources/SalesContract.d.ts.map +1 -1
- package/dist/mjs/api/resources/SalesContract.js +18 -0
- package/dist/mjs/api/resources/SalesContract.js.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.d.ts.map +1 -1
- package/dist/mjs/types/Enum/BrandClementine.js +28 -27
- package/dist/mjs/types/Enum/BrandClementine.js.map +1 -1
- package/dist/mjs/types/Enum/CustomerSignature.d.ts +6 -0
- package/dist/mjs/types/Enum/CustomerSignature.d.ts.map +1 -1
- package/dist/mjs/types/Enum/CustomerSignature.js +7 -0
- package/dist/mjs/types/Enum/CustomerSignature.js.map +1 -1
- package/dist/mjs/types/Enum/Pdf2PicLocalType.d.ts +17 -0
- package/dist/mjs/types/Enum/Pdf2PicLocalType.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Pdf2PicLocalType.js +2 -0
- package/dist/mjs/types/Enum/Pdf2PicLocalType.js.map +1 -0
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts +2 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReasonTerminationType.js +6 -0
- package/dist/mjs/types/Enum/ReasonTerminationType.js.map +1 -1
- package/dist/mjs/types/Enum/StatusSignature.d.ts +2 -1
- package/dist/mjs/types/Enum/StatusSignature.d.ts.map +1 -1
- package/dist/mjs/types/Enum/StatusSignature.js +1 -0
- package/dist/mjs/types/Enum/StatusSignature.js.map +1 -1
- package/dist/mjs/types/Enum/TerminationList.d.ts +4 -2
- package/dist/mjs/types/Enum/TerminationList.d.ts.map +1 -1
- package/dist/mjs/types/Enum/TerminationList.js +10 -0
- package/dist/mjs/types/Enum/TerminationList.js.map +1 -1
- package/dist/mjs/types/Interface/api/aspone/AsponeApi.d.ts +137 -0
- package/dist/mjs/types/Interface/api/aspone/AsponeApi.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/aspone/AsponeApi.js +17 -0
- package/dist/mjs/types/Interface/api/aspone/AsponeApi.js.map +1 -0
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.d.ts +8 -8
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.js +1 -31
- package/dist/mjs/types/Interface/api/aspone/ReadInterchange.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts +3 -3
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js +8 -10
- package/dist/mjs/types/Interface/api/registration/CreateRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts +7 -0
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/registration/ReadRegistration.js.map +1 -1
- package/dist/mjs/types/Interface/api/yousign/index.d.ts +211 -0
- package/dist/mjs/types/Interface/api/yousign/index.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/yousign/index.js +32 -0
- package/dist/mjs/types/Interface/api/yousign/index.js.map +1 -0
- package/dist/mjs/types/Interface/models/ICustomerSignature.d.ts +5 -5
- package/dist/mjs/types/Interface/models/ICustomerSignature.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/ICustomerSignature.js.map +1 -1
- package/dist/mjs/types/index.d.ts +3 -1
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +3 -1
- package/dist/mjs/types/index.js.map +1 -1
- package/dist/mjs/utils/vat/3310/century24.js +1 -1
- package/dist/mjs/utils/vat/3310/century24.js.map +1 -1
- package/package.json +1 -2
- package/ts/api/resources/Equipment.ts +14 -0
- package/ts/api/resources/Library.ts +1 -2
- package/ts/api/resources/Registration.ts +10 -0
- package/ts/api/resources/SalesContract.ts +19 -0
- package/ts/types/Enum/BrandClementine.ts +28 -27
- package/ts/types/Enum/CustomerSignature.ts +7 -0
- package/ts/types/Enum/Pdf2PicLocalType.ts +16 -0
- package/ts/types/Enum/ReasonTerminationType.ts +6 -0
- package/ts/types/Enum/StatusSignature.ts +1 -0
- package/ts/types/Enum/TerminationList.ts +10 -0
- package/ts/types/Interface/api/aspone/AsponeApi.ts +141 -0
- package/ts/types/Interface/api/aspone/ReadInterchange.ts +8 -8
- package/ts/types/Interface/api/registration/CreateRegistration.ts +6 -8
- package/ts/types/Interface/api/registration/ReadRegistration.ts +9 -1
- package/ts/types/Interface/api/yousign/index.ts +230 -0
- package/ts/types/Interface/models/ICustomerSignature.ts +5 -5
- package/ts/types/index.ts +3 -2
- package/ts/utils/vat/3310/century24.ts +1 -1
- package/dist/cjs/types/Interface/api/aspone/Util.d.ts +0 -111
- package/dist/cjs/types/Interface/api/aspone/Util.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/aspone/Util.js +0 -28
- package/dist/cjs/types/Interface/api/aspone/Util.js.map +0 -1
- package/dist/mjs/types/Interface/api/aspone/Util.d.ts +0 -111
- package/dist/mjs/types/Interface/api/aspone/Util.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/aspone/Util.js +0 -61
- package/dist/mjs/types/Interface/api/aspone/Util.js.map +0 -1
- package/ts/types/Interface/api/aspone/Util.ts +0 -112
|
@@ -22,7 +22,8 @@ export declare enum ReasonTerminationType {
|
|
|
22
22
|
NA = 21,
|
|
23
23
|
LACK_OF_COMMUNICATION = 22,
|
|
24
24
|
NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT = 23,
|
|
25
|
-
ERROR_ON_PRESTATION = 24
|
|
25
|
+
ERROR_ON_PRESTATION = 24,
|
|
26
|
+
LAB_REFUSED = 25
|
|
26
27
|
}
|
|
27
28
|
export declare const ReasonTerminationTypeDetail: {
|
|
28
29
|
id: ReasonTerminationType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReasonTerminationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,4BAA4B,KAAK;IACjC,SAAS,KAAK;IACd,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,YAAY,KAAK;IACjB,MAAM,KAAK;IACX,kBAAkB,KAAK;IACvB,sBAAsB,KAAK;IAC3B,YAAY,KAAK;IACjB,cAAc,KAAK;IACnB,cAAc,KAAK;IACnB,EAAE,KAAK;IACP,qBAAqB,KAAK;IAC1B,kCAAkC,KAAK;IACvC,mBAAmB,KAAK;
|
|
1
|
+
{"version":3,"file":"ReasonTerminationType.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":"AAAA,oBAAY,qBAAqB;IAC/B,WAAW,IAAI;IACf,KAAK,IAAI;IACT,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,4BAA4B,KAAK;IACjC,SAAS,KAAK;IACd,aAAa,KAAK;IAClB,WAAW,KAAK;IAChB,YAAY,KAAK;IACjB,MAAM,KAAK;IACX,kBAAkB,KAAK;IACvB,sBAAsB,KAAK;IAC3B,YAAY,KAAK;IACjB,cAAc,KAAK;IACnB,cAAc,KAAK;IACnB,EAAE,KAAK;IACP,qBAAqB,KAAK;IAC1B,kCAAkC,KAAK;IACvC,mBAAmB,KAAK;IACxB,WAAW,KAAK;CACjB;AAED,eAAO,MAAM,2BAA2B;;;;GA8HvC,CAAC"}
|
|
@@ -27,6 +27,7 @@ var ReasonTerminationType;
|
|
|
27
27
|
ReasonTerminationType[ReasonTerminationType["LACK_OF_COMMUNICATION"] = 22] = "LACK_OF_COMMUNICATION";
|
|
28
28
|
ReasonTerminationType[ReasonTerminationType["NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT"] = 23] = "NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT";
|
|
29
29
|
ReasonTerminationType[ReasonTerminationType["ERROR_ON_PRESTATION"] = 24] = "ERROR_ON_PRESTATION";
|
|
30
|
+
ReasonTerminationType[ReasonTerminationType["LAB_REFUSED"] = 25] = "LAB_REFUSED";
|
|
30
31
|
})(ReasonTerminationType || (exports.ReasonTerminationType = ReasonTerminationType = {}));
|
|
31
32
|
exports.ReasonTerminationTypeDetail = [
|
|
32
33
|
{
|
|
@@ -149,5 +150,10 @@ exports.ReasonTerminationTypeDetail = [
|
|
|
149
150
|
label: 'Erreur sur prestation',
|
|
150
151
|
active: true,
|
|
151
152
|
},
|
|
153
|
+
{
|
|
154
|
+
id: ReasonTerminationType.LAB_REFUSED,
|
|
155
|
+
label: 'LAB refusée',
|
|
156
|
+
active: true,
|
|
157
|
+
},
|
|
152
158
|
];
|
|
153
159
|
//# sourceMappingURL=ReasonTerminationType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReasonTerminationType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"ReasonTerminationType.js","sourceRoot":"","sources":["../../../../ts/types/Enum/ReasonTerminationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBA0BX;AA1BD,WAAY,qBAAqB;IAC/B,+EAAe,CAAA;IACf,mEAAS,CAAA;IACT,yFAAoB,CAAA;IACpB,2FAAqB,CAAA;IACrB,6EAAc,CAAA;IACd,iEAAQ,CAAA;IACR,yEAAY,CAAA;IACZ,uEAAW,CAAA;IACX,yEAAY,CAAA;IACZ,kHAAiC,CAAA;IACjC,4EAAc,CAAA;IACd,oFAAkB,CAAA;IAClB,gFAAgB,CAAA;IAChB,kFAAiB,CAAA;IACjB,sEAAW,CAAA;IACX,8FAAuB,CAAA;IACvB,sGAA2B,CAAA;IAC3B,kFAAiB,CAAA;IACjB,sFAAmB,CAAA;IACnB,sFAAmB,CAAA;IACnB,8DAAO,CAAA;IACP,oGAA0B,CAAA;IAC1B,8HAAuC,CAAA;IACvC,gGAAwB,CAAA;IACxB,gFAAgB,CAAA;AAClB,CAAC,EA1BW,qBAAqB,qCAArB,qBAAqB,QA0BhC;AAEY,QAAA,2BAA2B,GAAG;IACzC;QACE,EAAE,EAAE,qBAAqB,CAAC,WAAW;QACrC,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,KAAK;KACd;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,KAAK;QAC/B,KAAK,EAAE,MAAM;QACb,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,gBAAgB;QAC1C,KAAK,E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qB,CAAC,kBAAkB;QAC5C,KAAK,EAAE,uBAAuB;QAC9B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,sBAAsB;QAC/C,KAAK,EAAE,2BAA2B;QAClC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,YAAY;QACrC,KAAK,EAAE,2DAA2D;QAClE,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,cAAc;QACvC,KAAK,EAAE,qBAAqB;QAC5B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,cAAc;QACvC,KAAK,EAAE,mBAAmB;QAC1B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,qBAAqB;QAC9C,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,EAAE;QAC3B,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,kCAAkC;QAC3D,KAAK,EAAE,oCAAoC;QAC3C,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,mBAAmB;QAC5C,KAAK,EAAE,uBAAuB;QAC9B,MAAM,EAAE,IAAI;KACb;IACD;QACE,EAAE,EAAC,qBAAqB,CAAC,WAAW;QACpC,KAAK,EAAE,aAAa;QACpB,MAAM,EAAE,IAAI;KACb;CACF,CAAC","sourcesContent":["export enum ReasonTerminationType {\n LIQUIDATION = 1,\n PRICE = 2,\n CHANGE_EC_ONLINE = 3,\n CHANGE_EC_CLASSIC = 4,\n RETIREMENT = 5,\n SELL = 6,\n CONFLICT = 7,\n UNPAYED = 8,\n SOFTWARE = 9,\n RESIGNATION_FROM_THE_MISSION = 10,\n MAIL_LRAR = 11,\n NON_COMPLIANT = 12,\n NO_RESPONSE = 13,\n DISCONTINUED = 14,\n UPDATE = 15,\n ACTIVITY_CESSATION = 16,\n INADEQUATE_FUNCTIONING = 17,\n BRAND_CHANGE = 18,\n SERVICE_DELAYS = 19,\n LACK_OF_ADVICE = 20,\n NA = 21,\n LACK_OF_COMMUNICATION = 22,\n NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT = 23,\n ERROR_ON_PRESTATION = 24,\n LAB_REFUSED = 25,\n}\n\nexport const ReasonTerminationTypeDetail = [\n {\n id: ReasonTerminationType.LIQUIDATION,\n label: 'Liquidation',\n active: false,\n },\n {\n id: ReasonTerminationType.PRICE,\n label: 'Prix',\n active: true,\n },\n {\n id: ReasonTerminationType.CHANGE_EC_ONLINE,\n label: 'Changement EC en ligne',\n active: false,\n },\n {\n id: ReasonTerminationType.CHANGE_EC_CLASSIC,\n label: 'Changement EC classique',\n active: false,\n },\n {\n id: ReasonTerminationType.RETIREMENT,\n label: 'Retraite',\n active: false,\n },\n {\n id: ReasonTerminationType.SELL,\n label: 'Vente',\n active: false,\n },\n {\n id: ReasonTerminationType.CONFLICT,\n label: 'Conflit',\n active: false,\n },\n {\n id: ReasonTerminationType.UNPAYED,\n label: 'Impayé',\n active: true,\n },\n {\n id: ReasonTerminationType.SOFTWARE,\n label: 'Logiciel',\n active: true,\n },\n {\n id: ReasonTerminationType.RESIGNATION_FROM_THE_MISSION,\n label: 'Démission de la mission',\n active: true,\n },\n {\n id: ReasonTerminationType.MAIL_LRAR,\n label: 'Mail/LRAR',\n active: false,\n },\n {\n id: ReasonTerminationType.NON_COMPLIANT,\n label: 'Non conforme',\n active: false,\n },\n {\n id: ReasonTerminationType.NO_RESPONSE,\n label: 'Pas de réponse au premier entretien',\n active: true,\n },\n {\n id: ReasonTerminationType.DISCONTINUED,\n label: 'Abandon de constitution',\n active: true,\n },\n {\n id: ReasonTerminationType.UPDATE,\n label: 'Mise à jour du clémentinier',\n active: false,\n },\n {\n id: ReasonTerminationType.ACTIVITY_CESSATION,\n label: 'Cessation d\\'activité',\n active: true,\n },\n { \n id:ReasonTerminationType.INADEQUATE_FUNCTIONING,\n label: 'Fonctionnement non adapté',\n active: true,\n },\n { \n id:ReasonTerminationType.BRAND_CHANGE,\n label: 'Changement de marque (Clementine, Pourcentage, Comptalib)',\n active: true,\n },\n { \n id:ReasonTerminationType.SERVICE_DELAYS,\n label: 'Retards prestations',\n active: true,\n },\n { \n id:ReasonTerminationType.LACK_OF_ADVICE,\n label: 'Manque de conseil',\n active: true,\n },\n { \n id:ReasonTerminationType.LACK_OF_COMMUNICATION,\n label: 'Manque de communication',\n active: true,\n },\n { \n id:ReasonTerminationType.NA,\n label: 'Non précisé',\n active: true,\n },\n { \n id:ReasonTerminationType.NO_NEED_FOR_A_CERTIFIED_ACCOUNTANT,\n label: 'Plus besoin d\\'un expert-comptable',\n active: true,\n },\n { \n id:ReasonTerminationType.ERROR_ON_PRESTATION,\n label: 'Erreur sur prestation',\n active: true,\n },\n { \n id:ReasonTerminationType.LAB_REFUSED,\n label: 'LAB refusée',\n active: true,\n },\n];"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusSignature.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusSignature.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,cAAc,IAAI;IAClB,eAAe,IAAI;IACnB,gBAAgB,IAAI;IACpB,eAAe,IAAI;IACnB,gBAAgB,IAAI;IACpB,eAAe,IAAI;
|
|
1
|
+
{"version":3,"file":"StatusSignature.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusSignature.ts"],"names":[],"mappings":"AAAA,oBAAY,eAAe;IACzB,cAAc,IAAI;IAClB,eAAe,IAAI;IACnB,gBAAgB,IAAI;IACpB,eAAe,IAAI;IACnB,gBAAgB,IAAI;IACpB,eAAe,IAAI;IACnB,WAAW,IAAI;CAChB"}
|
|
@@ -9,5 +9,6 @@ var StatusSignature;
|
|
|
9
9
|
StatusSignature[StatusSignature["CHARGE_REFUNDED"] = 4] = "CHARGE_REFUNDED";
|
|
10
10
|
StatusSignature[StatusSignature["APP_FEE_REFUNDED"] = 5] = "APP_FEE_REFUNDED";
|
|
11
11
|
StatusSignature[StatusSignature["APP_FEE_CREATED"] = 6] = "APP_FEE_CREATED";
|
|
12
|
+
StatusSignature[StatusSignature["LINK_OPENED"] = 7] = "LINK_OPENED";
|
|
12
13
|
})(StatusSignature || (exports.StatusSignature = StatusSignature = {}));
|
|
13
14
|
//# sourceMappingURL=StatusSignature.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatusSignature.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusSignature.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"StatusSignature.js","sourceRoot":"","sources":["../../../../ts/types/Enum/StatusSignature.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAQX;AARD,WAAY,eAAe;IACzB,yEAAkB,CAAA;IAClB,2EAAmB,CAAA;IACnB,6EAAoB,CAAA;IACpB,2EAAmB,CAAA;IACnB,6EAAoB,CAAA;IACpB,2EAAmB,CAAA;IACnB,mEAAe,CAAA;AACjB,CAAC,EARW,eAAe,+BAAf,eAAe,QAQ1B","sourcesContent":["export enum StatusSignature {\n SIGNED_PENDING = 1,\n SIGNED_COMPLETE = 2,\n CHARGE_SUCCEEDED = 3,\n CHARGE_REFUNDED = 4,\n APP_FEE_REFUNDED = 5,\n APP_FEE_CREATED = 6,\n LINK_OPENED = 7,\n}"]}
|
|
@@ -2,7 +2,8 @@ export declare enum TerminationListType {
|
|
|
2
2
|
REGULAR = 1,
|
|
3
3
|
OUT_OF_TIME = 2,
|
|
4
4
|
RETRACTION = 3,
|
|
5
|
-
SATISFIED_REFUNDED = 4
|
|
5
|
+
SATISFIED_REFUNDED = 4,
|
|
6
|
+
LAB_REFUSED = 5
|
|
6
7
|
}
|
|
7
8
|
export declare const TerminationListTypeDetail: {
|
|
8
9
|
id: TerminationListType;
|
|
@@ -20,7 +21,8 @@ export declare const TerminationListStateDetail: {
|
|
|
20
21
|
export declare enum ConclusionTermination {
|
|
21
22
|
CHANGE_EC_ONLINE = 1,
|
|
22
23
|
CHANGE_EC_CLASSIC = 2,
|
|
23
|
-
PERSONAL_MANAGEMENT = 3
|
|
24
|
+
PERSONAL_MANAGEMENT = 3,
|
|
25
|
+
LAB_REFUSED = 4
|
|
24
26
|
}
|
|
25
27
|
export declare const ConclusionTerminationDetail: {
|
|
26
28
|
id: ConclusionTermination;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TerminationList.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,OAAO,IAAI;IACX,WAAW,IAAI;IACf,UAAU,IAAI;IACd,kBAAkB,IAAI;
|
|
1
|
+
{"version":3,"file":"TerminationList.d.ts","sourceRoot":"","sources":["../../../../ts/types/Enum/TerminationList.ts"],"names":[],"mappings":"AAAA,oBAAY,mBAAmB;IAC7B,OAAO,IAAI;IACX,WAAW,IAAI;IACf,UAAU,IAAI;IACd,kBAAkB,IAAI;IACtB,WAAW,IAAI;CAChB;AAED,eAAO,MAAM,yBAAyB;;;GAqBrC,CAAC;AAEF,oBAAY,oBAAoB;IAC9B,WAAW,IAAI;IACf,QAAQ,IAAI;IACZ,OAAO,IAAI;CACZ;AAED,eAAO,MAAM,0BAA0B;;;GAatC,CAAC;AAEF,oBAAY,qBAAqB;IAC/B,gBAAgB,IAAI;IACpB,iBAAiB,IAAI;IACrB,mBAAmB,IAAI;IACvB,WAAW,IAAI;CAChB;AAED,eAAO,MAAM,2BAA2B;;;GAiBvC,CAAC"}
|
|
@@ -7,6 +7,7 @@ var TerminationListType;
|
|
|
7
7
|
TerminationListType[TerminationListType["OUT_OF_TIME"] = 2] = "OUT_OF_TIME";
|
|
8
8
|
TerminationListType[TerminationListType["RETRACTION"] = 3] = "RETRACTION";
|
|
9
9
|
TerminationListType[TerminationListType["SATISFIED_REFUNDED"] = 4] = "SATISFIED_REFUNDED";
|
|
10
|
+
TerminationListType[TerminationListType["LAB_REFUSED"] = 5] = "LAB_REFUSED";
|
|
10
11
|
})(TerminationListType || (exports.TerminationListType = TerminationListType = {}));
|
|
11
12
|
exports.TerminationListTypeDetail = [
|
|
12
13
|
{
|
|
@@ -25,6 +26,10 @@ exports.TerminationListTypeDetail = [
|
|
|
25
26
|
id: TerminationListType.SATISFIED_REFUNDED,
|
|
26
27
|
label: 'Satisfait / Remboursé',
|
|
27
28
|
},
|
|
29
|
+
{
|
|
30
|
+
id: TerminationListType.LAB_REFUSED,
|
|
31
|
+
label: 'LAB refusée',
|
|
32
|
+
},
|
|
28
33
|
];
|
|
29
34
|
var TerminationListState;
|
|
30
35
|
(function (TerminationListState) {
|
|
@@ -51,6 +56,7 @@ var ConclusionTermination;
|
|
|
51
56
|
ConclusionTermination[ConclusionTermination["CHANGE_EC_ONLINE"] = 1] = "CHANGE_EC_ONLINE";
|
|
52
57
|
ConclusionTermination[ConclusionTermination["CHANGE_EC_CLASSIC"] = 2] = "CHANGE_EC_CLASSIC";
|
|
53
58
|
ConclusionTermination[ConclusionTermination["PERSONAL_MANAGEMENT"] = 3] = "PERSONAL_MANAGEMENT";
|
|
59
|
+
ConclusionTermination[ConclusionTermination["LAB_REFUSED"] = 4] = "LAB_REFUSED";
|
|
54
60
|
})(ConclusionTermination || (exports.ConclusionTermination = ConclusionTermination = {}));
|
|
55
61
|
exports.ConclusionTerminationDetail = [
|
|
56
62
|
{
|
|
@@ -65,5 +71,9 @@ exports.ConclusionTerminationDetail = [
|
|
|
65
71
|
id: ConclusionTermination.PERSONAL_MANAGEMENT,
|
|
66
72
|
label: 'Gestion personnelle',
|
|
67
73
|
},
|
|
74
|
+
{
|
|
75
|
+
id: ConclusionTermination.LAB_REFUSED,
|
|
76
|
+
label: 'LAB refusée',
|
|
77
|
+
},
|
|
68
78
|
];
|
|
69
79
|
//# sourceMappingURL=TerminationList.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TerminationList.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"TerminationList.js","sourceRoot":"","sources":["../../../../ts/types/Enum/TerminationList.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,mEAAW,CAAA;IACX,2EAAe,CAAA;IACf,yEAAc,CAAA;IACd,yFAAsB,CAAA;IACtB,2EAAe,CAAA;AACjB,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAEY,QAAA,yBAAyB,GAAG;IACvC;QACE,EAAE,EAAE,mBAAmB,CAAC,OAAO;QAC/B,KAAK,EAAE,WAAW;KACnB;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,WAAW;QACnC,KAAK,EAAE,YAAY;KACpB;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,UAAU;QAClC,KAAK,EAAE,cAAc;KACtB;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,kBAAkB;QAC1C,KAAK,EAAE,uBAAuB;KAC/B;IACD;QACE,EAAE,EAAE,mBAAmB,CAAC,WAAW;QACnC,KAAK,EAAE,aAAa;KACrB;CACF,CAAC;AAEF,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC9B,6EAAe,CAAA;IACf,uEAAY,CAAA;IACZ,qEAAW,CAAA;AACb,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAEY,QAAA,0BAA0B,GAAG;IACxC;QACE,EAAE,EAAE,oBAAoB,CAAC,WAAW;QACpC,KAAK,EAAE,yBAAyB;KACjC;IACD;QACE,EAAE,EAAE,oBAAoB,CAAC,QAAQ;QACjC,KAAK,EAAE,UAAU;KAClB;IACD;QACE,EAAE,EAAE,oBAAoB,CAAC,OAAO;QAChC,KAAK,EAAE,SAAS;KACjB;CACF,CAAC;AAEF,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC/B,yFAAoB,CAAA;IACpB,2FAAqB,CAAA;IACrB,+FAAuB,CAAA;IACvB,+EAAe,CAAA;AACjB,CAAC,EALW,qBAAqB,qCAArB,qBAAqB,QAKhC;AAEY,QAAA,2BAA2B,GAAG;IACzC;QACE,EAAE,EAAE,qBAAqB,CAAC,gBAAgB;QAC1C,KAAK,EAAE,wBAAwB;KAChC;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,iBAAiB;QAC3C,KAAK,EAAE,yBAAyB;KACjC;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,mBAAmB;QAC7C,KAAK,EAAE,qBAAqB;KAC7B;IACD;QACE,EAAE,EAAE,qBAAqB,CAAC,WAAW;QACrC,KAAK,EAAE,aAAa;KACrB;CACF,CAAC","sourcesContent":["export enum TerminationListType {\n REGULAR = 1,\n OUT_OF_TIME = 2,\n RETRACTION = 3,\n SATISFIED_REFUNDED = 4,\n LAB_REFUSED = 5,\n}\n\nexport const TerminationListTypeDetail = [\n {\n id: TerminationListType.REGULAR,\n label: 'Régulière',\n },\n {\n id: TerminationListType.OUT_OF_TIME,\n label: 'Hors délai',\n },\n {\n id: TerminationListType.RETRACTION,\n label: 'Rétractation',\n },\n {\n id: TerminationListType.SATISFIED_REFUNDED,\n label: 'Satisfait / Remboursé',\n },\n {\n id: TerminationListType.LAB_REFUSED,\n label: 'LAB refusée',\n },\n];\n\nexport enum TerminationListState {\n IN_PROGRESS = 1,\n ACCEPTED = 2,\n REFUSED = 3,\n}\n\nexport const TerminationListStateDetail = [\n {\n id: TerminationListState.IN_PROGRESS,\n label: 'En cours d\\'instruction',\n },\n {\n id: TerminationListState.ACCEPTED,\n label: 'Acceptée',\n },\n {\n id: TerminationListState.REFUSED,\n label: 'Refusée',\n },\n];\n\nexport enum ConclusionTermination {\n CHANGE_EC_ONLINE = 1,\n CHANGE_EC_CLASSIC = 2,\n PERSONAL_MANAGEMENT = 3,\n LAB_REFUSED = 4,\n}\n\nexport const ConclusionTerminationDetail = [\n {\n id: ConclusionTermination.CHANGE_EC_ONLINE,\n label: 'Changement EC en ligne',\n },\n {\n id: ConclusionTermination.CHANGE_EC_CLASSIC,\n label: 'Changement EC classique',\n },\n {\n id: ConclusionTermination.PERSONAL_MANAGEMENT,\n label: 'Gestion personnelle',\n },\n {\n id: ConclusionTermination.LAB_REFUSED,\n label: 'LAB refusée',\n },\n];"]}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { Rof } from '../../../Enum/Aspone';
|
|
2
|
+
export type AsponeApiAuthenticationTokenAccessResponse = {
|
|
3
|
+
token: string;
|
|
4
|
+
refreshToken: string;
|
|
5
|
+
tokenExpirationDate: string;
|
|
6
|
+
refreshTokenExpirationDate: string;
|
|
7
|
+
};
|
|
8
|
+
export declare enum AsponeApiTeleprocedureType {
|
|
9
|
+
TVA = "TVA",
|
|
10
|
+
TDFC = "TDFC",
|
|
11
|
+
PAIEMENT = "PAIEMENT",
|
|
12
|
+
IR = "IR",
|
|
13
|
+
REQUETE = "REQUETE",
|
|
14
|
+
PART = "PART",
|
|
15
|
+
DADSU = "DADSU",
|
|
16
|
+
DPAE = "DPAE",
|
|
17
|
+
DSN = "DSN"
|
|
18
|
+
}
|
|
19
|
+
export declare class AccessKeys {
|
|
20
|
+
login: string;
|
|
21
|
+
password: string;
|
|
22
|
+
}
|
|
23
|
+
export type AsponeApiTeleprocedureGetDepositResponse = {
|
|
24
|
+
depositId: string;
|
|
25
|
+
depositDate: string;
|
|
26
|
+
subject: string | null;
|
|
27
|
+
type: string;
|
|
28
|
+
method: string;
|
|
29
|
+
tradOnly: boolean;
|
|
30
|
+
adsDate: string;
|
|
31
|
+
adsNumber: string;
|
|
32
|
+
depositor: {
|
|
33
|
+
clientAccountId: string;
|
|
34
|
+
portal: string;
|
|
35
|
+
login: string;
|
|
36
|
+
label: string;
|
|
37
|
+
type: string;
|
|
38
|
+
role: string;
|
|
39
|
+
test: boolean;
|
|
40
|
+
};
|
|
41
|
+
interchangeIds: string[];
|
|
42
|
+
};
|
|
43
|
+
export type AsponeApiStateDetail = {
|
|
44
|
+
date: string;
|
|
45
|
+
label: string | null;
|
|
46
|
+
type: 'SUCCESS' | 'ERROR';
|
|
47
|
+
detail: string;
|
|
48
|
+
};
|
|
49
|
+
export type AsponeApiState = {
|
|
50
|
+
date: string;
|
|
51
|
+
name: string;
|
|
52
|
+
label: string;
|
|
53
|
+
issuer: string;
|
|
54
|
+
type: 'SUCCESS' | 'ERROR';
|
|
55
|
+
final: boolean;
|
|
56
|
+
details: AsponeApiStateDetail[];
|
|
57
|
+
};
|
|
58
|
+
export type AsponeApiTeleprocedureGetInterchangeResponse = {
|
|
59
|
+
interchangeId: string;
|
|
60
|
+
teleprocedure: AsponeApiTeleprocedureType;
|
|
61
|
+
test: boolean;
|
|
62
|
+
version: null | string;
|
|
63
|
+
software: null | string | {
|
|
64
|
+
name: string;
|
|
65
|
+
version: string;
|
|
66
|
+
editor: string;
|
|
67
|
+
};
|
|
68
|
+
deposit: Omit<AsponeApiTeleprocedureGetDepositResponse, 'interchangeIds'>;
|
|
69
|
+
states: AsponeApiState[];
|
|
70
|
+
declarationIds?: string[];
|
|
71
|
+
referenceClient?: string;
|
|
72
|
+
};
|
|
73
|
+
export type IndebtedIdentification = {
|
|
74
|
+
identifiant: string;
|
|
75
|
+
designation: string;
|
|
76
|
+
adresseVoie: string;
|
|
77
|
+
adresseNumero: string;
|
|
78
|
+
adresseCodePostal: string;
|
|
79
|
+
adresseVille: string;
|
|
80
|
+
adresseCodePays: string;
|
|
81
|
+
rof: Rof;
|
|
82
|
+
};
|
|
83
|
+
type AsponeDeclarant = {
|
|
84
|
+
index: number;
|
|
85
|
+
name: string;
|
|
86
|
+
referenceSender: string;
|
|
87
|
+
rog: Rof;
|
|
88
|
+
siren: string;
|
|
89
|
+
taxCategory: string;
|
|
90
|
+
taxStatus: string;
|
|
91
|
+
};
|
|
92
|
+
type AsponeForm = {
|
|
93
|
+
name: string;
|
|
94
|
+
version: string;
|
|
95
|
+
number: number;
|
|
96
|
+
};
|
|
97
|
+
export type AsponeApiTeleprocedureDeclarationResponse = {
|
|
98
|
+
deadline: string | null;
|
|
99
|
+
declarants: AsponeDeclarant[];
|
|
100
|
+
declarationId: string;
|
|
101
|
+
dueDate: string | null;
|
|
102
|
+
forms: AsponeForm[];
|
|
103
|
+
periodEndDate: string;
|
|
104
|
+
periodStartDate: string;
|
|
105
|
+
recipient: {
|
|
106
|
+
name: string;
|
|
107
|
+
recipientId: string;
|
|
108
|
+
referenceInterchange: string;
|
|
109
|
+
type: string;
|
|
110
|
+
};
|
|
111
|
+
interchange: Partial<AsponeApiTeleprocedureGetInterchangeResponse>;
|
|
112
|
+
referenceClient: string;
|
|
113
|
+
referenceCommon: string | null;
|
|
114
|
+
referencePortal: string | null;
|
|
115
|
+
states: AsponeApiState[];
|
|
116
|
+
type: {
|
|
117
|
+
code: string;
|
|
118
|
+
label: string;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
export type AsponeApiTeleprocedureDeclarationFile = {
|
|
122
|
+
fileId: string;
|
|
123
|
+
creationDate: string;
|
|
124
|
+
filename: string;
|
|
125
|
+
checksum: {
|
|
126
|
+
algo: string;
|
|
127
|
+
value: string;
|
|
128
|
+
};
|
|
129
|
+
format: 'XML' | 'EDI';
|
|
130
|
+
size: string;
|
|
131
|
+
};
|
|
132
|
+
export type AsponeApiTeleprocedureDeclarationFilesResponse = {
|
|
133
|
+
total: number;
|
|
134
|
+
files: Array<AsponeApiTeleprocedureDeclarationFile>;
|
|
135
|
+
};
|
|
136
|
+
export {};
|
|
137
|
+
//# sourceMappingURL=AsponeApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsponeApi.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/AsponeApi.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAA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AAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,qCAAqC,CAAC,CAAC;CACrD,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessKeys = exports.AsponeApiTeleprocedureType = void 0;
|
|
4
|
+
var AsponeApiTeleprocedureType;
|
|
5
|
+
(function (AsponeApiTeleprocedureType) {
|
|
6
|
+
AsponeApiTeleprocedureType["TVA"] = "TVA";
|
|
7
|
+
AsponeApiTeleprocedureType["TDFC"] = "TDFC";
|
|
8
|
+
AsponeApiTeleprocedureType["PAIEMENT"] = "PAIEMENT";
|
|
9
|
+
AsponeApiTeleprocedureType["IR"] = "IR";
|
|
10
|
+
AsponeApiTeleprocedureType["REQUETE"] = "REQUETE";
|
|
11
|
+
AsponeApiTeleprocedureType["PART"] = "PART";
|
|
12
|
+
AsponeApiTeleprocedureType["DADSU"] = "DADSU";
|
|
13
|
+
AsponeApiTeleprocedureType["DPAE"] = "DPAE";
|
|
14
|
+
AsponeApiTeleprocedureType["DSN"] = "DSN";
|
|
15
|
+
})(AsponeApiTeleprocedureType || (exports.AsponeApiTeleprocedureType = AsponeApiTeleprocedureType = {}));
|
|
16
|
+
class AccessKeys {
|
|
17
|
+
}
|
|
18
|
+
exports.AccessKeys = AccessKeys;
|
|
19
|
+
//# sourceMappingURL=AsponeApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsponeApi.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/AsponeApi.ts"],"names":[],"mappings":";;;AASA,IAAY,0BAUX;AAVD,WAAY,0BAA0B;IACpC,yCAAW,CAAA;IACX,2CAAa,CAAA;IACb,mDAAqB,CAAA;IACrB,uCAAS,CAAA;IACT,iDAAmB,CAAA;IACnB,2CAAa,CAAA;IACb,6CAAe,CAAA;IACf,2CAAa,CAAA;IACb,yCAAW,CAAA;AACb,CAAC,EAVW,0BAA0B,0CAA1B,0BAA0B,QAUrC;AAED,MAAa,UAAU;CAGtB;AAHD,gCAGC","sourcesContent":["import { Rof } from '../../../Enum/Aspone';\n\nexport type AsponeApiAuthenticationTokenAccessResponse = {\n token: string;\n refreshToken: string;\n tokenExpirationDate: string;\n refreshTokenExpirationDate: string;\n};\n\nexport enum AsponeApiTeleprocedureType {\n TVA = 'TVA',\n TDFC = 'TDFC',\n PAIEMENT = 'PAIEMENT',\n IR = 'IR',\n REQUETE = 'REQUETE',\n PART = 'PART',\n DADSU = 'DADSU',\n DPAE = 'DPAE',\n DSN = 'DSN',\n}\n\nexport class AccessKeys {\n login: string;\n password: string;\n}\n\nexport type AsponeApiTeleprocedureGetDepositResponse = {\n depositId: string;\n depositDate: string;\n subject: string | null,\n type: string;\n method: string;\n tradOnly: boolean;\n adsDate: string;\n adsNumber: string;\n depositor: {\n clientAccountId: string;\n portal: string;\n login: string;\n label: string;\n type: string;\n role: string;\n test: boolean;\n },\n interchangeIds: string[]\n};\n\nexport type AsponeApiStateDetail = {\n date: string;\n label: string | null;\n type: 'SUCCESS' | 'ERROR';\n detail: string;\n};\n\nexport type AsponeApiState = {\n date: string;\n name: string;\n label: string;\n issuer: string;\n type: 'SUCCESS' | 'ERROR',\n final: boolean,\n details: AsponeApiStateDetail[]\n};\n\nexport type AsponeApiTeleprocedureGetInterchangeResponse = {\n interchangeId: string,\n teleprocedure: AsponeApiTeleprocedureType,\n test: boolean,\n version: null | string,\n software: null | string | { name: string; version: string; editor: string; },\n deposit: Omit<AsponeApiTeleprocedureGetDepositResponse, 'interchangeIds'>,\n states: AsponeApiState[]\n declarationIds?: string[]\n referenceClient?: string;\n};\n\nexport type IndebtedIdentification = {\n identifiant: string;\n designation: string;\n adresseVoie: string;\n adresseNumero: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n rof: Rof;\n};\n\ntype AsponeDeclarant = {\n index: number;\n name: string;\n referenceSender: string;\n rog: Rof;\n siren: string;\n taxCategory: string;\n taxStatus: string;\n};\n\ntype AsponeForm = {\n name: string;\n version: string;\n number: number;\n};\n\nexport type AsponeApiTeleprocedureDeclarationResponse = {\n deadline: string | null;\n declarants: AsponeDeclarant[];\n declarationId: string;\n dueDate: string | null;\n forms: AsponeForm[];\n periodEndDate: string;\n periodStartDate: string;\n recipient: {\n name: string;\n recipientId: string;\n referenceInterchange: string;\n type: string;\n };\n interchange: Partial<AsponeApiTeleprocedureGetInterchangeResponse>\n referenceClient: string;\n referenceCommon: string | null;\n referencePortal: string | null;\n states: AsponeApiState[];\n type: { code: string; label: string; }\n};\n\nexport type AsponeApiTeleprocedureDeclarationFile = {\n fileId: string;\n creationDate: string;\n filename: string;\n checksum: {\n algo: string;\n value: string;\n };\n format: 'XML' | 'EDI',\n size: string;\n};\n\nexport type AsponeApiTeleprocedureDeclarationFilesResponse = {\n total: number;\n files: Array<AsponeApiTeleprocedureDeclarationFile>;\n};"]}
|
|
@@ -17,7 +17,7 @@ export type InterchangeState = Array<Interchange>;
|
|
|
17
17
|
export type InterchangeHistory = Interchange & {
|
|
18
18
|
stateDetailsHistory: InterchangeState;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type ReadDeclaration = {
|
|
21
21
|
idDeclaration: string;
|
|
22
22
|
type: string;
|
|
23
23
|
declarationType: {
|
|
@@ -27,15 +27,15 @@ export declare class ReadDeclaration {
|
|
|
27
27
|
payment: PaymentState;
|
|
28
28
|
dld: any;
|
|
29
29
|
states: InterchangeHistory[];
|
|
30
|
-
}
|
|
31
|
-
export
|
|
30
|
+
};
|
|
31
|
+
export type ReadInterchange = {
|
|
32
32
|
idDeposit: string;
|
|
33
33
|
date: string;
|
|
34
34
|
idInterchange: string;
|
|
35
35
|
history: InterchangeHistory[];
|
|
36
36
|
declarations: ReadDeclaration[];
|
|
37
|
-
}
|
|
38
|
-
export
|
|
37
|
+
};
|
|
38
|
+
export type RedactorAddress = {
|
|
39
39
|
adresseNumero: string;
|
|
40
40
|
adresseType: string | null;
|
|
41
41
|
adresseVoie: string;
|
|
@@ -43,14 +43,14 @@ export declare class RedactorAddress {
|
|
|
43
43
|
adresseCodePostal: string;
|
|
44
44
|
adresseVille: string;
|
|
45
45
|
adresseCodePays: string;
|
|
46
|
-
}
|
|
47
|
-
export
|
|
46
|
+
};
|
|
47
|
+
export type Redactor = {
|
|
48
48
|
siret: string;
|
|
49
49
|
designation: string;
|
|
50
50
|
designationSuite1: string;
|
|
51
51
|
adresse: RedactorAddress;
|
|
52
52
|
referenceDossier: string;
|
|
53
|
-
}
|
|
53
|
+
};
|
|
54
54
|
type Tag = 'ContactDesignation' | 'AdresseDivisionTerritoriale' | 'AdresseCodeDivisionTerritoriale' | 'Email' | 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation' | 'TitulaireDesignationSuite';
|
|
55
55
|
type Tags = Array<{
|
|
56
56
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadInterchange.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,E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,aAAa,GAAG,aAAa,GAAG,mBAAmB,GAAG,eAAe,GAAG,MAAM,GAAG,KAAK,GAAG,sBAAsB,GAAG,2BAA2B,CAAC;AACtgB,KAAK,IAAI,GAAG,KAAK,CAAC;IAAE,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,GAAG,CAAC;IAAC,KAAK,EAAE,GAAG,CAAA;CAAE,CAAC,CAAC;AAElE,MAAM,WAAW,kBAAkB;IACjC,GAAG,CAAC,EAAE,GAAG,CAAC;IACV,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,YAAY,CAAC,EAAE,IAAI,EAAE,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,EAAE,GAAG,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,gBAAgB,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAA;CACb"}
|
|
@@ -1,16 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Redactor = exports.RedactorAddress = exports.ReadInterchange = exports.ReadDeclaration = void 0;
|
|
4
|
-
class ReadDeclaration {
|
|
5
|
-
}
|
|
6
|
-
exports.ReadDeclaration = ReadDeclaration;
|
|
7
|
-
class ReadInterchange {
|
|
8
|
-
}
|
|
9
|
-
exports.ReadInterchange = ReadInterchange;
|
|
10
|
-
class RedactorAddress {
|
|
11
|
-
}
|
|
12
|
-
exports.RedactorAddress = RedactorAddress;
|
|
13
|
-
class Redactor {
|
|
14
|
-
}
|
|
15
|
-
exports.Redactor = Redactor;
|
|
16
3
|
//# sourceMappingURL=ReadInterchange.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadInterchange.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ReadInterchange.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/aspone/ReadInterchange.ts"],"names":[],"mappings":"","sourcesContent":["import { AsponeFormFields } from '../cerfa/ReadCerfa';\n\nexport type PaymentState = {\n isError: boolean | null;\n details: string[]; // Obsolete\n label: string | null;\n date: string | null;\n};\n\nexport type Interchange = {\n name: string | null;\n label: string | null;\n isError: boolean;\n isFinal: boolean;\n date: string | null;\n detailledLabel?: string | null\n};\n\nexport type InterchangeState = Array<Interchange>;\n\nexport type InterchangeHistory = Interchange & { stateDetailsHistory: InterchangeState };\n\nexport type ReadDeclaration = {\n idDeclaration: string;\n type: string;\n declarationType: {\n code: string | null;\n label: string | null\n };\n payment: PaymentState;\n dld: any;\n states: InterchangeHistory[];\n};\n\nexport type ReadInterchange = {\n idDeposit: string;\n date: string;\n idInterchange: string;\n history: InterchangeHistory[];\n declarations: ReadDeclaration[];\n};\n\nexport type RedactorAddress = {\n adresseNumero: string;\n adresseType: string | null;\n adresseVoie: string;\n adresseComplement: string;\n adresseCodePostal: string;\n adresseVille: string;\n adresseCodePays: string;\n};\n\nexport type Redactor = {\n siret: string;\n designation: string;\n designationSuite1: string;\n adresse: RedactorAddress;\n referenceDossier: string;\n};\n\ntype Tag = 'ContactDesignation' | 'AdresseDivisionTerritoriale' | 'AdresseCodeDivisionTerritoriale' | 'Email' | 'Valeur' | 'AdresseVille' | 'AdresseVoie' | 'AdresseCodePays' | 'AdresseComplement' | 'AdresseCodePostal' | 'AdresseHameau' | 'Telephone' | 'Designation' | 'DesignationSuite1' | 'DesignationSuite2' | 'Identifiant' | 'TexteLibre1' | 'TexteLibre2' | 'TexteLibre3' | 'TexteLibre4' | 'TexteLibre5' | 'DesignationSuite3' | 'AdresseNumero' | 'Iban' | 'Bic' | 'TitulaireDesignation' | 'TitulaireDesignationSuite';\ntype Tags = Array<{ description?: string; tag: Tag; value: any }>;\n\nexport interface FieldForGeneration {\n tag?: Tag;\n tags?: Tags,\n multipleTags?: Tags[],\n description?: string;\n key: string;\n value?: any;\n isMultiple: boolean;\n}\n\nexport interface PayloadForRegistration {\n isTest: boolean;\n redactor: Redactor;\n indebted: any;\n millesime: number;\n forms: AsponeFormFields;\n xml?: string\n}"]}
|
|
@@ -37,9 +37,6 @@ export declare class CreateRegistration {
|
|
|
37
37
|
isTest?: boolean;
|
|
38
38
|
forcedValues?: ForcedValues;
|
|
39
39
|
}
|
|
40
|
-
export declare class CreateRegistrationSynchronization {
|
|
41
|
-
forceTestMode?: boolean;
|
|
42
|
-
}
|
|
43
40
|
export declare class UpdateOrCreateVatRegistration {
|
|
44
41
|
idCerfaType: number;
|
|
45
42
|
startDate: string;
|
|
@@ -78,4 +75,7 @@ export declare class CreateAndSendVatMail {
|
|
|
78
75
|
idSociety: number;
|
|
79
76
|
idFiles: number[];
|
|
80
77
|
}
|
|
78
|
+
export declare class DownloadExternalFile {
|
|
79
|
+
fileId: string;
|
|
80
|
+
}
|
|
81
81
|
//# sourceMappingURL=CreateRegistration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC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AK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,qBAAa,oBAAoB;IAG7B,EAAE,EAAE,MAAM,CAAC;IAKX,OAAO,EAAE,MAAM,CAAC;IAKhB,OAAO,EAAE,MAAM,CAAC;IAIhB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,qBAAa,oBAAoB;IAG7B,MAAM,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CreateAndSendVatMail = exports.CreateVatMigration = exports.UpdateOrCreateVatAdvance = exports.CreateRegistrationDetail = exports.UpdateOrCreateVatRegistration = exports.
|
|
12
|
+
exports.DownloadExternalFile = exports.CreateAndSendVatMail = exports.CreateVatMigration = exports.UpdateOrCreateVatAdvance = exports.CreateRegistrationDetail = exports.UpdateOrCreateVatRegistration = exports.CreateRegistration = exports.CreateRegistrationSettingFromSociety = exports.CreateRegistrationSetting = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const CerfaType_1 = require("../../../Enum/CerfaType");
|
|
@@ -114,16 +114,6 @@ __decorate([
|
|
|
114
114
|
(0, class_validator_1.IsOptional)(),
|
|
115
115
|
__metadata("design:type", Object)
|
|
116
116
|
], CreateRegistration.prototype, "forcedValues", void 0);
|
|
117
|
-
class CreateRegistrationSynchronization {
|
|
118
|
-
}
|
|
119
|
-
exports.CreateRegistrationSynchronization = CreateRegistrationSynchronization;
|
|
120
|
-
__decorate([
|
|
121
|
-
(0, utils_1.ApiPropertyOptional)(),
|
|
122
|
-
(0, class_validator_1.IsOptional)(),
|
|
123
|
-
(0, class_validator_1.IsBoolean)(),
|
|
124
|
-
(0, boolean_transform_1.ToBoolean)(),
|
|
125
|
-
__metadata("design:type", Boolean)
|
|
126
|
-
], CreateRegistrationSynchronization.prototype, "forceTestMode", void 0);
|
|
127
117
|
class UpdateOrCreateVatRegistration {
|
|
128
118
|
}
|
|
129
119
|
exports.UpdateOrCreateVatRegistration = UpdateOrCreateVatRegistration;
|
|
@@ -293,4 +283,12 @@ __decorate([
|
|
|
293
283
|
(0, class_validator_1.IsArray)(),
|
|
294
284
|
__metadata("design:type", Array)
|
|
295
285
|
], CreateAndSendVatMail.prototype, "idFiles", void 0);
|
|
286
|
+
class DownloadExternalFile {
|
|
287
|
+
}
|
|
288
|
+
exports.DownloadExternalFile = DownloadExternalFile;
|
|
289
|
+
__decorate([
|
|
290
|
+
(0, utils_1.ApiProperty)(),
|
|
291
|
+
(0, class_validator_1.IsString)(),
|
|
292
|
+
__metadata("design:type", String)
|
|
293
|
+
], DownloadExternalFile.prototype, "fileId", void 0);
|
|
296
294
|
//# sourceMappingURL=CreateRegistration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,6CAAqE;AACrE,uDAAoD;AACpD,sFAA2E;AAM3E,2DAA8E;AAE9E,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAJG;IADD,IAAA,2BAAmB,GAAE;;uDACC;AAGrB;IADD,IAAA,2BAAmB,GAAE;;sDACA;AAGxB,MAAa,oCAAoC;CAuChD;AAvCD,oFAuCC;AArCG;IADD,IAAA,2BAAmB,GAAE;;iEACJ;AAGhB;IADD,IAAA,2BAAmB,GAAE;;2EACO;AAG3B;IADD,IAAA,2BAAmB,GAAE;;6EACS;AAG7B;IADD,IAAA,2BAAmB,GAAE;;qEACI;AAGxB;IADD,IAAA,2BAAmB,GAAE;;mEACE;AAGtB;IADD,IAAA,2BAAmB,GAAE;;8EACa;AAGjC;IADD,IAAA,2BAAmB,GAAE;;4EACW;AAG/B;IADD,IAAA,2BAAmB,GAAE;;4EACW;AAG/B;IADD,IAAA,2BAAmB,GAAE;;+EACc;AAGlC;IADD,IAAA,2BAAmB,GAAE;;4EACW;AAG/B;IADD,IAAA,2BAAmB,GAAE;;0EACS;AAG7B;IADD,IAAA,2BAAmB,GAAE;;kEACC;AAGrB;IADD,IAAA,2BAAmB,GAAE;;iEACA;AAYxB,MAAa,kBAAkB;CAyB9B;AAzBD,gDAyBC;AAtBG;IAFD,IAAA,mBAAW,GAAE;IACb,IAAA,wBAAM,EAAC,qBAAS,CAAC;;uDACI;AAMpB;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,qBAAG,EAAC,CAAC,CAAC;IACN,IAAA,4BAAU,GAAE;;uDACU;AAKrB;IAHD,IAAA,2BAAmB,GAAE;IACrB,IAAA,8BAAY,GAAE;IACd,IAAA,4BAAU,GAAE;;gDACG;AAMd;IAJD,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;kDACM;AAIjB;IAFD,IAAA,2BAAmB,EAAC,EAAE,WAAW,EAAE,mDAAmD,EAAE,CAAC;IACzF,IAAA,4BAAU,GAAE;;wDACiB;AAGhC,MAAa,
|
|
1
|
+
{"version":3,"file":"CreateRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/CreateRegistration.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAKyB;AACzB,6CAAqE;AACrE,uDAAoD;AACpD,sFAA2E;AAM3E,2DAA8E;AAE9E,MAAa,yBAAyB;CAMrC;AAND,8DAMC;AAJG;IADD,IAAA,2BAAmB,GAAE;;uDACC;AAGrB;IADD,IAAA,2BAAmB,GAAE;;sDACA;AAGxB,MAAa,oCAAoC;CAuChD;AAvCD,oFAuCC;AArCG;IADD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String,\n IsEmail,\n MinLength,\n IsInt,\n} from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { CerfaType } from '../../../Enum/CerfaType';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { Rof } from '../../../Enum/Aspone';\nimport { Cerfa3310_2023 } from '../cerfa/3310';\nimport { Cerfa3519_2017 } from '../cerfa/3519';\nimport { CerfaFormValue } from '../cerfa/ReadCerfa';\nimport { UpdatedAnnotation } from './ReadRegistration';\nimport { CustomerVatState, CustomerVatType } from '../../../Enum/CustomerVat';\n\nexport class CreateRegistrationSetting {\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport class CreateRegistrationSettingFromSociety {\n @ApiPropertyOptional()\n rof: Rof | null;\n\n @ApiPropertyOptional()\n companyTaxRof?: Rof | null;\n\n @ApiPropertyOptional()\n balanceSheetRof?: Rof | null;\n\n @ApiPropertyOptional()\n ogaName?: string | null;\n\n @ApiPropertyOptional()\n ogaId?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressNumero?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressType?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressVoie?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressZipCode?: string | null;\n\n @ApiPropertyOptional()\n ogaAddressCity?: string | null;\n\n @ApiPropertyOptional()\n ogaReference?: string | null;\n\n @ApiPropertyOptional()\n iban?: string | null;\n\n @ApiPropertyOptional()\n bic?: string | null;\n}\n\nexport type ForcedValues_2571 = {\n base?: number;\n regularisation?: number;\n};\n\nexport type ForcedValues = {\n cerfa2571?: ForcedValues_2571;\n};\n\nexport class CreateRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @Min(0)\n @IsOptional()\n amountToPay?: number;\n\n @ApiPropertyOptional()\n @IsDateString()\n @IsOptional()\n date?: string;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional({ description: 'Set values manually (not available for all cerfa)' })\n @IsOptional()\n forcedValues?: ForcedValues;\n}\n\nexport class UpdateOrCreateVatRegistration {\n @ApiProperty()\n @IsEnum(CerfaType)\n idCerfaType: number;\n\n @ApiProperty()\n @IsDateString()\n startDate: string;\n\n @ApiProperty()\n @IsDateString()\n endDate: string;\n\n @ApiProperty()\n payload: Cerfa3310_2023;\n\n @ApiPropertyOptional()\n annexPayload?: Cerfa3519_2017;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isTest?: boolean;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isManuallyRegistered?: boolean;\n}\n\nexport class CreateRegistrationDetail {\n @ApiProperty()\n @IsArray()\n accountingTransactionIds: number[];\n\n @ApiProperty()\n @IsArray()\n updatedEntries: UpdatedAnnotation;\n\n @ApiProperty()\n @IsArray()\n @ValidateNested({ each: true })\n inputs: CerfaFormValue[];\n}\n\nexport class UpdateOrCreateVatAdvance {\n @ApiProperty()\n @IsDateString()\n vatDate: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n isCA12?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n stateAmount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amount: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n type: CustomerVatType;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n state: CustomerVatState;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n status: number;\n\n @ApiPropertyOptional()\n @IsNumber()\n @IsOptional()\n amountBaseTva: number;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment: string;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n token: string;\n\n @ApiPropertyOptional()\n idMail: number | null;\n}\n\nexport class CreateVatMigration {\n @ApiPropertyOptional()\n @IsOptional()\n idVatDeclaration?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n limit?: number;\n}\n\nexport class CreateAndSendVatMail {\n @ApiProperty()\n @IsEmail()\n to: string;\n\n @ApiProperty()\n @IsString()\n @MinLength(2)\n subject: string;\n \n @ApiProperty()\n @IsString()\n @MinLength(2) \n content: string;\n\n @ApiProperty()\n @IsInt() \n idSociety: number;\n\n @ApiProperty()\n @IsArray()\n idFiles: number[];\n}\n\nexport class DownloadExternalFile {\n @ApiProperty()\n @IsString()\n fileId: string;\n}"]}
|
|
@@ -39,4 +39,11 @@ export declare class UpdatedAnnotationObject {
|
|
|
39
39
|
new: IAccountingEntry[];
|
|
40
40
|
}
|
|
41
41
|
export type UpdatedAnnotation = UpdatedAnnotationObject[];
|
|
42
|
+
export type ReadRegistrationExternalFile = {
|
|
43
|
+
id: string;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
name: string;
|
|
46
|
+
format: 'XML' | 'EDI';
|
|
47
|
+
size: string;
|
|
48
|
+
};
|
|
42
49
|
//# sourceMappingURL=ReadRegistration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EACL,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EACvF,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,gBAAgB,GAAG,aAAa,GAAG;IAAE,KAAK,EAAE,iBAAiB,CAAA;CAAE,CAAC;AAE5E,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,qBAAqB,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,IAAI,CAAC;IACX,uBAAuB,EAAE,MAAM,CAAC;IAChC,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,gBAAgB,CAAA;CACzB;AAED,qBAAa,uBAAuB;IAClC,GAAG,EAAE,gBAAgB,EAAE,CAAC;IACxB,GAAG,EAAE,gBAAgB,EAAE,CAAC;CACzB;AAED,MAAM,MAAM,iBAAiB,GAAG,uBAAuB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"ReadRegistration.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EACL,QAAQ,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,qBAAqB,EACvF,MA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AAM,MAAM,4BAA4B,GAAG;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,KAAK,GAAG,KAAK,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":";;;AA0CA,MAAa,uBAAuB;CAGnC;AAHD,0DAGC","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport {\n IAccount, IAccountingEntry, InterchangeState, RegistrationState, RegistrationTickState,\n} from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}\n\nexport type ReadRegistrationHistory = InterchangeState;\n\nexport interface ReadRegistrationTick {\n type?: string | null;\n state: RegistrationTickState;\n title: string | null;\n details: InterchangeState,\n date: string | null;\n isPayment?: boolean;\n}\n\nexport interface ReadVatEntry {\n isAsset: boolean;\n idVat: number | null;\n account: IAccount | null;\n totalTaxIncluded: number;\n totalTaxExcluded: number,\n totalTax: number,\n label: string,\n date: Date,\n idAccountingTransaction: number;\n isRevised: boolean;\n entry?: IAccountingEntry\n}\n\nexport class UpdatedAnnotationObject {\n old: IAccountingEntry[];\n new: IAccountingEntry[];\n}\n\nexport type UpdatedAnnotation = UpdatedAnnotationObject[];"]}
|
|
1
|
+
{"version":3,"file":"ReadRegistration.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/registration/ReadRegistration.ts"],"names":[],"mappings":";;;AA0CA,MAAa,uBAAuB;CAGnC;AAHD,0DAGC","sourcesContent":["import { IRegistration } from '../../models/IRegistration';\nimport {\n IAccount, IAccountingEntry, InterchangeState, RegistrationState, RegistrationTickState,\n} from '../../..';\n\nexport type ReadRegistration = IRegistration & { state: RegistrationState };\n\nexport interface ReadSynchronization {\n id: number;\n hasError: boolean;\n hasDepositError: boolean;\n isProcessFinished: boolean;\n hasPaymentError: boolean;\n isTimeOut: boolean;\n hasFailed: boolean;\n}\n\nexport type ReadRegistrationHistory = InterchangeState;\n\nexport interface ReadRegistrationTick {\n type?: string | null;\n state: RegistrationTickState;\n title: string | null;\n details: InterchangeState,\n date: string | null;\n isPayment?: boolean;\n}\n\nexport interface ReadVatEntry {\n isAsset: boolean;\n idVat: number | null;\n account: IAccount | null;\n totalTaxIncluded: number;\n totalTaxExcluded: number,\n totalTax: number,\n label: string,\n date: Date,\n idAccountingTransaction: number;\n isRevised: boolean;\n entry?: IAccountingEntry\n}\n\nexport class UpdatedAnnotationObject {\n old: IAccountingEntry[];\n new: IAccountingEntry[];\n}\n\nexport type UpdatedAnnotation = UpdatedAnnotationObject[];\n\nexport type ReadRegistrationExternalFile = {\n id: string;\n createdAt: string;\n name: string;\n format: 'XML' | 'EDI';\n size: string;\n};"]}
|