@keystrokehq/ramp 0.0.7 → 0.0.9

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 (99) hide show
  1. package/dist/_official/index.d.mts +2 -2
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/{accounting-i6txC-MI.mjs → accounting-Ceh5QgHA.mjs} +1 -1
  4. package/dist/accounting-fields.d.mts +8 -8
  5. package/dist/accounting-fields.mjs +10 -10
  6. package/dist/accounting-gl-accounts.d.mts +4 -4
  7. package/dist/accounting-gl-accounts.mjs +6 -6
  8. package/dist/accounting-subsidiaries.d.mts +4 -4
  9. package/dist/accounting-subsidiaries.mjs +6 -6
  10. package/dist/accounting-sync.d.mts +4 -4
  11. package/dist/accounting-sync.mjs +6 -6
  12. package/dist/accounting-tracking-categories.d.mts +3 -3
  13. package/dist/accounting-tracking-categories.mjs +5 -5
  14. package/dist/accounting-vendors.d.mts +4 -4
  15. package/dist/accounting-vendors.mjs +6 -6
  16. package/dist/applications.d.mts +6 -6
  17. package/dist/applications.mjs +5 -5
  18. package/dist/{bills-B8W9et3K.mjs → bills-D7vZ5JRH.mjs} +1 -1
  19. package/dist/bills.d.mts +24 -24
  20. package/dist/bills.mjs +10 -10
  21. package/dist/{business-CztnWUvt.mjs → business-DAD870OI.mjs} +1 -1
  22. package/dist/business.d.mts +2 -2
  23. package/dist/business.mjs +3 -3
  24. package/dist/card-programs.d.mts +4 -4
  25. package/dist/card-programs.mjs +6 -6
  26. package/dist/{cards-BfgPcR38.mjs → cards-DNZQtrd7.mjs} +1 -1
  27. package/dist/cards.d.mts +10 -10
  28. package/dist/cards.mjs +13 -13
  29. package/dist/cashbacks.d.mts +3 -3
  30. package/dist/cashbacks.mjs +5 -5
  31. package/dist/client.d.mts +2 -2
  32. package/dist/client.mjs +2 -2
  33. package/dist/connection.d.mts +1 -1
  34. package/dist/connection.mjs +1 -1
  35. package/dist/departments.d.mts +6 -6
  36. package/dist/departments.mjs +8 -8
  37. package/dist/dist-Bbp6t-WQ.mjs +74 -0
  38. package/dist/entities.d.mts +3 -3
  39. package/dist/entities.mjs +5 -5
  40. package/dist/{errors-Dm2DruuS.d.mts → errors-TrirAChI.d.mts} +1 -1
  41. package/dist/events.d.mts +1 -1
  42. package/dist/events.mjs +1 -1
  43. package/dist/{factory-pbmCYnqr.mjs → factory-hiMPmrYD.mjs} +1 -2
  44. package/dist/{integration-D6jpX1pZ.d.mts → integration-BTjaW9hR.d.mts} +3 -4
  45. package/dist/{integration-8czEQ_pK.mjs → integration-BczMK0aE.mjs} +95 -3
  46. package/dist/limits.d.mts +6 -6
  47. package/dist/limits.mjs +8 -8
  48. package/dist/locations.d.mts +6 -6
  49. package/dist/locations.mjs +8 -8
  50. package/dist/memos.d.mts +3 -3
  51. package/dist/memos.mjs +5 -5
  52. package/dist/{new-resources-BBJsJEjT.mjs → new-resources-Cj_YECLc.mjs} +1 -1
  53. package/dist/{organization-BSaEpvBn.mjs → organization-BdyZhkYN.mjs} +1 -1
  54. package/dist/purchase-orders.d.mts +6 -6
  55. package/dist/purchase-orders.mjs +5 -5
  56. package/dist/receipt-integrations.d.mts +3 -3
  57. package/dist/receipt-integrations.mjs +4 -4
  58. package/dist/{receipts-STq41c2M.mjs → receipts-DKq5Kjhr.mjs} +1 -1
  59. package/dist/receipts.d.mts +4 -4
  60. package/dist/receipts.mjs +6 -6
  61. package/dist/{reimbursements-OknrZUMF.mjs → reimbursements--xBvXROu.mjs} +1 -1
  62. package/dist/reimbursements.d.mts +6 -6
  63. package/dist/reimbursements.mjs +5 -5
  64. package/dist/schemas/index.d.mts +3 -3
  65. package/dist/schemas/index.mjs +15 -15
  66. package/dist/spend-programs.d.mts +3 -3
  67. package/dist/spend-programs.mjs +5 -5
  68. package/dist/spend-requests.d.mts +4 -4
  69. package/dist/spend-requests.mjs +6 -6
  70. package/dist/statements.d.mts +3 -3
  71. package/dist/statements.mjs +5 -5
  72. package/dist/{transactions-Djd0oIGK.mjs → transactions-IIG8obly.mjs} +1 -1
  73. package/dist/transactions.d.mts +9 -9
  74. package/dist/transactions.mjs +6 -6
  75. package/dist/{transfers-WBQZVdGP.mjs → transfers-C-76qq3o.mjs} +1 -1
  76. package/dist/transfers.d.mts +9 -9
  77. package/dist/transfers.mjs +5 -5
  78. package/dist/triggers/index.d.mts +3 -3
  79. package/dist/triggers/index.mjs +11 -11
  80. package/dist/unified-requests.d.mts +3 -3
  81. package/dist/unified-requests.mjs +5 -5
  82. package/dist/{users-ufcXrfNK.mjs → users-Bx4SR4el.mjs} +1 -1
  83. package/dist/users.d.mts +7 -7
  84. package/dist/users.mjs +9 -9
  85. package/dist/vendor-bank-accounts.d.mts +6 -6
  86. package/dist/vendor-bank-accounts.mjs +8 -8
  87. package/dist/{vendors-gH-w9b_R.d.mts → vendors-De3fNIYJ.d.mts} +32 -32
  88. package/dist/{vendors-Bx1cgXwC.mjs → vendors-lAh0yain.mjs} +1 -1
  89. package/dist/vendors.d.mts +6 -6
  90. package/dist/vendors.mjs +8 -8
  91. package/dist/verification.mjs +1 -1
  92. package/dist/{webhook-CsbvcgrC.mjs → webhook-CzjBDCWU.mjs} +1 -1
  93. package/dist/{webhooks-mgmt-d1xgVpWx.mjs → webhooks-mgmt--fU1Uxfa.mjs} +1 -1
  94. package/dist/webhooks.d.mts +6 -6
  95. package/dist/webhooks.mjs +8 -8
  96. package/package.json +4 -4
  97. /package/dist/{common-CUpmNYXw.mjs → common-Dune7BHS.mjs} +0 -0
  98. /package/dist/{shared-CTTtP5gv.mjs → shared-3DudrK5L.mjs} +0 -0
  99. /package/dist/{webhook-Bp38YQE9.d.mts → webhook-sde3Ui2N.d.mts} +0 -0
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/new-resources.ts
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/organization.ts
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -7,9 +7,9 @@ import * as zod_v4_core0 from "zod/v4/core";
7
7
  declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
8
8
  status: zod.ZodOptional<zod.ZodEnum<{
9
9
  PENDING: "PENDING";
10
- DRAFT: "DRAFT";
11
10
  APPROVED: "APPROVED";
12
11
  CANCELED: "CANCELED";
12
+ DRAFT: "DRAFT";
13
13
  DENIED: "DENIED";
14
14
  CLOSED: "CLOSED";
15
15
  }>>;
@@ -22,9 +22,9 @@ declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
22
22
  number: zod.ZodOptional<zod.ZodString>;
23
23
  status: zod.ZodOptional<zod.ZodEnum<{
24
24
  PENDING: "PENDING";
25
- DRAFT: "DRAFT";
26
25
  APPROVED: "APPROVED";
27
26
  CANCELED: "CANCELED";
27
+ DRAFT: "DRAFT";
28
28
  DENIED: "DENIED";
29
29
  CLOSED: "CLOSED";
30
30
  }>>;
@@ -40,7 +40,7 @@ declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
40
40
  page: zod.ZodOptional<zod.ZodObject<{
41
41
  next: zod.ZodOptional<zod.ZodString>;
42
42
  }, zod_v4_core0.$strip>>;
43
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
43
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
44
44
  RAMP_ACCESS_TOKEN: zod.ZodString;
45
45
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
46
46
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -52,9 +52,9 @@ declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
52
52
  number: zod.ZodOptional<zod.ZodString>;
53
53
  status: zod.ZodOptional<zod.ZodEnum<{
54
54
  PENDING: "PENDING";
55
- DRAFT: "DRAFT";
56
55
  APPROVED: "APPROVED";
57
56
  CANCELED: "CANCELED";
57
+ DRAFT: "DRAFT";
58
58
  DENIED: "DENIED";
59
59
  CLOSED: "CLOSED";
60
60
  }>>;
@@ -66,7 +66,7 @@ declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
66
66
  created_at: zod.ZodOptional<zod.ZodString>;
67
67
  description: zod.ZodOptional<zod.ZodString>;
68
68
  entity_id: zod.ZodOptional<zod.ZodString>;
69
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
69
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
70
70
  RAMP_ACCESS_TOKEN: zod.ZodString;
71
71
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
72
72
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -1,11 +1,11 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { c as rampPurchaseOrderListSchema, l as rampPurchaseOrderSchema, o as rampPurchaseOrderGetInputSchema, s as rampPurchaseOrderListInputSchema } from "./new-resources-BBJsJEjT.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
4
- import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
2
+ import { c as rampPurchaseOrderListSchema, l as rampPurchaseOrderSchema, o as rampPurchaseOrderGetInputSchema, s as rampPurchaseOrderListInputSchema } from "./new-resources-Cj_YECLc.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
+ import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
5
5
 
6
6
  //#region src/purchase-orders.ts
7
7
  const listPurchaseOrders = rampOperation({
8
- id: "list_purchase_orders",
8
+ id: "ramp.list-purchase-orders",
9
9
  name: "List Purchase Orders",
10
10
  description: "List Ramp purchase orders. Supports status and vendor filters.",
11
11
  input: rampPurchaseOrderListInputSchema,
@@ -21,7 +21,7 @@ const listPurchaseOrders = rampOperation({
21
21
  }
22
22
  });
23
23
  const getPurchaseOrder = rampOperation({
24
- id: "get_purchase_order",
24
+ id: "ramp.get-purchase-order",
25
25
  name: "Get Purchase Order",
26
26
  description: "Fetch a purchase order by id.",
27
27
  input: rampPurchaseOrderGetInputSchema,
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -11,7 +11,7 @@ declare const optInReceiptIntegration: _keystrokehq_core0.Operation<zod.ZodObjec
11
11
  business_id: zod.ZodOptional<zod.ZodString>;
12
12
  email_address: zod.ZodOptional<zod.ZodString>;
13
13
  opted_in: zod.ZodOptional<zod.ZodBoolean>;
14
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
14
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
15
15
  RAMP_ACCESS_TOKEN: zod.ZodString;
16
16
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
17
17
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -22,7 +22,7 @@ declare const optOutReceiptIntegration: _keystrokehq_core0.Operation<zod.ZodObje
22
22
  business_id: zod.ZodOptional<zod.ZodString>;
23
23
  email_address: zod.ZodOptional<zod.ZodString>;
24
24
  opted_in: zod.ZodOptional<zod.ZodBoolean>;
25
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
25
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
26
26
  RAMP_ACCESS_TOKEN: zod.ZodString;
27
27
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
28
28
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -1,10 +1,10 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { i as rampReceiptIntegrationOptedInSchema, n as rampReceiptIntegrationOptInInputSchema, r as rampReceiptIntegrationOptOutInputSchema } from "./receipts-STq41c2M.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
2
+ import { i as rampReceiptIntegrationOptedInSchema, n as rampReceiptIntegrationOptInInputSchema, r as rampReceiptIntegrationOptOutInputSchema } from "./receipts-DKq5Kjhr.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
4
 
5
5
  //#region src/receipt-integrations.ts
6
6
  const optInReceiptIntegration = rampOperation({
7
- id: "opt_in_receipt_integration",
7
+ id: "ramp.opt-in-receipt-integration",
8
8
  name: "Opt In Receipt Integration",
9
9
  description: "Enable the inbound receipt-email integration for a Ramp business so users can forward receipts from their mail client.",
10
10
  input: rampReceiptIntegrationOptInInputSchema,
@@ -19,7 +19,7 @@ const optInReceiptIntegration = rampOperation({
19
19
  }
20
20
  });
21
21
  const optOutReceiptIntegration = rampOperation({
22
- id: "opt_out_receipt_integration",
22
+ id: "ramp.opt-out-receipt-integration",
23
23
  name: "Opt Out Receipt Integration",
24
24
  description: "Disable the inbound receipt-email integration for a Ramp business.",
25
25
  input: rampReceiptIntegrationOptOutInputSchema,
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
1
+ import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/receipts.ts
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -22,7 +22,7 @@ declare const listReceipts: _keystrokehq_core0.Operation<zod.ZodObject<{
22
22
  page: zod.ZodOptional<zod.ZodObject<{
23
23
  next: zod.ZodOptional<zod.ZodString>;
24
24
  }, zod_v4_core0.$strip>>;
25
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
25
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
26
26
  RAMP_ACCESS_TOKEN: zod.ZodString;
27
27
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
28
28
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -35,7 +35,7 @@ declare const getReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
35
35
  transaction_id: zod.ZodOptional<zod.ZodString>;
36
36
  receipt_url: zod.ZodOptional<zod.ZodString>;
37
37
  created_at: zod.ZodOptional<zod.ZodString>;
38
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
38
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
39
39
  RAMP_ACCESS_TOKEN: zod.ZodString;
40
40
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
41
41
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -53,7 +53,7 @@ declare const uploadReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
53
53
  transaction_id: zod.ZodOptional<zod.ZodString>;
54
54
  receipt_url: zod.ZodOptional<zod.ZodString>;
55
55
  created_at: zod.ZodOptional<zod.ZodString>;
56
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
56
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
57
57
  RAMP_ACCESS_TOKEN: zod.ZodString;
58
58
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
59
59
  RAMP_ACCESS_TOKEN: zod.ZodString;
package/dist/receipts.mjs CHANGED
@@ -1,11 +1,11 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, o as rampReceiptListSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema } from "./receipts-STq41c2M.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
4
- import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
2
+ import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, o as rampReceiptListSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema } from "./receipts-DKq5Kjhr.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
+ import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
5
5
 
6
6
  //#region src/receipts.ts
7
7
  const listReceipts = rampOperation({
8
- id: "list_receipts",
8
+ id: "ramp.list-receipts",
9
9
  name: "List Receipts",
10
10
  description: "List receipts attached to transactions or uploaded by users. Supports user, transaction, and creation date filters.",
11
11
  input: rampReceiptListInputSchema,
@@ -23,7 +23,7 @@ const listReceipts = rampOperation({
23
23
  }
24
24
  });
25
25
  const getReceipt = rampOperation({
26
- id: "get_receipt",
26
+ id: "ramp.get-receipt",
27
27
  name: "Get Receipt",
28
28
  description: "Fetch a Ramp receipt by id. Returns a short-lived signed download URL.",
29
29
  input: rampReceiptGetInputSchema,
@@ -34,7 +34,7 @@ const getReceipt = rampOperation({
34
34
  }
35
35
  });
36
36
  const uploadReceipt = rampOperation({
37
- id: "upload_receipt",
37
+ id: "ramp.upload-receipt",
38
38
  name: "Upload Receipt",
39
39
  description: "Upload a receipt image to Ramp. The image bytes must be supplied as base64. Optionally attach to a transaction.",
40
40
  input: rampReceiptUploadInputSchema,
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-CUpmNYXw.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-Dune7BHS.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/reimbursements.ts
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -8,11 +8,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
8
8
  user_id: zod.ZodOptional<zod.ZodString>;
9
9
  state: zod.ZodOptional<zod.ZodEnum<{
10
10
  PENDING: "PENDING";
11
- DRAFT: "DRAFT";
12
11
  APPROVED: "APPROVED";
13
12
  REJECTED: "REJECTED";
14
13
  PAID: "PAID";
15
14
  CANCELED: "CANCELED";
15
+ DRAFT: "DRAFT";
16
16
  }>>;
17
17
  pageSize: zod.ZodOptional<zod.ZodNumber>;
18
18
  cursor: zod.ZodOptional<zod.ZodString>;
@@ -32,11 +32,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
32
32
  memo: zod.ZodOptional<zod.ZodString>;
33
33
  state: zod.ZodOptional<zod.ZodEnum<{
34
34
  PENDING: "PENDING";
35
- DRAFT: "DRAFT";
36
35
  APPROVED: "APPROVED";
37
36
  REJECTED: "REJECTED";
38
37
  PAID: "PAID";
39
38
  CANCELED: "CANCELED";
39
+ DRAFT: "DRAFT";
40
40
  }>>;
41
41
  receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
42
42
  accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -48,7 +48,7 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
48
48
  page: zod.ZodOptional<zod.ZodObject<{
49
49
  next: zod.ZodOptional<zod.ZodString>;
50
50
  }, zod_v4_core0.$strip>>;
51
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
51
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
52
52
  RAMP_ACCESS_TOKEN: zod.ZodString;
53
53
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
54
54
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -68,11 +68,11 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
68
68
  memo: zod.ZodOptional<zod.ZodString>;
69
69
  state: zod.ZodOptional<zod.ZodEnum<{
70
70
  PENDING: "PENDING";
71
- DRAFT: "DRAFT";
72
71
  APPROVED: "APPROVED";
73
72
  REJECTED: "REJECTED";
74
73
  PAID: "PAID";
75
74
  CANCELED: "CANCELED";
75
+ DRAFT: "DRAFT";
76
76
  }>>;
77
77
  receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
78
78
  accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
@@ -80,7 +80,7 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
80
80
  name: zod.ZodOptional<zod.ZodString>;
81
81
  }, zod_v4_core0.$loose>>>;
82
82
  created_at: zod.ZodOptional<zod.ZodString>;
83
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
83
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
84
84
  RAMP_ACCESS_TOKEN: zod.ZodString;
85
85
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
86
86
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -1,11 +1,11 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "./reimbursements-OknrZUMF.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
4
- import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
2
+ import { i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "./reimbursements--xBvXROu.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
+ import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
5
5
 
6
6
  //#region src/reimbursements.ts
7
7
  const listReimbursements = rampOperation({
8
- id: "list_reimbursements",
8
+ id: "ramp.list-reimbursements",
9
9
  name: "List Reimbursements",
10
10
  description: "List Ramp reimbursements visible to the connected credential. Supports user, state, and date range filters.",
11
11
  input: rampReimbursementListInputSchema,
@@ -24,7 +24,7 @@ const listReimbursements = rampOperation({
24
24
  }
25
25
  });
26
26
  const getReimbursement = rampOperation({
27
- id: "get_reimbursement",
27
+ id: "ramp.get-reimbursement",
28
28
  name: "Get Reimbursement",
29
29
  description: "Fetch a reimbursement by id.",
30
30
  input: rampReimbursementGetInputSchema,
@@ -1,6 +1,6 @@
1
- import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-Dm2DruuS.mjs";
2
- import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, i as RampWebhookChallenge, l as rampWebhookObjectSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampDocumentedWebhookEventTypeSchema, r as RampDocumentedWebhookEventType, s as rampWebhookChallengeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-Bp38YQE9.mjs";
3
- import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-gH-w9b_R.mjs";
1
+ import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-TrirAChI.mjs";
2
+ import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, i as RampWebhookChallenge, l as rampWebhookObjectSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampDocumentedWebhookEventTypeSchema, r as RampDocumentedWebhookEventType, s as rampWebhookChallengeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-sde3Ui2N.mjs";
3
+ import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-De3fNIYJ.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/schemas/accounting.d.ts
@@ -1,18 +1,18 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, d as rampResourceEnvelope, f as rampTimestampSchema, i as rampIdSchema, l as rampPageCursorSchema, n as rampCurrencyCodeSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema, s as rampMetadataSchema, t as rampAccountingConnectionIdSchema, u as rampPageInfoSchema } from "../common-CUpmNYXw.mjs";
2
- import { A as rampAccountingVendorUploadInputSchema, C as rampAccountingTrackingCategoryListInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, O as rampAccountingVendorListSchema, P as rampGlAccountSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, _ as rampAccountingSyncCreateInputSchema, a as rampAccountingFieldListSchema, b as rampAccountingSyncListSchema, c as rampAccountingFieldOptionSchema, d as rampAccountingFieldUpdateInputSchema, f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, i as rampAccountingFieldListInputSchema, j as rampGlAccountGetInputSchema, k as rampAccountingVendorSchema, l as rampAccountingFieldOptionUploadInputSchema, m as rampAccountingSubsidiaryListSchema, n as rampAccountingFieldDeleteInputSchema, o as rampAccountingFieldOptionListInputSchema, p as rampAccountingSubsidiaryListInputSchema, r as rampAccountingFieldGetInputSchema, s as rampAccountingFieldOptionListSchema, t as rampAccountingFieldCreateInputSchema, u as rampAccountingFieldSchema, v as rampAccountingSyncGetInputSchema, w as rampAccountingTrackingCategoryListSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "../accounting-i6txC-MI.mjs";
3
- import { a as rampBillLineItemSchema, c as rampBillRejectInputSchema, d as rampBillUpdateInputSchema, i as rampBillGetInputSchema, l as rampBillSchema, n as rampBillCancelInputSchema, o as rampBillListInputSchema, r as rampBillCreateInputSchema, s as rampBillListSchema, t as rampBillApproveInputSchema, u as rampBillStatusSchema } from "../bills-B8W9et3K.mjs";
4
- import { a as rampEntitySchema, c as rampSpendProgramListSchema, d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, g as rampSpendRequestStatusSchema, h as rampSpendRequestSchema, i as rampEntityListSchema, l as rampSpendProgramSchema, m as rampSpendRequestListSchema, n as rampEntityGetInputSchema, o as rampSpendProgramGetInputSchema, p as rampSpendRequestListInputSchema, r as rampEntityListInputSchema, s as rampSpendProgramListInputSchema, t as rampBusinessSchema, u as rampSpendRequestCommentCreateInputSchema } from "../business-CztnWUvt.mjs";
5
- import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, c as rampCardProgramListInputSchema, d as rampCardSchema, f as rampCardStateSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, l as rampCardProgramListSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, o as rampCardProgramCreateInputSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, s as rampCardProgramGetInputSchema, t as rampCardFulfillmentSchema, u as rampCardProgramSchema, v as rampUnsuspendCardInputSchema } from "../cards-BfgPcR38.mjs";
6
- import { a as rampApplicationStatusSchema, c as rampPurchaseOrderListSchema, d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, h as rampUnifiedRequestStatusSchema, i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema, n as rampApplicationListInputSchema, o as rampPurchaseOrderGetInputSchema, p as rampUnifiedRequestListSchema, r as rampApplicationListSchema, s as rampPurchaseOrderListInputSchema, t as rampApplicationGetInputSchema, u as rampPurchaseOrderStatusSchema } from "../new-resources-BBJsJEjT.mjs";
7
- import { C as rampMemoGetInputSchema, E as rampMemoSchema, S as rampLocationUpdateInputSchema, T as rampMemoListSchema, _ as rampLocationDeleteInputSchema, a as rampDepartmentListSchema, b as rampLocationListSchema, c as rampLimitCreateInputSchema, d as rampLimitIntervalSchema, f as rampLimitListInputSchema, g as rampLocationCreateInputSchema, h as rampLimitUpdateInputSchema, i as rampDepartmentListInputSchema, l as rampLimitDeleteInputSchema, m as rampLimitSchema, n as rampDepartmentDeleteInputSchema, o as rampDepartmentSchema, p as rampLimitListSchema, r as rampDepartmentGetInputSchema, s as rampDepartmentUpdateInputSchema, t as rampDepartmentCreateInputSchema, u as rampLimitGetInputSchema, v as rampLocationGetInputSchema, w as rampMemoListInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } from "../organization-BSaEpvBn.mjs";
8
- import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, d as rampStatementListSchema, f as rampStatementSchema, i as rampReceiptIntegrationOptedInSchema, l as rampStatementGetInputSchema, n as rampReceiptIntegrationOptInInputSchema, o as rampReceiptListSchema, r as rampReceiptIntegrationOptOutInputSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema, u as rampStatementListInputSchema } from "../receipts-STq41c2M.mjs";
9
- import { a as rampReimbursementStateSchema, i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "../reimbursements-OknrZUMF.mjs";
10
- import { a as rampTransactionStateSchema, i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "../transactions-Djd0oIGK.mjs";
11
- import { a as rampTransferGetInputSchema, c as rampTransferSchema, i as rampCashbackSchema, l as rampTransferStatusSchema, n as rampCashbackListInputSchema, o as rampTransferListInputSchema, r as rampCashbackListSchema, s as rampTransferListSchema, t as rampCashbackGetInputSchema } from "../transfers-WBQZVdGP.mjs";
12
- import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, l as rampUserStatusSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, s as rampUserRoleSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "../users-ufcXrfNK.mjs";
13
- import { a as rampVendorBankAccountListSchema, c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, i as rampVendorBankAccountListInputSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, p as rampVendorSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema, u as rampVendorGetInputSchema } from "../vendors-Bx1cgXwC.mjs";
14
- import { a as rampWebhookEventEnvelopeSchema, i as rampWebhookChallengeSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampWebhookObjectSchema, r as rampDocumentedWebhookEventTypeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-CsbvcgrC.mjs";
15
- import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "../webhooks-mgmt-d1xgVpWx.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, d as rampResourceEnvelope, f as rampTimestampSchema, i as rampIdSchema, l as rampPageCursorSchema, n as rampCurrencyCodeSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema, s as rampMetadataSchema, t as rampAccountingConnectionIdSchema, u as rampPageInfoSchema } from "../common-Dune7BHS.mjs";
2
+ import { A as rampAccountingVendorUploadInputSchema, C as rampAccountingTrackingCategoryListInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, O as rampAccountingVendorListSchema, P as rampGlAccountSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, _ as rampAccountingSyncCreateInputSchema, a as rampAccountingFieldListSchema, b as rampAccountingSyncListSchema, c as rampAccountingFieldOptionSchema, d as rampAccountingFieldUpdateInputSchema, f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, i as rampAccountingFieldListInputSchema, j as rampGlAccountGetInputSchema, k as rampAccountingVendorSchema, l as rampAccountingFieldOptionUploadInputSchema, m as rampAccountingSubsidiaryListSchema, n as rampAccountingFieldDeleteInputSchema, o as rampAccountingFieldOptionListInputSchema, p as rampAccountingSubsidiaryListInputSchema, r as rampAccountingFieldGetInputSchema, s as rampAccountingFieldOptionListSchema, t as rampAccountingFieldCreateInputSchema, u as rampAccountingFieldSchema, v as rampAccountingSyncGetInputSchema, w as rampAccountingTrackingCategoryListSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "../accounting-Ceh5QgHA.mjs";
3
+ import { a as rampBillLineItemSchema, c as rampBillRejectInputSchema, d as rampBillUpdateInputSchema, i as rampBillGetInputSchema, l as rampBillSchema, n as rampBillCancelInputSchema, o as rampBillListInputSchema, r as rampBillCreateInputSchema, s as rampBillListSchema, t as rampBillApproveInputSchema, u as rampBillStatusSchema } from "../bills-D7vZ5JRH.mjs";
4
+ import { a as rampEntitySchema, c as rampSpendProgramListSchema, d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, g as rampSpendRequestStatusSchema, h as rampSpendRequestSchema, i as rampEntityListSchema, l as rampSpendProgramSchema, m as rampSpendRequestListSchema, n as rampEntityGetInputSchema, o as rampSpendProgramGetInputSchema, p as rampSpendRequestListInputSchema, r as rampEntityListInputSchema, s as rampSpendProgramListInputSchema, t as rampBusinessSchema, u as rampSpendRequestCommentCreateInputSchema } from "../business-DAD870OI.mjs";
5
+ import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, c as rampCardProgramListInputSchema, d as rampCardSchema, f as rampCardStateSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, l as rampCardProgramListSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, o as rampCardProgramCreateInputSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, s as rampCardProgramGetInputSchema, t as rampCardFulfillmentSchema, u as rampCardProgramSchema, v as rampUnsuspendCardInputSchema } from "../cards-DNZQtrd7.mjs";
6
+ import { a as rampApplicationStatusSchema, c as rampPurchaseOrderListSchema, d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, h as rampUnifiedRequestStatusSchema, i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema, n as rampApplicationListInputSchema, o as rampPurchaseOrderGetInputSchema, p as rampUnifiedRequestListSchema, r as rampApplicationListSchema, s as rampPurchaseOrderListInputSchema, t as rampApplicationGetInputSchema, u as rampPurchaseOrderStatusSchema } from "../new-resources-Cj_YECLc.mjs";
7
+ import { C as rampMemoGetInputSchema, E as rampMemoSchema, S as rampLocationUpdateInputSchema, T as rampMemoListSchema, _ as rampLocationDeleteInputSchema, a as rampDepartmentListSchema, b as rampLocationListSchema, c as rampLimitCreateInputSchema, d as rampLimitIntervalSchema, f as rampLimitListInputSchema, g as rampLocationCreateInputSchema, h as rampLimitUpdateInputSchema, i as rampDepartmentListInputSchema, l as rampLimitDeleteInputSchema, m as rampLimitSchema, n as rampDepartmentDeleteInputSchema, o as rampDepartmentSchema, p as rampLimitListSchema, r as rampDepartmentGetInputSchema, s as rampDepartmentUpdateInputSchema, t as rampDepartmentCreateInputSchema, u as rampLimitGetInputSchema, v as rampLocationGetInputSchema, w as rampMemoListInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } from "../organization-BdyZhkYN.mjs";
8
+ import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, d as rampStatementListSchema, f as rampStatementSchema, i as rampReceiptIntegrationOptedInSchema, l as rampStatementGetInputSchema, n as rampReceiptIntegrationOptInInputSchema, o as rampReceiptListSchema, r as rampReceiptIntegrationOptOutInputSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema, u as rampStatementListInputSchema } from "../receipts-DKq5Kjhr.mjs";
9
+ import { a as rampReimbursementStateSchema, i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "../reimbursements--xBvXROu.mjs";
10
+ import { a as rampTransactionStateSchema, i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "../transactions-IIG8obly.mjs";
11
+ import { a as rampTransferGetInputSchema, c as rampTransferSchema, i as rampCashbackSchema, l as rampTransferStatusSchema, n as rampCashbackListInputSchema, o as rampTransferListInputSchema, r as rampCashbackListSchema, s as rampTransferListSchema, t as rampCashbackGetInputSchema } from "../transfers-C-76qq3o.mjs";
12
+ import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, l as rampUserStatusSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, s as rampUserRoleSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "../users-Bx4SR4el.mjs";
13
+ import { a as rampVendorBankAccountListSchema, c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, i as rampVendorBankAccountListInputSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, p as rampVendorSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema, u as rampVendorGetInputSchema } from "../vendors-lAh0yain.mjs";
14
+ import { a as rampWebhookEventEnvelopeSchema, i as rampWebhookChallengeSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampWebhookObjectSchema, r as rampDocumentedWebhookEventTypeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-CzjBDCWU.mjs";
15
+ import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "../webhooks-mgmt--fU1Uxfa.mjs";
16
16
  import { z } from "zod";
17
17
 
18
18
  //#region src/schemas/errors.ts
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -22,7 +22,7 @@ declare const listSpendPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
22
22
  page: zod.ZodOptional<zod.ZodObject<{
23
23
  next: zod.ZodOptional<zod.ZodString>;
24
24
  }, zod_v4_core0.$strip>>;
25
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
25
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
26
26
  RAMP_ACCESS_TOKEN: zod.ZodString;
27
27
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
28
28
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -39,7 +39,7 @@ declare const getSpendProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
39
39
  currency: zod.ZodOptional<zod.ZodString>;
40
40
  interval: zod.ZodOptional<zod.ZodString>;
41
41
  }, zod_v4_core0.$loose>>;
42
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
42
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
43
43
  RAMP_ACCESS_TOKEN: zod.ZodString;
44
44
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
45
45
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -1,11 +1,11 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-CztnWUvt.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
4
- import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
2
+ import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-DAD870OI.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
+ import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
5
5
 
6
6
  //#region src/spend-programs.ts
7
7
  const listSpendPrograms = rampOperation({
8
- id: "list_spend_programs",
8
+ id: "ramp.list-spend-programs",
9
9
  name: "List Spend Programs",
10
10
  description: "List Ramp spend programs — the templates used to mint new limits.",
11
11
  input: rampSpendProgramListInputSchema,
@@ -19,7 +19,7 @@ const listSpendPrograms = rampOperation({
19
19
  }
20
20
  });
21
21
  const getSpendProgram = rampOperation({
22
- id: "get_spend_program",
22
+ id: "ramp.get-spend-program",
23
23
  name: "Get Spend Program",
24
24
  description: "Fetch a Ramp spend program by id.",
25
25
  input: rampSpendProgramGetInputSchema,
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -42,7 +42,7 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
42
42
  page: zod.ZodOptional<zod.ZodObject<{
43
43
  next: zod.ZodOptional<zod.ZodString>;
44
44
  }, zod_v4_core0.$strip>>;
45
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
45
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
46
46
  RAMP_ACCESS_TOKEN: zod.ZodString;
47
47
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
48
48
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -71,7 +71,7 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
71
71
  status: zod.ZodOptional<zod.ZodString>;
72
72
  memo: zod.ZodOptional<zod.ZodString>;
73
73
  }, zod_v4_core0.$loose>>;
74
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
74
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
75
75
  RAMP_ACCESS_TOKEN: zod.ZodString;
76
76
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
77
77
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -86,7 +86,7 @@ declare const commentOnSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<
86
86
  user_id: zod.ZodOptional<zod.ZodString>;
87
87
  body: zod.ZodOptional<zod.ZodString>;
88
88
  created_at: zod.ZodOptional<zod.ZodString>;
89
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
89
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
90
90
  RAMP_ACCESS_TOKEN: zod.ZodString;
91
91
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
92
92
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -1,11 +1,11 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-CztnWUvt.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
4
- import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
2
+ import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-DAD870OI.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
+ import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
5
5
 
6
6
  //#region src/spend-requests.ts
7
7
  const listSpendRequests = rampOperation({
8
- id: "list_spend_requests",
8
+ id: "ramp.list-spend-requests",
9
9
  name: "List Spend Requests",
10
10
  description: "List Ramp spend requests awaiting or completing an approval workflow.",
11
11
  input: rampSpendRequestListInputSchema,
@@ -21,7 +21,7 @@ const listSpendRequests = rampOperation({
21
21
  }
22
22
  });
23
23
  const getSpendRequest = rampOperation({
24
- id: "get_spend_request",
24
+ id: "ramp.get-spend-request",
25
25
  name: "Get Spend Request",
26
26
  description: "Fetch a Ramp spend request by id.",
27
27
  input: rampSpendRequestGetInputSchema,
@@ -32,7 +32,7 @@ const getSpendRequest = rampOperation({
32
32
  }
33
33
  });
34
34
  const commentOnSpendRequest = rampOperation({
35
- id: "comment_on_spend_request",
35
+ id: "ramp.comment-on-spend-request",
36
36
  name: "Comment On Spend Request",
37
37
  description: "Post a comment on an existing Ramp spend request.",
38
38
  input: rampSpendRequestCommentCreateInputSchema,
@@ -1,5 +1,5 @@
1
- import * as zod from "zod";
2
1
  import * as _keystrokehq_core0 from "@keystrokehq/core";
2
+ import * as zod from "zod";
3
3
  import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
4
4
  import * as zod_v4_core0 from "zod/v4/core";
5
5
 
@@ -20,7 +20,7 @@ declare const listStatements: _keystrokehq_core0.Operation<zod.ZodObject<{
20
20
  page: zod.ZodOptional<zod.ZodObject<{
21
21
  next: zod.ZodOptional<zod.ZodString>;
22
22
  }, zod_v4_core0.$strip>>;
23
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
23
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
24
24
  RAMP_ACCESS_TOKEN: zod.ZodString;
25
25
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
26
26
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -32,7 +32,7 @@ declare const getStatement: _keystrokehq_core0.Operation<zod.ZodObject<{
32
32
  statement_date: zod.ZodOptional<zod.ZodString>;
33
33
  download_url: zod.ZodOptional<zod.ZodString>;
34
34
  entity_id: zod.ZodOptional<zod.ZodString>;
35
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
35
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
36
36
  RAMP_ACCESS_TOKEN: zod.ZodString;
37
37
  }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
38
38
  RAMP_ACCESS_TOKEN: zod.ZodString;
@@ -1,11 +1,11 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-STq41c2M.mjs";
3
- import { t as rampOperation } from "./factory-pbmCYnqr.mjs";
4
- import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
2
+ import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-DKq5Kjhr.mjs";
3
+ import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
+ import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
5
5
 
6
6
  //#region src/statements.ts
7
7
  const listStatements = rampOperation({
8
- id: "list_statements",
8
+ id: "ramp.list-statements",
9
9
  name: "List Statements",
10
10
  description: "List monthly Ramp account statements, optionally filtered by entity and date range.",
11
11
  input: rampStatementListInputSchema,
@@ -22,7 +22,7 @@ const listStatements = rampOperation({
22
22
  }
23
23
  });
24
24
  const getStatement = rampOperation({
25
- id: "get_statement",
25
+ id: "ramp.get-statement",
26
26
  name: "Get Statement",
27
27
  description: "Fetch a monthly statement by id. Includes a short-lived signed download URL.",
28
28
  input: rampStatementGetInputSchema,
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-CUpmNYXw.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-Dune7BHS.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/transactions.ts