paystack-sdk 2.5.12 → 2.5.16
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.
|
@@ -127,8 +127,9 @@ export interface DedicatedAccount {
|
|
|
127
127
|
export interface UpdateCustomer {
|
|
128
128
|
first_name: string;
|
|
129
129
|
last_name: string;
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
email: string;
|
|
131
|
+
phone?: string;
|
|
132
|
+
metadata?: Record<string, unknown>;
|
|
132
133
|
}
|
|
133
134
|
export interface SetRiskAction {
|
|
134
135
|
customer: string;
|
|
@@ -28,17 +28,7 @@ export interface Response {
|
|
|
28
28
|
message: string;
|
|
29
29
|
}
|
|
30
30
|
export interface SubscriptionCreated extends Response {
|
|
31
|
-
data:
|
|
32
|
-
customer: number;
|
|
33
|
-
plan: number;
|
|
34
|
-
integration: number;
|
|
35
|
-
domain: string;
|
|
36
|
-
start: number;
|
|
37
|
-
status: string;
|
|
38
|
-
quantity: number;
|
|
39
|
-
amount: number;
|
|
40
|
-
authorization: Authorization;
|
|
41
|
-
};
|
|
31
|
+
data: Subscription;
|
|
42
32
|
}
|
|
43
33
|
export interface ListSubscriptions extends Response {
|
|
44
34
|
data: Subscription[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paystack-sdk",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.16",
|
|
4
4
|
"description": "Paystack SDK written in Typescript",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"author": "Tech Priest",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
],
|
|
43
43
|
"repository": {
|
|
44
44
|
"type": "git",
|
|
45
|
-
"url": "git+https://github.com/
|
|
45
|
+
"url": "git+https://github.com/tekpriest/paystack-node.git"
|
|
46
46
|
}
|
|
47
47
|
}
|