@afriex/sdk 3.0.1 → 4.0.0
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/dist/index.d.ts +3 -3
- package/package.json +10 -10
package/dist/index.d.ts
CHANGED
|
@@ -29,12 +29,12 @@ export { BalanceService } from "@afriex/balance";
|
|
|
29
29
|
export { RateService } from "@afriex/rates";
|
|
30
30
|
export { CheckoutService } from "@afriex/checkout";
|
|
31
31
|
export { WebhookVerifier, WebhookService } from "@afriex/webhooks";
|
|
32
|
-
export type { Customer, CreateCustomerRequest, UpdateCustomerRequest, UpdateCustomerKycRequest, VerifyCustomerRequest, ListCustomersParams, CustomerListResponse, } from "@afriex/customers";
|
|
32
|
+
export type { Customer, CustomerKyc, CustomerMeta, KycDocumentType, CreateCustomerRequest, UpdateCustomerRequest, UpdateCustomerKycRequest, VerifyCustomerRequest, ListCustomersParams, CustomerListResponse, } from "@afriex/customers";
|
|
33
33
|
export type { Transaction, CreateTransactionRequest, AuthorizeTransactionRequest, ListTransactionsParams, TransactionListResponse, TransactionListType, TransactionChannel, TransactionType, TransactionStatus, TransactionMeta, TransactionMetaResponse, TransactionFailureCode, TransactionFailureReason, } from "@afriex/transactions";
|
|
34
|
-
export type { PaymentMethod, CreatePaymentMethodRequest, ListPaymentMethodsParams, PaymentMethodListResponse, PaymentChannel, CreatablePaymentChannel, PaymentMethodStatus, CardBrand, CardExpiration, Institution, InstitutionListChannel, ResolveAccountParams, ResolveAccountResponse, GetInstitutionsParams, CryptoWalletResponse, GetCryptoWalletParams, ListVirtualAccountsParams, CreateVirtualAccountParams, ListPoolAccountsParams, VirtualAccountListResponse, PoolAccountResponse, } from "@afriex/payment-methods";
|
|
34
|
+
export type { PaymentMethod, CreatePaymentMethodRequest, ListPaymentMethodsParams, PaymentMethodListResponse, PaymentChannel, CreatablePaymentChannel, PaymentMethodStatus, CardBrand, CardExpiration, Institution, InstitutionListResponse, InstitutionListChannel, InstitutionCode, InstitutionCodesParams, InstitutionCodesResponse, ResolveAccountParams, ResolvedAccount, ResolveAccountResponse, GetInstitutionsParams, CryptoWallet, CryptoWalletData, CryptoWalletResponse, GetCryptoWalletParams, ListVirtualAccountsParams, CreateVirtualAccountParams, ListPoolAccountsParams, VirtualAccountListResponse, PoolAccountResponse, } from "@afriex/payment-methods";
|
|
35
35
|
export type { BalanceResponse, GetBalanceParams } from "@afriex/balance";
|
|
36
36
|
export type { RatesResponse, GetRatesParams } from "@afriex/rates";
|
|
37
37
|
export type { CheckoutSession, CreateCheckoutSessionRequest, CheckoutCustomer, CheckoutChannel, } from "@afriex/checkout";
|
|
38
|
-
export type { WebhookPayload, CustomerWebhookPayload, CustomerEventType, CustomerWebhookData, PaymentMethodWebhookPayload, PaymentMethodEventType, PaymentMethodWebhookData, TransactionWebhookPayload, TransactionEventType, TransactionWebhookData, TransactionWebhookStatus, CheckoutSessionWebhookPayload, CheckoutSessionEventType, CheckoutSessionWebhookData, TriggerWebhookRequest, WebhookEventType, } from "@afriex/webhooks";
|
|
38
|
+
export type { WebhookPayload, CustomerWebhookPayload, CustomerEventType, CustomerWebhookData, PaymentMethodWebhookPayload, PaymentMethodEventType, PaymentMethodWebhookData, TransactionWebhookPayload, TransactionEventType, TransactionWebhookData, TransactionWebhookStatus, CheckoutSessionWebhookPayload, CheckoutSessionEventType, CheckoutSessionWebhookData, TriggerWebhookRequest, TriggerWebhookResult, TriggerWebhookResponse, WebhookEventType, } from "@afriex/webhooks";
|
|
39
39
|
export { WEBHOOK_SIGNATURE_HEADER } from "@afriex/webhooks";
|
|
40
40
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@afriex/sdk",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Official TypeScript SDK for the Afriex Business API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@afriex/core": "2.0
|
|
24
|
-
"@afriex/customers": "
|
|
25
|
-
"@afriex/transactions": "2.0
|
|
26
|
-
"@afriex/payment-methods": "
|
|
27
|
-
"@afriex/balance": "1.
|
|
28
|
-
"@afriex/rates": "
|
|
29
|
-
"@afriex/checkout": "
|
|
30
|
-
"@afriex/webhooks": "
|
|
23
|
+
"@afriex/core": "2.1.0",
|
|
24
|
+
"@afriex/customers": "3.0.0",
|
|
25
|
+
"@afriex/transactions": "2.1.0",
|
|
26
|
+
"@afriex/payment-methods": "4.0.0",
|
|
27
|
+
"@afriex/balance": "1.5.0",
|
|
28
|
+
"@afriex/rates": "2.0.0",
|
|
29
|
+
"@afriex/checkout": "3.0.0",
|
|
30
|
+
"@afriex/webhooks": "2.0.0"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@tanstack/intent": "^0.3.6",
|
|
@@ -60,6 +60,6 @@
|
|
|
60
60
|
"scripts": {
|
|
61
61
|
"build": "tsc",
|
|
62
62
|
"type-check": "tsc --noEmit",
|
|
63
|
-
"clean": "rimraf dist"
|
|
63
|
+
"clean": "rimraf dist tsconfig.tsbuildinfo"
|
|
64
64
|
}
|
|
65
65
|
}
|