@pax2pay/client 0.9.2 → 0.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/Client/Auth/index.ts +4 -4
  2. package/Client/Reports/index.ts +26 -0
  3. package/Client/Users/index.ts +3 -3
  4. package/dist/Client/Auth/index.d.ts +3 -3
  5. package/dist/Client/Auth/index.js.map +1 -1
  6. package/dist/Client/Reports/index.d.ts +24 -0
  7. package/dist/Client/Reports/index.js +24 -0
  8. package/dist/Client/Reports/index.js.map +1 -1
  9. package/dist/Client/Users/index.d.ts +1 -1
  10. package/dist/Client/Users/index.js.map +1 -1
  11. package/dist/index.d.ts +2 -2
  12. package/dist/index.js +2 -2
  13. package/dist/index.js.map +1 -1
  14. package/dist/model/DayOfWeek.d.ts +7 -0
  15. package/dist/model/DayOfWeek.js +8 -0
  16. package/dist/model/DayOfWeek.js.map +1 -0
  17. package/dist/model/DestinationType.d.ts +7 -0
  18. package/dist/model/DestinationType.js +8 -0
  19. package/dist/model/DestinationType.js.map +1 -0
  20. package/dist/model/EmailReportFileDestination.d.ts +9 -0
  21. package/dist/model/EmailReportFileDestination.js +11 -0
  22. package/dist/model/EmailReportFileDestination.js.map +1 -0
  23. package/dist/model/Report/ReportFileDestination.d.ts +14 -0
  24. package/dist/model/Report/ReportFileDestination.js +10 -0
  25. package/dist/model/Report/ReportFileDestination.js.map +1 -0
  26. package/dist/model/Report/ReportSubscriptionFrequencyRequest.d.ts +11 -0
  27. package/dist/model/Report/ReportSubscriptionFrequencyRequest.js +13 -0
  28. package/dist/model/Report/ReportSubscriptionFrequencyRequest.js.map +1 -0
  29. package/dist/model/Report/ReportSubscriptionFrequencyType.d.ts +7 -0
  30. package/dist/model/Report/ReportSubscriptionFrequencyType.js +8 -0
  31. package/dist/model/Report/ReportSubscriptionFrequencyType.js.map +1 -0
  32. package/dist/model/Report/ReportSubscriptionInvocationOutcome.d.ts +7 -0
  33. package/dist/model/Report/ReportSubscriptionInvocationOutcome.js +8 -0
  34. package/dist/model/Report/ReportSubscriptionInvocationOutcome.js.map +1 -0
  35. package/dist/model/Report/ReportSubscriptionInvocationResponse.d.ts +11 -0
  36. package/dist/model/Report/ReportSubscriptionInvocationResponse.js +13 -0
  37. package/dist/model/Report/ReportSubscriptionInvocationResponse.js.map +1 -0
  38. package/dist/model/Report/ReportSubscriptionRequest.d.ts +16 -0
  39. package/dist/model/Report/ReportSubscriptionRequest.js +18 -0
  40. package/dist/model/Report/ReportSubscriptionRequest.js.map +1 -0
  41. package/dist/model/Report/ReportSubscriptionResponse.d.ts +21 -0
  42. package/dist/model/Report/ReportSubscriptionResponse.js +23 -0
  43. package/dist/model/Report/ReportSubscriptionResponse.js.map +1 -0
  44. package/dist/model/Report/ReportSubscriptionStatus.d.ts +7 -0
  45. package/dist/model/Report/ReportSubscriptionStatus.js +8 -0
  46. package/dist/model/Report/ReportSubscriptionStatus.js.map +1 -0
  47. package/dist/model/Report/ReportType.d.ts +7 -0
  48. package/dist/model/Report/ReportType.js +8 -0
  49. package/dist/model/Report/ReportType.js.map +1 -0
  50. package/dist/model/Role.d.ts +7 -0
  51. package/dist/model/Role.js +114 -0
  52. package/dist/model/Role.js.map +1 -0
  53. package/dist/model/RoleResponse.d.ts +2 -1
  54. package/dist/model/SftpReportFileDestination.d.ts +13 -0
  55. package/dist/model/SftpReportFileDestination.js +15 -0
  56. package/dist/model/SftpReportFileDestination.js.map +1 -0
  57. package/dist/model/index.d.ts +15 -1
  58. package/dist/model/index.js +15 -1
  59. package/dist/model/index.js.map +1 -1
  60. package/index.ts +29 -1
  61. package/model/DayOfWeek.ts +9 -0
  62. package/model/DestinationType.ts +9 -0
  63. package/model/EmailReportFileDestination.ts +15 -0
  64. package/model/Report/ReportFileDestination.ts +23 -0
  65. package/model/Report/ReportSubscriptionFrequencyRequest.ts +17 -0
  66. package/model/Report/ReportSubscriptionFrequencyType.ts +9 -0
  67. package/model/Report/ReportSubscriptionInvocationOutcome.ts +9 -0
  68. package/model/Report/ReportSubscriptionInvocationResponse.ts +17 -0
  69. package/model/Report/ReportSubscriptionRequest.ts +24 -0
  70. package/model/Report/ReportSubscriptionResponse.ts +34 -0
  71. package/model/Report/ReportSubscriptionStatus.ts +9 -0
  72. package/model/Report/ReportType.ts +8 -0
  73. package/model/Role.ts +115 -0
  74. package/model/RoleResponse.ts +3 -1
  75. package/model/SftpReportFileDestination.ts +23 -0
  76. package/model/index.ts +30 -2
  77. package/package.json +1 -1
  78. package/model/Report/ChargeBackItem.ts +0 -33
@@ -0,0 +1,23 @@
1
+ import { isly } from "isly"
2
+ import { DestinationType } from "../DestinationType"
3
+ import { EmailReportFileDestination } from "../EmailReportFileDestination"
4
+ import { SftpReportFileDestination } from "../SftpReportFileDestination"
5
+
6
+ export type ReportFileDestination = (EmailReportFileDestination | SftpReportFileDestination) & {
7
+ destinationType: DestinationType
8
+ }
9
+
10
+ export namespace ReportFileDestination {
11
+ export type Type = {
12
+ destinationType: DestinationType
13
+ }
14
+ export const type = isly.intersection<
15
+ ReportFileDestination,
16
+ Type,
17
+ EmailReportFileDestination | SftpReportFileDestination
18
+ >(
19
+ isly.object<Type>({ destinationType: DestinationType.type }),
20
+ isly.union(EmailReportFileDestination.type, SftpReportFileDestination.type)
21
+ )
22
+ export const is = type.is
23
+ }
@@ -0,0 +1,17 @@
1
+ import { isly } from "isly"
2
+ import { DayOfWeek } from "../DayOfWeek"
3
+ import { ReportSubscriptionFrequencyType } from "./ReportSubscriptionFrequencyType"
4
+
5
+ export interface ReportSubscriptionFrequencyRequest {
6
+ type: ReportSubscriptionFrequencyType
7
+ dayOfWeek?: DayOfWeek
8
+ dayOfMonth?: number
9
+ }
10
+ export namespace ReportSubscriptionFrequencyRequest {
11
+ export const type = isly.object<ReportSubscriptionFrequencyRequest>({
12
+ type: ReportSubscriptionFrequencyType.type,
13
+ dayOfWeek: DayOfWeek.type.optional(),
14
+ dayOfMonth: isly.number("integer").optional(),
15
+ })
16
+ export const is = type.is
17
+ }
@@ -0,0 +1,9 @@
1
+ import { isly } from "isly"
2
+
3
+ export type ReportSubscriptionFrequencyType = typeof ReportSubscriptionFrequencyType.values[number]
4
+
5
+ export namespace ReportSubscriptionFrequencyType {
6
+ export const values = ["DAILY", "WEEKLY", "MONTHLY"] as const
7
+ export const type = isly.string<ReportSubscriptionFrequencyType>(values)
8
+ export const is = type.is
9
+ }
@@ -0,0 +1,9 @@
1
+ import { isly } from "isly"
2
+
3
+ export type ReportSubscriptionInvocationOutcome = typeof ReportSubscriptionInvocationOutcome.values[number]
4
+
5
+ export namespace ReportSubscriptionInvocationOutcome {
6
+ export const values = ["SUCCESS", "FAILURE"] as const
7
+ export const type = isly.string<ReportSubscriptionInvocationOutcome>(values)
8
+ export const is = type.is
9
+ }
@@ -0,0 +1,17 @@
1
+ import { DateTime } from "isoly"
2
+ import { isly } from "isly"
3
+ import { ReportSubscriptionInvocationOutcome } from "./ReportSubscriptionInvocationOutcome"
4
+
5
+ export interface ReportSubscriptionInvocationResponse {
6
+ createdAt: DateTime
7
+ outcome: ReportSubscriptionInvocationOutcome
8
+ errorMessage?: string
9
+ }
10
+ export namespace ReportSubscriptionInvocationResponse {
11
+ export const type = isly.object<ReportSubscriptionInvocationResponse>({
12
+ createdAt: isly.fromIs("DateTime", DateTime.is),
13
+ outcome: ReportSubscriptionInvocationOutcome.type,
14
+ errorMessage: isly.string().optional(),
15
+ })
16
+ export const is = type.is
17
+ }
@@ -0,0 +1,24 @@
1
+ import { isly } from "isly"
2
+ import { DestinationType } from "../DestinationType"
3
+ import { DownloadFileFormat } from "../DownloadFileFormat"
4
+ import { ReportSubscriptionFrequencyRequest } from "./ReportSubscriptionFrequencyRequest"
5
+ import { ReportType } from "./ReportType"
6
+ export interface ReportSubscriptionRequest {
7
+ name?: string
8
+ reportType: ReportType
9
+ fileFormat: DownloadFileFormat
10
+ request?: Record<string, any>
11
+ frequency: ReportSubscriptionFrequencyRequest
12
+ destination: DestinationType
13
+ }
14
+ export namespace ReportSubscriptionRequest {
15
+ export const type = isly.object<ReportSubscriptionRequest>({
16
+ name: isly.string().optional(),
17
+ reportType: ReportType.type,
18
+ fileFormat: DownloadFileFormat.type,
19
+ request: isly.record(isly.string(), isly.any()).optional(),
20
+ frequency: isly.fromIs("ReportSubscriptionFrequencyRequest", ReportSubscriptionFrequencyRequest.is),
21
+ destination: DestinationType.type,
22
+ })
23
+ export const is = type.is
24
+ }
@@ -0,0 +1,34 @@
1
+ import { isly } from "isly"
2
+ import { DownloadFileFormat } from "../DownloadFileFormat"
3
+ import { ReportFileDestination } from "./ReportFileDestination"
4
+ import { ReportSubscriptionFrequencyRequest } from "./ReportSubscriptionFrequencyRequest"
5
+ import { ReportSubscriptionInvocationResponse } from "./ReportSubscriptionInvocationResponse"
6
+ import { ReportSubscriptionStatus } from "./ReportSubscriptionStatus"
7
+ import { ReportType } from "./ReportType"
8
+
9
+ export interface ReportSubscriptionResponse {
10
+ id: string
11
+ name: string
12
+ reportType: ReportType
13
+ fileFormat: DownloadFileFormat
14
+ status: ReportSubscriptionStatus
15
+ request: Record<string, any>
16
+ frequency: ReportSubscriptionFrequencyRequest
17
+ destination: ReportFileDestination
18
+ lastInvocation?: ReportSubscriptionInvocationResponse
19
+ }
20
+
21
+ export namespace ReportSubscriptionResponse {
22
+ export const type = isly.object<ReportSubscriptionResponse>({
23
+ id: isly.string(),
24
+ name: isly.string(),
25
+ reportType: ReportType.type,
26
+ fileFormat: DownloadFileFormat.type,
27
+ status: ReportSubscriptionStatus.type,
28
+ request: isly.record(isly.string(), isly.any()),
29
+ frequency: isly.fromIs("ReportSubscriptionFrequencyRequest", ReportSubscriptionFrequencyRequest.is),
30
+ destination: isly.fromIs("ReportFileDestination", ReportFileDestination.is),
31
+ lastInvocation: ReportSubscriptionInvocationResponse.type.optional(),
32
+ })
33
+ export const is = type.is
34
+ }
@@ -0,0 +1,9 @@
1
+ import { isly } from "isly"
2
+
3
+ export type ReportSubscriptionStatus = typeof ReportSubscriptionStatus.values[number]
4
+
5
+ export namespace ReportSubscriptionStatus {
6
+ export const values = ["ACTIVE", "DELETED"] as const
7
+ export const type = isly.string<ReportSubscriptionStatus>(values)
8
+ export const is = type.is
9
+ }
@@ -0,0 +1,8 @@
1
+ import { isly } from "isly"
2
+
3
+ export type ReportType = typeof ReportType.values[number]
4
+ export namespace ReportType {
5
+ export const values = ["RECONCILIATION", "STATEMENT"] as const
6
+ export const type = isly.string<ReportType>(values)
7
+ export const is = type.is
8
+ }
package/model/Role.ts ADDED
@@ -0,0 +1,115 @@
1
+ import { isly } from "isly"
2
+
3
+ export type Role = typeof Role.values[number]
4
+
5
+ export namespace Role {
6
+ export const values = [
7
+ "user.create", // users
8
+ "user.list",
9
+ "user.list.own-category",
10
+ "user.view.other",
11
+ "user.edit.self",
12
+ "user.edit.other",
13
+ "user.edit-status",
14
+ "user.change-password.other",
15
+ "user.2fa.remove",
16
+ "api-key.create",
17
+ "api-key.edit",
18
+ "api-key.view",
19
+ "funding-account.view", // funding accounts
20
+ "funding-account.list",
21
+ "funding-account.summary",
22
+ "funding-account.edit",
23
+ "funding-account.add",
24
+ "funding-account.create-new",
25
+ "card.create", // cards
26
+ "card.list",
27
+ "card.view",
28
+ "card.cancel",
29
+ "card.freeze-thaw",
30
+ "card.amend.balance",
31
+ "card.statements",
32
+ "card.create.find-and-amend",
33
+ "card.create.batch",
34
+ "card.create.delivery.email",
35
+ "card.reverse-authorisation",
36
+ "card-options.view",
37
+ "card-options.edit",
38
+ "card-type.edit",
39
+ "card-type.profile.view",
40
+ "card-type.profile.edit",
41
+ "card-type.profile.edit-shared",
42
+ "card-type.profile.edit-default",
43
+ "card-type.profile.set",
44
+ "beneficiary.view", // transfers & beneficiaries
45
+ "beneficiary.list",
46
+ "beneficiary.create",
47
+ "beneficiary.edit",
48
+ "beneficiary.create.rebate",
49
+ "transfer.create",
50
+ "transfer.create.delivery.email",
51
+ "transfer.create.beneficiary",
52
+ "transfer.create.non-beneficiary",
53
+ "transfer.create.funding-account",
54
+ "transfer.view",
55
+ "transfer.list",
56
+ "transfer.edit",
57
+ "transfer.cancel",
58
+ "booking-info.create", // transactions & find and amend
59
+ "booking-info.update",
60
+ "booking-info.update.overwrite",
61
+ "booking-info.update.add",
62
+ "transaction.create",
63
+ "transaction.view",
64
+ "transaction.list",
65
+ "transaction.list.card",
66
+ "provider-transaction.insert", // provider transactions
67
+ "provider.modulr", // providers
68
+ "provider.ixaris",
69
+ "provider.wex",
70
+ "provider.conferma",
71
+ "provider.pax2pay",
72
+ "limit.edit.individual", // limits
73
+ "limit.edit.category",
74
+ "limit.edit-category-on-user",
75
+ "pending.request", // pending stuff
76
+ "pending.approve.card",
77
+ "pending.approve.transfer",
78
+ "pending.approve.payment",
79
+ "pending.approve.card-amendment",
80
+ "assume", // admin stuff
81
+ "indefinite-password",
82
+ "ops-tasks",
83
+ "omnisetup",
84
+ "credentials.view",
85
+ "credentials.edit",
86
+ "config.view.internal", // config
87
+ "config.edit.organisation",
88
+ "config.edit.internal",
89
+ "roles.view-internal", // Roles
90
+ "roles.edit-rolesets",
91
+ "user-roles.edit",
92
+ "roles.edit-rolesets.shared",
93
+ "roles.edit-rolesets.default",
94
+ "reports.statement", // reports
95
+ "reports.reconciliation",
96
+ "reports.chargeback",
97
+ "reports.automated",
98
+ "reports.rebate",
99
+ "reports.subscription.view",
100
+ "reports.subscription.edit",
101
+ "schedule.create", // schedules
102
+ "schedule.view",
103
+ "schedule.edit",
104
+ "schedule.cancel",
105
+ "payment.plan", // payments
106
+ "payment.create",
107
+ "payment.view",
108
+ "payment.freeze-thaw",
109
+ "payment.cancel",
110
+ "payment.amend.balance",
111
+ "confirm-payee", // confirmation of payee
112
+ ] as const
113
+ export const type = isly.string(values)
114
+ export const is = type.is
115
+ }
@@ -1,8 +1,10 @@
1
+ import { Role } from "./Role"
2
+
1
3
  /**
2
4
  * All roles that this user has, from all rolesets and individual roles
3
5
  */
4
6
  export interface RoleResponse {
5
- name?: string
7
+ name?: Role
6
8
  description?: string
7
9
  internal?: boolean
8
10
  }
@@ -0,0 +1,23 @@
1
+ import { isly } from "isly"
2
+
3
+ export interface SftpReportFileDestination {
4
+ host: string
5
+ user: string
6
+ port?: number
7
+ password?: string
8
+ privateKey?: string
9
+ fingerPrint?: string
10
+ path: string
11
+ }
12
+ export namespace SftpReportFileDestination {
13
+ export const type = isly.object<SftpReportFileDestination>({
14
+ host: isly.string(),
15
+ user: isly.string(),
16
+ port: isly.number("integer").optional(),
17
+ password: isly.string().optional(),
18
+ privateKey: isly.string().optional(),
19
+ fingerPrint: isly.string().optional(),
20
+ path: isly.string(),
21
+ })
22
+ export const is = type.is
23
+ }
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,16 @@ 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"
208
+ import { Role } from "./Role"
196
209
  import { RoleResponse } from "./RoleResponse"
197
210
  import { RolesetResponse } from "./RolesetResponse"
198
211
  import { Room } from "./Room"
@@ -204,6 +217,7 @@ import { SearchRolesetsRequest } from "./SearchRolesetsRequest"
204
217
  import { SecurityConfig } from "./SecurityConfig"
205
218
  import { Segment } from "./Segment"
206
219
  import { SetAvailableCardTypesRequest } from "./SetAvailableCardTypesRequest"
220
+ import { SftpReportFileDestination } from "./SftpReportFileDestination"
207
221
  import { SsoLoginRequest } from "./SsoLoginRequest"
208
222
  import { SsoProviderConfig } from "./SsoProviderConfig"
209
223
  import { SsoProviderType } from "./SsoProviderType"
@@ -327,7 +341,6 @@ export {
327
341
  CardTypeFlag,
328
342
  CardUsage,
329
343
  CategoryFundingAccountAccessRequest,
330
- UpdateCategoryRequest,
331
344
  CategoryLimitResponse,
332
345
  CategoryResponse,
333
346
  CategoryStatus,
@@ -345,7 +358,10 @@ export {
345
358
  Criteria,
346
359
  CurrencyConversionRequest,
347
360
  CurrencyConversionResponse,
361
+ DayOfWeek,
348
362
  DeliveryStatus,
363
+ DestinationType,
364
+ DownloadableResponse,
349
365
  DownloadCardReportRequest,
350
366
  DownloadFileFormat,
351
367
  DownloadOrganisationSearchRequest,
@@ -358,6 +374,7 @@ export {
358
374
  EditPaymentCloseDateRequest,
359
375
  EditPaymentMetadataRequest,
360
376
  EditPaymentScheduleRequest,
377
+ EmailReportFileDestination,
361
378
  EmailValidationResponse,
362
379
  ErrorMessageDto,
363
380
  ErrorResponse,
@@ -456,8 +473,17 @@ export {
456
473
  Range,
457
474
  References,
458
475
  RelogWithNewSessionDetailsRequest,
476
+ Role,
459
477
  Report,
460
- DownloadableResponse,
478
+ ReportFileDestination,
479
+ ReportSubscriptionFrequencyRequest,
480
+ ReportSubscriptionFrequencyType,
481
+ ReportSubscriptionInvocationOutcome,
482
+ ReportSubscriptionInvocationResponse,
483
+ ReportSubscriptionResponse,
484
+ ReportSubscriptionStatus,
485
+ ReportType,
486
+ ReportSubscriptionRequest,
461
487
  RoleResponse,
462
488
  RolesetResponse,
463
489
  Room,
@@ -467,6 +493,7 @@ export {
467
493
  SearchRolesetsRequest,
468
494
  SecurityConfig,
469
495
  SetAvailableCardTypesRequest,
496
+ SftpReportFileDestination,
470
497
  Segment,
471
498
  SsoLoginRequest,
472
499
  SsoProviderConfig,
@@ -509,6 +536,7 @@ export {
509
536
  TwoFactorAuthenticationRegistrationResponse,
510
537
  UpdateAccountRequest,
511
538
  UpdateBeneficiaryRequest,
539
+ UpdateCategoryRequest,
512
540
  UpdateMerchantRequest,
513
541
  UpdateRolesetRequest,
514
542
  Usage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/client",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "description": "Client library for the Pax2Pay API",
5
5
  "author": "Pax2Pay Ltd.",
6
6
  "license": "MIT",
@@ -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
- }