@pax2pay/client 0.0.64 → 0.0.67
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/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/CardAmendmentScheduledTaskResponse.d.ts +10 -0
- package/dist/model/CardAmendmentScheduledTaskResponse.js +12 -0
- package/dist/model/CardAmendmentScheduledTaskResponse.js.map +1 -0
- package/dist/model/CardDeliveryRequest.d.ts +3 -3
- package/dist/model/CardResponse.d.ts +2 -0
- package/dist/model/CardResponseV2.d.ts +1 -1
- package/dist/model/CardResponseV2.js +4 -2
- package/dist/model/CardResponseV2.js.map +1 -1
- package/dist/model/CardScheduleResponseItem.d.ts +6 -0
- package/dist/model/CardScheduleResponseItem.js +11 -0
- package/dist/model/CardScheduleResponseItem.js.map +1 -0
- package/dist/model/CardStateChangeDesiredState.d.ts +6 -1
- package/dist/model/CardStateChangeDesiredState.js +8 -1
- package/dist/model/CardStateChangeDesiredState.js.map +1 -1
- package/dist/model/CardStateChangeScheduledTaskResponse.d.ts +9 -0
- package/dist/model/CardStateChangeScheduledTaskResponse.js +11 -0
- package/dist/model/CardStateChangeScheduledTaskResponse.js.map +1 -0
- package/dist/model/ScheduledTaskResponse.d.ts +7 -0
- package/dist/model/ScheduledTaskResponse.js +2 -0
- package/dist/model/ScheduledTaskResponse.js.map +1 -0
- package/dist/model/index.d.ts +4 -2
- package/dist/model/index.js +5 -2
- package/dist/model/index.js.map +1 -1
- package/index.ts +6 -2
- package/model/CardAmendmentScheduledTaskResponse.ts +20 -0
- package/model/CardDeliveryRequest.ts +3 -3
- package/model/CardResponse.ts +2 -0
- package/model/CardResponseV2.ts +4 -2
- package/model/CardScheduleResponseItem.ts +12 -0
- package/model/CardStateChangeDesiredState.ts +8 -1
- package/model/CardStateChangeScheduledTaskResponse.ts +17 -0
- package/model/ScheduledTaskResponse.ts +8 -0
- package/model/index.ts +6 -2
- package/package.json +1 -1
- package/dist/model/CardScheduleResponse.d.ts +0 -13
- package/dist/model/CardScheduleResponse.js +0 -16
- package/dist/model/CardScheduleResponse.js.map +0 -1
- package/model/CardScheduleResponse.ts +0 -24
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2,
|
|
3
|
-
export { Client, AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2,
|
|
2
|
+
import { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { CardFundingAccountResponse, CardResponseV2,
|
|
3
|
-
export { Client, CardFundingAccountResponse, CardResponseV2,
|
|
2
|
+
import { CardAmendmentScheduledTaskResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, ProviderCode, ProviderResponse, UserResponse, YearMonth, } from "./model";
|
|
3
|
+
export { Client, CardAmendmentScheduledTaskResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, ProviderCode, ProviderResponse, UserResponse, YearMonth, };
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAcN,kCAAkC,EAElC,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAKb,wBAAwB,EAQxB,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EASpB,YAAY,EACZ,gBAAgB,EA4BhB,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EAcN,kCAAkC,EAElC,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAKb,wBAAwB,EAQxB,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EASpB,YAAY,EACZ,gBAAgB,EA4BhB,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ScheduledTaskResponse } from "./ScheduledTaskResponse";
|
|
2
|
+
export interface CardAmendmentScheduledTaskResponse extends ScheduledTaskResponse {
|
|
3
|
+
taskType: "CARD_AMENDMENT";
|
|
4
|
+
newBalance?: number;
|
|
5
|
+
balanceDifferential?: number;
|
|
6
|
+
remainingBalance?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare namespace CardAmendmentScheduledTaskResponse {
|
|
9
|
+
function is(value: CardAmendmentScheduledTaskResponse | any): value is CardAmendmentScheduledTaskResponse;
|
|
10
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export var CardAmendmentScheduledTaskResponse;
|
|
2
|
+
(function (CardAmendmentScheduledTaskResponse) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
value.taskType == "CARD_AMENDMENT" &&
|
|
6
|
+
(value.newBalance == undefined || typeof value.newBalance == "number") &&
|
|
7
|
+
(value.balanceDifferential == undefined || typeof value.balanceDifferential == "number") &&
|
|
8
|
+
(value.remainingBalance == undefined || typeof value.remainingBalance == "number"));
|
|
9
|
+
}
|
|
10
|
+
CardAmendmentScheduledTaskResponse.is = is;
|
|
11
|
+
})(CardAmendmentScheduledTaskResponse || (CardAmendmentScheduledTaskResponse = {}));
|
|
12
|
+
//# sourceMappingURL=CardAmendmentScheduledTaskResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardAmendmentScheduledTaskResponse.js","sourceRoot":"../","sources":["model/CardAmendmentScheduledTaskResponse.ts"],"names":[],"mappings":"AASA,MAAM,KAAW,kCAAkC,CAUlD;AAVD,WAAiB,kCAAkC;IAClD,SAAgB,EAAE,CAAC,KAA+C;QACjE,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,QAAQ,IAAI,gBAAgB;YAClC,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC;YACtE,CAAC,KAAK,CAAC,mBAAmB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,mBAAmB,IAAI,QAAQ,CAAC;YACxF,CAAC,KAAK,CAAC,gBAAgB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,gBAAgB,IAAI,QAAQ,CAAC,CAClF,CAAA;IACF,CAAC;IARe,qCAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,kCAAkC,KAAlC,kCAAkC,QAUlD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse";
|
|
2
2
|
import { BookingInfo } from "./BookingInfo";
|
|
3
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
3
4
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
4
5
|
import { CardUsage } from "./CardUsage";
|
|
5
6
|
import { ProviderCode } from "./ProviderCode";
|
|
@@ -26,4 +27,5 @@ export interface CardResponse {
|
|
|
26
27
|
creatingSystem?: "PORTAL" | "REST_API" | "FAB" | "REST_API_PORTAL" | "REST_API_EXTERNAL" | "SOAP_API_FAB" | "SOAP_API_EXTERNAL" | "CRON" | "UNKNOWN" | "UNDEFINED";
|
|
27
28
|
createdBy?: string;
|
|
28
29
|
bookingInfo?: BookingInfo;
|
|
30
|
+
schedule?: CardScheduleResponseItem[];
|
|
29
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardScheduleResponseItem } from "./
|
|
1
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
2
2
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
3
3
|
import { CardUsage } from "./CardUsage";
|
|
4
4
|
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardScheduleResponseItem } from "./
|
|
1
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
2
2
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
3
3
|
import { CardUsage } from "./CardUsage";
|
|
4
4
|
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2";
|
|
@@ -20,7 +20,9 @@ export var CardResponseV2;
|
|
|
20
20
|
CardUsage.is(value.usage) &&
|
|
21
21
|
FundingAccountResponseV2.is(value.fundingAccount) &&
|
|
22
22
|
Array.isArray(value.schedule) &&
|
|
23
|
-
value.schedule.every(
|
|
23
|
+
value.schedule.every((a) => {
|
|
24
|
+
return CardScheduleResponseItem.is(a);
|
|
25
|
+
}) &&
|
|
24
26
|
typeof value.createdBy == "string");
|
|
25
27
|
}
|
|
26
28
|
CardResponseV2.is = is;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardResponseV2.js","sourceRoot":"../","sources":["model/CardResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CardResponseV2.js","sourceRoot":"../","sources":["model/CardResponseV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAkBvC,MAAM,KAAW,cAAc,CAsB9B;AAtBD,WAAiB,cAAc;IAC9B,SAAgB,EAAE,CAAC,KAA2B;QAC7C,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,IAAI,qBAAqB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;YAC/E,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ;YACnC,OAAO,KAAK,CAAC,GAAG,IAAI,QAAQ;YAC5B,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YAC9B,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ;YACnC,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ;YAChC,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,YAAY,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC;YACnC,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ;YACvC,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YACzB,wBAAwB,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC;YACjD,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;YAC7B,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE;gBAC/B,OAAO,wBAAwB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;YACtC,CAAC,CAAC;YACF,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ,CAClC,CAAA;IACF,CAAC;IApBe,iBAAE,KAoBjB,CAAA;AACF,CAAC,EAtBgB,cAAc,KAAd,cAAc,QAsB9B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
2
|
+
import { CardStateChangeScheduledTaskResponse } from "./CardStateChangeScheduledTaskResponse";
|
|
3
|
+
export declare type CardScheduleResponseItem = CardAmendmentScheduledTaskResponse | CardStateChangeScheduledTaskResponse;
|
|
4
|
+
export declare namespace CardScheduleResponseItem {
|
|
5
|
+
function is(value: CardScheduleResponseItem | any): value is CardScheduleResponseItem;
|
|
6
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
2
|
+
import { CardStateChangeScheduledTaskResponse } from "./CardStateChangeScheduledTaskResponse";
|
|
3
|
+
export var CardScheduleResponseItem;
|
|
4
|
+
(function (CardScheduleResponseItem) {
|
|
5
|
+
function is(value) {
|
|
6
|
+
return (typeof value == "object" &&
|
|
7
|
+
(CardAmendmentScheduledTaskResponse.is(value) || CardStateChangeScheduledTaskResponse.is(value)));
|
|
8
|
+
}
|
|
9
|
+
CardScheduleResponseItem.is = is;
|
|
10
|
+
})(CardScheduleResponseItem || (CardScheduleResponseItem = {}));
|
|
11
|
+
//# sourceMappingURL=CardScheduleResponseItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardScheduleResponseItem.js","sourceRoot":"../","sources":["model/CardScheduleResponseItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAA;AACzF,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAA;AAG7F,MAAM,KAAW,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACxC,SAAgB,EAAE,CAAC,KAAqC;QACvD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,kCAAkC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,oCAAoC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAChG,CAAA;IACF,CAAC;IALe,2BAAE,KAKjB,CAAA;AACF,CAAC,EAPgB,wBAAwB,KAAxB,wBAAwB,QAOxC"}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
declare const cardStateChangeDesiredState: readonly ["CANCEL", "FREEZE", "THAW"];
|
|
2
|
+
export declare type CardStateChangeDesiredState = typeof cardStateChangeDesiredState[number];
|
|
3
|
+
export declare namespace CardStateChangeDesiredState {
|
|
4
|
+
function is(value: unknown): value is CardStateChangeDesiredState;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
const cardStateChangeDesiredState = ["CANCEL", "FREEZE", "THAW"];
|
|
2
|
+
export var CardStateChangeDesiredState;
|
|
3
|
+
(function (CardStateChangeDesiredState) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return typeof value == "string" && cardStateChangeDesiredState.includes(value);
|
|
6
|
+
}
|
|
7
|
+
CardStateChangeDesiredState.is = is;
|
|
8
|
+
})(CardStateChangeDesiredState || (CardStateChangeDesiredState = {}));
|
|
2
9
|
//# sourceMappingURL=CardStateChangeDesiredState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardStateChangeDesiredState.js","sourceRoot":"../","sources":["model/CardStateChangeDesiredState.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"CardStateChangeDesiredState.js","sourceRoot":"../","sources":["model/CardStateChangeDesiredState.ts"],"names":[],"mappings":"AAAA,MAAM,2BAA2B,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,MAAM,CAAU,CAAA;AAGzE,MAAM,KAAW,2BAA2B,CAI3C;AAJD,WAAiB,2BAA2B;IAC3C,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,2BAA2B,CAAC,QAAQ,CAAC,KAAoC,CAAC,CAAA;IAC9G,CAAC;IAFe,8BAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,2BAA2B,KAA3B,2BAA2B,QAI3C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState";
|
|
2
|
+
import { ScheduledTaskResponse } from "./ScheduledTaskResponse";
|
|
3
|
+
export interface CardStateChangeScheduledTaskResponse extends ScheduledTaskResponse {
|
|
4
|
+
taskType: "CARD_STATE_CHANGE";
|
|
5
|
+
desiredState: CardStateChangeDesiredState;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace CardStateChangeScheduledTaskResponse {
|
|
8
|
+
function is(value: CardStateChangeScheduledTaskResponse | any): value is CardStateChangeScheduledTaskResponse;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState";
|
|
2
|
+
export var CardStateChangeScheduledTaskResponse;
|
|
3
|
+
(function (CardStateChangeScheduledTaskResponse) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
value.taskType == "CARD_STATE_CHANGE" &&
|
|
7
|
+
CardStateChangeDesiredState.is(value.desiredState));
|
|
8
|
+
}
|
|
9
|
+
CardStateChangeScheduledTaskResponse.is = is;
|
|
10
|
+
})(CardStateChangeScheduledTaskResponse || (CardStateChangeScheduledTaskResponse = {}));
|
|
11
|
+
//# sourceMappingURL=CardStateChangeScheduledTaskResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardStateChangeScheduledTaskResponse.js","sourceRoot":"../","sources":["model/CardStateChangeScheduledTaskResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAQ3E,MAAM,KAAW,oCAAoC,CAQpD;AARD,WAAiB,oCAAoC;IACpD,SAAgB,EAAE,CAAC,KAAiD;QACnE,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,QAAQ,IAAI,mBAAmB;YACrC,2BAA2B,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,CAAC,CAClD,CAAA;IACF,CAAC;IANe,uCAAE,KAMjB,CAAA;AACF,CAAC,EARgB,oCAAoC,KAApC,oCAAoC,QAQpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScheduledTaskResponse.js","sourceRoot":"../","sources":["model/ScheduledTaskResponse.ts"],"names":[],"mappings":""}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -11,17 +11,19 @@ import { BookingInfo } from "./BookingInfo";
|
|
|
11
11
|
import { BookingInfoRequest } from "./BookingInfoRequest";
|
|
12
12
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
13
13
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest";
|
|
14
|
+
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
14
15
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
15
16
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
16
17
|
import { CardOptionSearch } from "./CardOptionSearch";
|
|
17
18
|
import { CardResponse } from "./CardResponse";
|
|
18
19
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
19
|
-
import { CardScheduleResponseItem } from "./
|
|
20
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
20
21
|
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
21
22
|
import { CardScheduleTaskType } from "./CardScheduleTaskType";
|
|
22
23
|
import { CardSearch } from "./CardSearch";
|
|
23
24
|
import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState";
|
|
24
25
|
import { CardStateChangeScheduledTaskRequest } from "./CardStateChangeScheduledTaskRequest";
|
|
26
|
+
import { CardStateChangeScheduledTaskResponse } from "./CardStateChangeScheduledTaskResponse";
|
|
25
27
|
import { CardTypeResponse } from "./CardTypeResponse";
|
|
26
28
|
import { CardTypesConfig } from "./CardTypesConfig";
|
|
27
29
|
import { CardTypeSearchRequest } from "./CardTypeSearchRequest";
|
|
@@ -102,4 +104,4 @@ import { UserResponse } from "./UserResponse";
|
|
|
102
104
|
import { UserRoleResponse } from "./UserRoleResponse";
|
|
103
105
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
104
106
|
import { YearMonth } from "./YearMonth";
|
|
105
|
-
export { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem
|
|
107
|
+
export { AccountCreationRequest, AccountResponse, AccountSearchRequest, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardFundingAccountResponse, CardOptionSearch, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTypeResponse, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, InsertCardOptionRequest, InsertCardRequest, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, NonBeneficiaryTransferDestination, OrganisationBalanceLimitResponse, OrganisationConfig, OrganisationRequest, OrganisationResponse, Passengers, PasswordChangeRequest, PasswordValidateRequest, PasswordValidateResponse, Payload, PaymentMethodOptionResponse, PaymentOption, ProcessedStatement, ProviderCode, ProviderResponse, References, RelogWithNewSessionDetailsRequest, Report, RoleResponse, RolesetResponse, ScheduledTaskRequest, SearchRolesetsRequest, Sorting, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
package/dist/model/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
1
2
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
2
3
|
import { CardResponseV2 } from "./CardResponseV2";
|
|
3
|
-
import { CardScheduleResponseItem } from "./
|
|
4
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
4
5
|
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
5
6
|
import { CardScheduleTaskType } from "./CardScheduleTaskType";
|
|
7
|
+
import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState";
|
|
8
|
+
import { CardStateChangeScheduledTaskResponse } from "./CardStateChangeScheduledTaskResponse";
|
|
6
9
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
7
10
|
import { CardTypeSpecificationFlag } from "./CardTypeSpecificationFlag";
|
|
8
11
|
import { ErrorMessageDto } from "./ErrorMessageDto";
|
|
@@ -16,5 +19,5 @@ import { ProviderCode } from "./ProviderCode";
|
|
|
16
19
|
import { ProviderResponse } from "./ProviderResponse";
|
|
17
20
|
import { UserResponse } from "./UserResponse";
|
|
18
21
|
import { YearMonth } from "./YearMonth";
|
|
19
|
-
export { CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem
|
|
22
|
+
export { CardAmendmentScheduledTaskResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, ProviderCode, ProviderResponse, UserResponse, YearMonth, };
|
|
20
23
|
//# sourceMappingURL=index.js.map
|
package/dist/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["model/index.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAA;AAEzF,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAA;AAGzE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAE7D,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAA;AAE3E,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAA;AAI7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAYvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAK/C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAA;AAQrE,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAG/B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAE/C,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAA;AAGrF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAS7D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AA4BrD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EAcN,kCAAkC,EAElC,0BAA0B,EAG1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAIpC,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EAKb,wBAAwB,EAQxB,KAAK,EAGL,aAAa,EAEb,gCAAgC,EAGhC,oBAAoB,EASpB,YAAY,EACZ,gBAAgB,EA4BhB,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -13,17 +13,19 @@ import {
|
|
|
13
13
|
BookingInfoRequest,
|
|
14
14
|
BookingInfoResponse,
|
|
15
15
|
CardAmendmentScheduledTaskRequest,
|
|
16
|
+
CardAmendmentScheduledTaskResponse,
|
|
16
17
|
CardDeliveryRequest,
|
|
17
18
|
CardFundingAccountResponse,
|
|
18
19
|
CardOptionSearch,
|
|
19
20
|
CardResponse,
|
|
20
21
|
CardResponseV2,
|
|
21
|
-
|
|
22
|
+
CardScheduleResponseItem,
|
|
22
23
|
CardScheduleTaskStatus,
|
|
23
24
|
CardScheduleTaskType,
|
|
24
25
|
CardSearch,
|
|
25
26
|
CardStateChangeDesiredState,
|
|
26
27
|
CardStateChangeScheduledTaskRequest,
|
|
28
|
+
CardStateChangeScheduledTaskResponse,
|
|
27
29
|
CardTypeResponse,
|
|
28
30
|
CardTypesConfig,
|
|
29
31
|
CardTypeSearchRequest,
|
|
@@ -121,17 +123,19 @@ export {
|
|
|
121
123
|
BookingInfoRequest,
|
|
122
124
|
BookingInfoResponse,
|
|
123
125
|
CardAmendmentScheduledTaskRequest,
|
|
126
|
+
CardAmendmentScheduledTaskResponse,
|
|
124
127
|
CardDeliveryRequest,
|
|
125
128
|
CardFundingAccountResponse,
|
|
126
129
|
CardOptionSearch,
|
|
127
130
|
CardResponse,
|
|
128
131
|
CardResponseV2,
|
|
129
|
-
|
|
132
|
+
CardScheduleResponseItem,
|
|
130
133
|
CardScheduleTaskStatus,
|
|
131
134
|
CardScheduleTaskType,
|
|
132
135
|
CardSearch,
|
|
133
136
|
CardStateChangeDesiredState,
|
|
134
137
|
CardStateChangeScheduledTaskRequest,
|
|
138
|
+
CardStateChangeScheduledTaskResponse,
|
|
135
139
|
CardTypeResponse,
|
|
136
140
|
CardTypesConfig,
|
|
137
141
|
CardTypeSearchRequest,
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ScheduledTaskResponse } from "./ScheduledTaskResponse"
|
|
2
|
+
|
|
3
|
+
export interface CardAmendmentScheduledTaskResponse extends ScheduledTaskResponse {
|
|
4
|
+
taskType: "CARD_AMENDMENT"
|
|
5
|
+
newBalance?: number
|
|
6
|
+
balanceDifferential?: number
|
|
7
|
+
remainingBalance?: number
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export namespace CardAmendmentScheduledTaskResponse {
|
|
11
|
+
export function is(value: CardAmendmentScheduledTaskResponse | any): value is CardAmendmentScheduledTaskResponse {
|
|
12
|
+
return (
|
|
13
|
+
typeof value == "object" &&
|
|
14
|
+
value.taskType == "CARD_AMENDMENT" &&
|
|
15
|
+
(value.newBalance == undefined || typeof value.newBalance == "number") &&
|
|
16
|
+
(value.balanceDifferential == undefined || typeof value.balanceDifferential == "number") &&
|
|
17
|
+
(value.remainingBalance == undefined || typeof value.remainingBalance == "number")
|
|
18
|
+
)
|
|
19
|
+
}
|
|
20
|
+
}
|
package/model/CardResponse.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse"
|
|
2
2
|
import { BookingInfo } from "./BookingInfo"
|
|
3
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem"
|
|
3
4
|
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
4
5
|
import { CardUsage } from "./CardUsage"
|
|
5
6
|
import { ProviderCode } from "./ProviderCode"
|
|
@@ -37,4 +38,5 @@ export interface CardResponse {
|
|
|
37
38
|
| "UNDEFINED"
|
|
38
39
|
createdBy?: string
|
|
39
40
|
bookingInfo?: BookingInfo
|
|
41
|
+
schedule?: CardScheduleResponseItem[]
|
|
40
42
|
}
|
package/model/CardResponseV2.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CardScheduleResponseItem } from "./
|
|
1
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem"
|
|
2
2
|
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
3
3
|
import { CardUsage } from "./CardUsage"
|
|
4
4
|
import { FundingAccountResponseV2 } from "./FundingAccountResponseV2"
|
|
@@ -37,7 +37,9 @@ export namespace CardResponseV2 {
|
|
|
37
37
|
CardUsage.is(value.usage) &&
|
|
38
38
|
FundingAccountResponseV2.is(value.fundingAccount) &&
|
|
39
39
|
Array.isArray(value.schedule) &&
|
|
40
|
-
value.schedule.every(
|
|
40
|
+
value.schedule.every((a: any) => {
|
|
41
|
+
return CardScheduleResponseItem.is(a)
|
|
42
|
+
}) &&
|
|
41
43
|
typeof value.createdBy == "string"
|
|
42
44
|
)
|
|
43
45
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse"
|
|
2
|
+
import { CardStateChangeScheduledTaskResponse } from "./CardStateChangeScheduledTaskResponse"
|
|
3
|
+
|
|
4
|
+
export type CardScheduleResponseItem = CardAmendmentScheduledTaskResponse | CardStateChangeScheduledTaskResponse
|
|
5
|
+
export namespace CardScheduleResponseItem {
|
|
6
|
+
export function is(value: CardScheduleResponseItem | any): value is CardScheduleResponseItem {
|
|
7
|
+
return (
|
|
8
|
+
typeof value == "object" &&
|
|
9
|
+
(CardAmendmentScheduledTaskResponse.is(value) || CardStateChangeScheduledTaskResponse.is(value))
|
|
10
|
+
)
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
const cardStateChangeDesiredState = ["CANCEL", "FREEZE", "THAW"] as const
|
|
2
|
+
export type CardStateChangeDesiredState = typeof cardStateChangeDesiredState[number]
|
|
3
|
+
|
|
4
|
+
export namespace CardStateChangeDesiredState {
|
|
5
|
+
export function is(value: unknown): value is CardStateChangeDesiredState {
|
|
6
|
+
return typeof value == "string" && cardStateChangeDesiredState.includes(value as CardStateChangeDesiredState)
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState"
|
|
2
|
+
import { ScheduledTaskResponse } from "./ScheduledTaskResponse"
|
|
3
|
+
|
|
4
|
+
export interface CardStateChangeScheduledTaskResponse extends ScheduledTaskResponse {
|
|
5
|
+
taskType: "CARD_STATE_CHANGE"
|
|
6
|
+
desiredState: CardStateChangeDesiredState
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export namespace CardStateChangeScheduledTaskResponse {
|
|
10
|
+
export function is(value: CardStateChangeScheduledTaskResponse | any): value is CardStateChangeScheduledTaskResponse {
|
|
11
|
+
return (
|
|
12
|
+
typeof value == "object" &&
|
|
13
|
+
value.taskType == "CARD_STATE_CHANGE" &&
|
|
14
|
+
CardStateChangeDesiredState.is(value.desiredState)
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
}
|
package/model/index.ts
CHANGED
|
@@ -11,17 +11,19 @@ import { BookingInfo } from "./BookingInfo"
|
|
|
11
11
|
import { BookingInfoRequest } from "./BookingInfoRequest"
|
|
12
12
|
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
13
13
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest"
|
|
14
|
+
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse"
|
|
14
15
|
import { CardDeliveryRequest } from "./CardDeliveryRequest"
|
|
15
16
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse"
|
|
16
17
|
import { CardOptionSearch } from "./CardOptionSearch"
|
|
17
18
|
import { CardResponse } from "./CardResponse"
|
|
18
19
|
import { CardResponseV2 } from "./CardResponseV2"
|
|
19
|
-
import { CardScheduleResponseItem } from "./
|
|
20
|
+
import { CardScheduleResponseItem } from "./CardScheduleResponseItem"
|
|
20
21
|
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus"
|
|
21
22
|
import { CardScheduleTaskType } from "./CardScheduleTaskType"
|
|
22
23
|
import { CardSearch } from "./CardSearch"
|
|
23
24
|
import { CardStateChangeDesiredState } from "./CardStateChangeDesiredState"
|
|
24
25
|
import { CardStateChangeScheduledTaskRequest } from "./CardStateChangeScheduledTaskRequest"
|
|
26
|
+
import { CardStateChangeScheduledTaskResponse } from "./CardStateChangeScheduledTaskResponse"
|
|
25
27
|
import { CardTypeResponse } from "./CardTypeResponse"
|
|
26
28
|
import { CardTypesConfig } from "./CardTypesConfig"
|
|
27
29
|
import { CardTypeSearchRequest } from "./CardTypeSearchRequest"
|
|
@@ -117,17 +119,19 @@ export {
|
|
|
117
119
|
BookingInfoRequest,
|
|
118
120
|
BookingInfoResponse,
|
|
119
121
|
CardAmendmentScheduledTaskRequest,
|
|
122
|
+
CardAmendmentScheduledTaskResponse,
|
|
120
123
|
CardDeliveryRequest,
|
|
121
124
|
CardFundingAccountResponse,
|
|
122
125
|
CardOptionSearch,
|
|
123
126
|
CardResponse,
|
|
124
127
|
CardResponseV2,
|
|
125
|
-
CardScheduleResponseItem
|
|
128
|
+
CardScheduleResponseItem,
|
|
126
129
|
CardScheduleTaskStatus,
|
|
127
130
|
CardScheduleTaskType,
|
|
128
131
|
CardSearch,
|
|
129
132
|
CardStateChangeDesiredState,
|
|
130
133
|
CardStateChangeScheduledTaskRequest,
|
|
134
|
+
CardStateChangeScheduledTaskResponse,
|
|
131
135
|
CardTypeResponse,
|
|
132
136
|
CardTypesConfig,
|
|
133
137
|
CardTypeSearchRequest,
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as isoly from "isoly";
|
|
2
|
-
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
3
|
-
import { CardScheduleTaskType } from "./CardScheduleTaskType";
|
|
4
|
-
export interface CardScheduleResponseItem {
|
|
5
|
-
dueOn: isoly.DateTime;
|
|
6
|
-
status: CardScheduleTaskStatus;
|
|
7
|
-
statusText: string;
|
|
8
|
-
taskType: CardScheduleTaskType;
|
|
9
|
-
taskId: string;
|
|
10
|
-
}
|
|
11
|
-
export declare namespace CardScheduleResponseItem {
|
|
12
|
-
function is(value: CardScheduleResponseItem | any): value is CardScheduleResponseItem;
|
|
13
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as isoly from "isoly";
|
|
2
|
-
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus";
|
|
3
|
-
import { CardScheduleTaskType } from "./CardScheduleTaskType";
|
|
4
|
-
export var CardScheduleResponseItem;
|
|
5
|
-
(function (CardScheduleResponseItem) {
|
|
6
|
-
function is(value) {
|
|
7
|
-
return (typeof value == "object" &&
|
|
8
|
-
isoly.DateTime.is(value.dueOn) &&
|
|
9
|
-
CardScheduleTaskStatus.is(value.status) &&
|
|
10
|
-
typeof value.statusText == "string" &&
|
|
11
|
-
CardScheduleTaskType.is(value.taskType) &&
|
|
12
|
-
typeof value.taskId == "string");
|
|
13
|
-
}
|
|
14
|
-
CardScheduleResponseItem.is = is;
|
|
15
|
-
})(CardScheduleResponseItem || (CardScheduleResponseItem = {}));
|
|
16
|
-
//# sourceMappingURL=CardScheduleResponse.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardScheduleResponse.js","sourceRoot":"../","sources":["model/CardScheduleResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAA;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAU7D,MAAM,KAAW,wBAAwB,CAWxC;AAXD,WAAiB,wBAAwB;IACxC,SAAgB,EAAE,CAAC,KAAqC;QACvD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;YAC9B,sBAAsB,CAAC,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC;YACvC,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ;YACnC,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC;YACvC,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,CAC/B,CAAA;IACF,CAAC;IATe,2BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,wBAAwB,KAAxB,wBAAwB,QAWxC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import * as isoly from "isoly"
|
|
2
|
-
import { CardScheduleTaskStatus } from "./CardScheduleTaskStatus"
|
|
3
|
-
import { CardScheduleTaskType } from "./CardScheduleTaskType"
|
|
4
|
-
|
|
5
|
-
export interface CardScheduleResponseItem {
|
|
6
|
-
dueOn: isoly.DateTime
|
|
7
|
-
status: CardScheduleTaskStatus
|
|
8
|
-
statusText: string
|
|
9
|
-
taskType: CardScheduleTaskType
|
|
10
|
-
taskId: string
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export namespace CardScheduleResponseItem {
|
|
14
|
-
export function is(value: CardScheduleResponseItem | any): value is CardScheduleResponseItem {
|
|
15
|
-
return (
|
|
16
|
-
typeof value == "object" &&
|
|
17
|
-
isoly.DateTime.is(value.dueOn) &&
|
|
18
|
-
CardScheduleTaskStatus.is(value.status) &&
|
|
19
|
-
typeof value.statusText == "string" &&
|
|
20
|
-
CardScheduleTaskType.is(value.taskType) &&
|
|
21
|
-
typeof value.taskId == "string"
|
|
22
|
-
)
|
|
23
|
-
}
|
|
24
|
-
}
|