@pax2pay/client 0.0.72 → 0.0.75
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/.eslintrc +1 -2
- package/Client/Card/index.ts +1 -3
- package/Client/Cards/index.ts +2 -3
- package/Client/Reports/index.ts +10 -0
- package/dist/Client/Card/index.js.map +1 -1
- package/dist/Client/Cards/index.js +2 -1
- package/dist/Client/Cards/index.js.map +1 -1
- package/dist/Client/Reports/index.d.ts +3 -0
- package/dist/Client/Reports/index.js +3 -0
- package/dist/Client/Reports/index.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/model/AccountStatementRequest.d.ts +10 -0
- package/dist/model/AccountStatementRequest.js +2 -0
- package/dist/model/AccountStatementRequest.js.map +1 -0
- package/dist/model/AccountStatementResponse.d.ts +8 -0
- package/dist/model/AccountStatementResponse.js +2 -0
- package/dist/model/AccountStatementResponse.js.map +1 -0
- package/dist/model/AccountStatementResponseItem.d.ts +29 -0
- package/dist/model/AccountStatementResponseItem.js +2 -0
- package/dist/model/AccountStatementResponseItem.js.map +1 -0
- package/dist/model/AccountStatementTransactionType.d.ts +6 -0
- package/dist/model/AccountStatementTransactionType.js +18 -0
- package/dist/model/AccountStatementTransactionType.js.map +1 -0
- package/dist/model/BookingInfoType.d.ts +6 -0
- package/dist/model/BookingInfoType.js +9 -0
- package/dist/model/BookingInfoType.js.map +1 -0
- package/dist/model/CreateCardRequest.d.ts +2 -1
- package/dist/model/MinimalBookingInfo.d.ts +6 -0
- package/dist/model/MinimalBookingInfo.js +2 -0
- package/dist/model/MinimalBookingInfo.js.map +1 -0
- package/dist/model/index.d.ts +7 -1
- package/dist/model/index.js +3 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +12 -0
- package/model/AccountStatementRequest.ts +11 -0
- package/model/AccountStatementResponse.ts +9 -0
- package/model/AccountStatementResponseItem.ts +34 -0
- package/model/AccountStatementTransactionType.ts +19 -0
- package/model/BookingInfoType.ts +8 -0
- package/model/CardDeliveryResponse.ts +0 -1
- package/model/CreateCardRequest.ts +2 -1
- package/model/MinimalBookingInfo.ts +7 -0
- package/model/index.ts +12 -0
- package/package.json +4 -4
package/.eslintrc
CHANGED
|
@@ -10,8 +10,7 @@
|
|
|
10
10
|
"eslint:recommended",
|
|
11
11
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
12
12
|
"plugin:@typescript-eslint/recommended",
|
|
13
|
-
"plugin:prettierx/default"
|
|
14
|
-
"plugin:prettierx/@typescript-eslint"
|
|
13
|
+
"plugin:prettierx/default"
|
|
15
14
|
],
|
|
16
15
|
"rules": {
|
|
17
16
|
"prettierx/options": [
|
package/Client/Card/index.ts
CHANGED
|
@@ -6,9 +6,7 @@ export class Card extends Resource<model.CardResponse | model.CardResponseV2, mo
|
|
|
6
6
|
constructor(connection: Connection, folder: string, backend: model.CardResponse | model.CardResponseV2) {
|
|
7
7
|
super(connection, folder, backend)
|
|
8
8
|
}
|
|
9
|
-
amend(
|
|
10
|
-
request: model.AmendCardRequest
|
|
11
|
-
): Promise<
|
|
9
|
+
amend(request: model.AmendCardRequest): Promise<
|
|
12
10
|
| model.CardResponse
|
|
13
11
|
| (model.ErrorResponse & {
|
|
14
12
|
status: 400 | 403 | 404 | 500 | 503
|
package/Client/Cards/index.ts
CHANGED
|
@@ -37,9 +37,8 @@ export class Cards extends List<
|
|
|
37
37
|
return new Cards(connection)
|
|
38
38
|
}
|
|
39
39
|
async getCard(providerCardId: string, providerCode: model.ProviderCode) {
|
|
40
|
-
const result = await this.connection
|
|
41
|
-
model.CardResponse
|
|
42
|
-
>(`cards/virtual/${providerCode}/${providerCardId}?includeSchedules=true
|
|
40
|
+
const result = await this.connection
|
|
41
|
+
.get<model.CardResponse>(`cards/virtual/${providerCode}/${providerCardId}?includeSchedules=true
|
|
43
42
|
`)
|
|
44
43
|
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result)
|
|
45
44
|
}
|
package/Client/Reports/index.ts
CHANGED
|
@@ -31,6 +31,16 @@ export class Reports {
|
|
|
31
31
|
|
|
32
32
|
return await this.connection.post<model.Report.Statement>(`../reports/statement`, request)
|
|
33
33
|
}
|
|
34
|
+
|
|
35
|
+
statementForTable(request: model.AccountStatementRequest): Promise<
|
|
36
|
+
| model.AccountStatementResponse
|
|
37
|
+
| (model.ErrorResponse & {
|
|
38
|
+
status: 400 | 403 | 404 | 500 | 503
|
|
39
|
+
})
|
|
40
|
+
> {
|
|
41
|
+
return this.connection.post<model.AccountStatementResponse>(`statement`, request)
|
|
42
|
+
}
|
|
43
|
+
|
|
34
44
|
static create(connection: Connection) {
|
|
35
45
|
return new Reports(connection)
|
|
36
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Card/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,OAAO,IAAK,SAAQ,QAA4E;IACrG,YAAY,UAAsB,EAAE,MAAc,EAAE,OAAkD;QACrG,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,CAAC;IACD,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Card/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAEtC,MAAM,OAAO,IAAK,SAAQ,QAA4E;IACrG,YAAY,UAAsB,EAAE,MAAc,EAAE,OAAkD;QACrG,KAAK,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAA;IACnC,CAAC;IACD,KAAK,CAAC,OAA+B;QAMpC,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAqB,GAAG,IAAI,CAAC,MAAM,QAAQ,EAAE,OAAO,CAAC,CAAA;IACjF,CAAC;IACD,MAAM;QAML,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,SAAS,CAAC,CAAA;IACxE,CAAC;IACD,IAAI;QAMH,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,OAAO,CAAC,CAAA;IACtE,CAAC;IACD,MAAM;QAML,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,SAAS,CAAC,CAAA;IACxE,CAAC;IACD,OAAO;QAMN,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,GAAG,IAAI,CAAC,MAAM,uBAAuB,CAAC,CAAA;IACtF,CAAC;IACD,eAAe;QAMd,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAA4B,GAAG,IAAI,CAAC,MAAM,eAAe,CAAC,CAAA;IACrF,CAAC;CACD"}
|
|
@@ -30,7 +30,8 @@ export class Cards extends List {
|
|
|
30
30
|
return new Cards(connection);
|
|
31
31
|
}
|
|
32
32
|
async getCard(providerCardId, providerCode) {
|
|
33
|
-
const result = await this.connection
|
|
33
|
+
const result = await this.connection
|
|
34
|
+
.get(`cards/virtual/${providerCode}/${providerCardId}?includeSchedules=true
|
|
34
35
|
`);
|
|
35
36
|
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result);
|
|
36
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Cards/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,MAAM,OAAO,KAAM,SAAQ,IAK1B;IAEA,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,eAAe,CAAA;IAGlC,CAAC;IACS,eAAe,CAAC,QAAmD;QAC5E,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AAY,CAAC,YAAgC;QAClD,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAA2B,kBAAkB,YAAY,EAAE,CAAC,CAAA;QACpG,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,kBAAkB,CAAC,aAAgD;QACxE,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CACxC,2BAA2B,EAC3B,aAAa,CACb,CAAA;QACD,OAAO,MAAM,CAAA;IACd,CAAC;IACD,KAAK,CAAC,kBAAkB,CAAC,cAAsB,EAAE,YAAgC;QAChF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAqB,uBAAuB,YAAY,IAAI,cAAc;CACnH,CAAC,CAAA;QACA,OAAO,KAAK,CAAC,aAAa,CAAC,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;IACxE,CAAC;CACD"}
|
|
@@ -10,5 +10,8 @@ export declare class Reports {
|
|
|
10
10
|
statement(start: isoly.DateTime, end: isoly.DateTime, account: string): Promise<model.Report.Statement | (model.ErrorResponse & {
|
|
11
11
|
status: 400 | 404 | 500 | 403 | 503;
|
|
12
12
|
})>;
|
|
13
|
+
statementForTable(request: model.AccountStatementRequest): Promise<model.AccountStatementResponse | (model.ErrorResponse & {
|
|
14
|
+
status: 400 | 403 | 404 | 500 | 503;
|
|
15
|
+
})>;
|
|
13
16
|
static create(connection: Connection): Reports;
|
|
14
17
|
}
|
|
@@ -25,6 +25,9 @@ export class Reports {
|
|
|
25
25
|
};
|
|
26
26
|
return await this.connection.post(`../reports/statement`, request);
|
|
27
27
|
}
|
|
28
|
+
statementForTable(request) {
|
|
29
|
+
return this.connection.post(`statement`, request);
|
|
30
|
+
}
|
|
28
31
|
static create(connection) {
|
|
29
32
|
return new Reports(connection);
|
|
30
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Reports/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACnB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAEvD,KAAK,CAAC,cAAc,CAAC,KAAqB,EAAE,GAAmB;QAC9D,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,2BAA2B,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAqB,EAAE,GAAmB,EAAE,OAAe;QAC1E,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAyB,sBAAsB,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Reports/index.ts"],"names":[],"mappings":"AAIA,MAAM,OAAO,OAAO;IACnB,YAA6B,UAAsB;QAAtB,eAAU,GAAV,UAAU,CAAY;IAAG,CAAC;IAEvD,KAAK,CAAC,cAAc,CAAC,KAAqB,EAAE,GAAmB;QAC9D,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAA8B,2BAA2B,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAqB,EAAE,GAAmB,EAAE,OAAe;QAC1E,MAAM,OAAO,GAAG;YACf,SAAS,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK;YAChC,IAAI,EAAE,KAAK;YACX,EAAE,EAAE,GAAG;YACP,UAAU,EAAE,OAAO;YACnB,MAAM,EAAE;gBACP,IAAI,EAAE,MAAM;aACZ;SACD,CAAA;QAED,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAyB,sBAAsB,EAAE,OAAO,CAAC,CAAA;IAC3F,CAAC;IAED,iBAAiB,CAAC,OAAsC;QAMvD,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAiC,WAAW,EAAE,OAAO,CAAC,CAAA;IAClF,CAAC;IAED,MAAM,CAAC,MAAM,CAAC,UAAsB;QACnC,OAAO,IAAI,OAAO,CAAC,UAAU,CAAC,CAAA;IAC/B,CAAC;CACD"}
|
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, 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, };
|
|
2
|
+
import { AccountCreationRequest, AccountResponse, AccountSearchRequest, AccountStatementRequest, AccountStatementResponse, AccountStatementResponseItem, AccountStatementTransactionType, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, 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, MinimalBookingInfo, 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, AccountStatementRequest, AccountStatementResponse, AccountStatementResponseItem, AccountStatementTransactionType, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, 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, MinimalBookingInfo, 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 { CardAmendmentScheduledTaskResponse, CardDeliveryRequest, 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, CardDeliveryRequest, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, ProviderCode, ProviderResponse, UserResponse, YearMonth, };
|
|
2
|
+
import { AccountStatementTransactionType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, 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, AccountStatementTransactionType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, 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,EAON,+BAA+B,EAU/B,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,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,EAGb,gCAAgC,EAGhC,oBAAoB,EASpB,YAAY,EACZ,gBAAgB,EA4BhB,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EAON,+BAA+B,EAU/B,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,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,EAGb,gCAAgC,EAGhC,oBAAoB,EASpB,YAAY,EACZ,gBAAgB,EA4BhB,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountStatementRequest.js","sourceRoot":"../","sources":["model/AccountStatementRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AccountStatementResponseItem } from "./AccountStatementResponseItem";
|
|
2
|
+
export interface AccountStatementResponse {
|
|
3
|
+
openingAvailableBalance: number;
|
|
4
|
+
closingAvailableBalance: number;
|
|
5
|
+
openingActualBalance: number;
|
|
6
|
+
closingActualBalance: number;
|
|
7
|
+
statements: AccountStatementResponseItem[];
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountStatementResponse.js","sourceRoot":"../","sources":["model/AccountStatementResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { AccountStatementTransactionType } from "./AccountStatementTransactionType";
|
|
3
|
+
import { MinimalBookingInfo } from "./MinimalBookingInfo";
|
|
4
|
+
import { ProviderCode } from "./ProviderCode";
|
|
5
|
+
export interface AccountStatementResponseItem {
|
|
6
|
+
transactionType: AccountStatementTransactionType;
|
|
7
|
+
amount: BillingTransactionAmountPair;
|
|
8
|
+
bookingInfo: MinimalBookingInfo;
|
|
9
|
+
timestamp: isoly.DateTime;
|
|
10
|
+
actualBalance: number;
|
|
11
|
+
availableBalance: number;
|
|
12
|
+
rowType: StatementReportRowType;
|
|
13
|
+
ids: StatementRowIds;
|
|
14
|
+
}
|
|
15
|
+
export interface BillingTransactionAmountPair {
|
|
16
|
+
billing: AmountPair;
|
|
17
|
+
transaction: AmountPair;
|
|
18
|
+
fxRate: number;
|
|
19
|
+
}
|
|
20
|
+
export interface AmountPair {
|
|
21
|
+
amount: number;
|
|
22
|
+
currency: isoly.Currency;
|
|
23
|
+
}
|
|
24
|
+
export declare type StatementReportRowType = "FULL" | "SUMMARY";
|
|
25
|
+
export interface StatementRowIds {
|
|
26
|
+
rowId: string;
|
|
27
|
+
providerCode: ProviderCode;
|
|
28
|
+
providerCardId: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountStatementResponseItem.js","sourceRoot":"../","sources":["model/AccountStatementResponseItem.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const accountStatementTransactionType: readonly ["AUTHORISATION", "AUTHORISATION_DECLINED", "SETTLEMENT", "AUTHORISATION_AND_SETTLEMENT", "REVERSAL", "REFUND", "TRANSFER_IN", "TRANSFER_OUT"];
|
|
2
|
+
export declare type AccountStatementTransactionType = typeof accountStatementTransactionType[number];
|
|
3
|
+
export declare namespace AccountStatementTransactionType {
|
|
4
|
+
function is(value: unknown): value is AccountStatementTransactionType;
|
|
5
|
+
}
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
const accountStatementTransactionType = [
|
|
2
|
+
"AUTHORISATION",
|
|
3
|
+
"AUTHORISATION_DECLINED",
|
|
4
|
+
"SETTLEMENT",
|
|
5
|
+
"AUTHORISATION_AND_SETTLEMENT",
|
|
6
|
+
"REVERSAL",
|
|
7
|
+
"REFUND",
|
|
8
|
+
"TRANSFER_IN",
|
|
9
|
+
"TRANSFER_OUT",
|
|
10
|
+
];
|
|
11
|
+
export var AccountStatementTransactionType;
|
|
12
|
+
(function (AccountStatementTransactionType) {
|
|
13
|
+
function is(value) {
|
|
14
|
+
return (typeof value == "string" && accountStatementTransactionType.includes(value));
|
|
15
|
+
}
|
|
16
|
+
AccountStatementTransactionType.is = is;
|
|
17
|
+
})(AccountStatementTransactionType || (AccountStatementTransactionType = {}));
|
|
18
|
+
//# sourceMappingURL=AccountStatementTransactionType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountStatementTransactionType.js","sourceRoot":"../","sources":["model/AccountStatementTransactionType.ts"],"names":[],"mappings":"AAAA,MAAM,+BAA+B,GAAG;IACvC,eAAe;IACf,wBAAwB;IACxB,YAAY;IACZ,8BAA8B;IAC9B,UAAU;IACV,QAAQ;IACR,aAAa;IACb,cAAc;CACL,CAAA;AAGV,MAAM,KAAW,+BAA+B,CAM/C;AAND,WAAiB,+BAA+B;IAC/C,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ,IAAI,+BAA+B,CAAC,QAAQ,CAAC,KAAwC,CAAC,CAC9G,CAAA;IACF,CAAC;IAJe,kCAAE,KAIjB,CAAA;AACF,CAAC,EANgB,+BAA+B,KAA/B,+BAA+B,QAM/C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
const bookingInfotype = ["HOTEL", "FLIGHT", "FIVE_FIELDS"];
|
|
2
|
+
export var BookingInfoType;
|
|
3
|
+
(function (BookingInfoType) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return typeof value == "string" && bookingInfotype.includes(value);
|
|
6
|
+
}
|
|
7
|
+
BookingInfoType.is = is;
|
|
8
|
+
})(BookingInfoType || (BookingInfoType = {}));
|
|
9
|
+
//# sourceMappingURL=BookingInfoType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookingInfoType.js","sourceRoot":"../","sources":["model/BookingInfoType.ts"],"names":[],"mappings":"AAAA,MAAM,eAAe,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAU,CAAA;AAGnE,MAAM,KAAW,eAAe,CAI/B;AAJD,WAAiB,eAAe;IAC/B,SAAgB,EAAE,CAAC,KAAc;QAChC,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,eAAe,CAAC,QAAQ,CAAC,KAAwB,CAAC,CAAA;IACtF,CAAC;IAFe,kBAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,eAAe,KAAf,eAAe,QAI/B"}
|
|
@@ -4,6 +4,7 @@ import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
|
4
4
|
import { CardStateChangeScheduledTaskRequest } from "./CardStateChangeScheduledTaskRequest";
|
|
5
5
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
6
6
|
import { ProviderCode } from "./ProviderCode";
|
|
7
|
+
import { ScheduledTaskRequest } from "./ScheduledTaskRequest";
|
|
7
8
|
export interface CreateCardRequest {
|
|
8
9
|
cardType: CardTypeSpecification | string;
|
|
9
10
|
bookingInfo?: BookingInfoRequest;
|
|
@@ -14,7 +15,7 @@ export interface CreateCardRequest {
|
|
|
14
15
|
fundingDate?: string;
|
|
15
16
|
expiryDate?: any;
|
|
16
17
|
usage?: "SINGLE_USE" | "MULTIPLE_USE";
|
|
17
|
-
schedule?: (CardAmendmentScheduledTaskRequest | CardStateChangeScheduledTaskRequest)[];
|
|
18
|
+
schedule?: (CardAmendmentScheduledTaskRequest | CardStateChangeScheduledTaskRequest | ScheduledTaskRequest)[];
|
|
18
19
|
friendlyName?: string;
|
|
19
20
|
delivery?: CardDeliveryRequest;
|
|
20
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MinimalBookingInfo.js","sourceRoot":"../","sources":["model/MinimalBookingInfo.ts"],"names":[],"mappings":""}
|
package/dist/model/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { AccountCreationRequest } from "./AccountCreationRequest";
|
|
2
2
|
import { AccountResponse } from "./AccountResponse";
|
|
3
3
|
import { AccountSearchRequest } from "./AccountSearchRequest";
|
|
4
|
+
import { AccountStatementRequest } from "./AccountStatementRequest";
|
|
5
|
+
import { AccountStatementResponse } from "./AccountStatementResponse";
|
|
6
|
+
import { AccountStatementResponseItem } from "./AccountStatementResponseItem";
|
|
7
|
+
import { AccountStatementTransactionType } from "./AccountStatementTransactionType";
|
|
4
8
|
import { AddressInfo } from "./AddressInfo";
|
|
5
9
|
import { AgentBookingInfo } from "./AgentBookingInfo";
|
|
6
10
|
import { AmendCardRequest } from "./AmendCardRequest";
|
|
@@ -10,6 +14,7 @@ import { BookedProductInfo } from "./BookedProductInfo";
|
|
|
10
14
|
import { BookingInfo } from "./BookingInfo";
|
|
11
15
|
import { BookingInfoRequest } from "./BookingInfoRequest";
|
|
12
16
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
17
|
+
import { BookingInfoType } from "./BookingInfoType";
|
|
13
18
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest";
|
|
14
19
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
15
20
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
@@ -58,6 +63,7 @@ import { Issue } from "./Issue";
|
|
|
58
63
|
import { LegacyBookingInfoRequest } from "./LegacyBookingInfoRequest";
|
|
59
64
|
import { LoginRequest } from "./LoginRequest";
|
|
60
65
|
import { LoginResponse } from "./LoginResponse";
|
|
66
|
+
import { MinimalBookingInfo } from "./MinimalBookingInfo";
|
|
61
67
|
import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination";
|
|
62
68
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse";
|
|
63
69
|
import { OrganisationConfig } from "./OrganisationConfig";
|
|
@@ -104,4 +110,4 @@ import { UserResponse } from "./UserResponse";
|
|
|
104
110
|
import { UserRoleResponse } from "./UserRoleResponse";
|
|
105
111
|
import { UserSearchRequest } from "./UserSearchRequest";
|
|
106
112
|
import { YearMonth } from "./YearMonth";
|
|
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, };
|
|
113
|
+
export { AccountCreationRequest, AccountResponse, AccountSearchRequest, AccountStatementRequest, AccountStatementResponse, AccountStatementResponseItem, AccountStatementTransactionType, AddressInfo, AgentBookingInfo, AmendCardRequest, BeneficiaryRequest, BeneficiaryResponse, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, 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, MinimalBookingInfo, 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,3 +1,5 @@
|
|
|
1
|
+
import { AccountStatementTransactionType } from "./AccountStatementTransactionType";
|
|
2
|
+
import { BookingInfoType } from "./BookingInfoType";
|
|
1
3
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse";
|
|
2
4
|
import { CardDeliveryRequest } from "./CardDeliveryRequest";
|
|
3
5
|
import { CardFundingAccountResponse } from "./CardFundingAccountResponse";
|
|
@@ -20,5 +22,5 @@ import { ProviderCode } from "./ProviderCode";
|
|
|
20
22
|
import { ProviderResponse } from "./ProviderResponse";
|
|
21
23
|
import { UserResponse } from "./UserResponse";
|
|
22
24
|
import { YearMonth } from "./YearMonth";
|
|
23
|
-
export { CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, ProviderCode, ProviderResponse, UserResponse, YearMonth, };
|
|
25
|
+
export { AccountStatementTransactionType, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FundingAccountResponseV2, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, ProviderCode, ProviderResponse, UserResponse, YearMonth, };
|
|
24
26
|
//# 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":"AAMA,OAAO,EAAE,+BAA+B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Aa,CAAA;AAEvC,OAAO,EAON,+BAA+B,EAU/B,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,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,EAGb,gCAAgC,EAGhC,oBAAoB,EASpB,YAAY,EACZ,gBAAgB,EA4BhB,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
package/index.ts
CHANGED
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
AccountCreationRequest,
|
|
4
4
|
AccountResponse,
|
|
5
5
|
AccountSearchRequest,
|
|
6
|
+
AccountStatementRequest,
|
|
7
|
+
AccountStatementResponse,
|
|
8
|
+
AccountStatementResponseItem,
|
|
9
|
+
AccountStatementTransactionType,
|
|
6
10
|
AddressInfo,
|
|
7
11
|
AgentBookingInfo,
|
|
8
12
|
AmendCardRequest,
|
|
@@ -12,6 +16,7 @@ import {
|
|
|
12
16
|
BookingInfo,
|
|
13
17
|
BookingInfoRequest,
|
|
14
18
|
BookingInfoResponse,
|
|
19
|
+
BookingInfoType,
|
|
15
20
|
CardAmendmentScheduledTaskRequest,
|
|
16
21
|
CardAmendmentScheduledTaskResponse,
|
|
17
22
|
CardDeliveryRequest,
|
|
@@ -60,6 +65,7 @@ import {
|
|
|
60
65
|
LegacyBookingInfoRequest,
|
|
61
66
|
LoginRequest,
|
|
62
67
|
LoginResponse,
|
|
68
|
+
MinimalBookingInfo,
|
|
63
69
|
NonBeneficiaryTransferDestination,
|
|
64
70
|
OrganisationBalanceLimitResponse,
|
|
65
71
|
OrganisationConfig,
|
|
@@ -113,6 +119,10 @@ export {
|
|
|
113
119
|
AccountCreationRequest,
|
|
114
120
|
AccountResponse,
|
|
115
121
|
AccountSearchRequest,
|
|
122
|
+
AccountStatementRequest,
|
|
123
|
+
AccountStatementResponse,
|
|
124
|
+
AccountStatementResponseItem,
|
|
125
|
+
AccountStatementTransactionType,
|
|
116
126
|
AddressInfo,
|
|
117
127
|
AgentBookingInfo,
|
|
118
128
|
AmendCardRequest,
|
|
@@ -122,6 +132,7 @@ export {
|
|
|
122
132
|
BookingInfo,
|
|
123
133
|
BookingInfoRequest,
|
|
124
134
|
BookingInfoResponse,
|
|
135
|
+
BookingInfoType,
|
|
125
136
|
CardAmendmentScheduledTaskRequest,
|
|
126
137
|
CardAmendmentScheduledTaskResponse,
|
|
127
138
|
CardDeliveryRequest,
|
|
@@ -170,6 +181,7 @@ export {
|
|
|
170
181
|
LegacyBookingInfoRequest,
|
|
171
182
|
LoginRequest,
|
|
172
183
|
LoginResponse,
|
|
184
|
+
MinimalBookingInfo,
|
|
173
185
|
NonBeneficiaryTransferDestination,
|
|
174
186
|
OrganisationBalanceLimitResponse,
|
|
175
187
|
OrganisationConfig,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AccountStatementResponseItem } from "./AccountStatementResponseItem"
|
|
2
|
+
|
|
3
|
+
export interface AccountStatementResponse {
|
|
4
|
+
openingAvailableBalance: number
|
|
5
|
+
closingAvailableBalance: number
|
|
6
|
+
openingActualBalance: number
|
|
7
|
+
closingActualBalance: number
|
|
8
|
+
statements: AccountStatementResponseItem[]
|
|
9
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as isoly from "isoly"
|
|
2
|
+
import { AccountStatementTransactionType } from "./AccountStatementTransactionType"
|
|
3
|
+
import { MinimalBookingInfo } from "./MinimalBookingInfo"
|
|
4
|
+
import { ProviderCode } from "./ProviderCode"
|
|
5
|
+
|
|
6
|
+
export interface AccountStatementResponseItem {
|
|
7
|
+
transactionType: AccountStatementTransactionType
|
|
8
|
+
amount: BillingTransactionAmountPair
|
|
9
|
+
bookingInfo: MinimalBookingInfo
|
|
10
|
+
timestamp: isoly.DateTime
|
|
11
|
+
actualBalance: number
|
|
12
|
+
availableBalance: number
|
|
13
|
+
rowType: StatementReportRowType
|
|
14
|
+
ids: StatementRowIds
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface BillingTransactionAmountPair {
|
|
18
|
+
billing: AmountPair
|
|
19
|
+
transaction: AmountPair
|
|
20
|
+
fxRate: number
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface AmountPair {
|
|
24
|
+
amount: number
|
|
25
|
+
currency: isoly.Currency
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type StatementReportRowType = "FULL" | "SUMMARY"
|
|
29
|
+
|
|
30
|
+
export interface StatementRowIds {
|
|
31
|
+
rowId: string
|
|
32
|
+
providerCode: ProviderCode
|
|
33
|
+
providerCardId: string
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const accountStatementTransactionType = [
|
|
2
|
+
"AUTHORISATION",
|
|
3
|
+
"AUTHORISATION_DECLINED",
|
|
4
|
+
"SETTLEMENT",
|
|
5
|
+
"AUTHORISATION_AND_SETTLEMENT",
|
|
6
|
+
"REVERSAL",
|
|
7
|
+
"REFUND",
|
|
8
|
+
"TRANSFER_IN",
|
|
9
|
+
"TRANSFER_OUT",
|
|
10
|
+
] as const
|
|
11
|
+
export type AccountStatementTransactionType = typeof accountStatementTransactionType[number]
|
|
12
|
+
|
|
13
|
+
export namespace AccountStatementTransactionType {
|
|
14
|
+
export function is(value: unknown): value is AccountStatementTransactionType {
|
|
15
|
+
return (
|
|
16
|
+
typeof value == "string" && accountStatementTransactionType.includes(value as AccountStatementTransactionType)
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const bookingInfotype = ["HOTEL", "FLIGHT", "FIVE_FIELDS"] as const
|
|
2
|
+
export type BookingInfoType = typeof bookingInfotype[number]
|
|
3
|
+
|
|
4
|
+
export namespace BookingInfoType {
|
|
5
|
+
export function is(value: unknown): value is BookingInfoType {
|
|
6
|
+
return typeof value == "string" && bookingInfotype.includes(value as BookingInfoType)
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -4,6 +4,7 @@ import { CardDeliveryRequest } from "./CardDeliveryRequest"
|
|
|
4
4
|
import { CardStateChangeScheduledTaskRequest } from "./CardStateChangeScheduledTaskRequest"
|
|
5
5
|
import { CardTypeSpecification } from "./CardTypeSpecification"
|
|
6
6
|
import { ProviderCode } from "./ProviderCode"
|
|
7
|
+
import { ScheduledTaskRequest } from "./ScheduledTaskRequest"
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Creates a virtual card.
|
|
@@ -18,7 +19,7 @@ export interface CreateCardRequest {
|
|
|
18
19
|
fundingDate?: string
|
|
19
20
|
expiryDate?: any
|
|
20
21
|
usage?: "SINGLE_USE" | "MULTIPLE_USE"
|
|
21
|
-
schedule?: (CardAmendmentScheduledTaskRequest | CardStateChangeScheduledTaskRequest)[]
|
|
22
|
+
schedule?: (CardAmendmentScheduledTaskRequest | CardStateChangeScheduledTaskRequest | ScheduledTaskRequest)[]
|
|
22
23
|
friendlyName?: string
|
|
23
24
|
delivery?: CardDeliveryRequest
|
|
24
25
|
}
|
package/model/index.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { AccountCreationRequest } from "./AccountCreationRequest"
|
|
2
2
|
import { AccountResponse } from "./AccountResponse"
|
|
3
3
|
import { AccountSearchRequest } from "./AccountSearchRequest"
|
|
4
|
+
import { AccountStatementRequest } from "./AccountStatementRequest"
|
|
5
|
+
import { AccountStatementResponse } from "./AccountStatementResponse"
|
|
6
|
+
import { AccountStatementResponseItem } from "./AccountStatementResponseItem"
|
|
7
|
+
import { AccountStatementTransactionType } from "./AccountStatementTransactionType"
|
|
4
8
|
import { AddressInfo } from "./AddressInfo"
|
|
5
9
|
import { AgentBookingInfo } from "./AgentBookingInfo"
|
|
6
10
|
import { AmendCardRequest } from "./AmendCardRequest"
|
|
@@ -10,6 +14,7 @@ import { BookedProductInfo } from "./BookedProductInfo"
|
|
|
10
14
|
import { BookingInfo } from "./BookingInfo"
|
|
11
15
|
import { BookingInfoRequest } from "./BookingInfoRequest"
|
|
12
16
|
import { BookingInfoResponse } from "./BookingInfoResponse"
|
|
17
|
+
import { BookingInfoType } from "./BookingInfoType"
|
|
13
18
|
import { CardAmendmentScheduledTaskRequest } from "./CardAmendmentScheduledTaskRequest"
|
|
14
19
|
import { CardAmendmentScheduledTaskResponse } from "./CardAmendmentScheduledTaskResponse"
|
|
15
20
|
import { CardDeliveryRequest } from "./CardDeliveryRequest"
|
|
@@ -58,6 +63,7 @@ import { Issue } from "./Issue"
|
|
|
58
63
|
import { LegacyBookingInfoRequest } from "./LegacyBookingInfoRequest"
|
|
59
64
|
import { LoginRequest } from "./LoginRequest"
|
|
60
65
|
import { LoginResponse } from "./LoginResponse"
|
|
66
|
+
import { MinimalBookingInfo } from "./MinimalBookingInfo"
|
|
61
67
|
import { NonBeneficiaryTransferDestination } from "./NonBeneficiaryTransferDestination"
|
|
62
68
|
import { OrganisationBalanceLimitResponse } from "./OrganisationBalanceLimitResponse"
|
|
63
69
|
import { OrganisationConfig } from "./OrganisationConfig"
|
|
@@ -109,6 +115,10 @@ export {
|
|
|
109
115
|
AccountCreationRequest,
|
|
110
116
|
AccountResponse,
|
|
111
117
|
AccountSearchRequest,
|
|
118
|
+
AccountStatementRequest,
|
|
119
|
+
AccountStatementResponse,
|
|
120
|
+
AccountStatementResponseItem,
|
|
121
|
+
AccountStatementTransactionType,
|
|
112
122
|
AddressInfo,
|
|
113
123
|
AgentBookingInfo,
|
|
114
124
|
AmendCardRequest,
|
|
@@ -118,6 +128,7 @@ export {
|
|
|
118
128
|
BookingInfo,
|
|
119
129
|
BookingInfoRequest,
|
|
120
130
|
BookingInfoResponse,
|
|
131
|
+
BookingInfoType,
|
|
121
132
|
CardAmendmentScheduledTaskRequest,
|
|
122
133
|
CardAmendmentScheduledTaskResponse,
|
|
123
134
|
CardDeliveryRequest,
|
|
@@ -166,6 +177,7 @@ export {
|
|
|
166
177
|
LegacyBookingInfoRequest,
|
|
167
178
|
LoginRequest,
|
|
168
179
|
LoginResponse,
|
|
180
|
+
MinimalBookingInfo,
|
|
169
181
|
NonBeneficiaryTransferDestination,
|
|
170
182
|
OrganisationBalanceLimitResponse,
|
|
171
183
|
OrganisationConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pax2pay/client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.75",
|
|
4
4
|
"description": "Client library for the Pax2Pay API",
|
|
5
5
|
"author": "Pax2Pay Ltd.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,12 +64,12 @@
|
|
|
64
64
|
"babel-core": "^6.26.3",
|
|
65
65
|
"babel-jest": "^27.2.4",
|
|
66
66
|
"dotenv": "^10.0.0",
|
|
67
|
-
"eslint": "8.
|
|
68
|
-
"eslint-plugin-prettierx": "github:
|
|
67
|
+
"eslint": "^8.11.0",
|
|
68
|
+
"eslint-plugin-prettierx": "github:utily/eslint-plugin-prettierx#utily-20220323",
|
|
69
69
|
"eslint-plugin-simple-import-sort": "^7.0.0",
|
|
70
70
|
"jest": "^27.3.1",
|
|
71
71
|
"openapi-to-ts": "^1.1.0",
|
|
72
|
-
"prettierx": "github:
|
|
72
|
+
"prettierx": "github:utily/prettierx#utily-20220323",
|
|
73
73
|
"rimraf": "^3.0.2",
|
|
74
74
|
"ts-jest": "^27.0.7",
|
|
75
75
|
"typescript": "^4.4.4",
|