@fiado/type-kit 2.1.4 → 2.1.6

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.
@@ -0,0 +1,13 @@
1
+ export declare class SignUpBackofficeRequest {
2
+ name: string;
3
+ phoneNumber: string;
4
+ countryOfBirth: string;
5
+ MEX_DebitAccountWish: boolean;
6
+ USA_DebitAccountWish: boolean;
7
+ countryOfDomicile: string;
8
+ myReferralCode?: string;
9
+ referralCode?: string;
10
+ groupId?: string;
11
+ isAgent: boolean;
12
+ agentGroupId?: string;
13
+ }
@@ -0,0 +1,71 @@
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.SignUpBackofficeRequest = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class SignUpBackofficeRequest {
15
+ }
16
+ exports.SignUpBackofficeRequest = SignUpBackofficeRequest;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], SignUpBackofficeRequest.prototype, "name", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], SignUpBackofficeRequest.prototype, "phoneNumber", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsNotEmpty)(),
30
+ __metadata("design:type", String)
31
+ ], SignUpBackofficeRequest.prototype, "countryOfBirth", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsBoolean)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ __metadata("design:type", Boolean)
36
+ ], SignUpBackofficeRequest.prototype, "MEX_DebitAccountWish", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsBoolean)(),
39
+ (0, class_validator_1.IsNotEmpty)(),
40
+ __metadata("design:type", Boolean)
41
+ ], SignUpBackofficeRequest.prototype, "USA_DebitAccountWish", void 0);
42
+ __decorate([
43
+ (0, class_validator_1.IsString)(),
44
+ (0, class_validator_1.IsNotEmpty)(),
45
+ __metadata("design:type", String)
46
+ ], SignUpBackofficeRequest.prototype, "countryOfDomicile", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsString)(),
49
+ (0, class_validator_1.IsOptional)(),
50
+ __metadata("design:type", String)
51
+ ], SignUpBackofficeRequest.prototype, "myReferralCode", void 0);
52
+ __decorate([
53
+ (0, class_validator_1.IsString)(),
54
+ (0, class_validator_1.IsOptional)(),
55
+ __metadata("design:type", String)
56
+ ], SignUpBackofficeRequest.prototype, "referralCode", void 0);
57
+ __decorate([
58
+ (0, class_validator_1.IsString)(),
59
+ (0, class_validator_1.IsOptional)(),
60
+ __metadata("design:type", String)
61
+ ], SignUpBackofficeRequest.prototype, "groupId", void 0);
62
+ __decorate([
63
+ (0, class_validator_1.IsBoolean)(),
64
+ (0, class_validator_1.IsNotEmpty)(),
65
+ __metadata("design:type", Boolean)
66
+ ], SignUpBackofficeRequest.prototype, "isAgent", void 0);
67
+ __decorate([
68
+ (0, class_validator_1.IsString)(),
69
+ (0, class_validator_1.IsOptional)(),
70
+ __metadata("design:type", String)
71
+ ], SignUpBackofficeRequest.prototype, "agentGroupId", void 0);
@@ -10,4 +10,5 @@ export * from '../cognitoConnector/dtos/SignInResponse';
10
10
  export * from '../cognitoConnector/dtos/SignUpConfirmRequest';
11
11
  export * from '../cognitoConnector/dtos/SignUpRequest';
12
12
  export * from '../cognitoConnector/dtos/SignUpResponse';
13
+ export * from '../cognitoConnector/dtos/SignUpBackofficeRequest';
13
14
  export * from '../cognitoConnector/enums/SyncStatus';
@@ -27,5 +27,6 @@ __exportStar(require("../cognitoConnector/dtos/SignInResponse"), exports);
27
27
  __exportStar(require("../cognitoConnector/dtos/SignUpConfirmRequest"), exports);
28
28
  __exportStar(require("../cognitoConnector/dtos/SignUpRequest"), exports);
29
29
  __exportStar(require("../cognitoConnector/dtos/SignUpResponse"), exports);
30
+ __exportStar(require("../cognitoConnector/dtos/SignUpBackofficeRequest"), exports);
30
31
  //enums
31
32
  __exportStar(require("../cognitoConnector/enums/SyncStatus"), exports);
@@ -13,4 +13,5 @@ export declare class GroupResponse {
13
13
  authorizedAccounts: Array<string>;
14
14
  category: string;
15
15
  imageUrl?: string | null;
16
+ imageUrlSigned?: string | null;
16
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "2.1.4",
3
+ "version": "2.1.6",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -0,0 +1,49 @@
1
+ import { IsBoolean, IsNotEmpty, IsOptional, IsString } from "class-validator";
2
+
3
+ export class SignUpBackofficeRequest {
4
+
5
+ @IsString()
6
+ @IsNotEmpty()
7
+ name: string
8
+
9
+ @IsString()
10
+ @IsNotEmpty()
11
+ phoneNumber: string
12
+
13
+ @IsString()
14
+ @IsNotEmpty()
15
+ countryOfBirth: string
16
+
17
+ @IsBoolean()
18
+ @IsNotEmpty()
19
+ MEX_DebitAccountWish: boolean
20
+
21
+ @IsBoolean()
22
+ @IsNotEmpty()
23
+ USA_DebitAccountWish: boolean
24
+
25
+ @IsString()
26
+ @IsNotEmpty()
27
+ countryOfDomicile: string
28
+
29
+ @IsString()
30
+ @IsOptional()
31
+ myReferralCode?: string
32
+
33
+ @IsString()
34
+ @IsOptional()
35
+ referralCode?: string
36
+
37
+ @IsString()
38
+ @IsOptional()
39
+ groupId?: string
40
+
41
+ @IsBoolean()
42
+ @IsNotEmpty()
43
+ isAgent: boolean
44
+
45
+ @IsString()
46
+ @IsOptional()
47
+ agentGroupId?: string
48
+ }
49
+
@@ -13,6 +13,7 @@ export * from '../cognitoConnector/dtos/SignInResponse';
13
13
  export * from '../cognitoConnector/dtos/SignUpConfirmRequest';
14
14
  export * from '../cognitoConnector/dtos/SignUpRequest';
15
15
  export * from '../cognitoConnector/dtos/SignUpResponse';
16
+ export * from '../cognitoConnector/dtos/SignUpBackofficeRequest';
16
17
 
17
18
  //enums
18
19
  export * from '../cognitoConnector/enums/SyncStatus';
@@ -15,6 +15,7 @@ export class GroupResponse {
15
15
  authorizedAccounts: Array<string>
16
16
  category: string
17
17
  imageUrl?: string | null
18
+ imageUrlSigned?: string | null
18
19
  }
19
20
 
20
21