@silexpert/core 1.3.124 → 1.3.126
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/Brevo.d.ts +2 -2
- package/dist/cjs/api/resources/Brevo.d.ts.map +1 -1
- package/dist/cjs/api/resources/Brevo.js.map +1 -1
- package/dist/cjs/api/resources/Revision.d.ts +4 -1
- package/dist/cjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/cjs/api/resources/Revision.js +9 -0
- package/dist/cjs/api/resources/Revision.js.map +1 -1
- package/dist/cjs/types/Enum/Ged.d.ts +45 -5
- package/dist/cjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/cjs/types/Enum/Ged.js +44 -4
- package/dist/cjs/types/Enum/Ged.js.map +1 -1
- package/dist/cjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
- package/dist/cjs/types/Enum/ReasonNotSubscribed.js +12 -6
- package/dist/cjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js +14 -1
- package/dist/cjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts +2 -2
- package/dist/cjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Revision.d.ts +1 -1
- package/dist/cjs/types/Interface/api/revision/Revision.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/revision/Revision.js.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/dist/mjs/api/resources/Brevo.d.ts +2 -2
- package/dist/mjs/api/resources/Brevo.d.ts.map +1 -1
- package/dist/mjs/api/resources/Brevo.js.map +1 -1
- package/dist/mjs/api/resources/Revision.d.ts +4 -1
- package/dist/mjs/api/resources/Revision.d.ts.map +1 -1
- package/dist/mjs/api/resources/Revision.js +9 -0
- package/dist/mjs/api/resources/Revision.js.map +1 -1
- package/dist/mjs/types/Enum/Ged.d.ts +45 -5
- package/dist/mjs/types/Enum/Ged.d.ts.map +1 -1
- package/dist/mjs/types/Enum/Ged.js +44 -4
- package/dist/mjs/types/Enum/Ged.js.map +1 -1
- package/dist/mjs/types/Enum/ReasonNotSubscribed.d.ts.map +1 -1
- package/dist/mjs/types/Enum/ReasonNotSubscribed.js +12 -6
- package/dist/mjs/types/Enum/ReasonNotSubscribed.js.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts +3 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js +16 -1
- package/dist/mjs/types/Interface/api/brevo/BrevoElement.js.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts +2 -2
- package/dist/mjs/types/Interface/api/prestation/Query.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/prestation/Query.js.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Revision.d.ts +1 -1
- package/dist/mjs/types/Interface/api/revision/Revision.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/revision/Revision.js.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IPaymentExpectation.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IPaymentExpectation.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Brevo.ts +2 -9
- package/ts/api/resources/Revision.ts +22 -0
- package/ts/types/Enum/Ged.ts +238 -198
- package/ts/types/Enum/ReasonNotSubscribed.ts +12 -6
- package/ts/types/Interface/api/brevo/BrevoElement.ts +13 -2
- package/ts/types/Interface/api/prestation/Query.ts +2 -2
- package/ts/types/Interface/api/revision/Revision.ts +1 -1
- package/ts/types/Interface/models/IPaymentExpectation.ts +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoElement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/BrevoElement.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAGxB,KAAK,EAAE,MAAM,CAAC;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,UAAU;
|
|
1
|
+
{"version":3,"file":"BrevoElement.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/BrevoElement.ts"],"names":[],"mappings":"AAGA,qBAAa,aAAa;IAGxB,KAAK,EAAE,MAAM,CAAC;IAKd,SAAS,CAAC,EAAE,MAAM,CAAC;IAKnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAKlB,WAAW,CAAC,EAAE,MAAM,CAAC;IAKrB,KAAK,CAAC,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,UAAU;IAIrB,OAAO,CAAC,EAAE,MAAM,CAAC;IAKjB,KAAK,CAAC,EAAE,MAAM,CAAC;IAKf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,aAAa;IAIxB,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AACD,qBAAa,aAAa;IAIxB,KAAK,EAAE,MAAM,CAAC;IAKd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,UAAU,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,yBAAyB;IAEpC,YAAY,EAAE,YAAY,EAAE,CAAC;IAI7B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,aAAa;IAGxB,KAAK,EAAE,MAAM,EAAE,CAAC;IAIhB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,gBAAgB;IAI3B,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB"}
|
|
@@ -66,13 +66,28 @@ __decorate([
|
|
|
66
66
|
__metadata("design:type", String)
|
|
67
67
|
], CreateContact.prototype, "godfatherName", void 0);
|
|
68
68
|
export class GetContact {
|
|
69
|
+
idBrevo;
|
|
69
70
|
email;
|
|
71
|
+
phone;
|
|
70
72
|
}
|
|
71
73
|
__decorate([
|
|
72
|
-
|
|
74
|
+
ApiPropertyOptional(),
|
|
75
|
+
IsOptional(),
|
|
76
|
+
IsNumber(),
|
|
77
|
+
__metadata("design:type", Number)
|
|
78
|
+
], GetContact.prototype, "idBrevo", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
ApiPropertyOptional(),
|
|
81
|
+
IsOptional(),
|
|
73
82
|
IsString(),
|
|
74
83
|
__metadata("design:type", String)
|
|
75
84
|
], GetContact.prototype, "email", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
ApiPropertyOptional(),
|
|
87
|
+
IsOptional(),
|
|
88
|
+
IsNumber(),
|
|
89
|
+
__metadata("design:type", Number)
|
|
90
|
+
], GetContact.prototype, "phone", void 0);
|
|
76
91
|
export class GetAllContact {
|
|
77
92
|
listIds;
|
|
78
93
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrevoElement.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/brevo/BrevoElement.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAErE,MAAM,OAAO,aAAa;IAGxB,KAAK,CAAS;IAKd,SAAS,CAAU;IAKnB,QAAQ,CAAU;IAKlB,QAAQ,CAAU;IAKlB,WAAW,CAAU;IAKrB,KAAK,CAAU;IAIf,OAAO,CAAW;IAKlB,aAAa,CAAU;CACxB;AAnCC;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;4CACG;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;gDACQ;AAKnB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;+CACO;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;kDACU;AAKrB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAIf;IAFC,WAAW,EAAE;IACb,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;8CACJ;AAKlB;IAHC,mBAAmB,EAAE;IACrB,QAAQ,EAAE;IACV,UAAU,EAAE;;oDACU;AAGzB,MAAM,OAAO,UAAU;
|
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,UAAU,EAAE;IACZ,QAAQ,EAAE;;yCACI;AAKf;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;yCACI;AAGjB,MAAM,OAAO,aAAa;IAIxB,OAAO,CAAW;CACnB;AADC;IAHC,WAAW,EAAE;IACb,KAAK,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACrB,OAAO,EAAE;;8CACQ;AAEpB,MAAM,OAAO,aAAa;IAIxB,KAAK,CAAS;IAKd,KAAK,CAAU;IAGf,UAAU,CAAyB;CACpC;AATC;IAHC,WAAW,EAAE;IACb,QAAQ,EAAE;IACV,UAAU,EAAE;;4CACC;AAKd;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;4CACI;AAGf;IADC,WAAW,EAAE;;iDACqB;AAarC,MAAM,OAAO,yBAAyB;IAEpC,YAAY,CAAiB;IAI7B,MAAM,CAAS;CAChB;AALC;IADC,WAAW,EAAE;;+DACe;AAI7B;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;yDACI;AAGjB,MAAM,OAAO,aAAa;IAGxB,KAAK,CAAW;IAIhB,MAAM,CAAS;CAChB;AALC;IAFC,WAAW,EAAE;IACb,QAAQ,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;4CACT;AAIhB;IAFC,WAAW,EAAE;IACb,QAAQ,EAAE;;6CACI;AAGjB,MAAM,OAAO,gBAAgB;IAI3B,SAAS,CAAW;CACrB;AADC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;mDACU","sourcesContent":["import { IsArray, IsInt, IsNotEmpty, IsNumber, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\n\nexport class CreateContact {\n @ApiProperty()\n @IsString()\n email: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n firstName?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n lastname?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n activity?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n nameSociety?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone?: string;\n\n @ApiProperty()\n @IsInt({ each: true })\n listIds: number[];\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n godfatherName?: string;\n}\n\nexport class GetContact {\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idBrevo?: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n email?: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n phone?: number;\n}\n\nexport class GetAllContact {\n @ApiProperty()\n @IsInt({ each: true })\n @IsArray()\n listIds: number[];\n}\nexport class UpdateContact {\n @ApiProperty()\n @IsString()\n @IsNotEmpty()\n email: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n phone?: string;\n\n @ApiProperty()\n attributes: Partial<CreateContact>;\n}\n\nexport interface ContactInfos {\n email: string;\n firstName?: string;\n lastname?: string;\n activity?: string;\n nameSociety?: string;\n phone?: string;\n godfatherName?: string;\n}\n\nexport class AddOrCreateContactsToList {\n @ApiProperty()\n contactInfos: ContactInfos[];\n\n @ApiProperty()\n @IsNumber()\n listId: number;\n}\n\nexport class ChangeContact {\n @ApiProperty()\n @IsString({ each: true })\n email: string[];\n\n @ApiProperty()\n @IsNumber()\n listId: number;\n}\n\nexport class BrevoTermination {\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idSociety: number[];\n}\n"]}
|
|
@@ -5,8 +5,8 @@ import { IExercice } from '../../models/IExercice';
|
|
|
5
5
|
export declare class QueryCreatePrestation {
|
|
6
6
|
prestation: IPrestation;
|
|
7
7
|
exercicePrestation: Partial<IExercicePrestation>;
|
|
8
|
-
options
|
|
9
|
-
commercialOffers
|
|
8
|
+
options?: number[];
|
|
9
|
+
commercialOffers?: ICommercialOffer[];
|
|
10
10
|
subPrestations?: subPrestationsType[];
|
|
11
11
|
subPrestationsOffer?: ICommercialOffer;
|
|
12
12
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,qBAAa,qBAAqB;IAGhC,UAAU,EAAE,WAAW,CAAC;IAIxB,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAKjD,OAAO,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAGnD,qBAAa,qBAAqB;IAGhC,UAAU,EAAE,WAAW,CAAC;IAIxB,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAKjD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAKnB,gBAAgB,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAKtC,cAAc,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAKtC,mBAAmB,CAAC,EAAE,gBAAgB,CAAC;CACxC;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,qBAAqB;IAIhC,UAAU,EAAE,MAAM,CAAC;IAMnB,qBAAqB,EAAE,OAAO,CAAC;IAK/B,QAAQ,EAAE,OAAO,CAAC,SAAS,CAAC,CAAC;IAK7B,kBAAkB,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAKjD,OAAO,EAAE,MAAM,EAAE,CAAC;IAKlB,oBAAoB,EAAE,MAAM,CAAC;IAK7B,WAAW,EAAE,MAAM,CAAC;IAKpB,kBAAkB,EAAE,MAAM,CAAC;IAK3B,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;IAKrC,eAAe,EAAE,MAAM,CAAC;IAKxB,sBAAsB,EAAE,MAAM,CAAC;IAM/B,IAAI,EAAE,OAAO,CAAC;IAMd,MAAM,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AACpH,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAKrE,OAAO,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAC;AAE3E,MAAM,OAAO,qBAAqB;IAGhC,UAAU,CAAc;IAIxB,kBAAkB,CAA+B;IAKjD,OAAO,
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/prestation/Query.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAA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EAAE;;uDACkB;AAK7B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;iEACsC;AAKjD;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;sDACQ;AAKlB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,QAAQ,EAAE;;mEACkB;AAK7B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;0DACY;AAKpB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,KAAK,EAAE;;iEACmB;AAK3B;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,OAAO,EAAE;;+DAC2B;AAKrC;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;8DACS;AAKxB;IAHC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,YAAY,EAAE;;qEACgB;AAM/B;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;mDACE;AAMd;IAJC,mBAAmB,EAAE;IACrB,UAAU,EAAE;IACZ,SAAS,EAAE;IACX,SAAS,EAAE;;qDACI","sourcesContent":["import { IsArray, IsBoolean, IsDateString, IsInt, IsNumber, IsObject, IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IPrestation } from '../../models/IPrestation';\nimport { IExercicePrestation } from '../../models/IExercicePrestation';\nimport { ICommercialOffer } from '../../models/ICommercialOffer';\nimport { IExercice } from '../../models/IExercice';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryCreatePrestation {\n @ApiProperty()\n @IsObject()\n prestation: IPrestation;\n\n @ApiProperty()\n @IsObject()\n exercicePrestation: Partial<IExercicePrestation>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n options?: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n commercialOffers?: ICommercialOffer[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n subPrestations?: subPrestationsType[]; // list d'id prestation list\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n subPrestationsOffer?: ICommercialOffer;\n}\n\nexport interface subPrestationsType {\n idPrestationList: number;\n nbAssociates?: number;\n nbEmployees?: number;\n}\n\nexport class QueryUpdatePrestation {\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n commentPdf: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isWithApplicationFees: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n exercice: Partial<IExercice>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsObject()\n exercicePrestation: Partial<IExercicePrestation>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n options: number[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n idExercicePrestation: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idOnBoarder: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsInt()\n idStateAppointment: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n commercialOffers: ICommercialOffer[];\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n goToFacturation: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsDateString()\n dateLeavingFacturation: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n paid: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n signed: boolean;\n}\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IAccountingEntry } from '../../models/IAccountingEntry';
|
|
2
|
-
export interface Revision extends IAccountingEntry {
|
|
2
|
+
export interface Revision extends Partial<IAccountingEntry> {
|
|
3
3
|
balance?: number | null;
|
|
4
4
|
balanceCredit?: number | null;
|
|
5
5
|
balanceDebit?: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revision.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,WAAW,QAAS,SAAQ,gBAAgB;
|
|
1
|
+
{"version":3,"file":"Revision.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,MAAM,WAAW,QAAS,SAAQ,OAAO,CAAC,gBAAgB,CAAC;IACzD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Revision.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from '../../models/IAccountingEntry';\n\nexport interface Revision extends IAccountingEntry {\n balance?: number | null;\n balanceCredit?: number | null;\n balanceDebit?: number | null;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"Revision.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/revision/Revision.ts"],"names":[],"mappings":"","sourcesContent":["import { IAccountingEntry } from '../../models/IAccountingEntry';\n\nexport interface Revision extends Partial<IAccountingEntry> {\n balance?: number | null;\n balanceCredit?: number | null;\n balanceDebit?: number | null;\n}\n"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ISociety } from './ISociety';
|
|
2
2
|
import { IRegulation } from './IRegulation';
|
|
3
3
|
import { PaymentReason } from '../../Enum/PaymentReason';
|
|
4
|
+
import { IPrestation } from './IPrestation';
|
|
4
5
|
export interface IPaymentExpectation {
|
|
5
6
|
id?: number;
|
|
6
7
|
label: string;
|
|
@@ -20,5 +21,6 @@ export interface IPaymentExpectation {
|
|
|
20
21
|
updatedAt?: Date | null;
|
|
21
22
|
society?: ISociety;
|
|
22
23
|
regulation?: IRegulation;
|
|
24
|
+
prestation?: IPrestation | null;
|
|
23
25
|
}
|
|
24
26
|
//# sourceMappingURL=IPaymentExpectation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"IPaymentExpectation.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,WAAW,mBAAmB;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,QAAQ,EAAE,aAAa,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,yBAAyB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1C,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,OAAO,CAAC,EAAE,QAAQ,CAAC;IACnB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,UAAU,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CACjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IPaymentExpectation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IRegulation } from './IRegulation';\nimport { PaymentReason } from '../../Enum/PaymentReason';\n\n// paymentsExpectations\nexport interface IPaymentExpectation {\n id?: number;\n label: string;\n amount: number;\n payload: string;\n ref: string;\n archive: boolean;\n idCodeErreur: number | null;\n idReason: PaymentReason | null;\n idSociety: number;\n idRegulation: number | null;\n idPrestation: number | null;\n idPayment: number | null;\n idUserNotifyPaiementProceed?: number | null;\n idUserTaskPaiementProceed?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n regulation?: IRegulation;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IPaymentExpectation.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IPaymentExpectation.ts"],"names":[],"mappings":"","sourcesContent":["import { ISociety } from './ISociety';\nimport { IRegulation } from './IRegulation';\nimport { PaymentReason } from '../../Enum/PaymentReason';\nimport { IPrestation } from './IPrestation';\n\n// paymentsExpectations\nexport interface IPaymentExpectation {\n id?: number;\n label: string;\n amount: number;\n payload: string;\n ref: string;\n archive: boolean;\n idCodeErreur: number | null;\n idReason: PaymentReason | null;\n idSociety: number;\n idRegulation: number | null;\n idPrestation: number | null;\n idPayment: number | null;\n idUserNotifyPaiementProceed?: number | null;\n idUserTaskPaiementProceed?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n\n // Associations\n society?: ISociety;\n regulation?: IRegulation;\n prestation?: IPrestation | null;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silexpert/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.126",
|
|
4
4
|
"description": "Silex Core perform HTTP Request and object binding. Silex core helps developers to retrieve and return formatted object",
|
|
5
5
|
"homepage": "https://gitlab.compta-clementine.fr/dev/silex-api",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
CreateContact,
|
|
3
|
-
ChangeContact,
|
|
4
|
-
UpdateContact,
|
|
5
|
-
ReadGetContact,
|
|
6
|
-
ReadCreateContact,
|
|
7
|
-
ReadContactChange,
|
|
8
|
-
} from '../../types';
|
|
1
|
+
import { CreateContact, ChangeContact, UpdateContact, ReadGetContact, ReadContactChange } from '../../types';
|
|
9
2
|
import { Resource } from '../Resource';
|
|
10
3
|
|
|
11
4
|
export class Brevo extends Resource {
|
|
12
|
-
createContact(body: CreateContact): Promise<
|
|
5
|
+
createContact(body: CreateContact): Promise<ReadGetContact> {
|
|
13
6
|
return this.axios.$post('brevo', body);
|
|
14
7
|
}
|
|
15
8
|
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
QueryRevisionMergeIntoThirdParty,
|
|
41
41
|
ReadRevisionMergeIntoThirdParty,
|
|
42
42
|
ProcessMissingAnnotation,
|
|
43
|
+
ThirdPartyType,
|
|
43
44
|
} from '../..';
|
|
44
45
|
|
|
45
46
|
export class Revision extends Resource {
|
|
@@ -130,6 +131,13 @@ export class Revision extends Resource {
|
|
|
130
131
|
return this.axios.$post(`/revisions/third-parties/${id}/approve`, params);
|
|
131
132
|
}
|
|
132
133
|
|
|
134
|
+
approveThirdPartyType(
|
|
135
|
+
idThirdPartyType: ThirdPartyType,
|
|
136
|
+
params: QueryRevisionApprobation,
|
|
137
|
+
): Promise<IAccountingTransaction[]> {
|
|
138
|
+
return this.axios.$post(`/revisions/third-parties-type/${idThirdPartyType}/approve`, params);
|
|
139
|
+
}
|
|
140
|
+
|
|
133
141
|
revise(idAccountingTransaction: number, idUser: number): Promise<{ data: IAccountingTransaction }> {
|
|
134
142
|
return this.axios.patch(`/transactions/${idAccountingTransaction}`, { dateVerified: new Date(), idUser });
|
|
135
143
|
}
|
|
@@ -142,6 +150,13 @@ export class Revision extends Resource {
|
|
|
142
150
|
return this.axios.$post(`/revisions/third-parties/${id}/comment`, params);
|
|
143
151
|
}
|
|
144
152
|
|
|
153
|
+
commentThirdPartyType(
|
|
154
|
+
idThirdPartyType: ThirdPartyType,
|
|
155
|
+
params: QueryRevisionAccountComment,
|
|
156
|
+
): Promise<IAccountDetail[]> {
|
|
157
|
+
return this.axios.$post(`/revisions/third-parties-type/${idThirdPartyType}/comment`, params);
|
|
158
|
+
}
|
|
159
|
+
|
|
145
160
|
updateControlFile(id: number, params: QueryRevisionAccountControlFile): Promise<IAccountDetail[]> {
|
|
146
161
|
return this.axios.$post(`/revisions/accounts/${id}/file`, params);
|
|
147
162
|
}
|
|
@@ -150,6 +165,13 @@ export class Revision extends Resource {
|
|
|
150
165
|
return this.axios.$post(`/revisions/third-parties/${id}/file`, params);
|
|
151
166
|
}
|
|
152
167
|
|
|
168
|
+
updateThirdPartyTypeControlFile(
|
|
169
|
+
idThirdPartyType: ThirdPartyType,
|
|
170
|
+
params: QueryRevisionAccountControlFile,
|
|
171
|
+
): Promise<IAccountDetail[]> {
|
|
172
|
+
return this.axios.$post(`/revisions/third-parties-type/${idThirdPartyType}/file`, params);
|
|
173
|
+
}
|
|
174
|
+
|
|
153
175
|
getAllGenericPendingPoints(params: QueryRevisionGenericPendingPoint): Promise<ICycle[]> {
|
|
154
176
|
return this.axios.$get('/supervisions/generic-pending-points', { params });
|
|
155
177
|
}
|