@technance/technance-payment-sdk 1.0.6 → 1.0.8
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/CHANGELOG.md +12 -0
- package/dist/{ApiClient-YcAJEgtc.d.ts → ApiClient-BSk4V0dr.d.ts} +1 -0
- package/dist/ApiClient.d.ts +1 -1
- package/dist/Client.d.ts +1 -1
- package/dist/endpoints/Backoffice/Client.d.ts +1 -1
- package/dist/endpoints/Backoffice/Client.js +1 -1
- package/dist/endpoints/Backoffice/index.d.ts +1 -1
- package/dist/endpoints/Currencies/Client.d.ts +1 -1
- package/dist/endpoints/Currencies/index.d.ts +1 -1
- package/dist/endpoints/Networks/Client.d.ts +1 -1
- package/dist/endpoints/Networks/index.d.ts +1 -1
- package/dist/endpoints/Partners/Client.d.ts +1 -1
- package/dist/endpoints/Partners/index.d.ts +1 -1
- package/dist/endpoints/WithdrawalOrders/Client.d.ts +1 -1
- package/dist/endpoints/WithdrawalOrders/index.d.ts +1 -1
- package/dist/endpoints/index.d.ts +6 -6
- package/dist/{index-n6Xc_D9h.d.ts → index-BaIPf8PZ.d.ts} +1 -1
- package/dist/{index-6Az0wEqj.d.ts → index-BvLiNVn3.d.ts} +1 -1
- package/dist/{index-QRwWK6Tg.d.ts → index-CcICgWV6.d.ts} +1 -1
- package/dist/{index-gxIgyrPZ.d.ts → index-D-mEY-Cr.d.ts} +1 -1
- package/dist/{index-RYmKHYSW.d.ts → index-h5XnZ43N.d.ts} +1 -1
- package/dist/index.d.ts +6 -6
- package/dist/routing.d.ts +1 -0
- package/dist/routing.js +1 -1
- package/package.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @technance/technance-payment-sdk
|
|
2
2
|
|
|
3
|
+
## 1.0.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 4ce7bff: Add `backoffice.getPartnerVaultBalances(partnerId)` for the balances of a partner's own bank wallets (`GET /api/v1/backoffice/vault/partners/:partnerId/balances`).
|
|
8
|
+
|
|
9
|
+
## 1.0.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- ee5cc63: Publish through npm trusted publishing (OIDC) and name the source repository in package metadata.
|
|
14
|
+
|
|
3
15
|
## 1.0.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -46,6 +46,7 @@ declare class Client {
|
|
|
46
46
|
getWithdrawalOrders(query?: GetManyWithdrawalOrders.Query): Promise<axios.AxiosResponse<Pagination<BackofficeWithdrawalOrder>, any, {}>>;
|
|
47
47
|
getWithdrawalOrder(id: string | number): Promise<axios.AxiosResponse<BackofficeWithdrawalOrderDetail, any, {}>>;
|
|
48
48
|
getVaultBalances(): Promise<axios.AxiosResponse<VaultBalance[], any, {}>>;
|
|
49
|
+
getPartnerVaultBalances(partnerId: string | number): Promise<axios.AxiosResponse<VaultBalance[], any, {}>>;
|
|
49
50
|
getWebhookDeliveries(query?: GetManyWebhookDeliveries.Query): Promise<axios.AxiosResponse<Pagination<BackofficeWebhookDelivery>, any, {}>>;
|
|
50
51
|
retryWebhookDelivery(id: string): Promise<axios.AxiosResponse<BackofficeWebhookDelivery, any, {}>>;
|
|
51
52
|
}
|
package/dist/ApiClient.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'axios';
|
|
2
|
-
export { A as ApiClient, f as createApiClient } from './ApiClient-
|
|
2
|
+
export { A as ApiClient, f as createApiClient } from './ApiClient-BSk4V0dr.js';
|
|
3
3
|
import './types/WithdrawalOrder.js';
|
|
4
4
|
import './types/GetManyWithdrawalOrder.js';
|
|
5
5
|
import './types/Pagination.js';
|
package/dist/Client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'axios';
|
|
2
|
-
export { e as ClientParams, g as createClient } from './ApiClient-
|
|
2
|
+
export { e as ClientParams, g as createClient } from './ApiClient-BSk4V0dr.js';
|
|
3
3
|
import './types/WithdrawalOrder.js';
|
|
4
4
|
import './types/GetManyWithdrawalOrder.js';
|
|
5
5
|
import './types/Pagination.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var routing=require('../../routing');class
|
|
1
|
+
'use strict';var routing=require('../../routing');class n{constructor(e){this.apiClient=e;}getWithdrawalOrders(e){const t=routing.routing.backoffice.withdrawals.getMany;return this.apiClient.get(t,{params:e})}getWithdrawalOrder(e){const t=routing.routing.backoffice.withdrawals.getOne(e);return this.apiClient.get(t)}getVaultBalances(){const e=routing.routing.backoffice.vault.balances;return this.apiClient.get(e)}getPartnerVaultBalances(e){const t=routing.routing.backoffice.vault.partnerBalances(e);return this.apiClient.get(t)}getWebhookDeliveries(e){const t=routing.routing.backoffice.webhooks.getMany;return this.apiClient.get(t,{params:e})}retryWebhookDelivery(e){const t=routing.routing.backoffice.webhooks.retry(e);return this.apiClient.post(t)}}exports.Client=n;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { i as WithdrawalOrders } from '../index-
|
|
2
|
-
export { i as Partners } from '../index-
|
|
3
|
-
export { i as Currencies } from '../index-
|
|
4
|
-
export { i as Networks } from '../index-
|
|
5
|
-
export { i as Backoffice } from '../index-
|
|
6
|
-
import '../ApiClient-
|
|
1
|
+
export { i as WithdrawalOrders } from '../index-CcICgWV6.js';
|
|
2
|
+
export { i as Partners } from '../index-BvLiNVn3.js';
|
|
3
|
+
export { i as Currencies } from '../index-h5XnZ43N.js';
|
|
4
|
+
export { i as Networks } from '../index-BaIPf8PZ.js';
|
|
5
|
+
export { i as Backoffice } from '../index-D-mEY-Cr.js';
|
|
6
|
+
import '../ApiClient-BSk4V0dr.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import '../types/WithdrawalOrder.js';
|
|
9
9
|
import '../types/GetManyWithdrawalOrder.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { A as ApiClient, e as ClientParams, g as createClient } from './ApiClient-
|
|
1
|
+
export { A as ApiClient, e as ClientParams, g as createClient } from './ApiClient-BSk4V0dr.js';
|
|
2
2
|
export { TechnancePaymentWebhookValidationFailure, TechnancePaymentWebhookValidationFailureResult, TechnancePaymentWebhookValidationOutcome, TechnancePaymentWebhookValidationResult, ValidateTechnancePaymentWebhookParams, validateTechnancePaymentWebhook } from './webhooks/validator.js';
|
|
3
|
-
export { i as WithdrawalOrders } from './index-
|
|
4
|
-
export { i as Partners } from './index-
|
|
5
|
-
export { i as Currencies } from './index-
|
|
6
|
-
export { i as Networks } from './index-
|
|
7
|
-
export { i as Backoffice } from './index-
|
|
3
|
+
export { i as WithdrawalOrders } from './index-CcICgWV6.js';
|
|
4
|
+
export { i as Partners } from './index-BvLiNVn3.js';
|
|
5
|
+
export { i as Currencies } from './index-h5XnZ43N.js';
|
|
6
|
+
export { i as Networks } from './index-BaIPf8PZ.js';
|
|
7
|
+
export { i as Backoffice } from './index-D-mEY-Cr.js';
|
|
8
8
|
export { Balance } from './types/Balance.js';
|
|
9
9
|
export { BackofficePaymentProvider, BackofficeWebhookDelivery, BackofficeWebhookDeliveryStatus, BackofficeWebhookEvent, BackofficeWithdrawal, BackofficeWithdrawalOrder, BackofficeWithdrawalOrderDetail, BackofficeWithdrawalStatus, VaultBalance } from './types/Backoffice.js';
|
|
10
10
|
export { Currency } from './types/Currency.js';
|
package/dist/routing.d.ts
CHANGED
package/dist/routing.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a={partners:{me:"/api/v1/partners",balances:"/api/v1/partner/balances"},withdrawalOrders:{placeOrder:"/api/v1/payment/withdrawals",getMany:"/api/v1/payment/withdrawals",getOne:e=>`/api/v1/payment/withdrawals/${encodeURIComponent(String(e))}`},currencies:{getAll:"/api/v1/currencies",getOne:e=>`/api/v1/currencies/${encodeURIComponent(String(e))}`},networks:{getAll:"/api/v1/networks",getOne:e=>`/api/v1/networks/${encodeURIComponent(String(e))}`},backoffice:{withdrawals:{getMany:"/api/v1/backoffice/withdrawals",getOne:e=>`/api/v1/backoffice/withdrawals/${encodeURIComponent(String(e))}`},vault:{balances:"/api/v1/backoffice/vault/balances"},webhooks:{getMany:"/api/v1/backoffice/webhooks",retry:e=>`/api/v1/backoffice/webhooks/${encodeURIComponent(String(e))}/retry`}}};exports.routing=a;
|
|
1
|
+
'use strict';const a={partners:{me:"/api/v1/partners",balances:"/api/v1/partner/balances"},withdrawalOrders:{placeOrder:"/api/v1/payment/withdrawals",getMany:"/api/v1/payment/withdrawals",getOne:e=>`/api/v1/payment/withdrawals/${encodeURIComponent(String(e))}`},currencies:{getAll:"/api/v1/currencies",getOne:e=>`/api/v1/currencies/${encodeURIComponent(String(e))}`},networks:{getAll:"/api/v1/networks",getOne:e=>`/api/v1/networks/${encodeURIComponent(String(e))}`},backoffice:{withdrawals:{getMany:"/api/v1/backoffice/withdrawals",getOne:e=>`/api/v1/backoffice/withdrawals/${encodeURIComponent(String(e))}`},vault:{balances:"/api/v1/backoffice/vault/balances",partnerBalances:e=>`/api/v1/backoffice/vault/partners/${encodeURIComponent(String(e))}/balances`},webhooks:{getMany:"/api/v1/backoffice/webhooks",retry:e=>`/api/v1/backoffice/webhooks/${encodeURIComponent(String(e))}/retry`}}};exports.routing=a;
|
package/package.json
CHANGED
|
@@ -40,7 +40,12 @@
|
|
|
40
40
|
"module": "./dist/index.js",
|
|
41
41
|
"name": "@technance/technance-payment-sdk",
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
|
-
"version": "1.0.
|
|
43
|
+
"version": "1.0.8",
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/technance-foundation/technance-payment.git",
|
|
47
|
+
"directory": "packages/sdk"
|
|
48
|
+
},
|
|
44
49
|
"scripts": {
|
|
45
50
|
"build": "tsup",
|
|
46
51
|
"clean": "rimraf dist node_modules",
|