Skip to content

Commit 49be650

Browse files
Chore: Package and Readme cleanup
1 parent 5c61cd3 commit 49be650

File tree

235 files changed

+384
-399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

235 files changed

+384
-399
lines changed

.openapi-generator/FILES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ src/apis/TransferRecipient.ts
2424
src/apis/Verification.ts
2525
src/apis/index.ts
2626
src/index.ts
27+
src/models/Accepted.ts
2728
src/models/Bank.ts
2829
src/models/BulkChargeInitiate.ts
2930
src/models/ChargeCreate.ts

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Paystack Node.js Library
1+
## Paystack Node Library
22

33
A Node client library for consuming the Paystack API
44

@@ -8,13 +8,13 @@ live secret keys.
88

99
## Installation
1010
```
11-
npm install @paystack/node --save
11+
npm install @paystack/paystack-sdk --save
1212
```
1313

1414
## Usage
1515
Import and initialize the library:
1616
```
17-
import Paystack from '@paystack/node'
17+
import Paystack from '@paystack/paystack-sdk'
1818
const paystack = new Paystack("sk_test_xxxxxx")
1919
```
2020

lib/apis/Balance.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
44
*
55
* The version of the Paystack Node library: 1.0.0
6-
*
6+
* Contact: techsupport@paystack.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

lib/apis/Balance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
77
*
88
* The version of the Paystack Node library: 1.0.0
9-
*
9+
* Contact: techsupport@paystack.com
1010
*
1111
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1212
* https://openapi-generator.tech

lib/apis/BulkCharge.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
44
*
55
* The version of the Paystack Node library: 1.0.0
6-
*
6+
* Contact: techsupport@paystack.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

lib/apis/BulkCharge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
77
*
88
* The version of the Paystack Node library: 1.0.0
9-
*
9+
* Contact: techsupport@paystack.com
1010
*
1111
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1212
* https://openapi-generator.tech

lib/apis/Charge.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
44
*
55
* The version of the Paystack Node library: 1.0.0
6-
*
6+
* Contact: techsupport@paystack.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

lib/apis/Charge.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
77
*
88
* The version of the Paystack Node library: 1.0.0
9-
*
9+
* Contact: techsupport@paystack.com
1010
*
1111
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1212
* https://openapi-generator.tech

lib/apis/Customer.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
44
*
55
* The version of the Paystack Node library: 1.0.0
6-
*
6+
* Contact: techsupport@paystack.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
1111
*/
1212
import { BaseAPI } from '../runtime';
13-
import { Response } from '../models';
13+
import { Accepted, Response } from '../models';
1414
export interface CreateRequest {
1515
email: string;
1616
first_name?: string;
@@ -90,5 +90,5 @@ export declare class Customer extends BaseAPI {
9090
* Validate a customer\'s identity
9191
* Validate Customer
9292
*/
93-
validatte(requestParameters: ValidatteRequest): Promise<Response>;
93+
validatte(requestParameters: ValidatteRequest): Promise<Accepted>;
9494
}

lib/apis/Customer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* The OpenAPI specification of the Paystack API that merchants and developers can harness to build financial solutions in Africa.
77
*
88
* The version of the Paystack Node library: 1.0.0
9-
*
9+
* Contact: techsupport@paystack.com
1010
*
1111
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1212
* https://openapi-generator.tech

0 commit comments

Comments
 (0)