@fiado/type-kit 1.6.78 → 1.6.79
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/bin/account/dtos/CreateBankAccountOutput.d.ts +5 -0
- package/bin/account/dtos/CreateBankAccountOutput.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountUserOutput.js +6 -0
- package/bin/country/dtos/CreateCountryRequest.d.ts +17 -0
- package/bin/country/dtos/CreateCountryRequest.js +92 -0
- package/bin/country/dtos/UpdateCountryRequest.d.ts +17 -0
- package/bin/country/dtos/UpdateCountryRequest.js +91 -0
- package/bin/country/index.d.ts +2 -0
- package/bin/country/index.js +3 -1
- package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +15 -0
- package/bin/creditContract/dto/CreditContractCreateRequest.js +72 -0
- package/bin/helpdesk/dtos/CreateHelpdeskUser.d.ts +13 -0
- package/bin/helpdesk/dtos/CreateHelpdeskUser.js +43 -0
- package/bin/transaction/TransactionCreateRequest.d.ts +2 -0
- package/bin/transaction/TransactionCreateRequest.js +6 -0
- package/bin/transaction/TransactionCreateResponse.d.ts +2 -0
- package/bin/transaction/TransactionCreateResponse.js +6 -0
- package/bin/transaction/dtos/TransactionSourceEnum.d.ts +5 -0
- package/bin/transaction/dtos/TransactionSourceEnum.js +9 -0
- package/package.json +1 -1
- package/src/country/dtos/CreateCountryRequest.ts +66 -0
- package/src/country/dtos/UpdateCountryRequest.ts +66 -0
- package/src/country/index.ts +2 -1
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
- package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.js +0 -22
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.d.ts +0 -5
- package/bin/transactionProcessor/dtos/private/AuthorizeP2pTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.d.ts +0 -7
- package/bin/transactionProcessor/dtos/private/AuthorizePocketTransactionRequest.js +0 -6
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class CreateCountryRequest {
|
|
2
|
+
codePhoneNumber: string;
|
|
3
|
+
filter1: boolean;
|
|
4
|
+
filter2: boolean;
|
|
5
|
+
filter3: boolean;
|
|
6
|
+
filter4: boolean;
|
|
7
|
+
filter5: boolean;
|
|
8
|
+
filter6: boolean;
|
|
9
|
+
filter7: boolean;
|
|
10
|
+
filter8: boolean;
|
|
11
|
+
filter9: boolean;
|
|
12
|
+
filter10: boolean;
|
|
13
|
+
isEnabled: boolean;
|
|
14
|
+
iso2: string;
|
|
15
|
+
iso3: string;
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.CreateCountryRequest = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class CreateCountryRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.CreateCountryRequest = CreateCountryRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_transformer_1.Expose)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreateCountryRequest.prototype, "codePhoneNumber", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_transformer_1.Expose)(),
|
|
25
|
+
(0, class_validator_1.IsBoolean)(),
|
|
26
|
+
__metadata("design:type", Boolean)
|
|
27
|
+
], CreateCountryRequest.prototype, "filter1", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_transformer_1.Expose)(),
|
|
30
|
+
(0, class_validator_1.IsBoolean)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], CreateCountryRequest.prototype, "filter2", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_transformer_1.Expose)(),
|
|
35
|
+
(0, class_validator_1.IsBoolean)(),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], CreateCountryRequest.prototype, "filter3", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_transformer_1.Expose)(),
|
|
40
|
+
(0, class_validator_1.IsBoolean)(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], CreateCountryRequest.prototype, "filter4", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_transformer_1.Expose)(),
|
|
45
|
+
(0, class_validator_1.IsBoolean)(),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], CreateCountryRequest.prototype, "filter5", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_transformer_1.Expose)(),
|
|
50
|
+
(0, class_validator_1.IsBoolean)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], CreateCountryRequest.prototype, "filter6", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_transformer_1.Expose)(),
|
|
55
|
+
(0, class_validator_1.IsBoolean)(),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], CreateCountryRequest.prototype, "filter7", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_transformer_1.Expose)(),
|
|
60
|
+
(0, class_validator_1.IsBoolean)(),
|
|
61
|
+
__metadata("design:type", Boolean)
|
|
62
|
+
], CreateCountryRequest.prototype, "filter8", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_transformer_1.Expose)(),
|
|
65
|
+
(0, class_validator_1.IsBoolean)(),
|
|
66
|
+
__metadata("design:type", Boolean)
|
|
67
|
+
], CreateCountryRequest.prototype, "filter9", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_transformer_1.Expose)(),
|
|
70
|
+
(0, class_validator_1.IsBoolean)(),
|
|
71
|
+
__metadata("design:type", Boolean)
|
|
72
|
+
], CreateCountryRequest.prototype, "filter10", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, class_transformer_1.Expose)(),
|
|
75
|
+
(0, class_validator_1.IsBoolean)(),
|
|
76
|
+
__metadata("design:type", Boolean)
|
|
77
|
+
], CreateCountryRequest.prototype, "isEnabled", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_transformer_1.Expose)(),
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
__metadata("design:type", String)
|
|
82
|
+
], CreateCountryRequest.prototype, "iso2", void 0);
|
|
83
|
+
__decorate([
|
|
84
|
+
(0, class_transformer_1.Expose)(),
|
|
85
|
+
(0, class_validator_1.IsString)(),
|
|
86
|
+
__metadata("design:type", String)
|
|
87
|
+
], CreateCountryRequest.prototype, "iso3", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, class_transformer_1.Expose)(),
|
|
90
|
+
(0, class_validator_1.IsString)(),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], CreateCountryRequest.prototype, "name", void 0);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class UpdateCountryRequest {
|
|
2
|
+
codePhoneNumber?: string;
|
|
3
|
+
filter1: boolean;
|
|
4
|
+
filter2: boolean;
|
|
5
|
+
filter3: boolean;
|
|
6
|
+
filter4: boolean;
|
|
7
|
+
filter5: boolean;
|
|
8
|
+
filter6: boolean;
|
|
9
|
+
filter7: boolean;
|
|
10
|
+
filter8: boolean;
|
|
11
|
+
filter9: boolean;
|
|
12
|
+
filter10: boolean;
|
|
13
|
+
isEnabled: boolean;
|
|
14
|
+
iso2: string;
|
|
15
|
+
iso3: string;
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.UpdateCountryRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class UpdateCountryRequest {
|
|
15
|
+
}
|
|
16
|
+
exports.UpdateCountryRequest = UpdateCountryRequest;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsOptional)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], UpdateCountryRequest.prototype, "codePhoneNumber", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsBoolean)(),
|
|
25
|
+
__metadata("design:type", Boolean)
|
|
26
|
+
], UpdateCountryRequest.prototype, "filter1", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsBoolean)(),
|
|
30
|
+
__metadata("design:type", Boolean)
|
|
31
|
+
], UpdateCountryRequest.prototype, "filter2", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsBoolean)(),
|
|
35
|
+
__metadata("design:type", Boolean)
|
|
36
|
+
], UpdateCountryRequest.prototype, "filter3", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
(0, class_validator_1.IsBoolean)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], UpdateCountryRequest.prototype, "filter4", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsBoolean)(),
|
|
45
|
+
__metadata("design:type", Boolean)
|
|
46
|
+
], UpdateCountryRequest.prototype, "filter5", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsOptional)(),
|
|
49
|
+
(0, class_validator_1.IsBoolean)(),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], UpdateCountryRequest.prototype, "filter6", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
(0, class_validator_1.IsBoolean)(),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], UpdateCountryRequest.prototype, "filter7", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsBoolean)(),
|
|
60
|
+
__metadata("design:type", Boolean)
|
|
61
|
+
], UpdateCountryRequest.prototype, "filter8", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
|
64
|
+
(0, class_validator_1.IsBoolean)(),
|
|
65
|
+
__metadata("design:type", Boolean)
|
|
66
|
+
], UpdateCountryRequest.prototype, "filter9", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsOptional)(),
|
|
69
|
+
(0, class_validator_1.IsBoolean)(),
|
|
70
|
+
__metadata("design:type", Boolean)
|
|
71
|
+
], UpdateCountryRequest.prototype, "filter10", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, class_validator_1.IsBoolean)(),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], UpdateCountryRequest.prototype, "isEnabled", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, class_validator_1.IsOptional)(),
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
__metadata("design:type", String)
|
|
81
|
+
], UpdateCountryRequest.prototype, "iso2", void 0);
|
|
82
|
+
__decorate([
|
|
83
|
+
(0, class_validator_1.IsOptional)(),
|
|
84
|
+
(0, class_validator_1.IsString)(),
|
|
85
|
+
__metadata("design:type", String)
|
|
86
|
+
], UpdateCountryRequest.prototype, "iso3", void 0);
|
|
87
|
+
__decorate([
|
|
88
|
+
(0, class_validator_1.IsOptional)(),
|
|
89
|
+
(0, class_validator_1.IsString)(),
|
|
90
|
+
__metadata("design:type", String)
|
|
91
|
+
], UpdateCountryRequest.prototype, "name", void 0);
|
package/bin/country/index.d.ts
CHANGED
package/bin/country/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
//dto
|
|
3
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
3
|
if (k2 === undefined) k2 = k;
|
|
5
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -15,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
15
|
};
|
|
17
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
//dto
|
|
18
|
+
__exportStar(require("./dtos/CreateCountryRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/UpdateCountryRequest"), exports);
|
|
18
20
|
//enums
|
|
19
21
|
__exportStar(require("./enums/CountryId"), exports);
|
|
20
22
|
__exportStar(require("./enums/Country"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { InstrumentEnum } from "../enums/InstrumentEnum";
|
|
3
|
+
export default class CreditContractCreateRequest {
|
|
4
|
+
directoryUserId: string;
|
|
5
|
+
relatedTransaction: string;
|
|
6
|
+
peopleId: string;
|
|
7
|
+
currencyId: CountryId;
|
|
8
|
+
creditNotional: number;
|
|
9
|
+
creditFee: number;
|
|
10
|
+
creditTax: number;
|
|
11
|
+
creditTotal: number;
|
|
12
|
+
instrument: InstrumentEnum;
|
|
13
|
+
amountBlocked: number;
|
|
14
|
+
relatedPocketId: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
const class_validator_1 = require("class-validator");
|
|
13
|
+
const country_1 = require("../../country");
|
|
14
|
+
const InstrumentEnum_1 = require("../enums/InstrumentEnum");
|
|
15
|
+
class CreditContractCreateRequest {
|
|
16
|
+
}
|
|
17
|
+
exports.default = CreditContractCreateRequest;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], CreditContractCreateRequest.prototype, "directoryUserId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], CreditContractCreateRequest.prototype, "relatedTransaction", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreditContractCreateRequest.prototype, "peopleId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], CreditContractCreateRequest.prototype, "currencyId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsNumber)(),
|
|
40
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], CreditContractCreateRequest.prototype, "creditNotional", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsNumber)(),
|
|
45
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], CreditContractCreateRequest.prototype, "creditFee", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsNumber)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], CreditContractCreateRequest.prototype, "creditTax", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsNumber)(),
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], CreditContractCreateRequest.prototype, "creditTotal", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsEnum)(InstrumentEnum_1.InstrumentEnum),
|
|
60
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], CreditContractCreateRequest.prototype, "instrument", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsNumber)(),
|
|
65
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], CreditContractCreateRequest.prototype, "amountBlocked", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsString)(),
|
|
70
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], CreditContractCreateRequest.prototype, "relatedPocketId", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TypeOfContactIdEnum } from "../../contactInfo";
|
|
2
|
+
export declare class CreateHelpdeskUser {
|
|
3
|
+
directoryId: string;
|
|
4
|
+
indexName: string;
|
|
5
|
+
usaDebitAccount: boolean;
|
|
6
|
+
mxnDebitAccount: boolean;
|
|
7
|
+
otherContacts: {
|
|
8
|
+
contact: string;
|
|
9
|
+
typeOfContactId: TypeOfContactIdEnum;
|
|
10
|
+
}[];
|
|
11
|
+
directoryStatus: string;
|
|
12
|
+
bankSponsor: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
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.CreateHelpdeskUser = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateHelpdeskUser {
|
|
15
|
+
}
|
|
16
|
+
exports.CreateHelpdeskUser = CreateHelpdeskUser;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], CreateHelpdeskUser.prototype, "directoryId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CreateHelpdeskUser.prototype, "indexName", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsBoolean)(),
|
|
29
|
+
__metadata("design:type", Boolean)
|
|
30
|
+
], CreateHelpdeskUser.prototype, "usaDebitAccount", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsBoolean)(),
|
|
33
|
+
__metadata("design:type", Boolean)
|
|
34
|
+
], CreateHelpdeskUser.prototype, "mxnDebitAccount", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateHelpdeskUser.prototype, "directoryStatus", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateHelpdeskUser.prototype, "bankSponsor", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransactionSourceEnum = void 0;
|
|
4
|
+
var TransactionSourceEnum;
|
|
5
|
+
(function (TransactionSourceEnum) {
|
|
6
|
+
TransactionSourceEnum["FIADO_INC"] = "FIADO_INC";
|
|
7
|
+
TransactionSourceEnum["FIADO_IFPE"] = "FIADO_IFPE";
|
|
8
|
+
TransactionSourceEnum["FIADO_SA"] = "FIADO_SA";
|
|
9
|
+
})(TransactionSourceEnum || (exports.TransactionSourceEnum = TransactionSourceEnum = {}));
|
package/package.json
CHANGED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Expose } from "class-transformer";
|
|
2
|
+
import { IsBoolean, isString, IsString, IsUUID } from "class-validator";
|
|
3
|
+
|
|
4
|
+
export class CreateCountryRequest {
|
|
5
|
+
|
|
6
|
+
@Expose()
|
|
7
|
+
@IsString()
|
|
8
|
+
codePhoneNumber: string;
|
|
9
|
+
|
|
10
|
+
@Expose()
|
|
11
|
+
@IsBoolean()
|
|
12
|
+
filter1: boolean;
|
|
13
|
+
|
|
14
|
+
@Expose()
|
|
15
|
+
@IsBoolean()
|
|
16
|
+
filter2: boolean;
|
|
17
|
+
|
|
18
|
+
@Expose()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
filter3: boolean;
|
|
21
|
+
|
|
22
|
+
@Expose()
|
|
23
|
+
@IsBoolean()
|
|
24
|
+
filter4: boolean;
|
|
25
|
+
|
|
26
|
+
@Expose()
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
filter5: boolean;
|
|
29
|
+
|
|
30
|
+
@Expose()
|
|
31
|
+
@IsBoolean()
|
|
32
|
+
filter6: boolean;
|
|
33
|
+
|
|
34
|
+
@Expose()
|
|
35
|
+
@IsBoolean()
|
|
36
|
+
filter7: boolean;
|
|
37
|
+
|
|
38
|
+
@Expose()
|
|
39
|
+
@IsBoolean()
|
|
40
|
+
filter8: boolean;
|
|
41
|
+
|
|
42
|
+
@Expose()
|
|
43
|
+
@IsBoolean()
|
|
44
|
+
filter9: boolean;
|
|
45
|
+
|
|
46
|
+
@Expose()
|
|
47
|
+
@IsBoolean()
|
|
48
|
+
filter10: boolean;
|
|
49
|
+
|
|
50
|
+
@Expose()
|
|
51
|
+
@IsBoolean()
|
|
52
|
+
isEnabled: boolean;
|
|
53
|
+
|
|
54
|
+
@Expose()
|
|
55
|
+
@IsString()
|
|
56
|
+
iso2: string;
|
|
57
|
+
|
|
58
|
+
@Expose()
|
|
59
|
+
@IsString()
|
|
60
|
+
iso3: string;
|
|
61
|
+
|
|
62
|
+
@Expose()
|
|
63
|
+
@IsString()
|
|
64
|
+
name: string;
|
|
65
|
+
|
|
66
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Expose } from "class-transformer";
|
|
2
|
+
import { IsBoolean, IsOptional, IsString } from "class-validator";
|
|
3
|
+
|
|
4
|
+
export class UpdateCountryRequest {
|
|
5
|
+
|
|
6
|
+
@IsOptional()
|
|
7
|
+
@IsString()
|
|
8
|
+
codePhoneNumber?: string;
|
|
9
|
+
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsBoolean()
|
|
12
|
+
filter1: boolean;
|
|
13
|
+
|
|
14
|
+
@IsOptional()
|
|
15
|
+
@IsBoolean()
|
|
16
|
+
filter2: boolean;
|
|
17
|
+
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsBoolean()
|
|
20
|
+
filter3: boolean;
|
|
21
|
+
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsBoolean()
|
|
24
|
+
filter4: boolean;
|
|
25
|
+
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
filter5: boolean;
|
|
29
|
+
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsBoolean()
|
|
32
|
+
filter6: boolean;
|
|
33
|
+
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsBoolean()
|
|
36
|
+
filter7: boolean;
|
|
37
|
+
|
|
38
|
+
@IsOptional()
|
|
39
|
+
@IsBoolean()
|
|
40
|
+
filter8: boolean;
|
|
41
|
+
|
|
42
|
+
@IsOptional()
|
|
43
|
+
@IsBoolean()
|
|
44
|
+
filter9: boolean;
|
|
45
|
+
|
|
46
|
+
@IsOptional()
|
|
47
|
+
@IsBoolean()
|
|
48
|
+
filter10: boolean;
|
|
49
|
+
|
|
50
|
+
@IsOptional()
|
|
51
|
+
@IsBoolean()
|
|
52
|
+
isEnabled: boolean;
|
|
53
|
+
|
|
54
|
+
@IsOptional()
|
|
55
|
+
@IsString()
|
|
56
|
+
iso2: string;
|
|
57
|
+
|
|
58
|
+
@IsOptional()
|
|
59
|
+
@IsString()
|
|
60
|
+
iso3: string;
|
|
61
|
+
|
|
62
|
+
@IsOptional()
|
|
63
|
+
@IsString()
|
|
64
|
+
name: string;
|
|
65
|
+
|
|
66
|
+
}
|
package/src/country/index.ts
CHANGED
|
@@ -1,22 +0,0 @@
|
|
|
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.GroupDirectoryRetationsUpdateRequest = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class GroupDirectoryRetationsUpdateRequest {
|
|
15
|
-
}
|
|
16
|
-
exports.GroupDirectoryRetationsUpdateRequest = GroupDirectoryRetationsUpdateRequest;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsOptional)(),
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
(0, class_validator_1.Length)(1, 20),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], GroupDirectoryRetationsUpdateRequest.prototype, "agent", void 0);
|