@keystrokehq/ramp 0.0.1
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/README.md +149 -0
- package/dist/_official/index.d.mts +3 -0
- package/dist/_official/index.mjs +3 -0
- package/dist/_runtime/index.d.mts +1 -0
- package/dist/_runtime/index.mjs +1 -0
- package/dist/accounting-fields.d.mts +116 -0
- package/dist/accounting-fields.mjs +108 -0
- package/dist/accounting-gl-accounts.d.mts +63 -0
- package/dist/accounting-gl-accounts.mjs +49 -0
- package/dist/accounting-i6txC-MI.mjs +116 -0
- package/dist/accounting-subsidiaries.d.mts +59 -0
- package/dist/accounting-subsidiaries.mjs +49 -0
- package/dist/accounting-sync.d.mts +57 -0
- package/dist/accounting-sync.mjs +51 -0
- package/dist/accounting-tracking-categories.d.mts +36 -0
- package/dist/accounting-tracking-categories.mjs +34 -0
- package/dist/accounting-vendors.d.mts +62 -0
- package/dist/accounting-vendors.mjs +49 -0
- package/dist/applications.d.mts +59 -0
- package/dist/applications.mjs +35 -0
- package/dist/bills-B8W9et3K.mjs +86 -0
- package/dist/bills.d.mts +381 -0
- package/dist/bills.mjs +134 -0
- package/dist/business-CztnWUvt.mjs +83 -0
- package/dist/business.d.mts +28 -0
- package/dist/business.mjs +20 -0
- package/dist/card-programs.d.mts +90 -0
- package/dist/card-programs.mjs +50 -0
- package/dist/cards-BfgPcR38.mjs +153 -0
- package/dist/cards.d.mts +287 -0
- package/dist/cards.mjs +166 -0
- package/dist/cashbacks.d.mts +46 -0
- package/dist/cashbacks.mjs +34 -0
- package/dist/client.d.mts +79 -0
- package/dist/client.mjs +248 -0
- package/dist/common-CUpmNYXw.mjs +64 -0
- package/dist/connection.d.mts +2 -0
- package/dist/connection.mjs +3 -0
- package/dist/departments.d.mts +63 -0
- package/dist/departments.mjs +79 -0
- package/dist/entities.d.mts +38 -0
- package/dist/entities.mjs +34 -0
- package/dist/errors-Sm92tugz.d.mts +42 -0
- package/dist/events.d.mts +30 -0
- package/dist/events.mjs +39 -0
- package/dist/factory-Da6YVHdL.mjs +15 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/integration-BGliAxAS.mjs +124 -0
- package/dist/integration-Dd6tOtSy.d.mts +47 -0
- package/dist/limits.d.mts +179 -0
- package/dist/limits.mjs +84 -0
- package/dist/locations.d.mts +69 -0
- package/dist/locations.mjs +80 -0
- package/dist/memos.d.mts +42 -0
- package/dist/memos.mjs +36 -0
- package/dist/messaging.d.mts +1 -0
- package/dist/messaging.mjs +1 -0
- package/dist/new-resources-BBJsJEjT.mjs +77 -0
- package/dist/organization-BSaEpvBn.mjs +103 -0
- package/dist/provider-app-JO525h-N.d.mts +45 -0
- package/dist/purchase-orders.d.mts +75 -0
- package/dist/purchase-orders.mjs +36 -0
- package/dist/receipt-integrations.d.mts +31 -0
- package/dist/receipt-integrations.mjs +38 -0
- package/dist/receipts-STq41c2M.mjs +53 -0
- package/dist/receipts.d.mts +62 -0
- package/dist/receipts.mjs +61 -0
- package/dist/reimbursements-OknrZUMF.mjs +37 -0
- package/dist/reimbursements.d.mts +89 -0
- package/dist/reimbursements.mjs +39 -0
- package/dist/schemas/index.d.mts +887 -0
- package/dist/schemas/index.mjs +56 -0
- package/dist/shared-CTTtP5gv.mjs +24 -0
- package/dist/spend-programs.d.mts +48 -0
- package/dist/spend-programs.mjs +34 -0
- package/dist/spend-requests.d.mts +95 -0
- package/dist/spend-requests.mjs +53 -0
- package/dist/statements.d.mts +41 -0
- package/dist/statements.mjs +37 -0
- package/dist/transactions-Djd0oIGK.mjs +53 -0
- package/dist/transactions.d.mts +181 -0
- package/dist/transactions.mjs +81 -0
- package/dist/transfers-WBQZVdGP.mjs +40 -0
- package/dist/transfers.d.mts +72 -0
- package/dist/transfers.mjs +36 -0
- package/dist/triggers/index.d.mts +81 -0
- package/dist/triggers/index.mjs +199 -0
- package/dist/unified-requests.d.mts +67 -0
- package/dist/unified-requests.mjs +37 -0
- package/dist/users-ufcXrfNK.mjs +74 -0
- package/dist/users.d.mts +204 -0
- package/dist/users.mjs +101 -0
- package/dist/vendor-bank-accounts.d.mts +110 -0
- package/dist/vendor-bank-accounts.mjs +83 -0
- package/dist/vendors-B7DQrlAn.d.mts +1116 -0
- package/dist/vendors-Bx1cgXwC.mjs +83 -0
- package/dist/vendors.d.mts +116 -0
- package/dist/vendors.mjs +84 -0
- package/dist/verification.d.mts +22 -0
- package/dist/verification.mjs +38 -0
- package/dist/webhook-CsbvcgrC.mjs +61 -0
- package/dist/webhook-sde3Ui2N.d.mts +68 -0
- package/dist/webhooks-mgmt-d1xgVpWx.mjs +35 -0
- package/dist/webhooks.d.mts +83 -0
- package/dist/webhooks.mjs +81 -0
- package/package.json +222 -0
|
@@ -0,0 +1,887 @@
|
|
|
1
|
+
import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-Sm92tugz.mjs";
|
|
2
|
+
import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, i as RampWebhookChallenge, l as rampWebhookObjectSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampDocumentedWebhookEventTypeSchema, r as RampDocumentedWebhookEventType, s as rampWebhookChallengeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-sde3Ui2N.mjs";
|
|
3
|
+
import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-B7DQrlAn.mjs";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
|
|
6
|
+
//#region src/schemas/accounting.d.ts
|
|
7
|
+
declare const rampAccountingFieldSchema: z.ZodObject<{
|
|
8
|
+
id: z.ZodString;
|
|
9
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10
|
+
field_type: z.ZodOptional<z.ZodString>;
|
|
11
|
+
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$loose>;
|
|
13
|
+
type RampAccountingField = z.infer<typeof rampAccountingFieldSchema>;
|
|
14
|
+
declare const rampAccountingFieldListInputSchema: z.ZodObject<{
|
|
15
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const rampAccountingFieldListSchema: z.ZodObject<{
|
|
19
|
+
data: z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodString;
|
|
21
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
field_type: z.ZodOptional<z.ZodString>;
|
|
23
|
+
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
next: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
}, z.core.$strip>;
|
|
29
|
+
declare const rampAccountingFieldGetInputSchema: z.ZodObject<{
|
|
30
|
+
fieldId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
declare const rampAccountingFieldCreateInputSchema: z.ZodObject<{
|
|
33
|
+
name: z.ZodString;
|
|
34
|
+
field_type: z.ZodString;
|
|
35
|
+
ramp_id: z.ZodOptional<z.ZodString>;
|
|
36
|
+
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
declare const rampAccountingFieldUpdateInputSchema: z.ZodObject<{
|
|
39
|
+
fieldId: z.ZodString;
|
|
40
|
+
name: z.ZodOptional<z.ZodString>;
|
|
41
|
+
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
declare const rampAccountingFieldDeleteInputSchema: z.ZodObject<{
|
|
44
|
+
fieldId: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
declare const rampAccountingFieldOptionSchema: z.ZodObject<{
|
|
47
|
+
id: z.ZodString;
|
|
48
|
+
ramp_id: z.ZodOptional<z.ZodString>;
|
|
49
|
+
name: z.ZodOptional<z.ZodString>;
|
|
50
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
51
|
+
}, z.core.$loose>;
|
|
52
|
+
type RampAccountingFieldOption = z.infer<typeof rampAccountingFieldOptionSchema>;
|
|
53
|
+
declare const rampAccountingFieldOptionListInputSchema: z.ZodObject<{
|
|
54
|
+
field_id: z.ZodString;
|
|
55
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
57
|
+
}, z.core.$strip>;
|
|
58
|
+
declare const rampAccountingFieldOptionListSchema: z.ZodObject<{
|
|
59
|
+
data: z.ZodArray<z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
ramp_id: z.ZodOptional<z.ZodString>;
|
|
62
|
+
name: z.ZodOptional<z.ZodString>;
|
|
63
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
64
|
+
}, z.core.$loose>>;
|
|
65
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
next: z.ZodOptional<z.ZodString>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
}, z.core.$strip>;
|
|
69
|
+
declare const rampAccountingFieldOptionUploadInputSchema: z.ZodObject<{
|
|
70
|
+
field_id: z.ZodString;
|
|
71
|
+
options: z.ZodArray<z.ZodObject<{
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
ramp_id: z.ZodOptional<z.ZodString>;
|
|
74
|
+
parent_id: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, z.core.$strip>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
declare const rampGlAccountSchema: z.ZodObject<{
|
|
78
|
+
id: z.ZodString;
|
|
79
|
+
name: z.ZodOptional<z.ZodString>;
|
|
80
|
+
code: z.ZodOptional<z.ZodString>;
|
|
81
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
82
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
+
}, z.core.$loose>;
|
|
84
|
+
type RampGlAccount = z.infer<typeof rampGlAccountSchema>;
|
|
85
|
+
declare const rampGlAccountListInputSchema: z.ZodObject<{
|
|
86
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
declare const rampGlAccountListSchema: z.ZodObject<{
|
|
90
|
+
data: z.ZodArray<z.ZodObject<{
|
|
91
|
+
id: z.ZodString;
|
|
92
|
+
name: z.ZodOptional<z.ZodString>;
|
|
93
|
+
code: z.ZodOptional<z.ZodString>;
|
|
94
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
95
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
96
|
+
}, z.core.$loose>>;
|
|
97
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
98
|
+
next: z.ZodOptional<z.ZodString>;
|
|
99
|
+
}, z.core.$strip>>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
declare const rampGlAccountGetInputSchema: z.ZodObject<{
|
|
102
|
+
glAccountId: z.ZodString;
|
|
103
|
+
}, z.core.$strip>;
|
|
104
|
+
declare const rampGlAccountUploadInputSchema: z.ZodObject<{
|
|
105
|
+
gl_accounts: z.ZodArray<z.ZodObject<{
|
|
106
|
+
name: z.ZodString;
|
|
107
|
+
code: z.ZodOptional<z.ZodString>;
|
|
108
|
+
classification: z.ZodOptional<z.ZodString>;
|
|
109
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
110
|
+
}, z.core.$strip>>;
|
|
111
|
+
}, z.core.$strip>;
|
|
112
|
+
declare const rampAccountingVendorSchema: z.ZodObject<{
|
|
113
|
+
id: z.ZodString;
|
|
114
|
+
name: z.ZodOptional<z.ZodString>;
|
|
115
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
116
|
+
ramp_vendor_id: z.ZodOptional<z.ZodString>;
|
|
117
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
}, z.core.$loose>;
|
|
119
|
+
type RampAccountingVendor = z.infer<typeof rampAccountingVendorSchema>;
|
|
120
|
+
declare const rampAccountingVendorListInputSchema: z.ZodObject<{
|
|
121
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
declare const rampAccountingVendorListSchema: z.ZodObject<{
|
|
125
|
+
data: z.ZodArray<z.ZodObject<{
|
|
126
|
+
id: z.ZodString;
|
|
127
|
+
name: z.ZodOptional<z.ZodString>;
|
|
128
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
129
|
+
ramp_vendor_id: z.ZodOptional<z.ZodString>;
|
|
130
|
+
active: z.ZodOptional<z.ZodBoolean>;
|
|
131
|
+
}, z.core.$loose>>;
|
|
132
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
next: z.ZodOptional<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>>;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
declare const rampAccountingVendorGetInputSchema: z.ZodObject<{
|
|
137
|
+
accountingVendorId: z.ZodString;
|
|
138
|
+
}, z.core.$strip>;
|
|
139
|
+
declare const rampAccountingVendorUploadInputSchema: z.ZodObject<{
|
|
140
|
+
vendors: z.ZodArray<z.ZodObject<{
|
|
141
|
+
name: z.ZodString;
|
|
142
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
143
|
+
ramp_vendor_id: z.ZodOptional<z.ZodString>;
|
|
144
|
+
}, z.core.$strip>>;
|
|
145
|
+
}, z.core.$strip>;
|
|
146
|
+
declare const rampAccountingSyncSchema: z.ZodObject<{
|
|
147
|
+
id: z.ZodString;
|
|
148
|
+
status: z.ZodOptional<z.ZodString>;
|
|
149
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
150
|
+
completed_at: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, z.core.$loose>;
|
|
152
|
+
type RampAccountingSync = z.infer<typeof rampAccountingSyncSchema>;
|
|
153
|
+
declare const rampAccountingSyncListInputSchema: z.ZodObject<{
|
|
154
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
155
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
declare const rampAccountingSyncListSchema: z.ZodObject<{
|
|
158
|
+
data: z.ZodArray<z.ZodObject<{
|
|
159
|
+
id: z.ZodString;
|
|
160
|
+
status: z.ZodOptional<z.ZodString>;
|
|
161
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
162
|
+
completed_at: z.ZodOptional<z.ZodString>;
|
|
163
|
+
}, z.core.$loose>>;
|
|
164
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
next: z.ZodOptional<z.ZodString>;
|
|
166
|
+
}, z.core.$strip>>;
|
|
167
|
+
}, z.core.$strip>;
|
|
168
|
+
declare const rampAccountingSyncGetInputSchema: z.ZodObject<{
|
|
169
|
+
syncId: z.ZodString;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
declare const rampAccountingSyncCreateInputSchema: z.ZodObject<{
|
|
172
|
+
sync_type: z.ZodEnum<{
|
|
173
|
+
BILL: "BILL";
|
|
174
|
+
CARD_TRANSACTION: "CARD_TRANSACTION";
|
|
175
|
+
REIMBURSEMENT: "REIMBURSEMENT";
|
|
176
|
+
TRANSFER: "TRANSFER";
|
|
177
|
+
STATEMENT_CREDIT: "STATEMENT_CREDIT";
|
|
178
|
+
}>;
|
|
179
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
declare const rampAccountingSubsidiarySchema: z.ZodObject<{
|
|
182
|
+
id: z.ZodString;
|
|
183
|
+
name: z.ZodOptional<z.ZodString>;
|
|
184
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
185
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
186
|
+
}, z.core.$loose>;
|
|
187
|
+
type RampAccountingSubsidiary = z.infer<typeof rampAccountingSubsidiarySchema>;
|
|
188
|
+
declare const rampAccountingSubsidiaryListInputSchema: z.ZodObject<{
|
|
189
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
191
|
+
}, z.core.$strip>;
|
|
192
|
+
declare const rampAccountingSubsidiaryListSchema: z.ZodObject<{
|
|
193
|
+
data: z.ZodArray<z.ZodObject<{
|
|
194
|
+
id: z.ZodString;
|
|
195
|
+
name: z.ZodOptional<z.ZodString>;
|
|
196
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
197
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
198
|
+
}, z.core.$loose>>;
|
|
199
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
200
|
+
next: z.ZodOptional<z.ZodString>;
|
|
201
|
+
}, z.core.$strip>>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
declare const rampAccountingSubsidiaryGetInputSchema: z.ZodObject<{
|
|
204
|
+
subsidiaryId: z.ZodString;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
declare const rampAccountingSubsidiaryUploadInputSchema: z.ZodObject<{
|
|
207
|
+
subsidiaries: z.ZodArray<z.ZodObject<{
|
|
208
|
+
name: z.ZodString;
|
|
209
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
210
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, z.core.$strip>>;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
declare const rampAccountingTrackingCategorySchema: z.ZodObject<{
|
|
214
|
+
id: z.ZodString;
|
|
215
|
+
name: z.ZodOptional<z.ZodString>;
|
|
216
|
+
ramp_id: z.ZodOptional<z.ZodString>;
|
|
217
|
+
}, z.core.$loose>;
|
|
218
|
+
type RampAccountingTrackingCategory = z.infer<typeof rampAccountingTrackingCategorySchema>;
|
|
219
|
+
declare const rampAccountingTrackingCategoryListInputSchema: z.ZodObject<{
|
|
220
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
declare const rampAccountingTrackingCategoryListSchema: z.ZodObject<{
|
|
224
|
+
data: z.ZodArray<z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
name: z.ZodOptional<z.ZodString>;
|
|
227
|
+
ramp_id: z.ZodOptional<z.ZodString>;
|
|
228
|
+
}, z.core.$loose>>;
|
|
229
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
230
|
+
next: z.ZodOptional<z.ZodString>;
|
|
231
|
+
}, z.core.$strip>>;
|
|
232
|
+
}, z.core.$strip>;
|
|
233
|
+
declare const rampAccountingTrackingCategoryGetInputSchema: z.ZodObject<{
|
|
234
|
+
trackingCategoryId: z.ZodString;
|
|
235
|
+
}, z.core.$strip>;
|
|
236
|
+
//#endregion
|
|
237
|
+
//#region src/schemas/cards.d.ts
|
|
238
|
+
declare const rampCardStateSchema: z.ZodEnum<{
|
|
239
|
+
ACTIVE: "ACTIVE";
|
|
240
|
+
CHIP_LOCKED: "CHIP_LOCKED";
|
|
241
|
+
SUSPENDED: "SUSPENDED";
|
|
242
|
+
TERMINATED: "TERMINATED";
|
|
243
|
+
UNACTIVATED: "UNACTIVATED";
|
|
244
|
+
}>;
|
|
245
|
+
declare const rampCardFulfillmentSchema: z.ZodEnum<{
|
|
246
|
+
VIRTUAL: "VIRTUAL";
|
|
247
|
+
PHYSICAL_STANDARD: "PHYSICAL_STANDARD";
|
|
248
|
+
PHYSICAL_CUSTOM: "PHYSICAL_CUSTOM";
|
|
249
|
+
PHYSICAL_METAL: "PHYSICAL_METAL";
|
|
250
|
+
}>;
|
|
251
|
+
declare const rampCardSchema: z.ZodObject<{
|
|
252
|
+
id: z.ZodString;
|
|
253
|
+
cardholder_id: z.ZodOptional<z.ZodString>;
|
|
254
|
+
cardholder_name: z.ZodOptional<z.ZodString>;
|
|
255
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
256
|
+
last_four: z.ZodOptional<z.ZodString>;
|
|
257
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
ACTIVE: "ACTIVE";
|
|
259
|
+
CHIP_LOCKED: "CHIP_LOCKED";
|
|
260
|
+
SUSPENDED: "SUSPENDED";
|
|
261
|
+
TERMINATED: "TERMINATED";
|
|
262
|
+
UNACTIVATED: "UNACTIVATED";
|
|
263
|
+
}>>;
|
|
264
|
+
fulfillment: z.ZodOptional<z.ZodObject<{
|
|
265
|
+
shipping: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
267
|
+
VIRTUAL: "VIRTUAL";
|
|
268
|
+
PHYSICAL_STANDARD: "PHYSICAL_STANDARD";
|
|
269
|
+
PHYSICAL_CUSTOM: "PHYSICAL_CUSTOM";
|
|
270
|
+
PHYSICAL_METAL: "PHYSICAL_METAL";
|
|
271
|
+
}>>;
|
|
272
|
+
recipient_address: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
273
|
+
}, z.core.$loose>>;
|
|
274
|
+
}, z.core.$loose>>;
|
|
275
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
276
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
277
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
278
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
279
|
+
interval: z.ZodOptional<z.ZodString>;
|
|
280
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
281
|
+
categories_blocked: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
283
|
+
lock_date: z.ZodOptional<z.ZodString>;
|
|
284
|
+
}, z.core.$loose>>;
|
|
285
|
+
has_program_overridden: z.ZodOptional<z.ZodBoolean>;
|
|
286
|
+
}, z.core.$loose>;
|
|
287
|
+
type RampCard = z.infer<typeof rampCardSchema>;
|
|
288
|
+
declare const rampCardListInputSchema: z.ZodObject<{
|
|
289
|
+
cardholder_id: z.ZodOptional<z.ZodString>;
|
|
290
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
291
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
292
|
+
ACTIVE: "ACTIVE";
|
|
293
|
+
CHIP_LOCKED: "CHIP_LOCKED";
|
|
294
|
+
SUSPENDED: "SUSPENDED";
|
|
295
|
+
TERMINATED: "TERMINATED";
|
|
296
|
+
UNACTIVATED: "UNACTIVATED";
|
|
297
|
+
}>>;
|
|
298
|
+
card_program_id: z.ZodOptional<z.ZodString>;
|
|
299
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
300
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
declare const rampCardListSchema: z.ZodObject<{
|
|
303
|
+
data: z.ZodArray<z.ZodObject<{
|
|
304
|
+
id: z.ZodString;
|
|
305
|
+
cardholder_id: z.ZodOptional<z.ZodString>;
|
|
306
|
+
cardholder_name: z.ZodOptional<z.ZodString>;
|
|
307
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
308
|
+
last_four: z.ZodOptional<z.ZodString>;
|
|
309
|
+
state: z.ZodOptional<z.ZodEnum<{
|
|
310
|
+
ACTIVE: "ACTIVE";
|
|
311
|
+
CHIP_LOCKED: "CHIP_LOCKED";
|
|
312
|
+
SUSPENDED: "SUSPENDED";
|
|
313
|
+
TERMINATED: "TERMINATED";
|
|
314
|
+
UNACTIVATED: "UNACTIVATED";
|
|
315
|
+
}>>;
|
|
316
|
+
fulfillment: z.ZodOptional<z.ZodObject<{
|
|
317
|
+
shipping: z.ZodOptional<z.ZodObject<{
|
|
318
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
319
|
+
VIRTUAL: "VIRTUAL";
|
|
320
|
+
PHYSICAL_STANDARD: "PHYSICAL_STANDARD";
|
|
321
|
+
PHYSICAL_CUSTOM: "PHYSICAL_CUSTOM";
|
|
322
|
+
PHYSICAL_METAL: "PHYSICAL_METAL";
|
|
323
|
+
}>>;
|
|
324
|
+
recipient_address: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
325
|
+
}, z.core.$loose>>;
|
|
326
|
+
}, z.core.$loose>>;
|
|
327
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
328
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
331
|
+
interval: z.ZodOptional<z.ZodString>;
|
|
332
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
333
|
+
categories_blocked: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
334
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
lock_date: z.ZodOptional<z.ZodString>;
|
|
336
|
+
}, z.core.$loose>>;
|
|
337
|
+
has_program_overridden: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
}, z.core.$loose>>;
|
|
339
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
340
|
+
next: z.ZodOptional<z.ZodString>;
|
|
341
|
+
}, z.core.$strip>>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
declare const rampCardGetInputSchema: z.ZodObject<{
|
|
344
|
+
cardId: z.ZodString;
|
|
345
|
+
}, z.core.$strip>;
|
|
346
|
+
declare const rampCreateVirtualCardInputSchema: z.ZodObject<{
|
|
347
|
+
display_name: z.ZodString;
|
|
348
|
+
user_id: z.ZodString;
|
|
349
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
350
|
+
amount: z.ZodNumber;
|
|
351
|
+
interval: z.ZodEnum<{
|
|
352
|
+
DAILY: "DAILY";
|
|
353
|
+
WEEKLY: "WEEKLY";
|
|
354
|
+
MONTHLY: "MONTHLY";
|
|
355
|
+
YEARLY: "YEARLY";
|
|
356
|
+
TOTAL: "TOTAL";
|
|
357
|
+
}>;
|
|
358
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
359
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
360
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
lock_date: z.ZodOptional<z.ZodString>;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
364
|
+
}, z.core.$strip>;
|
|
365
|
+
declare const rampCreatePhysicalCardInputSchema: z.ZodObject<{
|
|
366
|
+
display_name: z.ZodString;
|
|
367
|
+
user_id: z.ZodString;
|
|
368
|
+
fulfillment_type: z.ZodEnum<{
|
|
369
|
+
VIRTUAL: "VIRTUAL";
|
|
370
|
+
PHYSICAL_STANDARD: "PHYSICAL_STANDARD";
|
|
371
|
+
PHYSICAL_CUSTOM: "PHYSICAL_CUSTOM";
|
|
372
|
+
PHYSICAL_METAL: "PHYSICAL_METAL";
|
|
373
|
+
}>;
|
|
374
|
+
shipping_address: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
375
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
376
|
+
amount: z.ZodNumber;
|
|
377
|
+
interval: z.ZodEnum<{
|
|
378
|
+
DAILY: "DAILY";
|
|
379
|
+
WEEKLY: "WEEKLY";
|
|
380
|
+
MONTHLY: "MONTHLY";
|
|
381
|
+
YEARLY: "YEARLY";
|
|
382
|
+
TOTAL: "TOTAL";
|
|
383
|
+
}>;
|
|
384
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
385
|
+
}, z.core.$strip>>;
|
|
386
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, z.core.$strip>;
|
|
388
|
+
declare const rampTerminateCardInputSchema: z.ZodObject<{
|
|
389
|
+
cardId: z.ZodString;
|
|
390
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
391
|
+
}, z.core.$strip>;
|
|
392
|
+
declare const rampSuspendCardInputSchema: z.ZodObject<{
|
|
393
|
+
cardId: z.ZodString;
|
|
394
|
+
}, z.core.$strip>;
|
|
395
|
+
declare const rampUnsuspendCardInputSchema: z.ZodObject<{
|
|
396
|
+
cardId: z.ZodString;
|
|
397
|
+
}, z.core.$strip>;
|
|
398
|
+
declare const rampCardUpdateInputSchema: z.ZodObject<{
|
|
399
|
+
cardId: z.ZodString;
|
|
400
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
401
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
402
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
interval: z.ZodOptional<z.ZodEnum<{
|
|
404
|
+
DAILY: "DAILY";
|
|
405
|
+
WEEKLY: "WEEKLY";
|
|
406
|
+
MONTHLY: "MONTHLY";
|
|
407
|
+
YEARLY: "YEARLY";
|
|
408
|
+
TOTAL: "TOTAL";
|
|
409
|
+
}>>;
|
|
410
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
411
|
+
}, z.core.$strip>>;
|
|
412
|
+
}, z.core.$strip>;
|
|
413
|
+
declare const rampCardProgramSchema: z.ZodObject<{
|
|
414
|
+
id: z.ZodString;
|
|
415
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
416
|
+
description: z.ZodOptional<z.ZodString>;
|
|
417
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
418
|
+
is_physical: z.ZodOptional<z.ZodBoolean>;
|
|
419
|
+
acting_user_id: z.ZodOptional<z.ZodString>;
|
|
420
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
421
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
422
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
interval: z.ZodOptional<z.ZodString>;
|
|
424
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
425
|
+
}, z.core.$loose>>;
|
|
426
|
+
}, z.core.$loose>;
|
|
427
|
+
type RampCardProgram = z.infer<typeof rampCardProgramSchema>;
|
|
428
|
+
declare const rampCardProgramListInputSchema: z.ZodObject<{
|
|
429
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
430
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
431
|
+
}, z.core.$strip>;
|
|
432
|
+
declare const rampCardProgramListSchema: z.ZodObject<{
|
|
433
|
+
data: z.ZodArray<z.ZodObject<{
|
|
434
|
+
id: z.ZodString;
|
|
435
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
436
|
+
description: z.ZodOptional<z.ZodString>;
|
|
437
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
438
|
+
is_physical: z.ZodOptional<z.ZodBoolean>;
|
|
439
|
+
acting_user_id: z.ZodOptional<z.ZodString>;
|
|
440
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
441
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
442
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
443
|
+
interval: z.ZodOptional<z.ZodString>;
|
|
444
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
445
|
+
}, z.core.$loose>>;
|
|
446
|
+
}, z.core.$loose>>;
|
|
447
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
next: z.ZodOptional<z.ZodString>;
|
|
449
|
+
}, z.core.$strip>>;
|
|
450
|
+
}, z.core.$strip>;
|
|
451
|
+
declare const rampCardProgramGetInputSchema: z.ZodObject<{
|
|
452
|
+
cardProgramId: z.ZodString;
|
|
453
|
+
}, z.core.$strip>;
|
|
454
|
+
declare const rampCardProgramCreateInputSchema: z.ZodObject<{
|
|
455
|
+
display_name: z.ZodString;
|
|
456
|
+
description: z.ZodOptional<z.ZodString>;
|
|
457
|
+
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
458
|
+
is_physical: z.ZodOptional<z.ZodBoolean>;
|
|
459
|
+
acting_user_id: z.ZodOptional<z.ZodString>;
|
|
460
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
461
|
+
amount: z.ZodNumber;
|
|
462
|
+
interval: z.ZodEnum<{
|
|
463
|
+
DAILY: "DAILY";
|
|
464
|
+
WEEKLY: "WEEKLY";
|
|
465
|
+
MONTHLY: "MONTHLY";
|
|
466
|
+
YEARLY: "YEARLY";
|
|
467
|
+
TOTAL: "TOTAL";
|
|
468
|
+
}>;
|
|
469
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
470
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
471
|
+
}, z.core.$strip>>;
|
|
472
|
+
}, z.core.$strip>;
|
|
473
|
+
declare const rampCardFundTransferSchema: z.ZodObject<{
|
|
474
|
+
id: z.ZodString;
|
|
475
|
+
card_id: z.ZodOptional<z.ZodString>;
|
|
476
|
+
amount: z.ZodOptional<z.ZodObject<{
|
|
477
|
+
amountCents: z.ZodNumber;
|
|
478
|
+
currency: z.ZodString;
|
|
479
|
+
}, z.core.$strip>>;
|
|
480
|
+
direction: z.ZodOptional<z.ZodString>;
|
|
481
|
+
status: z.ZodOptional<z.ZodString>;
|
|
482
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
483
|
+
}, z.core.$loose>;
|
|
484
|
+
type RampCardFundTransfer = z.infer<typeof rampCardFundTransferSchema>;
|
|
485
|
+
//#endregion
|
|
486
|
+
//#region src/schemas/common.d.ts
|
|
487
|
+
/**
|
|
488
|
+
* Non-empty identifier string, trimmed. Applied to every Ramp resource ID,
|
|
489
|
+
* path parameter, and cursor.
|
|
490
|
+
*/
|
|
491
|
+
declare const rampIdSchema: z.ZodString;
|
|
492
|
+
/**
|
|
493
|
+
* ISO-8601 timestamp. Ramp always returns UTC timestamps with `Z` suffix.
|
|
494
|
+
* We validate shape only; downstream mappers convert to `Date` when needed.
|
|
495
|
+
*/
|
|
496
|
+
declare const rampTimestampSchema: z.ZodString;
|
|
497
|
+
declare const rampCurrencyCodeSchema: z.ZodString;
|
|
498
|
+
/**
|
|
499
|
+
* Monetary value as surfaced to Keystroke users. Ramp stores amounts as integer
|
|
500
|
+
* cents; we preserve that representation so math stays exact.
|
|
501
|
+
*/
|
|
502
|
+
declare const rampMoneySchema: z.ZodObject<{
|
|
503
|
+
amountCents: z.ZodNumber;
|
|
504
|
+
currency: z.ZodString;
|
|
505
|
+
}, z.core.$strip>;
|
|
506
|
+
declare const rampPageCursorSchema: z.ZodString;
|
|
507
|
+
declare const rampPageInfoSchema: z.ZodObject<{
|
|
508
|
+
next: z.ZodOptional<z.ZodString>;
|
|
509
|
+
}, z.core.$strip>;
|
|
510
|
+
declare const rampListPaginationInputSchema: z.ZodObject<{
|
|
511
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
/**
|
|
515
|
+
* Generic "one resource" envelope. Ramp returns single-resource endpoints as
|
|
516
|
+
* the resource directly (not wrapped), so this is rarely used; we keep it for
|
|
517
|
+
* consistency with list envelopes.
|
|
518
|
+
*/
|
|
519
|
+
declare function rampResourceEnvelope<T extends z.ZodTypeAny>(itemSchema: T): T;
|
|
520
|
+
/**
|
|
521
|
+
* Generic `{ data: T[], page: { next } }` list envelope — the canonical Ramp
|
|
522
|
+
* pagination wire shape.
|
|
523
|
+
*/
|
|
524
|
+
declare function rampListResponseSchema<T extends z.ZodTypeAny>(itemSchema: T): z.ZodObject<{
|
|
525
|
+
data: z.ZodArray<T>;
|
|
526
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
527
|
+
next: z.ZodOptional<z.ZodString>;
|
|
528
|
+
}, z.core.$strip>>;
|
|
529
|
+
}, z.core.$strip>;
|
|
530
|
+
/**
|
|
531
|
+
* Ramp list endpoints accept `start`, `end`, `from`, `to`, `since`, and
|
|
532
|
+
* assorted domain-specific date filters. This schema captures the common
|
|
533
|
+
* start/end filter that many endpoints share.
|
|
534
|
+
*/
|
|
535
|
+
declare const rampDateRangeInputSchema: z.ZodObject<{
|
|
536
|
+
start: z.ZodOptional<z.ZodString>;
|
|
537
|
+
end: z.ZodOptional<z.ZodString>;
|
|
538
|
+
}, z.core.$strip>;
|
|
539
|
+
/**
|
|
540
|
+
* Ramp "accounting connection" identifier. Not a full resource in all
|
|
541
|
+
* endpoints but referenced widely.
|
|
542
|
+
*/
|
|
543
|
+
declare const rampAccountingConnectionIdSchema: z.ZodString;
|
|
544
|
+
declare const rampMetadataSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
545
|
+
//#endregion
|
|
546
|
+
//#region src/schemas/organization.d.ts
|
|
547
|
+
declare const rampDepartmentSchema: z.ZodObject<{
|
|
548
|
+
id: z.ZodString;
|
|
549
|
+
name: z.ZodOptional<z.ZodString>;
|
|
550
|
+
}, z.core.$loose>;
|
|
551
|
+
type RampDepartment = z.infer<typeof rampDepartmentSchema>;
|
|
552
|
+
declare const rampDepartmentListInputSchema: z.ZodObject<{
|
|
553
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
554
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
555
|
+
}, z.core.$strip>;
|
|
556
|
+
declare const rampDepartmentListSchema: z.ZodObject<{
|
|
557
|
+
data: z.ZodArray<z.ZodObject<{
|
|
558
|
+
id: z.ZodString;
|
|
559
|
+
name: z.ZodOptional<z.ZodString>;
|
|
560
|
+
}, z.core.$loose>>;
|
|
561
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
562
|
+
next: z.ZodOptional<z.ZodString>;
|
|
563
|
+
}, z.core.$strip>>;
|
|
564
|
+
}, z.core.$strip>;
|
|
565
|
+
declare const rampDepartmentGetInputSchema: z.ZodObject<{
|
|
566
|
+
departmentId: z.ZodString;
|
|
567
|
+
}, z.core.$strip>;
|
|
568
|
+
declare const rampDepartmentCreateInputSchema: z.ZodObject<{
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
}, z.core.$strip>;
|
|
571
|
+
declare const rampDepartmentUpdateInputSchema: z.ZodObject<{
|
|
572
|
+
departmentId: z.ZodString;
|
|
573
|
+
name: z.ZodString;
|
|
574
|
+
}, z.core.$strip>;
|
|
575
|
+
declare const rampDepartmentDeleteInputSchema: z.ZodObject<{
|
|
576
|
+
departmentId: z.ZodString;
|
|
577
|
+
}, z.core.$strip>;
|
|
578
|
+
declare const rampLocationSchema: z.ZodObject<{
|
|
579
|
+
id: z.ZodString;
|
|
580
|
+
name: z.ZodOptional<z.ZodString>;
|
|
581
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
582
|
+
}, z.core.$loose>;
|
|
583
|
+
type RampLocation = z.infer<typeof rampLocationSchema>;
|
|
584
|
+
declare const rampLocationListInputSchema: z.ZodObject<{
|
|
585
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
586
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
587
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
588
|
+
}, z.core.$strip>;
|
|
589
|
+
declare const rampLocationListSchema: z.ZodObject<{
|
|
590
|
+
data: z.ZodArray<z.ZodObject<{
|
|
591
|
+
id: z.ZodString;
|
|
592
|
+
name: z.ZodOptional<z.ZodString>;
|
|
593
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
594
|
+
}, z.core.$loose>>;
|
|
595
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
596
|
+
next: z.ZodOptional<z.ZodString>;
|
|
597
|
+
}, z.core.$strip>>;
|
|
598
|
+
}, z.core.$strip>;
|
|
599
|
+
declare const rampLocationGetInputSchema: z.ZodObject<{
|
|
600
|
+
locationId: z.ZodString;
|
|
601
|
+
}, z.core.$strip>;
|
|
602
|
+
declare const rampLocationCreateInputSchema: z.ZodObject<{
|
|
603
|
+
name: z.ZodString;
|
|
604
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
declare const rampLocationUpdateInputSchema: z.ZodObject<{
|
|
607
|
+
locationId: z.ZodString;
|
|
608
|
+
name: z.ZodString;
|
|
609
|
+
}, z.core.$strip>;
|
|
610
|
+
declare const rampLocationDeleteInputSchema: z.ZodObject<{
|
|
611
|
+
locationId: z.ZodString;
|
|
612
|
+
}, z.core.$strip>;
|
|
613
|
+
declare const rampLimitIntervalSchema: z.ZodEnum<{
|
|
614
|
+
DAILY: "DAILY";
|
|
615
|
+
WEEKLY: "WEEKLY";
|
|
616
|
+
MONTHLY: "MONTHLY";
|
|
617
|
+
QUARTERLY: "QUARTERLY";
|
|
618
|
+
YEARLY: "YEARLY";
|
|
619
|
+
TOTAL: "TOTAL";
|
|
620
|
+
}>;
|
|
621
|
+
declare const rampLimitSchema: z.ZodObject<{
|
|
622
|
+
id: z.ZodString;
|
|
623
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
624
|
+
state: z.ZodOptional<z.ZodString>;
|
|
625
|
+
spend_program_id: z.ZodOptional<z.ZodString>;
|
|
626
|
+
users: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
627
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
628
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
629
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
630
|
+
interval: z.ZodOptional<z.ZodEnum<{
|
|
631
|
+
DAILY: "DAILY";
|
|
632
|
+
WEEKLY: "WEEKLY";
|
|
633
|
+
MONTHLY: "MONTHLY";
|
|
634
|
+
QUARTERLY: "QUARTERLY";
|
|
635
|
+
YEARLY: "YEARLY";
|
|
636
|
+
TOTAL: "TOTAL";
|
|
637
|
+
}>>;
|
|
638
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
639
|
+
}, z.core.$loose>>;
|
|
640
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
641
|
+
amountCents: z.ZodNumber;
|
|
642
|
+
currency: z.ZodString;
|
|
643
|
+
}, z.core.$strip>>;
|
|
644
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
645
|
+
}, z.core.$loose>;
|
|
646
|
+
type RampLimit = z.infer<typeof rampLimitSchema>;
|
|
647
|
+
declare const rampLimitListInputSchema: z.ZodObject<{
|
|
648
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
649
|
+
spend_program_id: z.ZodOptional<z.ZodString>;
|
|
650
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
651
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
652
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
653
|
+
}, z.core.$strip>;
|
|
654
|
+
declare const rampLimitListSchema: z.ZodObject<{
|
|
655
|
+
data: z.ZodArray<z.ZodObject<{
|
|
656
|
+
id: z.ZodString;
|
|
657
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
658
|
+
state: z.ZodOptional<z.ZodString>;
|
|
659
|
+
spend_program_id: z.ZodOptional<z.ZodString>;
|
|
660
|
+
users: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
661
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
662
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
663
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
664
|
+
interval: z.ZodOptional<z.ZodEnum<{
|
|
665
|
+
DAILY: "DAILY";
|
|
666
|
+
WEEKLY: "WEEKLY";
|
|
667
|
+
MONTHLY: "MONTHLY";
|
|
668
|
+
QUARTERLY: "QUARTERLY";
|
|
669
|
+
YEARLY: "YEARLY";
|
|
670
|
+
TOTAL: "TOTAL";
|
|
671
|
+
}>>;
|
|
672
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
673
|
+
}, z.core.$loose>>;
|
|
674
|
+
balance: z.ZodOptional<z.ZodObject<{
|
|
675
|
+
amountCents: z.ZodNumber;
|
|
676
|
+
currency: z.ZodString;
|
|
677
|
+
}, z.core.$strip>>;
|
|
678
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
679
|
+
}, z.core.$loose>>;
|
|
680
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
681
|
+
next: z.ZodOptional<z.ZodString>;
|
|
682
|
+
}, z.core.$strip>>;
|
|
683
|
+
}, z.core.$strip>;
|
|
684
|
+
declare const rampLimitGetInputSchema: z.ZodObject<{
|
|
685
|
+
limitId: z.ZodString;
|
|
686
|
+
}, z.core.$strip>;
|
|
687
|
+
declare const rampLimitCreateInputSchema: z.ZodObject<{
|
|
688
|
+
display_name: z.ZodString;
|
|
689
|
+
user_ids: z.ZodArray<z.ZodString>;
|
|
690
|
+
spend_program_id: z.ZodOptional<z.ZodString>;
|
|
691
|
+
spending_restrictions: z.ZodObject<{
|
|
692
|
+
amount: z.ZodNumber;
|
|
693
|
+
currency: z.ZodString;
|
|
694
|
+
interval: z.ZodEnum<{
|
|
695
|
+
DAILY: "DAILY";
|
|
696
|
+
WEEKLY: "WEEKLY";
|
|
697
|
+
MONTHLY: "MONTHLY";
|
|
698
|
+
QUARTERLY: "QUARTERLY";
|
|
699
|
+
YEARLY: "YEARLY";
|
|
700
|
+
TOTAL: "TOTAL";
|
|
701
|
+
}>;
|
|
702
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
703
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
704
|
+
}, z.core.$strip>;
|
|
705
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
706
|
+
}, z.core.$strip>;
|
|
707
|
+
declare const rampLimitUpdateInputSchema: z.ZodObject<{
|
|
708
|
+
limitId: z.ZodString;
|
|
709
|
+
display_name: z.ZodOptional<z.ZodString>;
|
|
710
|
+
spending_restrictions: z.ZodOptional<z.ZodObject<{
|
|
711
|
+
amount: z.ZodOptional<z.ZodNumber>;
|
|
712
|
+
interval: z.ZodOptional<z.ZodEnum<{
|
|
713
|
+
DAILY: "DAILY";
|
|
714
|
+
WEEKLY: "WEEKLY";
|
|
715
|
+
MONTHLY: "MONTHLY";
|
|
716
|
+
QUARTERLY: "QUARTERLY";
|
|
717
|
+
YEARLY: "YEARLY";
|
|
718
|
+
TOTAL: "TOTAL";
|
|
719
|
+
}>>;
|
|
720
|
+
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
}, z.core.$strip>>;
|
|
722
|
+
}, z.core.$strip>;
|
|
723
|
+
declare const rampLimitDeleteInputSchema: z.ZodObject<{
|
|
724
|
+
limitId: z.ZodString;
|
|
725
|
+
}, z.core.$strip>;
|
|
726
|
+
declare const rampMemoSchema: z.ZodObject<{
|
|
727
|
+
id: z.ZodString;
|
|
728
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
729
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
730
|
+
body: z.ZodOptional<z.ZodString>;
|
|
731
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$loose>;
|
|
733
|
+
type RampMemo = z.infer<typeof rampMemoSchema>;
|
|
734
|
+
declare const rampMemoListInputSchema: z.ZodObject<{
|
|
735
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
736
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
737
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
738
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
739
|
+
}, z.core.$strip>;
|
|
740
|
+
declare const rampMemoListSchema: z.ZodObject<{
|
|
741
|
+
data: z.ZodArray<z.ZodObject<{
|
|
742
|
+
id: z.ZodString;
|
|
743
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
744
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
745
|
+
body: z.ZodOptional<z.ZodString>;
|
|
746
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, z.core.$loose>>;
|
|
748
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
749
|
+
next: z.ZodOptional<z.ZodString>;
|
|
750
|
+
}, z.core.$strip>>;
|
|
751
|
+
}, z.core.$strip>;
|
|
752
|
+
declare const rampMemoGetInputSchema: z.ZodObject<{
|
|
753
|
+
memoId: z.ZodString;
|
|
754
|
+
}, z.core.$strip>;
|
|
755
|
+
//#endregion
|
|
756
|
+
//#region src/schemas/receipts.d.ts
|
|
757
|
+
declare const rampReceiptSchema: z.ZodObject<{
|
|
758
|
+
id: z.ZodString;
|
|
759
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
760
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
761
|
+
receipt_url: z.ZodOptional<z.ZodString>;
|
|
762
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
763
|
+
}, z.core.$loose>;
|
|
764
|
+
type RampReceipt = z.infer<typeof rampReceiptSchema>;
|
|
765
|
+
declare const rampReceiptListInputSchema: z.ZodObject<{
|
|
766
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
767
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
768
|
+
created_before: z.ZodOptional<z.ZodString>;
|
|
769
|
+
created_after: z.ZodOptional<z.ZodString>;
|
|
770
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
772
|
+
}, z.core.$strip>;
|
|
773
|
+
declare const rampReceiptListSchema: z.ZodObject<{
|
|
774
|
+
data: z.ZodArray<z.ZodObject<{
|
|
775
|
+
id: z.ZodString;
|
|
776
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
777
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
778
|
+
receipt_url: z.ZodOptional<z.ZodString>;
|
|
779
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
780
|
+
}, z.core.$loose>>;
|
|
781
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
782
|
+
next: z.ZodOptional<z.ZodString>;
|
|
783
|
+
}, z.core.$strip>>;
|
|
784
|
+
}, z.core.$strip>;
|
|
785
|
+
declare const rampReceiptGetInputSchema: z.ZodObject<{
|
|
786
|
+
receiptId: z.ZodString;
|
|
787
|
+
}, z.core.$strip>;
|
|
788
|
+
declare const rampReceiptUploadInputSchema: z.ZodObject<{
|
|
789
|
+
user_id: z.ZodString;
|
|
790
|
+
transaction_id: z.ZodOptional<z.ZodString>;
|
|
791
|
+
filename: z.ZodString;
|
|
792
|
+
contentType: z.ZodString;
|
|
793
|
+
dataBase64: z.ZodString;
|
|
794
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
795
|
+
}, z.core.$strip>;
|
|
796
|
+
declare const rampReceiptIntegrationOptInInputSchema: z.ZodObject<{
|
|
797
|
+
business_id: z.ZodString;
|
|
798
|
+
email_address: z.ZodString;
|
|
799
|
+
}, z.core.$strip>;
|
|
800
|
+
declare const rampReceiptIntegrationOptedInSchema: z.ZodObject<{
|
|
801
|
+
business_id: z.ZodOptional<z.ZodString>;
|
|
802
|
+
email_address: z.ZodOptional<z.ZodString>;
|
|
803
|
+
opted_in: z.ZodOptional<z.ZodBoolean>;
|
|
804
|
+
}, z.core.$loose>;
|
|
805
|
+
declare const rampReceiptIntegrationOptOutInputSchema: z.ZodObject<{
|
|
806
|
+
business_id: z.ZodString;
|
|
807
|
+
}, z.core.$strip>;
|
|
808
|
+
declare const rampStatementSchema: z.ZodObject<{
|
|
809
|
+
id: z.ZodString;
|
|
810
|
+
statement_date: z.ZodOptional<z.ZodString>;
|
|
811
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
812
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
813
|
+
}, z.core.$loose>;
|
|
814
|
+
type RampStatement = z.infer<typeof rampStatementSchema>;
|
|
815
|
+
declare const rampStatementListInputSchema: z.ZodObject<{
|
|
816
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
817
|
+
start: z.ZodOptional<z.ZodString>;
|
|
818
|
+
end: z.ZodOptional<z.ZodString>;
|
|
819
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
820
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
821
|
+
}, z.core.$strip>;
|
|
822
|
+
declare const rampStatementListSchema: z.ZodObject<{
|
|
823
|
+
data: z.ZodArray<z.ZodObject<{
|
|
824
|
+
id: z.ZodString;
|
|
825
|
+
statement_date: z.ZodOptional<z.ZodString>;
|
|
826
|
+
download_url: z.ZodOptional<z.ZodString>;
|
|
827
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
828
|
+
}, z.core.$loose>>;
|
|
829
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
830
|
+
next: z.ZodOptional<z.ZodString>;
|
|
831
|
+
}, z.core.$strip>>;
|
|
832
|
+
}, z.core.$strip>;
|
|
833
|
+
declare const rampStatementGetInputSchema: z.ZodObject<{
|
|
834
|
+
statementId: z.ZodString;
|
|
835
|
+
}, z.core.$strip>;
|
|
836
|
+
//#endregion
|
|
837
|
+
//#region src/schemas/webhooks-mgmt.d.ts
|
|
838
|
+
/**
|
|
839
|
+
* Schemas for Ramp's webhook subscription management endpoints
|
|
840
|
+
* (`POST /developer/v1/webhooks`, etc.) — distinct from the webhook envelope
|
|
841
|
+
* schemas in `./webhook.ts`.
|
|
842
|
+
*/
|
|
843
|
+
declare const rampWebhookSubscriptionSchema: z.ZodObject<{
|
|
844
|
+
id: z.ZodString;
|
|
845
|
+
url: z.ZodString;
|
|
846
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
847
|
+
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
848
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
849
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
850
|
+
}, z.core.$loose>;
|
|
851
|
+
type RampWebhookSubscription = z.infer<typeof rampWebhookSubscriptionSchema>;
|
|
852
|
+
declare const rampWebhookSubscriptionListInputSchema: z.ZodObject<{
|
|
853
|
+
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
854
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
855
|
+
}, z.core.$strip>;
|
|
856
|
+
declare const rampWebhookSubscriptionListSchema: z.ZodObject<{
|
|
857
|
+
data: z.ZodArray<z.ZodObject<{
|
|
858
|
+
id: z.ZodString;
|
|
859
|
+
url: z.ZodString;
|
|
860
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
861
|
+
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
862
|
+
created_at: z.ZodOptional<z.ZodString>;
|
|
863
|
+
updated_at: z.ZodOptional<z.ZodString>;
|
|
864
|
+
}, z.core.$loose>>;
|
|
865
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
866
|
+
next: z.ZodOptional<z.ZodString>;
|
|
867
|
+
}, z.core.$strip>>;
|
|
868
|
+
}, z.core.$strip>;
|
|
869
|
+
declare const rampWebhookSubscriptionGetInputSchema: z.ZodObject<{
|
|
870
|
+
webhookId: z.ZodString;
|
|
871
|
+
}, z.core.$strip>;
|
|
872
|
+
declare const rampWebhookSubscriptionCreateInputSchema: z.ZodObject<{
|
|
873
|
+
url: z.ZodString;
|
|
874
|
+
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
875
|
+
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
876
|
+
}, z.core.$strip>;
|
|
877
|
+
declare const rampWebhookSubscriptionUpdateInputSchema: z.ZodObject<{
|
|
878
|
+
webhookId: z.ZodString;
|
|
879
|
+
url: z.ZodOptional<z.ZodString>;
|
|
880
|
+
is_active: z.ZodOptional<z.ZodBoolean>;
|
|
881
|
+
enabled_events: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
882
|
+
}, z.core.$strip>;
|
|
883
|
+
declare const rampWebhookSubscriptionDeleteInputSchema: z.ZodObject<{
|
|
884
|
+
webhookId: z.ZodString;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
//#endregion
|
|
887
|
+
export { RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES, RAMP_WEBHOOK_SIGNATURE_HEADER, RampAccountingField, RampAccountingFieldOption, RampAccountingSubsidiary, RampAccountingSync, RampAccountingTrackingCategory, RampAccountingVendor, RampApplication, RampBill, RampBusiness, RampCard, RampCardFundTransfer, RampCardProgram, RampCashback, RampDeferredTask, RampDepartment, RampDocumentedWebhookEventType, RampEntity, RampErrorKind, RampErrorPayload, RampGlAccount, RampLimit, RampLocation, RampMemo, RampPurchaseOrder, RampReceipt, RampReimbursement, RampSpendProgram, RampSpendRequest, RampSpendRequestComment, RampStatement, RampTransaction, RampTransfer, RampUnifiedRequest, RampUser, RampVendor, RampVendorBankAccount, RampWebhookChallenge, RampWebhookEventEnvelope, RampWebhookSubscription, rampAccountingConnectionIdSchema, rampAccountingFieldCreateInputSchema, rampAccountingFieldDeleteInputSchema, rampAccountingFieldGetInputSchema, rampAccountingFieldListInputSchema, rampAccountingFieldListSchema, rampAccountingFieldOptionListInputSchema, rampAccountingFieldOptionListSchema, rampAccountingFieldOptionSchema, rampAccountingFieldOptionUploadInputSchema, rampAccountingFieldSchema, rampAccountingFieldUpdateInputSchema, rampAccountingSubsidiaryGetInputSchema, rampAccountingSubsidiaryListInputSchema, rampAccountingSubsidiaryListSchema, rampAccountingSubsidiarySchema, rampAccountingSubsidiaryUploadInputSchema, rampAccountingSyncCreateInputSchema, rampAccountingSyncGetInputSchema, rampAccountingSyncListInputSchema, rampAccountingSyncListSchema, rampAccountingSyncSchema, rampAccountingTrackingCategoryGetInputSchema, rampAccountingTrackingCategoryListInputSchema, rampAccountingTrackingCategoryListSchema, rampAccountingTrackingCategorySchema, rampAccountingVendorGetInputSchema, rampAccountingVendorListInputSchema, rampAccountingVendorListSchema, rampAccountingVendorSchema, rampAccountingVendorUploadInputSchema, rampApplicationGetInputSchema, rampApplicationListInputSchema, rampApplicationListSchema, rampApplicationSchema, rampApplicationStatusSchema, rampBillApproveInputSchema, rampBillCancelInputSchema, rampBillCreateInputSchema, rampBillGetInputSchema, rampBillLineItemSchema, rampBillListInputSchema, rampBillListSchema, rampBillRejectInputSchema, rampBillSchema, rampBillStatusSchema, rampBillUpdateInputSchema, rampBusinessSchema, rampCardFulfillmentSchema, rampCardFundTransferSchema, rampCardGetInputSchema, rampCardListInputSchema, rampCardListSchema, rampCardProgramCreateInputSchema, rampCardProgramGetInputSchema, rampCardProgramListInputSchema, rampCardProgramListSchema, rampCardProgramSchema, rampCardSchema, rampCardStateSchema, rampCardUpdateInputSchema, rampCashbackGetInputSchema, rampCashbackListInputSchema, rampCashbackListSchema, rampCashbackSchema, rampCreatePhysicalCardInputSchema, rampCreateVirtualCardInputSchema, rampCurrencyCodeSchema, rampDateRangeInputSchema, rampDeferredTaskSchema, rampDepartmentCreateInputSchema, rampDepartmentDeleteInputSchema, rampDepartmentGetInputSchema, rampDepartmentListInputSchema, rampDepartmentListSchema, rampDepartmentSchema, rampDepartmentUpdateInputSchema, rampDocumentedWebhookEventTypeSchema, rampEntityGetInputSchema, rampEntityListInputSchema, rampEntityListSchema, rampEntitySchema, rampErrorKindSchema, rampErrorPayloadSchema, rampGlAccountGetInputSchema, rampGlAccountListInputSchema, rampGlAccountListSchema, rampGlAccountSchema, rampGlAccountUploadInputSchema, rampIdSchema, rampLimitCreateInputSchema, rampLimitDeleteInputSchema, rampLimitGetInputSchema, rampLimitIntervalSchema, rampLimitListInputSchema, rampLimitListSchema, rampLimitSchema, rampLimitUpdateInputSchema, rampListPaginationInputSchema, rampListResponseSchema, rampLocationCreateInputSchema, rampLocationDeleteInputSchema, rampLocationGetInputSchema, rampLocationListInputSchema, rampLocationListSchema, rampLocationSchema, rampLocationUpdateInputSchema, rampMemoGetInputSchema, rampMemoListInputSchema, rampMemoListSchema, rampMemoSchema, rampMetadataSchema, rampMoneySchema, rampPageCursorSchema, rampPageInfoSchema, rampPurchaseOrderGetInputSchema, rampPurchaseOrderListInputSchema, rampPurchaseOrderListSchema, rampPurchaseOrderSchema, rampPurchaseOrderStatusSchema, rampReceiptGetInputSchema, rampReceiptIntegrationOptInInputSchema, rampReceiptIntegrationOptOutInputSchema, rampReceiptIntegrationOptedInSchema, rampReceiptListInputSchema, rampReceiptListSchema, rampReceiptSchema, rampReceiptUploadInputSchema, rampReimbursementGetInputSchema, rampReimbursementListInputSchema, rampReimbursementListSchema, rampReimbursementSchema, rampReimbursementStateSchema, rampResourceEnvelope, rampSpendProgramGetInputSchema, rampSpendProgramListInputSchema, rampSpendProgramListSchema, rampSpendProgramSchema, rampSpendRequestCommentCreateInputSchema, rampSpendRequestCommentSchema, rampSpendRequestGetInputSchema, rampSpendRequestListInputSchema, rampSpendRequestListSchema, rampSpendRequestSchema, rampSpendRequestStatusSchema, rampStatementGetInputSchema, rampStatementListInputSchema, rampStatementListSchema, rampStatementSchema, rampSuspendCardInputSchema, rampTerminateCardInputSchema, rampTimestampSchema, rampTransactionGetInputSchema, rampTransactionListInputSchema, rampTransactionListSchema, rampTransactionSchema, rampTransactionStateSchema, rampTransferGetInputSchema, rampTransferListInputSchema, rampTransferListSchema, rampTransferSchema, rampTransferStatusSchema, rampUnifiedRequestGetInputSchema, rampUnifiedRequestListInputSchema, rampUnifiedRequestListSchema, rampUnifiedRequestSchema, rampUnifiedRequestStatusSchema, rampUnsuspendCardInputSchema, rampUserDeactivateInputSchema, rampUserGetInputSchema, rampUserInviteInputSchema, rampUserListInputSchema, rampUserListSchema, rampUserRoleSchema, rampUserSchema, rampUserStatusSchema, rampUserUpdateInputSchema, rampVendorBankAccountCreateInputSchema, rampVendorBankAccountDeleteInputSchema, rampVendorBankAccountGetInputSchema, rampVendorBankAccountListInputSchema, rampVendorBankAccountListSchema, rampVendorBankAccountSchema, rampVendorBankAccountUpdateInputSchema, rampVendorCreateInputSchema, rampVendorDeleteInputSchema, rampVendorGetInputSchema, rampVendorListInputSchema, rampVendorListSchema, rampVendorSchema, rampVendorUpdateInputSchema, rampWebhookChallengeSchema, rampWebhookEventEnvelopeSchema, rampWebhookObjectSchema, rampWebhookSubscriptionCreateInputSchema, rampWebhookSubscriptionDeleteInputSchema, rampWebhookSubscriptionGetInputSchema, rampWebhookSubscriptionListInputSchema, rampWebhookSubscriptionListSchema, rampWebhookSubscriptionSchema, rampWebhookSubscriptionUpdateInputSchema };
|