@pax2pay/client 0.3.104 → 0.3.106
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 +65 -2
- package/Client/Merchants/index.ts +3 -0
- package/Client/Payments/index.ts +4 -1
- package/dist/Client/Cards/index.d.ts +19 -1
- package/dist/Client/Cards/index.js +28 -2
- package/dist/Client/Cards/index.js.map +1 -1
- package/dist/Client/Merchants/index.d.ts +3 -0
- package/dist/Client/Merchants/index.js +3 -0
- package/dist/Client/Merchants/index.js.map +1 -1
- package/dist/Client/Payments/index.d.ts +4 -1
- package/dist/Client/Payments/index.js +3 -0
- package/dist/Client/Payments/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/CardOperation.d.ts +10 -0
- package/dist/model/CardOperation.js +11 -0
- package/dist/model/CardOperation.js.map +1 -0
- package/dist/model/CardResponseV3.d.ts +25 -0
- package/dist/model/CardResponseV3.js +26 -0
- package/dist/model/CardResponseV3.js.map +1 -0
- package/dist/model/CardTypeProfileResponse.d.ts +3 -2
- package/dist/model/CardTypeProfileStatus.d.ts +7 -0
- package/dist/model/CardTypeProfileStatus.js +8 -0
- package/dist/model/CardTypeProfileStatus.js.map +1 -0
- package/dist/model/{CardTypeProfileRequest.d.ts → CreateCardTypeProfileRequest.d.ts} +1 -1
- package/dist/model/CreateCardTypeProfileRequest.js +2 -0
- package/dist/model/CreateCardTypeProfileRequest.js.map +1 -0
- package/dist/model/Inclusion.d.ts +7 -0
- package/dist/model/Inclusion.js +8 -0
- package/dist/model/Inclusion.js.map +1 -0
- package/dist/model/MerchantRequest.d.ts +4 -1
- package/dist/model/MerchantRequest.js +8 -7
- package/dist/model/MerchantRequest.js.map +1 -1
- package/dist/model/MerchantResponse.d.ts +3 -0
- package/dist/model/MerchantResponse.js +5 -0
- package/dist/model/MerchantResponse.js.map +1 -1
- package/dist/model/OrganisationCardTypeProfileResponse.d.ts +5 -0
- package/dist/model/OrganisationCardTypeProfileResponse.js +2 -0
- package/dist/model/OrganisationCardTypeProfileResponse.js.map +1 -0
- package/dist/model/PaymentAmountScheduleRequest.d.ts +10 -0
- package/dist/model/PaymentAmountScheduleRequest.js +11 -0
- package/dist/model/PaymentAmountScheduleRequest.js.map +1 -0
- package/dist/model/PaymentAmountScheduleResponse.d.ts +10 -0
- package/dist/model/PaymentAmountScheduleResponse.js +11 -0
- package/dist/model/PaymentAmountScheduleResponse.js.map +1 -0
- package/dist/model/PaymentCardCreateRequest.d.ts +11 -0
- package/dist/model/PaymentCardCreateRequest.js +12 -0
- package/dist/model/PaymentCardCreateRequest.js.map +1 -0
- package/dist/model/PaymentDeliveryRequest.d.ts +12 -0
- package/dist/model/PaymentDeliveryRequest.js +13 -0
- package/dist/model/PaymentDeliveryRequest.js.map +1 -0
- package/dist/model/PaymentDeliveryResponse.d.ts +16 -0
- package/dist/model/PaymentDeliveryResponse.js +17 -0
- package/dist/model/PaymentDeliveryResponse.js.map +1 -0
- package/dist/model/PaymentRequest.d.ts +24 -0
- package/dist/model/PaymentRequest.js +25 -0
- package/dist/model/PaymentRequest.js.map +1 -0
- package/dist/model/PaymentResponse.d.ts +21 -4
- package/dist/model/PaymentResponse.js +27 -1
- package/dist/model/PaymentResponse.js.map +1 -1
- package/dist/model/PaymentTransferCreateRequest.d.ts +9 -0
- package/dist/model/PaymentTransferCreateRequest.js +10 -0
- package/dist/model/PaymentTransferCreateRequest.js.map +1 -0
- package/dist/model/SearchCardTypeProfileRequest.d.ts +15 -0
- package/dist/model/SearchCardTypeProfileRequest.js +2 -0
- package/dist/model/SearchCardTypeProfileRequest.js.map +1 -0
- package/dist/model/SearchRolesetsRequest.d.ts +4 -3
- package/dist/model/TransferResponseV3.d.ts +9 -0
- package/dist/model/TransferResponseV3.js +10 -0
- package/dist/model/TransferResponseV3.js.map +1 -0
- package/dist/model/UpdateCardTypeProfileRequest.d.ts +12 -0
- package/dist/model/UpdateCardTypeProfileRequest.js +2 -0
- package/dist/model/UpdateCardTypeProfileRequest.js.map +1 -0
- package/dist/model/index.d.ts +16 -2
- package/dist/model/index.js +13 -1
- package/dist/model/index.js.map +1 -1
- package/index.ts +28 -2
- package/model/CardOperation.ts +14 -0
- package/model/CardResponseV3.ts +41 -0
- package/model/CardTypeProfileResponse.ts +3 -2
- package/model/CardTypeProfileStatus.ts +9 -0
- package/model/{CardTypeProfileRequest.ts → CreateCardTypeProfileRequest.ts} +1 -1
- package/model/Inclusion.ts +9 -0
- package/model/MerchantRequest.ts +9 -8
- package/model/MerchantResponse.ts +6 -0
- package/model/OrganisationCardTypeProfileResponse.ts +6 -0
- package/model/PaymentAmountScheduleRequest.ts +14 -0
- package/model/PaymentAmountScheduleResponse.ts +14 -0
- package/model/PaymentCardCreateRequest.ts +16 -0
- package/model/PaymentDeliveryRequest.ts +18 -0
- package/model/PaymentDeliveryResponse.ts +25 -0
- package/model/PaymentRequest.ts +37 -0
- package/model/PaymentResponse.ts +35 -4
- package/model/PaymentTransferCreateRequest.ts +13 -0
- package/model/SearchCardTypeProfileRequest.ts +16 -0
- package/model/SearchRolesetsRequest.ts +5 -3
- package/model/TransferResponseV3.ts +13 -0
- package/model/UpdateCardTypeProfileRequest.ts +13 -0
- package/model/index.ts +30 -2
- package/package.json +1 -1
- package/dist/model/CardTypeProfileRequest.js +0 -2
- package/dist/model/CardTypeProfileRequest.js.map +0 -1
package/Client/Cards/index.ts
CHANGED
|
@@ -112,14 +112,77 @@ export class Cards extends List<model.CardResponseV2 | model.CardResponse> {
|
|
|
112
112
|
return this.extractResponse<model.CardTypeResponseV2>(response)
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
async createCardTypeProfileV2(cardTypeProfileRequest: model.
|
|
115
|
+
async createCardTypeProfileV2(cardTypeProfileRequest: model.CreateCardTypeProfileRequest, organisationCode?: string) {
|
|
116
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
116
117
|
const response = await this.connection.post<model.CardTypeProfileResponse>(
|
|
117
118
|
`v2/${this.folder}/types/profiles`,
|
|
118
|
-
cardTypeProfileRequest
|
|
119
|
+
cardTypeProfileRequest,
|
|
120
|
+
undefined,
|
|
121
|
+
header
|
|
119
122
|
)
|
|
120
123
|
return response
|
|
121
124
|
}
|
|
122
125
|
|
|
126
|
+
async updateCardTypeProfileV2(
|
|
127
|
+
cardTypeProfileId: string,
|
|
128
|
+
cardTypeProfileRequest: model.UpdateCardTypeProfileRequest,
|
|
129
|
+
organisationCode?: string
|
|
130
|
+
) {
|
|
131
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
132
|
+
const response = await this.connection.put<model.CardTypeProfileResponse>(
|
|
133
|
+
`v2/${this.folder}/types/profiles/${cardTypeProfileId}`,
|
|
134
|
+
cardTypeProfileRequest,
|
|
135
|
+
undefined,
|
|
136
|
+
header
|
|
137
|
+
)
|
|
138
|
+
return response
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
async getActiveCardTypeProfileV2(organisationCode: string) {
|
|
142
|
+
const header = { "x-assume": organisationCode }
|
|
143
|
+
return await this.connection.get<model.OrganisationCardTypeProfileResponse>(
|
|
144
|
+
`v2/${this.folder}/types/profiles/current`,
|
|
145
|
+
undefined,
|
|
146
|
+
header
|
|
147
|
+
)
|
|
148
|
+
}
|
|
149
|
+
async searchCardTypeProfileV2(request: model.SearchCardTypeProfileRequest, organisationCode?: string) {
|
|
150
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined
|
|
151
|
+
return await this.connection.post<model.CardTypeProfileResponse[]>(
|
|
152
|
+
`v2/cards/types/profiles/searches`,
|
|
153
|
+
request,
|
|
154
|
+
undefined,
|
|
155
|
+
header
|
|
156
|
+
)
|
|
157
|
+
}
|
|
158
|
+
async setCardTypeProfileV2(organisationCode: string, cardTypeProfileId: string) {
|
|
159
|
+
const header = { "x-assume": organisationCode }
|
|
160
|
+
return await this.connection.post<model.OrganisationCardTypeProfileResponse>(
|
|
161
|
+
`v2/${this.folder}/types/profiles/current/${cardTypeProfileId}`,
|
|
162
|
+
undefined,
|
|
163
|
+
undefined,
|
|
164
|
+
header
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
async assignCardTypeProfileV2(organisationCode: string, cardTypeProfileId: string) {
|
|
168
|
+
const header = { "x-assume": organisationCode }
|
|
169
|
+
return await this.connection.put<model.OrganisationCardTypeProfileResponse>(
|
|
170
|
+
`v2/${this.folder}/types/profiles/current/${cardTypeProfileId}`,
|
|
171
|
+
undefined,
|
|
172
|
+
undefined,
|
|
173
|
+
header
|
|
174
|
+
)
|
|
175
|
+
}
|
|
176
|
+
async unassignCardTypeProfileV2(organisationCode: string, cardTypeProfileId: string) {
|
|
177
|
+
const header = { "x-assume": organisationCode }
|
|
178
|
+
return await this.connection.remove<model.OrganisationCardTypeProfileResponse>(
|
|
179
|
+
`v2/${this.folder}/types/profiles/current/${cardTypeProfileId}`,
|
|
180
|
+
undefined,
|
|
181
|
+
undefined,
|
|
182
|
+
header
|
|
183
|
+
)
|
|
184
|
+
}
|
|
185
|
+
|
|
123
186
|
async getCardTypes(providerCode: model.ProviderCode) {
|
|
124
187
|
return await this.connection.get<model.CardTypeResponse>(`${this.folder}/types/${providerCode}`)
|
|
125
188
|
}
|
|
@@ -24,6 +24,9 @@ export class Merchants extends List<model.MerchantResponse> {
|
|
|
24
24
|
)
|
|
25
25
|
return this.extractResponse(response)
|
|
26
26
|
}
|
|
27
|
+
async getMerchant(value: string) {
|
|
28
|
+
return await this.connection.get<model.ErrorResponse | model.MerchantResponse>(`${this.folder}/${value}`)
|
|
29
|
+
}
|
|
27
30
|
async searchPaginated(
|
|
28
31
|
request: model.MerchantSearchRequest,
|
|
29
32
|
previous?: Paginated<model.MerchantResponse>,
|
package/Client/Payments/index.ts
CHANGED
|
@@ -16,7 +16,10 @@ export class Payments {
|
|
|
16
16
|
async plan(request: model.SuggestionRequest) {
|
|
17
17
|
return await this.connection.post<model.ErrorResponse | model.SuggestionResponse>(`${this.folder}/plan`, request)
|
|
18
18
|
}
|
|
19
|
-
async
|
|
19
|
+
async createSuggestion(request: model.SuggestionRequest) {
|
|
20
|
+
return await this.connection.post<model.ErrorResponse | model.PaymentResponse>(`${this.folder}/suggestion`, request)
|
|
21
|
+
}
|
|
22
|
+
async create(request: model.PaymentRequest) {
|
|
20
23
|
return await this.connection.post<model.ErrorResponse | model.PaymentResponse>(this.folder, request)
|
|
21
24
|
}
|
|
22
25
|
}
|
|
@@ -47,7 +47,25 @@ export declare class Cards extends List<model.CardResponseV2 | model.CardRespons
|
|
|
47
47
|
status: 400 | 404 | 500 | 403 | 503;
|
|
48
48
|
})>;
|
|
49
49
|
getCardTypesV2(providerCode: model.ProviderCode): Promise<model.ErrorResponse | model.CardTypeResponseV2[]>;
|
|
50
|
-
createCardTypeProfileV2(cardTypeProfileRequest: model.
|
|
50
|
+
createCardTypeProfileV2(cardTypeProfileRequest: model.CreateCardTypeProfileRequest, organisationCode?: string): Promise<model.CardTypeProfileResponse | (model.ErrorResponse & {
|
|
51
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
52
|
+
})>;
|
|
53
|
+
updateCardTypeProfileV2(cardTypeProfileId: string, cardTypeProfileRequest: model.UpdateCardTypeProfileRequest, organisationCode?: string): Promise<model.CardTypeProfileResponse | (model.ErrorResponse & {
|
|
54
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
55
|
+
})>;
|
|
56
|
+
getActiveCardTypeProfileV2(organisationCode: string): Promise<model.OrganisationCardTypeProfileResponse | (model.ErrorResponse & {
|
|
57
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
58
|
+
})>;
|
|
59
|
+
searchCardTypeProfileV2(request: model.SearchCardTypeProfileRequest, organisationCode?: string): Promise<model.CardTypeProfileResponse[] | (model.ErrorResponse & {
|
|
60
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
61
|
+
})>;
|
|
62
|
+
setCardTypeProfileV2(organisationCode: string, cardTypeProfileId: string): Promise<model.OrganisationCardTypeProfileResponse | (model.ErrorResponse & {
|
|
63
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
64
|
+
})>;
|
|
65
|
+
assignCardTypeProfileV2(organisationCode: string, cardTypeProfileId: string): Promise<model.OrganisationCardTypeProfileResponse | (model.ErrorResponse & {
|
|
66
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
67
|
+
})>;
|
|
68
|
+
unassignCardTypeProfileV2(organisationCode: string, cardTypeProfileId: string): Promise<model.OrganisationCardTypeProfileResponse | (model.ErrorResponse & {
|
|
51
69
|
status: 400 | 404 | 500 | 403 | 503;
|
|
52
70
|
})>;
|
|
53
71
|
getCardTypes(providerCode: model.ProviderCode): Promise<model.CardTypeResponse | (model.ErrorResponse & {
|
|
@@ -67,10 +67,36 @@ export class Cards extends List {
|
|
|
67
67
|
const response = await this.connection.get(`v2/${this.folder}/types/${providerCode}`);
|
|
68
68
|
return this.extractResponse(response);
|
|
69
69
|
}
|
|
70
|
-
async createCardTypeProfileV2(cardTypeProfileRequest) {
|
|
71
|
-
const
|
|
70
|
+
async createCardTypeProfileV2(cardTypeProfileRequest, organisationCode) {
|
|
71
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
72
|
+
const response = await this.connection.post(`v2/${this.folder}/types/profiles`, cardTypeProfileRequest, undefined, header);
|
|
72
73
|
return response;
|
|
73
74
|
}
|
|
75
|
+
async updateCardTypeProfileV2(cardTypeProfileId, cardTypeProfileRequest, organisationCode) {
|
|
76
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
77
|
+
const response = await this.connection.put(`v2/${this.folder}/types/profiles/${cardTypeProfileId}`, cardTypeProfileRequest, undefined, header);
|
|
78
|
+
return response;
|
|
79
|
+
}
|
|
80
|
+
async getActiveCardTypeProfileV2(organisationCode) {
|
|
81
|
+
const header = { "x-assume": organisationCode };
|
|
82
|
+
return await this.connection.get(`v2/${this.folder}/types/profiles/current`, undefined, header);
|
|
83
|
+
}
|
|
84
|
+
async searchCardTypeProfileV2(request, organisationCode) {
|
|
85
|
+
const header = organisationCode ? { "x-assume": organisationCode } : undefined;
|
|
86
|
+
return await this.connection.post(`v2/cards/types/profiles/searches`, request, undefined, header);
|
|
87
|
+
}
|
|
88
|
+
async setCardTypeProfileV2(organisationCode, cardTypeProfileId) {
|
|
89
|
+
const header = { "x-assume": organisationCode };
|
|
90
|
+
return await this.connection.post(`v2/${this.folder}/types/profiles/current/${cardTypeProfileId}`, undefined, undefined, header);
|
|
91
|
+
}
|
|
92
|
+
async assignCardTypeProfileV2(organisationCode, cardTypeProfileId) {
|
|
93
|
+
const header = { "x-assume": organisationCode };
|
|
94
|
+
return await this.connection.put(`v2/${this.folder}/types/profiles/current/${cardTypeProfileId}`, undefined, undefined, header);
|
|
95
|
+
}
|
|
96
|
+
async unassignCardTypeProfileV2(organisationCode, cardTypeProfileId) {
|
|
97
|
+
const header = { "x-assume": organisationCode };
|
|
98
|
+
return await this.connection.remove(`v2/${this.folder}/types/profiles/current/${cardTypeProfileId}`, undefined, undefined, header);
|
|
99
|
+
}
|
|
74
100
|
async getCardTypes(providerCode) {
|
|
75
101
|
return await this.connection.get(`${this.folder}/types/${providerCode}`);
|
|
76
102
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Cards/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,KAAM,SAAQ,IAA+C;IAEzE,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFC,WAAM,GAAG,OAAO,CAAA;IAGnC,CAAC;IACD,KAAK,CAAC,MAAM,CAAC,OAAgC;QAC5C,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,IAAI,CAAuB,MAAM,IAAI,CAAC,MAAM,oBAAoB,EAAE,OAAO,CAAC,CAAA;IACxG,CAAC;IACD,KAAK,CAAC,8BAA8B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QAC/E,OAAO,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAyB,MAAM,IAAI,CAAC,MAAM,sBAAsB,QAAQ,EAAE,CAAC,CAAA;IAC5G,CAAC;CACD"}
|
|
@@ -10,6 +10,9 @@ export declare class Merchants extends List<model.MerchantResponse> {
|
|
|
10
10
|
status: 400 | 404 | 500 | 403 | 503;
|
|
11
11
|
})>;
|
|
12
12
|
searchByName(searchString: string): Promise<model.ErrorResponse | model.MerchantResponse[]>;
|
|
13
|
+
getMerchant(value: string): Promise<model.MerchantResponse | model.ErrorResponse | (model.ErrorResponse & {
|
|
14
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
15
|
+
})>;
|
|
13
16
|
searchPaginated(request: model.MerchantSearchRequest, previous?: Paginated<model.MerchantResponse>, page?: number, size?: number, sort?: string): Promise<model.ErrorResponse | Paginated<model.MerchantResponse>>;
|
|
14
17
|
getAll(): Promise<model.ErrorResponse | model.MerchantResponse[]>;
|
|
15
18
|
}
|
|
@@ -17,6 +17,9 @@ export class Merchants extends List {
|
|
|
17
17
|
});
|
|
18
18
|
return this.extractResponse(response);
|
|
19
19
|
}
|
|
20
|
+
async getMerchant(value) {
|
|
21
|
+
return await this.connection.get(`${this.folder}/${value}`);
|
|
22
|
+
}
|
|
20
23
|
async searchPaginated(request, previous, page, size, sort = "name") {
|
|
21
24
|
return await this.getNextPaginated(previous, (page, size, sort, request) => this.connection.post(`${this.folder}/searches`, request, { page, size, sort }), request, page, size, sort);
|
|
22
25
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Merchants/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,MAAM,OAAO,SAAU,SAAQ,IAA4B;IAE1D,YAAY,UAAsB;QACjC,KAAK,CAAC,UAAU,CAAC,CAAA;QAFR,WAAM,GAAG,WAAoB,CAAA;IAGvC,CAAC;IACD,MAA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IAAI,EAAE,CACpB,EACF,OAAO,EACP,IAAI,EACJ,IAAI,EACJ,IAAI,CACJ,CAAA;IACF,CAAC;IACD,KAAK,CAAC,MAAM;QACX,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,GAAG,CAAiD,IAAI,CAAC,MAAM,EAAE;YACvG,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,IAAI;SACV,CAAC,CAAA;QACF,OAAO,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAA;IACtC,CAAC;CACD"}
|
|
@@ -9,7 +9,10 @@ export declare class Payments {
|
|
|
9
9
|
plan(request: model.SuggestionRequest): Promise<model.ErrorResponse | model.SuggestionResponse | (model.ErrorResponse & {
|
|
10
10
|
status: 400 | 404 | 500 | 403 | 503;
|
|
11
11
|
})>;
|
|
12
|
-
|
|
12
|
+
createSuggestion(request: model.SuggestionRequest): Promise<model.ErrorResponse | model.PaymentResponse | (model.ErrorResponse & {
|
|
13
|
+
status: 400 | 404 | 500 | 403 | 503;
|
|
14
|
+
})>;
|
|
15
|
+
create(request: model.PaymentRequest): Promise<model.ErrorResponse | model.PaymentResponse | (model.ErrorResponse & {
|
|
13
16
|
status: 400 | 404 | 500 | 403 | 503;
|
|
14
17
|
})>;
|
|
15
18
|
}
|
|
@@ -25,6 +25,9 @@ export class Payments {
|
|
|
25
25
|
async plan(request) {
|
|
26
26
|
return await this.connection.post(`${this.folder}/plan`, request);
|
|
27
27
|
}
|
|
28
|
+
async createSuggestion(request) {
|
|
29
|
+
return await this.connection.post(`${this.folder}/suggestion`, request);
|
|
30
|
+
}
|
|
28
31
|
async create(request) {
|
|
29
32
|
return await this.connection.post(this.folder, request);
|
|
30
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../","sources":["Client/Payments/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAM,OAAO,QAAQ;IAGpB,IAAc,UAAU;QACvB,OAAO,uBA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IAAI,CAA8C,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACrG,CAAC;CACD"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType,
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType,
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardSearchRequest, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateCardTypeProfileRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, ReconciliationReportUrlRequest, References, RelogWithNewSessionDetailsRequest, Report, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduledTaskRequest, ScheduleEntry, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, SearchRolesetsRequest, SecurityConfig, Segment, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementReportUrlRequest, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestedCardDeliveryOptions, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedSchedulesOptions, SuggestedUsageOptions, SuggestionCardDeliveryRequest, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateCategoryRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountSearchRequest, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AllowedMccConfig, AmendCardRequest, AmountPair, ApiKeyCreateRequest, ApiKeyCreateResponse, ApiKeyResponse, BeneficiaryRequest, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskRequest, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardOptionSearch, CardReportUrlRequest, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardSearch, CardStateChangeDesiredState, CardStateChangeScheduledTaskRequest, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardTransactionType, CardType, CreateCardTypeProfileRequest, CardTypeProfileResponse, CardTypeResponse, CardTypeResponseV2, CardTypesConfig, CardTypeSearchRequest, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CategoryFundingAccountAccessRequest, UpdateCategoryRequest, CategoryLimitResponse, CategoryResponse, CategoryStatus, ConfigMatchesRequest, ConfigMatchesResponse, ConfigRequest, ConfigResponse, ConfigTypesResponse, CreateCardRequest, CreateRolesetRequest, CredentialRequest, CredentialResponse, Criteria, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountInboundTransferNotificationConfig, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSearchRequest, FundingAccountSearchResponse, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InsertCardOptionRequest, InsertCardRequest, InternalBalanceLimit, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, MerchantSearchRequest, MinimalBookingInfo, NonBeneficiaryTransferDestination, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OmnisetupResponse, OrganisationCardTypeProfileResponse, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PasswordChangeRequest, PasswordResetResponse, PasswordValidateRequest, PasswordValidateResponse, PaxpayFeature, Payload, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentMethodOptionResponse, PaymentMethodType, PaymentOption, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProcessedStatement, ProductType, ProviderCode, ProviderResponse, Range, References, RelogWithNewSessionDetailsRequest, Report, ReconciliationReportUrlRequest, ReportUrlResponse, RoleResponse, RolesetResponse, Room, ScheduleEntry, CardSearchRequest, ScheduledTaskRequest, SearchRolesetsRequest, Segment, SecurityConfig, SearchBeneficiaryRequest, SearchCardTypeProfileRequest, StatementReportUrlRequest, StatementReportRequest, StatementReportResponse, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementSummaryReportRequest, StatementSummaryReportResponse, StatementSummaryReportResponseRow, StatementTransferSpecificType, SuggestionCardDeliveryRequest, SuggestedCardMetaOptions, SuggestedCardPaymentMethodResponse, SuggestedCardTypeOptions, SuggestedCardDeliveryOptions, SuggestedSchedulesOptions, SuggestedFundingAccountOptions, SuggestedOptions, SuggestedPaymentMethodResponse, SuggestedPaymentMethodResponses, SuggestedUsageOptions, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SuggestionResponse, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, SupplierResponse, TransactionResponse, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferRequest, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, TwoFactorAuthenticationDetails, TwoFactorAuthenticationRegistrationResponse, UpdateAccountRequest, UpdateBeneficiaryRequest, UpdateCardTypeProfileRequest, UpdateRolesetRequest, UserChangeRequest, UserConfig, UserLimitsDeleteRequest, UserLimitsRequest, UserLimitsResponse, UsernameAvailabilityResponse, UserReportUrlRequest, UserRequest, UserResponse, UserRoleResponse, UserSearchRequest, UserStatus, YearMonth, };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Client } from "./Client";
|
|
2
|
-
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
-
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardResponse, CardResponseV2, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentMethodType, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Segment, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, };
|
|
2
|
+
import { AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardAmendmentScheduledTaskResponse, CardDeliveryEmailConfig, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, SecurityConfig, Segment, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, YearMonth, } from "./model";
|
|
3
|
+
export { Client, AccountBankResponse, AccountCreationRequest, AccountDetailsTransferDestinationResponse, AccountIdentifierResponse, AccountResponse, AccountState, AccountSummary, AccountType, AddressInfo, AgentBookingInfo, AmountPair, BeneficiaryResponse, BeneficiaryStatus, BeneficiaryTransferDestinationResponse, BillingTransactionAmountPair, BookedProductInfo, BookingInfo, BookingInfoRequest, BookingInfoResponse, BookingInfoType, CardDeliveryEmailConfig, CardAmendmentScheduledTaskResponse, CardDeliveryRequest, CardDeliveryResponse, CardForm, CardFundingAccountResponse, CardOperation, CardResponse, CardResponseV2, CardResponseV3, CardScheduleResponseItem, CardScheduleTaskStatus, CardScheduleTaskType, CardStateChangeDesiredState, CardStateChangeScheduledTaskResponse, CardStatement, CardTransaction, CardType, CardTypeSpecification, CardTypeSpecificationFlag, CardUsage, CredentialRequest, CurrencyConversionRequest, CurrencyConversionResponse, DeliveryStatus, EmailValidationResponse, ErrorMessageDto, ErrorResponse, ExternalDestination, ExternalSource, FiveFieldsBookingInfoRequest, FiveFieldsBookingInfoResponse, FlightBookingInfoRequest, FlightBookingInfoResponse, FlightInfo, FundingAccountIdentifierType, FundingAccountResponseV2Basic, FundingAccountResponseV2Full, FundingAccountSummaryResponse, FundingLimitConfig, FundingLimitRequest, FundingLimitResponse, FutureTransactionPrognosisAmountPair, HotelBookingInfoRequest, HotelBookingInfoResponse, HotelInfo, InternalOrganisationConfig, InvoiceBookingInfoRequest, InvoiceBookingInfoResponse, InvokingSystem, Issue, LegacyBookingInfoRequest, LoginResponse, MerchantDetails, MerchantRequest, MerchantResponse, OmnisetupFlags, OmnisetupProviderRequest, OmnisetupRequest, OrganisationConfig, OrganisationCreateRequest, OrganisationFlag, OrganisationRequest, OrganisationResponse, OrganisationStatus, Passengers, PaxpayFeature, PaymentAmountScheduleRequest, PaymentAmountScheduleResponse, PaymentCardCreateRequest, PaymentDeliveryRequest, PaymentDeliveryResponse, PaymentMethodType, PaymentRequest, PaymentResponse, PaymentTransferCreateRequest, ProductType, ProviderCode, ProviderResponse, Range, References, ScheduleEntry, Segment, SecurityConfig, StatementReportResponseRow, StatementReportRowActionType, StatementReportRowType, StatementReportSubType, StatementRowIds, StatementTransferSpecificType, SuggestionCardPaymentMethodRequest, SuggestionMerchantRequest, SuggestionPaymentMethodRequest, SuggestionRequest, SummaryBookingInfoResponse, SupplierBookingInfo, SupplierRequest, TransactionType, TransferDestinationInfo, TransferDestinationResponse, TransferDirection, TransferResponse, TransferResponseV2, TransferResponseV2Summary, TransferResponseV3, TransferSearch, TransferStatus, TravelPartyInfo, UpdateAccountRequest, UserChangeRequest, UserLimitsRequest, UsernameAvailabilityResponse, UserRequest, UserResponse, UserStatus, 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,EACnB,sBAAsB,EACtB,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAGhB,UAAU,EAKV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,EAEf,kCAAkC,EAClC,uBAAuB,EACvB,mBAAmB,EACnB,oBAAoB,EACpB,QAAQ,EACR,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,EACnB,sBAAsB,EACtB,yCAAyC,EACzC,yBAAyB,EACzB,eAAe,EAEf,YAAY,EACZ,cAAc,EACd,WAAW,EACX,WAAW,EACX,gBAAgB,EAGhB,UAAU,EAKV,mBAAmB,EACnB,iBAAiB,EACjB,sCAAsC,EACtC,4BAA4B,EAC5B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,eAAe,E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ACnB,oBAAoB,EACpB,oCAAoC,EACpC,uBAAuB,EACvB,wBAAwB,EACxB,SAAS,EAIT,0BAA0B,EAC1B,yBAAyB,EACzB,0BAA0B,EAC1B,cAAc,EACd,KAAK,EACL,wBAAwB,EAExB,aAAa,EACb,eAAe,EACf,eAAe,EACf,gBAAgB,EAIhB,cAAc,EACd,wBAAwB,EACxB,gBAAgB,EAGhB,kBAAkB,EAClB,yBAAyB,EACzB,gBAAgB,EAChB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,UAAU,EAKV,aAAa,EAEb,4BAA4B,EAC5B,6BAA6B,EAC7B,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,EAEvB,iBAAiB,EAEjB,cAAc,EACd,eAAe,EACf,4BAA4B,EAE5B,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,KAAK,EACL,UAAU,EAQV,aAAa,EAIb,OAAO,EACP,cAAc,EAMd,0BAA0B,EAC1B,4BAA4B,EAC5B,sBAAsB,EACtB,sBAAsB,EACtB,eAAe,EAIf,6BAA6B,EAY7B,kCAAkC,EAClC,yBAAyB,EACzB,8BAA8B,EAC9B,iBAAiB,EAEjB,0BAA0B,EAC1B,mBAAmB,EACnB,eAAe,EAGf,eAAe,EACf,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EAEjB,gBAAgB,EAChB,kBAAkB,EAClB,yBAAyB,EACzB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,eAAe,EAGf,oBAAoB,EAIpB,iBAAiB,EAGjB,iBAAiB,EAEjB,4BAA4B,EAE5B,WAAW,EACX,YAAY,EAGZ,UAAU,EACV,SAAS,GACT,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DateTime } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
export interface CardOperation {
|
|
4
|
+
type: string;
|
|
5
|
+
timestamp: DateTime;
|
|
6
|
+
}
|
|
7
|
+
export declare namespace CardOperation {
|
|
8
|
+
const type: isly.object.ExtendableType<CardOperation>;
|
|
9
|
+
const is: isly.Type.IsFunction<CardOperation>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DateTime } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
export var CardOperation;
|
|
4
|
+
(function (CardOperation) {
|
|
5
|
+
CardOperation.type = isly.object({
|
|
6
|
+
type: isly.string(),
|
|
7
|
+
timestamp: isly.fromIs("DateTime", DateTime.is),
|
|
8
|
+
});
|
|
9
|
+
CardOperation.is = CardOperation.type.is;
|
|
10
|
+
})(CardOperation || (CardOperation = {}));
|
|
11
|
+
//# sourceMappingURL=CardOperation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardOperation.js","sourceRoot":"../","sources":["model/CardOperation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAM3B,MAAM,KAAW,aAAa,CAM7B;AAND,WAAiB,aAAa;IAChB,kBAAI,GAAG,IAAI,CAAC,MAAM,CAAgB;QAC9C,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE;QACnB,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,QAAQ,CAAC,EAAE,CAAC;KAC/C,CAAC,CAAA;IACW,gBAAE,GAAG,cAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EANgB,aAAa,KAAb,aAAa,QAM7B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Date } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
import { AccountState } from "./AccountState";
|
|
4
|
+
import { CardOperation } from "./CardOperation";
|
|
5
|
+
import { CardUsage } from "./CardUsage";
|
|
6
|
+
import { YearMonth } from "./YearMonth";
|
|
7
|
+
export interface CardResponseV3 {
|
|
8
|
+
id: string;
|
|
9
|
+
cardType: string;
|
|
10
|
+
expires: YearMonth;
|
|
11
|
+
usage: CardUsage;
|
|
12
|
+
state: AccountState;
|
|
13
|
+
token?: string;
|
|
14
|
+
pan: string;
|
|
15
|
+
cvv?: string;
|
|
16
|
+
cardHolderName: string;
|
|
17
|
+
issued?: Date;
|
|
18
|
+
remaining: number;
|
|
19
|
+
maxAmount: number;
|
|
20
|
+
operations?: CardOperation;
|
|
21
|
+
}
|
|
22
|
+
export declare namespace CardResponseV3 {
|
|
23
|
+
const type: isly.object.ExtendableType<CardResponseV3>;
|
|
24
|
+
const is: isly.Type.IsFunction<CardResponseV3>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Date } from "isoly";
|
|
2
|
+
import { isly } from "isly";
|
|
3
|
+
import { AccountState } from "./AccountState";
|
|
4
|
+
import { CardOperation } from "./CardOperation";
|
|
5
|
+
import { CardUsage } from "./CardUsage";
|
|
6
|
+
import { YearMonth } from "./YearMonth";
|
|
7
|
+
export var CardResponseV3;
|
|
8
|
+
(function (CardResponseV3) {
|
|
9
|
+
CardResponseV3.type = isly.object({
|
|
10
|
+
id: isly.string(),
|
|
11
|
+
cardType: isly.string(),
|
|
12
|
+
expires: isly.fromIs("YearMonth", YearMonth.is),
|
|
13
|
+
usage: isly.fromIs("CardUsage", CardUsage.is),
|
|
14
|
+
state: isly.fromIs("AccountState", AccountState.is),
|
|
15
|
+
token: isly.string().optional(),
|
|
16
|
+
pan: isly.string(),
|
|
17
|
+
cvv: isly.string().optional(),
|
|
18
|
+
cardHolderName: isly.string(),
|
|
19
|
+
issued: isly.fromIs("Date", Date.is).optional(),
|
|
20
|
+
remaining: isly.number(),
|
|
21
|
+
maxAmount: isly.number(),
|
|
22
|
+
operations: isly.fromIs("CardOperation", CardOperation.is).optional(),
|
|
23
|
+
});
|
|
24
|
+
CardResponseV3.is = CardResponseV3.type.is;
|
|
25
|
+
})(CardResponseV3 || (CardResponseV3 = {}));
|
|
26
|
+
//# sourceM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AAM,EAAE;QACxB,UAAU,EAAE,IAAI,CAAC,MAAM,CAAC,eAAe,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE;KACrE,CAAC,CAAA;IACW,iBAAE,GAAG,eAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAjBgB,cAAc,KAAd,cAAc,QAiB9B"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { CardTypeProfileStatus } from "./CardTypeProfileStatus";
|
|
1
2
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
2
3
|
import { ProviderCode } from "./ProviderCode";
|
|
3
4
|
export interface CardTypeProfileResponse {
|
|
4
5
|
cardTypeProfileId: string;
|
|
5
6
|
description: string;
|
|
6
7
|
providerCode: ProviderCode;
|
|
7
|
-
status:
|
|
8
|
-
cardTypes: CardTypeSpecification;
|
|
8
|
+
status: CardTypeProfileStatus;
|
|
9
|
+
cardTypes: CardTypeSpecification[];
|
|
9
10
|
sharedBetween: string[];
|
|
10
11
|
isDefault: boolean;
|
|
11
12
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type CardTypeProfileStatus = typeof CardTypeProfileStatus.values[number];
|
|
3
|
+
export declare namespace CardTypeProfileStatus {
|
|
4
|
+
const values: readonly ["ACTIVE", "DELETED", "DEPRECATED"];
|
|
5
|
+
const type: isly.Type<"ACTIVE" | "DELETED" | "DEPRECATED">;
|
|
6
|
+
const is: isly.Type.IsFunction<"ACTIVE" | "DELETED" | "DEPRECATED">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var CardTypeProfileStatus;
|
|
3
|
+
(function (CardTypeProfileStatus) {
|
|
4
|
+
CardTypeProfileStatus.values = ["ACTIVE", "DELETED", "DEPRECATED"];
|
|
5
|
+
CardTypeProfileStatus.type = isly.string(CardTypeProfileStatus.values);
|
|
6
|
+
CardTypeProfileStatus.is = CardTypeProfileStatus.type.is;
|
|
7
|
+
})(CardTypeProfileStatus || (CardTypeProfileStatus = {}));
|
|
8
|
+
//# sourceMappingURL=CardTypeProfileStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardTypeProfileStatus.js","sourceRoot":"../","sources":["model/CardTypeProfileStatus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,qBAAqB,CAIrC;AAJD,WAAiB,qBAAqB;IACxB,4BAAM,GAAG,CAAC,QAAQ,EAAE,SAAS,EAAE,YAAY,CAAU,CAAA;IACrD,0BAAI,GAAG,IAAI,CAAC,MAAM,CAAC,sBAAA,MAAM,CAAC,CAAA;IAC1B,wBAAE,GAAG,sBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,qBAAqB,KAArB,qBAAqB,QAIrC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardTypeSpecification } from "./CardTypeSpecification";
|
|
2
2
|
import { ProviderCode } from "./ProviderCode";
|
|
3
|
-
export interface
|
|
3
|
+
export interface CreateCardTypeProfileRequest {
|
|
4
4
|
cardTypeProfileId: string;
|
|
5
5
|
description: string;
|
|
6
6
|
providerCode: ProviderCode;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateCardTypeProfileRequest.js","sourceRoot":"../","sources":["model/CreateCardTypeProfileRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export type Inclusion = typeof Inclusion.values[number];
|
|
3
|
+
export declare namespace Inclusion {
|
|
4
|
+
const values: readonly ["INCLUDE", "EXCLUDE", "ONLY"];
|
|
5
|
+
const type: isly.Type<"INCLUDE" | "EXCLUDE" | "ONLY">;
|
|
6
|
+
const is: isly.Type.IsFunction<"INCLUDE" | "EXCLUDE" | "ONLY">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
2
|
+
export var Inclusion;
|
|
3
|
+
(function (Inclusion) {
|
|
4
|
+
Inclusion.values = ["INCLUDE", "EXCLUDE", "ONLY"];
|
|
5
|
+
Inclusion.type = isly.string(Inclusion.values);
|
|
6
|
+
Inclusion.is = Inclusion.type.is;
|
|
7
|
+
})(Inclusion || (Inclusion = {}));
|
|
8
|
+
//# sourceMappingURL=Inclusion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Inclusion.js","sourceRoot":"../","sources":["model/Inclusion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAI3B,MAAM,KAAW,SAAS,CAIzB;AAJD,WAAiB,SAAS;IACZ,gBAAM,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,CAAU,CAAA;IAChD,cAAI,GAAG,IAAI,CAAC,MAAM,CAAC,UAAA,MAAM,CAAC,CAAA;IAC1B,YAAE,GAAG,UAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,SAAS,KAAT,SAAS,QAIzB"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
1
2
|
import { MerchantType } from "./MerchantType";
|
|
2
3
|
export interface MerchantRequest {
|
|
4
|
+
id?: string;
|
|
3
5
|
name?: string;
|
|
4
6
|
mcc?: string;
|
|
5
7
|
type?: MerchantType;
|
|
6
8
|
}
|
|
7
9
|
export declare namespace MerchantRequest {
|
|
8
|
-
|
|
10
|
+
const type: isly.object.ExtendableType<MerchantRequest>;
|
|
11
|
+
const is: isly.Type.IsFunction<MerchantRequest>;
|
|
9
12
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import { isly } from "isly";
|
|
1
2
|
import { MerchantType } from "./MerchantType";
|
|
2
3
|
export var MerchantRequest;
|
|
3
4
|
(function (MerchantRequest) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
MerchantRequest.is = is;
|
|
5
|
+
MerchantRequest.type = isly.object({
|
|
6
|
+
id: isly.string().optional(),
|
|
7
|
+
name: isly.string().optional(),
|
|
8
|
+
mcc: isly.string().optional(),
|
|
9
|
+
type: MerchantType.type.optional(),
|
|
10
|
+
});
|
|
11
|
+
MerchantRequest.is = MerchantRequest.type.is;
|
|
11
12
|
})(MerchantRequest || (MerchantRequest = {}));
|
|
12
13
|
//# sourceMappingURL=MerchantRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MerchantRequest.js","sourceRoot":"../","sources":["model/MerchantRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;
|
|
1
|
+
{"version":3,"file":"MerchantRequest.js","sourceRoot":"../","sources":["model/MerchantRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAC3B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAS7C,MAAM,KAAW,eAAe,CAQ/B;AARD,WAAiB,eAAe;IAClB,oBAAI,GAAG,IAAI,CAAC,MAAM,CAAkB;QAChD,EAAE,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,IAAI,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,GAAG,EAAE,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC7B,IAAI,EAAE,YAAY,CAAC,IAAI,CAAC,QAAQ,EAAE;KAClC,CAAC,CAAA;IACW,kBAAE,GAAG,gBAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EARgB,eAAe,KAAf,eAAe,QAQ/B"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { Currency } from "isoly";
|
|
1
2
|
import { isly } from "isly";
|
|
3
|
+
import { BeneficiaryResponse } from "./BeneficiaryResponse";
|
|
2
4
|
import { MerchantType } from "./MerchantType";
|
|
3
5
|
export interface MerchantResponse {
|
|
4
6
|
id?: string;
|
|
@@ -6,6 +8,7 @@ export interface MerchantResponse {
|
|
|
6
8
|
mcc?: string;
|
|
7
9
|
type?: MerchantType;
|
|
8
10
|
isSuitableForCardMerchantRestriction?: true;
|
|
11
|
+
beneficiaries?: Partial<Record<Currency, BeneficiaryResponse>>;
|
|
9
12
|
}
|
|
10
13
|
export declare namespace MerchantResponse {
|
|
11
14
|
const type: isly.object.ExtendableType<MerchantResponse>;
|