@keystrokehq/razorpay 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.
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/notify-payment-link.d.ts
4
4
  declare const RazorpayNotifyPaymentLinkInput: z.ZodObject<{
5
5
  medium: z.ZodEnum<{
6
- sms: "sms";
7
6
  email: "email";
7
+ sms: "sms";
8
8
  }>;
9
9
  plink_id: z.ZodString;
10
10
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ declare const RazorpayNotifyPaymentLinkOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
13
  }, z.core.$loose>;
14
14
  declare const razorpayNotifyPaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "sms" | "email";
15
+ medium: "email" | "sms";
16
16
  plink_id: string;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
18
  //#endregion
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/notify-payment-link.d.ts
4
4
  declare const RazorpayNotifyPaymentLinkInput: z.ZodObject<{
5
5
  medium: z.ZodEnum<{
6
- sms: "sms";
7
6
  email: "email";
7
+ sms: "sms";
8
8
  }>;
9
9
  plink_id: z.ZodString;
10
10
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ declare const RazorpayNotifyPaymentLinkOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
13
  }, z.core.$loose>;
14
14
  declare const razorpayNotifyPaymentLink: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "sms" | "email";
15
+ medium: "email" | "sms";
16
16
  plink_id: string;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
18
  //#endregion
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/send-or-resend-notification.d.ts
4
4
  declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
5
5
  medium: z.ZodEnum<{
6
- sms: "sms";
7
6
  email: "email";
7
+ sms: "sms";
8
8
  }>;
9
9
  invoice_id: z.ZodString;
10
10
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
13
  }, z.core.$loose>;
14
14
  declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "sms" | "email";
15
+ medium: "email" | "sms";
16
16
  invoice_id: string;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
18
  //#endregion
@@ -3,8 +3,8 @@ import { z } from "zod";
3
3
  //#region src/actions/send-or-resend-notification.d.ts
4
4
  declare const RazorpaySendOrResendNotificationInput: z.ZodObject<{
5
5
  medium: z.ZodEnum<{
6
- sms: "sms";
7
6
  email: "email";
7
+ sms: "sms";
8
8
  }>;
9
9
  invoice_id: z.ZodString;
10
10
  }, z.core.$strip>;
@@ -12,7 +12,7 @@ declare const RazorpaySendOrResendNotificationOutput: z.ZodObject<{
12
12
  success: z.ZodNullable<z.ZodBoolean>;
13
13
  }, z.core.$loose>;
14
14
  declare const razorpaySendOrResendNotification: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- medium: "sms" | "email";
15
+ medium: "email" | "sms";
16
16
  invoice_id: string;
17
17
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
18
  //#endregion
package/dist/catalog.cjs CHANGED
@@ -9,12 +9,12 @@ const razorpayCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "key_secret": {
12
+ "generic_api_key": {
13
13
  "label": "Key Secret",
14
14
  "secret": true,
15
15
  "description": "Your Razorpay Key Secret from the dashboard"
16
16
  },
17
- "key_id": {
17
+ "generic_id": {
18
18
  "label": "Key ID",
19
19
  "description": "Your Razorpay Key ID from the dashboard"
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const razorpayCatalog = {\n \"slug\": \"razorpay\",\n \"name\": \"Razorpay\",\n \"description\": \"Payment gateway and financial services platform for businesses in India\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/razorpay\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"key_secret\": {\n \"label\": \"Key Secret\",\n \"secret\": true,\n \"description\": \"Your Razorpay Key Secret from the dashboard\"\n },\n \"key_id\": {\n \"label\": \"Key ID\",\n \"description\": \"Your Razorpay Key ID from the dashboard\"\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,cAAc;GACZ,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,UAAU;GACR,SAAS;GACT,eAAe;EACjB;CACF;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 razorpayCatalog = {\n \"slug\": \"razorpay\",\n \"name\": \"Razorpay\",\n \"description\": \"Payment gateway and financial services platform for businesses in India\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/razorpay\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Key Secret\",\n \"secret\": true,\n \"description\": \"Your Razorpay Key Secret from the dashboard\"\n },\n \"generic_id\": {\n \"label\": \"Key ID\",\n \"description\": \"Your Razorpay Key ID from the dashboard\"\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;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
@@ -9,12 +9,12 @@ declare const razorpayCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly key_secret: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Key Secret";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Razorpay Key Secret from the dashboard";
16
16
  };
17
- readonly key_id: {
17
+ readonly generic_id: {
18
18
  readonly label: "Key ID";
19
19
  readonly description: "Your Razorpay Key ID from the dashboard";
20
20
  };
@@ -9,12 +9,12 @@ declare const razorpayCatalog: {
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
11
  readonly credentialFields: {
12
- readonly key_secret: {
12
+ readonly generic_api_key: {
13
13
  readonly label: "Key Secret";
14
14
  readonly secret: true;
15
15
  readonly description: "Your Razorpay Key Secret from the dashboard";
16
16
  };
17
- readonly key_id: {
17
+ readonly generic_id: {
18
18
  readonly label: "Key ID";
19
19
  readonly description: "Your Razorpay Key ID from the dashboard";
20
20
  };
package/dist/catalog.mjs CHANGED
@@ -9,12 +9,12 @@ const razorpayCatalog = {
9
9
  "authKind": "keystroke",
10
10
  "oauthScopes": [],
11
11
  "credentialFields": {
12
- "key_secret": {
12
+ "generic_api_key": {
13
13
  "label": "Key Secret",
14
14
  "secret": true,
15
15
  "description": "Your Razorpay Key Secret from the dashboard"
16
16
  },
17
- "key_id": {
17
+ "generic_id": {
18
18
  "label": "Key ID",
19
19
  "description": "Your Razorpay Key ID from the dashboard"
20
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const razorpayCatalog = {\n \"slug\": \"razorpay\",\n \"name\": \"Razorpay\",\n \"description\": \"Payment gateway and financial services platform for businesses in India\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/razorpay\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"key_secret\": {\n \"label\": \"Key Secret\",\n \"secret\": true,\n \"description\": \"Your Razorpay Key Secret from the dashboard\"\n },\n \"key_id\": {\n \"label\": \"Key ID\",\n \"description\": \"Your Razorpay Key ID from the dashboard\"\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,cAAc;GACZ,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,UAAU;GACR,SAAS;GACT,eAAe;EACjB;CACF;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 razorpayCatalog = {\n \"slug\": \"razorpay\",\n \"name\": \"Razorpay\",\n \"description\": \"Payment gateway and financial services platform for businesses in India\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/razorpay\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"Key Secret\",\n \"secret\": true,\n \"description\": \"Your Razorpay Key Secret from the dashboard\"\n },\n \"generic_id\": {\n \"label\": \"Key ID\",\n \"description\": \"Your Razorpay Key ID from the dashboard\"\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;GACjB,SAAS;GACT,UAAU;GACV,eAAe;EACjB;EACA,cAAc;GACZ,SAAS;GACT,eAAe;EACjB;CACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/razorpay",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"