@keystrokehq/paystack 0.1.3 → 0.1.4
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/actions/create-payment-page.d.cts +2 -2
- package/dist/actions/create-payment-page.d.mts +2 -2
- package/dist/actions/create-transfer-recipient.d.cts +2 -2
- package/dist/actions/create-transfer-recipient.d.mts +2 -2
- package/dist/actions/initialize-transaction.d.cts +2 -2
- package/dist/actions/initialize-transaction.d.mts +2 -2
- package/dist/actions/list-banks.d.cts +2 -2
- package/dist/actions/list-banks.d.mts +2 -2
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,9 +7,9 @@ declare const PaystackCreatePaymentPageInput: z.ZodObject<{
|
|
|
7
7
|
slug: z.ZodOptional<z.ZodString>;
|
|
8
8
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9
9
|
plan: "plan";
|
|
10
|
+
product: "product";
|
|
10
11
|
payment: "payment";
|
|
11
12
|
subscription: "subscription";
|
|
12
|
-
product: "product";
|
|
13
13
|
}>>;
|
|
14
14
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
currency: z.ZodOptional<z.ZodEnum<{
|
|
@@ -52,7 +52,7 @@ declare const paystackCreatePaymentPage: import("@keystrokehq/action").WorkflowA
|
|
|
52
52
|
name: string;
|
|
53
53
|
plan?: string | undefined;
|
|
54
54
|
slug?: string | undefined;
|
|
55
|
-
type?: "plan" | "
|
|
55
|
+
type?: "plan" | "product" | "payment" | "subscription" | undefined;
|
|
56
56
|
amount?: number | undefined;
|
|
57
57
|
currency?: "NGN" | "GHS" | "ZAR" | "USD" | "KES" | undefined;
|
|
58
58
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -7,9 +7,9 @@ declare const PaystackCreatePaymentPageInput: z.ZodObject<{
|
|
|
7
7
|
slug: z.ZodOptional<z.ZodString>;
|
|
8
8
|
type: z.ZodOptional<z.ZodEnum<{
|
|
9
9
|
plan: "plan";
|
|
10
|
+
product: "product";
|
|
10
11
|
payment: "payment";
|
|
11
12
|
subscription: "subscription";
|
|
12
|
-
product: "product";
|
|
13
13
|
}>>;
|
|
14
14
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
15
15
|
currency: z.ZodOptional<z.ZodEnum<{
|
|
@@ -52,7 +52,7 @@ declare const paystackCreatePaymentPage: import("@keystrokehq/action").WorkflowA
|
|
|
52
52
|
name: string;
|
|
53
53
|
plan?: string | undefined;
|
|
54
54
|
slug?: string | undefined;
|
|
55
|
-
type?: "plan" | "
|
|
55
|
+
type?: "plan" | "product" | "payment" | "subscription" | undefined;
|
|
56
56
|
amount?: number | undefined;
|
|
57
57
|
currency?: "NGN" | "GHS" | "ZAR" | "USD" | "KES" | undefined;
|
|
58
58
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -5,9 +5,9 @@ declare const PaystackCreateTransferRecipientInput: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
type: z.ZodEnum<{
|
|
7
7
|
authorization: "authorization";
|
|
8
|
-
mobile_money: "mobile_money";
|
|
9
8
|
nuban: "nuban";
|
|
10
9
|
ghipss: "ghipss";
|
|
10
|
+
mobile_money: "mobile_money";
|
|
11
11
|
basa: "basa";
|
|
12
12
|
}>;
|
|
13
13
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -47,7 +47,7 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
|
|
|
47
47
|
}, z.core.$loose>;
|
|
48
48
|
declare const paystackCreateTransferRecipient: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
name: string;
|
|
50
|
-
type: "authorization" | "
|
|
50
|
+
type: "authorization" | "nuban" | "ghipss" | "mobile_money" | "basa";
|
|
51
51
|
bank_code: string;
|
|
52
52
|
account_number: string;
|
|
53
53
|
email?: string | undefined;
|
|
@@ -5,9 +5,9 @@ declare const PaystackCreateTransferRecipientInput: z.ZodObject<{
|
|
|
5
5
|
name: z.ZodString;
|
|
6
6
|
type: z.ZodEnum<{
|
|
7
7
|
authorization: "authorization";
|
|
8
|
-
mobile_money: "mobile_money";
|
|
9
8
|
nuban: "nuban";
|
|
10
9
|
ghipss: "ghipss";
|
|
10
|
+
mobile_money: "mobile_money";
|
|
11
11
|
basa: "basa";
|
|
12
12
|
}>;
|
|
13
13
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -47,7 +47,7 @@ declare const PaystackCreateTransferRecipientOutput: z.ZodObject<{
|
|
|
47
47
|
}, z.core.$loose>;
|
|
48
48
|
declare const paystackCreateTransferRecipient: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
49
49
|
name: string;
|
|
50
|
-
type: "authorization" | "
|
|
50
|
+
type: "authorization" | "nuban" | "ghipss" | "mobile_money" | "basa";
|
|
51
51
|
bank_code: string;
|
|
52
52
|
account_number: string;
|
|
53
53
|
email?: string | undefined;
|
|
@@ -37,8 +37,8 @@ declare const PaystackInitializeTransactionInput: z.ZodObject<{
|
|
|
37
37
|
}>>;
|
|
38
38
|
channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
39
39
|
bank: "bank";
|
|
40
|
-
ussd: "ussd";
|
|
41
40
|
mobile_money: "mobile_money";
|
|
41
|
+
ussd: "ussd";
|
|
42
42
|
card: "card";
|
|
43
43
|
qr: "qr";
|
|
44
44
|
eft: "eft";
|
|
@@ -86,7 +86,7 @@ declare const paystackInitializeTransaction: import("@keystrokehq/action").Workf
|
|
|
86
86
|
bearer_subaccount?: string | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
bearer?: "subaccount" | "account" | undefined;
|
|
89
|
-
channels?: ("bank" | "
|
|
89
|
+
channels?: ("bank" | "mobile_money" | "ussd" | "card" | "qr" | "eft" | "bank_transfer")[] | undefined;
|
|
90
90
|
currency?: "NGN" | "GHS" | "ZAR" | "USD" | "KES" | undefined;
|
|
91
91
|
metadata?: Record<string, unknown> | undefined;
|
|
92
92
|
reference?: string | undefined;
|
|
@@ -37,8 +37,8 @@ declare const PaystackInitializeTransactionInput: z.ZodObject<{
|
|
|
37
37
|
}>>;
|
|
38
38
|
channels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
39
39
|
bank: "bank";
|
|
40
|
-
ussd: "ussd";
|
|
41
40
|
mobile_money: "mobile_money";
|
|
41
|
+
ussd: "ussd";
|
|
42
42
|
card: "card";
|
|
43
43
|
qr: "qr";
|
|
44
44
|
eft: "eft";
|
|
@@ -86,7 +86,7 @@ declare const paystackInitializeTransaction: import("@keystrokehq/action").Workf
|
|
|
86
86
|
bearer_subaccount?: string | undefined;
|
|
87
87
|
} | undefined;
|
|
88
88
|
bearer?: "subaccount" | "account" | undefined;
|
|
89
|
-
channels?: ("bank" | "
|
|
89
|
+
channels?: ("bank" | "mobile_money" | "ussd" | "card" | "qr" | "eft" | "bank_transfer")[] | undefined;
|
|
90
90
|
currency?: "NGN" | "GHS" | "ZAR" | "USD" | "KES" | undefined;
|
|
91
91
|
metadata?: Record<string, unknown> | undefined;
|
|
92
92
|
reference?: string | undefined;
|
|
@@ -5,8 +5,8 @@ declare const PaystackListBanksInput: z.ZodObject<{
|
|
|
5
5
|
next: z.ZodOptional<z.ZodString>;
|
|
6
6
|
page: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
type: z.ZodOptional<z.ZodEnum<{
|
|
8
|
-
mobile_money: "mobile_money";
|
|
9
8
|
nuban: "nuban";
|
|
9
|
+
mobile_money: "mobile_money";
|
|
10
10
|
basa: "basa";
|
|
11
11
|
ghipps: "ghipps";
|
|
12
12
|
kepss: "kepss";
|
|
@@ -65,7 +65,7 @@ declare const PaystackListBanksOutput: z.ZodObject<{
|
|
|
65
65
|
declare const paystackListBanks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
next?: string | undefined;
|
|
67
67
|
page?: number | undefined;
|
|
68
|
-
type?: "
|
|
68
|
+
type?: "nuban" | "mobile_money" | "basa" | "ghipps" | "kepss" | undefined;
|
|
69
69
|
country?: "ghana" | "kenya" | "nigeria" | "south africa" | undefined;
|
|
70
70
|
gateway?: "emandate" | "digitalbankmandate" | undefined;
|
|
71
71
|
perPage?: number | undefined;
|
|
@@ -5,8 +5,8 @@ declare const PaystackListBanksInput: z.ZodObject<{
|
|
|
5
5
|
next: z.ZodOptional<z.ZodString>;
|
|
6
6
|
page: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
type: z.ZodOptional<z.ZodEnum<{
|
|
8
|
-
mobile_money: "mobile_money";
|
|
9
8
|
nuban: "nuban";
|
|
9
|
+
mobile_money: "mobile_money";
|
|
10
10
|
basa: "basa";
|
|
11
11
|
ghipps: "ghipps";
|
|
12
12
|
kepss: "kepss";
|
|
@@ -65,7 +65,7 @@ declare const PaystackListBanksOutput: z.ZodObject<{
|
|
|
65
65
|
declare const paystackListBanks: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
next?: string | undefined;
|
|
67
67
|
page?: number | undefined;
|
|
68
|
-
type?: "
|
|
68
|
+
type?: "nuban" | "mobile_money" | "basa" | "ghipps" | "kepss" | undefined;
|
|
69
69
|
country?: "ghana" | "kenya" | "nigeria" | "south africa" | undefined;
|
|
70
70
|
gateway?: "emandate" | "digitalbankmandate" | undefined;
|
|
71
71
|
perPage?: number | undefined;
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const paystackCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/paystack",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Secret Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your Paystack secret key (starts with sk_test_ for test mode or sk_live_ for live mode). Find this in your Paystack Dashboard under Settings > API Keys & Webhooks."
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paystackCatalog = {\n \"slug\": \"paystack\",\n \"name\": \"Paystack\",\n \"description\": \"Nigerian financial technology company that offers payment processing services to businesses in Africa.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/paystack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paystackCatalog = {\n \"slug\": \"paystack\",\n \"name\": \"Paystack\",\n \"description\": \"Nigerian financial technology company that offers payment processing services to businesses in Africa.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/paystack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Secret Key\",\n \"secret\": true,\n \"description\": \"Your Paystack secret key (starts with sk_test_ for test mode or sk_live_ for live mode). Find this in your Paystack Dashboard under Settings > API Keys & Webhooks.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const paystackCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Secret Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your Paystack secret key (starts with sk_test_ for test mode or sk_live_ for live mode). Find this in your Paystack Dashboard under Settings > API Keys & Webhooks.";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const paystackCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "Secret Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your Paystack secret key (starts with sk_test_ for test mode or sk_live_ for live mode). Find this in your Paystack Dashboard under Settings > API Keys & Webhooks.";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const paystackCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/paystack",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "Secret Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your Paystack secret key (starts with sk_test_ for test mode or sk_live_ for live mode). Find this in your Paystack Dashboard under Settings > API Keys & Webhooks."
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paystackCatalog = {\n \"slug\": \"paystack\",\n \"name\": \"Paystack\",\n \"description\": \"Nigerian financial technology company that offers payment processing services to businesses in Africa.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/paystack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const paystackCatalog = {\n \"slug\": \"paystack\",\n \"name\": \"Paystack\",\n \"description\": \"Nigerian financial technology company that offers payment processing services to businesses in Africa.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/paystack\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Secret Key\",\n \"secret\": true,\n \"description\": \"Your Paystack secret key (starts with sk_test_ for test mode or sk_live_ for live mode). Find this in your Paystack Dashboard under Settings > API Keys & Webhooks.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,kBAAkB;CAC7B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|