@keystrokehq/rize 0.1.0

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 (98) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/create-api-key.cjs +19 -0
  7. package/dist/actions/create-api-key.cjs.map +1 -0
  8. package/dist/actions/create-api-key.d.cts +9 -0
  9. package/dist/actions/create-api-key.d.cts.map +1 -0
  10. package/dist/actions/create-api-key.d.mts +9 -0
  11. package/dist/actions/create-api-key.d.mts.map +1 -0
  12. package/dist/actions/create-api-key.mjs +16 -0
  13. package/dist/actions/create-api-key.mjs.map +1 -0
  14. package/dist/actions/create-card.cjs +33 -0
  15. package/dist/actions/create-card.cjs.map +1 -0
  16. package/dist/actions/create-card.d.cts +9 -0
  17. package/dist/actions/create-card.d.cts.map +1 -0
  18. package/dist/actions/create-card.d.mts +9 -0
  19. package/dist/actions/create-card.d.mts.map +1 -0
  20. package/dist/actions/create-card.mjs +30 -0
  21. package/dist/actions/create-card.mjs.map +1 -0
  22. package/dist/actions/create-cardholder.cjs +72 -0
  23. package/dist/actions/create-cardholder.cjs.map +1 -0
  24. package/dist/actions/create-cardholder.d.cts +9 -0
  25. package/dist/actions/create-cardholder.d.cts.map +1 -0
  26. package/dist/actions/create-cardholder.d.mts +9 -0
  27. package/dist/actions/create-cardholder.d.mts.map +1 -0
  28. package/dist/actions/create-cardholder.mjs +71 -0
  29. package/dist/actions/create-cardholder.mjs.map +1 -0
  30. package/dist/actions/create-counterparty.cjs +48 -0
  31. package/dist/actions/create-counterparty.cjs.map +1 -0
  32. package/dist/actions/create-counterparty.d.cts +9 -0
  33. package/dist/actions/create-counterparty.d.cts.map +1 -0
  34. package/dist/actions/create-counterparty.d.mts +9 -0
  35. package/dist/actions/create-counterparty.d.mts.map +1 -0
  36. package/dist/actions/create-counterparty.mjs +47 -0
  37. package/dist/actions/create-counterparty.mjs.map +1 -0
  38. package/dist/actions/create-partner-financial-account.cjs +55 -0
  39. package/dist/actions/create-partner-financial-account.cjs.map +1 -0
  40. package/dist/actions/create-partner-financial-account.d.cts +9 -0
  41. package/dist/actions/create-partner-financial-account.d.cts.map +1 -0
  42. package/dist/actions/create-partner-financial-account.d.mts +9 -0
  43. package/dist/actions/create-partner-financial-account.d.mts.map +1 -0
  44. package/dist/actions/create-partner-financial-account.mjs +54 -0
  45. package/dist/actions/create-partner-financial-account.mjs.map +1 -0
  46. package/dist/actions/create-user.cjs +58 -0
  47. package/dist/actions/create-user.cjs.map +1 -0
  48. package/dist/actions/create-user.d.cts +9 -0
  49. package/dist/actions/create-user.d.cts.map +1 -0
  50. package/dist/actions/create-user.d.mts +9 -0
  51. package/dist/actions/create-user.d.mts.map +1 -0
  52. package/dist/actions/create-user.mjs +55 -0
  53. package/dist/actions/create-user.mjs.map +1 -0
  54. package/dist/actions/get-cardholder.cjs +46 -0
  55. package/dist/actions/get-cardholder.cjs.map +1 -0
  56. package/dist/actions/get-cardholder.d.cts +9 -0
  57. package/dist/actions/get-cardholder.d.cts.map +1 -0
  58. package/dist/actions/get-cardholder.d.mts +9 -0
  59. package/dist/actions/get-cardholder.d.mts.map +1 -0
  60. package/dist/actions/get-cardholder.mjs +45 -0
  61. package/dist/actions/get-cardholder.mjs.map +1 -0
  62. package/dist/actions/get-virtual-card-image.cjs +24 -0
  63. package/dist/actions/get-virtual-card-image.cjs.map +1 -0
  64. package/dist/actions/get-virtual-card-image.d.cts +9 -0
  65. package/dist/actions/get-virtual-card-image.d.cts.map +1 -0
  66. package/dist/actions/get-virtual-card-image.d.mts +9 -0
  67. package/dist/actions/get-virtual-card-image.d.mts.map +1 -0
  68. package/dist/actions/get-virtual-card-image.mjs +23 -0
  69. package/dist/actions/get-virtual-card-image.mjs.map +1 -0
  70. package/dist/actions/index.cjs +17 -0
  71. package/dist/actions/index.d.cts +9 -0
  72. package/dist/actions/index.d.mts +9 -0
  73. package/dist/actions/index.mjs +9 -0
  74. package/dist/app.cjs +9 -0
  75. package/dist/app.cjs.map +1 -0
  76. package/dist/app.d.cts +5 -0
  77. package/dist/app.d.cts.map +1 -0
  78. package/dist/app.d.mts +5 -0
  79. package/dist/app.d.mts.map +1 -0
  80. package/dist/app.mjs +10 -0
  81. package/dist/app.mjs.map +1 -0
  82. package/dist/catalog.cjs +15 -0
  83. package/dist/catalog.cjs.map +1 -0
  84. package/dist/catalog.d.cts +14 -0
  85. package/dist/catalog.d.cts.map +1 -0
  86. package/dist/catalog.d.mts +14 -0
  87. package/dist/catalog.d.mts.map +1 -0
  88. package/dist/catalog.mjs +15 -0
  89. package/dist/catalog.mjs.map +1 -0
  90. package/dist/execute.cjs +18 -0
  91. package/dist/execute.cjs.map +1 -0
  92. package/dist/execute.mjs +18 -0
  93. package/dist/execute.mjs.map +1 -0
  94. package/dist/index.cjs +22 -0
  95. package/dist/index.d.cts +11 -0
  96. package/dist/index.d.mts +11 -0
  97. package/dist/index.mjs +12 -0
  98. package/package.json +49 -0
@@ -0,0 +1,47 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-counterparty.ts
4
+ const RizeCreateCounterpartyInput = z.object({
5
+ ach: z.object({
6
+ bank_id: z.string().describe("Bank identifier").optional(),
7
+ bank_name: z.string().describe("Name of the bank").optional(),
8
+ account_type: z.enum(["checking", "savings"]).describe("Type of bank account"),
9
+ account_number: z.string().describe("Bank account number"),
10
+ routing_number: z.string().describe("Bank routing number (9 digits)")
11
+ }).describe("ACH bank account details for the counterparty.").optional(),
12
+ external_uid: z.string().describe("A unique identifier you define to represent the counterparty. Useful for tracking and matching with your internal systems.").optional(),
13
+ name_on_account: z.string().describe("The name on the bank account for the counterparty. This is typically the name of the business or individual that owns the account.")
14
+ }).describe("Request payload for creating a new counterparty.");
15
+ const RizeCreateCounterparty_AccountTypeSchema = z.enum(["checking", "savings"]).describe("ACH account type for the counterparty bank account.");
16
+ const RizeCreateCounterparty_AchAccountSchema = z.object({
17
+ bank_id: z.string().describe("Bank identifier").nullable().optional(),
18
+ bank_name: z.string().describe("Name of the bank").nullable().optional(),
19
+ account_type: RizeCreateCounterparty_AccountTypeSchema.nullable(),
20
+ account_number: z.string().describe("Bank account number"),
21
+ routing_number: z.string().describe("Bank routing number (9 digits)")
22
+ }).describe("ACH bank account details for the counterparty.");
23
+ const RizeCreateCounterparty_CounterpartyStatusSchema = z.enum([
24
+ "active",
25
+ "inactive",
26
+ "archived"
27
+ ]).describe("Status of the counterparty.");
28
+ const RizeCreateCounterparty_CounterpartySchema = z.object({
29
+ ach: RizeCreateCounterparty_AchAccountSchema.nullable().optional(),
30
+ uid: z.string().describe("Unique identifier for the counterparty"),
31
+ status: RizeCreateCounterparty_CounterpartyStatusSchema.nullable(),
32
+ created_at: z.string().describe("ISO 8601 timestamp when the counterparty was created"),
33
+ updated_at: z.string().describe("ISO 8601 timestamp when the counterparty was last updated"),
34
+ external_uid: z.string().describe("Client-defined unique identifier for the counterparty"),
35
+ name_on_account: z.string().describe("Name on the bank account")
36
+ }).describe("Rize counterparty object representing an external party for transfers.");
37
+ const rizeCreateCounterparty = action("RIZE_CREATE_COUNTERPARTY", {
38
+ slug: "rize-create-counterparty",
39
+ name: "Create a Rize counterparty",
40
+ description: "Creates a new Counterparty in the Rize system. A counterparty represents an external party (such as a vendor, supplier, or business partner) that can receive transfers from your account. Use when setting up external payment recipients or business transfer partners. This action is idempotent based on the external_uid. If a counterparty with the same external_uid already exists, the existing record may be returned.",
41
+ input: RizeCreateCounterpartyInput,
42
+ output: z.object({ counterparty: RizeCreateCounterparty_CounterpartySchema.nullable() }).describe("Response from the create counterparty API endpoint.")
43
+ });
44
+ //#endregion
45
+ export { rizeCreateCounterparty };
46
+
47
+ //# sourceMappingURL=create-counterparty.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-counterparty.mjs","names":[],"sources":["../../src/actions/create-counterparty.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeCreateCounterpartyInput: z.ZodTypeAny = z.object({\n ach: z.object({\n bank_id: z.string().describe(\"Bank identifier\").optional(),\n bank_name: z.string().describe(\"Name of the bank\").optional(),\n account_type: z.enum([\"checking\", \"savings\"]).describe(\"Type of bank account\"),\n account_number: z.string().describe(\"Bank account number\"),\n routing_number: z.string().describe(\"Bank routing number (9 digits)\"),\n}).describe(\"ACH bank account details for the counterparty.\").optional(),\n external_uid: z.string().describe(\"A unique identifier you define to represent the counterparty. Useful for tracking and matching with your internal systems.\").optional(),\n name_on_account: z.string().describe(\"The name on the bank account for the counterparty. This is typically the name of the business or individual that owns the account.\"),\n}).describe(\"Request payload for creating a new counterparty.\");\nconst RizeCreateCounterparty_AccountTypeSchema: z.ZodTypeAny = z.enum([\"checking\", \"savings\"]).describe(\"ACH account type for the counterparty bank account.\");\nconst RizeCreateCounterparty_AchAccountSchema: z.ZodTypeAny = z.object({\n bank_id: z.string().describe(\"Bank identifier\").nullable().optional(),\n bank_name: z.string().describe(\"Name of the bank\").nullable().optional(),\n account_type: RizeCreateCounterparty_AccountTypeSchema.nullable(),\n account_number: z.string().describe(\"Bank account number\"),\n routing_number: z.string().describe(\"Bank routing number (9 digits)\"),\n}).describe(\"ACH bank account details for the counterparty.\");\nconst RizeCreateCounterparty_CounterpartyStatusSchema: z.ZodTypeAny = z.enum([\"active\", \"inactive\", \"archived\"]).describe(\"Status of the counterparty.\");\nconst RizeCreateCounterparty_CounterpartySchema: z.ZodTypeAny = z.object({\n ach: RizeCreateCounterparty_AchAccountSchema.nullable().optional(),\n uid: z.string().describe(\"Unique identifier for the counterparty\"),\n status: RizeCreateCounterparty_CounterpartyStatusSchema.nullable(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the counterparty was created\"),\n updated_at: z.string().describe(\"ISO 8601 timestamp when the counterparty was last updated\"),\n external_uid: z.string().describe(\"Client-defined unique identifier for the counterparty\"),\n name_on_account: z.string().describe(\"Name on the bank account\"),\n}).describe(\"Rize counterparty object representing an external party for transfers.\");\nexport const RizeCreateCounterpartyOutput: z.ZodTypeAny = z.object({\n counterparty: RizeCreateCounterparty_CounterpartySchema.nullable(),\n}).describe(\"Response from the create counterparty API endpoint.\");\n\nexport const rizeCreateCounterparty = action(\"RIZE_CREATE_COUNTERPARTY\", {\n slug: \"rize-create-counterparty\",\n name: \"Create a Rize counterparty\",\n description: \"Creates a new Counterparty in the Rize system. A counterparty represents an external party (such as a vendor, supplier, or business partner) that can receive transfers from your account. Use when setting up external payment recipients or business transfer partners. This action is idempotent based on the external_uid. If a counterparty with the same external_uid already exists, the existing record may be returned.\",\n input: RizeCreateCounterpartyInput,\n output: RizeCreateCounterpartyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO;EACd,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;EACzD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC5D,cAAc,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,sBAAsB;EAC7E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;EACzD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACtE,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CACzK,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;AAC3K,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,2CAAyD,EAAE,KAAK,CAAC,YAAY,SAAS,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAC7J,MAAM,0CAAwD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,cAAc,yCAAyC,SAAS;CAChE,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB;CACzD,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AACtE,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAM,kDAAgE,EAAE,KAAK;CAAC;CAAU;CAAY;AAAU,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACvJ,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACjE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACjE,QAAQ,gDAAgD,SAAS;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CAC3F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACjE,CAAC,CAAC,CAAC,SAAS,wEAAwE;AAKpF,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,cAAc,0CAA0C,SAAS,EACnE,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-partner-financial-account.ts
4
+ const RizeCreatePartnerFinancialAccountInput = zod.z.object({
5
+ partner_id: zod.z.number().int().describe("The unique identifier of the partner to create a financial account for."),
6
+ financial_provider: zod.z.string().describe("The financial provider to use for the account. Common values include 'TREASURY_PRIME'.")
7
+ }).describe("Request model for creating a financial account for a partner.");
8
+ const RizeCreatePartnerFinancialAccount_MailingAddressSchema = zod.z.object({
9
+ city: zod.z.string().describe("City of the mailing address.").nullable().optional(),
10
+ region: zod.z.string().describe("State, province, or region of the mailing address.").nullable().optional(),
11
+ country: zod.z.string().describe("Country of the mailing address.").nullable().optional(),
12
+ address_line_1: zod.z.string().describe("First line of the mailing address (street address or P.O. box).").nullable().optional(),
13
+ address_line_2: zod.z.string().describe("Second line of the mailing address (apartment number, suite, etc.).").nullable().optional()
14
+ }).describe("Mailing address for a partner.");
15
+ const RizeCreatePartnerFinancialAccount_PhysicalAddressSchema = zod.z.object({
16
+ city: zod.z.string().describe("City of the physical address.").nullable().optional(),
17
+ region: zod.z.string().describe("State, province, or region of the physical address.").nullable().optional(),
18
+ country: zod.z.string().describe("Country of the physical address.").nullable().optional(),
19
+ address_line_1: zod.z.string().describe("First line of the physical address (street address).").nullable().optional(),
20
+ address_line_2: zod.z.string().describe("Second line of the physical address (apartment number, suite, etc.).").nullable().optional()
21
+ }).describe("Physical address for a partner.");
22
+ const RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema = zod.z.object({
23
+ id: zod.z.number().int().describe("Unique identifier for the financial account.").nullable().optional(),
24
+ status: zod.z.string().describe("Status of the financial account (e.g., active, pending, closed).").nullable().optional(),
25
+ balance: zod.z.string().describe("Current balance of the financial account.").nullable().optional(),
26
+ provider: zod.z.string().describe("Financial provider for the account.").nullable().optional(),
27
+ account_number: zod.z.string().describe("Account number for the financial account.").nullable().optional(),
28
+ routing_number: zod.z.string().describe("Routing number for the financial account.").nullable().optional()
29
+ }).describe("Financial account associated with a partner (in response).");
30
+ const RizeCreatePartnerFinancialAccountOutput = zod.z.object({
31
+ id: zod.z.number().int().describe("Unique identifier for the partner.").nullable().optional(),
32
+ tin: zod.z.string().describe("Tax Identification Number of the partner.").nullable().optional(),
33
+ url: zod.z.string().describe("Website URL of the partner.").nullable().optional(),
34
+ name: zod.z.string().describe("Legal name of the partner.").nullable().optional(),
35
+ description: zod.z.string().describe("Description of the partner's business.").nullable().optional(),
36
+ phone_number: zod.z.string().describe("Contact phone number for the partner.").nullable().optional(),
37
+ established_on: zod.z.string().describe("Date when the partner was established, in ISO 8601 format.").nullable().optional(),
38
+ legal_structure: zod.z.string().describe("Legal structure of the partner (e.g., corporation, LLC, partnership).").nullable().optional(),
39
+ mailing_address: RizeCreatePartnerFinancialAccount_MailingAddressSchema.nullable().optional(),
40
+ physical_address: RizeCreatePartnerFinancialAccount_PhysicalAddressSchema.nullable().optional(),
41
+ naics_sector_code: zod.z.string().describe("NAICS sector code for the partner's industry.").nullable().optional(),
42
+ financial_accounts: zod.z.array(RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema).describe("List of financial accounts associated with the partner.").nullable().optional(),
43
+ incorporation_state: zod.z.string().describe("State in which the partner is incorporated or registered.").nullable().optional()
44
+ }).describe("Response model for creating a partner financial account.");
45
+ const rizeCreatePartnerFinancialAccount = require_action.action("RIZE_CREATE_PARTNER_FINANCIAL_ACCOUNT", {
46
+ slug: "rize-create-partner-financial-account",
47
+ name: "Create Partner Financial Account",
48
+ description: "Create a new financial account for an existing partner in the Rize admin API. Use this action when you need to provision a new financial account (such as a bank account) for a partner organization that already exists in the Rize platform. This action creates the financial account on the partner record. The account will be associated with the specified financial provider.",
49
+ input: RizeCreatePartnerFinancialAccountInput,
50
+ output: RizeCreatePartnerFinancialAccountOutput
51
+ });
52
+ //#endregion
53
+ exports.rizeCreatePartnerFinancialAccount = rizeCreatePartnerFinancialAccount;
54
+
55
+ //# sourceMappingURL=create-partner-financial-account.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-partner-financial-account.cjs","names":["z","action"],"sources":["../../src/actions/create-partner-financial-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeCreatePartnerFinancialAccountInput: z.ZodTypeAny = z.object({\n partner_id: z.number().int().describe(\"The unique identifier of the partner to create a financial account for.\"),\n financial_provider: z.string().describe(\"The financial provider to use for the account. Common values include 'TREASURY_PRIME'.\"),\n}).describe(\"Request model for creating a financial account for a partner.\");\nconst RizeCreatePartnerFinancialAccount_MailingAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the mailing address.\").nullable().optional(),\n region: z.string().describe(\"State, province, or region of the mailing address.\").nullable().optional(),\n country: z.string().describe(\"Country of the mailing address.\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the mailing address (street address or P.O. box).\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the mailing address (apartment number, suite, etc.).\").nullable().optional(),\n}).describe(\"Mailing address for a partner.\");\nconst RizeCreatePartnerFinancialAccount_PhysicalAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the physical address.\").nullable().optional(),\n region: z.string().describe(\"State, province, or region of the physical address.\").nullable().optional(),\n country: z.string().describe(\"Country of the physical address.\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the physical address (street address).\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the physical address (apartment number, suite, etc.).\").nullable().optional(),\n}).describe(\"Physical address for a partner.\");\nconst RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the financial account.\").nullable().optional(),\n status: z.string().describe(\"Status of the financial account (e.g., active, pending, closed).\").nullable().optional(),\n balance: z.string().describe(\"Current balance of the financial account.\").nullable().optional(),\n provider: z.string().describe(\"Financial provider for the account.\").nullable().optional(),\n account_number: z.string().describe(\"Account number for the financial account.\").nullable().optional(),\n routing_number: z.string().describe(\"Routing number for the financial account.\").nullable().optional(),\n}).describe(\"Financial account associated with a partner (in response).\");\nexport const RizeCreatePartnerFinancialAccountOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the partner.\").nullable().optional(),\n tin: z.string().describe(\"Tax Identification Number of the partner.\").nullable().optional(),\n url: z.string().describe(\"Website URL of the partner.\").nullable().optional(),\n name: z.string().describe(\"Legal name of the partner.\").nullable().optional(),\n description: z.string().describe(\"Description of the partner's business.\").nullable().optional(),\n phone_number: z.string().describe(\"Contact phone number for the partner.\").nullable().optional(),\n established_on: z.string().describe(\"Date when the partner was established, in ISO 8601 format.\").nullable().optional(),\n legal_structure: z.string().describe(\"Legal structure of the partner (e.g., corporation, LLC, partnership).\").nullable().optional(),\n mailing_address: RizeCreatePartnerFinancialAccount_MailingAddressSchema.nullable().optional(),\n physical_address: RizeCreatePartnerFinancialAccount_PhysicalAddressSchema.nullable().optional(),\n naics_sector_code: z.string().describe(\"NAICS sector code for the partner's industry.\").nullable().optional(),\n financial_accounts: z.array(RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema).describe(\"List of financial accounts associated with the partner.\").nullable().optional(),\n incorporation_state: z.string().describe(\"State in which the partner is incorporated or registered.\").nullable().optional(),\n}).describe(\"Response model for creating a partner financial account.\");\n\nexport const rizeCreatePartnerFinancialAccount = action(\"RIZE_CREATE_PARTNER_FINANCIAL_ACCOUNT\", {\n slug: \"rize-create-partner-financial-account\",\n name: \"Create Partner Financial Account\",\n description: \"Create a new financial account for an existing partner in the Rize admin API. Use this action when you need to provision a new financial account (such as a bank account) for a partner organization that already exists in the Rize platform. This action creates the financial account on the partner record. The account will be associated with the specified financial provider.\",\n input: RizeCreatePartnerFinancialAccountInput,\n output: RizeCreatePartnerFinancialAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC/G,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,S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SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,iBAAiB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,wDAAwD,SAAS,CAAC,CAAC,SAAS;CAC9F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,oBAAoBA,IAAAA,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtL,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,oCAAoCC,eAAAA,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-partner-financial-account.d.ts
4
+ declare const RizeCreatePartnerFinancialAccountInput: z.ZodTypeAny;
5
+ declare const RizeCreatePartnerFinancialAccountOutput: z.ZodTypeAny;
6
+ declare const rizeCreatePartnerFinancialAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rizeCreatePartnerFinancialAccount };
9
+ //# sourceMappingURL=create-partner-financial-account.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-partner-financial-account.d.cts","names":[],"sources":["../../src/actions/create-partner-financial-account.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGqB;AAAA,cAuB/D,uCAAA,EAAyC,CAAA,CAAE,UAce;AAAA,cAE1D,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-partner-financial-account.d.ts
4
+ declare const RizeCreatePartnerFinancialAccountInput: z.ZodTypeAny;
5
+ declare const RizeCreatePartnerFinancialAccountOutput: z.ZodTypeAny;
6
+ declare const rizeCreatePartnerFinancialAccount: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rizeCreatePartnerFinancialAccount };
9
+ //# sourceMappingURL=create-partner-financial-account.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-partner-financial-account.d.mts","names":[],"sources":["../../src/actions/create-partner-financial-account.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAGqB;AAAA,cAuB/D,uCAAA,EAAyC,CAAA,CAAE,UAce;AAAA,cAE1D,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,54 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-partner-financial-account.ts
4
+ const RizeCreatePartnerFinancialAccountInput = z.object({
5
+ partner_id: z.number().int().describe("The unique identifier of the partner to create a financial account for."),
6
+ financial_provider: z.string().describe("The financial provider to use for the account. Common values include 'TREASURY_PRIME'.")
7
+ }).describe("Request model for creating a financial account for a partner.");
8
+ const RizeCreatePartnerFinancialAccount_MailingAddressSchema = z.object({
9
+ city: z.string().describe("City of the mailing address.").nullable().optional(),
10
+ region: z.string().describe("State, province, or region of the mailing address.").nullable().optional(),
11
+ country: z.string().describe("Country of the mailing address.").nullable().optional(),
12
+ address_line_1: z.string().describe("First line of the mailing address (street address or P.O. box).").nullable().optional(),
13
+ address_line_2: z.string().describe("Second line of the mailing address (apartment number, suite, etc.).").nullable().optional()
14
+ }).describe("Mailing address for a partner.");
15
+ const RizeCreatePartnerFinancialAccount_PhysicalAddressSchema = z.object({
16
+ city: z.string().describe("City of the physical address.").nullable().optional(),
17
+ region: z.string().describe("State, province, or region of the physical address.").nullable().optional(),
18
+ country: z.string().describe("Country of the physical address.").nullable().optional(),
19
+ address_line_1: z.string().describe("First line of the physical address (street address).").nullable().optional(),
20
+ address_line_2: z.string().describe("Second line of the physical address (apartment number, suite, etc.).").nullable().optional()
21
+ }).describe("Physical address for a partner.");
22
+ const RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema = z.object({
23
+ id: z.number().int().describe("Unique identifier for the financial account.").nullable().optional(),
24
+ status: z.string().describe("Status of the financial account (e.g., active, pending, closed).").nullable().optional(),
25
+ balance: z.string().describe("Current balance of the financial account.").nullable().optional(),
26
+ provider: z.string().describe("Financial provider for the account.").nullable().optional(),
27
+ account_number: z.string().describe("Account number for the financial account.").nullable().optional(),
28
+ routing_number: z.string().describe("Routing number for the financial account.").nullable().optional()
29
+ }).describe("Financial account associated with a partner (in response).");
30
+ const rizeCreatePartnerFinancialAccount = action("RIZE_CREATE_PARTNER_FINANCIAL_ACCOUNT", {
31
+ slug: "rize-create-partner-financial-account",
32
+ name: "Create Partner Financial Account",
33
+ description: "Create a new financial account for an existing partner in the Rize admin API. Use this action when you need to provision a new financial account (such as a bank account) for a partner organization that already exists in the Rize platform. This action creates the financial account on the partner record. The account will be associated with the specified financial provider.",
34
+ input: RizeCreatePartnerFinancialAccountInput,
35
+ output: z.object({
36
+ id: z.number().int().describe("Unique identifier for the partner.").nullable().optional(),
37
+ tin: z.string().describe("Tax Identification Number of the partner.").nullable().optional(),
38
+ url: z.string().describe("Website URL of the partner.").nullable().optional(),
39
+ name: z.string().describe("Legal name of the partner.").nullable().optional(),
40
+ description: z.string().describe("Description of the partner's business.").nullable().optional(),
41
+ phone_number: z.string().describe("Contact phone number for the partner.").nullable().optional(),
42
+ established_on: z.string().describe("Date when the partner was established, in ISO 8601 format.").nullable().optional(),
43
+ legal_structure: z.string().describe("Legal structure of the partner (e.g., corporation, LLC, partnership).").nullable().optional(),
44
+ mailing_address: RizeCreatePartnerFinancialAccount_MailingAddressSchema.nullable().optional(),
45
+ physical_address: RizeCreatePartnerFinancialAccount_PhysicalAddressSchema.nullable().optional(),
46
+ naics_sector_code: z.string().describe("NAICS sector code for the partner's industry.").nullable().optional(),
47
+ financial_accounts: z.array(RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema).describe("List of financial accounts associated with the partner.").nullable().optional(),
48
+ incorporation_state: z.string().describe("State in which the partner is incorporated or registered.").nullable().optional()
49
+ }).describe("Response model for creating a partner financial account.")
50
+ });
51
+ //#endregion
52
+ export { rizeCreatePartnerFinancialAccount };
53
+
54
+ //# sourceMappingURL=create-partner-financial-account.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-partner-financial-account.mjs","names":[],"sources":["../../src/actions/create-partner-financial-account.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeCreatePartnerFinancialAccountInput: z.ZodTypeAny = z.object({\n partner_id: z.number().int().describe(\"The unique identifier of the partner to create a financial account for.\"),\n financial_provider: z.string().describe(\"The financial provider to use for the account. Common values include 'TREASURY_PRIME'.\"),\n}).describe(\"Request model for creating a financial account for a partner.\");\nconst RizeCreatePartnerFinancialAccount_MailingAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the mailing address.\").nullable().optional(),\n region: z.string().describe(\"State, province, or region of the mailing address.\").nullable().optional(),\n country: z.string().describe(\"Country of the mailing address.\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the mailing address (street address or P.O. box).\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the mailing address (apartment number, suite, etc.).\").nullable().optional(),\n}).describe(\"Mailing address for a partner.\");\nconst RizeCreatePartnerFinancialAccount_PhysicalAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the physical address.\").nullable().optional(),\n region: z.string().describe(\"State, province, or region of the physical address.\").nullable().optional(),\n country: z.string().describe(\"Country of the physical address.\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the physical address (street address).\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the physical address (apartment number, suite, etc.).\").nullable().optional(),\n}).describe(\"Physical address for a partner.\");\nconst RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the financial account.\").nullable().optional(),\n status: z.string().describe(\"Status of the financial account (e.g., active, pending, closed).\").nullable().optional(),\n balance: z.string().describe(\"Current balance of the financial account.\").nullable().optional(),\n provider: z.string().describe(\"Financial provider for the account.\").nullable().optional(),\n account_number: z.string().describe(\"Account number for the financial account.\").nullable().optional(),\n routing_number: z.string().describe(\"Routing number for the financial account.\").nullable().optional(),\n}).describe(\"Financial account associated with a partner (in response).\");\nexport const RizeCreatePartnerFinancialAccountOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the partner.\").nullable().optional(),\n tin: z.string().describe(\"Tax Identification Number of the partner.\").nullable().optional(),\n url: z.string().describe(\"Website URL of the partner.\").nullable().optional(),\n name: z.string().describe(\"Legal name of the partner.\").nullable().optional(),\n description: z.string().describe(\"Description of the partner's business.\").nullable().optional(),\n phone_number: z.string().describe(\"Contact phone number for the partner.\").nullable().optional(),\n established_on: z.string().describe(\"Date when the partner was established, in ISO 8601 format.\").nullable().optional(),\n legal_structure: z.string().describe(\"Legal structure of the partner (e.g., corporation, LLC, partnership).\").nullable().optional(),\n mailing_address: RizeCreatePartnerFinancialAccount_MailingAddressSchema.nullable().optional(),\n physical_address: RizeCreatePartnerFinancialAccount_PhysicalAddressSchema.nullable().optional(),\n naics_sector_code: z.string().describe(\"NAICS sector code for the partner's industry.\").nullable().optional(),\n financial_accounts: z.array(RizeCreatePartnerFinancialAccount_FinancialAccountResponseSchema).describe(\"List of financial accounts associated with the partner.\").nullable().optional(),\n incorporation_state: z.string().describe(\"State in which the partner is incorporated or registered.\").nullable().optional(),\n}).describe(\"Response model for creating a partner financial account.\");\n\nexport const rizeCreatePartnerFinancialAccount = action(\"RIZE_CREATE_PARTNER_FINANCIAL_ACCOUNT\", {\n slug: \"rize-create-partner-financial-account\",\n name: \"Create Partner Financial Account\",\n description: \"Create a new financial account for an existing partner in the Rize admin API. Use this action when you need to provision a new financial account (such as a bank account) for a partner organization that already exists in the Rize platform. This action creates the financial account on the partner record. The account will be associated with the specified financial provider.\",\n input: RizeCreatePartnerFinancialAccountInput,\n output: RizeCreatePartnerFinancialAccountOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE;CAC/G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF;AAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,yDAAuE,EAAE,OAAO;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,0DAAwE,EAAE,OAAO;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAA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AAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,iBAAiB,uDAAuD,SAAS,CAAC,CAAC,SAAS;EAC5F,kBAAkB,wDAAwD,SAAS,CAAC,CAAC,SAAS;EAC9F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,MAAM,gEAAgE,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtL,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,58 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-user.ts
4
+ const RizeCreateUserInput = zod.z.object({
5
+ role: zod.z.enum([
6
+ "ADMIN",
7
+ "GENERAL",
8
+ "BUDGET_OWNER",
9
+ "ACCOUNTANT"
10
+ ]).describe("User role determining permissions"),
11
+ email: zod.z.string().describe("User's email address"),
12
+ last_name: zod.z.string().describe("User's last name"),
13
+ cardholder: zod.z.object({
14
+ tin: zod.z.string().describe("Cardholder's Tax Identification Number").optional(),
15
+ last_name: zod.z.string().describe("Cardholder's last name").optional(),
16
+ first_name: zod.z.string().describe("Cardholder's first name").optional(),
17
+ occupation: zod.z.string().describe("Cardholder's occupation").optional(),
18
+ middle_name: zod.z.string().describe("Cardholder's middle name").optional(),
19
+ phone_number: zod.z.string().describe("Cardholder's phone number").optional(),
20
+ date_of_birth: zod.z.string().describe("Cardholder's date of birth in YYYY-MM-DD format").optional(),
21
+ email_address: zod.z.string().describe("Cardholder's email address").optional(),
22
+ mailing_address: zod.z.object({
23
+ city: zod.z.string().describe("City name").optional(),
24
+ region: zod.z.string().describe("State or region code").optional(),
25
+ country: zod.z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
26
+ address_line_1: zod.z.string().describe("First line of the address").optional(),
27
+ address_line_2: zod.z.string().describe("Second line of the address").optional()
28
+ }).describe("Mailing address for the cardholder.").optional(),
29
+ physical_address: zod.z.object({
30
+ city: zod.z.string().describe("City name").optional(),
31
+ region: zod.z.string().describe("State or region code").optional(),
32
+ country: zod.z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
33
+ address_line_1: zod.z.string().describe("First line of the address").optional(),
34
+ address_line_2: zod.z.string().describe("Second line of the address").optional()
35
+ }).describe("Physical address for the cardholder.").optional(),
36
+ citizenship_country_iso_code: zod.z.string().describe("ISO 3166-1 alpha-2 country code indicating citizenship").optional()
37
+ }).describe("Cardholder information for user creation.").optional(),
38
+ first_name: zod.z.string().describe("User's first name")
39
+ }).describe("Request model for creating a new user.");
40
+ const RizeCreateUserOutput = zod.z.object({
41
+ id: zod.z.number().int().describe("Unique identifier for the user"),
42
+ role: zod.z.string().describe("User role"),
43
+ email: zod.z.string().describe("User's email address"),
44
+ last_name: zod.z.string().describe("User's last name"),
45
+ first_name: zod.z.string().describe("User's first name"),
46
+ cardholder_id: zod.z.number().int().describe("Associated cardholder identifier if applicable").nullable().optional()
47
+ }).describe("Response model containing the created user details.");
48
+ const rizeCreateUser = require_action.action("RIZE_CREATE_USER", {
49
+ slug: "rize-create-user",
50
+ name: "Create User",
51
+ description: "Creates a new user in the Rize system. Use this action when you need to register a new user with their email, name, and role. Optionally, cardholder information can be provided to associate a cardholder profile with the user.",
52
+ input: RizeCreateUserInput,
53
+ output: RizeCreateUserOutput
54
+ });
55
+ //#endregion
56
+ exports.rizeCreateUser = rizeCreateUser;
57
+
58
+ //# sourceMappingURL=create-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeCreateUserInput: z.ZodTypeAny = z.object({\n role: z.enum([\"ADMIN\", \"GENERAL\", \"BUDGET_OWNER\", \"ACCOUNTANT\"]).describe(\"User role determining permissions\"),\n email: z.string().describe(\"User's email address\"),\n last_name: z.string().describe(\"User's last name\"),\n cardholder: z.object({\n tin: z.string().describe(\"Cardholder's Tax Identification Number\").optional(),\n last_name: z.string().describe(\"Cardholder's last name\").optional(),\n first_name: z.string().describe(\"Cardholder's first name\").optional(),\n occupation: z.string().describe(\"Cardholder's occupation\").optional(),\n middle_name: z.string().describe(\"Cardholder's middle name\").optional(),\n phone_number: z.string().describe(\"Cardholder's phone number\").optional(),\n date_of_birth: z.string().describe(\"Cardholder's date of birth in YYYY-MM-DD format\").optional(),\n email_address: z.string().describe(\"Cardholder's email address\").optional(),\n mailing_address: z.object({\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"State or region code\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n address_line_1: z.string().describe(\"First line of the address\").optional(),\n address_line_2: z.string().describe(\"Second line of the address\").optional(),\n}).describe(\"Mailing address for the cardholder.\").optional(),\n physical_address: z.object({\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"State or region code\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n address_line_1: z.string().describe(\"First line of the address\").optional(),\n address_line_2: z.string().describe(\"Second line of the address\").optional(),\n}).describe(\"Physical address for the cardholder.\").optional(),\n citizenship_country_iso_code: z.string().describe(\"ISO 3166-1 alpha-2 country code indicating citizenship\").optional(),\n}).describe(\"Cardholder information for user creation.\").optional(),\n first_name: z.string().describe(\"User's first name\"),\n}).describe(\"Request model for creating a new user.\");\nexport const RizeCreateUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\"),\n role: z.string().describe(\"User role\"),\n email: z.string().describe(\"User's email address\"),\n last_name: z.string().describe(\"User's last name\"),\n first_name: z.string().describe(\"User's first name\"),\n cardholder_id: z.number().int().describe(\"Associated cardholder identifier if applicable\").nullable().optional(),\n}).describe(\"Response model containing the created user details.\");\n\nexport const rizeCreateUser = action(\"RIZE_CREATE_USER\", {\n slug: \"rize-create-user\",\n name: \"Create User\",\n description: \"Creates a new user in the Rize system. Use this action when you need to register a new user with their email, name, and role. Optionally, cardholder information can be provided to associate a cardholder profile with the user.\",\n input: RizeCreateUserInput,\n output: RizeCreateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAW;EAAgB;CAAY,CAAC,CAAC,CAAC,SAAS,mCAAmC;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CACjD,YAAYA,IAAAA,EAAE,OAAO;EACrB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;E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A,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;GAC1E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC7E,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3D,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;AACrD,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;CACrC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CACjD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACnD,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-user.d.ts
4
+ declare const RizeCreateUserInput: z.ZodTypeAny;
5
+ declare const RizeCreateUserOutput: z.ZodTypeAny;
6
+ declare const rizeCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rizeCreateUser };
9
+ //# sourceMappingURL=create-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UA8BiB;AAAA,cACxC,oBAAA,EAAsB,CAAA,CAAE,UAO6B;AAAA,cAErD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-user.d.ts
4
+ declare const RizeCreateUserInput: z.ZodTypeAny;
5
+ declare const RizeCreateUserOutput: z.ZodTypeAny;
6
+ declare const rizeCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rizeCreateUser };
9
+ //# sourceMappingURL=create-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UA8BiB;AAAA,cACxC,oBAAA,EAAsB,CAAA,CAAE,UAO6B;AAAA,cAErD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,55 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const rizeCreateUser = action("RIZE_CREATE_USER", {
4
+ slug: "rize-create-user",
5
+ name: "Create User",
6
+ description: "Creates a new user in the Rize system. Use this action when you need to register a new user with their email, name, and role. Optionally, cardholder information can be provided to associate a cardholder profile with the user.",
7
+ input: z.object({
8
+ role: z.enum([
9
+ "ADMIN",
10
+ "GENERAL",
11
+ "BUDGET_OWNER",
12
+ "ACCOUNTANT"
13
+ ]).describe("User role determining permissions"),
14
+ email: z.string().describe("User's email address"),
15
+ last_name: z.string().describe("User's last name"),
16
+ cardholder: z.object({
17
+ tin: z.string().describe("Cardholder's Tax Identification Number").optional(),
18
+ last_name: z.string().describe("Cardholder's last name").optional(),
19
+ first_name: z.string().describe("Cardholder's first name").optional(),
20
+ occupation: z.string().describe("Cardholder's occupation").optional(),
21
+ middle_name: z.string().describe("Cardholder's middle name").optional(),
22
+ phone_number: z.string().describe("Cardholder's phone number").optional(),
23
+ date_of_birth: z.string().describe("Cardholder's date of birth in YYYY-MM-DD format").optional(),
24
+ email_address: z.string().describe("Cardholder's email address").optional(),
25
+ mailing_address: z.object({
26
+ city: z.string().describe("City name").optional(),
27
+ region: z.string().describe("State or region code").optional(),
28
+ country: z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
29
+ address_line_1: z.string().describe("First line of the address").optional(),
30
+ address_line_2: z.string().describe("Second line of the address").optional()
31
+ }).describe("Mailing address for the cardholder.").optional(),
32
+ physical_address: z.object({
33
+ city: z.string().describe("City name").optional(),
34
+ region: z.string().describe("State or region code").optional(),
35
+ country: z.string().describe("ISO 3166-1 alpha-2 country code").optional(),
36
+ address_line_1: z.string().describe("First line of the address").optional(),
37
+ address_line_2: z.string().describe("Second line of the address").optional()
38
+ }).describe("Physical address for the cardholder.").optional(),
39
+ citizenship_country_iso_code: z.string().describe("ISO 3166-1 alpha-2 country code indicating citizenship").optional()
40
+ }).describe("Cardholder information for user creation.").optional(),
41
+ first_name: z.string().describe("User's first name")
42
+ }).describe("Request model for creating a new user."),
43
+ output: z.object({
44
+ id: z.number().int().describe("Unique identifier for the user"),
45
+ role: z.string().describe("User role"),
46
+ email: z.string().describe("User's email address"),
47
+ last_name: z.string().describe("User's last name"),
48
+ first_name: z.string().describe("User's first name"),
49
+ cardholder_id: z.number().int().describe("Associated cardholder identifier if applicable").nullable().optional()
50
+ }).describe("Response model containing the created user details.")
51
+ });
52
+ //#endregion
53
+ export { rizeCreateUser };
54
+
55
+ //# sourceMappingURL=create-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeCreateUserInput: z.ZodTypeAny = z.object({\n role: z.enum([\"ADMIN\", \"GENERAL\", \"BUDGET_OWNER\", \"ACCOUNTANT\"]).describe(\"User role determining permissions\"),\n email: z.string().describe(\"User's email address\"),\n last_name: z.string().describe(\"User's last name\"),\n cardholder: z.object({\n tin: z.string().describe(\"Cardholder's Tax Identification Number\").optional(),\n last_name: z.string().describe(\"Cardholder's last name\").optional(),\n first_name: z.string().describe(\"Cardholder's first name\").optional(),\n occupation: z.string().describe(\"Cardholder's occupation\").optional(),\n middle_name: z.string().describe(\"Cardholder's middle name\").optional(),\n phone_number: z.string().describe(\"Cardholder's phone number\").optional(),\n date_of_birth: z.string().describe(\"Cardholder's date of birth in YYYY-MM-DD format\").optional(),\n email_address: z.string().describe(\"Cardholder's email address\").optional(),\n mailing_address: z.object({\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"State or region code\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n address_line_1: z.string().describe(\"First line of the address\").optional(),\n address_line_2: z.string().describe(\"Second line of the address\").optional(),\n}).describe(\"Mailing address for the cardholder.\").optional(),\n physical_address: z.object({\n city: z.string().describe(\"City name\").optional(),\n region: z.string().describe(\"State or region code\").optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").optional(),\n address_line_1: z.string().describe(\"First line of the address\").optional(),\n address_line_2: z.string().describe(\"Second line of the address\").optional(),\n}).describe(\"Physical address for the cardholder.\").optional(),\n citizenship_country_iso_code: z.string().describe(\"ISO 3166-1 alpha-2 country code indicating citizenship\").optional(),\n}).describe(\"Cardholder information for user creation.\").optional(),\n first_name: z.string().describe(\"User's first name\"),\n}).describe(\"Request model for creating a new user.\");\nexport const RizeCreateUserOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the user\"),\n role: z.string().describe(\"User role\"),\n email: z.string().describe(\"User's email address\"),\n last_name: z.string().describe(\"User's last name\"),\n first_name: z.string().describe(\"User's first name\"),\n cardholder_id: z.number().int().describe(\"Associated cardholder identifier if applicable\").nullable().optional(),\n}).describe(\"Response model containing the created user details.\");\n\nexport const rizeCreateUser = action(\"RIZE_CREATE_USER\", {\n slug: \"rize-create-user\",\n name: \"Create User\",\n description: \"Creates a new user in the Rize system. Use this action when you need to register a new user with their email, name, and role. Optionally, cardholder information can be provided to associate a cardholder profile with the user.\",\n input: RizeCreateUserInput,\n output: RizeCreateUserOutput,\n});\n"],"mappings":";;AA4CA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5C+C,EAAE,OAAO;EACxD,MAAM,EAAE,KAAK;GAAC;GAAS;GAAW;GAAgB;EAAY,CAAC,CAAC,CAAC,SAAS,mCAAmC;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACjD,YAAY,EAAE,OAAO;GACrB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;GAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;GACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACtE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC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wCAcH;CACP,QAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACrC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EACjD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EACjD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;EACnD,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,46 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-cardholder.ts
4
+ const RizeGetCardholderInput = zod.z.object({ id: zod.z.number().int().describe("The unique identifier of the cardholder to retrieve") }).describe("Request model for retrieving a cardholder by ID.");
5
+ const RizeGetCardholder_MailingAddressSchema = zod.z.object({
6
+ city: zod.z.string().describe("City name").nullable().optional(),
7
+ region: zod.z.string().describe("State or region code").nullable().optional(),
8
+ country: zod.z.string().describe("ISO 3166-1 alpha-2 country code").nullable().optional(),
9
+ postal_code: zod.z.string().describe("Postal or ZIP code").nullable().optional(),
10
+ address_line_1: zod.z.string().describe("First line of the address").nullable().optional(),
11
+ address_line_2: zod.z.string().describe("Second line of the address").nullable().optional()
12
+ }).describe("Mailing address for the cardholder.");
13
+ const RizeGetCardholder_PhysicalAddressSchema = zod.z.object({
14
+ city: zod.z.string().describe("City name").nullable().optional(),
15
+ region: zod.z.string().describe("State or region code").nullable().optional(),
16
+ country: zod.z.string().describe("ISO 3166-1 alpha-2 country code").nullable().optional(),
17
+ postal_code: zod.z.string().describe("Postal or ZIP code").nullable().optional(),
18
+ address_line_1: zod.z.string().describe("First line of the address").nullable().optional(),
19
+ address_line_2: zod.z.string().describe("Second line of the address").nullable().optional()
20
+ }).describe("Physical address for the cardholder.");
21
+ const RizeGetCardholder_CitizenshipCountryIsoCodeSchema = zod.z.enum(["US", "CA"]).describe("ISO 3166-1 alpha-2 country code for citizenship.");
22
+ const RizeGetCardholderOutput = zod.z.object({
23
+ id: zod.z.number().int().describe("Unique identifier for the cardholder").nullable().optional(),
24
+ last_name: zod.z.string().describe("Cardholder's last name").nullable().optional(),
25
+ first_name: zod.z.string().describe("Cardholder's first name").nullable().optional(),
26
+ occupation: zod.z.string().describe("Cardholder's occupation").nullable().optional(),
27
+ middle_name: zod.z.string().describe("Cardholder's middle name").nullable().optional(),
28
+ phone_number: zod.z.string().describe("Cardholder's phone number").nullable().optional(),
29
+ date_of_birth: zod.z.string().describe("Cardholder's date of birth in YYYY-MM-DD format").nullable().optional(),
30
+ email_address: zod.z.string().describe("Cardholder's email address").nullable().optional(),
31
+ mailing_address: RizeGetCardholder_MailingAddressSchema.nullable().optional(),
32
+ partner_user_id: zod.z.number().int().describe("Partner's user identifier").nullable().optional(),
33
+ physical_address: RizeGetCardholder_PhysicalAddressSchema.nullable().optional(),
34
+ citizenship_country_iso_code: RizeGetCardholder_CitizenshipCountryIsoCodeSchema.nullable().optional()
35
+ }).describe("Response model containing cardholder details.");
36
+ const rizeGetCardholder = require_action.action("RIZE_GET_CARDHOLDER", {
37
+ slug: "rize-get-cardholder",
38
+ name: "Get Cardholder",
39
+ description: "Retrieve detailed information about a specific cardholder using their unique identifier. Use this action when you need to fetch cardholder profile data including name, contact information, addresses, and demographic details.",
40
+ input: RizeGetCardholderInput,
41
+ output: RizeGetCardholderOutput
42
+ });
43
+ //#endregion
44
+ exports.rizeGetCardholder = rizeGetCardholder;
45
+
46
+ //# sourceMappingURL=get-cardholder.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-cardholder.cjs","names":["z","action"],"sources":["../../src/actions/get-cardholder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeGetCardholderInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the cardholder to retrieve\"),\n}).describe(\"Request model for retrieving a cardholder by ID.\");\nconst RizeGetCardholder_MailingAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"State or region code\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the address\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the address\").nullable().optional(),\n}).describe(\"Mailing address for the cardholder.\");\nconst RizeGetCardholder_PhysicalAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"State or region code\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the address\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the address\").nullable().optional(),\n}).describe(\"Physical address for the cardholder.\");\nconst RizeGetCardholder_CitizenshipCountryIsoCodeSchema: z.ZodTypeAny = z.enum([\"US\", \"CA\"]).describe(\"ISO 3166-1 alpha-2 country code for citizenship.\");\nexport const RizeGetCardholderOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the cardholder\").nullable().optional(),\n last_name: z.string().describe(\"Cardholder's last name\").nullable().optional(),\n first_name: z.string().describe(\"Cardholder's first name\").nullable().optional(),\n occupation: z.string().describe(\"Cardholder's occupation\").nullable().optional(),\n middle_name: z.string().describe(\"Cardholder's middle name\").nullable().optional(),\n phone_number: z.string().describe(\"Cardholder's phone number\").nullable().optional(),\n date_of_birth: z.string().describe(\"Cardholder's date of birth in YYYY-MM-DD format\").nullable().optional(),\n email_address: z.string().describe(\"Cardholder's email address\").nullable().optional(),\n mailing_address: RizeGetCardholder_MailingAddressSchema.nullable().optional(),\n partner_user_id: z.number().int().describe(\"Partner's user identifier\").nullable().optional(),\n physical_address: RizeGetCardholder_PhysicalAddressSchema.nullable().optional(),\n citizenship_country_iso_code: RizeGetCardholder_CitizenshipCountryIsoCodeSchema.nullable().optional(),\n}).describe(\"Response model containing cardholder details.\");\n\nexport const rizeGetCardholder = action(\"RIZE_GET_CARDHOLDER\", {\n slug: \"rize-get-cardholder\",\n name: \"Get Cardholder\",\n description: \"Retrieve detailed information about a specific cardholder using their unique identifier. Use this action when you need to fetch cardholder profile data including name, contact information, addresses, and demographic details.\",\n input: RizeGetCardholderInput,\n output: RizeGetCardholderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC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,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,iBAAiB,uCAAuC,SAAS,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,kBAAkB,wCAAwC,SAAS,CAAC,CAAC,SAAS;CAC9E,8BAA8B,kDAAkD,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-cardholder.d.ts
4
+ declare const RizeGetCardholderInput: z.ZodTypeAny;
5
+ declare const RizeGetCardholderOutput: z.ZodTypeAny;
6
+ declare const rizeGetCardholder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rizeGetCardholder };
9
+ //# sourceMappingURL=get-cardholder.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-cardholder.d.cts","names":[],"sources":["../../src/actions/get-cardholder.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEwB;AAAA,cAkBlD,uBAAA,EAAyB,CAAA,CAAE,UAaoB;AAAA,cAE/C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-cardholder.d.ts
4
+ declare const RizeGetCardholderInput: z.ZodTypeAny;
5
+ declare const RizeGetCardholderOutput: z.ZodTypeAny;
6
+ declare const rizeGetCardholder: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { rizeGetCardholder };
9
+ //# sourceMappingURL=get-cardholder.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-cardholder.d.mts","names":[],"sources":["../../src/actions/get-cardholder.ts"],"mappings":";;;cAIa,sBAAA,EAAwB,CAAA,CAAE,UAEwB;AAAA,cAkBlD,uBAAA,EAAyB,CAAA,CAAE,UAaoB;AAAA,cAE/C,iBAAA,gCAAiB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,45 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-cardholder.ts
4
+ const RizeGetCardholderInput = z.object({ id: z.number().int().describe("The unique identifier of the cardholder to retrieve") }).describe("Request model for retrieving a cardholder by ID.");
5
+ const RizeGetCardholder_MailingAddressSchema = z.object({
6
+ city: z.string().describe("City name").nullable().optional(),
7
+ region: z.string().describe("State or region code").nullable().optional(),
8
+ country: z.string().describe("ISO 3166-1 alpha-2 country code").nullable().optional(),
9
+ postal_code: z.string().describe("Postal or ZIP code").nullable().optional(),
10
+ address_line_1: z.string().describe("First line of the address").nullable().optional(),
11
+ address_line_2: z.string().describe("Second line of the address").nullable().optional()
12
+ }).describe("Mailing address for the cardholder.");
13
+ const RizeGetCardholder_PhysicalAddressSchema = z.object({
14
+ city: z.string().describe("City name").nullable().optional(),
15
+ region: z.string().describe("State or region code").nullable().optional(),
16
+ country: z.string().describe("ISO 3166-1 alpha-2 country code").nullable().optional(),
17
+ postal_code: z.string().describe("Postal or ZIP code").nullable().optional(),
18
+ address_line_1: z.string().describe("First line of the address").nullable().optional(),
19
+ address_line_2: z.string().describe("Second line of the address").nullable().optional()
20
+ }).describe("Physical address for the cardholder.");
21
+ const RizeGetCardholder_CitizenshipCountryIsoCodeSchema = z.enum(["US", "CA"]).describe("ISO 3166-1 alpha-2 country code for citizenship.");
22
+ const rizeGetCardholder = action("RIZE_GET_CARDHOLDER", {
23
+ slug: "rize-get-cardholder",
24
+ name: "Get Cardholder",
25
+ description: "Retrieve detailed information about a specific cardholder using their unique identifier. Use this action when you need to fetch cardholder profile data including name, contact information, addresses, and demographic details.",
26
+ input: RizeGetCardholderInput,
27
+ output: z.object({
28
+ id: z.number().int().describe("Unique identifier for the cardholder").nullable().optional(),
29
+ last_name: z.string().describe("Cardholder's last name").nullable().optional(),
30
+ first_name: z.string().describe("Cardholder's first name").nullable().optional(),
31
+ occupation: z.string().describe("Cardholder's occupation").nullable().optional(),
32
+ middle_name: z.string().describe("Cardholder's middle name").nullable().optional(),
33
+ phone_number: z.string().describe("Cardholder's phone number").nullable().optional(),
34
+ date_of_birth: z.string().describe("Cardholder's date of birth in YYYY-MM-DD format").nullable().optional(),
35
+ email_address: z.string().describe("Cardholder's email address").nullable().optional(),
36
+ mailing_address: RizeGetCardholder_MailingAddressSchema.nullable().optional(),
37
+ partner_user_id: z.number().int().describe("Partner's user identifier").nullable().optional(),
38
+ physical_address: RizeGetCardholder_PhysicalAddressSchema.nullable().optional(),
39
+ citizenship_country_iso_code: RizeGetCardholder_CitizenshipCountryIsoCodeSchema.nullable().optional()
40
+ }).describe("Response model containing cardholder details.")
41
+ });
42
+ //#endregion
43
+ export { rizeGetCardholder };
44
+
45
+ //# sourceMappingURL=get-cardholder.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-cardholder.mjs","names":[],"sources":["../../src/actions/get-cardholder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RizeGetCardholderInput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"The unique identifier of the cardholder to retrieve\"),\n}).describe(\"Request model for retrieving a cardholder by ID.\");\nconst RizeGetCardholder_MailingAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"State or region code\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the address\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the address\").nullable().optional(),\n}).describe(\"Mailing address for the cardholder.\");\nconst RizeGetCardholder_PhysicalAddressSchema: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City name\").nullable().optional(),\n region: z.string().describe(\"State or region code\").nullable().optional(),\n country: z.string().describe(\"ISO 3166-1 alpha-2 country code\").nullable().optional(),\n postal_code: z.string().describe(\"Postal or ZIP code\").nullable().optional(),\n address_line_1: z.string().describe(\"First line of the address\").nullable().optional(),\n address_line_2: z.string().describe(\"Second line of the address\").nullable().optional(),\n}).describe(\"Physical address for the cardholder.\");\nconst RizeGetCardholder_CitizenshipCountryIsoCodeSchema: z.ZodTypeAny = z.enum([\"US\", \"CA\"]).describe(\"ISO 3166-1 alpha-2 country code for citizenship.\");\nexport const RizeGetCardholderOutput: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier for the cardholder\").nullable().optional(),\n last_name: z.string().describe(\"Cardholder's last name\").nullable().optional(),\n first_name: z.string().describe(\"Cardholder's first name\").nullable().optional(),\n occupation: z.string().describe(\"Cardholder's occupation\").nullable().optional(),\n middle_name: z.string().describe(\"Cardholder's middle name\").nullable().optional(),\n phone_number: z.string().describe(\"Cardholder's phone number\").nullable().optional(),\n date_of_birth: z.string().describe(\"Cardholder's date of birth in YYYY-MM-DD format\").nullable().optional(),\n email_address: z.string().describe(\"Cardholder's email address\").nullable().optional(),\n mailing_address: RizeGetCardholder_MailingAddressSchema.nullable().optional(),\n partner_user_id: z.number().int().describe(\"Partner's user identifier\").nullable().optional(),\n physical_address: RizeGetCardholder_PhysicalAddressSchema.nullable().optional(),\n citizenship_country_iso_code: RizeGetCardholder_CitizenshipCountryIsoCodeSchema.nullable().optional(),\n}).describe(\"Response model containing cardholder details.\");\n\nexport const rizeGetCardholder = action(\"RIZE_GET_CARDHOLDER\", {\n slug: \"rize-get-cardholder\",\n name: \"Get Cardholder\",\n description: \"Retrieve detailed information about a specific cardholder using their unique identifier. Use this action when you need to fetch cardholder profile data including name, contact information, addresses, and demographic details.\",\n input: RizeGetCardholderInput,\n output: RizeGetCardholderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAuC,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,EACrF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yCAAuD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgB,EAAE,OAAO,CAAC,CA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