@fiado/type-kit 1.0.84 → 1.0.86

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.
Files changed (170) hide show
  1. package/.idea/aws.xml +11 -0
  2. package/.idea/fiado-type-kit.iml +12 -0
  3. package/.idea/modules.xml +8 -0
  4. package/.idea/vcs.xml +6 -0
  5. package/README.md +70 -70
  6. package/bin/account/dtos/AccountInfo.d.ts +12 -0
  7. package/bin/account/dtos/AccountInfo.js +59 -0
  8. package/bin/account/dtos/ExchangeInfo.d.ts +4 -0
  9. package/bin/{group/dtos/GroupDirectoryRetationsUpdateRequest.js → account/dtos/ExchangeInfo.js} +7 -6
  10. package/bin/account/dtos/GetAccountBalanceResponse.d.ts +9 -0
  11. package/bin/account/dtos/GetAccountBalanceResponse.js +51 -0
  12. package/bin/account/dtos/GetPocketBalanceResponse.d.ts +10 -0
  13. package/bin/account/dtos/GetPocketBalanceResponse.js +61 -0
  14. package/bin/account/dtos/GetPocketResponse.d.ts +8 -0
  15. package/bin/account/dtos/GetPocketResponse.js +5 -0
  16. package/bin/account/dtos/PocketItem.d.ts +12 -0
  17. package/bin/account/dtos/PocketItem.js +65 -0
  18. package/bin/account/entities/AccountEntityBase.d.ts +2 -0
  19. package/bin/account/index.d.ts +7 -0
  20. package/bin/account/index.js +7 -0
  21. package/package.json +23 -23
  22. package/src/account/dtos/AccountCreateRequest.ts +75 -75
  23. package/src/account/dtos/AccountCreateResponse.ts +7 -7
  24. package/src/account/dtos/AccountInfo.ts +40 -0
  25. package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
  26. package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
  27. package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
  28. package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
  29. package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
  30. package/src/account/dtos/ExchangeInfo.ts +9 -0
  31. package/src/account/dtos/GetAccountBalanceResponse.ts +33 -0
  32. package/src/account/dtos/GetBankAccountRequest.ts +3 -3
  33. package/src/account/dtos/GetBankAccountResponse.ts +22 -22
  34. package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
  35. package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +8 -8
  36. package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
  37. package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
  38. package/src/account/dtos/GetPocketBalanceResponse.ts +44 -0
  39. package/src/account/dtos/GetPocketResponse.ts +9 -0
  40. package/src/account/dtos/PocketItem.ts +46 -0
  41. package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
  42. package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
  43. package/src/account/entities/AccountEntityBase.ts +12 -10
  44. package/src/account/enums/AccountEntityStatusEnum.ts +4 -4
  45. package/src/account/enums/AccountLevelEnum.ts +5 -5
  46. package/src/account/enums/BankAccountTypeEnum.ts +2 -2
  47. package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
  48. package/src/account/enums/UserEntityStatusEnum.ts +4 -4
  49. package/src/account/index.ts +32 -24
  50. package/src/address/dtos/AddressBase.ts +130 -130
  51. package/src/address/dtos/AddressCreateRequest.ts +6 -6
  52. package/src/address/dtos/AddressResponse.ts +41 -41
  53. package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
  54. package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
  55. package/src/address/dtos/Geometry.ts +4 -4
  56. package/src/address/dtos/OfficeDetails.ts +30 -30
  57. package/src/address/dtos/OperationSchedule.ts +8 -8
  58. package/src/address/dtos/Place.ts +83 -83
  59. package/src/address/dtos/Shipping.ts +36 -36
  60. package/src/address/dtos/Timezone.ts +5 -5
  61. package/src/address/enums/AddressProvider.ts +10 -10
  62. package/src/address/enums/AddressStatus.ts +9 -9
  63. package/src/address/index.ts +16 -16
  64. package/src/app/enums/App.ts +10 -10
  65. package/src/app/index.ts +3 -3
  66. package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
  67. package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
  68. package/src/authentication/index.ts +3 -3
  69. package/src/card/dtos/CardActivateRequest.ts +12 -12
  70. package/src/card/dtos/CardApplicationRequest.ts +20 -20
  71. package/src/card/dtos/CardBalanceResponse.ts +10 -10
  72. package/src/card/dtos/CardCreateAdditionalRequest.ts +40 -40
  73. package/src/card/dtos/CardResponse.ts +4 -4
  74. package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
  75. package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
  76. package/src/card/dtos/CardUpdateRequest.ts +13 -13
  77. package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
  78. package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
  79. package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
  80. package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
  81. package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +14 -14
  82. package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
  83. package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
  84. package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
  85. package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
  86. package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
  87. package/src/card/enums/Brand.ts +7 -7
  88. package/src/card/enums/CardIssuanceStatus.ts +5 -5
  89. package/src/card/enums/CardIssuing.ts +6 -6
  90. package/src/card/enums/CardType.ts +4 -4
  91. package/src/card/enums/CardUpdateKey.ts +4 -4
  92. package/src/card/enums/CreditOrDebit.ts +5 -5
  93. package/src/card/enums/DeliveryChannel.ts +7 -7
  94. package/src/card/enums/ExternalShippingStatus.ts +14 -14
  95. package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
  96. package/src/card/enums/IssuanceType.ts +5 -5
  97. package/src/card/enums/NominatedOrInnominated.ts +8 -8
  98. package/src/card/enums/OwnershipType.ts +3 -3
  99. package/src/card/enums/ShippingStatus.ts +8 -8
  100. package/src/card/enums/Status.ts +6 -6
  101. package/src/card/enums/UpdateKey.ts +5 -5
  102. package/src/card/enums/VirtualOrPhysical.ts +6 -6
  103. package/src/card/index.ts +44 -44
  104. package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
  105. package/src/card/validations/IsPhoneNumberConstraint.ts +26 -26
  106. package/src/country/enums/Country.ts +6 -6
  107. package/src/country/enums/CountryId.ts +6 -6
  108. package/src/country/index.ts +5 -5
  109. package/src/currency/dtos/CurrencyResponse.ts +8 -8
  110. package/src/currency/index.ts +2 -2
  111. package/src/directory/dtos/DirectoryResponse.ts +18 -18
  112. package/src/directory/dtos/External.ts +6 -6
  113. package/src/directory/enums/Profile.ts +6 -6
  114. package/src/directory/enums/Scope.ts +7 -7
  115. package/src/directory/enums/Status.ts +8 -8
  116. package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
  117. package/src/directory/index.ts +7 -7
  118. package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
  119. package/src/eventBridge/index.ts +1 -1
  120. package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
  121. package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
  122. package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
  123. package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
  124. package/src/exchangeRate/index.ts +8 -8
  125. package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
  126. package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
  127. package/src/genericMessage/index.ts +1 -1
  128. package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
  129. package/src/group/dtos/GroupCreateRequest.ts +54 -54
  130. package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
  131. package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
  132. package/src/group/dtos/GroupResponse.ts +17 -17
  133. package/src/group/dtos/GroupUpdateRequest.ts +31 -31
  134. package/src/group/enums/GroupAction.ts +8 -8
  135. package/src/group/enums/GroupStatus.ts +6 -6
  136. package/src/group/enums/RelationStatus.ts +8 -8
  137. package/src/group/enums/RelationType.ts +9 -9
  138. package/src/group/index.ts +18 -18
  139. package/src/header/TokenPayload.ts +17 -17
  140. package/src/header/index.ts +3 -3
  141. package/src/helpers/ValidationUtils.ts +32 -32
  142. package/src/helpers/constans/regex.ts +12 -12
  143. package/src/identity/dtos/IdentificationDocument.ts +24 -24
  144. package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
  145. package/src/identity/dtos/PeopleResponse.ts +80 -80
  146. package/src/identity/dtos/PeopleUpdateRequest.ts +75 -75
  147. package/src/identity/dtos/TypeOfDocument.ts +11 -11
  148. package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
  149. package/src/identity/enums/SexDocument.ts +6 -6
  150. package/src/identity/enums/TypeOfDocument.ts +5 -5
  151. package/src/identity/index.ts +12 -12
  152. package/src/index.ts +22 -22
  153. package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
  154. package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
  155. package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
  156. package/src/notificationMessages/enums/NotificationId.ts +13 -13
  157. package/src/notificationMessages/index.ts +5 -5
  158. package/src/provider/enums/Provider.ts +4 -4
  159. package/src/provider/index.ts +1 -1
  160. package/src/queue/dtos/QueueMessageBase.ts +13 -13
  161. package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
  162. package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
  163. package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
  164. package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
  165. package/src/sessionActivity/index.ts +2 -2
  166. package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
  167. package/bin/account/dtos/CreateBankAccountInput.js +0 -6
  168. package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
  169. package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
  170. package/bin/group/dtos/GroupDirectoryRetationsUpdateRequest.d.ts +0 -3
@@ -1,40 +1,40 @@
1
- import { IsDateString, IsNotEmpty, IsString, Length, ValidateNested } from "class-validator";
2
- import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
3
- import { Type } from "class-transformer";
4
- import { AddressCreateRequest } from "../../address";
5
-
6
- export class CardCreateAdditionalRequest {
7
-
8
- @IsNotEmpty()
9
- @IsString()
10
- @Length(3, 40)
11
- name: string;
12
-
13
- @IsNotEmpty()
14
- @IsString()
15
- @Length(3, 20)
16
- lastNamePaternal: string;
17
-
18
- @IsNotEmpty()
19
- @IsString()
20
- @Length(3, 20)
21
- lastNameMaternal: string;
22
-
23
- @IsNotEmpty()
24
- @IsString()
25
- @IsPhoneNumberFiado()
26
- phoneNumber: string;
27
-
28
- @IsDateString()
29
- dateOfBirth: string;
30
-
31
- @IsNotEmpty()
32
- @IsString()
33
- @Length(3, 20)
34
- ownerRelation: string;
35
-
36
- @ValidateNested()
37
- @Type(() => AddressCreateRequest)
38
- address: AddressCreateRequest;
39
- }
40
-
1
+ import { IsDateString, IsNotEmpty, IsString, Length, ValidateNested } from "class-validator";
2
+ import { IsPhoneNumberFiado } from "../validations/IsPhoneNumberConstraint";
3
+ import { Type } from "class-transformer";
4
+ import { AddressCreateRequest } from "../../address";
5
+
6
+ export class CardCreateAdditionalRequest {
7
+
8
+ @IsNotEmpty()
9
+ @IsString()
10
+ @Length(3, 40)
11
+ name: string;
12
+
13
+ @IsNotEmpty()
14
+ @IsString()
15
+ @Length(3, 20)
16
+ lastNamePaternal: string;
17
+
18
+ @IsNotEmpty()
19
+ @IsString()
20
+ @Length(3, 20)
21
+ lastNameMaternal: string;
22
+
23
+ @IsNotEmpty()
24
+ @IsString()
25
+ @IsPhoneNumberFiado()
26
+ phoneNumber: string;
27
+
28
+ @IsDateString()
29
+ dateOfBirth: string;
30
+
31
+ @IsNotEmpty()
32
+ @IsString()
33
+ @Length(3, 20)
34
+ ownerRelation: string;
35
+
36
+ @ValidateNested()
37
+ @Type(() => AddressCreateRequest)
38
+ address: AddressCreateRequest;
39
+ }
40
+
@@ -1,5 +1,5 @@
1
-
2
-
3
- export class CardResponse {
4
-
1
+
2
+
3
+ export class CardResponse {
4
+
5
5
  }
@@ -1,8 +1,8 @@
1
- import { QueueMessageBase } from "../../queue/dtos/QueueMessageBase";
2
- import { CardShipmentUpdateRequest } from "./CardShipmentUpdateRequest";
3
-
4
- export class CardShipmentQueueMessage extends QueueMessageBase<CardShipmentUpdateRequest> {
5
-
6
- message: CardShipmentUpdateRequest;
7
-
1
+ import { QueueMessageBase } from "../../queue/dtos/QueueMessageBase";
2
+ import { CardShipmentUpdateRequest } from "./CardShipmentUpdateRequest";
3
+
4
+ export class CardShipmentQueueMessage extends QueueMessageBase<CardShipmentUpdateRequest> {
5
+
6
+ message: CardShipmentUpdateRequest;
7
+
8
8
  }
@@ -1,20 +1,20 @@
1
- import { IsNotEmpty, IsString } from "class-validator";
2
-
3
- export class CardShipmentUpdateRequest {
4
-
5
- @IsString()
6
- @IsNotEmpty()
7
- shippingId: string
8
-
9
- @IsString()
10
- @IsNotEmpty()
11
- status: string
12
-
13
- @IsString()
14
- @IsNotEmpty()
15
- statusDetail: string
16
-
17
- @IsString()
18
- @IsNotEmpty()
19
- updateAt: string
1
+ import { IsNotEmpty, IsString } from "class-validator";
2
+
3
+ export class CardShipmentUpdateRequest {
4
+
5
+ @IsString()
6
+ @IsNotEmpty()
7
+ shippingId: string
8
+
9
+ @IsString()
10
+ @IsNotEmpty()
11
+ status: string
12
+
13
+ @IsString()
14
+ @IsNotEmpty()
15
+ statusDetail: string
16
+
17
+ @IsString()
18
+ @IsNotEmpty()
19
+ updateAt: string
20
20
  }
@@ -1,14 +1,14 @@
1
- import {UpdateKey} from "../enums/UpdateKey";
2
- import {IsEnum, IsString} from "class-validator";
3
- import {IsValueValid} from "../validations/CardUpdateKeyConstraint";
4
-
5
-
6
- export class CardUpdateRequest {
7
-
8
- @IsEnum(UpdateKey)
9
- type: string;
10
-
11
- @IsString()
12
- @IsValueValid()
13
- value: string;
1
+ import {UpdateKey} from "../enums/UpdateKey";
2
+ import {IsEnum, IsString} from "class-validator";
3
+ import {IsValueValid} from "../validations/CardUpdateKeyConstraint";
4
+
5
+
6
+ export class CardUpdateRequest {
7
+
8
+ @IsEnum(UpdateKey)
9
+ type: string;
10
+
11
+ @IsString()
12
+ @IsValueValid()
13
+ value: string;
14
14
  }
@@ -1,10 +1,10 @@
1
-
2
-
3
- export class ActivateBankAccountCardRequest {
4
- externalAccountId?: string;
5
- externalUserId?: string;
6
- pin?: string;
7
- pan?: string;
8
- previousCardId?: string;
9
- value?: string;
1
+
2
+
3
+ export class ActivateBankAccountCardRequest {
4
+ externalAccountId?: string;
5
+ externalUserId?: string;
6
+ pin?: string;
7
+ pan?: string;
8
+ previousCardId?: string;
9
+ value?: string;
10
10
  }
@@ -1,5 +1,5 @@
1
-
2
-
3
- export class ActivateBankAccountCardResponse {
4
- activated: boolean;
1
+
2
+
3
+ export class ActivateBankAccountCardResponse {
4
+ activated: boolean;
5
5
  }
@@ -1,17 +1,17 @@
1
- import { AddressResponse } from "../../../address";
2
- import { CardIssuing } from "../../enums/CardIssuing";
3
- import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
4
-
5
- export class CreateBankAccountCardRequest {
6
- externalUserId?: string;
7
- externalAccountId?: string;
8
- cardType: VirtualOrPhysical;
9
- firstName: string;
10
- lastName: string;
11
- address: AddressResponse;
12
- nominated: boolean;
13
- directoryId?: string;
14
- typeOfDirectoryId?: string;
15
- previousCardId?: string;
16
- issuing: CardIssuing;
1
+ import { AddressResponse } from "../../../address";
2
+ import { CardIssuing } from "../../enums/CardIssuing";
3
+ import { VirtualOrPhysical } from "../../enums/VirtualOrPhysical";
4
+
5
+ export class CreateBankAccountCardRequest {
6
+ externalUserId?: string;
7
+ externalAccountId?: string;
8
+ cardType: VirtualOrPhysical;
9
+ firstName: string;
10
+ lastName: string;
11
+ address: AddressResponse;
12
+ nominated: boolean;
13
+ directoryId?: string;
14
+ typeOfDirectoryId?: string;
15
+ previousCardId?: string;
16
+ issuing: CardIssuing;
17
17
  }
@@ -1,9 +1,9 @@
1
- import { Provider } from "../../../provider";
2
- import { Status } from "../../enums/Status";
3
-
4
-
5
- export class CreateBankAccountCardResponse {
6
- externalCardId: string;
7
- provider: Provider;
8
- status: Status;
1
+ import { Provider } from "../../../provider";
2
+ import { Status } from "../../enums/Status";
3
+
4
+
5
+ export class CreateBankAccountCardResponse {
6
+ externalCardId: string;
7
+ provider: Provider;
8
+ status: Status;
9
9
  }
@@ -1,15 +1,15 @@
1
- import { AddressResponse } from "../../../address";
2
- import { TypeOfDocument } from "../../../identity/dtos/TypeOfDocument";
3
-
4
- export class CreateBankAccountCardShippingRequest {
5
- externalCardId?: string;
6
- typeOfDocumentId?: TypeOfDocument;
7
- documentNumber?: string;
8
- phoneNumber?: string;
9
- firstName: string;
10
- lastName: string;
11
- address: AddressResponse;
12
- nominated: boolean;
13
- email?: string;
14
- userId?: string;
1
+ import { AddressResponse } from "../../../address";
2
+ import { TypeOfDocument } from "../../../identity/dtos/TypeOfDocument";
3
+
4
+ export class CreateBankAccountCardShippingRequest {
5
+ externalCardId?: string;
6
+ typeOfDocumentId?: TypeOfDocument;
7
+ documentNumber?: string;
8
+ phoneNumber?: string;
9
+ firstName: string;
10
+ lastName: string;
11
+ address: AddressResponse;
12
+ nominated: boolean;
13
+ email?: string;
14
+ userId?: string;
15
15
  }
@@ -1,13 +1,13 @@
1
-
2
-
3
- export class CreateBankAccountCardShippingResponse {
4
- externalShippingId: string;
5
- type: string;
6
- status: string;
7
- statusDetail: string;
8
- courier: {
9
- company: string;
10
- trackingNumber?: string;
11
- trackingUrl?: string;
12
- };
1
+
2
+
3
+ export class CreateBankAccountCardShippingResponse {
4
+ externalShippingId: string;
5
+ type: string;
6
+ status: string;
7
+ statusDetail: string;
8
+ courier: {
9
+ company: string;
10
+ trackingNumber?: string;
11
+ trackingUrl?: string;
12
+ };
13
13
  }
@@ -1,6 +1,6 @@
1
-
2
-
3
-
4
- export class GetBankAccountShippingRequest {
5
- externalShippingId: string;
1
+
2
+
3
+
4
+ export class GetBankAccountShippingRequest {
5
+ externalShippingId: string;
6
6
  }
@@ -1,20 +1,20 @@
1
- import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
2
- import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
3
-
4
- export class GetBankAccountShippingResponse {
5
- id: string;
6
- courier: {
7
- company: string;
8
- trackingNumber?: string;
9
- trackingUrl?: string;
10
- };
11
- status: ExternalShippingStatus;
12
- statusDetail: ExternalShippingStatusDetail;
13
- type: string;
14
- shippingAddress: object;
15
- reciever: {
16
- name: string;
17
- lastName: string;
18
- phoneNumber: string;
19
- };
1
+ import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
2
+ import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
3
+
4
+ export class GetBankAccountShippingResponse {
5
+ id: string;
6
+ courier: {
7
+ company: string;
8
+ trackingNumber?: string;
9
+ trackingUrl?: string;
10
+ };
11
+ status: ExternalShippingStatus;
12
+ statusDetail: ExternalShippingStatusDetail;
13
+ type: string;
14
+ shippingAddress: object;
15
+ reciever: {
16
+ name: string;
17
+ lastName: string;
18
+ phoneNumber: string;
19
+ };
20
20
  }
@@ -1,22 +1,22 @@
1
- import { AddressResponse } from "../../../address";
2
- import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
3
- import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
4
- import { ShippingStatus } from "../../enums/ShippingStatus";
5
- import { Status } from "../../enums/Status";
6
-
7
-
8
- export class UpdateBankAccountCardRequest {
9
- cardId: string;
10
- nominated?: boolean | null;
11
- status?: Status | null;
12
- pin?: string | null;
13
- externalShippingId?: string;
14
- externalShippingStatus?: ExternalShippingStatus | null;
15
- externalShippingStatusDetail?: ExternalShippingStatusDetail | null;
16
- shippingStatus?: ShippingStatus | null;
17
- shippingTrackingNumber?: string | null;
18
- shippingTrackingUrl?: string | null;
19
- firstName?: string | null;
20
- lastName?: string | null;
21
- address?: AddressResponse | null;
1
+ import { AddressResponse } from "../../../address";
2
+ import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
3
+ import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
4
+ import { ShippingStatus } from "../../enums/ShippingStatus";
5
+ import { Status } from "../../enums/Status";
6
+
7
+
8
+ export class UpdateBankAccountCardRequest {
9
+ cardId: string;
10
+ nominated?: boolean | null;
11
+ status?: Status | null;
12
+ pin?: string | null;
13
+ externalShippingId?: string;
14
+ externalShippingStatus?: ExternalShippingStatus | null;
15
+ externalShippingStatusDetail?: ExternalShippingStatusDetail | null;
16
+ shippingStatus?: ShippingStatus | null;
17
+ shippingTrackingNumber?: string | null;
18
+ shippingTrackingUrl?: string | null;
19
+ firstName?: string | null;
20
+ lastName?: string | null;
21
+ address?: AddressResponse | null;
22
22
  }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export class UpdateBankAccountCardResponse {
4
- updatedAt: string;
5
- updatedBy: string;
1
+
2
+
3
+ export class UpdateBankAccountCardResponse {
4
+ updatedAt: string;
5
+ updatedBy: string;
6
6
  }
@@ -1,8 +1,8 @@
1
- export enum Brand {
2
- VISA = "VISA",
3
- MASTERCARD = 'MASTERCARD',
4
- AMERICAN_EXPRESS = 'AMERICAN_EXPRESS',
5
- DISCOVER = 'DISCOVER',
6
- DINERS_CLUB = 'DINERS_CLUB',
7
- JCB = 'JCB'
1
+ export enum Brand {
2
+ VISA = "VISA",
3
+ MASTERCARD = 'MASTERCARD',
4
+ AMERICAN_EXPRESS = 'AMERICAN_EXPRESS',
5
+ DISCOVER = 'DISCOVER',
6
+ DINERS_CLUB = 'DINERS_CLUB',
7
+ JCB = 'JCB'
8
8
  };
@@ -1,6 +1,6 @@
1
-
2
- export enum CardIssuanceStatus {
3
- IN_PROCESS = "IN_PROCESS",
4
- COMPLETED = "COMPLETED",
5
- FAILED = "FAILED"
1
+
2
+ export enum CardIssuanceStatus {
3
+ IN_PROCESS = "IN_PROCESS",
4
+ COMPLETED = "COMPLETED",
5
+ FAILED = "FAILED"
6
6
  }
@@ -1,7 +1,7 @@
1
-
2
-
3
- export enum CardIssuing {
4
- NEW = "NEW",
5
- REISSUE = "REISSUE",
6
- REPLACE = "REPLACE"
1
+
2
+
3
+ export enum CardIssuing {
4
+ NEW = "NEW",
5
+ REISSUE = "REISSUE",
6
+ REPLACE = "REPLACE"
7
7
  }
@@ -1,5 +1,5 @@
1
- export enum CardType {
2
- CREDIT = 'CREDIT',
3
- DEBIT = 'DEBIT',
4
- PREPAID = 'PREPAID'
1
+ export enum CardType {
2
+ CREDIT = 'CREDIT',
3
+ DEBIT = 'DEBIT',
4
+ PREPAID = 'PREPAID'
5
5
  }
@@ -1,4 +1,4 @@
1
- export enum CardUpdateKey {
2
- CHANGE_STATUS = 'CHANGE_STATUS',
3
- CHANGE_PIN = 'CHANGE_PIN',
4
- }
1
+ export enum CardUpdateKey {
2
+ CHANGE_STATUS = 'CHANGE_STATUS',
3
+ CHANGE_PIN = 'CHANGE_PIN',
4
+ }
@@ -1,6 +1,6 @@
1
-
2
-
3
- export enum CreditOrDebit {
4
- CREDIT = "CREDIT",
5
- DEBIT = "DEBIT"
1
+
2
+
3
+ export enum CreditOrDebit {
4
+ CREDIT = "CREDIT",
5
+ DEBIT = "DEBIT"
6
6
  }
@@ -1,8 +1,8 @@
1
-
2
-
3
- export enum DeliveryChannel {
4
- OCURRE = "OCURRE",
5
- DOMICILIO = "DOMICILIO",
6
- AGENT = "AGENT",
7
- VIRTUAL = "VIRTUAL",
1
+
2
+
3
+ export enum DeliveryChannel {
4
+ OCURRE = "OCURRE",
5
+ DOMICILIO = "DOMICILIO",
6
+ AGENT = "AGENT",
7
+ VIRTUAL = "VIRTUAL",
8
8
  }
@@ -1,15 +1,15 @@
1
-
2
- export enum ExternalShippingStatus {
3
- CREATED = "CREATED",
4
- PENDING = "PENDING",
5
- TRACKED = "TRACKED",
6
- REJECTED = "REJECTED",
7
- IN_TRANSIT = "IN_TRANSIT",
8
- FAILED_DELIVERY_ATTEMPT = "FAILED_DELIVERY_ATTEMPT",
9
- DELIVERED = "DELIVERED",
10
- NOT_DELIVERED = "NOT_DELIVERED",
11
- START_OF_CUSTODY = "START_OF_CUSTODY",
12
- DESTRUCTION = "DESTRUCTION",
13
- ACCIDENT = "ACCIDENT",
14
- UNKNOWN = "UNKNOWN",
1
+
2
+ export enum ExternalShippingStatus {
3
+ CREATED = "CREATED",
4
+ PENDING = "PENDING",
5
+ TRACKED = "TRACKED",
6
+ REJECTED = "REJECTED",
7
+ IN_TRANSIT = "IN_TRANSIT",
8
+ FAILED_DELIVERY_ATTEMPT = "FAILED_DELIVERY_ATTEMPT",
9
+ DELIVERED = "DELIVERED",
10
+ NOT_DELIVERED = "NOT_DELIVERED",
11
+ START_OF_CUSTODY = "START_OF_CUSTODY",
12
+ DESTRUCTION = "DESTRUCTION",
13
+ ACCIDENT = "ACCIDENT",
14
+ UNKNOWN = "UNKNOWN",
15
15
  }