@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.
- package/dist/_official/index.d.mts +2 -2
- package/dist/_official/index.mjs +1 -1
- package/dist/{accounting-i6txC-MI.mjs → accounting-Ceh5QgHA.mjs} +1 -1
- package/dist/accounting-fields.d.mts +8 -8
- package/dist/accounting-fields.mjs +10 -10
- package/dist/accounting-gl-accounts.d.mts +4 -4
- package/dist/accounting-gl-accounts.mjs +6 -6
- package/dist/accounting-subsidiaries.d.mts +4 -4
- package/dist/accounting-subsidiaries.mjs +6 -6
- package/dist/accounting-sync.d.mts +4 -4
- package/dist/accounting-sync.mjs +6 -6
- package/dist/accounting-tracking-categories.d.mts +3 -3
- package/dist/accounting-tracking-categories.mjs +5 -5
- package/dist/accounting-vendors.d.mts +4 -4
- package/dist/accounting-vendors.mjs +6 -6
- package/dist/applications.d.mts +6 -6
- package/dist/applications.mjs +5 -5
- package/dist/{bills-B8W9et3K.mjs → bills-D7vZ5JRH.mjs} +1 -1
- package/dist/bills.d.mts +24 -24
- package/dist/bills.mjs +10 -10
- package/dist/{business-CztnWUvt.mjs → business-DAD870OI.mjs} +1 -1
- package/dist/business.d.mts +2 -2
- package/dist/business.mjs +3 -3
- package/dist/card-programs.d.mts +4 -4
- package/dist/card-programs.mjs +6 -6
- package/dist/{cards-BfgPcR38.mjs → cards-DNZQtrd7.mjs} +1 -1
- package/dist/cards.d.mts +10 -10
- package/dist/cards.mjs +13 -13
- package/dist/cashbacks.d.mts +3 -3
- package/dist/cashbacks.mjs +5 -5
- package/dist/client.d.mts +2 -2
- package/dist/client.mjs +2 -2
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.d.mts +6 -6
- package/dist/departments.mjs +8 -8
- package/dist/dist-Bbp6t-WQ.mjs +74 -0
- package/dist/entities.d.mts +3 -3
- package/dist/entities.mjs +5 -5
- package/dist/{errors-Dm2DruuS.d.mts → errors-TrirAChI.d.mts} +1 -1
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{factory-pbmCYnqr.mjs → factory-hiMPmrYD.mjs} +1 -2
- package/dist/{integration-D6jpX1pZ.d.mts → integration-BTjaW9hR.d.mts} +3 -4
- package/dist/{integration-8czEQ_pK.mjs → integration-BczMK0aE.mjs} +95 -3
- package/dist/limits.d.mts +6 -6
- package/dist/limits.mjs +8 -8
- package/dist/locations.d.mts +6 -6
- package/dist/locations.mjs +8 -8
- package/dist/memos.d.mts +3 -3
- package/dist/memos.mjs +5 -5
- package/dist/{new-resources-BBJsJEjT.mjs → new-resources-Cj_YECLc.mjs} +1 -1
- package/dist/{organization-BSaEpvBn.mjs → organization-BdyZhkYN.mjs} +1 -1
- package/dist/purchase-orders.d.mts +6 -6
- package/dist/purchase-orders.mjs +5 -5
- package/dist/receipt-integrations.d.mts +3 -3
- package/dist/receipt-integrations.mjs +4 -4
- package/dist/{receipts-STq41c2M.mjs → receipts-DKq5Kjhr.mjs} +1 -1
- package/dist/receipts.d.mts +4 -4
- package/dist/receipts.mjs +6 -6
- package/dist/{reimbursements-OknrZUMF.mjs → reimbursements--xBvXROu.mjs} +1 -1
- package/dist/reimbursements.d.mts +6 -6
- package/dist/reimbursements.mjs +5 -5
- package/dist/schemas/index.d.mts +3 -3
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +3 -3
- package/dist/spend-programs.mjs +5 -5
- package/dist/spend-requests.d.mts +4 -4
- package/dist/spend-requests.mjs +6 -6
- package/dist/statements.d.mts +3 -3
- package/dist/statements.mjs +5 -5
- package/dist/{transactions-Djd0oIGK.mjs → transactions-IIG8obly.mjs} +1 -1
- package/dist/transactions.d.mts +9 -9
- package/dist/transactions.mjs +6 -6
- package/dist/{transfers-WBQZVdGP.mjs → transfers-C-76qq3o.mjs} +1 -1
- package/dist/transfers.d.mts +9 -9
- package/dist/transfers.mjs +5 -5
- package/dist/triggers/index.d.mts +3 -3
- package/dist/triggers/index.mjs +11 -11
- package/dist/unified-requests.d.mts +3 -3
- package/dist/unified-requests.mjs +5 -5
- package/dist/{users-ufcXrfNK.mjs → users-Bx4SR4el.mjs} +1 -1
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +9 -9
- package/dist/vendor-bank-accounts.d.mts +6 -6
- package/dist/vendor-bank-accounts.mjs +8 -8
- package/dist/{vendors-gH-w9b_R.d.mts → vendors-De3fNIYJ.d.mts} +32 -32
- package/dist/{vendors-Bx1cgXwC.mjs → vendors-lAh0yain.mjs} +1 -1
- package/dist/vendors.d.mts +6 -6
- package/dist/vendors.mjs +8 -8
- package/dist/verification.mjs +1 -1
- package/dist/{webhook-CsbvcgrC.mjs → webhook-CzjBDCWU.mjs} +1 -1
- package/dist/{webhooks-mgmt-d1xgVpWx.mjs → webhooks-mgmt--fU1Uxfa.mjs} +1 -1
- package/dist/webhooks.d.mts +6 -6
- package/dist/webhooks.mjs +8 -8
- package/package.json +4 -4
- /package/dist/{common-CUpmNYXw.mjs → common-Dune7BHS.mjs} +0 -0
- /package/dist/{shared-CTTtP5gv.mjs → shared-3DudrK5L.mjs} +0 -0
- /package/dist/{webhook-Bp38YQE9.d.mts → webhook-sde3Ui2N.d.mts} +0 -0
package/dist/bills.d.mts
CHANGED
|
@@ -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,13 +8,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
8
|
vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
9
9
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
10
10
|
PENDING: "PENDING";
|
|
11
|
-
OPEN: "OPEN";
|
|
12
|
-
DRAFT: "DRAFT";
|
|
13
11
|
APPROVED: "APPROVED";
|
|
14
12
|
REJECTED: "REJECTED";
|
|
15
13
|
PAID: "PAID";
|
|
16
14
|
CANCELED: "CANCELED";
|
|
15
|
+
DRAFT: "DRAFT";
|
|
17
16
|
FAILED: "FAILED";
|
|
17
|
+
OPEN: "OPEN";
|
|
18
18
|
SCHEDULED: "SCHEDULED";
|
|
19
19
|
}>>;
|
|
20
20
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -33,13 +33,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
33
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
34
34
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
35
35
|
PENDING: "PENDING";
|
|
36
|
-
OPEN: "OPEN";
|
|
37
|
-
DRAFT: "DRAFT";
|
|
38
36
|
APPROVED: "APPROVED";
|
|
39
37
|
REJECTED: "REJECTED";
|
|
40
38
|
PAID: "PAID";
|
|
41
39
|
CANCELED: "CANCELED";
|
|
40
|
+
DRAFT: "DRAFT";
|
|
42
41
|
FAILED: "FAILED";
|
|
42
|
+
OPEN: "OPEN";
|
|
43
43
|
SCHEDULED: "SCHEDULED";
|
|
44
44
|
}>>;
|
|
45
45
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -67,7 +67,7 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
67
67
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
68
68
|
next: zod.ZodOptional<zod.ZodString>;
|
|
69
69
|
}, zod_v4_core0.$strip>>;
|
|
70
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
70
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
71
71
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
72
72
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
73
73
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -84,13 +84,13 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
84
84
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
85
85
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
86
86
|
PENDING: "PENDING";
|
|
87
|
-
OPEN: "OPEN";
|
|
88
|
-
DRAFT: "DRAFT";
|
|
89
87
|
APPROVED: "APPROVED";
|
|
90
88
|
REJECTED: "REJECTED";
|
|
91
89
|
PAID: "PAID";
|
|
92
90
|
CANCELED: "CANCELED";
|
|
91
|
+
DRAFT: "DRAFT";
|
|
93
92
|
FAILED: "FAILED";
|
|
93
|
+
OPEN: "OPEN";
|
|
94
94
|
SCHEDULED: "SCHEDULED";
|
|
95
95
|
}>>;
|
|
96
96
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -114,7 +114,7 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
114
114
|
payment_method: zod.ZodOptional<zod.ZodString>;
|
|
115
115
|
created_by: zod.ZodOptional<zod.ZodString>;
|
|
116
116
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
117
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
117
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
118
118
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
119
119
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
120
120
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -147,13 +147,13 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
147
147
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
148
148
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
149
149
|
PENDING: "PENDING";
|
|
150
|
-
OPEN: "OPEN";
|
|
151
|
-
DRAFT: "DRAFT";
|
|
152
150
|
APPROVED: "APPROVED";
|
|
153
151
|
REJECTED: "REJECTED";
|
|
154
152
|
PAID: "PAID";
|
|
155
153
|
CANCELED: "CANCELED";
|
|
154
|
+
DRAFT: "DRAFT";
|
|
156
155
|
FAILED: "FAILED";
|
|
156
|
+
OPEN: "OPEN";
|
|
157
157
|
SCHEDULED: "SCHEDULED";
|
|
158
158
|
}>>;
|
|
159
159
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -177,7 +177,7 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
177
177
|
payment_method: zod.ZodOptional<zod.ZodString>;
|
|
178
178
|
created_by: zod.ZodOptional<zod.ZodString>;
|
|
179
179
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
180
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
180
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
181
181
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
182
182
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
183
183
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -198,13 +198,13 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
198
198
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
199
199
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
200
200
|
PENDING: "PENDING";
|
|
201
|
-
OPEN: "OPEN";
|
|
202
|
-
DRAFT: "DRAFT";
|
|
203
201
|
APPROVED: "APPROVED";
|
|
204
202
|
REJECTED: "REJECTED";
|
|
205
203
|
PAID: "PAID";
|
|
206
204
|
CANCELED: "CANCELED";
|
|
205
|
+
DRAFT: "DRAFT";
|
|
207
206
|
FAILED: "FAILED";
|
|
207
|
+
OPEN: "OPEN";
|
|
208
208
|
SCHEDULED: "SCHEDULED";
|
|
209
209
|
}>>;
|
|
210
210
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -228,7 +228,7 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
228
228
|
payment_method: zod.ZodOptional<zod.ZodString>;
|
|
229
229
|
created_by: zod.ZodOptional<zod.ZodString>;
|
|
230
230
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
231
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
231
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
232
232
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
233
233
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
234
234
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -246,13 +246,13 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
246
246
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
247
247
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
248
248
|
PENDING: "PENDING";
|
|
249
|
-
OPEN: "OPEN";
|
|
250
|
-
DRAFT: "DRAFT";
|
|
251
249
|
APPROVED: "APPROVED";
|
|
252
250
|
REJECTED: "REJECTED";
|
|
253
251
|
PAID: "PAID";
|
|
254
252
|
CANCELED: "CANCELED";
|
|
253
|
+
DRAFT: "DRAFT";
|
|
255
254
|
FAILED: "FAILED";
|
|
255
|
+
OPEN: "OPEN";
|
|
256
256
|
SCHEDULED: "SCHEDULED";
|
|
257
257
|
}>>;
|
|
258
258
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -276,7 +276,7 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
276
276
|
payment_method: zod.ZodOptional<zod.ZodString>;
|
|
277
277
|
created_by: zod.ZodOptional<zod.ZodString>;
|
|
278
278
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
279
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
279
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
280
280
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
281
281
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
282
282
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -294,13 +294,13 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
294
294
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
295
295
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
296
296
|
PENDING: "PENDING";
|
|
297
|
-
OPEN: "OPEN";
|
|
298
|
-
DRAFT: "DRAFT";
|
|
299
297
|
APPROVED: "APPROVED";
|
|
300
298
|
REJECTED: "REJECTED";
|
|
301
299
|
PAID: "PAID";
|
|
302
300
|
CANCELED: "CANCELED";
|
|
301
|
+
DRAFT: "DRAFT";
|
|
303
302
|
FAILED: "FAILED";
|
|
303
|
+
OPEN: "OPEN";
|
|
304
304
|
SCHEDULED: "SCHEDULED";
|
|
305
305
|
}>>;
|
|
306
306
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -324,7 +324,7 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
324
324
|
payment_method: zod.ZodOptional<zod.ZodString>;
|
|
325
325
|
created_by: zod.ZodOptional<zod.ZodString>;
|
|
326
326
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
327
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
327
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
328
328
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
329
329
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
330
330
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -342,13 +342,13 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
342
342
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
343
343
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
344
344
|
PENDING: "PENDING";
|
|
345
|
-
OPEN: "OPEN";
|
|
346
|
-
DRAFT: "DRAFT";
|
|
347
345
|
APPROVED: "APPROVED";
|
|
348
346
|
REJECTED: "REJECTED";
|
|
349
347
|
PAID: "PAID";
|
|
350
348
|
CANCELED: "CANCELED";
|
|
349
|
+
DRAFT: "DRAFT";
|
|
351
350
|
FAILED: "FAILED";
|
|
351
|
+
OPEN: "OPEN";
|
|
352
352
|
SCHEDULED: "SCHEDULED";
|
|
353
353
|
}>>;
|
|
354
354
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -372,7 +372,7 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
372
372
|
payment_method: zod.ZodOptional<zod.ZodString>;
|
|
373
373
|
created_by: zod.ZodOptional<zod.ZodString>;
|
|
374
374
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
375
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
375
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
376
376
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
377
377
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
378
378
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/bills.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { 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 } from "./bills-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { n as unmapRampMoney, t as omitUndefined } from "./shared-
|
|
2
|
+
import { 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 } from "./bills-D7vZ5JRH.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { n as unmapRampMoney, t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bills.ts
|
|
7
7
|
const listBills = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-bills",
|
|
9
9
|
name: "List Bills",
|
|
10
10
|
description: "List Ramp bills (bill-pay invoices). Supports filtering by vendor, status, entity, and date range.",
|
|
11
11
|
input: rampBillListInputSchema,
|
|
@@ -25,7 +25,7 @@ const listBills = rampOperation({
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
const getBill = rampOperation({
|
|
28
|
-
id: "
|
|
28
|
+
id: "ramp.get-bill",
|
|
29
29
|
name: "Get Bill",
|
|
30
30
|
description: "Fetch a single Ramp bill by id.",
|
|
31
31
|
input: rampBillGetInputSchema,
|
|
@@ -36,7 +36,7 @@ const getBill = rampOperation({
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
const createBill = rampOperation({
|
|
39
|
-
id: "
|
|
39
|
+
id: "ramp.create-bill",
|
|
40
40
|
name: "Create Bill",
|
|
41
41
|
description: "Create a new Ramp bill for a vendor.",
|
|
42
42
|
input: rampBillCreateInputSchema,
|
|
@@ -65,7 +65,7 @@ const createBill = rampOperation({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
const updateBill = rampOperation({
|
|
68
|
-
id: "
|
|
68
|
+
id: "ramp.update-bill",
|
|
69
69
|
name: "Update Bill",
|
|
70
70
|
description: "Update memo or date fields on an existing Ramp bill.",
|
|
71
71
|
input: rampBillUpdateInputSchema,
|
|
@@ -82,7 +82,7 @@ const updateBill = rampOperation({
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
const approveBill = rampOperation({
|
|
85
|
-
id: "
|
|
85
|
+
id: "ramp.approve-bill",
|
|
86
86
|
name: "Approve Bill",
|
|
87
87
|
description: "Approve a pending Ramp bill for payment.",
|
|
88
88
|
input: rampBillApproveInputSchema,
|
|
@@ -98,7 +98,7 @@ const approveBill = rampOperation({
|
|
|
98
98
|
}
|
|
99
99
|
});
|
|
100
100
|
const rejectBill = rampOperation({
|
|
101
|
-
id: "
|
|
101
|
+
id: "ramp.reject-bill",
|
|
102
102
|
name: "Reject Bill",
|
|
103
103
|
description: "Reject a pending Ramp bill.",
|
|
104
104
|
input: rampBillRejectInputSchema,
|
|
@@ -114,7 +114,7 @@ const rejectBill = rampOperation({
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
const cancelBill = rampOperation({
|
|
117
|
-
id: "
|
|
117
|
+
id: "ramp.cancel-bill",
|
|
118
118
|
name: "Cancel Bill",
|
|
119
119
|
description: "Cancel a Ramp bill before it has been paid.",
|
|
120
120
|
input: rampBillCancelInputSchema,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
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/business.ts
|
package/dist/business.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/business.d.ts
|
|
@@ -19,7 +19,7 @@ declare const getBusiness: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$
|
|
|
19
19
|
amountCents: z.ZodNumber;
|
|
20
20
|
currency: z.ZodString;
|
|
21
21
|
}, z.core.$strip>>;
|
|
22
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
22
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
23
23
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
24
24
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
25
25
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
package/dist/business.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { t as rampBusinessSchema } from "./business-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
2
|
+
import { t as rampBusinessSchema } from "./business-DAD870OI.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/business.ts
|
|
7
7
|
const getBusiness = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.get-business",
|
|
9
9
|
name: "Get Business",
|
|
10
10
|
description: "Fetch the business record associated with the connected Ramp credential.",
|
|
11
11
|
input: z.object({}),
|
package/dist/card-programs.d.mts
CHANGED
|
@@ -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
|
|
|
@@ -25,7 +25,7 @@ declare const listCardPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
25
25
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
26
26
|
next: zod.ZodOptional<zod.ZodString>;
|
|
27
27
|
}, zod_v4_core0.$strip>>;
|
|
28
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
28
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
29
29
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
30
30
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
31
31
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -45,7 +45,7 @@ declare const getCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
45
45
|
interval: zod.ZodOptional<zod.ZodString>;
|
|
46
46
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
47
47
|
}, zod_v4_core0.$loose>>;
|
|
48
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
48
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
49
49
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
50
50
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
51
51
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -81,7 +81,7 @@ declare const createCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
81
81
|
interval: zod.ZodOptional<zod.ZodString>;
|
|
82
82
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
83
83
|
}, zod_v4_core0.$loose>>;
|
|
84
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
84
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
85
85
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
86
86
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
87
87
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/card-programs.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { c as rampCardProgramListInputSchema, l as rampCardProgramListSchema, o as rampCardProgramCreateInputSchema, s as rampCardProgramGetInputSchema, u as rampCardProgramSchema } from "./cards-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { c as rampCardProgramListInputSchema, l as rampCardProgramListSchema, o as rampCardProgramCreateInputSchema, s as rampCardProgramGetInputSchema, u as rampCardProgramSchema } from "./cards-DNZQtrd7.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/card-programs.ts
|
|
7
7
|
const listCardPrograms = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-card-programs",
|
|
9
9
|
name: "List Card Programs",
|
|
10
10
|
description: "List all Ramp card programs configured for the connected business.",
|
|
11
11
|
input: rampCardProgramListInputSchema,
|
|
@@ -20,7 +20,7 @@ const listCardPrograms = rampOperation({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
const getCardProgram = rampOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "ramp.get-card-program",
|
|
24
24
|
name: "Get Card Program",
|
|
25
25
|
description: "Fetch a Ramp card program by id.",
|
|
26
26
|
input: rampCardProgramGetInputSchema,
|
|
@@ -31,7 +31,7 @@ const getCardProgram = rampOperation({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
const createCardProgram = rampOperation({
|
|
34
|
-
id: "
|
|
34
|
+
id: "ramp.create-card-program",
|
|
35
35
|
name: "Create Card Program",
|
|
36
36
|
description: "Create a new Ramp card program with default spending controls.",
|
|
37
37
|
input: rampCardProgramCreateInputSchema,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
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/cards.ts
|
package/dist/cards.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/cards.d.ts
|
|
@@ -56,7 +56,7 @@ declare const listCards: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
56
56
|
page: z.ZodOptional<z.ZodObject<{
|
|
57
57
|
next: z.ZodOptional<z.ZodString>;
|
|
58
58
|
}, z.core.$strip>>;
|
|
59
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
59
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
60
60
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
61
61
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
62
62
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -98,7 +98,7 @@ declare const getCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
98
98
|
lock_date: z.ZodOptional<z.ZodString>;
|
|
99
99
|
}, z.core.$loose>>;
|
|
100
100
|
has_program_overridden: z.ZodOptional<z.ZodBoolean>;
|
|
101
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
101
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
102
102
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
103
103
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
104
104
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -127,7 +127,7 @@ declare const createVirtualCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
127
127
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
128
128
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
129
129
|
created_at: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
130
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
131
131
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
132
132
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
133
133
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -160,7 +160,7 @@ declare const createPhysicalCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
160
160
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
161
161
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
162
162
|
created_at: z.ZodOptional<z.ZodString>;
|
|
163
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
163
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
164
164
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
165
165
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
166
166
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -214,7 +214,7 @@ declare const updateCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
214
214
|
lock_date: z.ZodOptional<z.ZodString>;
|
|
215
215
|
}, z.core.$loose>>;
|
|
216
216
|
has_program_overridden: z.ZodOptional<z.ZodBoolean>;
|
|
217
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
217
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
218
218
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
219
219
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
220
220
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -227,7 +227,7 @@ declare const suspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
227
227
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
228
228
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
229
229
|
created_at: z.ZodOptional<z.ZodString>;
|
|
230
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
230
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
231
231
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
232
232
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
233
233
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -240,7 +240,7 @@ declare const unsuspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
240
240
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
241
241
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
242
242
|
created_at: z.ZodOptional<z.ZodString>;
|
|
243
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
243
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
244
244
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
245
245
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
246
246
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -254,7 +254,7 @@ declare const terminateCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
254
254
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
255
255
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
256
256
|
created_at: z.ZodOptional<z.ZodString>;
|
|
257
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
257
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
258
258
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
259
259
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
260
260
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -278,7 +278,7 @@ declare const listCardFundTransfers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
278
278
|
page: z.ZodOptional<z.ZodObject<{
|
|
279
279
|
next: z.ZodOptional<z.ZodString>;
|
|
280
280
|
}, z.core.$strip>>;
|
|
281
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
281
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
282
282
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
283
283
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
284
284
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
package/dist/cards.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, d as rampCardSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, v as rampUnsuspendCardInputSchema } from "./cards-
|
|
3
|
-
import { t as rampDeferredTaskSchema } from "./users-
|
|
4
|
-
import { t as rampOperation } from "./factory-
|
|
5
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, d as rampCardSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, v as rampUnsuspendCardInputSchema } from "./cards-DNZQtrd7.mjs";
|
|
3
|
+
import { t as rampDeferredTaskSchema } from "./users-Bx4SR4el.mjs";
|
|
4
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
5
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/cards.ts
|
|
9
9
|
const listCards = rampOperation({
|
|
10
|
-
id: "
|
|
10
|
+
id: "ramp.list-cards",
|
|
11
11
|
name: "List Cards",
|
|
12
12
|
description: "List Ramp cards, optionally filtered by cardholder, entity, card program, or state.",
|
|
13
13
|
input: rampCardListInputSchema,
|
|
@@ -26,7 +26,7 @@ const listCards = rampOperation({
|
|
|
26
26
|
}
|
|
27
27
|
});
|
|
28
28
|
const getCard = rampOperation({
|
|
29
|
-
id: "
|
|
29
|
+
id: "ramp.get-card",
|
|
30
30
|
name: "Get Card",
|
|
31
31
|
description: "Fetch a Ramp card by id.",
|
|
32
32
|
input: rampCardGetInputSchema,
|
|
@@ -37,7 +37,7 @@ const getCard = rampOperation({
|
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
39
|
const createVirtualCard = rampOperation({
|
|
40
|
-
id: "
|
|
40
|
+
id: "ramp.create-virtual-card",
|
|
41
41
|
name: "Create Virtual Card",
|
|
42
42
|
description: "Create a new virtual Ramp card for an existing user.",
|
|
43
43
|
input: rampCreateVirtualCardInputSchema,
|
|
@@ -54,7 +54,7 @@ const createVirtualCard = rampOperation({
|
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
56
|
const createPhysicalCard = rampOperation({
|
|
57
|
-
id: "
|
|
57
|
+
id: "ramp.create-physical-card",
|
|
58
58
|
name: "Create Physical Card",
|
|
59
59
|
description: "Order a physical Ramp card for an existing user.",
|
|
60
60
|
input: rampCreatePhysicalCardInputSchema,
|
|
@@ -71,7 +71,7 @@ const createPhysicalCard = rampOperation({
|
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
const updateCard = rampOperation({
|
|
74
|
-
id: "
|
|
74
|
+
id: "ramp.update-card",
|
|
75
75
|
name: "Update Card",
|
|
76
76
|
description: "Update display name or spending restrictions on an existing Ramp card.",
|
|
77
77
|
input: rampCardUpdateInputSchema,
|
|
@@ -88,7 +88,7 @@ const updateCard = rampOperation({
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
const suspendCard = rampOperation({
|
|
91
|
-
id: "
|
|
91
|
+
id: "ramp.suspend-card",
|
|
92
92
|
name: "Suspend Card",
|
|
93
93
|
description: "Temporarily suspend a Ramp card. Issues a deferred task.",
|
|
94
94
|
input: rampSuspendCardInputSchema,
|
|
@@ -103,7 +103,7 @@ const suspendCard = rampOperation({
|
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
const unsuspendCard = rampOperation({
|
|
106
|
-
id: "
|
|
106
|
+
id: "ramp.unsuspend-card",
|
|
107
107
|
name: "Unsuspend Card",
|
|
108
108
|
description: "Restore a previously suspended Ramp card. Issues a deferred task.",
|
|
109
109
|
input: rampUnsuspendCardInputSchema,
|
|
@@ -118,7 +118,7 @@ const unsuspendCard = rampOperation({
|
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
120
|
const terminateCard = rampOperation({
|
|
121
|
-
id: "
|
|
121
|
+
id: "ramp.terminate-card",
|
|
122
122
|
name: "Terminate Card",
|
|
123
123
|
description: "Permanently terminate a Ramp card. This is irreversible.",
|
|
124
124
|
input: rampTerminateCardInputSchema,
|
|
@@ -135,7 +135,7 @@ const terminateCard = rampOperation({
|
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
137
|
const listCardFundTransfers = rampOperation({
|
|
138
|
-
id: "
|
|
138
|
+
id: "ramp.list-card-fund-transfers",
|
|
139
139
|
name: "List Card Fund Transfers",
|
|
140
140
|
description: "List fund transfers associated with Ramp cards.",
|
|
141
141
|
input: z.object({
|
package/dist/cashbacks.d.mts
CHANGED
|
@@ -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
|
|
|
@@ -21,7 +21,7 @@ declare const listCashbacks: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
21
21
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
22
22
|
next: zod.ZodOptional<zod.ZodString>;
|
|
23
23
|
}, zod_v4_core0.$strip>>;
|
|
24
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
24
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
25
25
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
26
26
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
27
27
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -37,7 +37,7 @@ declare const getCashback: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
37
37
|
status: zod.ZodOptional<zod.ZodString>;
|
|
38
38
|
granted_date: zod.ZodOptional<zod.ZodString>;
|
|
39
39
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
40
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
40
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
41
41
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
42
42
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
43
43
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/cashbacks.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { i as rampCashbackSchema, n as rampCashbackListInputSchema, r as rampCashbackListSchema, t as rampCashbackGetInputSchema } from "./transfers-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { i as rampCashbackSchema, n as rampCashbackListInputSchema, r as rampCashbackListSchema, t as rampCashbackGetInputSchema } from "./transfers-C-76qq3o.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/cashbacks.ts
|
|
7
7
|
const listCashbacks = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-cashbacks",
|
|
9
9
|
name: "List Cashbacks",
|
|
10
10
|
description: "List cashback credits granted to the connected Ramp business.",
|
|
11
11
|
input: rampCashbackListInputSchema,
|
|
@@ -19,7 +19,7 @@ const listCashbacks = rampOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const getCashback = rampOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "ramp.get-cashback",
|
|
23
23
|
name: "Get Cashback",
|
|
24
24
|
description: "Fetch a cashback credit by id.",
|
|
25
25
|
input: rampCashbackGetInputSchema,
|
package/dist/client.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as RampCredentials } from "./integration-
|
|
2
|
-
import { t as RampErrorKind } from "./errors-
|
|
1
|
+
import { n as RampCredentials } from "./integration-BTjaW9hR.mjs";
|
|
2
|
+
import { t as RampErrorKind } from "./errors-TrirAChI.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/client.d.ts
|
|
5
5
|
declare const RAMP_API_HOSTS: {
|
package/dist/client.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ramp } from "./integration-
|
|
1
|
+
import { n as ramp } from "./integration-BczMK0aE.mjs";
|
|
2
|
+
import { t as createErrorNormalizingProxy } from "./dist-Bbp6t-WQ.mjs";
|
|
2
3
|
import { CredentialRevokedError } from "@keystrokehq/core/errors";
|
|
3
|
-
import { createErrorNormalizingProxy } from "@keystrokehq/integration-authoring";
|
|
4
4
|
|
|
5
5
|
//#region src/client.ts
|
|
6
6
|
const RAMP_API_HOSTS = {
|
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as rampBundle, i as ramp, n as RampCredentials, o as rampOfficialIntegration, r as RampOAuthScope, t as RAMP_OAUTH_SCOPES } from "./integration-
|
|
1
|
+
import { a as rampBundle, i as ramp, n as RampCredentials, o as rampOfficialIntegration, r as RampOAuthScope, t as RAMP_OAUTH_SCOPES } from "./integration-BTjaW9hR.mjs";
|
|
2
2
|
export { RAMP_OAUTH_SCOPES, type RampCredentials, type RampOAuthScope, ramp, rampBundle, rampOfficialIntegration };
|
package/dist/connection.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-
|
|
1
|
+
import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-BczMK0aE.mjs";
|
|
2
2
|
|
|
3
3
|
export { RAMP_OAUTH_SCOPES, ramp, rampBundle, rampOfficialIntegration };
|