@keystrokehq/ramp 0.0.9 → 0.0.15

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 (100) hide show
  1. package/dist/_official/index.d.mts +3 -8
  2. package/dist/_official/index.mjs +1 -1
  3. package/dist/accounting-fields.d.mts +15 -30
  4. package/dist/accounting-fields.mjs +3 -3
  5. package/dist/accounting-gl-accounts.d.mts +7 -14
  6. package/dist/accounting-gl-accounts.mjs +3 -3
  7. package/dist/{accounting-Ceh5QgHA.mjs → accounting-i6txC-MI.mjs} +1 -1
  8. package/dist/accounting-subsidiaries.d.mts +7 -14
  9. package/dist/accounting-subsidiaries.mjs +3 -3
  10. package/dist/accounting-sync.d.mts +7 -14
  11. package/dist/accounting-sync.mjs +3 -3
  12. package/dist/accounting-tracking-categories.d.mts +5 -10
  13. package/dist/accounting-tracking-categories.mjs +3 -3
  14. package/dist/accounting-vendors.d.mts +7 -14
  15. package/dist/accounting-vendors.mjs +3 -3
  16. package/dist/applications.d.mts +8 -13
  17. package/dist/applications.mjs +3 -3
  18. package/dist/{bills-D7vZ5JRH.mjs → bills-B8W9et3K.mjs} +1 -1
  19. package/dist/bills.d.mts +31 -46
  20. package/dist/bills.mjs +3 -3
  21. package/dist/{business-DAD870OI.mjs → business-CztnWUvt.mjs} +1 -1
  22. package/dist/business.d.mts +3 -6
  23. package/dist/business.mjs +2 -2
  24. package/dist/card-programs.d.mts +7 -14
  25. package/dist/card-programs.mjs +3 -3
  26. package/dist/{cards-DNZQtrd7.mjs → cards-BfgPcR38.mjs} +1 -1
  27. package/dist/cards.d.mts +19 -38
  28. package/dist/cards.mjs +4 -4
  29. package/dist/cashbacks.d.mts +5 -10
  30. package/dist/cashbacks.mjs +3 -3
  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 +11 -22
  36. package/dist/departments.mjs +3 -3
  37. package/dist/entities.d.mts +5 -10
  38. package/dist/entities.mjs +3 -3
  39. package/dist/events.d.mts +1 -1
  40. package/dist/events.mjs +1 -1
  41. package/dist/{factory-hiMPmrYD.mjs → factory-buRnGG7Q.mjs} +2 -1
  42. package/dist/integration-BhMk85GK.mjs +116 -0
  43. package/dist/{integration-BTjaW9hR.d.mts → integration-DJ7sYLA2.d.mts} +6 -19
  44. package/dist/limits.d.mts +11 -22
  45. package/dist/limits.mjs +3 -3
  46. package/dist/locations.d.mts +11 -22
  47. package/dist/locations.mjs +3 -3
  48. package/dist/memos.d.mts +5 -10
  49. package/dist/memos.mjs +3 -3
  50. package/dist/{new-resources-Cj_YECLc.mjs → new-resources-BBJsJEjT.mjs} +1 -1
  51. package/dist/{organization-BdyZhkYN.mjs → organization-BSaEpvBn.mjs} +1 -1
  52. package/dist/purchase-orders.d.mts +8 -13
  53. package/dist/purchase-orders.mjs +3 -3
  54. package/dist/receipt-integrations.d.mts +5 -10
  55. package/dist/receipt-integrations.mjs +2 -2
  56. package/dist/{receipts-DKq5Kjhr.mjs → receipts-STq41c2M.mjs} +1 -1
  57. package/dist/receipts.d.mts +7 -14
  58. package/dist/receipts.mjs +3 -3
  59. package/dist/{reimbursements--xBvXROu.mjs → reimbursements-OknrZUMF.mjs} +1 -1
  60. package/dist/reimbursements.d.mts +8 -13
  61. package/dist/reimbursements.mjs +3 -3
  62. package/dist/schemas/index.d.mts +3 -3
  63. package/dist/schemas/index.mjs +15 -15
  64. package/dist/spend-programs.d.mts +5 -10
  65. package/dist/spend-programs.mjs +3 -3
  66. package/dist/spend-requests.d.mts +7 -14
  67. package/dist/spend-requests.mjs +3 -3
  68. package/dist/statements.d.mts +5 -10
  69. package/dist/statements.mjs +3 -3
  70. package/dist/{transactions-IIG8obly.mjs → transactions-Djd0oIGK.mjs} +1 -1
  71. package/dist/transactions.d.mts +12 -19
  72. package/dist/transactions.mjs +3 -3
  73. package/dist/{transfers-C-76qq3o.mjs → transfers-WBQZVdGP.mjs} +1 -1
  74. package/dist/transfers.d.mts +11 -16
  75. package/dist/transfers.mjs +3 -3
  76. package/dist/triggers/index.d.mts +3 -3
  77. package/dist/triggers/index.mjs +11 -11
  78. package/dist/unified-requests.d.mts +5 -10
  79. package/dist/unified-requests.mjs +3 -3
  80. package/dist/{users-Bx4SR4el.mjs → users-ufcXrfNK.mjs} +1 -1
  81. package/dist/users.d.mts +13 -26
  82. package/dist/users.mjs +3 -3
  83. package/dist/vendor-bank-accounts.d.mts +11 -22
  84. package/dist/vendor-bank-accounts.mjs +3 -3
  85. package/dist/{vendors-lAh0yain.mjs → vendors-Bx1cgXwC.mjs} +1 -1
  86. package/dist/{vendors-De3fNIYJ.d.mts → vendors-gH-w9b_R.d.mts} +32 -32
  87. package/dist/vendors.d.mts +11 -22
  88. package/dist/vendors.mjs +3 -3
  89. package/dist/verification.mjs +1 -1
  90. package/dist/{webhook-CzjBDCWU.mjs → webhook-CsbvcgrC.mjs} +1 -1
  91. package/dist/{webhooks-mgmt--fU1Uxfa.mjs → webhooks-mgmt-d1xgVpWx.mjs} +1 -1
  92. package/dist/webhooks.d.mts +11 -22
  93. package/dist/webhooks.mjs +3 -3
  94. package/package.json +5 -5
  95. package/dist/dist-Bbp6t-WQ.mjs +0 -74
  96. package/dist/integration-BczMK0aE.mjs +0 -216
  97. /package/dist/{common-Dune7BHS.mjs → common-CUpmNYXw.mjs} +0 -0
  98. /package/dist/{errors-TrirAChI.d.mts → errors-CIJf9-v0.d.mts} +0 -0
  99. /package/dist/{shared-3DudrK5L.mjs → shared-CTTtP5gv.mjs} +0 -0
  100. /package/dist/{webhook-sde3Ui2N.d.mts → webhook-Bp38YQE9.d.mts} +0 -0
package/dist/bills.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import * as zod from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
  import * as zod_v4_core0 from "zod/v4/core";
5
4
 
6
5
  //#region src/bills.d.ts
@@ -8,13 +7,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
8
7
  vendor_id: zod.ZodOptional<zod.ZodString>;
9
8
  status: zod.ZodOptional<zod.ZodEnum<{
10
9
  PENDING: "PENDING";
10
+ OPEN: "OPEN";
11
+ DRAFT: "DRAFT";
11
12
  APPROVED: "APPROVED";
12
13
  REJECTED: "REJECTED";
13
14
  PAID: "PAID";
14
15
  CANCELED: "CANCELED";
15
- DRAFT: "DRAFT";
16
16
  FAILED: "FAILED";
17
- OPEN: "OPEN";
18
17
  SCHEDULED: "SCHEDULED";
19
18
  }>>;
20
19
  entity_id: zod.ZodOptional<zod.ZodString>;
@@ -33,13 +32,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
33
32
  memo: zod.ZodOptional<zod.ZodString>;
34
33
  status: zod.ZodOptional<zod.ZodEnum<{
35
34
  PENDING: "PENDING";
35
+ OPEN: "OPEN";
36
+ DRAFT: "DRAFT";
36
37
  APPROVED: "APPROVED";
37
38
  REJECTED: "REJECTED";
38
39
  PAID: "PAID";
39
40
  CANCELED: "CANCELED";
40
- DRAFT: "DRAFT";
41
41
  FAILED: "FAILED";
42
- OPEN: "OPEN";
43
42
  SCHEDULED: "SCHEDULED";
44
43
  }>>;
45
44
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -67,11 +66,9 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
67
66
  page: zod.ZodOptional<zod.ZodObject<{
68
67
  next: zod.ZodOptional<zod.ZodString>;
69
68
  }, zod_v4_core0.$strip>>;
70
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
71
- RAMP_ACCESS_TOKEN: zod.ZodString;
72
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
69
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
73
70
  RAMP_ACCESS_TOKEN: zod.ZodString;
74
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
71
+ }, zod_v4_core0.$strip>>], undefined>;
75
72
  declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
76
73
  billId: zod.ZodString;
77
74
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -84,13 +81,13 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
84
81
  memo: zod.ZodOptional<zod.ZodString>;
85
82
  status: zod.ZodOptional<zod.ZodEnum<{
86
83
  PENDING: "PENDING";
84
+ OPEN: "OPEN";
85
+ DRAFT: "DRAFT";
87
86
  APPROVED: "APPROVED";
88
87
  REJECTED: "REJECTED";
89
88
  PAID: "PAID";
90
89
  CANCELED: "CANCELED";
91
- DRAFT: "DRAFT";
92
90
  FAILED: "FAILED";
93
- OPEN: "OPEN";
94
91
  SCHEDULED: "SCHEDULED";
95
92
  }>>;
96
93
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -114,11 +111,9 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
114
111
  payment_method: zod.ZodOptional<zod.ZodString>;
115
112
  created_by: zod.ZodOptional<zod.ZodString>;
116
113
  created_at: zod.ZodOptional<zod.ZodString>;
117
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
118
- RAMP_ACCESS_TOKEN: zod.ZodString;
119
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
114
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
120
115
  RAMP_ACCESS_TOKEN: zod.ZodString;
121
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
116
+ }, zod_v4_core0.$strip>>], undefined>;
122
117
  declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
123
118
  vendor_id: zod.ZodString;
124
119
  invoice_number: zod.ZodOptional<zod.ZodString>;
@@ -147,13 +142,13 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
147
142
  memo: zod.ZodOptional<zod.ZodString>;
148
143
  status: zod.ZodOptional<zod.ZodEnum<{
149
144
  PENDING: "PENDING";
145
+ OPEN: "OPEN";
146
+ DRAFT: "DRAFT";
150
147
  APPROVED: "APPROVED";
151
148
  REJECTED: "REJECTED";
152
149
  PAID: "PAID";
153
150
  CANCELED: "CANCELED";
154
- DRAFT: "DRAFT";
155
151
  FAILED: "FAILED";
156
- OPEN: "OPEN";
157
152
  SCHEDULED: "SCHEDULED";
158
153
  }>>;
159
154
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -177,11 +172,9 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
177
172
  payment_method: zod.ZodOptional<zod.ZodString>;
178
173
  created_by: zod.ZodOptional<zod.ZodString>;
179
174
  created_at: zod.ZodOptional<zod.ZodString>;
180
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
181
- RAMP_ACCESS_TOKEN: zod.ZodString;
182
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
175
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
183
176
  RAMP_ACCESS_TOKEN: zod.ZodString;
184
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
177
+ }, zod_v4_core0.$strip>>], undefined>;
185
178
  declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
186
179
  billId: zod.ZodString;
187
180
  memo: zod.ZodOptional<zod.ZodString>;
@@ -198,13 +191,13 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
198
191
  memo: zod.ZodOptional<zod.ZodString>;
199
192
  status: zod.ZodOptional<zod.ZodEnum<{
200
193
  PENDING: "PENDING";
194
+ OPEN: "OPEN";
195
+ DRAFT: "DRAFT";
201
196
  APPROVED: "APPROVED";
202
197
  REJECTED: "REJECTED";
203
198
  PAID: "PAID";
204
199
  CANCELED: "CANCELED";
205
- DRAFT: "DRAFT";
206
200
  FAILED: "FAILED";
207
- OPEN: "OPEN";
208
201
  SCHEDULED: "SCHEDULED";
209
202
  }>>;
210
203
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -228,11 +221,9 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
228
221
  payment_method: zod.ZodOptional<zod.ZodString>;
229
222
  created_by: zod.ZodOptional<zod.ZodString>;
230
223
  created_at: zod.ZodOptional<zod.ZodString>;
231
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
232
- RAMP_ACCESS_TOKEN: zod.ZodString;
233
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
224
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
234
225
  RAMP_ACCESS_TOKEN: zod.ZodString;
235
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
226
+ }, zod_v4_core0.$strip>>], undefined>;
236
227
  declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
237
228
  billId: zod.ZodString;
238
229
  memo: zod.ZodOptional<zod.ZodString>;
@@ -246,13 +237,13 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
246
237
  memo: zod.ZodOptional<zod.ZodString>;
247
238
  status: zod.ZodOptional<zod.ZodEnum<{
248
239
  PENDING: "PENDING";
240
+ OPEN: "OPEN";
241
+ DRAFT: "DRAFT";
249
242
  APPROVED: "APPROVED";
250
243
  REJECTED: "REJECTED";
251
244
  PAID: "PAID";
252
245
  CANCELED: "CANCELED";
253
- DRAFT: "DRAFT";
254
246
  FAILED: "FAILED";
255
- OPEN: "OPEN";
256
247
  SCHEDULED: "SCHEDULED";
257
248
  }>>;
258
249
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -276,11 +267,9 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
276
267
  payment_method: zod.ZodOptional<zod.ZodString>;
277
268
  created_by: zod.ZodOptional<zod.ZodString>;
278
269
  created_at: zod.ZodOptional<zod.ZodString>;
279
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
280
- RAMP_ACCESS_TOKEN: zod.ZodString;
281
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
270
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
282
271
  RAMP_ACCESS_TOKEN: zod.ZodString;
283
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
272
+ }, zod_v4_core0.$strip>>], undefined>;
284
273
  declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
285
274
  billId: zod.ZodString;
286
275
  memo: zod.ZodOptional<zod.ZodString>;
@@ -294,13 +283,13 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
294
283
  memo: zod.ZodOptional<zod.ZodString>;
295
284
  status: zod.ZodOptional<zod.ZodEnum<{
296
285
  PENDING: "PENDING";
286
+ OPEN: "OPEN";
287
+ DRAFT: "DRAFT";
297
288
  APPROVED: "APPROVED";
298
289
  REJECTED: "REJECTED";
299
290
  PAID: "PAID";
300
291
  CANCELED: "CANCELED";
301
- DRAFT: "DRAFT";
302
292
  FAILED: "FAILED";
303
- OPEN: "OPEN";
304
293
  SCHEDULED: "SCHEDULED";
305
294
  }>>;
306
295
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -324,11 +313,9 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
324
313
  payment_method: zod.ZodOptional<zod.ZodString>;
325
314
  created_by: zod.ZodOptional<zod.ZodString>;
326
315
  created_at: zod.ZodOptional<zod.ZodString>;
327
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
328
- RAMP_ACCESS_TOKEN: zod.ZodString;
329
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
316
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
330
317
  RAMP_ACCESS_TOKEN: zod.ZodString;
331
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
318
+ }, zod_v4_core0.$strip>>], undefined>;
332
319
  declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
333
320
  billId: zod.ZodString;
334
321
  memo: zod.ZodOptional<zod.ZodString>;
@@ -342,13 +329,13 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
342
329
  memo: zod.ZodOptional<zod.ZodString>;
343
330
  status: zod.ZodOptional<zod.ZodEnum<{
344
331
  PENDING: "PENDING";
332
+ OPEN: "OPEN";
333
+ DRAFT: "DRAFT";
345
334
  APPROVED: "APPROVED";
346
335
  REJECTED: "REJECTED";
347
336
  PAID: "PAID";
348
337
  CANCELED: "CANCELED";
349
- DRAFT: "DRAFT";
350
338
  FAILED: "FAILED";
351
- OPEN: "OPEN";
352
339
  SCHEDULED: "SCHEDULED";
353
340
  }>>;
354
341
  amount: zod.ZodOptional<zod.ZodObject<{
@@ -372,10 +359,8 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
372
359
  payment_method: zod.ZodOptional<zod.ZodString>;
373
360
  created_by: zod.ZodOptional<zod.ZodString>;
374
361
  created_at: zod.ZodOptional<zod.ZodString>;
375
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
376
- RAMP_ACCESS_TOKEN: zod.ZodString;
377
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
362
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
378
363
  RAMP_ACCESS_TOKEN: zod.ZodString;
379
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
364
+ }, zod_v4_core0.$strip>>], undefined>;
380
365
  //#endregion
381
366
  export { approveBill, cancelBill, createBill, getBill, listBills, rejectBill, updateBill };
package/dist/bills.mjs CHANGED
@@ -1,7 +1,7 @@
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-D7vZ5JRH.mjs";
3
- import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
- import { n as unmapRampMoney, t as omitUndefined } from "./shared-3DudrK5L.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-B8W9et3K.mjs";
3
+ import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
4
+ import { n as unmapRampMoney, t as omitUndefined } from "./shared-CTTtP5gv.mjs";
5
5
 
6
6
  //#region src/bills.ts
7
7
  const listBills = rampOperation({
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/business.ts
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/business.d.ts
6
5
  declare const getBusiness: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
@@ -19,10 +18,8 @@ declare const getBusiness: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$
19
18
  amountCents: z.ZodNumber;
20
19
  currency: z.ZodString;
21
20
  }, z.core.$strip>>;
22
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
23
- RAMP_ACCESS_TOKEN: z.ZodString;
24
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
21
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
25
22
  RAMP_ACCESS_TOKEN: z.ZodString;
26
- }, z.core.$strip>>[] | undefined>], undefined>;
23
+ }, z.core.$strip>>], undefined>;
27
24
  //#endregion
28
25
  export { getBusiness };
package/dist/business.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createRampClient } from "./client.mjs";
2
- import { t as rampBusinessSchema } from "./business-DAD870OI.mjs";
3
- import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
2
+ import { t as rampBusinessSchema } from "./business-CztnWUvt.mjs";
3
+ import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/business.ts
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import * as zod from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
  import * as zod_v4_core0 from "zod/v4/core";
5
4
 
6
5
  //#region src/card-programs.d.ts
@@ -25,11 +24,9 @@ declare const listCardPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
25
24
  page: zod.ZodOptional<zod.ZodObject<{
26
25
  next: zod.ZodOptional<zod.ZodString>;
27
26
  }, zod_v4_core0.$strip>>;
28
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
29
- RAMP_ACCESS_TOKEN: zod.ZodString;
30
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
27
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
31
28
  RAMP_ACCESS_TOKEN: zod.ZodString;
32
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
29
+ }, zod_v4_core0.$strip>>], undefined>;
33
30
  declare const getCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
34
31
  cardProgramId: zod.ZodString;
35
32
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -45,11 +42,9 @@ declare const getCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
45
42
  interval: zod.ZodOptional<zod.ZodString>;
46
43
  currency: zod.ZodOptional<zod.ZodString>;
47
44
  }, zod_v4_core0.$loose>>;
48
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
45
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
49
46
  RAMP_ACCESS_TOKEN: zod.ZodString;
50
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
51
- RAMP_ACCESS_TOKEN: zod.ZodString;
52
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
47
+ }, zod_v4_core0.$strip>>], undefined>;
53
48
  declare const createCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
54
49
  display_name: zod.ZodString;
55
50
  description: zod.ZodOptional<zod.ZodString>;
@@ -81,10 +76,8 @@ declare const createCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
81
76
  interval: zod.ZodOptional<zod.ZodString>;
82
77
  currency: zod.ZodOptional<zod.ZodString>;
83
78
  }, zod_v4_core0.$loose>>;
84
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
85
- RAMP_ACCESS_TOKEN: zod.ZodString;
86
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
79
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
87
80
  RAMP_ACCESS_TOKEN: zod.ZodString;
88
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
81
+ }, zod_v4_core0.$strip>>], undefined>;
89
82
  //#endregion
90
83
  export { createCardProgram, getCardProgram, listCardPrograms };
@@ -1,7 +1,7 @@
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-DNZQtrd7.mjs";
3
- import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
4
- import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
2
+ import { c as rampCardProgramListInputSchema, l as rampCardProgramListSchema, o as rampCardProgramCreateInputSchema, s as rampCardProgramGetInputSchema, u as rampCardProgramSchema } from "./cards-BfgPcR38.mjs";
3
+ import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
4
+ import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
5
5
 
6
6
  //#region src/card-programs.ts
7
7
  const listCardPrograms = rampOperation({
@@ -1,4 +1,4 @@
1
- import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
1
+ import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
2
2
  import { z } from "zod";
3
3
 
4
4
  //#region src/schemas/cards.ts
package/dist/cards.d.mts CHANGED
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/cards.d.ts
6
5
  declare const listCards: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -56,11 +55,9 @@ declare const listCards: _keystrokehq_core0.Operation<z.ZodObject<{
56
55
  page: z.ZodOptional<z.ZodObject<{
57
56
  next: z.ZodOptional<z.ZodString>;
58
57
  }, z.core.$strip>>;
59
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
60
- RAMP_ACCESS_TOKEN: z.ZodString;
61
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
58
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
62
59
  RAMP_ACCESS_TOKEN: z.ZodString;
63
- }, z.core.$strip>>[] | undefined>], undefined>;
60
+ }, z.core.$strip>>], undefined>;
64
61
  declare const getCard: _keystrokehq_core0.Operation<z.ZodObject<{
65
62
  cardId: z.ZodString;
66
63
  }, z.core.$strip>, z.ZodObject<{
@@ -98,11 +95,9 @@ declare const getCard: _keystrokehq_core0.Operation<z.ZodObject<{
98
95
  lock_date: z.ZodOptional<z.ZodString>;
99
96
  }, z.core.$loose>>;
100
97
  has_program_overridden: z.ZodOptional<z.ZodBoolean>;
101
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
98
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
102
99
  RAMP_ACCESS_TOKEN: z.ZodString;
103
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
104
- RAMP_ACCESS_TOKEN: z.ZodString;
105
- }, z.core.$strip>>[] | undefined>], undefined>;
100
+ }, z.core.$strip>>], undefined>;
106
101
  declare const createVirtualCard: _keystrokehq_core0.Operation<z.ZodObject<{
107
102
  display_name: z.ZodString;
108
103
  user_id: z.ZodString;
@@ -127,11 +122,9 @@ declare const createVirtualCard: _keystrokehq_core0.Operation<z.ZodObject<{
127
122
  data: z.ZodOptional<z.ZodUnknown>;
128
123
  error: z.ZodOptional<z.ZodUnknown>;
129
124
  created_at: z.ZodOptional<z.ZodString>;
130
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
131
- RAMP_ACCESS_TOKEN: z.ZodString;
132
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
125
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
133
126
  RAMP_ACCESS_TOKEN: z.ZodString;
134
- }, z.core.$strip>>[] | undefined>], undefined>;
127
+ }, z.core.$strip>>], undefined>;
135
128
  declare const createPhysicalCard: _keystrokehq_core0.Operation<z.ZodObject<{
136
129
  display_name: z.ZodString;
137
130
  user_id: z.ZodString;
@@ -160,11 +153,9 @@ declare const createPhysicalCard: _keystrokehq_core0.Operation<z.ZodObject<{
160
153
  data: z.ZodOptional<z.ZodUnknown>;
161
154
  error: z.ZodOptional<z.ZodUnknown>;
162
155
  created_at: z.ZodOptional<z.ZodString>;
163
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
164
- RAMP_ACCESS_TOKEN: z.ZodString;
165
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
156
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
166
157
  RAMP_ACCESS_TOKEN: z.ZodString;
167
- }, z.core.$strip>>[] | undefined>], undefined>;
158
+ }, z.core.$strip>>], undefined>;
168
159
  declare const updateCard: _keystrokehq_core0.Operation<z.ZodObject<{
169
160
  cardId: z.ZodString;
170
161
  display_name: z.ZodOptional<z.ZodString>;
@@ -214,11 +205,9 @@ declare const updateCard: _keystrokehq_core0.Operation<z.ZodObject<{
214
205
  lock_date: z.ZodOptional<z.ZodString>;
215
206
  }, z.core.$loose>>;
216
207
  has_program_overridden: z.ZodOptional<z.ZodBoolean>;
217
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
208
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
218
209
  RAMP_ACCESS_TOKEN: z.ZodString;
219
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
220
- RAMP_ACCESS_TOKEN: z.ZodString;
221
- }, z.core.$strip>>[] | undefined>], undefined>;
210
+ }, z.core.$strip>>], undefined>;
222
211
  declare const suspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
223
212
  cardId: z.ZodString;
224
213
  }, z.core.$strip>, z.ZodObject<{
@@ -227,11 +216,9 @@ declare const suspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
227
216
  data: z.ZodOptional<z.ZodUnknown>;
228
217
  error: z.ZodOptional<z.ZodUnknown>;
229
218
  created_at: z.ZodOptional<z.ZodString>;
230
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
231
- RAMP_ACCESS_TOKEN: z.ZodString;
232
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
219
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
233
220
  RAMP_ACCESS_TOKEN: z.ZodString;
234
- }, z.core.$strip>>[] | undefined>], undefined>;
221
+ }, z.core.$strip>>], undefined>;
235
222
  declare const unsuspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
236
223
  cardId: z.ZodString;
237
224
  }, z.core.$strip>, z.ZodObject<{
@@ -240,11 +227,9 @@ declare const unsuspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
240
227
  data: z.ZodOptional<z.ZodUnknown>;
241
228
  error: z.ZodOptional<z.ZodUnknown>;
242
229
  created_at: z.ZodOptional<z.ZodString>;
243
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
244
- RAMP_ACCESS_TOKEN: z.ZodString;
245
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
230
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
246
231
  RAMP_ACCESS_TOKEN: z.ZodString;
247
- }, z.core.$strip>>[] | undefined>], undefined>;
232
+ }, z.core.$strip>>], undefined>;
248
233
  declare const terminateCard: _keystrokehq_core0.Operation<z.ZodObject<{
249
234
  cardId: z.ZodString;
250
235
  idempotency_key: z.ZodOptional<z.ZodString>;
@@ -254,11 +239,9 @@ declare const terminateCard: _keystrokehq_core0.Operation<z.ZodObject<{
254
239
  data: z.ZodOptional<z.ZodUnknown>;
255
240
  error: z.ZodOptional<z.ZodUnknown>;
256
241
  created_at: z.ZodOptional<z.ZodString>;
257
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
242
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
258
243
  RAMP_ACCESS_TOKEN: z.ZodString;
259
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
260
- RAMP_ACCESS_TOKEN: z.ZodString;
261
- }, z.core.$strip>>[] | undefined>], undefined>;
244
+ }, z.core.$strip>>], undefined>;
262
245
  declare const listCardFundTransfers: _keystrokehq_core0.Operation<z.ZodObject<{
263
246
  card_id: z.ZodOptional<z.ZodString>;
264
247
  pageSize: z.ZodOptional<z.ZodNumber>;
@@ -278,10 +261,8 @@ declare const listCardFundTransfers: _keystrokehq_core0.Operation<z.ZodObject<{
278
261
  page: z.ZodOptional<z.ZodObject<{
279
262
  next: z.ZodOptional<z.ZodString>;
280
263
  }, z.core.$strip>>;
281
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
282
- RAMP_ACCESS_TOKEN: z.ZodString;
283
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
264
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
284
265
  RAMP_ACCESS_TOKEN: z.ZodString;
285
- }, z.core.$strip>>[] | undefined>], undefined>;
266
+ }, z.core.$strip>>], undefined>;
286
267
  //#endregion
287
268
  export { createPhysicalCard, createVirtualCard, getCard, listCardFundTransfers, listCards, suspendCard, terminateCard, unsuspendCard, updateCard };
package/dist/cards.mjs CHANGED
@@ -1,8 +1,8 @@
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-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";
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-BfgPcR38.mjs";
3
+ import { t as rampDeferredTaskSchema } from "./users-ufcXrfNK.mjs";
4
+ import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
5
+ import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
6
6
  import { z } from "zod";
7
7
 
8
8
  //#region src/cards.ts
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import * as zod from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
  import * as zod_v4_core0 from "zod/v4/core";
5
4
 
6
5
  //#region src/cashbacks.d.ts
@@ -21,11 +20,9 @@ declare const listCashbacks: _keystrokehq_core0.Operation<zod.ZodObject<{
21
20
  page: zod.ZodOptional<zod.ZodObject<{
22
21
  next: zod.ZodOptional<zod.ZodString>;
23
22
  }, zod_v4_core0.$strip>>;
24
- }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
23
+ }, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
25
24
  RAMP_ACCESS_TOKEN: zod.ZodString;
26
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
27
- RAMP_ACCESS_TOKEN: zod.ZodString;
28
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
25
+ }, zod_v4_core0.$strip>>], undefined>;
29
26
  declare const getCashback: _keystrokehq_core0.Operation<zod.ZodObject<{
30
27
  cashbackId: zod.ZodString;
31
28
  }, zod_v4_core0.$strip>, zod.ZodObject<{
@@ -37,10 +34,8 @@ declare const getCashback: _keystrokehq_core0.Operation<zod.ZodObject<{
37
34
  status: zod.ZodOptional<zod.ZodString>;
38
35
  granted_date: zod.ZodOptional<zod.ZodString>;
39
36
  entity_id: zod.ZodOptional<zod.ZodString>;
40
- }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
41
- RAMP_ACCESS_TOKEN: zod.ZodString;
42
- }, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
37
+ }, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
43
38
  RAMP_ACCESS_TOKEN: zod.ZodString;
44
- }, zod_v4_core0.$strip>>[] | undefined>], undefined>;
39
+ }, zod_v4_core0.$strip>>], undefined>;
45
40
  //#endregion
46
41
  export { getCashback, listCashbacks };
@@ -1,7 +1,7 @@
1
1
  import { createRampClient } from "./client.mjs";
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";
2
+ import { i as rampCashbackSchema, n as rampCashbackListInputSchema, r as rampCashbackListSchema, t as rampCashbackGetInputSchema } from "./transfers-WBQZVdGP.mjs";
3
+ import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
4
+ import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
5
5
 
6
6
  //#region src/cashbacks.ts
7
7
  const listCashbacks = rampOperation({
package/dist/client.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { n as RampCredentials } from "./integration-BTjaW9hR.mjs";
2
- import { t as RampErrorKind } from "./errors-TrirAChI.mjs";
1
+ import { n as RampCredentials } from "./integration-DJ7sYLA2.mjs";
2
+ import { t as RampErrorKind } from "./errors-CIJf9-v0.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-BczMK0aE.mjs";
2
- import { t as createErrorNormalizingProxy } from "./dist-Bbp6t-WQ.mjs";
1
+ import { n as ramp } from "./integration-BhMk85GK.mjs";
3
2
  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 = {
@@ -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-BTjaW9hR.mjs";
1
+ import { a as rampBundle, i as ramp, n as RampCredentials, o as rampOfficialIntegration, r as RampOAuthScope, t as RAMP_OAUTH_SCOPES } from "./integration-DJ7sYLA2.mjs";
2
2
  export { RAMP_OAUTH_SCOPES, type RampCredentials, type RampOAuthScope, ramp, rampBundle, rampOfficialIntegration };
@@ -1,3 +1,3 @@
1
- import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-BczMK0aE.mjs";
1
+ import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-BhMk85GK.mjs";
2
2
 
3
3
  export { RAMP_OAUTH_SCOPES, ramp, rampBundle, rampOfficialIntegration };
@@ -1,6 +1,5 @@
1
- import * as _keystrokehq_core0 from "@keystrokehq/core";
2
1
  import { z } from "zod";
3
- import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
2
+ import * as _keystrokehq_core0 from "@keystrokehq/core";
4
3
 
5
4
  //#region src/departments.d.ts
6
5
  declare const listDepartments: _keystrokehq_core0.Operation<z.ZodObject<{
@@ -14,50 +13,40 @@ declare const listDepartments: _keystrokehq_core0.Operation<z.ZodObject<{
14
13
  page: z.ZodOptional<z.ZodObject<{
15
14
  next: z.ZodOptional<z.ZodString>;
16
15
  }, z.core.$strip>>;
17
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
16
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
18
17
  RAMP_ACCESS_TOKEN: z.ZodString;
19
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
20
- RAMP_ACCESS_TOKEN: z.ZodString;
21
- }, z.core.$strip>>[] | undefined>], undefined>;
18
+ }, z.core.$strip>>], undefined>;
22
19
  declare const getDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
23
20
  departmentId: z.ZodString;
24
21
  }, z.core.$strip>, z.ZodObject<{
25
22
  id: z.ZodString;
26
23
  name: z.ZodOptional<z.ZodString>;
27
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
28
- RAMP_ACCESS_TOKEN: z.ZodString;
29
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
24
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
30
25
  RAMP_ACCESS_TOKEN: z.ZodString;
31
- }, z.core.$strip>>[] | undefined>], undefined>;
26
+ }, z.core.$strip>>], undefined>;
32
27
  declare const createDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
33
28
  name: z.ZodString;
34
29
  }, z.core.$strip>, z.ZodObject<{
35
30
  id: z.ZodString;
36
31
  name: z.ZodOptional<z.ZodString>;
37
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
32
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
38
33
  RAMP_ACCESS_TOKEN: z.ZodString;
39
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
40
- RAMP_ACCESS_TOKEN: z.ZodString;
41
- }, z.core.$strip>>[] | undefined>], undefined>;
34
+ }, z.core.$strip>>], undefined>;
42
35
  declare const updateDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
43
36
  departmentId: z.ZodString;
44
37
  name: z.ZodString;
45
38
  }, z.core.$strip>, z.ZodObject<{
46
39
  id: z.ZodString;
47
40
  name: z.ZodOptional<z.ZodString>;
48
- }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
49
- RAMP_ACCESS_TOKEN: z.ZodString;
50
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
41
+ }, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
51
42
  RAMP_ACCESS_TOKEN: z.ZodString;
52
- }, z.core.$strip>>[] | undefined>], undefined>;
43
+ }, z.core.$strip>>], undefined>;
53
44
  declare const deleteDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
54
45
  departmentId: z.ZodString;
55
46
  }, z.core.$strip>, z.ZodObject<{
56
47
  success: z.ZodBoolean;
57
- }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
58
- RAMP_ACCESS_TOKEN: z.ZodString;
59
- }, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
48
+ }, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
60
49
  RAMP_ACCESS_TOKEN: z.ZodString;
61
- }, z.core.$strip>>[] | undefined>], undefined>;
50
+ }, z.core.$strip>>], undefined>;
62
51
  //#endregion
63
52
  export { createDepartment, deleteDepartment, getDepartment, listDepartments, updateDepartment };