@fiado/type-kit 1.1.7 → 1.1.9
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/card/dtos/CardResponse.d.ts +30 -0
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.d.ts +13 -0
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.js +6 -0
- package/bin/contactInfo/enums/TypeOfContactIdEnum.d.ts +4 -0
- package/bin/contactInfo/enums/TypeOfContactIdEnum.js +8 -0
- package/bin/contactInfo/index.d.ts +2 -0
- package/bin/contactInfo/index.js +18 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/package.json +1 -1
- package/src/card/dtos/CardResponse.ts +30 -1
- package/src/contactInfo/dtos/GetAllContactInfoResponse.ts +14 -0
- package/src/contactInfo/enums/TypeOfContactIdEnum.ts +4 -0
- package/src/contactInfo/index.ts +2 -0
- package/src/index.ts +1 -0
|
@@ -1,2 +1,32 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { CreditOrDebit } from "../enums/CreditOrDebit";
|
|
3
|
+
import { DeliveryChannel } from "../enums/DeliveryChannel";
|
|
4
|
+
import { ExternalShippingStatus } from "../enums/ExternalShippingStatus";
|
|
5
|
+
import { ExternalShippingStatusDetail } from "../enums/ExternalShippingStatusDetails";
|
|
6
|
+
import { NominatedOrInnominated } from "../enums/NominatedOrInnominated";
|
|
7
|
+
import { ShippingStatus } from "../enums/ShippingStatus";
|
|
8
|
+
import { Status } from "../enums/Status";
|
|
9
|
+
import { VirtualOrPhysical } from "../enums/VirtualOrPhysical";
|
|
1
10
|
export declare class CardResponse {
|
|
11
|
+
id: string;
|
|
12
|
+
accountId: string;
|
|
13
|
+
directoryId: string;
|
|
14
|
+
provider: string;
|
|
15
|
+
activationDate: number;
|
|
16
|
+
countryId: CountryId;
|
|
17
|
+
status: Status;
|
|
18
|
+
panLastDigit: string;
|
|
19
|
+
creditOrDebit: CreditOrDebit;
|
|
20
|
+
nominatedOrInnominated: NominatedOrInnominated;
|
|
21
|
+
virtualOrPhysical: VirtualOrPhysical;
|
|
22
|
+
deliveryChannel: DeliveryChannel;
|
|
23
|
+
externalCardId: string;
|
|
24
|
+
externalShippingId: string;
|
|
25
|
+
externalTrackingNumber: string;
|
|
26
|
+
externalTrackingUrl: string;
|
|
27
|
+
externalShippingStatus: ExternalShippingStatus | "";
|
|
28
|
+
externalShippingStatusDetail: ExternalShippingStatusDetail | "";
|
|
29
|
+
shippingStatus: ShippingStatus | "";
|
|
30
|
+
imageUrl: string;
|
|
31
|
+
tenantId: string;
|
|
2
32
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TypeOfContactIdEnum } from "../enums/TypeOfContactIdEnum";
|
|
2
|
+
export declare class GetAllContactInfoResponse {
|
|
3
|
+
id: string;
|
|
4
|
+
contact: string;
|
|
5
|
+
directoryId: string;
|
|
6
|
+
isPrincipal: boolean;
|
|
7
|
+
typeOfContactId: TypeOfContactIdEnum;
|
|
8
|
+
isWhatsApp: boolean;
|
|
9
|
+
isVoice: boolean;
|
|
10
|
+
isSMS: boolean;
|
|
11
|
+
isApp: boolean;
|
|
12
|
+
note: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TypeOfContactIdEnum = void 0;
|
|
4
|
+
var TypeOfContactIdEnum;
|
|
5
|
+
(function (TypeOfContactIdEnum) {
|
|
6
|
+
TypeOfContactIdEnum["PHONE"] = "PHONE";
|
|
7
|
+
TypeOfContactIdEnum["EMAIL"] = "EMAIL";
|
|
8
|
+
})(TypeOfContactIdEnum || (exports.TypeOfContactIdEnum = TypeOfContactIdEnum = {}));
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./dtos/GetAllContactInfoResponse"), exports);
|
|
18
|
+
__exportStar(require("./enums/TypeOfContactIdEnum"), exports);
|
package/bin/index.d.ts
CHANGED
|
@@ -18,3 +18,4 @@ export * as EventBridgeMessage from './eventBridge';
|
|
|
18
18
|
export * as GenericMessage from './genericMessage';
|
|
19
19
|
export * as TransactionProcessor from './transactionProcessor';
|
|
20
20
|
export * as Transaction from './transaction';
|
|
21
|
+
export * as ContactInfo from './contactInfo';
|
package/bin/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
|
|
26
|
+
exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Account = void 0;
|
|
27
27
|
exports.Account = __importStar(require("./account"));
|
|
28
28
|
exports.Address = __importStar(require("./address"));
|
|
29
29
|
exports.App = __importStar(require("./app"));
|
|
@@ -44,3 +44,4 @@ exports.EventBridgeMessage = __importStar(require("./eventBridge"));
|
|
|
44
44
|
exports.GenericMessage = __importStar(require("./genericMessage"));
|
|
45
45
|
exports.TransactionProcessor = __importStar(require("./transactionProcessor"));
|
|
46
46
|
exports.Transaction = __importStar(require("./transaction"));
|
|
47
|
+
exports.ContactInfo = __importStar(require("./contactInfo"));
|
package/package.json
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { CreditOrDebit } from "../enums/CreditOrDebit";
|
|
3
|
+
import { DeliveryChannel } from "../enums/DeliveryChannel";
|
|
4
|
+
import { ExternalShippingStatus } from "../enums/ExternalShippingStatus";
|
|
5
|
+
import { ExternalShippingStatusDetail } from "../enums/ExternalShippingStatusDetails";
|
|
6
|
+
import { NominatedOrInnominated } from "../enums/NominatedOrInnominated";
|
|
7
|
+
import { ShippingStatus } from "../enums/ShippingStatus";
|
|
8
|
+
import { Status } from "../enums/Status";
|
|
9
|
+
import { VirtualOrPhysical } from "../enums/VirtualOrPhysical";
|
|
1
10
|
|
|
2
11
|
|
|
3
12
|
export class CardResponse {
|
|
4
|
-
|
|
13
|
+
id: string;
|
|
14
|
+
accountId: string;
|
|
15
|
+
directoryId: string;
|
|
16
|
+
provider: string;
|
|
17
|
+
activationDate: number;
|
|
18
|
+
countryId: CountryId;
|
|
19
|
+
status: Status;
|
|
20
|
+
panLastDigit: string;
|
|
21
|
+
creditOrDebit: CreditOrDebit;
|
|
22
|
+
nominatedOrInnominated: NominatedOrInnominated;
|
|
23
|
+
virtualOrPhysical: VirtualOrPhysical;
|
|
24
|
+
deliveryChannel: DeliveryChannel;
|
|
25
|
+
externalCardId: string;
|
|
26
|
+
externalShippingId: string;
|
|
27
|
+
externalTrackingNumber: string;
|
|
28
|
+
externalTrackingUrl: string;
|
|
29
|
+
externalShippingStatus: ExternalShippingStatus | "";
|
|
30
|
+
externalShippingStatusDetail: ExternalShippingStatusDetail | "";
|
|
31
|
+
shippingStatus: ShippingStatus | "";
|
|
32
|
+
imageUrl: string;
|
|
33
|
+
tenantId: string;
|
|
5
34
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {TypeOfContactIdEnum} from "../enums/TypeOfContactIdEnum";
|
|
2
|
+
|
|
3
|
+
export class GetAllContactInfoResponse {
|
|
4
|
+
id: string;
|
|
5
|
+
contact: string;
|
|
6
|
+
directoryId: string;
|
|
7
|
+
isPrincipal: boolean
|
|
8
|
+
typeOfContactId: TypeOfContactIdEnum;
|
|
9
|
+
isWhatsApp: boolean;
|
|
10
|
+
isVoice: boolean;
|
|
11
|
+
isSMS: boolean;
|
|
12
|
+
isApp: boolean;
|
|
13
|
+
note: string;
|
|
14
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * as EventBridgeMessage from './eventBridge';
|
|
|
18
18
|
export * as GenericMessage from './genericMessage';
|
|
19
19
|
export * as TransactionProcessor from './transactionProcessor';
|
|
20
20
|
export * as Transaction from './transaction';
|
|
21
|
+
export * as ContactInfo from './contactInfo'
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
|