@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.
@@ -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" | "payment" | "subscription" | "product" | undefined;
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" | "payment" | "subscription" | "product" | undefined;
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" | "mobile_money" | "nuban" | "ghipss" | "basa";
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" | "mobile_money" | "nuban" | "ghipss" | "basa";
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" | "ussd" | "mobile_money" | "card" | "qr" | "eft" | "bank_transfer")[] | undefined;
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" | "ussd" | "mobile_money" | "card" | "qr" | "eft" | "bank_transfer")[] | undefined;
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?: "mobile_money" | "nuban" | "basa" | "ghipps" | "kepss" | undefined;
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?: "mobile_money" | "nuban" | "basa" | "ghipps" | "kepss" | undefined;
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": { "api_key": {
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."
@@ -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 \"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,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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"}
@@ -9,7 +9,7 @@ declare const paystackCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
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.";
@@ -9,7 +9,7 @@ declare const paystackCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly api_key: {
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": { "api_key": {
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."
@@ -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 \"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,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/paystack",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"