@pax2pay/client 0.0.99 → 0.0.102
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/Cards/index.ts +51 -2
- package/dist/Client/Cards/index.d.ts +27 -3
- package/dist/Client/Cards/index.js +39 -2
- package/dist/Client/Cards/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/AmendCardRequest.d.ts +1 -0
- package/dist/model/CardDeliveryResponse.d.ts +1 -1
- package/dist/model/CardDeliveryResponse.js +1 -1
- package/dist/model/CardDeliveryResponse.js.map +1 -1
- package/dist/model/CardProcessedTransaction.d.ts +19 -0
- package/dist/model/CardProcessedTransaction.js +2 -0
- package/dist/model/CardProcessedTransaction.js.map +1 -0
- package/dist/model/CardResponse.d.ts +2 -1
- package/dist/model/CardResponseV2.d.ts +6 -0
- package/dist/model/CardResponseV2.js.map +1 -1
- package/dist/model/CardTransaction.d.ts +25 -0
- package/dist/model/CardTransaction.js +2 -0
- package/dist/model/CardTransaction.js.map +1 -0
- package/dist/model/CardType.d.ts +8 -0
- package/dist/model/CardType.js +11 -0
- package/dist/model/CardType.js.map +1 -0
- package/dist/model/CardTypeResponse.d.ts +2 -11
- package/dist/model/CardTypeResponseV2.d.ts +13 -0
- package/dist/model/CardTypeResponseV2.js +2 -0
- package/dist/model/CardTypeResponseV2.js.map +1 -0
- package/dist/model/FiveFieldsBookingInfoRequest.d.ts +3 -0
- package/dist/model/FiveFieldsBookingInfoRequest.js +12 -1
- package/dist/model/FiveFieldsBookingInfoRequest.js.map +1 -1
- package/dist/model/FundingAccountResponseV2.d.ts +1 -0
- package/dist/model/FundingAccountResponseV2.js.map +1 -1
- package/dist/model/HotelBookingInfoRequest.js +4 -4
- package/dist/model/HotelBookingInfoRequest.js.map +1 -1
- package/dist/model/InvoiceBookingInfoRequest.d.ts +3 -0
- package/dist/model/InvoiceBookingInfoRequest.js +13 -1
- package/dist/model/InvoiceBookingInfoRequest.js.map +1 -1
- package/dist/model/Passengers.js +5 -1
- package/dist/model/Passengers.js.map +1 -1
- package/dist/model/References.js +5 -1
- package/dist/model/References.js.map +1 -1
- package/dist/model/ScheduleEntry.d.ts +9 -0
- package/dist/model/ScheduleEntry.js +2 -0
- package/dist/model/ScheduleEntry.js.map +1 -0
- package/dist/model/ScheduledTaskRequest.d.ts +2 -1
- package/dist/model/TransactionStatus.d.ts +6 -0
- package/dist/model/TransactionStatus.js +18 -0
- package/dist/model/TransactionStatus.js.map +1 -0
- package/dist/model/TransactionType.d.ts +1 -1
- package/dist/model/index.d.ts +6 -1
- package/dist/model/index.js +4 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +10 -0
- package/model/AmendCardRequest.ts +1 -0
- package/model/CardDeliveryResponse.ts +2 -2
- package/model/CardProcessedTransaction.ts +20 -0
- package/model/CardResponse.ts +2 -1
- package/model/CardResponseV2.ts +6 -0
- package/model/CardTransaction.ts +25 -0
- package/model/CardType.ts +15 -0
- package/model/CardTypeResponse.ts +2 -12
- package/model/CardTypeResponseV2.ts +14 -0
- package/model/FiveFieldsBookingInfoRequest.ts +13 -0
- package/model/FundingAccountResponseV2.ts +1 -0
- package/model/HotelBookingInfoRequest.ts +4 -4
- package/model/InvoiceBookingInfoRequest.ts +13 -0
- package/model/Passengers.ts +7 -1
- package/model/References.ts +5 -1
- package/model/ScheduleEntry.ts +10 -0
- package/model/ScheduledTaskRequest.ts +2 -1
- package/model/TransactionStatus.ts +18 -0
- package/model/TransactionType.ts +4 -0
- package/model/index.ts +10 -0
- package/package.json +1 -1
package/Client/Cards/index.ts
CHANGED
|
@@ -42,8 +42,22 @@ export class Cards extends List<
|
|
|
42
42
|
`)
|
|
43
43
|
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result)
|
|
44
44
|
}
|
|
45
|
+
async createCard(request: model.CreateCardRequest) {
|
|
46
|
+
const result = await this.connection.post<model.CardResponse>(`cards/virtual`, request)
|
|
47
|
+
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result)
|
|
48
|
+
}
|
|
49
|
+
async cancelCard(providerCardId: string, providerCode: model.ProviderCode) {
|
|
50
|
+
const result = await this.connection.remove<model.CardResponse>(
|
|
51
|
+
`cards/virtual/${providerCode}/${providerCardId}/cancel`
|
|
52
|
+
)
|
|
53
|
+
return result
|
|
54
|
+
}
|
|
55
|
+
async getCardTypesV2(providerCode: model.ProviderCode) {
|
|
56
|
+
const result = await this.connection.get<model.CardTypeResponseV2[]>(`v2/cards/types/${providerCode}`)
|
|
57
|
+
return result
|
|
58
|
+
}
|
|
45
59
|
async getCardTypes(providerCode: model.ProviderCode) {
|
|
46
|
-
const result = await this.connection.get<model.CardTypeResponse
|
|
60
|
+
const result = await this.connection.get<model.CardTypeResponse>(`cards/types/${providerCode}`)
|
|
47
61
|
return result
|
|
48
62
|
}
|
|
49
63
|
async getFundingAccounts(searchRequest: model.FundingAccountSearchRequest) {
|
|
@@ -53,8 +67,15 @@ export class Cards extends List<
|
|
|
53
67
|
)
|
|
54
68
|
return result
|
|
55
69
|
}
|
|
70
|
+
async getAllFundingAccounts(providerCode: model.ProviderCode) {
|
|
71
|
+
const result = await this.connection.get<model.CardFundingAccountResponse[]>(
|
|
72
|
+
`funding-accounts?provider=${providerCode}&size=500`
|
|
73
|
+
)
|
|
74
|
+
return result
|
|
75
|
+
}
|
|
56
76
|
async getCardBookingInfo(providerCardId: string, providerCode: model.ProviderCode) {
|
|
57
|
-
const result = await this.connection
|
|
77
|
+
const result = await this.connection
|
|
78
|
+
.get<model.BookingInfoResponse>(`booking-info/cards/${providerCode}/${providerCardId}
|
|
58
79
|
`)
|
|
59
80
|
return result
|
|
60
81
|
}
|
|
@@ -65,4 +86,32 @@ export class Cards extends List<
|
|
|
65
86
|
)
|
|
66
87
|
return result
|
|
67
88
|
}
|
|
89
|
+
async getCardTransaction(providerCardId: string, providerCode: model.ProviderCode) {
|
|
90
|
+
const result = await this.connection.get<model.CardProcessedTransaction[]>(
|
|
91
|
+
`cards/virtual/${providerCode}/${providerCardId}/statements`
|
|
92
|
+
)
|
|
93
|
+
return result
|
|
94
|
+
}
|
|
95
|
+
async searchTransaction(accountId: number) {
|
|
96
|
+
const result = await this.connection.post<model.CardTransaction[]>(`transactions/searches`, {
|
|
97
|
+
accountId: accountId,
|
|
98
|
+
})
|
|
99
|
+
return result
|
|
100
|
+
}
|
|
101
|
+
async editSchedule(providerCardId: string, providerCode: model.ProviderCode, request: model.ScheduleEntry[]) {
|
|
102
|
+
const result = await this.connection.put<model.CardResponse>(
|
|
103
|
+
`cards/virtual/${providerCode}/${providerCardId}/schedule`,
|
|
104
|
+
{
|
|
105
|
+
schedule: request,
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
return result
|
|
109
|
+
}
|
|
110
|
+
async amendExistingCard(providerCardId: string, providerCode: model.ProviderCode, request: model.AmendCardRequest) {
|
|
111
|
+
const result = await this.connection.post<model.CardResponse>(
|
|
112
|
+
`cards/virtual/${providerCode}/${providerCardId}/amend`,
|
|
113
|
+
request
|
|
114
|
+
)
|
|
115
|
+
return result
|
|
116
|
+
}
|
|
68
117
|
}
|
|
@@ -19,16 +19,40 @@ export declare class Cards extends List<model.CardResponseV2 | model.CardRespons
|
|
|
19
19
|
getCard(providerCardId: string, providerCode: model.ProviderCode): Promise<(model.ErrorResponse & {
|
|
20
20
|
status: 400 | 404 | 500 | 403 | 503;
|
|
21
21
|
}) | (Card & model.CardResponse)>;
|
|
22
|
-
|
|
22
|
+
createCard(request: model.CreateCardRequest): Promise<(model.ErrorResponse & {
|
|
23
23
|
status: 400 | 404 | 500 | 403 | 503;
|
|
24
|
-
}) | model.
|
|
24
|
+
}) | (Card & model.CardResponse)>;
|
|
25
|
+
cancelCard(providerCardId: string, providerCode: model.ProviderCode): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
26
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
27
|
+
})>;
|
|
28
|
+
getCardTypesV2(providerCode: model.ProviderCode): Promise<(model.ErrorResponse & {
|
|
29
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
30
|
+
}) | model.CardTypeResponseV2[]>;
|
|
31
|
+
getCardTypes(providerCode: model.ProviderCode): Promise<model.CardTypeResponse | (model.ErrorResponse & {
|
|
32
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
33
|
+
})>;
|
|
25
34
|
getFundingAccounts(searchRequest: model.FundingAccountSearchRequest): Promise<(model.ErrorResponse & {
|
|
26
35
|
status: 400 | 404 | 500 | 403 | 503;
|
|
27
36
|
}) | model.CardFundingAccountResponse[]>;
|
|
28
|
-
|
|
37
|
+
getAllFundingAccounts(providerCode: model.ProviderCode): Promise<(model.ErrorResponse & {
|
|
38
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
39
|
+
}) | model.CardFundingAccountResponse[]>;
|
|
40
|
+
getCardBookingInfo(providerCardId: string, providerCode: model.ProviderCode): Promise<model.BookingInfoResponse | (model.ErrorResponse & {
|
|
29
41
|
status: 400 | 404 | 500 | 403 | 503;
|
|
30
42
|
})>;
|
|
31
43
|
editCardBookingInfo(providerCardId: string, providerCode: model.ProviderCode, request: Record<string, any>): Promise<model.BookingInfoResponse | (model.ErrorResponse & {
|
|
32
44
|
status: 400 | 404 | 500 | 403 | 503;
|
|
33
45
|
})>;
|
|
46
|
+
getCardTransaction(providerCardId: string, providerCode: model.ProviderCode): Promise<(model.ErrorResponse & {
|
|
47
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
48
|
+
}) | model.CardProcessedTransaction[]>;
|
|
49
|
+
searchTransaction(accountId: number): Promise<(model.ErrorResponse & {
|
|
50
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
51
|
+
}) | model.CardTransaction[]>;
|
|
52
|
+
editSchedule(providerCardId: string, providerCode: model.ProviderCode, request: model.ScheduleEntry[]): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
53
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
54
|
+
})>;
|
|
55
|
+
amendExistingCard(providerCardId: string, providerCode: model.ProviderCode, request: model.AmendCardRequest): Promise<model.CardResponse | (model.ErrorResponse & {
|
|
56
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
57
|
+
})>;
|
|
34
58
|
}
|
|
@@ -35,16 +35,33 @@ export class Cards extends List {
|
|
|
35
35
|
`);
|
|
36
36
|
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result);
|
|
37
37
|
}
|
|
38
|
-
async
|
|
38
|
+
async createCard(request) {
|
|
39
|
+
const result = await this.connection.post(`cards/virtual`, request);
|
|
40
|
+
return model.ErrorResponse.is(result) ? result : this.mapLegacy(result);
|
|
41
|
+
}
|
|
42
|
+
async cancelCard(providerCardId, providerCode) {
|
|
43
|
+
const result = await this.connection.remove(`cards/virtual/${providerCode}/${providerCardId}/cancel`);
|
|
44
|
+
return result;
|
|
45
|
+
}
|
|
46
|
+
async getCardTypesV2(providerCode) {
|
|
39
47
|
const result = await this.connection.get(`v2/cards/types/${providerCode}`);
|
|
40
48
|
return result;
|
|
41
49
|
}
|
|
50
|
+
async getCardTypes(providerCode) {
|
|
51
|
+
const result = await this.connection.get(`cards/types/${providerCode}`);
|
|
52
|
+
return result;
|
|
53
|
+
}
|
|
42
54
|
async getFundingAccounts(searchRequest) {
|
|
43
55
|
const result = await this.connection.post("funding-accounts/searches", searchRequest);
|
|
44
56
|
return result;
|
|
45
57
|
}
|
|
58
|
+
async getAllFundingAccounts(providerCode) {
|
|
59
|
+
const result = await this.connection.get(`funding-accounts?provider=${providerCode}&size=500`);
|
|
60
|
+
return result;
|
|
61
|
+
}
|
|
46
62
|
async getCardBookingInfo(providerCardId, providerCode) {
|
|
47
|
-
const result = await this.connection
|
|
63
|
+
const result = await this.connection
|
|
64
|
+
.get(`booking-info/cards/${providerCode}/${providerCardId}
|
|
48
65
|
`);
|
|
49
66
|
return result;
|
|
50
67
|
}
|
|
@@ -52,5 +69,25 @@ export class Cards extends List {
|
|
|
52
69
|
const result = await this.connection.put(`booking-info/cards/${providerCode}/${providerCardId}`, request);
|
|
53
70
|
return result;
|
|
54
71
|
}
|
|
72
|
+
async getCardTransaction(providerCardId, providerCode) {
|
|
73
|
+
const result = await this.connection.get(`cards/virtual/${providerCode}/${providerCardId}/statements`);
|
|
74
|
+
return result;
|
|
75
|
+
}
|
|
76
|
+
async searchTransaction(accountId) {
|
|
77
|
+
const result = await this.connection.post(`transactions/searches`, {
|
|
78
|
+
accountId: accountId,
|
|
79
|
+
});
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
async editSchedule(providerCardId, providerCode, request) {
|
|
83
|
+
const result = await this.connection.put(`cards/virtual/${providerCode}/${providerCardId}/schedule`, {
|
|
84
|
+
schedule: request,
|
|
85
|
+
});
|
|
86
|
+
return result;
|
|
87
|
+
}
|
|
88
|
+
async amendExistingCard(providerCardId, providerCode, request) {
|
|
89
|
+
const result = await this.connection.post(`cards/virtual/${providerCode}/${providerCardId}/amend`, request);
|
|
90
|
+
return result;
|
|
91
|
+
}
|
|
55
92
|
}
|
|
56
93
|
//# sourceMappingURL=index.js.map
|
|
@@ -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,OAAO,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,YAAY,EAAE,QAAQ,CAAC,cAAc,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IAC/E,CAAC;IACS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YAAY,IAAI,cAAc,QAAQ,EACvD,OAAO,CACP,CAAA;QACD,OAAO,MAAM,CAAA;IACd,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, 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, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, 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, Room, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, 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, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, 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, Room, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, 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, Room, ScheduledTaskRequest, ScheduleEntry, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimit, UserLimitsDeleteRequest, UserLimitsRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmendCardRequest, AmountPair, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardOptionSearch, CardProcessedTransaction, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardTransaction, CardType, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, DateRangeLocalDate, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingLimitRequest, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, 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, Room, ScheduleEntry, ScheduledTaskRequest, SearchRolesetsRequest, Segment, Sorting, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, SupplierBookingInfo, TransactionResponse, TransactionType, TransferDestinationInfo, TransferRequest, TransferResponse, TransferSearch, TransferStatus, 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 { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, UserResponse, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BillingTransactionAmountPair, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardFundingAccountResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardType, CardTypeSpecification, CardTypeSpecificationFlag, ErrorMessageDto, ErrorResponse, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2, FundingLimitResponse, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, Issue, LoginResponse, OrganisationBalanceLimitResponse, OrganisationResponse, Passengers, ProviderCode, ProviderResponse, References, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementRowIds, SummaryBookingInfoResponse, TransferDestinationInfo, TransferResponse, TransferStatus, 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,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAI1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EASV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAI1B,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EAad,YAAY,EAGZ,SAAS,GACT,MAAM,SAAS,CAAA;AAEhB,OAAO,EACN,MAAM,EACN,mBAAmB,EAEnB,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EAGX,UAAU,EAEV,mBAAmB,EACnB,iBAAiB,EACjB,4BAA4B,EAI5B,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,mBAAmB,EACnB,oBAAoB,EACpB,0BAA0B,EAI1B,cAAc,EACd,wBAAwB,EACxB,sBAAsB,EACtB,oBAAoB,EAEpB,2BAA2B,EAE3B,oCAAoC,EAEpC,QAAQ,EAKR,qBAAqB,EACrB,yBAAyB,EAYzB,eAAe,EACf,aAAa,EACb,4BAA4B,EAC5B,6BAA6B,EAE7B,yBAAyB,EACzB,UAAU,EACV,4BAA4B,EAE5B,wBAAwB,EAIxB,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAGT,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EAGL,aAAa,EAGb,gCAAgC,EAGhC,oBAAoB,EACpB,UAAU,EAQV,YAAY,EACZ,gBAAgB,EAChB,UAAU,EASV,OAAO,EAIP,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAI1B,uBAAuB,EAEvB,gBAAgB,EAEhB,cAAc,EAad,YAAY,EAGZ,SAAS,GACT,CAAA"}
|
|
@@ -5,7 +5,7 @@ export interface CardDeliveryResponse {
|
|
|
5
5
|
deliveredMessage: string;
|
|
6
6
|
linkExpiry: isoly.Date;
|
|
7
7
|
sent: string;
|
|
8
|
-
status: "SUCCESS" | "FAILURE" | "TODO";
|
|
8
|
+
status: "SUCCESS" | "FAILURE" | "TODO" | "PENDING";
|
|
9
9
|
statusText?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare namespace CardDeliveryResponse {
|
|
@@ -9,7 +9,7 @@ export var CardDeliveryResponse;
|
|
|
9
9
|
isoly.Date.is(value.linkExpiry) &&
|
|
10
10
|
typeof value.sent == "string" &&
|
|
11
11
|
(typeof value.statusText == "string" || value.statusText == undefined) &&
|
|
12
|
-
(value.status == "SUCCESS" || value.status == "FAILURE" || value.status == "TODO"));
|
|
12
|
+
(value.status == "SUCCESS" || value.status == "FAILURE" || value.status == "TODO" || value.status == "PENDING"));
|
|
13
13
|
}
|
|
14
14
|
CardDeliveryResponse.is = is;
|
|
15
15
|
})(CardDeliveryResponse || (CardDeliveryResponse = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardDeliveryResponse.js","sourceRoot":"../","sources":["model/CardDeliveryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,MAAM,KAAW,oBAAoB,CAapC;AAbD,WAAiB,oBAAoB;IACpC,SAAgB,EAAE,CAAC,KAAiC;QACnD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,OAAO;YACrB,CAAC,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAC;YAC5D,OAAO,KAAK,CAAC,gBAAgB,IAAI,QAAQ;YACzC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YAC/B,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ;YAC7B,CAAC,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC,UAAU,IAAI,SAAS,CAAC;YACtE,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"CardDeliveryResponse.js","sourceRoot":"../","sources":["model/CardDeliveryResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,MAAM,KAAW,oBAAoB,CAapC;AAbD,WAAiB,oBAAoB;IACpC,SAAgB,EAAE,CAAC,KAAiC;QACnD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,KAAK,CAAC,IAAI,IAAI,OAAO;YACrB,CAAC,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,EAAE,IAAI,QAAQ,CAAC;YAC5D,OAAO,KAAK,CAAC,gBAAgB,IAAI,QAAQ;YACzC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC;YAC/B,OAAO,KAAK,CAAC,IAAI,IAAI,QAAQ;YAC7B,CAAC,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,IAAI,KAAK,CAAC,UAAU,IAAI,SAAS,CAAC;YACtE,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,KAAK,CAAC,MAAM,IAAI,MAAM,IAAI,KAAK,CAAC,MAAM,IAAI,SAAS,CAAC,CAC/G,CAAA;IACF,CAAC;IAXe,uBAAE,KAWjB,CAAA;AACF,CAAC,EAbgB,oBAAoB,KAApB,oBAAoB,QAapC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
import { ProviderCode } from "./ProviderCode";
|
|
3
|
+
import { TransactionStatus } from "./TransactionStatus";
|
|
4
|
+
import { TransactionType } from "./TransactionType";
|
|
5
|
+
export interface CardProcessedTransaction {
|
|
6
|
+
timestamp: isoly.DateTime;
|
|
7
|
+
provider: ProviderCode;
|
|
8
|
+
description: string;
|
|
9
|
+
type: TransactionType;
|
|
10
|
+
reference?: string;
|
|
11
|
+
status?: TransactionStatus;
|
|
12
|
+
balance?: number;
|
|
13
|
+
fundsChanged?: number;
|
|
14
|
+
currency?: isoly.Currency;
|
|
15
|
+
reason?: string;
|
|
16
|
+
additionalInformation?: {
|
|
17
|
+
orderId?: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardProcessedTransaction.js","sourceRoot":"../","sources":["model/CardProcessedTransaction.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AccountResponse } from "./AccountResponse";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
2
3
|
import { BookingInfo } from "./BookingInfo";
|
|
3
4
|
import { BookingInfoResponse } from "./BookingInfoResponse";
|
|
4
5
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
@@ -21,7 +22,7 @@ export interface CardResponse {
|
|
|
21
22
|
remainingBalance?: number;
|
|
22
23
|
notes?: string;
|
|
23
24
|
usage?: CardUsage;
|
|
24
|
-
state?:
|
|
25
|
+
state?: AccountState;
|
|
25
26
|
providerCode?: ProviderCode;
|
|
26
27
|
providerCardId?: string;
|
|
27
28
|
cardAccount?: AccountResponse;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import { AccountState } from "./AccountState";
|
|
1
3
|
import { CardDeliveryResponse } from "./CardDeliveryResponse";
|
|
2
4
|
import { CardScheduleResponseItem } from "./CardScheduleResponseItem";
|
|
3
5
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
@@ -11,7 +13,10 @@ export interface CardResponseV2 {
|
|
|
11
13
|
cvv: string;
|
|
12
14
|
expiryDate: YearMonth;
|
|
13
15
|
nameOnCard: string;
|
|
16
|
+
fundingBalance: number;
|
|
17
|
+
fundingDate: string;
|
|
14
18
|
balance: number;
|
|
19
|
+
currency: Currency;
|
|
15
20
|
issueDate: string;
|
|
16
21
|
providerCode: ProviderCode;
|
|
17
22
|
providerCardId: string;
|
|
@@ -19,6 +24,7 @@ export interface CardResponseV2 {
|
|
|
19
24
|
fundingAccount: FundingAccountResponseV2;
|
|
20
25
|
schedule: CardScheduleResponseItem[];
|
|
21
26
|
createdBy: string;
|
|
27
|
+
state: AccountState;
|
|
22
28
|
delivery?: CardDeliveryResponse;
|
|
23
29
|
}
|
|
24
30
|
export declare namespace CardResponseV2 {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardResponseV2.js","sourceRoot":"../","sources":["model/CardResponseV2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CardResponseV2.js","sourceRoot":"../","sources":["model/CardResponseV2.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAA;AAC7D,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;AAuBvC,MAAM,KAAW,cAAc,CAwB9B;AAxBD,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,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS;gBAC3B,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC;oBAC7B,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE;wBAC/B,OAAO,wBAAwB,CAAC,EAAE,CAAC,CAAC,CAAC,CAAA;oBACtC,CAAC,CAAC,CAAC,CAAC;YACN,OAAO,KAAK,CAAC,SAAS,IAAI,QAAQ;YAClC,oBAAoB,CAAC,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,CACvC,CAAA;IACF,CAAC;IAtBe,iBAAE,KAsBjB,CAAA;AACF,CAAC,EAxBgB,cAAc,KAAd,cAAc,QAwB9B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
2
|
+
import * as isoly from "isoly";
|
|
3
|
+
import { BookingInfo } from "./BookingInfo";
|
|
4
|
+
import { ProviderCode } from "./ProviderCode";
|
|
5
|
+
import { TransactionType } from "./TransactionType";
|
|
6
|
+
export interface CardTransaction {
|
|
7
|
+
id: number;
|
|
8
|
+
providerTransactionId: string;
|
|
9
|
+
organisationCode: string;
|
|
10
|
+
organisationName: string;
|
|
11
|
+
transactionType: TransactionType;
|
|
12
|
+
provider: ProviderCode;
|
|
13
|
+
prvTimestamp: string;
|
|
14
|
+
associatedAccount: number;
|
|
15
|
+
issuedAmount: number;
|
|
16
|
+
issuedCurrency: Currency;
|
|
17
|
+
createdOn: string;
|
|
18
|
+
createdBy: string;
|
|
19
|
+
groupId?: number;
|
|
20
|
+
exchangeRate?: number;
|
|
21
|
+
description?: string;
|
|
22
|
+
bookingInfo?: BookingInfo;
|
|
23
|
+
friendlyName?: string;
|
|
24
|
+
expectedFundingTimestamp?: isoly.DateTime;
|
|
25
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTransaction.js","sourceRoot":"../","sources":["model/CardTransaction.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export var CardType;
|
|
2
|
+
(function (CardType) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
typeof value.cardType == "string" &&
|
|
6
|
+
typeof value.representAs == "string" &&
|
|
7
|
+
(typeof value.cardName == "string" || value.cardName == undefined));
|
|
8
|
+
}
|
|
9
|
+
CardType.is = is;
|
|
10
|
+
})(CardType || (CardType = {}));
|
|
11
|
+
//# sourceMappingURL=CardType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardType.js","sourceRoot":"../","sources":["model/CardType.ts"],"names":[],"mappings":"AAKA,MAAM,KAAW,QAAQ,CASxB;AATD,WAAiB,QAAQ;IACxB,SAAgB,EAAE,CAAC,KAAqB;QACvC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ;YACjC,OAAO,KAAK,CAAC,WAAW,IAAI,QAAQ;YACpC,CAAC,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,IAAI,KAAK,CAAC,QAAQ,IAAI,SAAS,CAAC,CAClE,CAAA;IACF,CAAC;IAPe,WAAE,KAOjB,CAAA;AACF,CAAC,EATgB,QAAQ,KAAR,QAAQ,QASxB"}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardType } from "./CardType";
|
|
2
2
|
export interface CardTypeResponse {
|
|
3
|
-
|
|
4
|
-
cardTypeId?: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
scheme?: "VISA" | "MASTERCARD" | "AMERICAN_EXPRESS";
|
|
7
|
-
funding?: "DEBIT" | "CREDIT" | "PREPAID";
|
|
8
|
-
currencies?: string[];
|
|
9
|
-
flags?: ("CORPORATE" | "BUSINESS" | "CONSUMER")[];
|
|
10
|
-
bins?: string[];
|
|
11
|
-
preActive?: boolean;
|
|
12
|
-
discontinued?: boolean;
|
|
3
|
+
cardTypes: CardType[];
|
|
13
4
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ProviderCode } from "./ProviderCode";
|
|
2
|
+
export interface CardTypeResponseV2 {
|
|
3
|
+
providerCode?: ProviderCode;
|
|
4
|
+
cardTypeId?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
scheme?: "VISA" | "MASTERCARD" | "AMERICAN_EXPRESS";
|
|
7
|
+
funding?: "DEBIT" | "CREDIT" | "PREPAID";
|
|
8
|
+
currencies?: string[];
|
|
9
|
+
flags?: ("CORPORATE" | "BUSINESS" | "CONSUMER")[];
|
|
10
|
+
bins?: string[];
|
|
11
|
+
preActive?: boolean;
|
|
12
|
+
discontinued?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTypeResponseV2.js","sourceRoot":"../","sources":["model/CardTypeResponseV2.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,13 @@
|
|
|
1
|
-
export
|
|
1
|
+
export var FiveFieldsBookingInfoRequest;
|
|
2
|
+
(function (FiveFieldsBookingInfoRequest) {
|
|
3
|
+
function is(value) {
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.agentBookingReference == undefined || typeof value.agentBookingReference == "string") &&
|
|
6
|
+
(value.departureDate == undefined || typeof value.departureDate == "string") &&
|
|
7
|
+
(value.supplierBookingReference == undefined || typeof value.supplierBookingReference == "string") &&
|
|
8
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
9
|
+
(value.supplierCode == undefined || typeof value.supplierCode == "string"));
|
|
10
|
+
}
|
|
11
|
+
FiveFieldsBookingInfoRequest.is = is;
|
|
12
|
+
})(FiveFieldsBookingInfoRequest || (FiveFieldsBookingInfoRequest = {}));
|
|
2
13
|
//# sourceMappingURL=FiveFieldsBookingInfoRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FiveFieldsBookingInfoRequest.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoRequest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"FiveFieldsBookingInfoRequest.js","sourceRoot":"../","sources":["model/FiveFieldsBookingInfoRequest.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,4BAA4B,CAW5C;AAXD,WAAiB,4BAA4B;IAC5C,SAAgB,EAAE,CAAC,KAAyC;QAC3D,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,qBAAqB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,CAAC;YAC5F,CAAC,KAAK,CAAC,aAAa,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,aAAa,IAAI,QAAQ,CAAC;YAC5E,CAAC,KAAK,CAAC,wBAAwB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,wBAAwB,IAAI,QAAQ,CAAC;YAClG,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,CAAC;YACpF,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC,CAC1E,CAAA;IACF,CAAC;IATe,+BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,4BAA4B,KAA5B,4BAA4B,QAW5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FundingAccountResponseV2.js","sourceRoot":"../","sources":["model/FundingAccountResponseV2.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FundingAccountResponseV2.js","sourceRoot":"../","sources":["model/FundingAccountResponseV2.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,wBAAwB,CAIxC;AAJD,WAAiB,wBAAwB;IACxC,SAAgB,EAAE,CAAC,KAAqC;QACvD,OAAO,OAAO,KAAK,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAA;IAClH,CAAC;IAFe,2BAAE,KAEjB,CAAA;AACF,CAAC,EAJgB,wBAAwB,KAAxB,wBAAwB,QAIxC"}
|
|
@@ -6,10 +6,10 @@ export var HotelBookingInfoRequest;
|
|
|
6
6
|
(function (HotelBookingInfoRequest) {
|
|
7
7
|
function is(value) {
|
|
8
8
|
return (typeof value == "object" &&
|
|
9
|
-
HotelInfo.is(value.hotel) &&
|
|
10
|
-
References.is(value.references) &&
|
|
11
|
-
Passengers.is(value.passengers) &&
|
|
12
|
-
isoly.DateTime.is(value.timestamp));
|
|
9
|
+
(value.hotel == undefined || HotelInfo.is(value.hotel)) &&
|
|
10
|
+
(value.references == undefined || References.is(value.references)) &&
|
|
11
|
+
(value.passengers == undefined || Passengers.is(value.passengers)) &&
|
|
12
|
+
(value.timestamp == undefined || isoly.DateTime.is(value.timestamp)));
|
|
13
13
|
}
|
|
14
14
|
HotelBookingInfoRequest.is = is;
|
|
15
15
|
})(HotelBookingInfoRequest || (HotelBookingInfoRequest = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HotelBookingInfoRequest.js","sourceRoot":"../","sources":["model/HotelBookingInfoRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAUzC,MAAM,KAAW,uBAAuB,CAUvC;AAVD,WAAiB,uBAAuB;IACvC,SAAgB,EAAE,CAAC,KAAoC;QACtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"HotelBookingInfoRequest.js","sourceRoot":"../","sources":["model/HotelBookingInfoRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAUzC,MAAM,KAAW,uBAAuB,CAUvC;AAVD,WAAiB,uBAAuB;IACvC,SAAgB,EAAE,CAAC,KAAoC;QACtD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,SAAS,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACvD,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,UAAU,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAClE,CAAC,KAAK,CAAC,SAAS,IAAI,SAAS,IAAI,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CACpE,CAAA;IACF,CAAC;IARe,0BAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,uBAAuB,KAAvB,uBAAuB,QAUvC"}
|
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import * as isoly from "isoly";
|
|
2
|
+
export var InvoiceBookingInfoRequest;
|
|
3
|
+
(function (InvoiceBookingInfoRequest) {
|
|
4
|
+
function is(value) {
|
|
5
|
+
return (typeof value == "object" &&
|
|
6
|
+
(value.supplierName == undefined || typeof value.supplierName == "string") &&
|
|
7
|
+
(value.date == undefined || isoly.Date.is(value.date)) &&
|
|
8
|
+
(value.supplierReferenceNumber == undefined || typeof value.supplierReferenceNumber == "string") &&
|
|
9
|
+
(value.value == undefined || typeof value.value == "number") &&
|
|
10
|
+
(value.taxElement == undefined || typeof value.taxElement == "string"));
|
|
11
|
+
}
|
|
12
|
+
InvoiceBookingInfoRequest.is = is;
|
|
13
|
+
})(InvoiceBookingInfoRequest || (InvoiceBookingInfoRequest = {}));
|
|
2
14
|
//# sourceMappingURL=InvoiceBookingInfoRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InvoiceBookingInfoRequest.js","sourceRoot":"../","sources":["model/InvoiceBookingInfoRequest.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"InvoiceBookingInfoRequest.js","sourceRoot":"../","sources":["model/InvoiceBookingInfoRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAU9B,MAAM,KAAW,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IACzC,SAAgB,EAAE,CAAC,KAAsC;QACxD,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,YAAY,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,CAAC;YAC1E,CAAC,KAAK,CAAC,IAAI,IAAI,SAAS,IAAI,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;YACtD,CAAC,KAAK,CAAC,uBAAuB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,uBAAuB,IAAI,QAAQ,CAAC;YAChG,CAAC,KAAK,CAAC,KAAK,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,KAAK,IAAI,QAAQ,CAAC;YAC5D,CAAC,KAAK,CAAC,UAAU,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,UAAU,IAAI,QAAQ,CAAC,CACtE,CAAA;IACF,CAAC;IATe,4BAAE,KASjB,CAAA;AACF,CAAC,EAXgB,yBAAyB,KAAzB,yBAAyB,QAWzC"}
|
package/dist/model/Passengers.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export var Passengers;
|
|
2
2
|
(function (Passengers) {
|
|
3
3
|
function is(value) {
|
|
4
|
-
return typeof value == "object" &&
|
|
4
|
+
return (typeof value == "object" &&
|
|
5
|
+
(value.leadPassengerName == undefined || typeof value.leadPassengerName == "string") &&
|
|
6
|
+
(value.adults == undefined || typeof value.adults == "number") &&
|
|
7
|
+
(value.children == undefined || typeof value.children == "number") &&
|
|
8
|
+
(value.infants == undefined || typeof value.infants == "number"));
|
|
5
9
|
}
|
|
6
10
|
Passengers.is = is;
|
|
7
11
|
})(Passengers || (Passengers = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Passengers.js","sourceRoot":"../","sources":["model/Passengers.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,UAAU,
|
|
1
|
+
{"version":3,"file":"Passengers.js","sourceRoot":"../","sources":["model/Passengers.ts"],"names":[],"mappings":"AAMA,MAAM,KAAW,UAAU,CAU1B;AAVD,WAAiB,UAAU;IAC1B,SAAgB,EAAE,CAAC,KAAuB;QACzC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,KAAK,CAAC,iBAAiB,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,iBAAiB,IAAI,QAAQ,CAAC;YACpF,CAAC,KAAK,CAAC,MAAM,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,MAAM,IAAI,QAAQ,CAAC;YAC9D,CAAC,KAAK,CAAC,QAAQ,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,QAAQ,IAAI,QAAQ,CAAC;YAClE,CAAC,KAAK,CAAC,OAAO,IAAI,SAAS,IAAI,OAAO,KAAK,CAAC,OAAO,IAAI,QAAQ,CAAC,CAChE,CAAA;IACF,CAAC;IARe,aAAE,KAQjB,CAAA;AACF,CAAC,EAVgB,UAAU,KAAV,UAAU,QAU1B"}
|
package/dist/model/References.js
CHANGED
|
@@ -3,7 +3,11 @@ export var References;
|
|
|
3
3
|
function is(value) {
|
|
4
4
|
return (typeof value == "object" &&
|
|
5
5
|
(typeof value.supplierBookingReference == "string" || value.supplierBookingReference == undefined) &&
|
|
6
|
-
typeof value.agentBookingReference == "string")
|
|
6
|
+
(typeof value.agentBookingReference == "string" || value.agentBookingReference == undefined) &&
|
|
7
|
+
(typeof value.supplierCode == "string" || value.supplierCode == undefined) &&
|
|
8
|
+
(typeof value.supplierName == "string" || value.supplierName == undefined) &&
|
|
9
|
+
(typeof value.fabBasketReference == "string" || value.fabBasketReference == undefined) &&
|
|
10
|
+
(typeof value.syndicatorName == "string" || value.syndicatorName == undefined));
|
|
7
11
|
}
|
|
8
12
|
References.is = is;
|
|
9
13
|
})(References || (References = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"References.js","sourceRoot":"../","sources":["model/References.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,UAAU,
|
|
1
|
+
{"version":3,"file":"References.js","sourceRoot":"../","sources":["model/References.ts"],"names":[],"mappings":"AAQA,MAAM,KAAW,UAAU,CAY1B;AAZD,WAAiB,UAAU;IAC1B,SAAgB,EAAE,CAAC,KAAuB;QACzC,OAAO,CACN,OAAO,KAAK,IAAI,QAAQ;YACxB,CAAC,OAAO,KAAK,CAAC,wBAAwB,IAAI,QAAQ,IAAI,KAAK,CAAC,wBAAwB,IAAI,SAAS,CAAC;YAClG,CAAC,OAAO,KAAK,CAAC,qBAAqB,IAAI,QAAQ,IAAI,KAAK,CAAC,qBAAqB,IAAI,SAAS,CAAC;YAC5F,CAAC,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,IAAI,KAAK,CAAC,YAAY,IAAI,SAAS,CAAC;YAC1E,CAAC,OAAO,KAAK,CAAC,YAAY,IAAI,QAAQ,IAAI,KAAK,CAAC,YAAY,IAAI,SAAS,CAAC;YAC1E,CAAC,OAAO,KAAK,CAAC,kBAAkB,IAAI,QAAQ,IAAI,KAAK,CAAC,kBAAkB,IAAI,SAAS,CAAC;YACtF,CAAC,OAAO,KAAK,CAAC,cAAc,IAAI,QAAQ,IAAI,KAAK,CAAC,cAAc,IAAI,SAAS,CAAC,CAC9E,CAAA;IACF,CAAC;IAVe,aAAE,KAUjB,CAAA;AACF,CAAC,EAZgB,UAAU,KAAV,UAAU,QAY1B"}
|