@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.
- package/dist/_official/index.d.mts +3 -8
- package/dist/_official/index.mjs +1 -1
- package/dist/accounting-fields.d.mts +15 -30
- package/dist/accounting-fields.mjs +3 -3
- package/dist/accounting-gl-accounts.d.mts +7 -14
- package/dist/accounting-gl-accounts.mjs +3 -3
- package/dist/{accounting-Ceh5QgHA.mjs → accounting-i6txC-MI.mjs} +1 -1
- package/dist/accounting-subsidiaries.d.mts +7 -14
- package/dist/accounting-subsidiaries.mjs +3 -3
- package/dist/accounting-sync.d.mts +7 -14
- package/dist/accounting-sync.mjs +3 -3
- package/dist/accounting-tracking-categories.d.mts +5 -10
- package/dist/accounting-tracking-categories.mjs +3 -3
- package/dist/accounting-vendors.d.mts +7 -14
- package/dist/accounting-vendors.mjs +3 -3
- package/dist/applications.d.mts +8 -13
- package/dist/applications.mjs +3 -3
- package/dist/{bills-D7vZ5JRH.mjs → bills-B8W9et3K.mjs} +1 -1
- package/dist/bills.d.mts +31 -46
- package/dist/bills.mjs +3 -3
- package/dist/{business-DAD870OI.mjs → business-CztnWUvt.mjs} +1 -1
- package/dist/business.d.mts +3 -6
- package/dist/business.mjs +2 -2
- package/dist/card-programs.d.mts +7 -14
- package/dist/card-programs.mjs +3 -3
- package/dist/{cards-DNZQtrd7.mjs → cards-BfgPcR38.mjs} +1 -1
- package/dist/cards.d.mts +19 -38
- package/dist/cards.mjs +4 -4
- package/dist/cashbacks.d.mts +5 -10
- package/dist/cashbacks.mjs +3 -3
- 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 +11 -22
- package/dist/departments.mjs +3 -3
- package/dist/entities.d.mts +5 -10
- package/dist/entities.mjs +3 -3
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{factory-hiMPmrYD.mjs → factory-buRnGG7Q.mjs} +2 -1
- package/dist/integration-BhMk85GK.mjs +116 -0
- package/dist/{integration-BTjaW9hR.d.mts → integration-DJ7sYLA2.d.mts} +6 -19
- package/dist/limits.d.mts +11 -22
- package/dist/limits.mjs +3 -3
- package/dist/locations.d.mts +11 -22
- package/dist/locations.mjs +3 -3
- package/dist/memos.d.mts +5 -10
- package/dist/memos.mjs +3 -3
- package/dist/{new-resources-Cj_YECLc.mjs → new-resources-BBJsJEjT.mjs} +1 -1
- package/dist/{organization-BdyZhkYN.mjs → organization-BSaEpvBn.mjs} +1 -1
- package/dist/purchase-orders.d.mts +8 -13
- package/dist/purchase-orders.mjs +3 -3
- package/dist/receipt-integrations.d.mts +5 -10
- package/dist/receipt-integrations.mjs +2 -2
- package/dist/{receipts-DKq5Kjhr.mjs → receipts-STq41c2M.mjs} +1 -1
- package/dist/receipts.d.mts +7 -14
- package/dist/receipts.mjs +3 -3
- package/dist/{reimbursements--xBvXROu.mjs → reimbursements-OknrZUMF.mjs} +1 -1
- package/dist/reimbursements.d.mts +8 -13
- package/dist/reimbursements.mjs +3 -3
- package/dist/schemas/index.d.mts +3 -3
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +5 -10
- package/dist/spend-programs.mjs +3 -3
- package/dist/spend-requests.d.mts +7 -14
- package/dist/spend-requests.mjs +3 -3
- package/dist/statements.d.mts +5 -10
- package/dist/statements.mjs +3 -3
- package/dist/{transactions-IIG8obly.mjs → transactions-Djd0oIGK.mjs} +1 -1
- package/dist/transactions.d.mts +12 -19
- package/dist/transactions.mjs +3 -3
- package/dist/{transfers-C-76qq3o.mjs → transfers-WBQZVdGP.mjs} +1 -1
- package/dist/transfers.d.mts +11 -16
- package/dist/transfers.mjs +3 -3
- package/dist/triggers/index.d.mts +3 -3
- package/dist/triggers/index.mjs +11 -11
- package/dist/unified-requests.d.mts +5 -10
- package/dist/unified-requests.mjs +3 -3
- package/dist/{users-Bx4SR4el.mjs → users-ufcXrfNK.mjs} +1 -1
- package/dist/users.d.mts +13 -26
- package/dist/users.mjs +3 -3
- package/dist/vendor-bank-accounts.d.mts +11 -22
- package/dist/vendor-bank-accounts.mjs +3 -3
- package/dist/{vendors-lAh0yain.mjs → vendors-Bx1cgXwC.mjs} +1 -1
- package/dist/{vendors-De3fNIYJ.d.mts → vendors-gH-w9b_R.d.mts} +32 -32
- package/dist/vendors.d.mts +11 -22
- package/dist/vendors.mjs +3 -3
- package/dist/verification.mjs +1 -1
- package/dist/{webhook-CzjBDCWU.mjs → webhook-CsbvcgrC.mjs} +1 -1
- package/dist/{webhooks-mgmt--fU1Uxfa.mjs → webhooks-mgmt-d1xgVpWx.mjs} +1 -1
- package/dist/webhooks.d.mts +11 -22
- package/dist/webhooks.mjs +3 -3
- package/package.json +5 -5
- package/dist/dist-Bbp6t-WQ.mjs +0 -74
- package/dist/integration-BczMK0aE.mjs +0 -216
- /package/dist/{common-Dune7BHS.mjs → common-CUpmNYXw.mjs} +0 -0
- /package/dist/{errors-TrirAChI.d.mts → errors-CIJf9-v0.d.mts} +0 -0
- /package/dist/{shared-3DudrK5L.mjs → shared-CTTtP5gv.mjs} +0 -0
- /package/dist/{webhook-sde3Ui2N.d.mts → webhook-Bp38YQE9.d.mts} +0 -0
package/dist/receipts.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
|
|
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/receipts.d.ts
|
|
@@ -22,11 +21,9 @@ declare const listReceipts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
21
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
23
22
|
next: zod.ZodOptional<zod.ZodString>;
|
|
24
23
|
}, zod_v4_core0.$strip>>;
|
|
25
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
26
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
24
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
28
25
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
29
|
-
}, zod_v4_core0.$strip>>
|
|
26
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
30
27
|
declare const getReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
31
28
|
receiptId: zod.ZodString;
|
|
32
29
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -35,11 +32,9 @@ declare const getReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
35
32
|
transaction_id: zod.ZodOptional<zod.ZodString>;
|
|
36
33
|
receipt_url: zod.ZodOptional<zod.ZodString>;
|
|
37
34
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
38
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
35
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
39
36
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
40
|
-
}, zod_v4_core0.$strip
|
|
41
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
42
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
37
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
43
38
|
declare const uploadReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
44
39
|
user_id: zod.ZodString;
|
|
45
40
|
transaction_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -53,10 +48,8 @@ declare const uploadReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
53
48
|
transaction_id: zod.ZodOptional<zod.ZodString>;
|
|
54
49
|
receipt_url: zod.ZodOptional<zod.ZodString>;
|
|
55
50
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
56
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
57
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
58
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
51
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
59
52
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
60
|
-
}, zod_v4_core0.$strip>>
|
|
53
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
61
54
|
//#endregion
|
|
62
55
|
export { getReceipt, listReceipts, uploadReceipt };
|
package/dist/receipts.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, o as rampReceiptListSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema } from "./receipts-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, o as rampReceiptListSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/receipts.ts
|
|
7
7
|
const listReceipts = rampOperation({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/reimbursements.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
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/reimbursements.d.ts
|
|
@@ -8,11 +7,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
7
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
9
8
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
10
9
|
PENDING: "PENDING";
|
|
10
|
+
DRAFT: "DRAFT";
|
|
11
11
|
APPROVED: "APPROVED";
|
|
12
12
|
REJECTED: "REJECTED";
|
|
13
13
|
PAID: "PAID";
|
|
14
14
|
CANCELED: "CANCELED";
|
|
15
|
-
DRAFT: "DRAFT";
|
|
16
15
|
}>>;
|
|
17
16
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
18
17
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -32,11 +31,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
32
31
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
33
32
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
34
33
|
PENDING: "PENDING";
|
|
34
|
+
DRAFT: "DRAFT";
|
|
35
35
|
APPROVED: "APPROVED";
|
|
36
36
|
REJECTED: "REJECTED";
|
|
37
37
|
PAID: "PAID";
|
|
38
38
|
CANCELED: "CANCELED";
|
|
39
|
-
DRAFT: "DRAFT";
|
|
40
39
|
}>>;
|
|
41
40
|
receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
42
41
|
accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -48,11 +47,9 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
48
47
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
49
48
|
next: zod.ZodOptional<zod.ZodString>;
|
|
50
49
|
}, zod_v4_core0.$strip>>;
|
|
51
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
52
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
53
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
50
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
54
51
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
|
-
}, zod_v4_core0.$strip>>
|
|
52
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
56
53
|
declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
57
54
|
reimbursementId: zod.ZodString;
|
|
58
55
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -68,11 +65,11 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
68
65
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
69
66
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
70
67
|
PENDING: "PENDING";
|
|
68
|
+
DRAFT: "DRAFT";
|
|
71
69
|
APPROVED: "APPROVED";
|
|
72
70
|
REJECTED: "REJECTED";
|
|
73
71
|
PAID: "PAID";
|
|
74
72
|
CANCELED: "CANCELED";
|
|
75
|
-
DRAFT: "DRAFT";
|
|
76
73
|
}>>;
|
|
77
74
|
receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
78
75
|
accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -80,10 +77,8 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
80
77
|
name: zod.ZodOptional<zod.ZodString>;
|
|
81
78
|
}, zod_v4_core0.$loose>>>;
|
|
82
79
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
83
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
84
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
85
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
80
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
86
81
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
87
|
-
}, zod_v4_core0.$strip>>
|
|
82
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
88
83
|
//#endregion
|
|
89
84
|
export { getReimbursement, listReimbursements };
|
package/dist/reimbursements.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "./reimbursements
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "./reimbursements-OknrZUMF.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/reimbursements.ts
|
|
7
7
|
const listReimbursements = rampOperation({
|
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-
|
|
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-
|
|
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-
|
|
1
|
+
import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-CIJf9-v0.mjs";
|
|
2
|
+
import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, i as RampWebhookChallenge, l as rampWebhookObjectSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampDocumentedWebhookEventTypeSchema, r as RampDocumentedWebhookEventType, s as rampWebhookChallengeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-Bp38YQE9.mjs";
|
|
3
|
+
import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-gH-w9b_R.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/schemas/accounting.d.ts
|
package/dist/schemas/index.mjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, d as rampResourceEnvelope, f as rampTimestampSchema, i as rampIdSchema, l as rampPageCursorSchema, n as rampCurrencyCodeSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema, s as rampMetadataSchema, t as rampAccountingConnectionIdSchema, u as rampPageInfoSchema } from "../common-
|
|
2
|
-
import { A as rampAccountingVendorUploadInputSchema, C as rampAccountingTrackingCategoryListInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, O as rampAccountingVendorListSchema, P as rampGlAccountSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, _ as rampAccountingSyncCreateInputSchema, a as rampAccountingFieldListSchema, b as rampAccountingSyncListSchema, c as rampAccountingFieldOptionSchema, d as rampAccountingFieldUpdateInputSchema, f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, i as rampAccountingFieldListInputSchema, j as rampGlAccountGetInputSchema, k as rampAccountingVendorSchema, l as rampAccountingFieldOptionUploadInputSchema, m as rampAccountingSubsidiaryListSchema, n as rampAccountingFieldDeleteInputSchema, o as rampAccountingFieldOptionListInputSchema, p as rampAccountingSubsidiaryListInputSchema, r as rampAccountingFieldGetInputSchema, s as rampAccountingFieldOptionListSchema, t as rampAccountingFieldCreateInputSchema, u as rampAccountingFieldSchema, v as rampAccountingSyncGetInputSchema, w as rampAccountingTrackingCategoryListSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "../accounting-
|
|
3
|
-
import { a as rampBillLineItemSchema, c as rampBillRejectInputSchema, d as rampBillUpdateInputSchema, i as rampBillGetInputSchema, l as rampBillSchema, n as rampBillCancelInputSchema, o as rampBillListInputSchema, r as rampBillCreateInputSchema, s as rampBillListSchema, t as rampBillApproveInputSchema, u as rampBillStatusSchema } from "../bills-
|
|
4
|
-
import { a as rampEntitySchema, c as rampSpendProgramListSchema, d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, g as rampSpendRequestStatusSchema, h as rampSpendRequestSchema, i as rampEntityListSchema, l as rampSpendProgramSchema, m as rampSpendRequestListSchema, n as rampEntityGetInputSchema, o as rampSpendProgramGetInputSchema, p as rampSpendRequestListInputSchema, r as rampEntityListInputSchema, s as rampSpendProgramListInputSchema, t as rampBusinessSchema, u as rampSpendRequestCommentCreateInputSchema } from "../business-
|
|
5
|
-
import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, c as rampCardProgramListInputSchema, d as rampCardSchema, f as rampCardStateSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, l as rampCardProgramListSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, o as rampCardProgramCreateInputSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, s as rampCardProgramGetInputSchema, t as rampCardFulfillmentSchema, u as rampCardProgramSchema, v as rampUnsuspendCardInputSchema } from "../cards-
|
|
6
|
-
import { a as rampApplicationStatusSchema, c as rampPurchaseOrderListSchema, d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, h as rampUnifiedRequestStatusSchema, i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema, n as rampApplicationListInputSchema, o as rampPurchaseOrderGetInputSchema, p as rampUnifiedRequestListSchema, r as rampApplicationListSchema, s as rampPurchaseOrderListInputSchema, t as rampApplicationGetInputSchema, u as rampPurchaseOrderStatusSchema } from "../new-resources-
|
|
7
|
-
import { C as rampMemoGetInputSchema, E as rampMemoSchema, S as rampLocationUpdateInputSchema, T as rampMemoListSchema, _ as rampLocationDeleteInputSchema, a as rampDepartmentListSchema, b as rampLocationListSchema, c as rampLimitCreateInputSchema, d as rampLimitIntervalSchema, f as rampLimitListInputSchema, g as rampLocationCreateInputSchema, h as rampLimitUpdateInputSchema, i as rampDepartmentListInputSchema, l as rampLimitDeleteInputSchema, m as rampLimitSchema, n as rampDepartmentDeleteInputSchema, o as rampDepartmentSchema, p as rampLimitListSchema, r as rampDepartmentGetInputSchema, s as rampDepartmentUpdateInputSchema, t as rampDepartmentCreateInputSchema, u as rampLimitGetInputSchema, v as rampLocationGetInputSchema, w as rampMemoListInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } from "../organization-
|
|
8
|
-
import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, d as rampStatementListSchema, f as rampStatementSchema, i as rampReceiptIntegrationOptedInSchema, l as rampStatementGetInputSchema, n as rampReceiptIntegrationOptInInputSchema, o as rampReceiptListSchema, r as rampReceiptIntegrationOptOutInputSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema, u as rampStatementListInputSchema } from "../receipts-
|
|
9
|
-
import { a as rampReimbursementStateSchema, i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "../reimbursements
|
|
10
|
-
import { a as rampTransactionStateSchema, i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "../transactions-
|
|
11
|
-
import { a as rampTransferGetInputSchema, c as rampTransferSchema, i as rampCashbackSchema, l as rampTransferStatusSchema, n as rampCashbackListInputSchema, o as rampTransferListInputSchema, r as rampCashbackListSchema, s as rampTransferListSchema, t as rampCashbackGetInputSchema } from "../transfers-
|
|
12
|
-
import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, l as rampUserStatusSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, s as rampUserRoleSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "../users-
|
|
13
|
-
import { a as rampVendorBankAccountListSchema, c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, i as rampVendorBankAccountListInputSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, p as rampVendorSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema, u as rampVendorGetInputSchema } from "../vendors-
|
|
14
|
-
import { a as rampWebhookEventEnvelopeSchema, i as rampWebhookChallengeSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampWebhookObjectSchema, r as rampDocumentedWebhookEventTypeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-
|
|
15
|
-
import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "../webhooks-mgmt
|
|
1
|
+
import { a as rampListPaginationInputSchema, c as rampMoneySchema, d as rampResourceEnvelope, f as rampTimestampSchema, i as rampIdSchema, l as rampPageCursorSchema, n as rampCurrencyCodeSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema, s as rampMetadataSchema, t as rampAccountingConnectionIdSchema, u as rampPageInfoSchema } from "../common-CUpmNYXw.mjs";
|
|
2
|
+
import { A as rampAccountingVendorUploadInputSchema, C as rampAccountingTrackingCategoryListInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, O as rampAccountingVendorListSchema, P as rampGlAccountSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, _ as rampAccountingSyncCreateInputSchema, a as rampAccountingFieldListSchema, b as rampAccountingSyncListSchema, c as rampAccountingFieldOptionSchema, d as rampAccountingFieldUpdateInputSchema, f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, i as rampAccountingFieldListInputSchema, j as rampGlAccountGetInputSchema, k as rampAccountingVendorSchema, l as rampAccountingFieldOptionUploadInputSchema, m as rampAccountingSubsidiaryListSchema, n as rampAccountingFieldDeleteInputSchema, o as rampAccountingFieldOptionListInputSchema, p as rampAccountingSubsidiaryListInputSchema, r as rampAccountingFieldGetInputSchema, s as rampAccountingFieldOptionListSchema, t as rampAccountingFieldCreateInputSchema, u as rampAccountingFieldSchema, v as rampAccountingSyncGetInputSchema, w as rampAccountingTrackingCategoryListSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "../accounting-i6txC-MI.mjs";
|
|
3
|
+
import { a as rampBillLineItemSchema, c as rampBillRejectInputSchema, d as rampBillUpdateInputSchema, i as rampBillGetInputSchema, l as rampBillSchema, n as rampBillCancelInputSchema, o as rampBillListInputSchema, r as rampBillCreateInputSchema, s as rampBillListSchema, t as rampBillApproveInputSchema, u as rampBillStatusSchema } from "../bills-B8W9et3K.mjs";
|
|
4
|
+
import { a as rampEntitySchema, c as rampSpendProgramListSchema, d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, g as rampSpendRequestStatusSchema, h as rampSpendRequestSchema, i as rampEntityListSchema, l as rampSpendProgramSchema, m as rampSpendRequestListSchema, n as rampEntityGetInputSchema, o as rampSpendProgramGetInputSchema, p as rampSpendRequestListInputSchema, r as rampEntityListInputSchema, s as rampSpendProgramListInputSchema, t as rampBusinessSchema, u as rampSpendRequestCommentCreateInputSchema } from "../business-CztnWUvt.mjs";
|
|
5
|
+
import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, c as rampCardProgramListInputSchema, d as rampCardSchema, f as rampCardStateSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, l as rampCardProgramListSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, o as rampCardProgramCreateInputSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, s as rampCardProgramGetInputSchema, t as rampCardFulfillmentSchema, u as rampCardProgramSchema, v as rampUnsuspendCardInputSchema } from "../cards-BfgPcR38.mjs";
|
|
6
|
+
import { a as rampApplicationStatusSchema, c as rampPurchaseOrderListSchema, d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, h as rampUnifiedRequestStatusSchema, i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema, n as rampApplicationListInputSchema, o as rampPurchaseOrderGetInputSchema, p as rampUnifiedRequestListSchema, r as rampApplicationListSchema, s as rampPurchaseOrderListInputSchema, t as rampApplicationGetInputSchema, u as rampPurchaseOrderStatusSchema } from "../new-resources-BBJsJEjT.mjs";
|
|
7
|
+
import { C as rampMemoGetInputSchema, E as rampMemoSchema, S as rampLocationUpdateInputSchema, T as rampMemoListSchema, _ as rampLocationDeleteInputSchema, a as rampDepartmentListSchema, b as rampLocationListSchema, c as rampLimitCreateInputSchema, d as rampLimitIntervalSchema, f as rampLimitListInputSchema, g as rampLocationCreateInputSchema, h as rampLimitUpdateInputSchema, i as rampDepartmentListInputSchema, l as rampLimitDeleteInputSchema, m as rampLimitSchema, n as rampDepartmentDeleteInputSchema, o as rampDepartmentSchema, p as rampLimitListSchema, r as rampDepartmentGetInputSchema, s as rampDepartmentUpdateInputSchema, t as rampDepartmentCreateInputSchema, u as rampLimitGetInputSchema, v as rampLocationGetInputSchema, w as rampMemoListInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } from "../organization-BSaEpvBn.mjs";
|
|
8
|
+
import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, d as rampStatementListSchema, f as rampStatementSchema, i as rampReceiptIntegrationOptedInSchema, l as rampStatementGetInputSchema, n as rampReceiptIntegrationOptInInputSchema, o as rampReceiptListSchema, r as rampReceiptIntegrationOptOutInputSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema, u as rampStatementListInputSchema } from "../receipts-STq41c2M.mjs";
|
|
9
|
+
import { a as rampReimbursementStateSchema, i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "../reimbursements-OknrZUMF.mjs";
|
|
10
|
+
import { a as rampTransactionStateSchema, i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "../transactions-Djd0oIGK.mjs";
|
|
11
|
+
import { a as rampTransferGetInputSchema, c as rampTransferSchema, i as rampCashbackSchema, l as rampTransferStatusSchema, n as rampCashbackListInputSchema, o as rampTransferListInputSchema, r as rampCashbackListSchema, s as rampTransferListSchema, t as rampCashbackGetInputSchema } from "../transfers-WBQZVdGP.mjs";
|
|
12
|
+
import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, l as rampUserStatusSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, s as rampUserRoleSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "../users-ufcXrfNK.mjs";
|
|
13
|
+
import { a as rampVendorBankAccountListSchema, c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, i as rampVendorBankAccountListInputSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, p as rampVendorSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema, u as rampVendorGetInputSchema } from "../vendors-Bx1cgXwC.mjs";
|
|
14
|
+
import { a as rampWebhookEventEnvelopeSchema, i as rampWebhookChallengeSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampWebhookObjectSchema, r as rampDocumentedWebhookEventTypeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-CsbvcgrC.mjs";
|
|
15
|
+
import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "../webhooks-mgmt-d1xgVpWx.mjs";
|
|
16
16
|
import { z } from "zod";
|
|
17
17
|
|
|
18
18
|
//#region src/schemas/errors.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
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/spend-programs.d.ts
|
|
@@ -22,11 +21,9 @@ declare const listSpendPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
21
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
23
22
|
next: zod.ZodOptional<zod.ZodString>;
|
|
24
23
|
}, zod_v4_core0.$strip>>;
|
|
25
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
24
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
26
25
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip
|
|
28
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
29
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
30
27
|
declare const getSpendProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
31
28
|
spendProgramId: zod.ZodString;
|
|
32
29
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -39,10 +36,8 @@ declare const getSpendProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
39
36
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
40
37
|
interval: zod.ZodOptional<zod.ZodString>;
|
|
41
38
|
}, zod_v4_core0.$loose>>;
|
|
42
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
43
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
44
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
39
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
45
40
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
46
|
-
}, zod_v4_core0.$strip>>
|
|
41
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
47
42
|
//#endregion
|
|
48
43
|
export { getSpendProgram, listSpendPrograms };
|
package/dist/spend-programs.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/spend-programs.ts
|
|
7
7
|
const listSpendPrograms = rampOperation({
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
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/spend-requests.d.ts
|
|
@@ -42,11 +41,9 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
42
41
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
43
42
|
next: zod.ZodOptional<zod.ZodString>;
|
|
44
43
|
}, zod_v4_core0.$strip>>;
|
|
45
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
46
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
47
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
44
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
48
45
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
49
|
-
}, zod_v4_core0.$strip>>
|
|
46
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
50
47
|
declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
51
48
|
spendRequestId: zod.ZodString;
|
|
52
49
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -71,11 +68,9 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
71
68
|
status: zod.ZodOptional<zod.ZodString>;
|
|
72
69
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
73
70
|
}, zod_v4_core0.$loose>>;
|
|
74
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
71
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
75
72
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
76
|
-
}, zod_v4_core0.$strip
|
|
77
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
78
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
73
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
79
74
|
declare const commentOnSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
80
75
|
spendRequestId: zod.ZodString;
|
|
81
76
|
body: zod.ZodString;
|
|
@@ -86,10 +81,8 @@ declare const commentOnSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<
|
|
|
86
81
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
87
82
|
body: zod.ZodOptional<zod.ZodString>;
|
|
88
83
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
89
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
90
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
91
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
84
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
92
85
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
93
|
-
}, zod_v4_core0.$strip>>
|
|
86
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
94
87
|
//#endregion
|
|
95
88
|
export { commentOnSpendRequest, getSpendRequest, listSpendRequests };
|
package/dist/spend-requests.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/spend-requests.ts
|
|
7
7
|
const listSpendRequests = rampOperation({
|
package/dist/statements.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
|
|
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/statements.d.ts
|
|
@@ -20,11 +19,9 @@ declare const listStatements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
20
19
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
21
20
|
next: zod.ZodOptional<zod.ZodString>;
|
|
22
21
|
}, zod_v4_core0.$strip>>;
|
|
23
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
22
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
24
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
25
|
-
}, zod_v4_core0.$strip
|
|
26
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
28
25
|
declare const getStatement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
29
26
|
statementId: zod.ZodString;
|
|
30
27
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -32,10 +29,8 @@ declare const getStatement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
32
29
|
statement_date: zod.ZodOptional<zod.ZodString>;
|
|
33
30
|
download_url: zod.ZodOptional<zod.ZodString>;
|
|
34
31
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
35
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
36
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
37
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
32
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
38
33
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
39
|
-
}, zod_v4_core0.$strip>>
|
|
34
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
40
35
|
//#endregion
|
|
41
36
|
export { getStatement, listStatements };
|
package/dist/statements.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/statements.ts
|
|
7
7
|
const listStatements = rampOperation({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/transactions.ts
|
package/dist/transactions.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/transactions.d.ts
|
|
6
5
|
declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -12,11 +11,11 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
12
11
|
user_id: z.ZodOptional<z.ZodString>;
|
|
13
12
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
14
13
|
state: z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
PENDING: "PENDING";
|
|
16
14
|
CLEARED: "CLEARED";
|
|
17
15
|
COMPLETION: "COMPLETION";
|
|
18
16
|
DECLINED: "DECLINED";
|
|
19
17
|
ERROR: "ERROR";
|
|
18
|
+
PENDING: "PENDING";
|
|
20
19
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
21
20
|
PROCESSING: "PROCESSING";
|
|
22
21
|
}>>;
|
|
@@ -49,11 +48,11 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
49
48
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
50
49
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
51
50
|
state: z.ZodOptional<z.ZodEnum<{
|
|
52
|
-
PENDING: "PENDING";
|
|
53
51
|
CLEARED: "CLEARED";
|
|
54
52
|
COMPLETION: "COMPLETION";
|
|
55
53
|
DECLINED: "DECLINED";
|
|
56
54
|
ERROR: "ERROR";
|
|
55
|
+
PENDING: "PENDING";
|
|
57
56
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
58
57
|
PROCESSING: "PROCESSING";
|
|
59
58
|
}>>;
|
|
@@ -67,11 +66,9 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
67
66
|
page: z.ZodOptional<z.ZodObject<{
|
|
68
67
|
next: z.ZodOptional<z.ZodString>;
|
|
69
68
|
}, z.core.$strip>>;
|
|
70
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
69
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
71
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
75
72
|
declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
76
73
|
transactionId: z.ZodString;
|
|
77
74
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -92,11 +89,11 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
92
89
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
93
90
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
94
91
|
state: z.ZodOptional<z.ZodEnum<{
|
|
95
|
-
PENDING: "PENDING";
|
|
96
92
|
CLEARED: "CLEARED";
|
|
97
93
|
COMPLETION: "COMPLETION";
|
|
98
94
|
DECLINED: "DECLINED";
|
|
99
95
|
ERROR: "ERROR";
|
|
96
|
+
PENDING: "PENDING";
|
|
100
97
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
101
98
|
PROCESSING: "PROCESSING";
|
|
102
99
|
}>>;
|
|
@@ -106,11 +103,9 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
106
103
|
amountCents: z.ZodNumber;
|
|
107
104
|
currency: z.ZodString;
|
|
108
105
|
}, z.core.$strip>>;
|
|
109
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
110
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
111
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
106
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
112
107
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
113
|
-
}, z.core.$strip>>
|
|
108
|
+
}, z.core.$strip>>], undefined>;
|
|
114
109
|
declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
115
110
|
department_id: z.ZodOptional<z.ZodString>;
|
|
116
111
|
location_id: z.ZodOptional<z.ZodString>;
|
|
@@ -120,11 +115,11 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
120
115
|
user_id: z.ZodOptional<z.ZodString>;
|
|
121
116
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
122
117
|
state: z.ZodOptional<z.ZodEnum<{
|
|
123
|
-
PENDING: "PENDING";
|
|
124
118
|
CLEARED: "CLEARED";
|
|
125
119
|
COMPLETION: "COMPLETION";
|
|
126
120
|
DECLINED: "DECLINED";
|
|
127
121
|
ERROR: "ERROR";
|
|
122
|
+
PENDING: "PENDING";
|
|
128
123
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
129
124
|
PROCESSING: "PROCESSING";
|
|
130
125
|
}>>;
|
|
@@ -157,11 +152,11 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
157
152
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
158
153
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
159
154
|
state: z.ZodOptional<z.ZodEnum<{
|
|
160
|
-
PENDING: "PENDING";
|
|
161
155
|
CLEARED: "CLEARED";
|
|
162
156
|
COMPLETION: "COMPLETION";
|
|
163
157
|
DECLINED: "DECLINED";
|
|
164
158
|
ERROR: "ERROR";
|
|
159
|
+
PENDING: "PENDING";
|
|
165
160
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
166
161
|
PROCESSING: "PROCESSING";
|
|
167
162
|
}>>;
|
|
@@ -172,10 +167,8 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
172
167
|
currency: z.ZodString;
|
|
173
168
|
}, z.core.$strip>>;
|
|
174
169
|
}, z.core.$loose>>;
|
|
175
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
176
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
177
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
170
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
178
171
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
179
|
-
}, z.core.$strip>>
|
|
172
|
+
}, z.core.$strip>>], undefined>;
|
|
180
173
|
//#endregion
|
|
181
174
|
export { getTransaction, listAllTransactions, listTransactions };
|
package/dist/transactions.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "./transactions-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "./transactions-Djd0oIGK.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/transactions.ts
|
|
@@ -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-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/transfers.ts
|
package/dist/transfers.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
|
|
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/transfers.d.ts
|
|
@@ -8,10 +7,10 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
7
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
9
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
10
9
|
PENDING: "PENDING";
|
|
11
|
-
CANCELED: "CANCELED";
|
|
12
10
|
PROCESSING: "PROCESSING";
|
|
13
|
-
|
|
11
|
+
CANCELED: "CANCELED";
|
|
14
12
|
FAILED: "FAILED";
|
|
13
|
+
COMPLETED: "COMPLETED";
|
|
15
14
|
}>>;
|
|
16
15
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
17
16
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -24,10 +23,10 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
24
23
|
}, zod_v4_core0.$strip>>;
|
|
25
24
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
26
25
|
PENDING: "PENDING";
|
|
27
|
-
CANCELED: "CANCELED";
|
|
28
26
|
PROCESSING: "PROCESSING";
|
|
29
|
-
|
|
27
|
+
CANCELED: "CANCELED";
|
|
30
28
|
FAILED: "FAILED";
|
|
29
|
+
COMPLETED: "COMPLETED";
|
|
31
30
|
}>>;
|
|
32
31
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
33
32
|
settled_at: zod.ZodOptional<zod.ZodString>;
|
|
@@ -38,11 +37,9 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
38
37
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
39
38
|
next: zod.ZodOptional<zod.ZodString>;
|
|
40
39
|
}, zod_v4_core0.$strip>>;
|
|
41
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
40
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
42
41
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
43
|
-
}, zod_v4_core0.$strip
|
|
44
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
45
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
42
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
46
43
|
declare const getTransfer: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
47
44
|
transferId: zod.ZodString;
|
|
48
45
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -53,20 +50,18 @@ declare const getTransfer: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
53
50
|
}, zod_v4_core0.$strip>>;
|
|
54
51
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
55
52
|
PENDING: "PENDING";
|
|
56
|
-
CANCELED: "CANCELED";
|
|
57
53
|
PROCESSING: "PROCESSING";
|
|
58
|
-
|
|
54
|
+
CANCELED: "CANCELED";
|
|
59
55
|
FAILED: "FAILED";
|
|
56
|
+
COMPLETED: "COMPLETED";
|
|
60
57
|
}>>;
|
|
61
58
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
62
59
|
settled_at: zod.ZodOptional<zod.ZodString>;
|
|
63
60
|
source_account: zod.ZodOptional<zod.ZodString>;
|
|
64
61
|
destination_account: zod.ZodOptional<zod.ZodString>;
|
|
65
62
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
66
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
67
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
68
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
63
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
69
64
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
70
|
-
}, zod_v4_core0.$strip>>
|
|
65
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
71
66
|
//#endregion
|
|
72
67
|
export { getTransfer, listTransfers };
|
package/dist/transfers.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampTransferGetInputSchema, c as rampTransferSchema, o as rampTransferListInputSchema, s as rampTransferListSchema } from "./transfers-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { a as rampTransferGetInputSchema, c as rampTransferSchema, o as rampTransferListInputSchema, s as rampTransferListSchema } 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/transfers.ts
|
|
7
7
|
const listTransfers = rampOperation({
|