mfance-shark-v1 1.0.13 → 1.0.15
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/dto/caisse/create/create-caisse-operation.dto.d.ts +6 -0
- package/dist/dto/caisse/create/create-caisse-operation.dto.js +31 -0
- package/dist/dto/caisse/create/create-caisse-operation.dto.js.map +1 -0
- package/dist/dto/caisse/create/create-caisse-type.dto.d.ts +6 -0
- package/dist/dto/caisse/create/create-caisse-type.dto.js +29 -0
- package/dist/dto/caisse/create/create-caisse-type.dto.js.map +1 -0
- package/dist/dto/caisse/create/create-caisse-worker.dto.d.ts +9 -0
- package/dist/dto/caisse/create/create-caisse-worker.dto.js +50 -0
- package/dist/dto/caisse/create/create-caisse-worker.dto.js.map +1 -0
- package/dist/dto/caisse/create/create-caisse.dto.d.ts +14 -0
- package/dist/dto/caisse/create/create-caisse.dto.js +84 -0
- package/dist/dto/caisse/create/create-caisse.dto.js.map +1 -0
- package/dist/dto/caisse/read/read-caisse-daily-worker.dto.d.ts +10 -0
- package/dist/dto/caisse/read/read-caisse-daily-worker.dto.js +46 -0
- package/dist/dto/caisse/read/read-caisse-daily-worker.dto.js.map +1 -0
- package/dist/dto/caisse/read/read-caisse-operation.dto.d.ts +5 -0
- package/dist/dto/caisse/read/read-caisse-operation.dto.js +26 -0
- package/dist/dto/caisse/read/read-caisse-operation.dto.js.map +1 -0
- package/dist/dto/caisse/read/read-caisse-type.dto.d.ts +5 -0
- package/dist/dto/caisse/read/read-caisse-type.dto.js +26 -0
- package/dist/dto/caisse/read/read-caisse-type.dto.js.map +1 -0
- package/dist/dto/caisse/read/read-caisse.dto.d.ts +17 -0
- package/dist/dto/caisse/read/read-caisse.dto.js +62 -0
- package/dist/dto/caisse/read/read-caisse.dto.js.map +1 -0
- package/dist/dto/caisse/update/update-caisse.dto.d.ts +12 -0
- package/dist/dto/caisse/update/update-caisse.dto.js +68 -0
- package/dist/dto/caisse/update/update-caisse.dto.js.map +1 -0
- package/dist/dto/country/create-country.dto.d.ts +4 -0
- package/dist/dto/country/create-country.dto.js +30 -0
- package/dist/dto/country/create-country.dto.js.map +1 -0
- package/dist/dto/country/update-country.dto.d.ts +4 -0
- package/dist/dto/country/update-country.dto.js +30 -0
- package/dist/dto/country/update-country.dto.js.map +1 -0
- package/dist/dto/create-currency-value.dto.d.ts +4 -0
- package/dist/dto/create-currency-value.dto.js +29 -0
- package/dist/dto/create-currency-value.dto.js.map +1 -0
- package/dist/dto/create-partner.dto.d.ts +11 -0
- package/dist/dto/create-partner.dto.js +66 -0
- package/dist/dto/create-partner.dto.js.map +1 -0
- package/dist/dto/devise/create-devise.dto.d.ts +5 -0
- package/dist/dto/devise/create-devise.dto.js +32 -0
- package/dist/dto/devise/create-devise.dto.js.map +1 -0
- package/dist/dto/devise/delete-devise.dto.d.ts +0 -0
- package/dist/dto/devise/delete-devise.dto.js +1 -0
- package/dist/dto/devise/delete-devise.dto.js.map +1 -0
- package/dist/dto/devise/read-devise.dto.d.ts +6 -0
- package/dist/dto/devise/read-devise.dto.js +30 -0
- package/dist/dto/devise/read-devise.dto.js.map +1 -0
- package/dist/dto/devise/update-devise.dto.d.ts +0 -0
- package/dist/dto/devise/update-devise.dto.js +1 -0
- package/dist/dto/devise/update-devise.dto.js.map +1 -0
- package/dist/dto/email.dto.d.ts +7 -0
- package/dist/dto/email.dto.js +30 -0
- package/dist/dto/email.dto.js.map +1 -0
- package/dist/dto/filter.dto.d.ts +5 -0
- package/dist/dto/filter.dto.js +29 -0
- package/dist/dto/filter.dto.js.map +1 -0
- package/dist/dto/login.dto.d.ts +4 -0
- package/dist/dto/login.dto.js +29 -0
- package/dist/dto/login.dto.js.map +1 -0
- package/dist/dto/pagination.dto.d.ts +4 -0
- package/dist/dto/pagination.dto.js +36 -0
- package/dist/dto/pagination.dto.js.map +1 -0
- package/dist/dto/permission/create-many-permissions.dto.d.ts +4 -0
- package/dist/dto/permission/create-many-permissions.dto.js +24 -0
- package/dist/dto/permission/create-many-permissions.dto.js.map +1 -0
- package/dist/dto/permission/create-permission.dto.d.ts +3 -0
- package/dist/dto/permission/create-permission.dto.js +24 -0
- package/dist/dto/permission/create-permission.dto.js.map +1 -0
- package/dist/dto/permission/update-permission.dto.d.ts +3 -0
- package/dist/dto/permission/update-permission.dto.js +24 -0
- package/dist/dto/permission/update-permission.dto.js.map +1 -0
- package/dist/dto/register-user.dto.d.ts +12 -0
- package/dist/dto/register-user.dto.js +72 -0
- package/dist/dto/register-user.dto.js.map +1 -0
- package/dist/dto/reusable.dto.d.ts +8 -0
- package/dist/dto/reusable.dto.js +47 -0
- package/dist/dto/reusable.dto.js.map +1 -0
- package/dist/dto/role/assign-permissions-to-role.dto.d.ts +3 -0
- package/dist/dto/role/assign-permissions-to-role.dto.js +25 -0
- package/dist/dto/role/assign-permissions-to-role.dto.js.map +1 -0
- package/dist/dto/role/create-many-roles.dto.d.ts +4 -0
- package/dist/dto/role/create-many-roles.dto.js +24 -0
- package/dist/dto/role/create-many-roles.dto.js.map +1 -0
- package/dist/dto/role/create-role.dto.d.ts +4 -0
- package/dist/dto/role/create-role.dto.js +24 -0
- package/dist/dto/role/create-role.dto.js.map +1 -0
- package/dist/dto/role/update-role.dto.d.ts +3 -0
- package/dist/dto/role/update-role.dto.js +24 -0
- package/dist/dto/role/update-role.dto.js.map +1 -0
- package/dist/dto/sale/create-sale-point.dto.d.ts +9 -0
- package/dist/dto/sale/create-sale-point.dto.js +54 -0
- package/dist/dto/sale/create-sale-point.dto.js.map +1 -0
- package/dist/dto/sale/update-sale-point.dto.d.ts +8 -0
- package/dist/dto/sale/update-sale-point.dto.js +54 -0
- package/dist/dto/sale/update-sale-point.dto.js.map +1 -0
- package/dist/dto/solde/create/create-caisse-solde.dto.d.ts +9 -0
- package/dist/dto/solde/create/create-caisse-solde.dto.js +46 -0
- package/dist/dto/solde/create/create-caisse-solde.dto.js.map +1 -0
- package/dist/dto/solde/create/create-customer-solde.dto.d.ts +9 -0
- package/dist/dto/solde/create/create-customer-solde.dto.js +50 -0
- package/dist/dto/solde/create/create-customer-solde.dto.js.map +1 -0
- package/dist/dto/solde/read/read-caisse-solde.dto.d.ts +9 -0
- package/dist/dto/solde/read/read-caisse-solde.dto.js +42 -0
- package/dist/dto/solde/read/read-caisse-solde.dto.js.map +1 -0
- package/dist/dto/solde/read/read-customer-solde.dto.d.ts +9 -0
- package/dist/dto/solde/read/read-customer-solde.dto.js +42 -0
- package/dist/dto/solde/read/read-customer-solde.dto.js.map +1 -0
- package/dist/dto/stock/create-stock-partner.dto.d.ts +7 -0
- package/dist/dto/stock/create-stock-partner.dto.js +48 -0
- package/dist/dto/stock/create-stock-partner.dto.js.map +1 -0
- package/dist/dto/stock/create-stock.dto.d.ts +7 -0
- package/dist/dto/stock/create-stock.dto.js +69 -0
- package/dist/dto/stock/create-stock.dto.js.map +1 -0
- package/dist/dto/stock/update-stock-partner.dto.d.ts +4 -0
- package/dist/dto/stock/update-stock-partner.dto.js +29 -0
- package/dist/dto/stock/update-stock-partner.dto.js.map +1 -0
- package/dist/dto/stock/update-stock.dto.d.ts +9 -0
- package/dist/dto/stock/update-stock.dto.js +90 -0
- package/dist/dto/stock/update-stock.dto.js.map +1 -0
- package/dist/dto/transactions/partner-transaction-currency-purchase.create.d.ts +11 -0
- package/dist/dto/transactions/partner-transaction-currency-purchase.create.js +71 -0
- package/dist/dto/transactions/partner-transaction-currency-purchase.create.js.map +1 -0
- package/dist/dto/transactions/partner-transaction-currency-sell.create.d.ts +10 -0
- package/dist/dto/transactions/partner-transaction-currency-sell.create.js +65 -0
- package/dist/dto/transactions/partner-transaction-currency-sell.create.js.map +1 -0
- package/dist/dto/transactions/partner-transaction-stone-purchase.create.d.ts +17 -0
- package/dist/dto/transactions/partner-transaction-stone-purchase.create.js +98 -0
- package/dist/dto/transactions/partner-transaction-stone-purchase.create.js.map +1 -0
- package/dist/dto/transactions/transaction-caisse-transfer.create.d.ts +9 -0
- package/dist/dto/transactions/transaction-caisse-transfer.create.js +54 -0
- package/dist/dto/transactions/transaction-caisse-transfer.create.js.map +1 -0
- package/dist/dto/transactions/transaction-cash-in-out.create.d.ts +8 -0
- package/dist/dto/transactions/transaction-cash-in-out.create.js +50 -0
- package/dist/dto/transactions/transaction-cash-in-out.create.js.map +1 -0
- package/dist/dto/transactions/transaction-currency-purchase.create.d.ts +10 -0
- package/dist/dto/transactions/transaction-currency-purchase.create.js +65 -0
- package/dist/dto/transactions/transaction-currency-purchase.create.js.map +1 -0
- package/dist/dto/transactions/transaction-currency-sell.create.d.ts +10 -0
- package/dist/dto/transactions/transaction-currency-sell.create.js +65 -0
- package/dist/dto/transactions/transaction-currency-sell.create.js.map +1 -0
- package/dist/dto/transactions/transaction-partner-transfer.create.d.ts +10 -0
- package/dist/dto/transactions/transaction-partner-transfer.create.js +63 -0
- package/dist/dto/transactions/transaction-partner-transfer.create.js.map +1 -0
- package/dist/dto/transactions/transaction.create.dto.d.ts +13 -0
- package/dist/dto/transactions/transaction.create.dto.js +62 -0
- package/dist/dto/transactions/transaction.create.dto.js.map +1 -0
- package/dist/dto/transactions/transaction.read.dto.d.ts +14 -0
- package/dist/dto/transactions/transaction.read.dto.js +62 -0
- package/dist/dto/transactions/transaction.read.dto.js.map +1 -0
- package/dist/dto/transactions/transfer-client.create.dto.d.ts +7 -0
- package/dist/dto/transactions/transfer-client.create.dto.js +45 -0
- package/dist/dto/transactions/transfer-client.create.dto.js.map +1 -0
- package/dist/dto/transactions/transfer-domestique.dto.d.ts +6 -0
- package/dist/dto/transactions/transfer-domestique.dto.js +38 -0
- package/dist/dto/transactions/transfer-domestique.dto.js.map +1 -0
- package/dist/dto/upload-files.dto.d.ts +0 -0
- package/dist/dto/upload-files.dto.js +1 -0
- package/dist/dto/upload-files.dto.js.map +1 -0
- package/dist/dto/user/change-user-password.dto.d.ts +4 -0
- package/dist/dto/user/change-user-password.dto.js +28 -0
- package/dist/dto/user/change-user-password.dto.js.map +1 -0
- package/dist/dto/user/change-user-status.dto.d.ts +3 -0
- package/dist/dto/user/change-user-status.dto.js +24 -0
- package/dist/dto/user/change-user-status.dto.js.map +1 -0
- package/dist/dto/user/update-user.dto copy.d.ts +10 -0
- package/dist/dto/user/update-user.dto copy.js +65 -0
- package/dist/dto/user/update-user.dto copy.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionCashInOutCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
class TransactionCashInOutCreateDto extends reusable_dto_1.ReusableDto {
|
|
18
|
+
}
|
|
19
|
+
exports.TransactionCashInOutCreateDto = TransactionCashInOutCreateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, classes_1.AutoMap)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], TransactionCashInOutCreateDto.prototype, "amount", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ example: '' }),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, classes_1.AutoMap)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TransactionCashInOutCreateDto.prototype, "description", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4e00' }),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, classes_1.AutoMap)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], TransactionCashInOutCreateDto.prototype, "caisseId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)({ example: 'ff0bb769-e575-4606-a2bb-c0b4db2c010f' }),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, classes_1.AutoMap)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], TransactionCashInOutCreateDto.prototype, "userId", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({ example: '7c7c9ef4-a776-4934-a559-2a18ed9a0eb1' }),
|
|
47
|
+
(0, classes_1.AutoMap)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], TransactionCashInOutCreateDto.prototype, "paymentMethodId", void 0);
|
|
50
|
+
//# sourceMappingURL=transaction-cash-in-out.create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction-cash-in-out.create.js","sourceRoot":"","sources":["../../../src/dto/transactions/transaction-cash-in-out.create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAAuD;AACvD,6CAA8C;AAE9C,MAAa,6BAA8B,SAAQ,0BAAW;CAuB7D;AAvBD,sEAuBC;AAnBC;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;6DACK;AAMf;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;kEACU;AAIpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;+DACQ;AAIlB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;6DACK;AAIf;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,iBAAO,GAAE;;sEACe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReusableDto } from '../reusable.dto';
|
|
2
|
+
export declare class TransactionCurrencyPurchaseCreateDto extends ReusableDto {
|
|
3
|
+
quantity: number;
|
|
4
|
+
description: string;
|
|
5
|
+
rate: number;
|
|
6
|
+
caisseId?: string;
|
|
7
|
+
currencyId?: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
paymentMethodId?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionCurrencyPurchaseCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
class TransactionCurrencyPurchaseCreateDto extends reusable_dto_1.ReusableDto {
|
|
18
|
+
}
|
|
19
|
+
exports.TransactionCurrencyPurchaseCreateDto = TransactionCurrencyPurchaseCreateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, classes_1.AutoMap)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "quantity", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({ example: '' }),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
(0, classes_1.AutoMap)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
36
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
(0, classes_1.AutoMap)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "rate", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4e00' }),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
(0, classes_1.AutoMap)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "caisseId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4a00' }),
|
|
49
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
50
|
+
(0, classes_1.AutoMap)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "currencyId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({ example: 'ff0bb769-e575-4606-a2bb-c0b4db2c010f' }),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
(0, classes_1.AutoMap)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "userId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, swagger_1.ApiProperty)({ example: '7c7c9ef4-a776-4934-a559-2a18ed9a0eb1' }),
|
|
61
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
62
|
+
(0, classes_1.AutoMap)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], TransactionCurrencyPurchaseCreateDto.prototype, "paymentMethodId", void 0);
|
|
65
|
+
//# sourceMappingURL=transaction-currency-purchase.create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction-currency-purchase.create.js","sourceRoot":"","sources":["../../../src/dto/transactions/transaction-currency-purchase.create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAA4E;AAC5E,6CAA8C;AAE9C,MAAa,oCAAqC,SAAQ,0BAAW;CAsCpE;AAtCD,oFAsCC;AAjCC;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;sEACO;AAMjB;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;yEACU;AAMpB;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;kEACG;AAKb;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;sEACQ;AAKlB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;wEACU;AAKpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;oEACK;AAKf;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;6EACe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReusableDto } from '../reusable.dto';
|
|
2
|
+
export declare class TransactionCurrencySellCreateDto extends ReusableDto {
|
|
3
|
+
quantity: number;
|
|
4
|
+
rate: number;
|
|
5
|
+
description: string;
|
|
6
|
+
caisseId?: string;
|
|
7
|
+
currencyId?: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
paymentMethodId?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionCurrencySellCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
class TransactionCurrencySellCreateDto extends reusable_dto_1.ReusableDto {
|
|
18
|
+
}
|
|
19
|
+
exports.TransactionCurrencySellCreateDto = TransactionCurrencySellCreateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, class_validator_1.IsNumber)(),
|
|
24
|
+
(0, classes_1.AutoMap)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], TransactionCurrencySellCreateDto.prototype, "quantity", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
(0, classes_1.AutoMap)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], TransactionCurrencySellCreateDto.prototype, "rate", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, swagger_1.ApiProperty)({ example: '' }),
|
|
36
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
(0, classes_1.AutoMap)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], TransactionCurrencySellCreateDto.prototype, "description", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4e00' }),
|
|
43
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
44
|
+
(0, classes_1.AutoMap)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], TransactionCurrencySellCreateDto.prototype, "caisseId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4a00' }),
|
|
49
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
50
|
+
(0, classes_1.AutoMap)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], TransactionCurrencySellCreateDto.prototype, "currencyId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({ example: 'ff0bb769-e575-4606-a2bb-c0b4db2c010f' }),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
(0, classes_1.AutoMap)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], TransactionCurrencySellCreateDto.prototype, "userId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, swagger_1.ApiProperty)({ example: '7c7c9ef4-a776-4934-a559-2a18ed9a0eb1' }),
|
|
61
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
62
|
+
(0, classes_1.AutoMap)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], TransactionCurrencySellCreateDto.prototype, "paymentMethodId", void 0);
|
|
65
|
+
//# sourceMappingURL=transaction-currency-sell.create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction-currency-sell.create.js","sourceRoot":"","sources":["../../../src/dto/transactions/transaction-currency-sell.create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAA4E;AAC5E,6CAA8C;AAE9C,MAAa,gCAAiC,SAAQ,0BAAW;CAsChE;AAtCD,4EAsCC;AAjCC;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;kEACO;AAMjB;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;8DACG;AAMb;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;qEACU;AAKpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;kEACQ;AAKlB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;oEACU;AAKpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;gEACK;AAKf;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;yEACe"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReusableDto } from '../reusable.dto';
|
|
2
|
+
export declare class TransactionPartnerTransferCreateDto extends ReusableDto {
|
|
3
|
+
currencyId?: string;
|
|
4
|
+
quantity: number;
|
|
5
|
+
description: string;
|
|
6
|
+
rate: number;
|
|
7
|
+
partnerId?: string;
|
|
8
|
+
partnerRecipientId: string;
|
|
9
|
+
paymentMethodId?: string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionPartnerTransferCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
class TransactionPartnerTransferCreateDto extends reusable_dto_1.ReusableDto {
|
|
18
|
+
}
|
|
19
|
+
exports.TransactionPartnerTransferCreateDto = TransactionPartnerTransferCreateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4a00' }),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, classes_1.AutoMap)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TransactionPartnerTransferCreateDto.prototype, "currencyId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, classes_1.AutoMap)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], TransactionPartnerTransferCreateDto.prototype, "quantity", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({ example: '' }),
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, classes_1.AutoMap)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], TransactionPartnerTransferCreateDto.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, class_validator_1.IsNumber)(),
|
|
43
|
+
(0, classes_1.AutoMap)(),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], TransactionPartnerTransferCreateDto.prototype, "rate", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({ example: '24d6d851-b533-4cf5-a192-818df8bf4007' }),
|
|
48
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
49
|
+
(0, classes_1.AutoMap)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], TransactionPartnerTransferCreateDto.prototype, "partnerId", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4e00' }),
|
|
54
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
55
|
+
(0, classes_1.AutoMap)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], TransactionPartnerTransferCreateDto.prototype, "partnerRecipientId", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({ example: '7c7c9ef4-a776-4934-a559-2a18ed9a0eb1' }),
|
|
60
|
+
(0, classes_1.AutoMap)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], TransactionPartnerTransferCreateDto.prototype, "paymentMethodId", void 0);
|
|
63
|
+
//# sourceMappingURL=transaction-partner-transfer.create.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction-partner-transfer.create.js","sourceRoot":"","sources":["../../../src/dto/transactions/transaction-partner-transfer.create.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAAiE;AACjE,6CAA8C;AAE9C,MAAa,mCAAoC,SAAQ,0BAAW;CAoCnE;AApCD,kFAoCC;AAhCC;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;uEACU;AAKpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;qEACO;AAMjB;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;wEACU;AAMpB;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;iEACG;AAKb;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;sEACS;AAKnB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;+EACiB;AAI3B;IAFC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,iBAAO,GAAE;;4EACe"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReusableDto } from '../reusable.dto';
|
|
2
|
+
export declare class TransactionCreateDto extends ReusableDto {
|
|
3
|
+
amount: number;
|
|
4
|
+
caisseId?: string;
|
|
5
|
+
recipientId?: string;
|
|
6
|
+
user: string;
|
|
7
|
+
operation: string;
|
|
8
|
+
is_done_by_admin: boolean;
|
|
9
|
+
is_confirmed: boolean;
|
|
10
|
+
libelle: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
paymentMethodId: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class TransactionCreateDto extends reusable_dto_1.ReusableDto {
|
|
17
|
+
}
|
|
18
|
+
exports.TransactionCreateDto = TransactionCreateDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
(0, classes_1.AutoMap)(),
|
|
22
|
+
__metadata("design:type", Number)
|
|
23
|
+
], TransactionCreateDto.prototype, "amount", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
(0, classes_1.AutoMap)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], TransactionCreateDto.prototype, "caisseId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
(0, classes_1.AutoMap)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], TransactionCreateDto.prototype, "recipientId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, classes_1.AutoMap)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], TransactionCreateDto.prototype, "user", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, classes_1.AutoMap)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], TransactionCreateDto.prototype, "operation", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, classes_1.AutoMap)(),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], TransactionCreateDto.prototype, "is_done_by_admin", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, classes_1.AutoMap)(),
|
|
48
|
+
__metadata("design:type", Boolean)
|
|
49
|
+
], TransactionCreateDto.prototype, "is_confirmed", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, classes_1.AutoMap)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], TransactionCreateDto.prototype, "libelle", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, classes_1.AutoMap)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], TransactionCreateDto.prototype, "description", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, classes_1.AutoMap)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], TransactionCreateDto.prototype, "paymentMethodId", void 0);
|
|
62
|
+
//# sourceMappingURL=transaction.create.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.create.dto.js","sourceRoot":"","sources":["../../../src/dto/transactions/transaction.create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAAyD;AAEzD,MAAa,oBAAqB,SAAQ,0BAAW;CAyBpD;AAzBD,oDAyBC;AAtBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;oDACK;AAGf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;sDACQ;AAGlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;yDACW;AAErB;IADC,IAAA,iBAAO,GAAE;;kDACG;AAEb;IADC,IAAA,iBAAO,GAAE;;uDACQ;AAElB;IADC,IAAA,iBAAO,GAAE;;8DACgB;AAE1B;IADC,IAAA,iBAAO,GAAE;;0DACY;AAEtB;IADC,IAAA,iBAAO,GAAE;;qDACM;AAEhB;IADC,IAAA,iBAAO,GAAE;;yDACY;AAEtB;IADC,IAAA,iBAAO,GAAE;;6DACc"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ReusableDto } from '../reusable.dto';
|
|
2
|
+
export declare class TransactionReadDto extends ReusableDto {
|
|
3
|
+
amount: number;
|
|
4
|
+
caisse: any;
|
|
5
|
+
recipient: any;
|
|
6
|
+
user: any;
|
|
7
|
+
operation: any;
|
|
8
|
+
is_done_by_admin: boolean;
|
|
9
|
+
is_confirmed: boolean;
|
|
10
|
+
libelle: string;
|
|
11
|
+
paymentMethod: any;
|
|
12
|
+
partner: any;
|
|
13
|
+
description: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionReadDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
class TransactionReadDto extends reusable_dto_1.ReusableDto {
|
|
16
|
+
}
|
|
17
|
+
exports.TransactionReadDto = TransactionReadDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, classes_1.AutoMap)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], TransactionReadDto.prototype, "amount", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, classes_1.AutoMap)(),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], TransactionReadDto.prototype, "caisse", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, classes_1.AutoMap)(),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], TransactionReadDto.prototype, "recipient", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, classes_1.AutoMap)(),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], TransactionReadDto.prototype, "user", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, classes_1.AutoMap)(),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], TransactionReadDto.prototype, "operation", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, classes_1.AutoMap)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], TransactionReadDto.prototype, "is_done_by_admin", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, classes_1.AutoMap)(),
|
|
44
|
+
__metadata("design:type", Boolean)
|
|
45
|
+
], TransactionReadDto.prototype, "is_confirmed", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, classes_1.AutoMap)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], TransactionReadDto.prototype, "libelle", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, classes_1.AutoMap)(),
|
|
52
|
+
__metadata("design:type", Object)
|
|
53
|
+
], TransactionReadDto.prototype, "paymentMethod", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, classes_1.AutoMap)(),
|
|
56
|
+
__metadata("design:type", Object)
|
|
57
|
+
], TransactionReadDto.prototype, "partner", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, classes_1.AutoMap)(),
|
|
60
|
+
__metadata("design:type", Object)
|
|
61
|
+
], TransactionReadDto.prototype, "description", void 0);
|
|
62
|
+
//# sourceMappingURL=transaction.read.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transaction.read.dto.js","sourceRoot":"","sources":["../../../src/dto/transactions/transaction.read.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAE9C,MAAa,kBAAmB,SAAQ,0BAAW;CAuBlD;AAvBD,gDAuBC;AArBC;IADC,IAAA,iBAAO,GAAE;;kDACK;AAEf;IADC,IAAA,iBAAO,GAAE;;kDACE;AAEZ;IADC,IAAA,iBAAO,GAAE;;qDACK;AAEf;IADC,IAAA,iBAAO,GAAE;;gDACA;AAEV;IADC,IAAA,iBAAO,GAAE;;qDACK;AAEf;IADC,IAAA,iBAAO,GAAE;;4DACgB;AAE1B;IADC,IAAA,iBAAO,GAAE;;wDACY;AAEtB;IADC,IAAA,iBAAO,GAAE;;mDACM;AAEhB;IADC,IAAA,iBAAO,GAAE;;yDACS;AAEnB;IADC,IAAA,iBAAO,GAAE;;mDACG;AAEb;IADC,IAAA,iBAAO,GAAE;;uDACO"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransfertClientCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
class TransfertClientCreateDto extends reusable_dto_1.ReusableDto {
|
|
18
|
+
}
|
|
19
|
+
exports.TransfertClientCreateDto = TransfertClientCreateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, classes_1.AutoMap)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], TransfertClientCreateDto.prototype, "amount", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ example: '' }),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, classes_1.AutoMap)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TransfertClientCreateDto.prototype, "description", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4e00' }),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
(0, classes_1.AutoMap)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], TransfertClientCreateDto.prototype, "receiverId", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)({ example: 'ff0bb769-e575-4606-a2bb-c0b4db2c010f' }),
|
|
41
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
42
|
+
(0, classes_1.AutoMap)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], TransfertClientCreateDto.prototype, "senderId", void 0);
|
|
45
|
+
//# sourceMappingURL=transfer-client.create.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-client.create.dto.js","sourceRoot":"","sources":["../../../src/dto/transactions/transfer-client.create.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAAuD;AACvD,6CAA8C;AAE9C,MAAa,wBAAyB,SAAQ,0BAAW;CAmBxD;AAnBD,4DAmBC;AAfC;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;wDACK;AAMf;IAJC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC;IAC5B,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACV,IAAA,iBAAO,GAAE;;6DACU;AAIpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;4DACU;AAIpB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;0DACO"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionDomestiqueCreateDto = void 0;
|
|
13
|
+
const classes_1 = require("@automapper/classes");
|
|
14
|
+
const reusable_dto_1 = require("../reusable.dto");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
17
|
+
class TransactionDomestiqueCreateDto extends reusable_dto_1.ReusableDto {
|
|
18
|
+
}
|
|
19
|
+
exports.TransactionDomestiqueCreateDto = TransactionDomestiqueCreateDto;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({ example: 2000 }),
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, classes_1.AutoMap)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], TransactionDomestiqueCreateDto.prototype, "amount", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ example: 'cf1f5f64-828a-4357-bbb4-5ee7132b4e00' }),
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, classes_1.AutoMap)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], TransactionDomestiqueCreateDto.prototype, "caisseId", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({ example: '7c7c9ef4-a776-4934-a559-2a18ed9a0eb1' }),
|
|
34
|
+
(0, classes_1.AutoMap)(),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], TransactionDomestiqueCreateDto.prototype, "libelle", void 0);
|
|
38
|
+
//# sourceMappingURL=transfer-domestique.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-domestique.dto.js","sourceRoot":"","sources":["../../../src/dto/transactions/transfer-domestique.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA8C;AAC9C,kDAA8C;AAC9C,qDAA6C;AAC7C,6CAA8C;AAE9C,MAAa,8BAA+B,SAAQ,0BAAW;CAc9D;AAdD,wEAcC;AAVC;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;IAC9B,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;8DACK;AAIf;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,4BAAU,GAAE;IACZ,IAAA,iBAAO,GAAE;;gEACQ;AAKlB;IAHC,IAAA,qBAAW,EAAC,EAAE,OAAO,EAAE,sCAAsC,EAAE,CAAC;IAChE,IAAA,iBAAO,GAAE;IACT,IAAA,4BAAU,GAAE;;+DACI"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=upload-files.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-files.dto.js","sourceRoot":"","sources":["../../src/dto/upload-files.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.ChangeUserPasswordDTO = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class ChangeUserPasswordDTO {
|
|
16
|
+
}
|
|
17
|
+
exports.ChangeUserPasswordDTO = ChangeUserPasswordDTO;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], ChangeUserPasswordDTO.prototype, "oldPassword", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], ChangeUserPasswordDTO.prototype, "newPassword", void 0);
|
|
28
|
+
//# sourceMappingURL=change-user-password.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-user-password.dto.js","sourceRoot":"","sources":["../../../src/dto/user/change-user-password.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qDAA6C;AAE7C,MAAa,qBAAqB;CAQjC;AARD,sDAQC;AALC;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;0DACO;AAIpB;IAFC,IAAA,qBAAW,GAAE;IACb,IAAA,4BAAU,GAAE;;0DACO"}
|