@keystrokehq/ramp 0.0.7 → 0.0.8

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 (46) hide show
  1. package/dist/accounting-fields.mjs +7 -7
  2. package/dist/accounting-gl-accounts.mjs +3 -3
  3. package/dist/accounting-subsidiaries.mjs +3 -3
  4. package/dist/accounting-sync.mjs +3 -3
  5. package/dist/accounting-tracking-categories.mjs +2 -2
  6. package/dist/accounting-vendors.mjs +3 -3
  7. package/dist/applications.d.mts +6 -6
  8. package/dist/applications.mjs +2 -2
  9. package/dist/bills.d.mts +24 -24
  10. package/dist/bills.mjs +7 -7
  11. package/dist/business.mjs +1 -1
  12. package/dist/card-programs.mjs +3 -3
  13. package/dist/cards.mjs +9 -9
  14. package/dist/cashbacks.mjs +2 -2
  15. package/dist/client.d.mts +1 -1
  16. package/dist/departments.mjs +5 -5
  17. package/dist/entities.mjs +2 -2
  18. package/dist/{errors-Dm2DruuS.d.mts → errors-CIJf9-v0.d.mts} +1 -1
  19. package/dist/limits.d.mts +6 -6
  20. package/dist/limits.mjs +5 -5
  21. package/dist/locations.mjs +5 -5
  22. package/dist/memos.mjs +2 -2
  23. package/dist/purchase-orders.d.mts +6 -6
  24. package/dist/purchase-orders.mjs +2 -2
  25. package/dist/receipt-integrations.mjs +2 -2
  26. package/dist/receipts.mjs +3 -3
  27. package/dist/reimbursements.d.mts +6 -6
  28. package/dist/reimbursements.mjs +2 -2
  29. package/dist/schemas/index.d.mts +7 -7
  30. package/dist/spend-programs.mjs +2 -2
  31. package/dist/spend-requests.d.mts +3 -3
  32. package/dist/spend-requests.mjs +3 -3
  33. package/dist/statements.mjs +2 -2
  34. package/dist/transactions.d.mts +10 -10
  35. package/dist/transactions.mjs +3 -3
  36. package/dist/transfers.d.mts +6 -6
  37. package/dist/transfers.mjs +2 -2
  38. package/dist/triggers/index.d.mts +1 -1
  39. package/dist/unified-requests.d.mts +3 -3
  40. package/dist/unified-requests.mjs +2 -2
  41. package/dist/users.mjs +6 -6
  42. package/dist/vendor-bank-accounts.mjs +5 -5
  43. package/dist/{vendors-gH-w9b_R.d.mts → vendors-oZvKUHvt.d.mts} +60 -60
  44. package/dist/vendors.mjs +5 -5
  45. package/dist/webhooks.mjs +5 -5
  46. package/package.json +2 -2
package/dist/limits.d.mts CHANGED
@@ -23,9 +23,9 @@ declare const listLimits: _keystrokehq_core0.Operation<z.ZodObject<{
23
23
  DAILY: "DAILY";
24
24
  WEEKLY: "WEEKLY";
25
25
  MONTHLY: "MONTHLY";
26
+ QUARTERLY: "QUARTERLY";
26
27
  YEARLY: "YEARLY";
27
28
  TOTAL: "TOTAL";
28
- QUARTERLY: "QUARTERLY";
29
29
  }>>;
30
30
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
31
31
  }, z.core.$loose>>;
@@ -58,9 +58,9 @@ declare const getLimit: _keystrokehq_core0.Operation<z.ZodObject<{
58
58
  DAILY: "DAILY";
59
59
  WEEKLY: "WEEKLY";
60
60
  MONTHLY: "MONTHLY";
61
+ QUARTERLY: "QUARTERLY";
61
62
  YEARLY: "YEARLY";
62
63
  TOTAL: "TOTAL";
63
- QUARTERLY: "QUARTERLY";
64
64
  }>>;
65
65
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
66
66
  }, z.core.$loose>>;
@@ -85,9 +85,9 @@ declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
85
85
  DAILY: "DAILY";
86
86
  WEEKLY: "WEEKLY";
87
87
  MONTHLY: "MONTHLY";
88
+ QUARTERLY: "QUARTERLY";
88
89
  YEARLY: "YEARLY";
89
90
  TOTAL: "TOTAL";
90
- QUARTERLY: "QUARTERLY";
91
91
  }>;
92
92
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
93
93
  categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -106,9 +106,9 @@ declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
106
106
  DAILY: "DAILY";
107
107
  WEEKLY: "WEEKLY";
108
108
  MONTHLY: "MONTHLY";
109
+ QUARTERLY: "QUARTERLY";
109
110
  YEARLY: "YEARLY";
110
111
  TOTAL: "TOTAL";
111
- QUARTERLY: "QUARTERLY";
112
112
  }>>;
113
113
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
114
114
  }, z.core.$loose>>;
@@ -131,9 +131,9 @@ declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
131
131
  DAILY: "DAILY";
132
132
  WEEKLY: "WEEKLY";
133
133
  MONTHLY: "MONTHLY";
134
+ QUARTERLY: "QUARTERLY";
134
135
  YEARLY: "YEARLY";
135
136
  TOTAL: "TOTAL";
136
- QUARTERLY: "QUARTERLY";
137
137
  }>>;
138
138
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
139
139
  }, z.core.$strip>>;
@@ -150,9 +150,9 @@ declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
150
150
  DAILY: "DAILY";
151
151
  WEEKLY: "WEEKLY";
152
152
  MONTHLY: "MONTHLY";
153
+ QUARTERLY: "QUARTERLY";
153
154
  YEARLY: "YEARLY";
154
155
  TOTAL: "TOTAL";
155
- QUARTERLY: "QUARTERLY";
156
156
  }>>;
157
157
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
158
158
  }, z.core.$loose>>;
package/dist/limits.mjs CHANGED
@@ -6,7 +6,7 @@ import { z } from "zod";
6
6
 
7
7
  //#region src/limits.ts
8
8
  const listLimits = rampOperation({
9
- id: "list_limits",
9
+ id: "ramp.list-limits",
10
10
  name: "List Limits",
11
11
  description: "List Ramp spending limits. Supports filtering by user, spend program, and entity.",
12
12
  input: rampLimitListInputSchema,
@@ -23,7 +23,7 @@ const listLimits = rampOperation({
23
23
  }
24
24
  });
25
25
  const getLimit = rampOperation({
26
- id: "get_limit",
26
+ id: "ramp.get-limit",
27
27
  name: "Get Limit",
28
28
  description: "Fetch a Ramp limit by id.",
29
29
  input: rampLimitGetInputSchema,
@@ -34,7 +34,7 @@ const getLimit = rampOperation({
34
34
  }
35
35
  });
36
36
  const createLimit = rampOperation({
37
- id: "create_limit",
37
+ id: "ramp.create-limit",
38
38
  name: "Create Limit",
39
39
  description: "Create a new Ramp spending limit for a set of users.",
40
40
  input: rampLimitCreateInputSchema,
@@ -51,7 +51,7 @@ const createLimit = rampOperation({
51
51
  }
52
52
  });
53
53
  const updateLimit = rampOperation({
54
- id: "update_limit",
54
+ id: "ramp.update-limit",
55
55
  name: "Update Limit",
56
56
  description: "Update display name or spending restrictions on an existing Ramp limit.",
57
57
  input: rampLimitUpdateInputSchema,
@@ -68,7 +68,7 @@ const updateLimit = rampOperation({
68
68
  }
69
69
  });
70
70
  const deleteLimit = rampOperation({
71
- id: "delete_limit",
71
+ id: "ramp.delete-limit",
72
72
  name: "Delete Limit",
73
73
  description: "Delete a Ramp spending limit by id.",
74
74
  input: rampLimitDeleteInputSchema,
@@ -6,7 +6,7 @@ import { z } from "zod";
6
6
 
7
7
  //#region src/locations.ts
8
8
  const listLocations = rampOperation({
9
- id: "list_locations",
9
+ id: "ramp.list-locations",
10
10
  name: "List Locations",
11
11
  description: "List locations configured in the Ramp business, optionally filtered by entity.",
12
12
  input: rampLocationListInputSchema,
@@ -21,7 +21,7 @@ const listLocations = rampOperation({
21
21
  }
22
22
  });
23
23
  const getLocation = rampOperation({
24
- id: "get_location",
24
+ id: "ramp.get-location",
25
25
  name: "Get Location",
26
26
  description: "Fetch a Ramp location by id.",
27
27
  input: rampLocationGetInputSchema,
@@ -32,7 +32,7 @@ const getLocation = rampOperation({
32
32
  }
33
33
  });
34
34
  const createLocation = rampOperation({
35
- id: "create_location",
35
+ id: "ramp.create-location",
36
36
  name: "Create Location",
37
37
  description: "Create a new location in the Ramp business.",
38
38
  input: rampLocationCreateInputSchema,
@@ -47,7 +47,7 @@ const createLocation = rampOperation({
47
47
  }
48
48
  });
49
49
  const updateLocation = rampOperation({
50
- id: "update_location",
50
+ id: "ramp.update-location",
51
51
  name: "Update Location",
52
52
  description: "Rename an existing Ramp location.",
53
53
  input: rampLocationUpdateInputSchema,
@@ -64,7 +64,7 @@ const updateLocation = rampOperation({
64
64
  }
65
65
  });
66
66
  const deleteLocation = rampOperation({
67
- id: "delete_location",
67
+ id: "ramp.delete-location",
68
68
  name: "Delete Location",
69
69
  description: "Delete a Ramp location by id.",
70
70
  input: rampLocationDeleteInputSchema,
package/dist/memos.mjs CHANGED
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
5
5
 
6
6
  //#region src/memos.ts
7
7
  const listMemos = rampOperation({
8
- id: "list_memos",
8
+ id: "ramp.list-memos",
9
9
  name: "List Memos",
10
10
  description: "List Ramp memos attached to transactions or users.",
11
11
  input: rampMemoListInputSchema,
@@ -21,7 +21,7 @@ const listMemos = rampOperation({
21
21
  }
22
22
  });
23
23
  const getMemo = rampOperation({
24
- id: "get_memo",
24
+ id: "ramp.get-memo",
25
25
  name: "Get Memo",
26
26
  description: "Fetch a Ramp memo by id.",
27
27
  input: rampMemoGetInputSchema,
@@ -7,10 +7,10 @@ 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
- CANCELED: "CANCELED";
13
11
  DENIED: "DENIED";
12
+ CANCELED: "CANCELED";
13
+ DRAFT: "DRAFT";
14
14
  CLOSED: "CLOSED";
15
15
  }>>;
16
16
  vendor_id: zod.ZodOptional<zod.ZodString>;
@@ -22,10 +22,10 @@ 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
- CANCELED: "CANCELED";
28
26
  DENIED: "DENIED";
27
+ CANCELED: "CANCELED";
28
+ DRAFT: "DRAFT";
29
29
  CLOSED: "CLOSED";
30
30
  }>>;
31
31
  vendor_id: zod.ZodOptional<zod.ZodString>;
@@ -52,10 +52,10 @@ 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
- CANCELED: "CANCELED";
58
56
  DENIED: "DENIED";
57
+ CANCELED: "CANCELED";
58
+ DRAFT: "DRAFT";
59
59
  CLOSED: "CLOSED";
60
60
  }>>;
61
61
  vendor_id: zod.ZodOptional<zod.ZodString>;
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.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,
@@ -4,7 +4,7 @@ import { t as rampOperation } from "./factory-pbmCYnqr.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,
package/dist/receipts.mjs CHANGED
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.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,
@@ -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";
12
+ CANCELED: "CANCELED";
13
13
  REJECTED: "REJECTED";
14
14
  PAID: "PAID";
15
- 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";
36
+ CANCELED: "CANCELED";
37
37
  REJECTED: "REJECTED";
38
38
  PAID: "PAID";
39
- 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<{
@@ -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";
72
+ CANCELED: "CANCELED";
73
73
  REJECTED: "REJECTED";
74
74
  PAID: "PAID";
75
- 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<{
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.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";
1
+ import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-CIJf9-v0.mjs";
2
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";
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-oZvKUHvt.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/schemas/accounting.d.ts
@@ -614,9 +614,9 @@ declare const rampLimitIntervalSchema: z.ZodEnum<{
614
614
  DAILY: "DAILY";
615
615
  WEEKLY: "WEEKLY";
616
616
  MONTHLY: "MONTHLY";
617
+ QUARTERLY: "QUARTERLY";
617
618
  YEARLY: "YEARLY";
618
619
  TOTAL: "TOTAL";
619
- QUARTERLY: "QUARTERLY";
620
620
  }>;
621
621
  declare const rampLimitSchema: z.ZodObject<{
622
622
  id: z.ZodString;
@@ -631,9 +631,9 @@ declare const rampLimitSchema: z.ZodObject<{
631
631
  DAILY: "DAILY";
632
632
  WEEKLY: "WEEKLY";
633
633
  MONTHLY: "MONTHLY";
634
+ QUARTERLY: "QUARTERLY";
634
635
  YEARLY: "YEARLY";
635
636
  TOTAL: "TOTAL";
636
- QUARTERLY: "QUARTERLY";
637
637
  }>>;
638
638
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
639
639
  }, z.core.$loose>>;
@@ -665,9 +665,9 @@ declare const rampLimitListSchema: z.ZodObject<{
665
665
  DAILY: "DAILY";
666
666
  WEEKLY: "WEEKLY";
667
667
  MONTHLY: "MONTHLY";
668
+ QUARTERLY: "QUARTERLY";
668
669
  YEARLY: "YEARLY";
669
670
  TOTAL: "TOTAL";
670
- QUARTERLY: "QUARTERLY";
671
671
  }>>;
672
672
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
673
673
  }, z.core.$loose>>;
@@ -695,9 +695,9 @@ declare const rampLimitCreateInputSchema: z.ZodObject<{
695
695
  DAILY: "DAILY";
696
696
  WEEKLY: "WEEKLY";
697
697
  MONTHLY: "MONTHLY";
698
+ QUARTERLY: "QUARTERLY";
698
699
  YEARLY: "YEARLY";
699
700
  TOTAL: "TOTAL";
700
- QUARTERLY: "QUARTERLY";
701
701
  }>;
702
702
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
703
703
  categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -713,9 +713,9 @@ declare const rampLimitUpdateInputSchema: z.ZodObject<{
713
713
  DAILY: "DAILY";
714
714
  WEEKLY: "WEEKLY";
715
715
  MONTHLY: "MONTHLY";
716
+ QUARTERLY: "QUARTERLY";
716
717
  YEARLY: "YEARLY";
717
718
  TOTAL: "TOTAL";
718
- QUARTERLY: "QUARTERLY";
719
719
  }>>;
720
720
  transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
721
721
  }, z.core.$strip>>;
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.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,
@@ -8,8 +8,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
8
8
  status: zod.ZodOptional<zod.ZodEnum<{
9
9
  PENDING: "PENDING";
10
10
  APPROVED: "APPROVED";
11
- CANCELED: "CANCELED";
12
11
  DENIED: "DENIED";
12
+ CANCELED: "CANCELED";
13
13
  FULFILLED: "FULFILLED";
14
14
  }>>;
15
15
  user_id: zod.ZodOptional<zod.ZodString>;
@@ -22,8 +22,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
22
22
  status: zod.ZodOptional<zod.ZodEnum<{
23
23
  PENDING: "PENDING";
24
24
  APPROVED: "APPROVED";
25
- CANCELED: "CANCELED";
26
25
  DENIED: "DENIED";
26
+ CANCELED: "CANCELED";
27
27
  FULFILLED: "FULFILLED";
28
28
  }>>;
29
29
  justification: zod.ZodOptional<zod.ZodString>;
@@ -55,8 +55,8 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
55
55
  status: zod.ZodOptional<zod.ZodEnum<{
56
56
  PENDING: "PENDING";
57
57
  APPROVED: "APPROVED";
58
- CANCELED: "CANCELED";
59
58
  DENIED: "DENIED";
59
+ CANCELED: "CANCELED";
60
60
  FULFILLED: "FULFILLED";
61
61
  }>>;
62
62
  justification: zod.ZodOptional<zod.ZodString>;
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.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,
@@ -5,7 +5,7 @@ import { t as omitUndefined } from "./shared-CTTtP5gv.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,
@@ -12,13 +12,13 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
12
12
  user_id: z.ZodOptional<z.ZodString>;
13
13
  sk_category_id: z.ZodOptional<z.ZodString>;
14
14
  state: z.ZodOptional<z.ZodEnum<{
15
+ PENDING: "PENDING";
16
+ PROCESSING: "PROCESSING";
15
17
  CLEARED: "CLEARED";
16
18
  COMPLETION: "COMPLETION";
17
19
  DECLINED: "DECLINED";
18
20
  ERROR: "ERROR";
19
- PENDING: "PENDING";
20
21
  PENDING_INITIATION: "PENDING_INITIATION";
21
- PROCESSING: "PROCESSING";
22
22
  }>>;
23
23
  minAmount: z.ZodOptional<z.ZodNumber>;
24
24
  maxAmount: z.ZodOptional<z.ZodNumber>;
@@ -49,13 +49,13 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
49
49
  user_transaction_time: z.ZodOptional<z.ZodString>;
50
50
  settlement_date: z.ZodOptional<z.ZodString>;
51
51
  state: z.ZodOptional<z.ZodEnum<{
52
+ PENDING: "PENDING";
53
+ PROCESSING: "PROCESSING";
52
54
  CLEARED: "CLEARED";
53
55
  COMPLETION: "COMPLETION";
54
56
  DECLINED: "DECLINED";
55
57
  ERROR: "ERROR";
56
- PENDING: "PENDING";
57
58
  PENDING_INITIATION: "PENDING_INITIATION";
58
- PROCESSING: "PROCESSING";
59
59
  }>>;
60
60
  sk_category_id: z.ZodOptional<z.ZodString>;
61
61
  sk_category_name: z.ZodOptional<z.ZodString>;
@@ -92,13 +92,13 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
92
92
  user_transaction_time: z.ZodOptional<z.ZodString>;
93
93
  settlement_date: z.ZodOptional<z.ZodString>;
94
94
  state: z.ZodOptional<z.ZodEnum<{
95
+ PENDING: "PENDING";
96
+ PROCESSING: "PROCESSING";
95
97
  CLEARED: "CLEARED";
96
98
  COMPLETION: "COMPLETION";
97
99
  DECLINED: "DECLINED";
98
100
  ERROR: "ERROR";
99
- PENDING: "PENDING";
100
101
  PENDING_INITIATION: "PENDING_INITIATION";
101
- PROCESSING: "PROCESSING";
102
102
  }>>;
103
103
  sk_category_id: z.ZodOptional<z.ZodString>;
104
104
  sk_category_name: z.ZodOptional<z.ZodString>;
@@ -120,13 +120,13 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
120
120
  user_id: z.ZodOptional<z.ZodString>;
121
121
  sk_category_id: z.ZodOptional<z.ZodString>;
122
122
  state: z.ZodOptional<z.ZodEnum<{
123
+ PENDING: "PENDING";
124
+ PROCESSING: "PROCESSING";
123
125
  CLEARED: "CLEARED";
124
126
  COMPLETION: "COMPLETION";
125
127
  DECLINED: "DECLINED";
126
128
  ERROR: "ERROR";
127
- PENDING: "PENDING";
128
129
  PENDING_INITIATION: "PENDING_INITIATION";
129
- PROCESSING: "PROCESSING";
130
130
  }>>;
131
131
  minAmount: z.ZodOptional<z.ZodNumber>;
132
132
  maxAmount: z.ZodOptional<z.ZodNumber>;
@@ -157,13 +157,13 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
157
157
  user_transaction_time: z.ZodOptional<z.ZodString>;
158
158
  settlement_date: z.ZodOptional<z.ZodString>;
159
159
  state: z.ZodOptional<z.ZodEnum<{
160
+ PENDING: "PENDING";
161
+ PROCESSING: "PROCESSING";
160
162
  CLEARED: "CLEARED";
161
163
  COMPLETION: "COMPLETION";
162
164
  DECLINED: "DECLINED";
163
165
  ERROR: "ERROR";
164
- PENDING: "PENDING";
165
166
  PENDING_INITIATION: "PENDING_INITIATION";
166
- PROCESSING: "PROCESSING";
167
167
  }>>;
168
168
  sk_category_id: z.ZodOptional<z.ZodString>;
169
169
  sk_category_name: z.ZodOptional<z.ZodString>;
@@ -9,7 +9,7 @@ function clientFor(credentials, options) {
9
9
  return createRampClient(credentials, options);
10
10
  }
11
11
  const listTransactions = rampOperation({
12
- id: "list_transactions",
12
+ id: "ramp.list-transactions",
13
13
  name: "List Transactions",
14
14
  description: "List Ramp card transactions with optional filters (date range, amount, merchant, user, state). Returns a single page of results; use `cursor` to paginate.",
15
15
  input: rampTransactionListInputSchema,
@@ -37,7 +37,7 @@ const listTransactions = rampOperation({
37
37
  }
38
38
  });
39
39
  const getTransaction = rampOperation({
40
- id: "get_transaction",
40
+ id: "ramp.get-transaction",
41
41
  name: "Get Transaction",
42
42
  description: "Fetch a single Ramp card transaction by id.",
43
43
  input: rampTransactionGetInputSchema,
@@ -48,7 +48,7 @@ const getTransaction = rampOperation({
48
48
  }
49
49
  });
50
50
  const listAllTransactions = rampOperation({
51
- id: "list_all_transactions",
51
+ id: "ramp.list-all-transactions",
52
52
  name: "List All Transactions (auto-paginated)",
53
53
  description: "Stream every matching Ramp transaction by following `page.next` until exhausted. Use with care on large date ranges.",
54
54
  input: rampTransactionListInputSchema,
@@ -8,10 +8,10 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
8
8
  entity_id: zod.ZodOptional<zod.ZodString>;
9
9
  status: zod.ZodOptional<zod.ZodEnum<{
10
10
  PENDING: "PENDING";
11
- PROCESSING: "PROCESSING";
12
11
  CANCELED: "CANCELED";
13
- FAILED: "FAILED";
12
+ PROCESSING: "PROCESSING";
14
13
  COMPLETED: "COMPLETED";
14
+ FAILED: "FAILED";
15
15
  }>>;
16
16
  pageSize: zod.ZodOptional<zod.ZodNumber>;
17
17
  cursor: zod.ZodOptional<zod.ZodString>;
@@ -24,10 +24,10 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
24
24
  }, zod_v4_core0.$strip>>;
25
25
  status: zod.ZodOptional<zod.ZodEnum<{
26
26
  PENDING: "PENDING";
27
- PROCESSING: "PROCESSING";
28
27
  CANCELED: "CANCELED";
29
- FAILED: "FAILED";
28
+ PROCESSING: "PROCESSING";
30
29
  COMPLETED: "COMPLETED";
30
+ FAILED: "FAILED";
31
31
  }>>;
32
32
  created_at: zod.ZodOptional<zod.ZodString>;
33
33
  settled_at: zod.ZodOptional<zod.ZodString>;
@@ -53,10 +53,10 @@ declare const getTransfer: _keystrokehq_core0.Operation<zod.ZodObject<{
53
53
  }, zod_v4_core0.$strip>>;
54
54
  status: zod.ZodOptional<zod.ZodEnum<{
55
55
  PENDING: "PENDING";
56
- PROCESSING: "PROCESSING";
57
56
  CANCELED: "CANCELED";
58
- FAILED: "FAILED";
57
+ PROCESSING: "PROCESSING";
59
58
  COMPLETED: "COMPLETED";
59
+ FAILED: "FAILED";
60
60
  }>>;
61
61
  created_at: zod.ZodOptional<zod.ZodString>;
62
62
  settled_at: zod.ZodOptional<zod.ZodString>;