@silexpert/core 1.1.264 → 1.1.265
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/Account.d.ts +3 -1
- package/dist/cjs/api/resources/Account.d.ts.map +1 -1
- package/dist/cjs/api/resources/Account.js +6 -0
- package/dist/cjs/api/resources/Account.js.map +1 -1
- package/dist/cjs/api/resources/Contest.d.ts +2 -2
- package/dist/cjs/api/resources/Contest.d.ts.map +1 -1
- package/dist/cjs/api/resources/Contest.js.map +1 -1
- package/dist/cjs/api/resources/Transaction.d.ts +3 -2
- package/dist/cjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/cjs/api/resources/Transaction.js +4 -1
- package/dist/cjs/api/resources/Transaction.js.map +1 -1
- package/dist/cjs/types/Enum/Contest.d.ts +16 -0
- package/dist/cjs/types/Enum/Contest.d.ts.map +1 -0
- package/dist/cjs/types/Enum/Contest.js +20 -0
- package/dist/cjs/types/Enum/Contest.js.map +1 -0
- package/dist/cjs/types/Enum/MailAuto.d.ts +2 -1
- package/dist/cjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailAuto.js +1 -0
- package/dist/cjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/cjs/types/Enum/MailDomainType.d.ts +1 -0
- package/dist/cjs/types/Enum/MailDomainType.d.ts.map +1 -1
- package/dist/cjs/types/Enum/MailDomainType.js +3662 -1
- package/dist/cjs/types/Enum/MailDomainType.js.map +1 -1
- package/dist/cjs/types/Enum/PriceGridPourcentage.d.ts.map +1 -1
- package/dist/cjs/types/Enum/PriceGridPourcentage.js +326 -0
- package/dist/cjs/types/Enum/PriceGridPourcentage.js.map +1 -1
- package/dist/cjs/types/Enum/TimeSlot.js +2 -2
- package/dist/cjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/cjs/types/Interface/api/account/Create.d.ts +13 -0
- package/dist/cjs/types/Interface/api/account/Create.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/account/{CreateAccountSociety.js → Create.js} +22 -2
- package/dist/cjs/types/Interface/api/account/Create.js.map +1 -0
- package/dist/cjs/types/Interface/api/account/Query.d.ts +24 -0
- package/dist/cjs/types/Interface/api/account/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/account/{QueryAccounts.js → Query.js} +43 -2
- package/dist/cjs/types/Interface/api/account/Query.js.map +1 -0
- package/dist/{mjs/types/Interface/api/account/ReadQuoteAccount.d.ts → cjs/types/Interface/api/account/Read.d.ts} +2 -1
- package/dist/cjs/types/Interface/api/account/Read.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/account/{ReadAccounts.js → Read.js} +1 -1
- package/dist/cjs/types/Interface/api/account/Read.js.map +1 -0
- package/dist/cjs/types/Interface/api/account/Update.d.ts +16 -0
- package/dist/cjs/types/Interface/api/account/Update.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/account/{UpdateAccountSociety.js → Update.js} +28 -2
- package/dist/cjs/types/Interface/api/account/Update.js.map +1 -0
- package/dist/cjs/types/Interface/api/calendarEvent/readCalendarEventCall.d.ts +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/readCalendarEventCall.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/calendarEvent/readCalendarEventCall.js.map +1 -1
- package/dist/cjs/types/Interface/api/contest/Create.d.ts +15 -0
- package/dist/cjs/types/Interface/api/contest/Create.d.ts.map +1 -1
- package/dist/cjs/types/Interface/api/contest/Create.js +95 -1
- package/dist/cjs/types/Interface/api/contest/Create.js.map +1 -1
- package/dist/cjs/types/Interface/api/transactions/Query.d.ts +14 -0
- package/dist/cjs/types/Interface/api/transactions/Query.d.ts.map +1 -0
- package/dist/cjs/types/Interface/api/transactions/{QueryUnexport.js → Query.js} +36 -2
- package/dist/cjs/types/Interface/api/transactions/Query.js.map +1 -0
- package/dist/cjs/types/Interface/models/IAccount.d.ts +2 -0
- package/dist/cjs/types/Interface/models/IAccount.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IAccount.js.map +1 -1
- package/dist/{mjs/types/Interface/models/IVoteContest.d.ts → cjs/types/Interface/models/IContest.d.ts} +5 -2
- package/dist/cjs/types/Interface/models/IContest.d.ts.map +1 -0
- package/dist/cjs/types/Interface/models/{IVoteContest.js → IContest.js} +1 -1
- package/dist/cjs/types/Interface/models/IContest.js.map +1 -0
- package/dist/cjs/types/Interface/models/IUserContest.d.ts +2 -2
- package/dist/cjs/types/Interface/models/IUserContest.d.ts.map +1 -1
- package/dist/cjs/types/Interface/models/IUserContest.js.map +1 -1
- package/dist/cjs/types/index.d.ts +7 -9
- package/dist/cjs/types/index.d.ts.map +1 -1
- package/dist/cjs/types/index.js +7 -9
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/mjs/api/resources/Account.d.ts +3 -1
- package/dist/mjs/api/resources/Account.d.ts.map +1 -1
- package/dist/mjs/api/resources/Account.js +6 -0
- package/dist/mjs/api/resources/Account.js.map +1 -1
- package/dist/mjs/api/resources/Contest.d.ts +2 -2
- package/dist/mjs/api/resources/Contest.d.ts.map +1 -1
- package/dist/mjs/api/resources/Contest.js.map +1 -1
- package/dist/mjs/api/resources/Transaction.d.ts +3 -2
- package/dist/mjs/api/resources/Transaction.d.ts.map +1 -1
- package/dist/mjs/api/resources/Transaction.js +4 -1
- package/dist/mjs/api/resources/Transaction.js.map +1 -1
- package/dist/mjs/types/Enum/Contest.d.ts +16 -0
- package/dist/mjs/types/Enum/Contest.d.ts.map +1 -0
- package/dist/mjs/types/Enum/Contest.js +17 -0
- package/dist/mjs/types/Enum/Contest.js.map +1 -0
- package/dist/mjs/types/Enum/MailAuto.d.ts +2 -1
- package/dist/mjs/types/Enum/MailAuto.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailAuto.js +1 -0
- package/dist/mjs/types/Enum/MailAuto.js.map +1 -1
- package/dist/mjs/types/Enum/MailDomainType.d.ts +1 -0
- package/dist/mjs/types/Enum/MailDomainType.d.ts.map +1 -1
- package/dist/mjs/types/Enum/MailDomainType.js +3661 -0
- package/dist/mjs/types/Enum/MailDomainType.js.map +1 -1
- package/dist/mjs/types/Enum/PriceGridPourcentage.d.ts.map +1 -1
- package/dist/mjs/types/Enum/PriceGridPourcentage.js +326 -0
- package/dist/mjs/types/Enum/PriceGridPourcentage.js.map +1 -1
- package/dist/mjs/types/Enum/TimeSlot.js +2 -2
- package/dist/mjs/types/Enum/TimeSlot.js.map +1 -1
- package/dist/mjs/types/Interface/api/account/Create.d.ts +13 -0
- package/dist/mjs/types/Interface/api/account/Create.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/account/{CreateAccountSociety.js → Create.js} +23 -1
- package/dist/mjs/types/Interface/api/account/Create.js.map +1 -0
- package/dist/mjs/types/Interface/api/account/Query.d.ts +24 -0
- package/dist/mjs/types/Interface/api/account/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/account/{QueryAccounts.js → Query.js} +47 -2
- package/dist/mjs/types/Interface/api/account/Query.js.map +1 -0
- package/dist/{cjs/types/Interface/api/account/ReadQuoteAccount.d.ts → mjs/types/Interface/api/account/Read.d.ts} +2 -1
- package/dist/mjs/types/Interface/api/account/Read.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/account/Read.js +2 -0
- package/dist/mjs/types/Interface/api/account/Read.js.map +1 -0
- package/dist/mjs/types/Interface/api/account/Update.d.ts +16 -0
- package/dist/mjs/types/Interface/api/account/Update.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/account/{UpdateAccountSociety.js → Update.js} +30 -1
- package/dist/mjs/types/Interface/api/account/Update.js.map +1 -0
- package/dist/mjs/types/Interface/api/calendarEvent/readCalendarEventCall.d.ts +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/readCalendarEventCall.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/calendarEvent/readCalendarEventCall.js.map +1 -1
- package/dist/mjs/types/Interface/api/contest/Create.d.ts +15 -0
- package/dist/mjs/types/Interface/api/contest/Create.d.ts.map +1 -1
- package/dist/mjs/types/Interface/api/contest/Create.js +104 -1
- package/dist/mjs/types/Interface/api/contest/Create.js.map +1 -1
- package/dist/mjs/types/Interface/api/transactions/Query.d.ts +14 -0
- package/dist/mjs/types/Interface/api/transactions/Query.d.ts.map +1 -0
- package/dist/mjs/types/Interface/api/transactions/{QueryUnexport.js → Query.js} +40 -2
- package/dist/mjs/types/Interface/api/transactions/Query.js.map +1 -0
- package/dist/mjs/types/Interface/models/IAccount.d.ts +2 -0
- package/dist/mjs/types/Interface/models/IAccount.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IAccount.js.map +1 -1
- package/dist/{cjs/types/Interface/models/IVoteContest.d.ts → mjs/types/Interface/models/IContest.d.ts} +5 -2
- package/dist/mjs/types/Interface/models/IContest.d.ts.map +1 -0
- package/dist/mjs/types/Interface/models/IContest.js +2 -0
- package/dist/mjs/types/Interface/models/IContest.js.map +1 -0
- package/dist/mjs/types/Interface/models/IUserContest.d.ts +2 -2
- package/dist/mjs/types/Interface/models/IUserContest.d.ts.map +1 -1
- package/dist/mjs/types/Interface/models/IUserContest.js.map +1 -1
- package/dist/mjs/types/index.d.ts +7 -9
- package/dist/mjs/types/index.d.ts.map +1 -1
- package/dist/mjs/types/index.js +7 -9
- package/dist/mjs/types/index.js.map +1 -1
- package/package.json +1 -1
- package/ts/api/resources/Account.ts +12 -1
- package/ts/api/resources/Contest.ts +2 -2
- package/ts/api/resources/Transaction.ts +6 -2
- package/ts/types/Enum/Contest.ts +15 -0
- package/ts/types/Enum/MailAuto.ts +1 -0
- package/ts/types/Enum/MailDomainType.ts +3662 -0
- package/ts/types/Enum/PriceGridPourcentage.ts +326 -0
- package/ts/types/Enum/TimeSlot.ts +2 -2
- package/ts/types/Interface/api/account/Create.ts +33 -0
- package/ts/types/Interface/api/account/Query.ts +66 -0
- package/ts/types/Interface/api/account/{ReadQuoteAccount.ts → Read.ts} +3 -0
- package/ts/types/Interface/api/account/{UpdateAccountSociety.ts → Update.ts} +22 -0
- package/ts/types/Interface/api/calendarEvent/readCalendarEventCall.ts +1 -1
- package/ts/types/Interface/api/contest/Create.ts +83 -1
- package/ts/types/Interface/api/transactions/Query.ts +55 -0
- package/ts/types/Interface/models/IAccount.ts +2 -0
- package/ts/types/Interface/models/{IVoteContest.ts → IContest.ts} +5 -1
- package/ts/types/Interface/models/IUserContest.ts +2 -2
- package/ts/types/index.ts +7 -9
- package/dist/cjs/types/Interface/api/account/CreateAccountSociety.d.ts +0 -7
- package/dist/cjs/types/Interface/api/account/CreateAccountSociety.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/CreateAccountSociety.js.map +0 -1
- package/dist/cjs/types/Interface/api/account/QueryAccountSociety.d.ts +0 -8
- package/dist/cjs/types/Interface/api/account/QueryAccountSociety.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/QueryAccountSociety.js +0 -37
- package/dist/cjs/types/Interface/api/account/QueryAccountSociety.js.map +0 -1
- package/dist/cjs/types/Interface/api/account/QueryAccounts.d.ts +0 -13
- package/dist/cjs/types/Interface/api/account/QueryAccounts.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/QueryAccounts.js.map +0 -1
- package/dist/cjs/types/Interface/api/account/QueryGenericAccount.d.ts +0 -6
- package/dist/cjs/types/Interface/api/account/QueryGenericAccount.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/QueryGenericAccount.js +0 -29
- package/dist/cjs/types/Interface/api/account/QueryGenericAccount.js.map +0 -1
- package/dist/cjs/types/Interface/api/account/ReadAccounts.d.ts +0 -2
- package/dist/cjs/types/Interface/api/account/ReadAccounts.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/ReadAccounts.js.map +0 -1
- package/dist/cjs/types/Interface/api/account/ReadQuoteAccount.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/ReadQuoteAccount.js +0 -3
- package/dist/cjs/types/Interface/api/account/ReadQuoteAccount.js.map +0 -1
- package/dist/cjs/types/Interface/api/account/UpdateAccountSociety.d.ts +0 -9
- package/dist/cjs/types/Interface/api/account/UpdateAccountSociety.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/account/UpdateAccountSociety.js.map +0 -1
- package/dist/cjs/types/Interface/api/transactions/QueryUnexport.d.ts +0 -7
- package/dist/cjs/types/Interface/api/transactions/QueryUnexport.d.ts.map +0 -1
- package/dist/cjs/types/Interface/api/transactions/QueryUnexport.js.map +0 -1
- package/dist/cjs/types/Interface/models/IVoteContest.d.ts.map +0 -1
- package/dist/cjs/types/Interface/models/IVoteContest.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/CreateAccountSociety.d.ts +0 -7
- package/dist/mjs/types/Interface/api/account/CreateAccountSociety.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/CreateAccountSociety.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/QueryAccountSociety.d.ts +0 -8
- package/dist/mjs/types/Interface/api/account/QueryAccountSociety.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/QueryAccountSociety.js +0 -38
- package/dist/mjs/types/Interface/api/account/QueryAccountSociety.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/QueryAccounts.d.ts +0 -13
- package/dist/mjs/types/Interface/api/account/QueryAccounts.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/QueryAccounts.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/QueryGenericAccount.d.ts +0 -6
- package/dist/mjs/types/Interface/api/account/QueryGenericAccount.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/QueryGenericAccount.js +0 -28
- package/dist/mjs/types/Interface/api/account/QueryGenericAccount.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/ReadAccounts.d.ts +0 -2
- package/dist/mjs/types/Interface/api/account/ReadAccounts.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/ReadAccounts.js +0 -2
- package/dist/mjs/types/Interface/api/account/ReadAccounts.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/ReadQuoteAccount.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/ReadQuoteAccount.js +0 -2
- package/dist/mjs/types/Interface/api/account/ReadQuoteAccount.js.map +0 -1
- package/dist/mjs/types/Interface/api/account/UpdateAccountSociety.d.ts +0 -9
- package/dist/mjs/types/Interface/api/account/UpdateAccountSociety.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/account/UpdateAccountSociety.js.map +0 -1
- package/dist/mjs/types/Interface/api/transactions/QueryUnexport.d.ts +0 -7
- package/dist/mjs/types/Interface/api/transactions/QueryUnexport.d.ts.map +0 -1
- package/dist/mjs/types/Interface/api/transactions/QueryUnexport.js.map +0 -1
- package/dist/mjs/types/Interface/models/IVoteContest.d.ts.map +0 -1
- package/dist/mjs/types/Interface/models/IVoteContest.js +0 -2
- package/dist/mjs/types/Interface/models/IVoteContest.js.map +0 -1
- package/ts/types/Interface/api/account/CreateAccountSociety.ts +0 -15
- package/ts/types/Interface/api/account/QueryAccountSociety.ts +0 -18
- package/ts/types/Interface/api/account/QueryAccounts.ts +0 -32
- package/ts/types/Interface/api/account/QueryGenericAccount.ts +0 -12
- package/ts/types/Interface/api/account/ReadAccounts.ts +0 -2
- package/ts/types/Interface/api/transactions/QueryUnexport.ts +0 -27
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IAccount } from '../../..';
|
|
2
|
+
export declare class UpdateAccountSociety {
|
|
3
|
+
id: number;
|
|
4
|
+
number?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
isHidden?: boolean;
|
|
7
|
+
idVat?: number | null;
|
|
8
|
+
idRegisterCategorie?: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class UpdateAccount {
|
|
11
|
+
account: Partial<IAccount>;
|
|
12
|
+
comment?: string | null;
|
|
13
|
+
tagsToAdd?: string[];
|
|
14
|
+
tagsToRemove?: string[];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=Update.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Update.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,qBAAa,oBAAoB;IAE7B,EAAE,EAAE,MAAM,CAAC;IAGX,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,CAAC,EAAE,OAAO,CAAC;IAGjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAGtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,qBAAa,aAAa;IAEtB,OAAO,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAK3B,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAKxB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAKrB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B"}
|
|
@@ -9,7 +9,8 @@ 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.UpdateAccountSociety = void 0;
|
|
12
|
+
exports.UpdateAccount = exports.UpdateAccountSociety = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
13
14
|
const utils_1 = require("../../../../utils");
|
|
14
15
|
class UpdateAccountSociety {
|
|
15
16
|
}
|
|
@@ -34,4 +35,29 @@ __decorate([
|
|
|
34
35
|
__metadata("design:type", Number)
|
|
35
36
|
], UpdateAccountSociety.prototype, "idRegisterCategorie", void 0);
|
|
36
37
|
exports.UpdateAccountSociety = UpdateAccountSociety;
|
|
37
|
-
|
|
38
|
+
class UpdateAccount {
|
|
39
|
+
}
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, utils_1.ApiProperty)(),
|
|
42
|
+
__metadata("design:type", Object)
|
|
43
|
+
], UpdateAccount.prototype, "account", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
(0, class_validator_1.IsOptional)(),
|
|
48
|
+
__metadata("design:type", Object)
|
|
49
|
+
], UpdateAccount.prototype, "comment", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
52
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
__metadata("design:type", Array)
|
|
55
|
+
], UpdateAccount.prototype, "tagsToAdd", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
58
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], UpdateAccount.prototype, "tagsToRemove", void 0);
|
|
62
|
+
exports.UpdateAccount = UpdateAccount;
|
|
63
|
+
//# sourceMappingURL=Update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Update.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/account/Update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,6CAAqE;AAGrE,MAAa,oBAAoB;CAkBhC;AAjBC;IAAC,IAAA,mBAAW,GAAE;;gDACD;AAEb;IAAC,IAAA,2BAAmB,GAAE;;oDACJ;AAElB;IAAC,IAAA,2BAAmB,GAAE;;kDACN;AAKhB;IAAC,IAAA,2BAAmB,GAAE;;mDACE;AAExB;IAAC,IAAA,2BAAmB,GAAE;;iEACS;AAjBjC,oDAkBC;AAED,MAAa,aAAa;CAkBzB;AAjBC;IAAC,IAAA,mBAAW,GAAE;;8CACe;AAE7B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACa;AAE1B;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;gDACU;AAEvB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;IACxB,IAAA,4BAAU,GAAE;;mDACa;AAjB5B,sCAkBC","sourcesContent":["import { IsOptional, IsString } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IAccount } from '../../..';\n\nexport class UpdateAccountSociety {\n @ApiProperty()\n id: number;\n\n @ApiPropertyOptional()\n number?: number;\n\n @ApiPropertyOptional()\n name?: string;\n\n // @ApiPropertyOptional() // value toujours à false lorsque ce décorateur est actif\n isHidden?: boolean;\n\n @ApiPropertyOptional()\n idVat?: number | null;\n\n @ApiPropertyOptional()\n idRegisterCategorie?: number;\n}\n\nexport class UpdateAccount {\n @ApiProperty()\n account: Partial<IAccount>;\n\n @ApiPropertyOptional()\n @IsString()\n @IsOptional()\n comment?: string | null;\n\n @ApiPropertyOptional()\n @IsString({ each: true })\n @IsOptional()\n tagsToAdd?: string[];\n\n @ApiPropertyOptional()\n @IsString({ each: true })\n @IsOptional()\n tagsToRemove?: string[];\n}\n"]}
|
|
@@ -3,6 +3,6 @@ import { ICallHistory } from '../../models/ICallHistory';
|
|
|
3
3
|
export interface ReadCalendarEventCall {
|
|
4
4
|
idUser: number;
|
|
5
5
|
calendarEvent: Partial<ICalendarEvent>;
|
|
6
|
-
listCallAssociate: Partial<ICallHistory[]
|
|
6
|
+
listCallAssociate: Partial<ICallHistory[]>;
|
|
7
7
|
}
|
|
8
8
|
//# sourceMappingURL=readCalendarEventCall.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readCalendarEventCall.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/readCalendarEventCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACvC,iBAAiB,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"readCalendarEventCall.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/readCalendarEventCall.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,OAAO,CAAC,cAAc,CAAC,CAAC;IACvC,iBAAiB,EAAE,OAAO,CAAC,YAAY,EAAE,CAAC,CAAA;CAC3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readCalendarEventCall.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/readCalendarEventCall.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from '../../models/ICalendarEvent';\nimport { ICallHistory } from '../../models/ICallHistory';\n\nexport interface ReadCalendarEventCall {\n idUser: number,\n calendarEvent: Partial<ICalendarEvent>,\n listCallAssociate: Partial<ICallHistory[]
|
|
1
|
+
{"version":3,"file":"readCalendarEventCall.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/calendarEvent/readCalendarEventCall.ts"],"names":[],"mappings":"","sourcesContent":["import { ICalendarEvent } from '../../models/ICalendarEvent';\nimport { ICallHistory } from '../../models/ICallHistory';\n\nexport interface ReadCalendarEventCall {\n idUser: number,\n calendarEvent: Partial<ICalendarEvent>,\n listCallAssociate: Partial<ICallHistory[]>\n}"]}
|
|
@@ -29,4 +29,19 @@ export declare class CreateVoteContest {
|
|
|
29
29
|
hashMail: string;
|
|
30
30
|
userHash: string;
|
|
31
31
|
}
|
|
32
|
+
export declare class CreateGeneriqueContestResult {
|
|
33
|
+
email: string;
|
|
34
|
+
ipAddress: string;
|
|
35
|
+
acceptContact: boolean;
|
|
36
|
+
idTypeContest: number;
|
|
37
|
+
result: string;
|
|
38
|
+
recaptcha?: string;
|
|
39
|
+
isTestMode?: boolean;
|
|
40
|
+
secret?: string;
|
|
41
|
+
}
|
|
42
|
+
export declare class CreateEmail {
|
|
43
|
+
winnerId: number;
|
|
44
|
+
idTypeContest: number;
|
|
45
|
+
secret?: string;
|
|
46
|
+
}
|
|
32
47
|
//# sourceMappingURL=Create.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/contest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"Create.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/contest/Create.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAItC,qBAAa,iBAAiB;IAE1B,SAAS,EAAE,MAAM,CAAC;IAGlB,QAAQ,EAAE,MAAM,CAAC;IAGjB,KAAK,EAAE,MAAM,CAAC;IAGd,KAAK,EAAE,MAAM,CAAC;IAGd,WAAW,EAAE,MAAM,CAAC;IAGpB,KAAK,EAAE,MAAM,CAAC;IAGd,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAG5B,KAAK,EAAE,KAAK,CAAC;IAIb,IAAI,CAAC,EAAE,KAAK,CAAC;IAIb,MAAM,CAAC,EAAE,KAAK,CAAC;IAKf,gBAAgB,EAAE,OAAO,CAAC;IAK1B,eAAe,EAAE,OAAO,CAAC;IAMzB,UAAU,CAAC,EAAE,OAAO,CAAC;IAGrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,qBAAa,eAAe;IAExB,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,MAAM,CAAC;IAGlB,OAAO,EAAE,MAAM,CAAC;IAMhB,aAAa,EAAE,OAAO,CAAC;IAGvB,SAAS,CAAC,EAAE,MAAM,CAAC;IAOnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,qBAAa,iBAAiB;IAE1B,QAAQ,EAAE,MAAM,CAAC;IAGjB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,4BAA4B;IAErC,KAAK,EAAE,MAAM,CAAC;IAGd,SAAS,EAAE,MAAM,CAAC;IAKlB,aAAa,EAAE,OAAO,CAAC;IAmBvB,aAAa,EAAE,MAAM,CAAC;IAItB,MAAM,EAAE,MAAM,CAAC;IAGf,SAAS,CAAC,EAAE,MAAM,CAAC;IAMnB,UAAU,CAAC,EAAE,OAAO,CAAC;IAKrB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAGD,qBAAa,WAAW;IAGpB,QAAQ,EAAE,MAAM,CAAC;IAmBjB,aAAa,EAAE,MAAM,CAAC;IAKtB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -9,10 +9,11 @@ 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.CreateVoteContest = exports.CreateCheckVote = exports.CreateUserContest = void 0;
|
|
12
|
+
exports.CreateEmail = exports.CreateGeneriqueContestResult = exports.CreateVoteContest = exports.CreateCheckVote = exports.CreateUserContest = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const utils_1 = require("../../../../utils");
|
|
15
15
|
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
16
|
+
const Contest_1 = require("../../../Enum/Contest");
|
|
16
17
|
class CreateUserContest {
|
|
17
18
|
}
|
|
18
19
|
__decorate([
|
|
@@ -132,4 +133,97 @@ __decorate([
|
|
|
132
133
|
__metadata("design:type", String)
|
|
133
134
|
], CreateVoteContest.prototype, "userHash", void 0);
|
|
134
135
|
exports.CreateVoteContest = CreateVoteContest;
|
|
136
|
+
class CreateGeneriqueContestResult {
|
|
137
|
+
}
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, utils_1.ApiProperty)(),
|
|
140
|
+
__metadata("design:type", String)
|
|
141
|
+
], CreateGeneriqueContestResult.prototype, "email", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, utils_1.ApiProperty)(),
|
|
144
|
+
__metadata("design:type", String)
|
|
145
|
+
], CreateGeneriqueContestResult.prototype, "ipAddress", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, utils_1.ApiProperty)(),
|
|
148
|
+
(0, class_validator_1.IsBoolean)(),
|
|
149
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
150
|
+
__metadata("design:type", Boolean)
|
|
151
|
+
], CreateGeneriqueContestResult.prototype, "acceptContact", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, utils_1.ApiProperty)(),
|
|
154
|
+
(0, class_validator_1.IsNumber)(),
|
|
155
|
+
(0, class_validator_1.IsIn)([
|
|
156
|
+
Contest_1.ContestType.ENTREPRENEUR,
|
|
157
|
+
Contest_1.ContestType.OLYMPICS_1,
|
|
158
|
+
Contest_1.ContestType.OLYMPICS_2,
|
|
159
|
+
Contest_1.ContestType.OLYMPICS_3,
|
|
160
|
+
Contest_1.ContestType.OLYMPICS_4,
|
|
161
|
+
Contest_1.ContestType.OLYMPICS_5,
|
|
162
|
+
Contest_1.ContestType.OLYMPICS_6,
|
|
163
|
+
Contest_1.ContestType.OLYMPICS_7,
|
|
164
|
+
Contest_1.ContestType.OLYMPICS_8,
|
|
165
|
+
Contest_1.ContestType.OLYMPICS_9,
|
|
166
|
+
Contest_1.ContestType.OLYMPICS_10,
|
|
167
|
+
Contest_1.ContestType.OLYMPICS_11,
|
|
168
|
+
Contest_1.ContestType.OLYMPICS_12,
|
|
169
|
+
]),
|
|
170
|
+
__metadata("design:type", Number)
|
|
171
|
+
], CreateGeneriqueContestResult.prototype, "idTypeContest", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, utils_1.ApiProperty)(),
|
|
174
|
+
(0, class_validator_1.IsString)(),
|
|
175
|
+
__metadata("design:type", String)
|
|
176
|
+
], CreateGeneriqueContestResult.prototype, "result", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
179
|
+
__metadata("design:type", String)
|
|
180
|
+
], CreateGeneriqueContestResult.prototype, "recaptcha", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
183
|
+
(0, class_validator_1.IsOptional)(),
|
|
184
|
+
(0, class_validator_1.IsBoolean)(),
|
|
185
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
186
|
+
__metadata("design:type", Boolean)
|
|
187
|
+
], CreateGeneriqueContestResult.prototype, "isTestMode", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
190
|
+
(0, class_validator_1.IsOptional)(),
|
|
191
|
+
(0, class_validator_1.IsString)(),
|
|
192
|
+
__metadata("design:type", String)
|
|
193
|
+
], CreateGeneriqueContestResult.prototype, "secret", void 0);
|
|
194
|
+
exports.CreateGeneriqueContestResult = CreateGeneriqueContestResult;
|
|
195
|
+
class CreateEmail {
|
|
196
|
+
}
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, utils_1.ApiProperty)(),
|
|
199
|
+
(0, class_validator_1.IsNumber)(),
|
|
200
|
+
__metadata("design:type", Number)
|
|
201
|
+
], CreateEmail.prototype, "winnerId", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, utils_1.ApiProperty)(),
|
|
204
|
+
(0, class_validator_1.IsNumber)(),
|
|
205
|
+
(0, class_validator_1.IsIn)([
|
|
206
|
+
Contest_1.ContestType.ENTREPRENEUR,
|
|
207
|
+
Contest_1.ContestType.OLYMPICS_1,
|
|
208
|
+
Contest_1.ContestType.OLYMPICS_2,
|
|
209
|
+
Contest_1.ContestType.OLYMPICS_3,
|
|
210
|
+
Contest_1.ContestType.OLYMPICS_4,
|
|
211
|
+
Contest_1.ContestType.OLYMPICS_5,
|
|
212
|
+
Contest_1.ContestType.OLYMPICS_6,
|
|
213
|
+
Contest_1.ContestType.OLYMPICS_7,
|
|
214
|
+
Contest_1.ContestType.OLYMPICS_8,
|
|
215
|
+
Contest_1.ContestType.OLYMPICS_9,
|
|
216
|
+
Contest_1.ContestType.OLYMPICS_10,
|
|
217
|
+
Contest_1.ContestType.OLYMPICS_11,
|
|
218
|
+
Contest_1.ContestType.OLYMPICS_12,
|
|
219
|
+
]),
|
|
220
|
+
__metadata("design:type", Number)
|
|
221
|
+
], CreateEmail.prototype, "idTypeContest", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
224
|
+
(0, class_validator_1.IsOptional)(),
|
|
225
|
+
(0, class_validator_1.IsString)(),
|
|
226
|
+
__metadata("design:type", String)
|
|
227
|
+
], CreateEmail.prototype, "secret", void 0);
|
|
228
|
+
exports.CreateEmail = CreateEmail;
|
|
135
229
|
//# sourceMappingURL=Create.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Create.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/contest/Create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"Create.js","sourceRoot":"","s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Z,IAAA,0BAAQ,GAAE;;4DACO;AA/CpB,oEAgDC;AAGD,MAAa,WAAW;CA4BvB;AA3BC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;;6CACQ;AAEnB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC;QACJ,qBAAW,CAAC,YAAY;QACxB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,UAAU;QACtB,qBAAW,CAAC,WAAW;QACvB,qBAAW,CAAC,WAAW;QACvB,qBAAW,CAAC,WAAW;KACxB,CAAC;;kDACsB;AAExB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACO;AA3BpB,kCA4BC","sourcesContent":["import { IsOptional, IsBoolean, IsNumber, IsString, IsIn } from 'class-validator';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { TFile } from '../file/TFile';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\nimport { ContestType } from '../../../Enum/Contest';\n\nexport class CreateUserContest {\n @ApiProperty()\n firstname: string;\n\n @ApiProperty()\n lastname: string;\n\n @ApiProperty()\n email: string;\n\n @ApiProperty()\n phone: string;\n\n @ApiProperty()\n societyName: string;\n\n @ApiProperty()\n siren: string;\n\n @ApiPropertyOptional()\n companyWebsite?: string;\n\n @ApiPropertyOptional()\n productDescription?: string;\n\n @ApiPropertyOptional()\n societyDescription?: string;\n\n @ApiProperty()\n photo: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n logo?: TFile;\n\n @ApiPropertyOptional()\n @IsOptional()\n banner?: TFile;\n \n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n acceptNewsletter: boolean;\n \n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n acceptPromotion: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode?: boolean;\n\n @ApiPropertyOptional()\n recaptcha?: string;\n}\n\nexport class CreateCheckVote {\n @ApiProperty()\n email: string;\n\n @ApiProperty()\n ipAddress: string;\n \n @ApiProperty()\n idVoter: number;\n\n \n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n acceptContact: boolean;\n\n @ApiPropertyOptional()\n recaptcha?: string;\n\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode?: boolean;\n}\n\nexport class CreateVoteContest {\n @ApiProperty()\n hashMail: string;\n\n @ApiProperty()\n userHash: string;\n}\n\nexport class CreateGeneriqueContestResult {\n @ApiProperty()\n email: string;\n\n @ApiProperty()\n ipAddress: string;\n\n @ApiProperty()\n @IsBoolean()\n @ToBoolean()\n acceptContact: boolean;\n\n @ApiProperty()\n @IsNumber()\n @IsIn([\n ContestType.ENTREPRENEUR, \n ContestType.OLYMPICS_1, \n ContestType.OLYMPICS_2, \n ContestType.OLYMPICS_3, \n ContestType.OLYMPICS_4,\n ContestType.OLYMPICS_5, \n ContestType.OLYMPICS_6,\n ContestType.OLYMPICS_7, \n ContestType.OLYMPICS_8, \n ContestType.OLYMPICS_9,\n ContestType.OLYMPICS_10,\n ContestType.OLYMPICS_11,\n ContestType.OLYMPICS_12,\n ])\n idTypeContest: number;\n\n @ApiProperty()\n @IsString()\n result: string;\n\n @ApiPropertyOptional()\n recaptcha?: string;\n \n @ApiPropertyOptional()\n @IsOptional()\n @IsBoolean()\n @ToBoolean()\n isTestMode?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n secret?: string;\n}\n\n\nexport class CreateEmail {\n @ApiProperty()\n @IsNumber()\n winnerId: number;\n \n @ApiProperty()\n @IsNumber()\n @IsIn([\n ContestType.ENTREPRENEUR, \n ContestType.OLYMPICS_1, \n ContestType.OLYMPICS_2, \n ContestType.OLYMPICS_3, \n ContestType.OLYMPICS_4,\n ContestType.OLYMPICS_5, \n ContestType.OLYMPICS_6,\n ContestType.OLYMPICS_7, \n ContestType.OLYMPICS_8, \n ContestType.OLYMPICS_9,\n ContestType.OLYMPICS_10,\n ContestType.OLYMPICS_11,\n ContestType.OLYMPICS_12,\n ])\n idTypeContest: number;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsString()\n secret?: string;\n}"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class QueryUnexport {
|
|
2
|
+
startDate: string;
|
|
3
|
+
endDate: string;
|
|
4
|
+
idBankAccount?: Array<number>;
|
|
5
|
+
idAccountingJournal?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare class QueryExport {
|
|
8
|
+
startDate: string;
|
|
9
|
+
endDate: string;
|
|
10
|
+
idBankAccount?: Array<number>;
|
|
11
|
+
reexport?: boolean;
|
|
12
|
+
idAccountingJournal?: number;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=Query.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/transactions/Query.ts"],"names":[],"mappings":"AAQA,qBAAa,aAAa;IAGtB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAM9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,qBAAa,WAAW;IAGpB,SAAS,EAAE,MAAM,CAAC;IAIlB,OAAO,EAAE,MAAM,CAAC;IAKhB,aAAa,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAM9B,QAAQ,CAAC,EAAG,OAAO,CAAC;IAMpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -9,11 +9,12 @@ 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.QueryUnexport = void 0;
|
|
12
|
+
exports.QueryExport = exports.QueryUnexport = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const __1 = require("../../..");
|
|
15
15
|
const utils_1 = require("../../../../utils");
|
|
16
16
|
const formattedDateString_validator_1 = require("../../../../utils/validators/formattedDateString.validator");
|
|
17
|
+
const boolean_transform_1 = require("../../../../utils/transforms/boolean.transform");
|
|
17
18
|
class QueryUnexport {
|
|
18
19
|
}
|
|
19
20
|
__decorate([
|
|
@@ -40,4 +41,37 @@ __decorate([
|
|
|
40
41
|
__metadata("design:type", Number)
|
|
41
42
|
], QueryUnexport.prototype, "idAccountingJournal", void 0);
|
|
42
43
|
exports.QueryUnexport = QueryUnexport;
|
|
43
|
-
|
|
44
|
+
class QueryExport {
|
|
45
|
+
}
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, utils_1.ApiProperty)(),
|
|
48
|
+
(0, formattedDateString_validator_1.IsFormattedDateString)(),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], QueryExport.prototype, "startDate", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, utils_1.ApiProperty)(),
|
|
53
|
+
(0, formattedDateString_validator_1.IsFormattedDateString)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
55
|
+
], QueryExport.prototype, "endDate", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsArray)(),
|
|
60
|
+
__metadata("design:type", Array)
|
|
61
|
+
], QueryExport.prototype, "idBankAccount", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
64
|
+
(0, class_validator_1.IsBoolean)(),
|
|
65
|
+
(0, boolean_transform_1.ToBoolean)(),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
__metadata("design:type", Boolean)
|
|
68
|
+
], QueryExport.prototype, "reexport", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, utils_1.ApiPropertyOptional)(),
|
|
71
|
+
(0, class_validator_1.IsOptional)(),
|
|
72
|
+
(0, class_validator_1.IsNumber)(),
|
|
73
|
+
(0, class_validator_1.IsIn)([__1.AccountingJournal.AC, __1.AccountingJournal.VE, __1.AccountingJournal.BQ, __1.AccountingJournal.CAI, __1.AccountingJournal.PER, __1.AccountingJournal.AN, __1.AccountingJournal.OD, __1.AccountingJournal.REV, __1.AccountingJournal.SAL]),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], QueryExport.prototype, "idAccountingJournal", void 0);
|
|
76
|
+
exports.QueryExport = QueryExport;
|
|
77
|
+
//# sourceMappingURL=Query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../../../ts/types/Interface/api/transactions/Query.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAEyB;AACzB,gCAA6C;AAC7C,6CAAqE;AACrE,8GAAmG;AACnG,sFAA2E;AAE3E,MAAa,aAAa;CAmBzB;AAlBC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;gDACJ;AAEpB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8CACN;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;8BACQ,KAAK;oDAAS;AAEhC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,CAAC,qBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,EAAE,CAAC,CAAC;;0DACpB;AAlBjC,sCAmBC;AAED,MAAa,WAAW;CAyBvB;AAxBC;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;8CACJ;AAEpB;IAAC,IAAA,mBAAW,GAAE;IACb,IAAA,qDAAqB,GAAE;;4CACN;AAElB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;8BACQ,KAAK;kDAAS;AAEhC;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,2BAAS,GAAE;IACX,IAAA,6BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;6CACS;AAEtB;IAAC,IAAA,2BAAmB,GAAE;IACrB,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,sBAAI,EAAC,CAAC,qBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,GAAG,EAAE,qBAAiB,CAAC,GAAG,EAAE,qBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,EAAE,EAAE,qBAAiB,CAAC,GAAG,EAAE,qBAAiB,CAAC,GAAG,CAAC,CAAC;;wDAClL;AAxBjC,kCAyBC","sourcesContent":["import {\n IsArray, IsBoolean, IsIn, IsNumber, IsOptional,\n} from 'class-validator';\nimport { AccountingJournal } from '../../..';\nimport { ApiProperty, ApiPropertyOptional } from '../../../../utils';\nimport { IsFormattedDateString } from '../../../../utils/validators/formattedDateString.validator';\nimport { ToBoolean } from '../../../../utils/transforms/boolean.transform';\n\nexport class QueryUnexport {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idBankAccount?: Array<number>;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsIn([AccountingJournal.AC, AccountingJournal.VE])\n idAccountingJournal?: number;\n}\n\nexport class QueryExport {\n @ApiProperty()\n @IsFormattedDateString()\n startDate: string;\n\n @ApiProperty()\n @IsFormattedDateString()\n endDate: string;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsArray()\n idBankAccount?: Array<number>;\n\n @ApiPropertyOptional()\n @IsBoolean()\n @ToBoolean()\n @IsOptional()\n reexport?: boolean;\n\n @ApiPropertyOptional()\n @IsOptional()\n @IsNumber()\n @IsIn([AccountingJournal.AC, AccountingJournal.VE, AccountingJournal.BQ, AccountingJournal.CAI, AccountingJournal.PER, AccountingJournal.AN, AccountingJournal.OD, AccountingJournal.REV, AccountingJournal.SAL])\n idAccountingJournal?: number;\n}\n"]}
|
|
@@ -8,6 +8,7 @@ import { ISociety } from './ISociety';
|
|
|
8
8
|
import { IAccountsSectors } from './IAccountsSectors';
|
|
9
9
|
import { IMachineLearningResult } from './IMachineLearningResult';
|
|
10
10
|
import { IAccountsSocieties } from './IAccountsSocieties';
|
|
11
|
+
import { ITag } from './ITag';
|
|
11
12
|
export interface IAccount {
|
|
12
13
|
id?: number;
|
|
13
14
|
number: number;
|
|
@@ -50,5 +51,6 @@ export interface IAccount {
|
|
|
50
51
|
societies?: ISociety[];
|
|
51
52
|
machineLearningResults?: IMachineLearningResult[];
|
|
52
53
|
parentAccount?: IAccount;
|
|
54
|
+
tags?: ITag[];
|
|
53
55
|
}
|
|
54
56
|
//# sourceMappingURL=IAccount.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccount.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,IAAI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C,EAAE,iBAAiB,CAAC;IACtC,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,cAAc,CAAC,EAAE,cAAc,EAAE,CAAC;IAClC,iBAAiB,CAAC,EAAE,kBAAkB,EAAE,GAAG,kBAAkB,CAAC;IAC9D,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,sBAAsB,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAClD,aAAa,CAAC,EAAE,QAAQ,CAAC;IACzB,IAAI,CAAC,EAAE,IAAI,EAAE,CAAA;CACd"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\nimport { IAccountsSectors } from './IAccountsSectors';\nimport { IMachineLearningResult } from './IMachineLearningResult';\nimport { IAccountsSocieties } from './IAccountsSocieties';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n isPersonalised?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n accountsSectors?: IAccountsSectors[];\n juridicalSociety?: number | null;\n idNature: number;\n customization?: number;\n idAccountType: number;\n idVat?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n accountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n accountsSocieties?: IAccountsSocieties[] | IAccountsSocieties;\n societies?: ISociety[];\n machineLearningResults?: IMachineLearningResult[];\n parentAccount?: IAccount;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"IAccount.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IAccount.ts"],"names":[],"mappings":"","sourcesContent":["import { INature } from './INature';\nimport { IAccountType } from './IAccountType';\nimport { IVat } from './IVat';\nimport { IRegisterCategory } from './IRegisterCategory';\nimport { IAccountHelp } from './IAccountHelp';\nimport { IAccountDetail } from './IAccountDetail';\nimport { ISociety } from './ISociety';\nimport { IAccountsSectors } from './IAccountsSectors';\nimport { IMachineLearningResult } from './IMachineLearningResult';\nimport { IAccountsSocieties } from './IAccountsSocieties';\nimport { ITag } from './ITag';\n\n// accounts\nexport interface IAccount {\n id?: number;\n number: number;\n name: string;\n originalName?: string | null;\n forceVat?: boolean;\n blockVat?: boolean;\n forceFile?: boolean;\n isHidden?: boolean;\n isImmo?: boolean;\n isCorporal?: boolean;\n icone?: string | null;\n iconePNG?: string | null;\n color?: string | null;\n isOnlyTreso?: boolean;\n isOnlyEnga?: boolean;\n isGeneric?: boolean;\n isPersonalised?: boolean;\n forClient?: boolean;\n forFournisseur?: boolean;\n accountsSectors?: IAccountsSectors[];\n juridicalSociety?: number | null;\n idNature: number;\n customization?: number;\n idAccountType: number;\n idVat?: number | null;\n idRegisterCategorie?: number | null;\n idSector?: number | null;\n idParentAccount?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // Associations\n nature?: INature;\n accountType?: IAccountType;\n tva?: IVat;\n registerCategorie?: IRegisterCategory;\n accountHelp?: IAccountHelp;\n accountDetails?: IAccountDetail[];\n accountsSocieties?: IAccountsSocieties[] | IAccountsSocieties;\n societies?: ISociety[];\n machineLearningResults?: IMachineLearningResult[];\n parentAccount?: IAccount;\n tags?: ITag[]\n}\n"]}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { IUser } from '../..';
|
|
2
|
-
export interface
|
|
2
|
+
export interface IContest {
|
|
3
3
|
id?: number;
|
|
4
4
|
emailVoter: string;
|
|
5
5
|
hashMail: string;
|
|
6
6
|
ipAddress: string;
|
|
7
7
|
hasVoteBeenCompleted: boolean;
|
|
8
8
|
acceptContact: boolean;
|
|
9
|
+
result: string;
|
|
10
|
+
idTypeContest: number;
|
|
11
|
+
isSuspectedToBeScam: boolean;
|
|
9
12
|
idUserVoteFor?: number | null;
|
|
10
13
|
createdAt?: Date | null;
|
|
11
14
|
updatedAt?: Date | null;
|
|
12
15
|
deletedAt?: Date | null;
|
|
13
16
|
userVoteFor?: IUser;
|
|
14
17
|
}
|
|
15
|
-
//# sourceMappingURL=
|
|
18
|
+
//# sourceMappingURL=IContest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IContest.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IContest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAE9B,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,oBAAoB,EAAE,OAAO,CAAC;IAC9B,aAAa,EAAE,OAAO,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;IACtB,mBAAmB,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAIxB,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IContest.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IContest.ts"],"names":[],"mappings":"","sourcesContent":["import { IUser } from '../..';\n\nexport interface IContest {\n id?: number;\n emailVoter: string;\n hashMail: string;\n ipAddress: string;\n hasVoteBeenCompleted: boolean;\n acceptContact: boolean;\n result: string; // object of result depending the contest\n idTypeContest: number;\n isSuspectedToBeScam: boolean;\n idUserVoteFor?: number | null;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n\n // Associations\n userVoteFor?: IUser;\n}\n"]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IContest } from './IContest';
|
|
2
2
|
export interface IUserContest {
|
|
3
3
|
id?: number;
|
|
4
4
|
firstname: string;
|
|
@@ -19,6 +19,6 @@ export interface IUserContest {
|
|
|
19
19
|
createdAt?: Date | null;
|
|
20
20
|
updatedAt?: Date | null;
|
|
21
21
|
deletedAt?: Date | null;
|
|
22
|
-
|
|
22
|
+
contests: IContest[];
|
|
23
23
|
}
|
|
24
24
|
//# sourceMappingURL=IUserContest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserContest.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserContest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"IUserContest.d.ts","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserContest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,WAAW,YAAY;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,OAAO,CAAC;IACzB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IAGxB,QAAQ,EAAE,QAAQ,EAAE,CAAA;CACrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IUserContest.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserContest.ts"],"names":[],"mappings":"","sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"IUserContest.js","sourceRoot":"","sources":["../../../../../ts/types/Interface/models/IUserContest.ts"],"names":[],"mappings":"","sourcesContent":["import { IContest } from './IContest';\n\nexport interface IUserContest {\n id?: number;\n firstname: string;\n lastname: string;\n email: string;\n hash: string;\n phone: string;\n societyName: string;\n siren: string;\n companyWebsite?: string | null;\n productDescription?: string | null;\n societyDescription?: string | null;\n tokenPhoto?: string | null;\n tokenLogo?: string | null;\n tokenBanner?: string | null;\n acceptNewsletter: boolean;\n acceptPromotion: boolean;\n createdAt?: Date | null;\n updatedAt?: Date | null;\n deletedAt?: Date | null;\n\n // associations\n contests: IContest[]\n}\n"]}
|
|
@@ -323,7 +323,7 @@ export * from './Interface/models/ICard';
|
|
|
323
323
|
export * from './Interface/models/ICardHistory';
|
|
324
324
|
export * from './Interface/models/IDubiousCustomer';
|
|
325
325
|
export * from './Interface/models/IUserContest';
|
|
326
|
-
export * from './Interface/models/
|
|
326
|
+
export * from './Interface/models/IContest';
|
|
327
327
|
export * from './Interface/models/IEquipment';
|
|
328
328
|
export * from './Interface/models/IUserRoomEquipment';
|
|
329
329
|
export * from './Interface/models/IUserSpecialDay';
|
|
@@ -528,6 +528,7 @@ export * from './Enum/ZoneCode';
|
|
|
528
528
|
export * from './Enum/TimeSlot';
|
|
529
529
|
export * from './Enum/StateSynchro';
|
|
530
530
|
export * from './Enum/RefundReason';
|
|
531
|
+
export * from './Enum/Contest';
|
|
531
532
|
export * from './Interface/api/kilometricAllowance/ReadKilometricAllowance';
|
|
532
533
|
export * from './Interface/api/cashAndExpense/Query';
|
|
533
534
|
export * from './Interface/api/cerfa/das2';
|
|
@@ -561,11 +562,9 @@ export * from './Interface/api/paymentExpectationCustomer/QueryPaymentExpectatio
|
|
|
561
562
|
export * from './Interface/api/paymentExpectationCustomer/UpdatePaymentExpectationCustomer';
|
|
562
563
|
export * from './Interface/api/paymentExpectationCustomer/CreatePaymentExpectationCustomer';
|
|
563
564
|
export * from './Interface/api/accountType/ReadAccountType';
|
|
564
|
-
export * from './Interface/api/account/
|
|
565
|
-
export * from './Interface/api/account/
|
|
566
|
-
export * from './Interface/api/account/
|
|
567
|
-
export * from './Interface/api/account/QueryAccountSociety';
|
|
568
|
-
export * from './Interface/api/account/QueryGenericAccount';
|
|
565
|
+
export * from './Interface/api/account/Query';
|
|
566
|
+
export * from './Interface/api/account/Create';
|
|
567
|
+
export * from './Interface/api/account/Update';
|
|
569
568
|
export * from './Interface/api/accountingTransaction/QueryTransaction';
|
|
570
569
|
export * from './Interface/api/accountingTransaction/DeleteInvoices';
|
|
571
570
|
export * from './Interface/api/accountingTransaction/GetTransactionsBetweenDates';
|
|
@@ -586,7 +585,7 @@ export * from './Interface/api/user/CreateCoworker';
|
|
|
586
585
|
export * from './Interface/api/user/QueryUserSmsConfirmation';
|
|
587
586
|
export * from './Interface/api/user/Permissions';
|
|
588
587
|
export * from './Interface/api/user/CollaboratorsByRoles';
|
|
589
|
-
export * from './Interface/api/account/
|
|
588
|
+
export * from './Interface/api/account/Read';
|
|
590
589
|
export * from './Interface/api/balanceSheet/ReadFreelanceTurnover';
|
|
591
590
|
export * from './Interface/api/simulationColors/ReadSimulationColors';
|
|
592
591
|
export * from './Interface/api/survey/QuerySurveys';
|
|
@@ -658,7 +657,6 @@ export * from './Interface/api/dashboard/ReadDeadline';
|
|
|
658
657
|
export * from './Interface/api/accountant/ReadAccountantBalance';
|
|
659
658
|
export * from './Interface/api/quotes/QueryQuotesAccount';
|
|
660
659
|
export * from './Interface/api/quotes/CreateQuoteAccount';
|
|
661
|
-
export * from './Interface/api/account/ReadQuoteAccount';
|
|
662
660
|
export * from './Interface/api/internalInvoicing/CreateInternalInvoicing';
|
|
663
661
|
export * from './Interface/api/internalInvoicing/CreateInternalInvoicing2in';
|
|
664
662
|
export * from './Interface/api/internalInvoicing/RegenerateInternalInvoicing';
|
|
@@ -820,7 +818,7 @@ export * from './Interface/api/prestashop/InvoicesPrestashop';
|
|
|
820
818
|
export * from './Interface/api/woocommerce/WCOrder';
|
|
821
819
|
export * from './Interface/api/woocommerce/WCBilling';
|
|
822
820
|
export * from './Interface/api/woocommerce/InvoicesWoocommerce';
|
|
823
|
-
export * from './Interface/api/transactions/
|
|
821
|
+
export * from './Interface/api/transactions/Query';
|
|
824
822
|
export * from './Interface/api/crisp/GetCrisp';
|
|
825
823
|
export * from './Interface/api/incomeAllocation/CreateIncomeAllocation';
|
|
826
824
|
export * from './Interface/api/incomeAllocation/ReadIncomeAllocation';
|