@keystrokehq/moonclerk 0.1.0 → 0.1.3

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 (49) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/list-customers.cjs +38 -38
  4. package/dist/actions/list-customers.cjs.map +1 -1
  5. package/dist/actions/list-customers.d.cts +95 -3
  6. package/dist/actions/list-customers.d.cts.map +1 -1
  7. package/dist/actions/list-customers.d.mts +95 -3
  8. package/dist/actions/list-customers.d.mts.map +1 -1
  9. package/dist/actions/list-customers.mjs +38 -38
  10. package/dist/actions/list-customers.mjs.map +1 -1
  11. package/dist/actions/list-discounts.cjs +4 -4
  12. package/dist/actions/list-discounts.cjs.map +1 -1
  13. package/dist/actions/list-discounts.d.cts +40 -3
  14. package/dist/actions/list-discounts.d.cts.map +1 -1
  15. package/dist/actions/list-discounts.d.mts +40 -3
  16. package/dist/actions/list-discounts.d.mts.map +1 -1
  17. package/dist/actions/list-discounts.mjs +4 -4
  18. package/dist/actions/list-discounts.mjs.map +1 -1
  19. package/dist/actions/list-forms.cjs +9 -9
  20. package/dist/actions/list-forms.cjs.map +1 -1
  21. package/dist/actions/list-forms.d.cts +22 -3
  22. package/dist/actions/list-forms.d.cts.map +1 -1
  23. package/dist/actions/list-forms.d.mts +22 -3
  24. package/dist/actions/list-forms.d.mts.map +1 -1
  25. package/dist/actions/list-forms.mjs +9 -9
  26. package/dist/actions/list-forms.mjs.map +1 -1
  27. package/dist/actions/list-payments.cjs +31 -31
  28. package/dist/actions/list-payments.cjs.map +1 -1
  29. package/dist/actions/list-payments.d.cts +70 -3
  30. package/dist/actions/list-payments.d.cts.map +1 -1
  31. package/dist/actions/list-payments.d.mts +70 -3
  32. package/dist/actions/list-payments.d.mts.map +1 -1
  33. package/dist/actions/list-payments.mjs +31 -31
  34. package/dist/actions/list-payments.mjs.map +1 -1
  35. package/dist/actions/list-subscriptions.cjs +15 -15
  36. package/dist/actions/list-subscriptions.cjs.map +1 -1
  37. package/dist/actions/list-subscriptions.d.cts +46 -3
  38. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  39. package/dist/actions/list-subscriptions.d.mts +46 -3
  40. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  41. package/dist/actions/list-subscriptions.mjs +15 -15
  42. package/dist/actions/list-subscriptions.mjs.map +1 -1
  43. package/dist/catalog.cjs +7 -1
  44. package/dist/catalog.cjs.map +1 -1
  45. package/dist/catalog.d.cts +8 -0
  46. package/dist/catalog.d.mts +8 -0
  47. package/dist/catalog.mjs +7 -1
  48. package/dist/catalog.mjs.map +1 -1
  49. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"list-payments.d.cts","names":[],"sources":["../../src/actions/list-payments.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMW;AAAA,cACzC,2BAAA,EAA6B,CAAA,CAAE,UA+CC;AAAA,cAEhC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-payments.d.cts","names":[],"sources":["../../src/actions/list-payments.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiD3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,76 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-payments.d.ts
4
- declare const MoonclerkListPaymentsInput: z.ZodTypeAny;
5
- declare const MoonclerkListPaymentsOutput: z.ZodTypeAny;
6
- declare const moonclerkListPayments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MoonclerkListPaymentsInput: z.ZodObject<{
5
+ status: z.ZodOptional<z.ZodEnum<{
6
+ successful: "successful";
7
+ refunded: "refunded";
8
+ failed: "failed";
9
+ }>>;
10
+ date_to: z.ZodOptional<z.ZodString>;
11
+ form_id: z.ZodOptional<z.ZodNumber>;
12
+ date_from: z.ZodOptional<z.ZodString>;
13
+ customer_id: z.ZodOptional<z.ZodNumber>;
14
+ }, z.core.$strip>;
15
+ declare const MoonclerkListPaymentsOutput: z.ZodObject<{
16
+ payments: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodNullable<z.ZodNumber>;
18
+ fee: z.ZodNullable<z.ZodNumber>;
19
+ date: z.ZodNullable<z.ZodString>;
20
+ name: z.ZodNullable<z.ZodString>;
21
+ email: z.ZodNullable<z.ZodString>;
22
+ amount: z.ZodNullable<z.ZodNumber>;
23
+ coupon: z.ZodOptional<z.ZodNullable<z.ZodObject<{
24
+ code: z.ZodNullable<z.ZodString>;
25
+ currency: z.ZodNullable<z.ZodString>;
26
+ duration: z.ZodNullable<z.ZodString>;
27
+ redeem_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
+ amount_off: z.ZodNullable<z.ZodNumber>;
29
+ percent_off: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
30
+ max_redemptions: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
31
+ duration_in_months: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
32
+ }, z.core.$strip>>>;
33
+ status: z.ZodNullable<z.ZodEnum<{
34
+ successful: "successful";
35
+ refunded: "refunded";
36
+ failed: "failed";
37
+ }>>;
38
+ form_id: z.ZodNullable<z.ZodNumber>;
39
+ checkout: z.ZodOptional<z.ZodNullable<z.ZodObject<{
40
+ fee: z.ZodNullable<z.ZodNumber>;
41
+ date: z.ZodNullable<z.ZodString>;
42
+ token: z.ZodNullable<z.ZodString>;
43
+ total: z.ZodNullable<z.ZodNumber>;
44
+ subtotal: z.ZodNullable<z.ZodNumber>;
45
+ amount_due: z.ZodNullable<z.ZodNumber>;
46
+ coupon_code: z.ZodNullable<z.ZodString>;
47
+ coupon_amount: z.ZodNullable<z.ZodNumber>;
48
+ upfront_amount: z.ZodNullable<z.ZodNumber>;
49
+ trial_period_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
50
+ }, z.core.$strip>>>;
51
+ currency: z.ZodNullable<z.ZodString>;
52
+ custom_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ customer_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
54
+ custom_fields: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
55
+ payment_method: z.ZodObject<{
56
+ type: z.ZodNullable<z.ZodString>;
57
+ brand: z.ZodNullable<z.ZodString>;
58
+ last4: z.ZodNullable<z.ZodString>;
59
+ }, z.core.$strip>;
60
+ amount_refunded: z.ZodNullable<z.ZodNumber>;
61
+ charge_reference: z.ZodNullable<z.ZodString>;
62
+ invoice_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ amount_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
+ customer_reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$loose>>;
66
+ }, z.core.$strip>;
67
+ declare const moonclerkListPayments: import("@keystrokehq/action").WorkflowActionDefinition<{
68
+ status?: "successful" | "refunded" | "failed" | undefined;
69
+ date_to?: string | undefined;
70
+ form_id?: number | undefined;
71
+ date_from?: string | undefined;
72
+ customer_id?: number | undefined;
73
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
74
  //#endregion
8
75
  export { moonclerkListPayments };
9
76
  //# sourceMappingURL=list-payments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-payments.d.mts","names":[],"sources":["../../src/actions/list-payments.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAMW;AAAA,cACzC,2BAAA,EAA6B,CAAA,CAAE,UA+CC;AAAA,cAEhC,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-payments.d.mts","names":[],"sources":["../../src/actions/list-payments.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiD3B,qBAAA,gCAAqB,wBAAA"}
@@ -16,55 +16,55 @@ const moonclerkListPayments = action("MOONCLERK_LIST_PAYMENTS", {
16
16
  customer_id: z.number().int().describe("MoonClerk customer ID to filter payments (e.g., 12742)").optional()
17
17
  }).describe("Parameters to filter the payments list."),
18
18
  output: z.object({ payments: z.array(z.object({
19
- id: z.number().int().describe("Unique payment identifier"),
20
- fee: z.number().int().describe("Stripe fee in cents"),
21
- date: z.string().describe("Payment date in UTC ISO 8601 format"),
22
- name: z.string().describe("Payer's name"),
23
- email: z.string().describe("Payer's email address"),
24
- amount: z.number().int().describe("Payment amount in cents"),
19
+ id: z.number().int().describe("Unique payment identifier").nullable(),
20
+ fee: z.number().int().describe("Stripe fee in cents").nullable(),
21
+ date: z.string().describe("Payment date in UTC ISO 8601 format").nullable(),
22
+ name: z.string().describe("Payer's name").nullable(),
23
+ email: z.string().describe("Payer's email address").nullable(),
24
+ amount: z.number().int().describe("Payment amount in cents").nullable(),
25
25
  coupon: z.object({
26
- code: z.string().describe("Coupon code"),
27
- currency: z.string().describe("Currency of the coupon"),
28
- duration: z.string().describe("Duration of the coupon, e.g., once"),
26
+ code: z.string().describe("Coupon code").nullable(),
27
+ currency: z.string().describe("Currency of the coupon").nullable(),
28
+ duration: z.string().describe("Duration of the coupon, e.g., once").nullable(),
29
29
  redeem_by: z.string().describe("Coupon redemption deadline (UTC date)").nullable().optional(),
30
- amount_off: z.number().int().describe("Amount off in cents"),
30
+ amount_off: z.number().int().describe("Amount off in cents").nullable(),
31
31
  percent_off: z.number().int().describe("Percentage off if applicable").nullable().optional(),
32
32
  max_redemptions: z.number().int().describe("Maximum number of redemptions allowed").nullable().optional(),
33
33
  duration_in_months: z.number().int().describe("Duration in months if applicable").nullable().optional()
34
- }).describe("Applied coupon details if any").optional(),
34
+ }).describe("Applied coupon details if any").nullable().optional(),
35
35
  status: z.enum([
36
36
  "successful",
37
37
  "refunded",
38
38
  "failed"
39
- ]).describe("Payment status"),
40
- form_id: z.number().int().describe("MoonClerk form ID that generated the payment"),
39
+ ]).describe("Payment status").nullable(),
40
+ form_id: z.number().int().describe("MoonClerk form ID that generated the payment").nullable(),
41
41
  checkout: z.object({
42
- fee: z.number().int().describe("Stripe fee in cents"),
43
- date: z.string().describe("Checkout date in UTC ISO 8601 format"),
44
- token: z.string().describe("Checkout token"),
45
- total: z.number().int().describe("Total amount in cents"),
46
- subtotal: z.number().int().describe("Subtotal in cents before fees and coupons"),
47
- amount_due: z.number().int().describe("Amount due in cents"),
48
- coupon_code: z.string().describe("Applied coupon code"),
49
- coupon_amount: z.number().int().describe("Coupon amount in cents"),
50
- upfront_amount: z.number().int().describe("Upfront amount in cents"),
42
+ fee: z.number().int().describe("Stripe fee in cents").nullable(),
43
+ date: z.string().describe("Checkout date in UTC ISO 8601 format").nullable(),
44
+ token: z.string().describe("Checkout token").nullable(),
45
+ total: z.number().int().describe("Total amount in cents").nullable(),
46
+ subtotal: z.number().int().describe("Subtotal in cents before fees and coupons").nullable(),
47
+ amount_due: z.number().int().describe("Amount due in cents").nullable(),
48
+ coupon_code: z.string().describe("Applied coupon code").nullable(),
49
+ coupon_amount: z.number().int().describe("Coupon amount in cents").nullable(),
50
+ upfront_amount: z.number().int().describe("Upfront amount in cents").nullable(),
51
51
  trial_period_days: z.number().int().describe("Number of trial days if applicable").nullable().optional()
52
- }).describe("Checkout details for one-time checkouts").optional(),
53
- currency: z.string().describe("Currency code, e.g., USD"),
52
+ }).describe("Checkout details for one-time checkouts").nullable().optional(),
53
+ currency: z.string().describe("Currency code, e.g., USD").nullable(),
54
54
  custom_id: z.string().describe("Custom identifier passed during integration").nullable().optional(),
55
55
  customer_id: z.number().int().describe("MoonClerk customer ID if part of recurring checkout").nullable().optional(),
56
- custom_fields: z.object({}).describe("Mapping of custom field keys to values").nullable().optional(),
56
+ custom_fields: z.record(z.string(), z.unknown()).describe("Mapping of custom field keys to values").nullable().optional(),
57
57
  payment_method: z.object({
58
- type: z.string().describe("Payment method type, e.g., card"),
59
- brand: z.string().describe("Brand of the card, e.g., Visa"),
60
- last4: z.string().describe("Last 4 digits of the card")
58
+ type: z.string().describe("Payment method type, e.g., card").nullable(),
59
+ brand: z.string().describe("Brand of the card, e.g., Visa").nullable(),
60
+ last4: z.string().describe("Last 4 digits of the card").nullable()
61
61
  }).describe("Payment method details"),
62
- amount_refunded: z.number().int().describe("Total refunded amount in cents"),
63
- charge_reference: z.string().describe("Stripe charge reference"),
62
+ amount_refunded: z.number().int().describe("Total refunded amount in cents").nullable(),
63
+ charge_reference: z.string().describe("Stripe charge reference").nullable(),
64
64
  invoice_reference: z.string().describe("Stripe invoice reference if applicable").nullable().optional(),
65
65
  amount_description: z.string().describe("Description of the payment amount option").nullable().optional(),
66
66
  customer_reference: z.string().describe("Stripe customer reference if applicable").nullable().optional()
67
- })).describe("List of payments matching the filters") }).describe("Data from the action execution")
67
+ }).passthrough()).describe("List of payments matching the filters") }).describe("Data from the action execution")
68
68
  });
69
69
  //#endregion
70
70
  export { moonclerkListPayments };
@@ -1 +1 @@
1
- {"version":3,"file":"list-payments.mjs","names":[],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoonclerkListPaymentsInput: z.ZodTypeAny = z.object({\n status: z.enum([\"successful\", \"refunded\", \"failed\"]).describe(\"Filter payments by status. Valid values: successful, refunded, failed\").optional(),\n date_to: z.string().describe(\"Include payments charged on or before this date (YYYY-MM-DD)\").optional(),\n form_id: z.number().int().describe(\"MoonClerk form ID to filter payments (e.g., 5346)\").optional(),\n date_from: z.string().describe(\"Include payments charged on or after this date (YYYY-MM-DD)\").optional(),\n customer_id: z.number().int().describe(\"MoonClerk customer ID to filter payments (e.g., 12742)\").optional(),\n}).describe(\"Parameters to filter the payments list.\");\nexport const MoonclerkListPaymentsOutput: z.ZodTypeAny = z.object({\n payments: z.array(z.object({\n id: z.number().int().describe(\"Unique payment identifier\"),\n fee: z.number().int().describe(\"Stripe fee in cents\"),\n date: z.string().describe(\"Payment date in UTC ISO 8601 format\"),\n name: z.string().describe(\"Payer's name\"),\n email: z.string().describe(\"Payer's email address\"),\n amount: z.number().int().describe(\"Payment amount in cents\"),\n coupon: z.object({\n code: z.string().describe(\"Coupon code\"),\n currency: z.string().describe(\"Currency of the coupon\"),\n duration: z.string().describe(\"Duration of the coupon, e.g., once\"),\n redeem_by: z.string().describe(\"Coupon redemption deadline (UTC date)\").nullable().optional(),\n amount_off: z.number().int().describe(\"Amount off in cents\"),\n percent_off: z.number().int().describe(\"Percentage off if applicable\").nullable().optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of redemptions allowed\").nullable().optional(),\n duration_in_months: z.number().int().describe(\"Duration in months if applicable\").nullable().optional(),\n}).describe(\"Applied coupon details if any\").optional(),\n status: z.enum([\"successful\", \"refunded\", \"failed\"]).describe(\"Payment status\"),\n form_id: z.number().int().describe(\"MoonClerk form ID that generated the payment\"),\n checkout: z.object({\n fee: z.number().int().describe(\"Stripe fee in cents\"),\n date: z.string().describe(\"Checkout date in UTC ISO 8601 format\"),\n token: z.string().describe(\"Checkout token\"),\n total: z.number().int().describe(\"Total amount in cents\"),\n subtotal: z.number().int().describe(\"Subtotal in cents before fees and coupons\"),\n amount_due: z.number().int().describe(\"Amount due in cents\"),\n coupon_code: z.string().describe(\"Applied coupon code\"),\n coupon_amount: z.number().int().describe(\"Coupon amount in cents\"),\n upfront_amount: z.number().int().describe(\"Upfront amount in cents\"),\n trial_period_days: z.number().int().describe(\"Number of trial days if applicable\").nullable().optional(),\n}).describe(\"Checkout details for one-time checkouts\").optional(),\n currency: z.string().describe(\"Currency code, e.g., USD\"),\n custom_id: z.string().describe(\"Custom identifier passed during integration\").nullable().optional(),\n customer_id: z.number().int().describe(\"MoonClerk customer ID if part of recurring checkout\").nullable().optional(),\n custom_fields: z.object({}).describe(\"Mapping of custom field keys to values\").nullable().optional(),\n payment_method: z.object({\n type: z.string().describe(\"Payment method type, e.g., card\"),\n brand: z.string().describe(\"Brand of the card, e.g., Visa\"),\n last4: z.string().describe(\"Last 4 digits of the card\"),\n}).describe(\"Payment method details\"),\n amount_refunded: z.number().int().describe(\"Total refunded amount in cents\"),\n charge_reference: z.string().describe(\"Stripe charge reference\"),\n invoice_reference: z.string().describe(\"Stripe invoice reference if applicable\").nullable().optional(),\n amount_description: z.string().describe(\"Description of the payment amount option\").nullable().optional(),\n customer_reference: z.string().describe(\"Stripe customer reference if applicable\").nullable().optional(),\n})).describe(\"List of payments matching the filters\"),\n}).describe(\"Data from the action execution\");\n\nexport const moonclerkListPayments = action(\"MOONCLERK_LIST_PAYMENTS\", {\n slug: \"moonclerk-list-payments\",\n name: \"List Payments\",\n description: \"Tool to list payments. Use when you need to retrieve all payments or filter by form, customer, date range, or status after authenticating.\",\n input: MoonclerkListPaymentsInput,\n output: MoonclerkListPaymentsOutput,\n});\n"],"mappings":";;AA4DA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5DsD,EAAE,OAAO;EAC/D,QAAQ,EAAE,KAAK;GAAC;GAAc;GAAY;EAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,C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CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,eAAe,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,gBAAgB,EAAE,OAAO;GACzB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;GAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;GAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACxD,CAAC,CAAC,CAAC,SAAS,wBAAwB;EAClC,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC3E,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB;EAC/D,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,CAAC,SAAS,uCAAuC,EACpD,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-payments.mjs","names":[],"sources":["../../src/actions/list-payments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoonclerkListPaymentsInput = z.object({\n status: z.enum([\"successful\", \"refunded\", \"failed\"]).describe(\"Filter payments by status. Valid values: successful, refunded, failed\").optional(),\n date_to: z.string().describe(\"Include payments charged on or before this date (YYYY-MM-DD)\").optional(),\n form_id: z.number().int().describe(\"MoonClerk form ID to filter payments (e.g., 5346)\").optional(),\n date_from: z.string().describe(\"Include payments charged on or after this date (YYYY-MM-DD)\").optional(),\n customer_id: z.number().int().describe(\"MoonClerk customer ID to filter payments (e.g., 12742)\").optional(),\n}).describe(\"Parameters to filter the payments list.\");\nexport const MoonclerkListPaymentsOutput = z.object({\n payments: z.array(z.object({\n id: z.number().int().describe(\"Unique payment identifier\").nullable(),\n fee: z.number().int().describe(\"Stripe fee in cents\").nullable(),\n date: z.string().describe(\"Payment date in UTC ISO 8601 format\").nullable(),\n name: z.string().describe(\"Payer's name\").nullable(),\n email: z.string().describe(\"Payer's email address\").nullable(),\n amount: z.number().int().describe(\"Payment amount in cents\").nullable(),\n coupon: z.object({\n code: z.string().describe(\"Coupon code\").nullable(),\n currency: z.string().describe(\"Currency of the coupon\").nullable(),\n duration: z.string().describe(\"Duration of the coupon, e.g., once\").nullable(),\n redeem_by: z.string().describe(\"Coupon redemption deadline (UTC date)\").nullable().optional(),\n amount_off: z.number().int().describe(\"Amount off in cents\").nullable(),\n percent_off: z.number().int().describe(\"Percentage off if applicable\").nullable().optional(),\n max_redemptions: z.number().int().describe(\"Maximum number of redemptions allowed\").nullable().optional(),\n duration_in_months: z.number().int().describe(\"Duration in months if applicable\").nullable().optional(),\n}).describe(\"Applied coupon details if any\").nullable().optional(),\n status: z.enum([\"successful\", \"refunded\", \"failed\"]).describe(\"Payment status\").nullable(),\n form_id: z.number().int().describe(\"MoonClerk form ID that generated the payment\").nullable(),\n checkout: z.object({\n fee: z.number().int().describe(\"Stripe fee in cents\").nullable(),\n date: z.string().describe(\"Checkout date in UTC ISO 8601 format\").nullable(),\n token: z.string().describe(\"Checkout token\").nullable(),\n total: z.number().int().describe(\"Total amount in cents\").nullable(),\n subtotal: z.number().int().describe(\"Subtotal in cents before fees and coupons\").nullable(),\n amount_due: z.number().int().describe(\"Amount due in cents\").nullable(),\n coupon_code: z.string().describe(\"Applied coupon code\").nullable(),\n coupon_amount: z.number().int().describe(\"Coupon amount in cents\").nullable(),\n upfront_amount: z.number().int().describe(\"Upfront amount in cents\").nullable(),\n trial_period_days: z.number().int().describe(\"Number of trial days if applicable\").nullable().optional(),\n}).describe(\"Checkout details for one-time checkouts\").nullable().optional(),\n currency: z.string().describe(\"Currency code, e.g., USD\").nullable(),\n custom_id: z.string().describe(\"Custom identifier passed during integration\").nullable().optional(),\n customer_id: z.number().int().describe(\"MoonClerk customer ID if part of recurring checkout\").nullable().optional(),\n custom_fields: z.record(z.string(), z.unknown()).describe(\"Mapping of custom field keys to values\").nullable().optional(),\n payment_method: z.object({\n type: z.string().describe(\"Payment method type, e.g., card\").nullable(),\n brand: z.string().describe(\"Brand of the card, e.g., Visa\").nullable(),\n last4: z.string().describe(\"Last 4 digits of the card\").nullable(),\n}).describe(\"Payment method details\"),\n amount_refunded: z.number().int().describe(\"Total refunded amount in cents\").nullable(),\n charge_reference: z.string().describe(\"Stripe charge reference\").nullable(),\n invoice_reference: z.string().describe(\"Stripe invoice reference if applicable\").nullable().optional(),\n amount_description: z.string().describe(\"Description of the payment amount option\").nullable().optional(),\n customer_reference: z.string().describe(\"Stripe customer reference if applicable\").nullable().optional(),\n}).passthrough()).describe(\"List of payments matching the filters\"),\n}).describe(\"Data from the action execution\");\n\nexport const moonclerkListPayments = action(\"MOONCLERK_LIST_PAYMENTS\", {\n slug: \"moonclerk-list-payments\",\n name: \"List Payments\",\n description: \"Tool to list payments. Use when you need to retrieve all payments or filter by form, customer, date range, or status after authenticating.\",\n input: MoonclerkListPaymentsInput,\n output: MoonclerkListPaymentsOutput,\n});\n"],"mappings":";;AA4DA,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5DwC,EAAE,OAAO;EACjD,QAAQ,EAAE,KAAK;GAAC;GAAc;GAAY;EAAQ,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAChJ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACjG,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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,uCAAuC,EAClE,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
@@ -15,30 +15,30 @@ const MoonclerkListSubscriptionsInput = zod.z.object({
15
15
  next_payment_from: zod.z.string().describe("Include subscriptions due to bill on or after this date (YYYY-MM-DD)").optional()
16
16
  }).describe("Request parameters for listing subscriptions with optional filters.");
17
17
  const MoonclerkListSubscriptionsOutput = zod.z.object({ subscriptions: zod.z.array(zod.z.object({
18
- id: zod.z.number().int().describe("Subscription ID."),
18
+ id: zod.z.number().int().describe("Subscription ID.").nullable(),
19
19
  plan: zod.z.object({
20
- id: zod.z.number().int().describe("Plan ID."),
21
- amount: zod.z.number().int().describe("Amount in cents."),
22
- currency: zod.z.string().describe("Currency code, e.g., USD."),
23
- interval: zod.z.string().describe("Billing interval, e.g., month."),
24
- interval_count: zod.z.number().int().describe("Interval count, e.g., 1 for monthly."),
25
- plan_reference: zod.z.string().describe("Plan reference ID."),
26
- amount_description: zod.z.string().describe("Description of the amount option.")
20
+ id: zod.z.number().int().describe("Plan ID.").nullable(),
21
+ amount: zod.z.number().int().describe("Amount in cents.").nullable(),
22
+ currency: zod.z.string().describe("Currency code, e.g., USD.").nullable(),
23
+ interval: zod.z.string().describe("Billing interval, e.g., month.").nullable(),
24
+ interval_count: zod.z.number().int().describe("Interval count, e.g., 1 for monthly.").nullable(),
25
+ plan_reference: zod.z.string().describe("Plan reference ID.").nullable(),
26
+ amount_description: zod.z.string().describe("Description of the amount option.").nullable()
27
27
  }).describe("Associated plan details."),
28
- start: zod.z.string().describe("Subscription start timestamp (ISO 8601)."),
29
- status: zod.z.string().describe("Subscription status."),
28
+ start: zod.z.string().describe("Subscription start timestamp (ISO 8601).").nullable(),
29
+ status: zod.z.string().describe("Subscription status.").nullable(),
30
30
  ended_at: zod.z.string().describe("End timestamp if subscription ended.").nullable().optional(),
31
31
  trial_end: zod.z.string().describe("Trial end timestamp if applicable.").nullable().optional(),
32
32
  expires_at: zod.z.string().describe("Expiration timestamp if set.").nullable().optional(),
33
33
  canceled_at: zod.z.string().describe("Cancellation timestamp if applicable.").nullable().optional(),
34
34
  trial_start: zod.z.string().describe("Trial start timestamp if applicable.").nullable().optional(),
35
35
  trial_period_days: zod.z.number().int().describe("Number of trial days if applicable.").nullable().optional(),
36
- current_period_end: zod.z.string().describe("End of current period (ISO 8601)."),
37
- current_period_start: zod.z.string().describe("Start of current period (ISO 8601)."),
36
+ current_period_end: zod.z.string().describe("End of current period (ISO 8601).").nullable(),
37
+ current_period_start: zod.z.string().describe("Start of current period (ISO 8601).").nullable(),
38
38
  next_payment_attempt: zod.z.string().describe("Next payment attempt timestamp (ISO 8601).").nullable().optional(),
39
- first_payment_attempt: zod.z.string().describe("First payment attempt timestamp (ISO 8601)."),
40
- subscription_reference: zod.z.string().describe("Subscription reference ID.")
41
- }).describe("Subscription details.")).describe("List of subscription objects.") }).describe("Data from the action execution");
39
+ first_payment_attempt: zod.z.string().describe("First payment attempt timestamp (ISO 8601).").nullable(),
40
+ subscription_reference: zod.z.string().describe("Subscription reference ID.").nullable()
41
+ }).passthrough().describe("Subscription details.")).describe("List of subscription objects.") }).describe("Data from the action execution");
42
42
  const moonclerkListSubscriptions = require_action.action("MOONCLERK_LIST_SUBSCRIPTIONS", {
43
43
  slug: "moonclerk-list-subscriptions",
44
44
  name: "List Subscriptions",
@@ -1 +1 @@
1
- {"version":3,"file":"list-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/list-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoonclerkListSubscriptionsInput: z.ZodTypeAny = z.object({\n status: z.enum([\"active\", \"canceled\", \"expired\", \"past_due\", \"pending\", \"unpaid\"]).describe(\"Filter subscriptions by status. Valid options: active, canceled, expired, past_due, pending, unpaid\").optional(),\n form_id: z.string().describe(\"Filter subscriptions by the associated MoonClerk form ID (e.g., 5346)\").optional(),\n next_payment_to: z.string().describe(\"Include subscriptions due to bill on or before this date (YYYY-MM-DD)\").optional(),\n next_payment_from: z.string().describe(\"Include subscriptions due to bill on or after this date (YYYY-MM-DD)\").optional(),\n}).describe(\"Request parameters for listing subscriptions with optional filters.\");\nexport const MoonclerkListSubscriptionsOutput: z.ZodTypeAny = z.object({\n subscriptions: z.array(z.object({\n id: z.number().int().describe(\"Subscription ID.\"),\n plan: z.object({\n id: z.number().int().describe(\"Plan ID.\"),\n amount: z.number().int().describe(\"Amount in cents.\"),\n currency: z.string().describe(\"Currency code, e.g., USD.\"),\n interval: z.string().describe(\"Billing interval, e.g., month.\"),\n interval_count: z.number().int().describe(\"Interval count, e.g., 1 for monthly.\"),\n plan_reference: z.string().describe(\"Plan reference ID.\"),\n amount_description: z.string().describe(\"Description of the amount option.\"),\n}).describe(\"Associated plan details.\"),\n start: z.string().describe(\"Subscription start timestamp (ISO 8601).\"),\n status: z.string().describe(\"Subscription status.\"),\n ended_at: z.string().describe(\"End timestamp if subscription ended.\").nullable().optional(),\n trial_end: z.string().describe(\"Trial end timestamp if applicable.\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration timestamp if set.\").nullable().optional(),\n canceled_at: z.string().describe(\"Cancellation timestamp if applicable.\").nullable().optional(),\n trial_start: z.string().describe(\"Trial start timestamp if applicable.\").nullable().optional(),\n trial_period_days: z.number().int().describe(\"Number of trial days if applicable.\").nullable().optional(),\n current_period_end: z.string().describe(\"End of current period (ISO 8601).\"),\n current_period_start: z.string().describe(\"Start of current period (ISO 8601).\"),\n next_payment_attempt: z.string().describe(\"Next payment attempt timestamp (ISO 8601).\").nullable().optional(),\n first_payment_attempt: z.string().describe(\"First payment attempt timestamp (ISO 8601).\"),\n subscription_reference: z.string().describe(\"Subscription reference ID.\"),\n}).describe(\"Subscription details.\")).describe(\"List of subscription objects.\"),\n}).describe(\"Data from the action execution\");\n\nexport const moonclerkListSubscriptions = action(\"MOONCLERK_LIST_SUBSCRIPTIONS\", {\n slug: \"moonclerk-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list subscriptions. Use when you need to retrieve all subscriptions after authenticating.\",\n input: MoonclerkListSubscriptionsInput,\n output: MoonclerkListSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAW;EAAY;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAChC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;CAChD,MAAMA,IAAAA,EAAE,OAAO;EACf,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,UAAU;EACxC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;EACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC9D,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;EAChF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC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,SAAS,+BAA+B,EAC9E,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAE5C,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/list-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoonclerkListSubscriptionsInput = z.object({\n status: z.enum([\"active\", \"canceled\", \"expired\", \"past_due\", \"pending\", \"unpaid\"]).describe(\"Filter subscriptions by status. Valid options: active, canceled, expired, past_due, pending, unpaid\").optional(),\n form_id: z.string().describe(\"Filter subscriptions by the associated MoonClerk form ID (e.g., 5346)\").optional(),\n next_payment_to: z.string().describe(\"Include subscriptions due to bill on or before this date (YYYY-MM-DD)\").optional(),\n next_payment_from: z.string().describe(\"Include subscriptions due to bill on or after this date (YYYY-MM-DD)\").optional(),\n}).describe(\"Request parameters for listing subscriptions with optional filters.\");\nexport const MoonclerkListSubscriptionsOutput = z.object({\n subscriptions: z.array(z.object({\n id: z.number().int().describe(\"Subscription ID.\").nullable(),\n plan: z.object({\n id: z.number().int().describe(\"Plan ID.\").nullable(),\n amount: z.number().int().describe(\"Amount in cents.\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., USD.\").nullable(),\n interval: z.string().describe(\"Billing interval, e.g., month.\").nullable(),\n interval_count: z.number().int().describe(\"Interval count, e.g., 1 for monthly.\").nullable(),\n plan_reference: z.string().describe(\"Plan reference ID.\").nullable(),\n amount_description: z.string().describe(\"Description of the amount option.\").nullable(),\n}).describe(\"Associated plan details.\"),\n start: z.string().describe(\"Subscription start timestamp (ISO 8601).\").nullable(),\n status: z.string().describe(\"Subscription status.\").nullable(),\n ended_at: z.string().describe(\"End timestamp if subscription ended.\").nullable().optional(),\n trial_end: z.string().describe(\"Trial end timestamp if applicable.\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration timestamp if set.\").nullable().optional(),\n canceled_at: z.string().describe(\"Cancellation timestamp if applicable.\").nullable().optional(),\n trial_start: z.string().describe(\"Trial start timestamp if applicable.\").nullable().optional(),\n trial_period_days: z.number().int().describe(\"Number of trial days if applicable.\").nullable().optional(),\n current_period_end: z.string().describe(\"End of current period (ISO 8601).\").nullable(),\n current_period_start: z.string().describe(\"Start of current period (ISO 8601).\").nullable(),\n next_payment_attempt: z.string().describe(\"Next payment attempt timestamp (ISO 8601).\").nullable().optional(),\n first_payment_attempt: z.string().describe(\"First payment attempt timestamp (ISO 8601).\").nullable(),\n subscription_reference: z.string().describe(\"Subscription reference ID.\").nullable(),\n}).passthrough().describe(\"Subscription details.\")).describe(\"List of subscription objects.\"),\n}).describe(\"Data from the action execution\");\n\nexport const moonclerkListSubscriptions = action(\"MOONCLERK_LIST_SUBSCRIPTIONS\", {\n slug: \"moonclerk-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list subscriptions. Use when you need to retrieve all subscriptions after authenticating.\",\n input: MoonclerkListSubscriptionsInput,\n output: MoonclerkListSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAU;EAAY;EAAW;EAAY;EAAW;CAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC5M,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACvH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,eAAeA,IAAAA,EAAE,MAAMA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F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,EAC5F,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAE5C,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-subscriptions.d.ts
4
- declare const MoonclerkListSubscriptionsInput: z.ZodTypeAny;
5
- declare const MoonclerkListSubscriptionsOutput: z.ZodTypeAny;
6
- declare const moonclerkListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MoonclerkListSubscriptionsInput: z.ZodObject<{
5
+ status: z.ZodOptional<z.ZodEnum<{
6
+ active: "active";
7
+ canceled: "canceled";
8
+ expired: "expired";
9
+ past_due: "past_due";
10
+ pending: "pending";
11
+ unpaid: "unpaid";
12
+ }>>;
13
+ form_id: z.ZodOptional<z.ZodString>;
14
+ next_payment_to: z.ZodOptional<z.ZodString>;
15
+ next_payment_from: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const MoonclerkListSubscriptionsOutput: z.ZodObject<{
18
+ subscriptions: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodNumber>;
20
+ plan: z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodNumber>;
22
+ amount: z.ZodNullable<z.ZodNumber>;
23
+ currency: z.ZodNullable<z.ZodString>;
24
+ interval: z.ZodNullable<z.ZodString>;
25
+ interval_count: z.ZodNullable<z.ZodNumber>;
26
+ plan_reference: z.ZodNullable<z.ZodString>;
27
+ amount_description: z.ZodNullable<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ start: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodNullable<z.ZodString>;
31
+ ended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ trial_end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ canceled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ trial_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ trial_period_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ current_period_end: z.ZodNullable<z.ZodString>;
38
+ current_period_start: z.ZodNullable<z.ZodString>;
39
+ next_payment_attempt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ first_payment_attempt: z.ZodNullable<z.ZodString>;
41
+ subscription_reference: z.ZodNullable<z.ZodString>;
42
+ }, z.core.$loose>>;
43
+ }, z.core.$strip>;
44
+ declare const moonclerkListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
45
+ status?: "active" | "canceled" | "expired" | "past_due" | "pending" | "unpaid" | undefined;
46
+ form_id?: string | undefined;
47
+ next_payment_to?: string | undefined;
48
+ next_payment_from?: string | undefined;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { moonclerkListSubscriptions };
9
52
  //# sourceMappingURL=list-subscriptions.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-subscriptions.d.cts","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKkC;AAAA,cACrE,gCAAA,EAAkC,CAAA,CAAE,UA0BJ;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-subscriptions.d.cts","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,52 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-subscriptions.d.ts
4
- declare const MoonclerkListSubscriptionsInput: z.ZodTypeAny;
5
- declare const MoonclerkListSubscriptionsOutput: z.ZodTypeAny;
6
- declare const moonclerkListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MoonclerkListSubscriptionsInput: z.ZodObject<{
5
+ status: z.ZodOptional<z.ZodEnum<{
6
+ active: "active";
7
+ canceled: "canceled";
8
+ expired: "expired";
9
+ past_due: "past_due";
10
+ pending: "pending";
11
+ unpaid: "unpaid";
12
+ }>>;
13
+ form_id: z.ZodOptional<z.ZodString>;
14
+ next_payment_to: z.ZodOptional<z.ZodString>;
15
+ next_payment_from: z.ZodOptional<z.ZodString>;
16
+ }, z.core.$strip>;
17
+ declare const MoonclerkListSubscriptionsOutput: z.ZodObject<{
18
+ subscriptions: z.ZodArray<z.ZodObject<{
19
+ id: z.ZodNullable<z.ZodNumber>;
20
+ plan: z.ZodObject<{
21
+ id: z.ZodNullable<z.ZodNumber>;
22
+ amount: z.ZodNullable<z.ZodNumber>;
23
+ currency: z.ZodNullable<z.ZodString>;
24
+ interval: z.ZodNullable<z.ZodString>;
25
+ interval_count: z.ZodNullable<z.ZodNumber>;
26
+ plan_reference: z.ZodNullable<z.ZodString>;
27
+ amount_description: z.ZodNullable<z.ZodString>;
28
+ }, z.core.$strip>;
29
+ start: z.ZodNullable<z.ZodString>;
30
+ status: z.ZodNullable<z.ZodString>;
31
+ ended_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ trial_end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ canceled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ trial_start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
+ trial_period_days: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
37
+ current_period_end: z.ZodNullable<z.ZodString>;
38
+ current_period_start: z.ZodNullable<z.ZodString>;
39
+ next_payment_attempt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ first_payment_attempt: z.ZodNullable<z.ZodString>;
41
+ subscription_reference: z.ZodNullable<z.ZodString>;
42
+ }, z.core.$loose>>;
43
+ }, z.core.$strip>;
44
+ declare const moonclerkListSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
45
+ status?: "active" | "canceled" | "expired" | "past_due" | "pending" | "unpaid" | undefined;
46
+ form_id?: string | undefined;
47
+ next_payment_to?: string | undefined;
48
+ next_payment_from?: string | undefined;
49
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
50
  //#endregion
8
51
  export { moonclerkListSubscriptions };
9
52
  //# sourceMappingURL=list-subscriptions.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-subscriptions.d.mts","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAKkC;AAAA,cACrE,gCAAA,EAAkC,CAAA,CAAE,UA0BJ;AAAA,cAEhC,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-subscriptions.d.mts","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4BhC,0BAAA,gCAA0B,wBAAA"}
@@ -18,30 +18,30 @@ const moonclerkListSubscriptions = action("MOONCLERK_LIST_SUBSCRIPTIONS", {
18
18
  next_payment_from: z.string().describe("Include subscriptions due to bill on or after this date (YYYY-MM-DD)").optional()
19
19
  }).describe("Request parameters for listing subscriptions with optional filters."),
20
20
  output: z.object({ subscriptions: z.array(z.object({
21
- id: z.number().int().describe("Subscription ID."),
21
+ id: z.number().int().describe("Subscription ID.").nullable(),
22
22
  plan: z.object({
23
- id: z.number().int().describe("Plan ID."),
24
- amount: z.number().int().describe("Amount in cents."),
25
- currency: z.string().describe("Currency code, e.g., USD."),
26
- interval: z.string().describe("Billing interval, e.g., month."),
27
- interval_count: z.number().int().describe("Interval count, e.g., 1 for monthly."),
28
- plan_reference: z.string().describe("Plan reference ID."),
29
- amount_description: z.string().describe("Description of the amount option.")
23
+ id: z.number().int().describe("Plan ID.").nullable(),
24
+ amount: z.number().int().describe("Amount in cents.").nullable(),
25
+ currency: z.string().describe("Currency code, e.g., USD.").nullable(),
26
+ interval: z.string().describe("Billing interval, e.g., month.").nullable(),
27
+ interval_count: z.number().int().describe("Interval count, e.g., 1 for monthly.").nullable(),
28
+ plan_reference: z.string().describe("Plan reference ID.").nullable(),
29
+ amount_description: z.string().describe("Description of the amount option.").nullable()
30
30
  }).describe("Associated plan details."),
31
- start: z.string().describe("Subscription start timestamp (ISO 8601)."),
32
- status: z.string().describe("Subscription status."),
31
+ start: z.string().describe("Subscription start timestamp (ISO 8601).").nullable(),
32
+ status: z.string().describe("Subscription status.").nullable(),
33
33
  ended_at: z.string().describe("End timestamp if subscription ended.").nullable().optional(),
34
34
  trial_end: z.string().describe("Trial end timestamp if applicable.").nullable().optional(),
35
35
  expires_at: z.string().describe("Expiration timestamp if set.").nullable().optional(),
36
36
  canceled_at: z.string().describe("Cancellation timestamp if applicable.").nullable().optional(),
37
37
  trial_start: z.string().describe("Trial start timestamp if applicable.").nullable().optional(),
38
38
  trial_period_days: z.number().int().describe("Number of trial days if applicable.").nullable().optional(),
39
- current_period_end: z.string().describe("End of current period (ISO 8601)."),
40
- current_period_start: z.string().describe("Start of current period (ISO 8601)."),
39
+ current_period_end: z.string().describe("End of current period (ISO 8601).").nullable(),
40
+ current_period_start: z.string().describe("Start of current period (ISO 8601).").nullable(),
41
41
  next_payment_attempt: z.string().describe("Next payment attempt timestamp (ISO 8601).").nullable().optional(),
42
- first_payment_attempt: z.string().describe("First payment attempt timestamp (ISO 8601)."),
43
- subscription_reference: z.string().describe("Subscription reference ID.")
44
- }).describe("Subscription details.")).describe("List of subscription objects.") }).describe("Data from the action execution")
42
+ first_payment_attempt: z.string().describe("First payment attempt timestamp (ISO 8601).").nullable(),
43
+ subscription_reference: z.string().describe("Subscription reference ID.").nullable()
44
+ }).passthrough().describe("Subscription details.")).describe("List of subscription objects.") }).describe("Data from the action execution")
45
45
  });
46
46
  //#endregion
47
47
  export { moonclerkListSubscriptions };
@@ -1 +1 @@
1
- {"version":3,"file":"list-subscriptions.mjs","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoonclerkListSubscriptionsInput: z.ZodTypeAny = z.object({\n status: z.enum([\"active\", \"canceled\", \"expired\", \"past_due\", \"pending\", \"unpaid\"]).describe(\"Filter subscriptions by status. Valid options: active, canceled, expired, past_due, pending, unpaid\").optional(),\n form_id: z.string().describe(\"Filter subscriptions by the associated MoonClerk form ID (e.g., 5346)\").optional(),\n next_payment_to: z.string().describe(\"Include subscriptions due to bill on or before this date (YYYY-MM-DD)\").optional(),\n next_payment_from: z.string().describe(\"Include subscriptions due to bill on or after this date (YYYY-MM-DD)\").optional(),\n}).describe(\"Request parameters for listing subscriptions with optional filters.\");\nexport const MoonclerkListSubscriptionsOutput: z.ZodTypeAny = z.object({\n subscriptions: z.array(z.object({\n id: z.number().int().describe(\"Subscription ID.\"),\n plan: z.object({\n id: z.number().int().describe(\"Plan ID.\"),\n amount: z.number().int().describe(\"Amount in cents.\"),\n currency: z.string().describe(\"Currency code, e.g., USD.\"),\n interval: z.string().describe(\"Billing interval, e.g., month.\"),\n interval_count: z.number().int().describe(\"Interval count, e.g., 1 for monthly.\"),\n plan_reference: z.string().describe(\"Plan reference ID.\"),\n amount_description: z.string().describe(\"Description of the amount option.\"),\n}).describe(\"Associated plan details.\"),\n start: z.string().describe(\"Subscription start timestamp (ISO 8601).\"),\n status: z.string().describe(\"Subscription status.\"),\n ended_at: z.string().describe(\"End timestamp if subscription ended.\").nullable().optional(),\n trial_end: z.string().describe(\"Trial end timestamp if applicable.\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration timestamp if set.\").nullable().optional(),\n canceled_at: z.string().describe(\"Cancellation timestamp if applicable.\").nullable().optional(),\n trial_start: z.string().describe(\"Trial start timestamp if applicable.\").nullable().optional(),\n trial_period_days: z.number().int().describe(\"Number of trial days if applicable.\").nullable().optional(),\n current_period_end: z.string().describe(\"End of current period (ISO 8601).\"),\n current_period_start: z.string().describe(\"Start of current period (ISO 8601).\"),\n next_payment_attempt: z.string().describe(\"Next payment attempt timestamp (ISO 8601).\").nullable().optional(),\n first_payment_attempt: z.string().describe(\"First payment attempt timestamp (ISO 8601).\"),\n subscription_reference: z.string().describe(\"Subscription reference ID.\"),\n}).describe(\"Subscription details.\")).describe(\"List of subscription objects.\"),\n}).describe(\"Data from the action execution\");\n\nexport const moonclerkListSubscriptions = action(\"MOONCLERK_LIST_SUBSCRIPTIONS\", {\n slug: \"moonclerk-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list subscriptions. Use when you need to retrieve all subscriptions after authenticating.\",\n input: MoonclerkListSubscriptionsInput,\n output: MoonclerkListSubscriptionsOutput,\n});\n"],"mappings":";;AAsCA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtC2D,EAAE,OAAO;EACpE,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAY;GAAW;GAAY;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC5M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACvH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,qEAiCH;CACP,QAjC4D,EAAE,OAAO,EACrE,eAAe,EAAE,MAAM,EAAE,OAAO;EAChC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kBAAkB;EAChD,MAAM,EAAE,OAAO;GACf,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AC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EACxF,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CAC1E,CAAC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,EAC9E,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-subscriptions.mjs","names":[],"sources":["../../src/actions/list-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MoonclerkListSubscriptionsInput = z.object({\n status: z.enum([\"active\", \"canceled\", \"expired\", \"past_due\", \"pending\", \"unpaid\"]).describe(\"Filter subscriptions by status. Valid options: active, canceled, expired, past_due, pending, unpaid\").optional(),\n form_id: z.string().describe(\"Filter subscriptions by the associated MoonClerk form ID (e.g., 5346)\").optional(),\n next_payment_to: z.string().describe(\"Include subscriptions due to bill on or before this date (YYYY-MM-DD)\").optional(),\n next_payment_from: z.string().describe(\"Include subscriptions due to bill on or after this date (YYYY-MM-DD)\").optional(),\n}).describe(\"Request parameters for listing subscriptions with optional filters.\");\nexport const MoonclerkListSubscriptionsOutput = z.object({\n subscriptions: z.array(z.object({\n id: z.number().int().describe(\"Subscription ID.\").nullable(),\n plan: z.object({\n id: z.number().int().describe(\"Plan ID.\").nullable(),\n amount: z.number().int().describe(\"Amount in cents.\").nullable(),\n currency: z.string().describe(\"Currency code, e.g., USD.\").nullable(),\n interval: z.string().describe(\"Billing interval, e.g., month.\").nullable(),\n interval_count: z.number().int().describe(\"Interval count, e.g., 1 for monthly.\").nullable(),\n plan_reference: z.string().describe(\"Plan reference ID.\").nullable(),\n amount_description: z.string().describe(\"Description of the amount option.\").nullable(),\n}).describe(\"Associated plan details.\"),\n start: z.string().describe(\"Subscription start timestamp (ISO 8601).\").nullable(),\n status: z.string().describe(\"Subscription status.\").nullable(),\n ended_at: z.string().describe(\"End timestamp if subscription ended.\").nullable().optional(),\n trial_end: z.string().describe(\"Trial end timestamp if applicable.\").nullable().optional(),\n expires_at: z.string().describe(\"Expiration timestamp if set.\").nullable().optional(),\n canceled_at: z.string().describe(\"Cancellation timestamp if applicable.\").nullable().optional(),\n trial_start: z.string().describe(\"Trial start timestamp if applicable.\").nullable().optional(),\n trial_period_days: z.number().int().describe(\"Number of trial days if applicable.\").nullable().optional(),\n current_period_end: z.string().describe(\"End of current period (ISO 8601).\").nullable(),\n current_period_start: z.string().describe(\"Start of current period (ISO 8601).\").nullable(),\n next_payment_attempt: z.string().describe(\"Next payment attempt timestamp (ISO 8601).\").nullable().optional(),\n first_payment_attempt: z.string().describe(\"First payment attempt timestamp (ISO 8601).\").nullable(),\n subscription_reference: z.string().describe(\"Subscription reference ID.\").nullable(),\n}).passthrough().describe(\"Subscription details.\")).describe(\"List of subscription objects.\"),\n}).describe(\"Data from the action execution\");\n\nexport const moonclerkListSubscriptions = action(\"MOONCLERK_LIST_SUBSCRIPTIONS\", {\n slug: \"moonclerk-list-subscriptions\",\n name: \"List Subscriptions\",\n description: \"Tool to list subscriptions. Use when you need to retrieve all subscriptions after authenticating.\",\n input: MoonclerkListSubscriptionsInput,\n output: MoonclerkListSubscriptionsOutput,\n});\n"],"mappings":";;AAsCA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtC6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK;GAAC;GAAU;GAAY;GAAW;GAAY;GAAW;EAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC5M,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EACvH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,s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AAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtF,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACnG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,CAAC,SAAS,+BAA+B,EAC5F,CAAC,CAAC,CAAC,SAAS,gCAOF;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const moonclerkCatalog = {
7
7
  "category": "Payment Processing",
8
8
  "logo": "https://logos.composio.dev/api/moonclerk",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "MoonClerk API Key",
13
+ "secret": true,
14
+ "description": "The API key used for authenticating requests to the MoonClerk API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.moonclerkCatalog = moonclerkCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const moonclerkCatalog = {\n \"slug\": \"moonclerk\",\n \"name\": \"Moonclerk\",\n \"description\": \"MoonClerk is a platform that enables businesses to accept recurring and one-time online payments.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/moonclerk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const moonclerkCatalog = {\n \"slug\": \"moonclerk\",\n \"name\": \"Moonclerk\",\n \"description\": \"MoonClerk is a platform that enables businesses to accept recurring and one-time online payments.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/moonclerk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"MoonClerk API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the MoonClerk API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,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"}
@@ -8,6 +8,14 @@ declare const moonclerkCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/moonclerk";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "MoonClerk API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key used for authenticating requests to the MoonClerk API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { moonclerkCatalog };
@@ -8,6 +8,14 @@ declare const moonclerkCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/moonclerk";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "MoonClerk API Key";
14
+ readonly secret: true;
15
+ readonly description: "The API key used for authenticating requests to the MoonClerk API.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { moonclerkCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const moonclerkCatalog = {
7
7
  "category": "Payment Processing",
8
8
  "logo": "https://logos.composio.dev/api/moonclerk",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "MoonClerk API Key",
13
+ "secret": true,
14
+ "description": "The API key used for authenticating requests to the MoonClerk API."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { moonclerkCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const moonclerkCatalog = {\n \"slug\": \"moonclerk\",\n \"name\": \"Moonclerk\",\n \"description\": \"MoonClerk is a platform that enables businesses to accept recurring and one-time online payments.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/moonclerk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const moonclerkCatalog = {\n \"slug\": \"moonclerk\",\n \"name\": \"Moonclerk\",\n \"description\": \"MoonClerk is a platform that enables businesses to accept recurring and one-time online payments.\",\n \"category\": \"Payment Processing\",\n \"logo\": \"https://logos.composio.dev/api/moonclerk\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"MoonClerk API Key\",\n \"secret\": true,\n \"description\": \"The API key used for authenticating requests to the MoonClerk API.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,mBAAmB;CAC9B,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/moonclerk",
3
- "version": "0.1.0",
3
+ "version": "0.1.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {