@pax2pay/client 0.9.1 → 0.9.3
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/Client/Reports/index.ts +26 -0
- package/dist/Client/Reports/index.d.ts +24 -0
- package/dist/Client/Reports/index.js +24 -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/DayOfWeek.d.ts +7 -0
- package/dist/model/DayOfWeek.js +8 -0
- package/dist/model/DayOfWeek.js.map +1 -0
- package/dist/model/DestinationType.d.ts +7 -0
- package/dist/model/DestinationType.js +8 -0
- package/dist/model/DestinationType.js.map +1 -0
- package/dist/model/EmailReportFileDestination.d.ts +9 -0
- package/dist/model/EmailReportFileDestination.js +11 -0
- package/dist/model/EmailReportFileDestination.js.map +1 -0
- package/dist/model/FundingAccountTransferDestinationResponse.d.ts +1 -1
- package/dist/model/FundingAccountTransferDestinationResponse.js +2 -4
- package/dist/model/FundingAccountTransferDestinationResponse.js.map +1 -1
- package/dist/model/Report/ReportFileDestination.d.ts +14 -0
- package/dist/model/Report/ReportFileDestination.js +10 -0
- package/dist/model/Report/ReportFileDestination.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionFrequencyRequest.d.ts +11 -0
- package/dist/model/Report/ReportSubscriptionFrequencyRequest.js +13 -0
- package/dist/model/Report/ReportSubscriptionFrequencyRequest.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionFrequencyType.d.ts +7 -0
- package/dist/model/Report/ReportSubscriptionFrequencyType.js +8 -0
- package/dist/model/Report/ReportSubscriptionFrequencyType.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionInvocationOutcome.d.ts +7 -0
- package/dist/model/Report/ReportSubscriptionInvocationOutcome.js +8 -0
- package/dist/model/Report/ReportSubscriptionInvocationOutcome.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionInvocationResponse.d.ts +11 -0
- package/dist/model/Report/ReportSubscriptionInvocationResponse.js +13 -0
- package/dist/model/Report/ReportSubscriptionInvocationResponse.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionRequest.d.ts +16 -0
- package/dist/model/Report/ReportSubscriptionRequest.js +18 -0
- package/dist/model/Report/ReportSubscriptionRequest.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionResponse.d.ts +21 -0
- package/dist/model/Report/ReportSubscriptionResponse.js +23 -0
- package/dist/model/Report/ReportSubscriptionResponse.js.map +1 -0
- package/dist/model/Report/ReportSubscriptionStatus.d.ts +7 -0
- package/dist/model/Report/ReportSubscriptionStatus.js +8 -0
- package/dist/model/Report/ReportSubscriptionStatus.js.map +1 -0
- package/dist/model/Report/ReportType.d.ts +7 -0
- package/dist/model/Report/ReportType.js +8 -0
- package/dist/model/Report/ReportType.js.map +1 -0
- package/dist/model/SftpReportFileDestination.d.ts +13 -0
- package/dist/model/SftpReportFileDestination.js +15 -0
- package/dist/model/SftpReportFileDestination.js.map +1 -0
- package/dist/model/index.d.ts +14 -1
- package/dist/model/index.js +14 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +27 -1
- package/model/DayOfWeek.ts +9 -0
- package/model/DestinationType.ts +9 -0
- package/model/EmailReportFileDestination.ts +15 -0
- package/model/FundingAccountTransferDestinationResponse.ts +4 -6
- package/model/Report/ReportFileDestination.ts +23 -0
- package/model/Report/ReportSubscriptionFrequencyRequest.ts +17 -0
- package/model/Report/ReportSubscriptionFrequencyType.ts +9 -0
- package/model/Report/ReportSubscriptionInvocationOutcome.ts +9 -0
- package/model/Report/ReportSubscriptionInvocationResponse.ts +17 -0
- package/model/Report/ReportSubscriptionRequest.ts +24 -0
- package/model/Report/ReportSubscriptionResponse.ts +34 -0
- package/model/Report/ReportSubscriptionStatus.ts +9 -0
- package/model/Report/ReportType.ts +8 -0
- package/model/SftpReportFileDestination.ts +23 -0
- package/model/index.ts +28 -2
- package/package.json +1 -1
- package/model/Report/ChargeBackItem.ts +0 -33
package/model/index.ts
CHANGED
|
@@ -80,7 +80,9 @@ import { CredentialResponse } from "./CredentialResponse"
|
|
|
80
80
|
import { Criteria } from "./Criteria"
|
|
81
81
|
import { CurrencyConversionRequest } from "./CurrencyConversionRequest"
|
|
82
82
|
import { CurrencyConversionResponse } from "./CurrencyConversionResponse"
|
|
83
|
+
import { DayOfWeek } from "./DayOfWeek"
|
|
83
84
|
import { DeliveryStatus } from "./DeliveryStatus"
|
|
85
|
+
import { DestinationType } from "./DestinationType"
|
|
84
86
|
import { DownloadableResponse } from "./DownloadableResponse"
|
|
85
87
|
import { DownloadCardReportRequest } from "./DownloadCardReportRequest"
|
|
86
88
|
import { DownloadFileFormat } from "./DownloadFileFormat"
|
|
@@ -94,6 +96,7 @@ import { EditPaymentAmountScheduleRequest } from "./EditPaymentAmountScheduleReq
|
|
|
94
96
|
import { EditPaymentCloseDateRequest } from "./EditPaymentCloseDateRequest"
|
|
95
97
|
import { EditPaymentMetadataRequest } from "./EditPaymentMetadataRequest"
|
|
96
98
|
import { EditPaymentScheduleRequest } from "./EditPaymentScheduleRequest"
|
|
99
|
+
import { EmailReportFileDestination } from "./EmailReportFileDestination"
|
|
97
100
|
import { EmailValidationResponse } from "./EmailValidationResponse"
|
|
98
101
|
import { ErrorMessageDto } from "./ErrorMessageDto"
|
|
99
102
|
import { ErrorResponse } from "./ErrorResponse"
|
|
@@ -193,6 +196,15 @@ import { Range } from "./Range"
|
|
|
193
196
|
import { References } from "./References"
|
|
194
197
|
import { RelogWithNewSessionDetailsRequest } from "./RelogWithNewSessionDetailsRequest"
|
|
195
198
|
import { Report } from "./Report"
|
|
199
|
+
import { ReportFileDestination } from "./Report/ReportFileDestination"
|
|
200
|
+
import { ReportSubscriptionFrequencyRequest } from "./Report/ReportSubscriptionFrequencyRequest"
|
|
201
|
+
import { ReportSubscriptionFrequencyType } from "./Report/ReportSubscriptionFrequencyType"
|
|
202
|
+
import { ReportSubscriptionInvocationOutcome } from "./Report/ReportSubscriptionInvocationOutcome"
|
|
203
|
+
import { ReportSubscriptionInvocationResponse } from "./Report/ReportSubscriptionInvocationResponse"
|
|
204
|
+
import { ReportSubscriptionRequest } from "./Report/ReportSubscriptionRequest"
|
|
205
|
+
import { ReportSubscriptionResponse } from "./Report/ReportSubscriptionResponse"
|
|
206
|
+
import { ReportSubscriptionStatus } from "./Report/ReportSubscriptionStatus"
|
|
207
|
+
import { ReportType } from "./Report/ReportType"
|
|
196
208
|
import { RoleResponse } from "./RoleResponse"
|
|
197
209
|
import { RolesetResponse } from "./RolesetResponse"
|
|
198
210
|
import { Room } from "./Room"
|
|
@@ -204,6 +216,7 @@ import { SearchRolesetsRequest } from "./SearchRolesetsRequest"
|
|
|
204
216
|
import { SecurityConfig } from "./SecurityConfig"
|
|
205
217
|
import { Segment } from "./Segment"
|
|
206
218
|
import { SetAvailableCardTypesRequest } from "./SetAvailableCardTypesRequest"
|
|
219
|
+
import { SftpReportFileDestination } from "./SftpReportFileDestination"
|
|
207
220
|
import { SsoLoginRequest } from "./SsoLoginRequest"
|
|
208
221
|
import { SsoProviderConfig } from "./SsoProviderConfig"
|
|
209
222
|
import { SsoProviderType } from "./SsoProviderType"
|
|
@@ -327,7 +340,6 @@ export {
|
|
|
327
340
|
CardTypeFlag,
|
|
328
341
|
CardUsage,
|
|
329
342
|
CategoryFundingAccountAccessRequest,
|
|
330
|
-
UpdateCategoryRequest,
|
|
331
343
|
CategoryLimitResponse,
|
|
332
344
|
CategoryResponse,
|
|
333
345
|
CategoryStatus,
|
|
@@ -345,7 +357,10 @@ export {
|
|
|
345
357
|
Criteria,
|
|
346
358
|
CurrencyConversionRequest,
|
|
347
359
|
CurrencyConversionResponse,
|
|
360
|
+
DayOfWeek,
|
|
348
361
|
DeliveryStatus,
|
|
362
|
+
DestinationType,
|
|
363
|
+
DownloadableResponse,
|
|
349
364
|
DownloadCardReportRequest,
|
|
350
365
|
DownloadFileFormat,
|
|
351
366
|
DownloadOrganisationSearchRequest,
|
|
@@ -358,6 +373,7 @@ export {
|
|
|
358
373
|
EditPaymentCloseDateRequest,
|
|
359
374
|
EditPaymentMetadataRequest,
|
|
360
375
|
EditPaymentScheduleRequest,
|
|
376
|
+
EmailReportFileDestination,
|
|
361
377
|
EmailValidationResponse,
|
|
362
378
|
ErrorMessageDto,
|
|
363
379
|
ErrorResponse,
|
|
@@ -457,7 +473,15 @@ export {
|
|
|
457
473
|
References,
|
|
458
474
|
RelogWithNewSessionDetailsRequest,
|
|
459
475
|
Report,
|
|
460
|
-
|
|
476
|
+
ReportFileDestination,
|
|
477
|
+
ReportSubscriptionFrequencyRequest,
|
|
478
|
+
ReportSubscriptionFrequencyType,
|
|
479
|
+
ReportSubscriptionInvocationOutcome,
|
|
480
|
+
ReportSubscriptionInvocationResponse,
|
|
481
|
+
ReportSubscriptionResponse,
|
|
482
|
+
ReportSubscriptionStatus,
|
|
483
|
+
ReportType,
|
|
484
|
+
ReportSubscriptionRequest,
|
|
461
485
|
RoleResponse,
|
|
462
486
|
RolesetResponse,
|
|
463
487
|
Room,
|
|
@@ -467,6 +491,7 @@ export {
|
|
|
467
491
|
SearchRolesetsRequest,
|
|
468
492
|
SecurityConfig,
|
|
469
493
|
SetAvailableCardTypesRequest,
|
|
494
|
+
SftpReportFileDestination,
|
|
470
495
|
Segment,
|
|
471
496
|
SsoLoginRequest,
|
|
472
497
|
SsoProviderConfig,
|
|
@@ -509,6 +534,7 @@ export {
|
|
|
509
534
|
TwoFactorAuthenticationRegistrationResponse,
|
|
510
535
|
UpdateAccountRequest,
|
|
511
536
|
UpdateBeneficiaryRequest,
|
|
537
|
+
UpdateCategoryRequest,
|
|
512
538
|
UpdateMerchantRequest,
|
|
513
539
|
UpdateRolesetRequest,
|
|
514
540
|
Usage,
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import * as isoly from "isoly"
|
|
2
|
-
/**
|
|
3
|
-
* An item in the charge-back report
|
|
4
|
-
*/
|
|
5
|
-
export interface ChargeBackItem {
|
|
6
|
-
fullRefunds: Refund[]
|
|
7
|
-
partialRefunds: Refund[]
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface Refund {
|
|
11
|
-
bookingReference: string //not necessary? / change name?
|
|
12
|
-
agentBookingReference: string //not necessary? / change name?
|
|
13
|
-
supplierCode: string
|
|
14
|
-
cardId: string
|
|
15
|
-
leadPassengerName: string //not necessary?
|
|
16
|
-
totalPassengers: number //not necessary?
|
|
17
|
-
bookingDate: isoly.Date
|
|
18
|
-
departureDate: isoly.Date
|
|
19
|
-
departureAirport: string //not necessary?
|
|
20
|
-
arrivalAirport: string //not necessary?
|
|
21
|
-
outboundFlightNumbers: any[] //not necessary?
|
|
22
|
-
homeboundFlightNumbers: any[] //not necessary?
|
|
23
|
-
modularTransactionInfo: ModularTransactionInfo
|
|
24
|
-
claimAmount: number
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ModularTransactionInfo {
|
|
28
|
-
bookingReference: string
|
|
29
|
-
settlementId: string
|
|
30
|
-
cardId: string
|
|
31
|
-
transactionAmount: number
|
|
32
|
-
transactionCurrency: isoly.Currency
|
|
33
|
-
}
|