@keystrokehq/razorpay 0.1.4 → 0.1.5

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.
Files changed (113) hide show
  1. package/dist/actions/cancel-invoice.d.cts +15 -1
  2. package/dist/actions/cancel-invoice.d.mts +15 -1
  3. package/dist/actions/cancel-payment-link.d.cts +15 -1
  4. package/dist/actions/cancel-payment-link.d.mts +15 -1
  5. package/dist/actions/create-an-order.d.cts +15 -1
  6. package/dist/actions/create-an-order.d.cts.map +1 -1
  7. package/dist/actions/create-an-order.d.mts +15 -1
  8. package/dist/actions/create-an-order.d.mts.map +1 -1
  9. package/dist/actions/create-contact.d.cts +15 -1
  10. package/dist/actions/create-contact.d.cts.map +1 -1
  11. package/dist/actions/create-contact.d.mts +15 -1
  12. package/dist/actions/create-contact.d.mts.map +1 -1
  13. package/dist/actions/create-customer.d.cts +15 -1
  14. package/dist/actions/create-customer.d.cts.map +1 -1
  15. package/dist/actions/create-customer.d.mts +15 -1
  16. package/dist/actions/create-customer.d.mts.map +1 -1
  17. package/dist/actions/create-invoice.d.cts +15 -1
  18. package/dist/actions/create-invoice.d.cts.map +1 -1
  19. package/dist/actions/create-invoice.d.mts +15 -1
  20. package/dist/actions/create-invoice.d.mts.map +1 -1
  21. package/dist/actions/create-item.d.cts +15 -1
  22. package/dist/actions/create-item.d.mts +15 -1
  23. package/dist/actions/create-payment-link.d.cts +15 -1
  24. package/dist/actions/create-payment-link.d.cts.map +1 -1
  25. package/dist/actions/create-payment-link.d.mts +15 -1
  26. package/dist/actions/create-payment-link.d.mts.map +1 -1
  27. package/dist/actions/delete-invoice.d.cts +15 -1
  28. package/dist/actions/delete-invoice.d.mts +15 -1
  29. package/dist/actions/delete-item.d.cts +15 -1
  30. package/dist/actions/delete-item.d.mts +15 -1
  31. package/dist/actions/fetch-a-payment-link.d.cts +15 -1
  32. package/dist/actions/fetch-a-payment-link.d.mts +15 -1
  33. package/dist/actions/fetch-all-customers.d.cts +15 -1
  34. package/dist/actions/fetch-all-customers.d.mts +15 -1
  35. package/dist/actions/fetch-all-invoices.d.cts +15 -1
  36. package/dist/actions/fetch-all-invoices.d.mts +15 -1
  37. package/dist/actions/fetch-all-payment-links.d.cts +15 -1
  38. package/dist/actions/fetch-all-payment-links.d.mts +15 -1
  39. package/dist/actions/fetch-all-payments.d.cts +15 -1
  40. package/dist/actions/fetch-all-payments.d.mts +15 -1
  41. package/dist/actions/fetch-all-refunds-for-a-payment.d.cts +15 -1
  42. package/dist/actions/fetch-all-refunds-for-a-payment.d.mts +15 -1
  43. package/dist/actions/fetch-invoice-by-id.d.cts +15 -1
  44. package/dist/actions/fetch-invoice-by-id.d.mts +15 -1
  45. package/dist/actions/fetch-orders-by-id.d.cts +15 -1
  46. package/dist/actions/fetch-orders-by-id.d.mts +15 -1
  47. package/dist/actions/fetch-orders.d.cts +15 -1
  48. package/dist/actions/fetch-orders.d.mts +15 -1
  49. package/dist/actions/fetch-payments-by-order.d.cts +15 -1
  50. package/dist/actions/fetch-payments-by-order.d.mts +15 -1
  51. package/dist/actions/fetch-refunds.d.cts +15 -1
  52. package/dist/actions/fetch-refunds.d.mts +15 -1
  53. package/dist/actions/get-contact.d.cts +15 -1
  54. package/dist/actions/get-contact.d.mts +15 -1
  55. package/dist/actions/get-customer.d.cts +15 -1
  56. package/dist/actions/get-customer.d.mts +15 -1
  57. package/dist/actions/get-fund-account.d.cts +15 -1
  58. package/dist/actions/get-fund-account.d.mts +15 -1
  59. package/dist/actions/get-item.d.cts +15 -1
  60. package/dist/actions/get-item.d.mts +15 -1
  61. package/dist/actions/get-settlement-recon.d.cts +15 -1
  62. package/dist/actions/get-settlement-recon.d.mts +15 -1
  63. package/dist/actions/get-transfer-reversals.d.cts +15 -1
  64. package/dist/actions/get-transfer-reversals.d.mts +15 -1
  65. package/dist/actions/issue-an-invoice.d.cts +15 -1
  66. package/dist/actions/issue-an-invoice.d.mts +15 -1
  67. package/dist/actions/list-customer-tokens.d.cts +15 -1
  68. package/dist/actions/list-customer-tokens.d.mts +15 -1
  69. package/dist/actions/list-disputes.d.cts +15 -1
  70. package/dist/actions/list-disputes.d.mts +15 -1
  71. package/dist/actions/list-fund-accounts.d.cts +15 -1
  72. package/dist/actions/list-fund-accounts.d.mts +15 -1
  73. package/dist/actions/list-fund-validations.d.cts +15 -1
  74. package/dist/actions/list-fund-validations.d.mts +15 -1
  75. package/dist/actions/list-items.d.cts +15 -1
  76. package/dist/actions/list-items.d.mts +15 -1
  77. package/dist/actions/list-payment-downtimes.d.cts +15 -1
  78. package/dist/actions/list-payment-downtimes.d.cts.map +1 -1
  79. package/dist/actions/list-payment-downtimes.d.mts +15 -1
  80. package/dist/actions/list-payment-downtimes.d.mts.map +1 -1
  81. package/dist/actions/notify-payment-link.d.cts +15 -1
  82. package/dist/actions/notify-payment-link.d.mts +15 -1
  83. package/dist/actions/send-or-resend-notification.d.cts +15 -1
  84. package/dist/actions/send-or-resend-notification.d.mts +15 -1
  85. package/dist/actions/update-contact.d.cts +15 -1
  86. package/dist/actions/update-contact.d.cts.map +1 -1
  87. package/dist/actions/update-contact.d.mts +15 -1
  88. package/dist/actions/update-contact.d.mts.map +1 -1
  89. package/dist/actions/update-customer.d.cts +15 -1
  90. package/dist/actions/update-customer.d.mts +15 -1
  91. package/dist/actions/update-invoice.d.cts +15 -1
  92. package/dist/actions/update-invoice.d.cts.map +1 -1
  93. package/dist/actions/update-invoice.d.mts +15 -1
  94. package/dist/actions/update-invoice.d.mts.map +1 -1
  95. package/dist/actions/update-item.d.cts +15 -1
  96. package/dist/actions/update-item.d.mts +15 -1
  97. package/dist/actions/update-order.d.cts +15 -1
  98. package/dist/actions/update-order.d.cts.map +1 -1
  99. package/dist/actions/update-order.d.mts +15 -1
  100. package/dist/actions/update-order.d.mts.map +1 -1
  101. package/dist/actions/update-payment-link.d.cts +15 -1
  102. package/dist/actions/update-payment-link.d.cts.map +1 -1
  103. package/dist/actions/update-payment-link.d.mts +15 -1
  104. package/dist/actions/update-payment-link.d.mts.map +1 -1
  105. package/dist/app.cjs +8 -2
  106. package/dist/app.cjs.map +1 -1
  107. package/dist/app.d.cts +10 -1
  108. package/dist/app.d.cts.map +1 -1
  109. package/dist/app.d.mts +10 -1
  110. package/dist/app.d.mts.map +1 -1
  111. package/dist/app.mjs +6 -1
  112. package/dist/app.mjs.map +1 -1
  113. package/package.json +1 -1
@@ -22,7 +22,21 @@ declare const razorpayUpdateCustomer: import("@keystrokehq/action").WorkflowActi
22
22
  name?: string | undefined;
23
23
  email?: string | undefined;
24
24
  contact?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_api_key: z.ZodString;
38
+ generic_id: z.ZodString;
39
+ }, z.core.$strip>>]>;
26
40
  //#endregion
27
41
  export { razorpayUpdateCustomer };
28
42
  //# sourceMappingURL=update-customer.d.mts.map
@@ -228,7 +228,21 @@ declare const razorpayUpdateInvoice: import("@keystrokehq/action").WorkflowActio
228
228
  idempotency_key?: string | undefined;
229
229
  partial_payment?: boolean | undefined;
230
230
  group_taxes_discounts?: boolean | undefined;
231
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
231
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
232
+ connectionId: z.ZodString;
233
+ entityId: z.ZodString;
234
+ instanceId: z.ZodString;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ generic_api_key: z.ZodString;
237
+ generic_id: z.ZodString;
238
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
239
+ connectionId: z.ZodString;
240
+ entityId: z.ZodString;
241
+ instanceId: z.ZodString;
242
+ }, z.core.$strip>, z.ZodObject<{
243
+ generic_api_key: z.ZodString;
244
+ generic_id: z.ZodString;
245
+ }, z.core.$strip>>]>;
232
246
  //#endregion
233
247
  export { razorpayUpdateInvoice };
234
248
  //# sourceMappingURL=update-invoice.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkH1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C3B,qBAAA,gCAAqB,wBAAA;;;;UAMhC,MAAA;;;;;;;;;;;YAAA,MAAA"}
1
+ {"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkH1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C3B,qBAAA,gCAAqB,wBAAA"}
@@ -228,7 +228,21 @@ declare const razorpayUpdateInvoice: import("@keystrokehq/action").WorkflowActio
228
228
  idempotency_key?: string | undefined;
229
229
  partial_payment?: boolean | undefined;
230
230
  group_taxes_discounts?: boolean | undefined;
231
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
231
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
232
+ connectionId: z.ZodString;
233
+ entityId: z.ZodString;
234
+ instanceId: z.ZodString;
235
+ }, z.core.$strip>, z.ZodObject<{
236
+ generic_api_key: z.ZodString;
237
+ generic_id: z.ZodString;
238
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
239
+ connectionId: z.ZodString;
240
+ entityId: z.ZodString;
241
+ instanceId: z.ZodString;
242
+ }, z.core.$strip>, z.ZodObject<{
243
+ generic_api_key: z.ZodString;
244
+ generic_id: z.ZodString;
245
+ }, z.core.$strip>>]>;
232
246
  //#endregion
233
247
  export { razorpayUpdateInvoice };
234
248
  //# sourceMappingURL=update-invoice.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkH1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C3B,qBAAA,gCAAqB,wBAAA;;;;UAMhC,MAAA;;;;;;;;;;;YAAA,MAAA"}
1
+ {"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkH1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2C3B,qBAAA,gCAAqB,wBAAA"}
@@ -30,7 +30,21 @@ declare const razorpayUpdateItem: import("@keystrokehq/action").WorkflowActionDe
30
30
  name?: string | undefined;
31
31
  amount?: number | undefined;
32
32
  description?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ generic_id: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ generic_id: z.ZodString;
47
+ }, z.core.$strip>>]>;
34
48
  //#endregion
35
49
  export { razorpayUpdateItem };
36
50
  //# sourceMappingURL=update-item.d.cts.map
@@ -30,7 +30,21 @@ declare const razorpayUpdateItem: import("@keystrokehq/action").WorkflowActionDe
30
30
  name?: string | undefined;
31
31
  amount?: number | undefined;
32
32
  description?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ generic_api_key: z.ZodString;
39
+ generic_id: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ generic_api_key: z.ZodString;
46
+ generic_id: z.ZodString;
47
+ }, z.core.$strip>>]>;
34
48
  //#endregion
35
49
  export { razorpayUpdateItem };
36
50
  //# sourceMappingURL=update-item.d.mts.map
@@ -22,7 +22,21 @@ declare const RazorpayUpdateOrderOutput: z.ZodObject<{
22
22
  declare const razorpayUpdateOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  order_id: string;
24
24
  notes?: Record<string, unknown> | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_api_key: z.ZodString;
38
+ generic_id: z.ZodString;
39
+ }, z.core.$strip>>]>;
26
40
  //#endregion
27
41
  export { razorpayUpdateOrder };
28
42
  //# sourceMappingURL=update-order.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-order.d.cts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA;;UAM9B,MAAA;AAAA"}
1
+ {"version":3,"file":"update-order.d.cts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA"}
@@ -22,7 +22,21 @@ declare const RazorpayUpdateOrderOutput: z.ZodObject<{
22
22
  declare const razorpayUpdateOrder: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  order_id: string;
24
24
  notes?: Record<string, unknown> | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ generic_api_key: z.ZodString;
31
+ generic_id: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ generic_api_key: z.ZodString;
38
+ generic_id: z.ZodString;
39
+ }, z.core.$strip>>]>;
26
40
  //#endregion
27
41
  export { razorpayUpdateOrder };
28
42
  //# sourceMappingURL=update-order.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-order.d.mts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA;;UAM9B,MAAA;AAAA"}
1
+ {"version":3,"file":"update-order.d.mts","names":[],"sources":["../../src/actions/update-order.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;cAIxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAezB,mBAAA,gCAAmB,wBAAA"}
@@ -52,7 +52,21 @@ declare const razorpayUpdatePaymentLink: import("@keystrokehq/action").WorkflowA
52
52
  reference_id?: string | undefined;
53
53
  accept_partial?: boolean | undefined;
54
54
  reminder_enable?: boolean | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ generic_api_key: z.ZodString;
61
+ generic_id: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ generic_api_key: z.ZodString;
68
+ generic_id: z.ZodString;
69
+ }, z.core.$strip>>]>;
56
70
  //#endregion
57
71
  export { razorpayUpdatePaymentLink };
58
72
  //# sourceMappingURL=update-payment-link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-payment-link.d.cts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,gCAAyB,wBAAA;;UAMpC,MAAA"}
1
+ {"version":3,"file":"update-payment-link.d.cts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,gCAAyB,wBAAA"}
@@ -52,7 +52,21 @@ declare const razorpayUpdatePaymentLink: import("@keystrokehq/action").WorkflowA
52
52
  reference_id?: string | undefined;
53
53
  accept_partial?: boolean | undefined;
54
54
  reminder_enable?: boolean | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
55
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
56
+ connectionId: z.ZodString;
57
+ entityId: z.ZodString;
58
+ instanceId: z.ZodString;
59
+ }, z.core.$strip>, z.ZodObject<{
60
+ generic_api_key: z.ZodString;
61
+ generic_id: z.ZodString;
62
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
63
+ connectionId: z.ZodString;
64
+ entityId: z.ZodString;
65
+ instanceId: z.ZodString;
66
+ }, z.core.$strip>, z.ZodObject<{
67
+ generic_api_key: z.ZodString;
68
+ generic_id: z.ZodString;
69
+ }, z.core.$strip>>]>;
56
70
  //#endregion
57
71
  export { razorpayUpdatePaymentLink };
58
72
  //# sourceMappingURL=update-payment-link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-payment-link.d.mts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,gCAAyB,wBAAA;;UAMpC,MAAA"}
1
+ {"version":3,"file":"update-payment-link.d.mts","names":[],"sources":["../../src/actions/update-payment-link.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAiB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8B/B,yBAAA,gCAAyB,wBAAA"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,13 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const razorpay = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const razorpay = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "razorpay",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: zod.z.string(),
9
+ generic_id: zod.z.string()
10
+ }
5
11
  });
6
12
  //#endregion
7
13
  exports.razorpay = razorpay;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const razorpay = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,YAAA,uCAAA,CAAA,CAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const razorpay = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,YAAA,GAAA,2BAAA,UAAA,CAAqB;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiBA,IAAAA,EAAE,OAAO;EAC1B,YAAYA,IAAAA,EAAE,OAAO;CACvB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const razorpay: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const razorpay: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ generic_id: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { razorpay };
5
14
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,14 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const razorpay: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const razorpay: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"razorpay", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ generic_api_key: z.ZodString;
10
+ generic_id: z.ZodString;
11
+ }, z.core.$strip>>>;
3
12
  //#endregion
4
13
  export { razorpay };
5
14
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,QAAA,6BAAQ,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,QAAA,6BAAQ,GAAA,+BAAA,UAAA,aAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,13 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const razorpay = defineApp({
4
5
  slug: "razorpay",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: {
8
+ generic_api_key: z.string(),
9
+ generic_id: z.string()
10
+ }
6
11
  });
7
12
  //#endregion
8
13
  export { razorpay };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const razorpay = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const razorpay = defineApp({\n slug: \"razorpay\",\n auth: \"keystroke\",\n credential: {\n generic_api_key: z.string(),\n generic_id: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,WAAW,UAAU;CAChC,MAAM;CACN,MAAM;CACN,YAAY;EACV,iBAAiB,EAAE,OAAO;EAC1B,YAAY,EAAE,OAAO;CACvB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/razorpay",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"