@keystrokehq/ramp 0.0.15 → 0.0.16-integration-id-canonicalization.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 +34 -122
- package/dist/credential-sets/index.d.mts +2 -0
- package/dist/credential-sets/index.mjs +4 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.mjs +7 -1
- package/dist/operations/index.d.mts +2 -0
- package/dist/operations/index.mjs +3 -0
- package/dist/ramp-app.credential-set-Lfv-WYR0.mjs +24 -0
- package/dist/ramp-app.credential-set-cr5rSCuj.d.mts +51 -0
- package/dist/ramp.credential-set-IqskZBeS.mjs +65 -0
- package/dist/schemas/index.d.mts +1217 -3
- package/dist/schemas/index.mjs +58 -15
- package/dist/transactions-BbD9dl3x.mjs +1005 -0
- package/dist/upload-receipt.operation-ClJzqNb-.d.mts +3907 -0
- package/dist/upload-receipt.operation-DNDW2WTQ.mjs +2322 -0
- package/package.json +11 -159
- package/dist/_official/index.d.mts +0 -41
- package/dist/_official/index.mjs +0 -3
- package/dist/_runtime/index.d.mts +0 -1
- package/dist/_runtime/index.mjs +0 -1
- package/dist/accounting-fields.d.mts +0 -101
- package/dist/accounting-fields.mjs +0 -108
- package/dist/accounting-gl-accounts.d.mts +0 -56
- package/dist/accounting-gl-accounts.mjs +0 -49
- package/dist/accounting-i6txC-MI.mjs +0 -116
- package/dist/accounting-subsidiaries.d.mts +0 -52
- package/dist/accounting-subsidiaries.mjs +0 -49
- package/dist/accounting-sync.d.mts +0 -50
- package/dist/accounting-sync.mjs +0 -51
- package/dist/accounting-tracking-categories.d.mts +0 -31
- package/dist/accounting-tracking-categories.mjs +0 -34
- package/dist/accounting-vendors.d.mts +0 -55
- package/dist/accounting-vendors.mjs +0 -49
- package/dist/applications.d.mts +0 -54
- package/dist/applications.mjs +0 -35
- package/dist/bills-B8W9et3K.mjs +0 -86
- package/dist/bills.d.mts +0 -366
- package/dist/bills.mjs +0 -134
- package/dist/business-CztnWUvt.mjs +0 -83
- package/dist/business.d.mts +0 -25
- package/dist/business.mjs +0 -20
- package/dist/card-programs.d.mts +0 -83
- package/dist/card-programs.mjs +0 -50
- package/dist/cards-BfgPcR38.mjs +0 -153
- package/dist/cards.d.mts +0 -268
- package/dist/cards.mjs +0 -166
- package/dist/cashbacks.d.mts +0 -41
- package/dist/cashbacks.mjs +0 -34
- package/dist/client.d.mts +0 -79
- package/dist/client.mjs +0 -248
- package/dist/common-CUpmNYXw.mjs +0 -64
- package/dist/connection.d.mts +0 -2
- package/dist/connection.mjs +0 -3
- package/dist/departments.d.mts +0 -52
- package/dist/departments.mjs +0 -79
- package/dist/entities.d.mts +0 -33
- package/dist/entities.mjs +0 -34
- package/dist/errors-CIJf9-v0.d.mts +0 -42
- package/dist/events.d.mts +0 -30
- package/dist/events.mjs +0 -39
- package/dist/factory-buRnGG7Q.mjs +0 -15
- package/dist/integration-BhMk85GK.mjs +0 -116
- package/dist/integration-DJ7sYLA2.d.mts +0 -33
- package/dist/limits.d.mts +0 -168
- package/dist/limits.mjs +0 -84
- package/dist/locations.d.mts +0 -58
- package/dist/locations.mjs +0 -80
- package/dist/memos.d.mts +0 -37
- package/dist/memos.mjs +0 -36
- package/dist/messaging.d.mts +0 -1
- package/dist/messaging.mjs +0 -1
- package/dist/new-resources-BBJsJEjT.mjs +0 -77
- package/dist/organization-BSaEpvBn.mjs +0 -103
- package/dist/purchase-orders.d.mts +0 -70
- package/dist/purchase-orders.mjs +0 -36
- package/dist/receipt-integrations.d.mts +0 -26
- package/dist/receipt-integrations.mjs +0 -38
- package/dist/receipts-STq41c2M.mjs +0 -53
- package/dist/receipts.d.mts +0 -55
- package/dist/receipts.mjs +0 -61
- package/dist/reimbursements-OknrZUMF.mjs +0 -37
- package/dist/reimbursements.d.mts +0 -84
- package/dist/reimbursements.mjs +0 -39
- package/dist/shared-CTTtP5gv.mjs +0 -24
- package/dist/spend-programs.d.mts +0 -43
- package/dist/spend-programs.mjs +0 -34
- package/dist/spend-requests.d.mts +0 -88
- package/dist/spend-requests.mjs +0 -53
- package/dist/statements.d.mts +0 -36
- package/dist/statements.mjs +0 -37
- package/dist/transactions-Djd0oIGK.mjs +0 -53
- package/dist/transactions.d.mts +0 -174
- package/dist/transactions.mjs +0 -81
- package/dist/transfers-WBQZVdGP.mjs +0 -40
- package/dist/transfers.d.mts +0 -67
- package/dist/transfers.mjs +0 -36
- package/dist/triggers/index.d.mts +0 -23
- package/dist/triggers/index.mjs +0 -120
- package/dist/unified-requests.d.mts +0 -62
- package/dist/unified-requests.mjs +0 -37
- package/dist/users-ufcXrfNK.mjs +0 -74
- package/dist/users.d.mts +0 -191
- package/dist/users.mjs +0 -101
- package/dist/vendor-bank-accounts.d.mts +0 -99
- package/dist/vendor-bank-accounts.mjs +0 -83
- package/dist/vendors-Bx1cgXwC.mjs +0 -83
- package/dist/vendors-gH-w9b_R.d.mts +0 -1116
- package/dist/vendors.d.mts +0 -105
- package/dist/vendors.mjs +0 -84
- package/dist/verification.d.mts +0 -22
- package/dist/verification.mjs +0 -38
- package/dist/webhook-Bp38YQE9.d.mts +0 -68
- package/dist/webhook-CsbvcgrC.mjs +0 -61
- package/dist/webhooks-mgmt-d1xgVpWx.mjs +0 -35
- package/dist/webhooks.d.mts +0 -72
- package/dist/webhooks.mjs +0 -81
package/README.md
CHANGED
|
@@ -2,148 +2,60 @@
|
|
|
2
2
|
|
|
3
3
|
Ramp corporate cards, spend management, bill pay, reimbursements, accounting syncs, and webhook helpers for Keystroke workflows.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Core modules:
|
|
8
|
-
|
|
9
|
-
- `@keystrokehq/ramp/connection`
|
|
10
|
-
- `@keystrokehq/ramp/client`
|
|
11
|
-
- `@keystrokehq/ramp/schemas`
|
|
12
|
-
- `@keystrokehq/ramp/events`
|
|
13
|
-
- `@keystrokehq/ramp/triggers`
|
|
14
|
-
- `@keystrokehq/ramp/verification`
|
|
15
|
-
- `@keystrokehq/ramp/messaging`
|
|
16
|
-
|
|
17
|
-
Resource operations (representative list — see `package.json` `exports` for the full set):
|
|
18
|
-
|
|
19
|
-
- `@keystrokehq/ramp/transactions`
|
|
20
|
-
- `@keystrokehq/ramp/users`
|
|
21
|
-
- `@keystrokehq/ramp/cards` & `@keystrokehq/ramp/card-programs`
|
|
22
|
-
- `@keystrokehq/ramp/bills`
|
|
23
|
-
- `@keystrokehq/ramp/vendors` & `@keystrokehq/ramp/vendor-bank-accounts`
|
|
24
|
-
- `@keystrokehq/ramp/reimbursements`
|
|
25
|
-
- `@keystrokehq/ramp/departments`, `@keystrokehq/ramp/locations`, `@keystrokehq/ramp/limits`, `@keystrokehq/ramp/memos`
|
|
26
|
-
- `@keystrokehq/ramp/receipts`, `@keystrokehq/ramp/receipt-integrations`, `@keystrokehq/ramp/statements`
|
|
27
|
-
- `@keystrokehq/ramp/business`, `@keystrokehq/ramp/entities`
|
|
28
|
-
- `@keystrokehq/ramp/spend-programs`, `@keystrokehq/ramp/spend-requests`
|
|
29
|
-
- `@keystrokehq/ramp/accounting-fields`, `@keystrokehq/ramp/accounting-gl-accounts`, `@keystrokehq/ramp/accounting-vendors`, `@keystrokehq/ramp/accounting-sync`, `@keystrokehq/ramp/accounting-subsidiaries`, `@keystrokehq/ramp/accounting-tracking-categories`
|
|
30
|
-
- `@keystrokehq/ramp/transfers`, `@keystrokehq/ramp/cashbacks`
|
|
31
|
-
- `@keystrokehq/ramp/webhooks` (management CRUD)
|
|
32
|
-
- `@keystrokehq/ramp/purchase-orders`, `@keystrokehq/ramp/applications`, `@keystrokehq/ramp/unified-requests`
|
|
5
|
+
Credential sets live under [`./credential-sets`](./src/credential-sets/index.ts). Operations live under [`./operations`](./src/operations/index.ts). Webhook verification and the HTTP client live under [`./src/utils`](./src/utils/client.ts).
|
|
33
6
|
|
|
34
7
|
## Connection
|
|
35
8
|
|
|
36
|
-
Use the public Ramp
|
|
9
|
+
Use the public Ramp credential set for connected-account workflow operations:
|
|
37
10
|
|
|
38
11
|
```ts
|
|
39
|
-
import {
|
|
12
|
+
import { rampCredentialSet } from '@keystrokehq/ramp/credential-sets';
|
|
40
13
|
```
|
|
41
14
|
|
|
42
|
-
The package ships a hand-rolled fetch client in
|
|
15
|
+
The package ships a hand-rolled fetch client in `src/utils/client.ts` (no third-party SDK) so OAuth token lifecycle, webhook signature verification, and Ramp's monetary-cents boundary stay aligned with the official integration model. Access tokens are read from `context.credentials.ramp.RAMP_ACCESS_TOKEN` on each request; refresh is handled by the platform OAuth machinery rather than client-side caching.
|
|
43
16
|
|
|
44
|
-
The public OAuth surface uses the Authorization Code grant with refreshable access tokens.
|
|
17
|
+
The public OAuth surface uses the Authorization Code grant with refreshable access tokens. Sandbox routing (`demo-api.ramp.com`) is available via `createRampClient(credentials, { environment: 'sandbox' })` when a workflow needs to bypass the public OAuth connection.
|
|
45
18
|
|
|
46
|
-
##
|
|
47
|
-
|
|
48
|
-
All operations are bound to the `ramp` connection credential set and are exported from their resource-specific modules. A small sample:
|
|
49
|
-
|
|
50
|
-
```ts
|
|
51
|
-
import { listTransactions, getTransaction } from '@keystrokehq/ramp/transactions';
|
|
52
|
-
import { listBills, approveBill } from '@keystrokehq/ramp/bills';
|
|
53
|
-
import { createVirtualCard } from '@keystrokehq/ramp/cards';
|
|
54
|
-
|
|
55
|
-
const { data } = await listTransactions.run({
|
|
56
|
-
state: 'CLEARED',
|
|
57
|
-
start: '2026-04-01T00:00:00Z',
|
|
58
|
-
end: '2026-04-17T00:00:00Z',
|
|
59
|
-
pageSize: 50,
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
const bill = await getTransaction.run({ transactionId: data[0]!.id });
|
|
63
|
-
|
|
64
|
-
const virtualCard = await createVirtualCard.run({
|
|
65
|
-
userId: 'ramp_user_123',
|
|
66
|
-
displayName: 'Marketing - April',
|
|
67
|
-
spendingRestrictions: {
|
|
68
|
-
amount: 100_000, // cents
|
|
69
|
-
currency: 'USD',
|
|
70
|
-
interval: 'MONTHLY',
|
|
71
|
-
},
|
|
72
|
-
});
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
All amounts on the Ramp wire are integer cents. The schemas in `@keystrokehq/ramp/schemas` surface these as `{ amountCents: number, currency: string }` tuples to avoid floating-point rounding on monetary math.
|
|
76
|
-
|
|
77
|
-
## Webhooks
|
|
19
|
+
## Public surface
|
|
78
20
|
|
|
79
|
-
|
|
21
|
+
Authored workflow code should import **only** these subpaths:
|
|
80
22
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
transactionId: event.objectId,
|
|
88
|
-
businessId: event.businessId,
|
|
89
|
-
createdAt: event.createdAt,
|
|
90
|
-
}),
|
|
91
|
-
});
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
Ramp signs every webhook delivery with HMAC-SHA256 over the raw body. The signature ships in the `X-Ramp-Signature` header (hex, no prefix, no signed timestamp). Ramp also runs a URL-validation handshake by posting `{ challenge: "<value>" }` to new webhook endpoints; the helper in `@keystrokehq/ramp/verification` exposes `buildRampWebhookChallengeResponse` so handlers can echo the challenge back in the canonical shape.
|
|
95
|
-
|
|
96
|
-
Supported webhook event families (currently 15 documented events):
|
|
97
|
-
|
|
98
|
-
- `transactions.authorized`, `transactions.cleared`, `transactions.declined`, `transactions.updated`
|
|
99
|
-
- `bills.created`, `bills.approved`, `bills.paid`, `bills.canceled`
|
|
100
|
-
- `purchase_orders.created`, `purchase_orders.approved`, `purchase_orders.denied`
|
|
101
|
-
- `spend_requests.comment_created`
|
|
102
|
-
- `applications.approved`, `applications.denied`
|
|
103
|
-
- `unified_requests.updated`
|
|
23
|
+
| Subpath | What it exports |
|
|
24
|
+
|---|---|
|
|
25
|
+
| `@keystrokehq/ramp` | Credential sets, operations, and schemas barrels |
|
|
26
|
+
| `@keystrokehq/ramp/credential-sets` | `rampCredentialSet`, `rampAppCredentialSet`, and credential types |
|
|
27
|
+
| `@keystrokehq/ramp/operations` | All Ramp operations (also exported as `*Tool` aliases) |
|
|
28
|
+
| `@keystrokehq/ramp/schemas` | Reusable Zod schemas |
|
|
104
29
|
|
|
105
|
-
|
|
30
|
+
Hidden, repo-only subpaths (`_official`) are for platform internals — **do not import these from authored code**.
|
|
106
31
|
|
|
107
|
-
##
|
|
32
|
+
## Operations
|
|
108
33
|
|
|
109
|
-
|
|
34
|
+
All operations are bound to the `ramp` credential set and exported from `@keystrokehq/ramp/operations`:
|
|
110
35
|
|
|
111
36
|
```ts
|
|
112
37
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
name: 'Ramp Transfers Poller',
|
|
127
|
-
transform: (response) => response.data.map((t) => ({
|
|
128
|
-
transferId: t.id,
|
|
129
|
-
status: t.status,
|
|
130
|
-
})),
|
|
131
|
-
});
|
|
38
|
+
listTransactionsOperation,
|
|
39
|
+
getTransactionOperation,
|
|
40
|
+
} from '@keystrokehq/ramp/operations';
|
|
41
|
+
|
|
42
|
+
const { data } = await listTransactionsOperation.run(
|
|
43
|
+
{
|
|
44
|
+
state: 'CLEARED',
|
|
45
|
+
start: '2026-04-01T00:00:00Z',
|
|
46
|
+
end: '2026-04-17T00:00:00Z',
|
|
47
|
+
pageSize: 50,
|
|
48
|
+
},
|
|
49
|
+
context
|
|
50
|
+
);
|
|
132
51
|
```
|
|
133
52
|
|
|
134
|
-
|
|
53
|
+
Mutating operations (card issuance, bill approval, vendor updates, etc.) set `needsApproval: true` where Ramp-side risk warrants human review.
|
|
135
54
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
- `RampApiError` — a discriminated error with `kind`, `status`, and parsed `body`. Kinds are: `network`, `timeout`, `auth_revoked`, `missing_scope`, `rate_limited`, `validation`, `not_found`, `conflict`, `server_error`, `unknown`.
|
|
139
|
-
- `RampMissingScopeError` — thrown by operations that require an OAuth scope that is not currently available on the connected app. Ramp has not published scope identifiers for every endpoint; where that is the case, Keystroke requests the documented scope superset and mutations gate on this error at runtime instead of guessing at scope names.
|
|
55
|
+
## Webhooks
|
|
140
56
|
|
|
141
|
-
|
|
57
|
+
Ramp card-transaction webhooks use HMAC-SHA256 body signatures (`X-Ramp-Signature`). Verification helpers live in `src/utils/verification.ts`. The platform credential set (`ramp-app`) optionally stores a shared `webhookSecret` for inbound trigger validation.
|
|
142
58
|
|
|
143
|
-
##
|
|
59
|
+
## Triggers
|
|
144
60
|
|
|
145
|
-
|
|
146
|
-
- **Monetary amounts**: Ramp always uses integer cents on the wire — never do floating-point math on `amount` fields. The `mapRampMoney`/`unmapRampMoney` helpers in `@keystrokehq/ramp/shared` handle the cents ↔ `{ amountCents, currency }` conversion.
|
|
147
|
-
- **Rate limits**: Ramp enforces a rolling 200 requests / 10 seconds window. The client retries `429` and `5xx` responses with exponential backoff, honoring `Retry-After` when present.
|
|
148
|
-
- **Pagination**: Every list response is cursor-based; the `next` cursor is `page.next`. Use the `paginate` async generator exposed by the client (and via `list*All*` operations such as `listAllTransactions`) for full-history sweeps.
|
|
149
|
-
- **Scope gating**: The OAuth connection only requests scopes that Ramp publishes. Operations that likely require un-documented scopes (e.g. some card-program writes) will surface a `RampMissingScopeError` at runtime rather than being fabricated client-side.
|
|
61
|
+
Polling trigger bindings under `src/triggers/` compensate for gaps in Ramp's native webhook catalog. They poll canonical list endpoints on a conservative cadence and emit one event per resource id discovered since the last poll.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as RampOAuthScope, i as RampCredentials, n as rampAppCredentialSet, o as rampCredentialSet, r as RAMP_OAUTH_SCOPES, t as RampAppCredentials } from "../ramp-app.credential-set-cr5rSCuj.mjs";
|
|
2
|
+
export { RAMP_OAUTH_SCOPES, type RampAppCredentials, type RampCredentials, type RampOAuthScope, rampAppCredentialSet, rampCredentialSet };
|
package/dist/index.d.mts
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { a as RampOAuthScope, i as RampCredentials, n as rampAppCredentialSet, o as rampCredentialSet, r as RAMP_OAUTH_SCOPES, t as RampAppCredentials } from "./ramp-app.credential-set-cr5rSCuj.mjs";
|
|
2
|
+
import { $ as listAccountingFieldOptionsOperation, $t as cancelBillOperation, A as listSpendRequestsOperation, At as getAccountingSubsidiaryOperation, B as listDepartmentsOperation, Bt as createWebhookSubscriptionOperation, C as listVendorsOperation, Ct as getCardOperation, D as listTransfersOperation, Dt as getAccountingVendorOperation, E as listUnifiedRequestsOperation, Et as getApplicationOperation, F as listMemosOperation, Ft as deleteLocationOperation, G as listBillsOperation, Gt as createLocationOperation, H as listCardsOperation, Ht as createVendorBankAccountOperation, I as listLocationsOperation, It as deleteLimitOperation, J as listAccountingVendorsOperation, Jt as createCardProgramOperation, K as listApplicationsOperation, Kt as createLimitOperation, L as listLimitsOperation, Lt as deleteDepartmentOperation, M as listReimbursementsOperation, Mt as deleteWebhookSubscriptionOperation, N as listReceiptsOperation, Nt as deleteVendorBankAccountOperation, O as listTransactionsOperation, Ot as getAccountingTrackingCategoryOperation, P as listPurchaseOrdersOperation, Pt as deleteVendorOperation, Q as listAccountingFieldsOperation, Qt as commentOnSpendRequestOperation, R as listGlAccountsOperation, Rt as deleteAccountingFieldOperation, S as listWebhookSubscriptionsOperation, St as getCardProgramOperation, T as listUsersOperation, Tt as getBillOperation, U as listCardProgramsOperation, Ut as createVendorOperation, V as listCashbacksOperation, Vt as createVirtualCardOperation, W as listCardFundTransfersOperation, Wt as createPhysicalCardOperation, X as listAccountingSyncsOperation, Xt as createAccountingSyncOperation, Y as listAccountingTrackingCategoriesOperation, Yt as createBillOperation, Z as listAccountingSubsidiariesOperation, Zt as createAccountingFieldOperation, _ as terminateCardOperation, _t as getGlAccountOperation, a as uploadAccountingFieldOptionsOperation, at as getUnifiedRequestOperation, b as optOutReceiptIntegrationOperation, bt as getDeferredTaskOperation, c as updateVendorOperation, ct as getStatementOperation, d as updateLimitOperation, dt as getReimbursementOperation, en as approveBillOperation, et as inviteUserOperation, f as updateDepartmentOperation, ft as getReceiptOperation, g as unsuspendCardOperation, gt as getLimitOperation, h as updateAccountingFieldOperation, ht as getLocationOperation, i as uploadAccountingSubsidiariesOperation, it as getUserOperation, j as listSpendProgramsOperation, jt as getAccountingFieldOperation, k as listStatementsOperation, kt as getAccountingSyncOperation, l as updateUserOperation, lt as getSpendRequestOperation, m as updateBillOperation, mt as getMemoOperation, n as uploadGlAccountsOperation, nt as getVendorBankAccountOperation, o as updateWebhookSubscriptionOperation, ot as getTransferOperation, p as updateCardOperation, pt as getPurchaseOrderOperation, q as listAllTransactionsOperation, qt as createDepartmentOperation, r as uploadAccountingVendorsOperation, rt as getVendorOperation, s as updateVendorBankAccountOperation, st as getTransactionOperation, t as uploadReceiptOperation, tt as getWebhookSubscriptionOperation, u as updateLocationOperation, ut as getSpendProgramOperation, v as suspendCardOperation, vt as getEntityOperation, w as listVendorBankAccountsOperation, wt as getBusinessOperation, x as optInReceiptIntegrationOperation, xt as getCashbackOperation, y as rejectBillOperation, yt as getDepartmentOperation, z as listEntitiesOperation, zt as deactivateUserOperation } from "./upload-receipt.operation-ClJzqNb-.mjs";
|
|
3
|
+
import { 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 } from "./schemas/index.mjs";
|
|
4
|
+
export { RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES, RAMP_OAUTH_SCOPES, RAMP_WEBHOOK_SIGNATURE_HEADER, RampAccountingField, RampAccountingFieldOption, RampAccountingSubsidiary, RampAccountingSync, RampAccountingTrackingCategory, RampAccountingVendor, RampAppCredentials, RampApplication, RampBill, RampBusiness, RampCard, RampCardFundTransfer, RampCardProgram, RampCashback, RampCredentials, RampDeferredTask, RampDepartment, RampDocumentedWebhookEventType, RampEntity, RampErrorKind, RampErrorPayload, RampGlAccount, RampLimit, RampLocation, RampMemo, RampOAuthScope, RampPurchaseOrder, RampReceipt, RampReimbursement, RampSpendProgram, RampSpendRequest, RampSpendRequestComment, RampStatement, RampTransaction, RampTransfer, RampUnifiedRequest, RampUser, RampVendor, RampVendorBankAccount, RampWebhookChallenge, RampWebhookEventEnvelope, RampWebhookSubscription, approveBillOperation, approveBillOperation as approveBillTool, cancelBillOperation, cancelBillOperation as cancelBillTool, commentOnSpendRequestOperation, commentOnSpendRequestOperation as commentOnSpendRequestTool, createAccountingFieldOperation, createAccountingFieldOperation as createAccountingFieldTool, createAccountingSyncOperation, createAccountingSyncOperation as createAccountingSyncTool, createBillOperation, createBillOperation as createBillTool, createCardProgramOperation, createCardProgramOperation as createCardProgramTool, createDepartmentOperation, createDepartmentOperation as createDepartmentTool, createLimitOperation, createLimitOperation as createLimitTool, createLocationOperation, createLocationOperation as createLocationTool, createPhysicalCardOperation, createPhysicalCardOperation as createPhysicalCardTool, createVendorBankAccountOperation, createVendorBankAccountOperation as createVendorBankAccountTool, createVendorOperation, createVendorOperation as createVendorTool, createVirtualCardOperation, createVirtualCardOperation as createVirtualCardTool, createWebhookSubscriptionOperation, createWebhookSubscriptionOperation as createWebhookSubscriptionTool, deactivateUserOperation, deactivateUserOperation as deactivateUserTool, deleteAccountingFieldOperation, deleteAccountingFieldOperation as deleteAccountingFieldTool, deleteDepartmentOperation, deleteDepartmentOperation as deleteDepartmentTool, deleteLimitOperation, deleteLimitOperation as deleteLimitTool, deleteLocationOperation, deleteLocationOperation as deleteLocationTool, deleteVendorBankAccountOperation, deleteVendorBankAccountOperation as deleteVendorBankAccountTool, deleteVendorOperation, deleteVendorOperation as deleteVendorTool, deleteWebhookSubscriptionOperation, deleteWebhookSubscriptionOperation as deleteWebhookSubscriptionTool, getAccountingFieldOperation, getAccountingFieldOperation as getAccountingFieldTool, getAccountingSubsidiaryOperation, getAccountingSubsidiaryOperation as getAccountingSubsidiaryTool, getAccountingSyncOperation, getAccountingSyncOperation as getAccountingSyncTool, getAccountingTrackingCategoryOperation, getAccountingTrackingCategoryOperation as getAccountingTrackingCategoryTool, getAccountingVendorOperation, getAccountingVendorOperation as getAccountingVendorTool, getApplicationOperation, getApplicationOperation as getApplicationTool, getBillOperation, getBillOperation as getBillTool, getBusinessOperation, getBusinessOperation as getBusinessTool, getCardOperation, getCardOperation as getCardTool, getCardProgramOperation, getCardProgramOperation as getCardProgramTool, getCashbackOperation, getCashbackOperation as getCashbackTool, getDeferredTaskOperation, getDeferredTaskOperation as getDeferredTaskTool, getDepartmentOperation, getDepartmentOperation as getDepartmentTool, getEntityOperation, getEntityOperation as getEntityTool, getGlAccountOperation, getGlAccountOperation as getGlAccountTool, getLimitOperation, getLimitOperation as getLimitTool, getLocationOperation, getLocationOperation as getLocationTool, getMemoOperation, getMemoOperation as getMemoTool, getPurchaseOrderOperation, getPurchaseOrderOperation as getPurchaseOrderTool, getReceiptOperation, getReceiptOperation as getReceiptTool, getReimbursementOperation, getReimbursementOperation as getReimbursementTool, getSpendProgramOperation, getSpendProgramOperation as getSpendProgramTool, getSpendRequestOperation, getSpendRequestOperation as getSpendRequestTool, getStatementOperation, getStatementOperation as getStatementTool, getTransactionOperation, getTransactionOperation as getTransactionTool, getTransferOperation, getTransferOperation as getTransferTool, getUnifiedRequestOperation, getUnifiedRequestOperation as getUnifiedRequestTool, getUserOperation, getUserOperation as getUserTool, getVendorBankAccountOperation, getVendorBankAccountOperation as getVendorBankAccountTool, getVendorOperation, getVendorOperation as getVendorTool, getWebhookSubscriptionOperation, getWebhookSubscriptionOperation as getWebhookSubscriptionTool, inviteUserOperation, inviteUserOperation as inviteUserTool, listAccountingFieldOptionsOperation, listAccountingFieldOptionsOperation as listAccountingFieldOptionsTool, listAccountingFieldsOperation, listAccountingFieldsOperation as listAccountingFieldsTool, listAccountingSubsidiariesOperation, listAccountingSubsidiariesOperation as listAccountingSubsidiariesTool, listAccountingSyncsOperation, listAccountingSyncsOperation as listAccountingSyncsTool, listAccountingTrackingCategoriesOperation, listAccountingTrackingCategoriesOperation as listAccountingTrackingCategoriesTool, listAccountingVendorsOperation, listAccountingVendorsOperation as listAccountingVendorsTool, listAllTransactionsOperation, listAllTransactionsOperation as listAllTransactionsTool, listApplicationsOperation, listApplicationsOperation as listApplicationsTool, listBillsOperation, listBillsOperation as listBillsTool, listCardFundTransfersOperation, listCardFundTransfersOperation as listCardFundTransfersTool, listCardProgramsOperation, listCardProgramsOperation as listCardProgramsTool, listCardsOperation, listCardsOperation as listCardsTool, listCashbacksOperation, listCashbacksOperation as listCashbacksTool, listDepartmentsOperation, listDepartmentsOperation as listDepartmentsTool, listEntitiesOperation, listEntitiesOperation as listEntitiesTool, listGlAccountsOperation, listGlAccountsOperation as listGlAccountsTool, listLimitsOperation, listLimitsOperation as listLimitsTool, listLocationsOperation, listLocationsOperation as listLocationsTool, listMemosOperation, listMemosOperation as listMemosTool, listPurchaseOrdersOperation, listPurchaseOrdersOperation as listPurchaseOrdersTool, listReceiptsOperation, listReceiptsOperation as listReceiptsTool, listReimbursementsOperation, listReimbursementsOperation as listReimbursementsTool, listSpendProgramsOperation, listSpendProgramsOperation as listSpendProgramsTool, listSpendRequestsOperation, listSpendRequestsOperation as listSpendRequestsTool, listStatementsOperation, listStatementsOperation as listStatementsTool, listTransactionsOperation, listTransactionsOperation as listTransactionsTool, listTransfersOperation, listTransfersOperation as listTransfersTool, listUnifiedRequestsOperation, listUnifiedRequestsOperation as listUnifiedRequestsTool, listUsersOperation, listUsersOperation as listUsersTool, listVendorBankAccountsOperation, listVendorBankAccountsOperation as listVendorBankAccountsTool, listVendorsOperation, listVendorsOperation as listVendorsTool, listWebhookSubscriptionsOperation, listWebhookSubscriptionsOperation as listWebhookSubscriptionsTool, optInReceiptIntegrationOperation, optInReceiptIntegrationOperation as optInReceiptIntegrationTool, optOutReceiptIntegrationOperation, optOutReceiptIntegrationOperation as optOutReceiptIntegrationTool, 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, rampAppCredentialSet, 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, rampCredentialSet, 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, rejectBillOperation, rejectBillOperation as rejectBillTool, suspendCardOperation, suspendCardOperation as suspendCardTool, terminateCardOperation, terminateCardOperation as terminateCardTool, unsuspendCardOperation, unsuspendCardOperation as unsuspendCardTool, updateAccountingFieldOperation, updateAccountingFieldOperation as updateAccountingFieldTool, updateBillOperation, updateBillOperation as updateBillTool, updateCardOperation, updateCardOperation as updateCardTool, updateDepartmentOperation, updateDepartmentOperation as updateDepartmentTool, updateLimitOperation, updateLimitOperation as updateLimitTool, updateLocationOperation, updateLocationOperation as updateLocationTool, updateUserOperation, updateUserOperation as updateUserTool, updateVendorBankAccountOperation, updateVendorBankAccountOperation as updateVendorBankAccountTool, updateVendorOperation, updateVendorOperation as updateVendorTool, updateWebhookSubscriptionOperation, updateWebhookSubscriptionOperation as updateWebhookSubscriptionTool, uploadAccountingFieldOptionsOperation, uploadAccountingFieldOptionsOperation as uploadAccountingFieldOptionsTool, uploadAccountingSubsidiariesOperation, uploadAccountingSubsidiariesOperation as uploadAccountingSubsidiariesTool, uploadAccountingVendorsOperation, uploadAccountingVendorsOperation as uploadAccountingVendorsTool, uploadGlAccountsOperation, uploadGlAccountsOperation as uploadGlAccountsTool, uploadReceiptOperation, uploadReceiptOperation as uploadReceiptTool };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { n as rampCredentialSet, t as RAMP_OAUTH_SCOPES } from "./ramp.credential-set-IqskZBeS.mjs";
|
|
2
|
+
import { t as rampAppCredentialSet } from "./ramp-app.credential-set-Lfv-WYR0.mjs";
|
|
3
|
+
import { $ as rampWebhookSubscriptionUpdateInputSchema, $n as rampEntitySchema, $t as rampCardListInputSchema, A as rampTransferSchema, An as rampAccountingSyncCreateInputSchema, Ar as rampPageCursorSchema, At as rampDepartmentUpdateInputSchema, B as rampPurchaseOrderSchema, Bn as rampAccountingVendorListInputSchema, Bt as rampLocationDeleteInputSchema, C as rampCashbackGetInputSchema, Cn as rampAccountingFieldSchema, Cr as rampCurrencyCodeSchema, Ct as rampUserUpdateInputSchema, D as rampTransferGetInputSchema, Dn as rampAccountingSubsidiaryListSchema, Dr as rampListResponseSchema, Dt as rampDepartmentListInputSchema, E as rampCashbackSchema, En as rampAccountingSubsidiaryListInputSchema, Er as rampListPaginationInputSchema, Et as rampDepartmentGetInputSchema, F as rampApplicationSchema, Fn as rampAccountingTrackingCategoryGetInputSchema, Ft as rampLimitListInputSchema, G as rampUnifiedRequestSchema, Gn as rampGlAccountListInputSchema, Gt as rampLocationUpdateInputSchema, H as rampUnifiedRequestGetInputSchema, Hn as rampAccountingVendorSchema, Ht as rampLocationListInputSchema, I as rampApplicationStatusSchema, In as rampAccountingTrackingCategoryListInputSchema, It as rampLimitListSchema, J as rampWebhookSubscriptionDeleteInputSchema, Jn as rampGlAccountUploadInputSchema, Jt as rampMemoListSchema, K as rampUnifiedRequestStatusSchema, Kn as rampGlAccountListSchema, Kt as rampMemoGetInputSchema, L as rampPurchaseOrderGetInputSchema, Ln as rampAccountingTrackingCategoryListSchema, Lt as rampLimitSchema, M as rampApplicationGetInputSchema, Mn as rampAccountingSyncListInputSchema, Mr as rampResourceEnvelope, Mt as rampLimitDeleteInputSchema, N as rampApplicationListInputSchema, Nn as rampAccountingSyncListSchema, Nr as rampTimestampSchema, Nt as rampLimitGetInputSchema, O as rampTransferListInputSchema, On as rampAccountingSubsidiarySchema, Or as rampMetadataSchema, Ot as rampDepartmentListSchema, P as rampApplicationListSchema, Pn as rampAccountingSyncSchema, Pt as rampLimitIntervalSchema, Q as rampWebhookSubscriptionSchema, Qn as rampEntityListSchema, Qt as rampCardGetInputSchema, R as rampPurchaseOrderListInputSchema, Rn as rampAccountingTrackingCategorySchema, Rt as rampLimitUpdateInputSchema, S as rampStatementSchema, Sn as rampAccountingFieldOptionUploadInputSchema, Sr as rampAccountingConnectionIdSchema, St as rampUserStatusSchema, T as rampCashbackListSchema, Tn as rampAccountingSubsidiaryGetInputSchema, Tr as rampIdSchema, Tt as rampDepartmentDeleteInputSchema, U as rampUnifiedRequestListInputSchema, Un as rampAccountingVendorUploadInputSchema, Ut as rampLocationListSchema, V as rampPurchaseOrderStatusSchema, Vn as rampAccountingVendorListSchema, Vt as rampLocationGetInputSchema, W as rampUnifiedRequestListSchema, Wn as rampGlAccountGetInputSchema, Wt as rampLocationSchema, X as rampWebhookSubscriptionListInputSchema, Xn as rampEntityGetInputSchema, Xt as rampCardFulfillmentSchema, Y as rampWebhookSubscriptionGetInputSchema, Yn as rampBusinessSchema, Yt as rampMemoSchema, Z as rampWebhookSubscriptionListSchema, Zn as rampEntityListInputSchema, Zt as rampCardFundTransferSchema, _ as rampReceiptSchema, _n as rampAccountingFieldListInputSchema, _r as rampBillListSchema, _t as rampUserInviteInputSchema, a as rampTransactionStateSchema, an as rampCardProgramSchema, ar as rampSpendRequestCommentSchema, at as rampVendorBankAccountSchema, b as rampStatementListInputSchema, bn as rampAccountingFieldOptionListSchema, br as rampBillStatusSchema, bt as rampUserRoleSchema, c as rampReimbursementListSchema, cn as rampCardUpdateInputSchema, cr as rampSpendRequestListSchema, ct as rampVendorDeleteInputSchema, d as rampReceiptGetInputSchema, dn as rampSuspendCardInputSchema, dr as rampBillApproveInputSchema, dt as rampVendorListSchema, en as rampCardListSchema, er as rampSpendProgramGetInputSchema, et as rampVendorBankAccountCreateInputSchema, f as rampReceiptIntegrationOptInInputSchema, fn as rampTerminateCardInputSchema, fr as rampBillCancelInputSchema, ft as rampVendorSchema, g as rampReceiptListSchema, gn as rampAccountingFieldGetInputSchema, gr as rampBillListInputSchema, gt as rampUserGetInputSchema, h as rampReceiptListInputSchema, hn as rampAccountingFieldDeleteInputSchema, hr as rampBillLineItemSchema, ht as rampUserDeactivateInputSchema, i as rampTransactionSchema, in as rampCardProgramListSchema, ir as rampSpendRequestCommentCreateInputSchema, it as rampVendorBankAccountListSchema, j as rampTransferStatusSchema, jn as rampAccountingSyncGetInputSchema, jr as rampPageInfoSchema, jt as rampLimitCreateInputSchema, k as rampTransferListSchema, kn as rampAccountingSubsidiaryUploadInputSchema, kr as rampMoneySchema, kt as rampDepartmentSchema, l as rampReimbursementSchema, ln as rampCreatePhysicalCardInputSchema, lr as rampSpendRequestSchema, lt as rampVendorGetInputSchema, m as rampReceiptIntegrationOptedInSchema, mn as rampAccountingFieldCreateInputSchema, mr as rampBillGetInputSchema, mt as rampDeferredTaskSchema, n as rampTransactionListInputSchema, nn as rampCardProgramGetInputSchema, nr as rampSpendProgramListSchema, nt as rampVendorBankAccountGetInputSchema, o as rampReimbursementGetInputSchema, on as rampCardSchema, or as rampSpendRequestGetInputSchema, ot as rampVendorBankAccountUpdateInputSchema, p as rampReceiptIntegrationOptOutInputSchema, pn as rampUnsuspendCardInputSchema, pr as rampBillCreateInputSchema, pt as rampVendorUpdateInputSchema, q as rampWebhookSubscriptionCreateInputSchema, qn as rampGlAccountSchema, qt as rampMemoListInputSchema, r as rampTransactionListSchema, rn as rampCardProgramListInputSchema, rr as rampSpendProgramSchema, rt as rampVendorBankAccountListInputSchema, s as rampReimbursementListInputSchema, sn as rampCardStateSchema, sr as rampSpendRequestListInputSchema, st as rampVendorCreateInputSchema, t as rampTransactionGetInputSchema, tn as rampCardProgramCreateInputSchema, tr as rampSpendProgramListInputSchema, tt as rampVendorBankAccountDeleteInputSchema, u as rampReimbursementStateSchema, un as rampCreateVirtualCardInputSchema, ur as rampSpendRequestStatusSchema, ut as rampVendorListInputSchema, v as rampReceiptUploadInputSchema, vn as rampAccountingFieldListSchema, vr as rampBillRejectInputSchema, vt as rampUserListInputSchema, w as rampCashbackListInputSchema, wn as rampAccountingFieldUpdateInputSchema, wr as rampDateRangeInputSchema, wt as rampDepartmentCreateInputSchema, x as rampStatementListSchema, xn as rampAccountingFieldOptionSchema, xr as rampBillUpdateInputSchema, xt as rampUserSchema, y as rampStatementGetInputSchema, yn as rampAccountingFieldOptionListInputSchema, yr as rampBillSchema, yt as rampUserListSchema, z as rampPurchaseOrderListSchema, zn as rampAccountingVendorGetInputSchema, zt as rampLocationCreateInputSchema } from "./transactions-BbD9dl3x.mjs";
|
|
4
|
+
import { $ as listAccountingFieldOptionsOperation, $t as cancelBillOperation, A as listSpendRequestsOperation, At as getAccountingSubsidiaryOperation, B as listDepartmentsOperation, Bt as createWebhookSubscriptionOperation, C as listVendorsOperation, Ct as getCardOperation, D as listTransfersOperation, Dt as getAccountingVendorOperation, E as listUnifiedRequestsOperation, Et as getApplicationOperation, F as listMemosOperation, Ft as deleteLocationOperation, G as listBillsOperation, Gt as createLocationOperation, H as listCardsOperation, Ht as createVendorBankAccountOperation, I as listLocationsOperation, It as deleteLimitOperation, J as listAccountingVendorsOperation, Jt as createCardProgramOperation, K as listApplicationsOperation, Kt as createLimitOperation, L as listLimitsOperation, Lt as deleteDepartmentOperation, M as listReimbursementsOperation, Mt as deleteWebhookSubscriptionOperation, N as listReceiptsOperation, Nt as deleteVendorBankAccountOperation, O as listTransactionsOperation, Ot as getAccountingTrackingCategoryOperation, P as listPurchaseOrdersOperation, Pt as deleteVendorOperation, Q as listAccountingFieldsOperation, Qt as commentOnSpendRequestOperation, R as listGlAccountsOperation, Rt as deleteAccountingFieldOperation, S as listWebhookSubscriptionsOperation, St as getCardProgramOperation, T as listUsersOperation, Tt as getBillOperation, U as listCardProgramsOperation, Ut as createVendorOperation, V as listCashbacksOperation, Vt as createVirtualCardOperation, W as listCardFundTransfersOperation, Wt as createPhysicalCardOperation, X as listAccountingSyncsOperation, Xt as createAccountingSyncOperation, Y as listAccountingTrackingCategoriesOperation, Yt as createBillOperation, Z as listAccountingSubsidiariesOperation, Zt as createAccountingFieldOperation, _ as terminateCardOperation, _t as getGlAccountOperation, a as uploadAccountingFieldOptionsOperation, at as getUnifiedRequestOperation, b as optOutReceiptIntegrationOperation, bt as getDeferredTaskOperation, c as updateVendorOperation, ct as getStatementOperation, d as updateLimitOperation, dt as getReimbursementOperation, en as approveBillOperation, et as inviteUserOperation, f as updateDepartmentOperation, ft as getReceiptOperation, g as unsuspendCardOperation, gt as getLimitOperation, h as updateAccountingFieldOperation, ht as getLocationOperation, i as uploadAccountingSubsidiariesOperation, it as getUserOperation, j as listSpendProgramsOperation, jt as getAccountingFieldOperation, k as listStatementsOperation, kt as getAccountingSyncOperation, l as updateUserOperation, lt as getSpendRequestOperation, m as updateBillOperation, mt as getMemoOperation, n as uploadGlAccountsOperation, nt as getVendorBankAccountOperation, o as updateWebhookSubscriptionOperation, ot as getTransferOperation, p as updateCardOperation, pt as getPurchaseOrderOperation, q as listAllTransactionsOperation, qt as createDepartmentOperation, r as uploadAccountingVendorsOperation, rt as getVendorOperation, s as updateVendorBankAccountOperation, st as getTransactionOperation, t as uploadReceiptOperation, tt as getWebhookSubscriptionOperation, u as updateLocationOperation, ut as getSpendProgramOperation, v as suspendCardOperation, vt as getEntityOperation, w as listVendorBankAccountsOperation, wt as getBusinessOperation, x as optInReceiptIntegrationOperation, xt as getCashbackOperation, y as rejectBillOperation, yt as getDepartmentOperation, z as listEntitiesOperation, zt as deactivateUserOperation } from "./upload-receipt.operation-DNDW2WTQ.mjs";
|
|
5
|
+
import { RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES, RAMP_WEBHOOK_SIGNATURE_HEADER, rampDocumentedWebhookEventTypeSchema, rampErrorKindSchema, rampErrorPayloadSchema, rampWebhookChallengeSchema, rampWebhookEventEnvelopeSchema, rampWebhookObjectSchema } from "./schemas/index.mjs";
|
|
6
|
+
|
|
7
|
+
export { RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES, RAMP_OAUTH_SCOPES, RAMP_WEBHOOK_SIGNATURE_HEADER, approveBillOperation, approveBillOperation as approveBillTool, cancelBillOperation, cancelBillOperation as cancelBillTool, commentOnSpendRequestOperation, commentOnSpendRequestOperation as commentOnSpendRequestTool, createAccountingFieldOperation, createAccountingFieldOperation as createAccountingFieldTool, createAccountingSyncOperation, createAccountingSyncOperation as createAccountingSyncTool, createBillOperation, createBillOperation as createBillTool, createCardProgramOperation, createCardProgramOperation as createCardProgramTool, createDepartmentOperation, createDepartmentOperation as createDepartmentTool, createLimitOperation, createLimitOperation as createLimitTool, createLocationOperation, createLocationOperation as createLocationTool, createPhysicalCardOperation, createPhysicalCardOperation as createPhysicalCardTool, createVendorBankAccountOperation, createVendorBankAccountOperation as createVendorBankAccountTool, createVendorOperation, createVendorOperation as createVendorTool, createVirtualCardOperation, createVirtualCardOperation as createVirtualCardTool, createWebhookSubscriptionOperation, createWebhookSubscriptionOperation as createWebhookSubscriptionTool, deactivateUserOperation, deactivateUserOperation as deactivateUserTool, deleteAccountingFieldOperation, deleteAccountingFieldOperation as deleteAccountingFieldTool, deleteDepartmentOperation, deleteDepartmentOperation as deleteDepartmentTool, deleteLimitOperation, deleteLimitOperation as deleteLimitTool, deleteLocationOperation, deleteLocationOperation as deleteLocationTool, deleteVendorBankAccountOperation, deleteVendorBankAccountOperation as deleteVendorBankAccountTool, deleteVendorOperation, deleteVendorOperation as deleteVendorTool, deleteWebhookSubscriptionOperation, deleteWebhookSubscriptionOperation as deleteWebhookSubscriptionTool, getAccountingFieldOperation, getAccountingFieldOperation as getAccountingFieldTool, getAccountingSubsidiaryOperation, getAccountingSubsidiaryOperation as getAccountingSubsidiaryTool, getAccountingSyncOperation, getAccountingSyncOperation as getAccountingSyncTool, getAccountingTrackingCategoryOperation, getAccountingTrackingCategoryOperation as getAccountingTrackingCategoryTool, getAccountingVendorOperation, getAccountingVendorOperation as getAccountingVendorTool, getApplicationOperation, getApplicationOperation as getApplicationTool, getBillOperation, getBillOperation as getBillTool, getBusinessOperation, getBusinessOperation as getBusinessTool, getCardOperation, getCardOperation as getCardTool, getCardProgramOperation, getCardProgramOperation as getCardProgramTool, getCashbackOperation, getCashbackOperation as getCashbackTool, getDeferredTaskOperation, getDeferredTaskOperation as getDeferredTaskTool, getDepartmentOperation, getDepartmentOperation as getDepartmentTool, getEntityOperation, getEntityOperation as getEntityTool, getGlAccountOperation, getGlAccountOperation as getGlAccountTool, getLimitOperation, getLimitOperation as getLimitTool, getLocationOperation, getLocationOperation as getLocationTool, getMemoOperation, getMemoOperation as getMemoTool, getPurchaseOrderOperation, getPurchaseOrderOperation as getPurchaseOrderTool, getReceiptOperation, getReceiptOperation as getReceiptTool, getReimbursementOperation, getReimbursementOperation as getReimbursementTool, getSpendProgramOperation, getSpendProgramOperation as getSpendProgramTool, getSpendRequestOperation, getSpendRequestOperation as getSpendRequestTool, getStatementOperation, getStatementOperation as getStatementTool, getTransactionOperation, getTransactionOperation as getTransactionTool, getTransferOperation, getTransferOperation as getTransferTool, getUnifiedRequestOperation, getUnifiedRequestOperation as getUnifiedRequestTool, getUserOperation, getUserOperation as getUserTool, getVendorBankAccountOperation, getVendorBankAccountOperation as getVendorBankAccountTool, getVendorOperation, getVendorOperation as getVendorTool, getWebhookSubscriptionOperation, getWebhookSubscriptionOperation as getWebhookSubscriptionTool, inviteUserOperation, inviteUserOperation as inviteUserTool, listAccountingFieldOptionsOperation, listAccountingFieldOptionsOperation as listAccountingFieldOptionsTool, listAccountingFieldsOperation, listAccountingFieldsOperation as listAccountingFieldsTool, listAccountingSubsidiariesOperation, listAccountingSubsidiariesOperation as listAccountingSubsidiariesTool, listAccountingSyncsOperation, listAccountingSyncsOperation as listAccountingSyncsTool, listAccountingTrackingCategoriesOperation, listAccountingTrackingCategoriesOperation as listAccountingTrackingCategoriesTool, listAccountingVendorsOperation, listAccountingVendorsOperation as listAccountingVendorsTool, listAllTransactionsOperation, listAllTransactionsOperation as listAllTransactionsTool, listApplicationsOperation, listApplicationsOperation as listApplicationsTool, listBillsOperation, listBillsOperation as listBillsTool, listCardFundTransfersOperation, listCardFundTransfersOperation as listCardFundTransfersTool, listCardProgramsOperation, listCardProgramsOperation as listCardProgramsTool, listCardsOperation, listCardsOperation as listCardsTool, listCashbacksOperation, listCashbacksOperation as listCashbacksTool, listDepartmentsOperation, listDepartmentsOperation as listDepartmentsTool, listEntitiesOperation, listEntitiesOperation as listEntitiesTool, listGlAccountsOperation, listGlAccountsOperation as listGlAccountsTool, listLimitsOperation, listLimitsOperation as listLimitsTool, listLocationsOperation, listLocationsOperation as listLocationsTool, listMemosOperation, listMemosOperation as listMemosTool, listPurchaseOrdersOperation, listPurchaseOrdersOperation as listPurchaseOrdersTool, listReceiptsOperation, listReceiptsOperation as listReceiptsTool, listReimbursementsOperation, listReimbursementsOperation as listReimbursementsTool, listSpendProgramsOperation, listSpendProgramsOperation as listSpendProgramsTool, listSpendRequestsOperation, listSpendRequestsOperation as listSpendRequestsTool, listStatementsOperation, listStatementsOperation as listStatementsTool, listTransactionsOperation, listTransactionsOperation as listTransactionsTool, listTransfersOperation, listTransfersOperation as listTransfersTool, listUnifiedRequestsOperation, listUnifiedRequestsOperation as listUnifiedRequestsTool, listUsersOperation, listUsersOperation as listUsersTool, listVendorBankAccountsOperation, listVendorBankAccountsOperation as listVendorBankAccountsTool, listVendorsOperation, listVendorsOperation as listVendorsTool, listWebhookSubscriptionsOperation, listWebhookSubscriptionsOperation as listWebhookSubscriptionsTool, optInReceiptIntegrationOperation, optInReceiptIntegrationOperation as optInReceiptIntegrationTool, optOutReceiptIntegrationOperation, optOutReceiptIntegrationOperation as optOutReceiptIntegrationTool, 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, rampAppCredentialSet, 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, rampCredentialSet, 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, rejectBillOperation, rejectBillOperation as rejectBillTool, suspendCardOperation, suspendCardOperation as suspendCardTool, terminateCardOperation, terminateCardOperation as terminateCardTool, unsuspendCardOperation, unsuspendCardOperation as unsuspendCardTool, updateAccountingFieldOperation, updateAccountingFieldOperation as updateAccountingFieldTool, updateBillOperation, updateBillOperation as updateBillTool, updateCardOperation, updateCardOperation as updateCardTool, updateDepartmentOperation, updateDepartmentOperation as updateDepartmentTool, updateLimitOperation, updateLimitOperation as updateLimitTool, updateLocationOperation, updateLocationOperation as updateLocationTool, updateUserOperation, updateUserOperation as updateUserTool, updateVendorBankAccountOperation, updateVendorBankAccountOperation as updateVendorBankAccountTool, updateVendorOperation, updateVendorOperation as updateVendorTool, updateWebhookSubscriptionOperation, updateWebhookSubscriptionOperation as updateWebhookSubscriptionTool, uploadAccountingFieldOptionsOperation, uploadAccountingFieldOptionsOperation as uploadAccountingFieldOptionsTool, uploadAccountingSubsidiariesOperation, uploadAccountingSubsidiariesOperation as uploadAccountingSubsidiariesTool, uploadAccountingVendorsOperation, uploadAccountingVendorsOperation as uploadAccountingVendorsTool, uploadGlAccountsOperation, uploadGlAccountsOperation as uploadGlAccountsTool, uploadReceiptOperation, uploadReceiptOperation as uploadReceiptTool };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as listAccountingFieldOptionsOperation, $t as cancelBillOperation, A as listSpendRequestsOperation, At as getAccountingSubsidiaryOperation, B as listDepartmentsOperation, Bt as createWebhookSubscriptionOperation, C as listVendorsOperation, Ct as getCardOperation, D as listTransfersOperation, Dt as getAccountingVendorOperation, E as listUnifiedRequestsOperation, Et as getApplicationOperation, F as listMemosOperation, Ft as deleteLocationOperation, G as listBillsOperation, Gt as createLocationOperation, H as listCardsOperation, Ht as createVendorBankAccountOperation, I as listLocationsOperation, It as deleteLimitOperation, J as listAccountingVendorsOperation, Jt as createCardProgramOperation, K as listApplicationsOperation, Kt as createLimitOperation, L as listLimitsOperation, Lt as deleteDepartmentOperation, M as listReimbursementsOperation, Mt as deleteWebhookSubscriptionOperation, N as listReceiptsOperation, Nt as deleteVendorBankAccountOperation, O as listTransactionsOperation, Ot as getAccountingTrackingCategoryOperation, P as listPurchaseOrdersOperation, Pt as deleteVendorOperation, Q as listAccountingFieldsOperation, Qt as commentOnSpendRequestOperation, R as listGlAccountsOperation, Rt as deleteAccountingFieldOperation, S as listWebhookSubscriptionsOperation, St as getCardProgramOperation, T as listUsersOperation, Tt as getBillOperation, U as listCardProgramsOperation, Ut as createVendorOperation, V as listCashbacksOperation, Vt as createVirtualCardOperation, W as listCardFundTransfersOperation, Wt as createPhysicalCardOperation, X as listAccountingSyncsOperation, Xt as createAccountingSyncOperation, Y as listAccountingTrackingCategoriesOperation, Yt as createBillOperation, Z as listAccountingSubsidiariesOperation, Zt as createAccountingFieldOperation, _ as terminateCardOperation, _t as getGlAccountOperation, a as uploadAccountingFieldOptionsOperation, at as getUnifiedRequestOperation, b as optOutReceiptIntegrationOperation, bt as getDeferredTaskOperation, c as updateVendorOperation, ct as getStatementOperation, d as updateLimitOperation, dt as getReimbursementOperation, en as approveBillOperation, et as inviteUserOperation, f as updateDepartmentOperation, ft as getReceiptOperation, g as unsuspendCardOperation, gt as getLimitOperation, h as updateAccountingFieldOperation, ht as getLocationOperation, i as uploadAccountingSubsidiariesOperation, it as getUserOperation, j as listSpendProgramsOperation, jt as getAccountingFieldOperation, k as listStatementsOperation, kt as getAccountingSyncOperation, l as updateUserOperation, lt as getSpendRequestOperation, m as updateBillOperation, mt as getMemoOperation, n as uploadGlAccountsOperation, nt as getVendorBankAccountOperation, o as updateWebhookSubscriptionOperation, ot as getTransferOperation, p as updateCardOperation, pt as getPurchaseOrderOperation, q as listAllTransactionsOperation, qt as createDepartmentOperation, r as uploadAccountingVendorsOperation, rt as getVendorOperation, s as updateVendorBankAccountOperation, st as getTransactionOperation, t as uploadReceiptOperation, tt as getWebhookSubscriptionOperation, u as updateLocationOperation, ut as getSpendProgramOperation, v as suspendCardOperation, vt as getEntityOperation, w as listVendorBankAccountsOperation, wt as getBusinessOperation, x as optInReceiptIntegrationOperation, xt as getCashbackOperation, y as rejectBillOperation, yt as getDepartmentOperation, z as listEntitiesOperation, zt as deactivateUserOperation } from "../upload-receipt.operation-ClJzqNb-.mjs";
|
|
2
|
+
export { approveBillOperation, approveBillOperation as approveBillTool, cancelBillOperation, cancelBillOperation as cancelBillTool, commentOnSpendRequestOperation, commentOnSpendRequestOperation as commentOnSpendRequestTool, createAccountingFieldOperation, createAccountingFieldOperation as createAccountingFieldTool, createAccountingSyncOperation, createAccountingSyncOperation as createAccountingSyncTool, createBillOperation, createBillOperation as createBillTool, createCardProgramOperation, createCardProgramOperation as createCardProgramTool, createDepartmentOperation, createDepartmentOperation as createDepartmentTool, createLimitOperation, createLimitOperation as createLimitTool, createLocationOperation, createLocationOperation as createLocationTool, createPhysicalCardOperation, createPhysicalCardOperation as createPhysicalCardTool, createVendorBankAccountOperation, createVendorBankAccountOperation as createVendorBankAccountTool, createVendorOperation, createVendorOperation as createVendorTool, createVirtualCardOperation, createVirtualCardOperation as createVirtualCardTool, createWebhookSubscriptionOperation, createWebhookSubscriptionOperation as createWebhookSubscriptionTool, deactivateUserOperation, deactivateUserOperation as deactivateUserTool, deleteAccountingFieldOperation, deleteAccountingFieldOperation as deleteAccountingFieldTool, deleteDepartmentOperation, deleteDepartmentOperation as deleteDepartmentTool, deleteLimitOperation, deleteLimitOperation as deleteLimitTool, deleteLocationOperation, deleteLocationOperation as deleteLocationTool, deleteVendorBankAccountOperation, deleteVendorBankAccountOperation as deleteVendorBankAccountTool, deleteVendorOperation, deleteVendorOperation as deleteVendorTool, deleteWebhookSubscriptionOperation, deleteWebhookSubscriptionOperation as deleteWebhookSubscriptionTool, getAccountingFieldOperation, getAccountingFieldOperation as getAccountingFieldTool, getAccountingSubsidiaryOperation, getAccountingSubsidiaryOperation as getAccountingSubsidiaryTool, getAccountingSyncOperation, getAccountingSyncOperation as getAccountingSyncTool, getAccountingTrackingCategoryOperation, getAccountingTrackingCategoryOperation as getAccountingTrackingCategoryTool, getAccountingVendorOperation, getAccountingVendorOperation as getAccountingVendorTool, getApplicationOperation, getApplicationOperation as getApplicationTool, getBillOperation, getBillOperation as getBillTool, getBusinessOperation, getBusinessOperation as getBusinessTool, getCardOperation, getCardOperation as getCardTool, getCardProgramOperation, getCardProgramOperation as getCardProgramTool, getCashbackOperation, getCashbackOperation as getCashbackTool, getDeferredTaskOperation, getDeferredTaskOperation as getDeferredTaskTool, getDepartmentOperation, getDepartmentOperation as getDepartmentTool, getEntityOperation, getEntityOperation as getEntityTool, getGlAccountOperation, getGlAccountOperation as getGlAccountTool, getLimitOperation, getLimitOperation as getLimitTool, getLocationOperation, getLocationOperation as getLocationTool, getMemoOperation, getMemoOperation as getMemoTool, getPurchaseOrderOperation, getPurchaseOrderOperation as getPurchaseOrderTool, getReceiptOperation, getReceiptOperation as getReceiptTool, getReimbursementOperation, getReimbursementOperation as getReimbursementTool, getSpendProgramOperation, getSpendProgramOperation as getSpendProgramTool, getSpendRequestOperation, getSpendRequestOperation as getSpendRequestTool, getStatementOperation, getStatementOperation as getStatementTool, getTransactionOperation, getTransactionOperation as getTransactionTool, getTransferOperation, getTransferOperation as getTransferTool, getUnifiedRequestOperation, getUnifiedRequestOperation as getUnifiedRequestTool, getUserOperation, getUserOperation as getUserTool, getVendorBankAccountOperation, getVendorBankAccountOperation as getVendorBankAccountTool, getVendorOperation, getVendorOperation as getVendorTool, getWebhookSubscriptionOperation, getWebhookSubscriptionOperation as getWebhookSubscriptionTool, inviteUserOperation, inviteUserOperation as inviteUserTool, listAccountingFieldOptionsOperation, listAccountingFieldOptionsOperation as listAccountingFieldOptionsTool, listAccountingFieldsOperation, listAccountingFieldsOperation as listAccountingFieldsTool, listAccountingSubsidiariesOperation, listAccountingSubsidiariesOperation as listAccountingSubsidiariesTool, listAccountingSyncsOperation, listAccountingSyncsOperation as listAccountingSyncsTool, listAccountingTrackingCategoriesOperation, listAccountingTrackingCategoriesOperation as listAccountingTrackingCategoriesTool, listAccountingVendorsOperation, listAccountingVendorsOperation as listAccountingVendorsTool, listAllTransactionsOperation, listAllTransactionsOperation as listAllTransactionsTool, listApplicationsOperation, listApplicationsOperation as listApplicationsTool, listBillsOperation, listBillsOperation as listBillsTool, listCardFundTransfersOperation, listCardFundTransfersOperation as listCardFundTransfersTool, listCardProgramsOperation, listCardProgramsOperation as listCardProgramsTool, listCardsOperation, listCardsOperation as listCardsTool, listCashbacksOperation, listCashbacksOperation as listCashbacksTool, listDepartmentsOperation, listDepartmentsOperation as listDepartmentsTool, listEntitiesOperation, listEntitiesOperation as listEntitiesTool, listGlAccountsOperation, listGlAccountsOperation as listGlAccountsTool, listLimitsOperation, listLimitsOperation as listLimitsTool, listLocationsOperation, listLocationsOperation as listLocationsTool, listMemosOperation, listMemosOperation as listMemosTool, listPurchaseOrdersOperation, listPurchaseOrdersOperation as listPurchaseOrdersTool, listReceiptsOperation, listReceiptsOperation as listReceiptsTool, listReimbursementsOperation, listReimbursementsOperation as listReimbursementsTool, listSpendProgramsOperation, listSpendProgramsOperation as listSpendProgramsTool, listSpendRequestsOperation, listSpendRequestsOperation as listSpendRequestsTool, listStatementsOperation, listStatementsOperation as listStatementsTool, listTransactionsOperation, listTransactionsOperation as listTransactionsTool, listTransfersOperation, listTransfersOperation as listTransfersTool, listUnifiedRequestsOperation, listUnifiedRequestsOperation as listUnifiedRequestsTool, listUsersOperation, listUsersOperation as listUsersTool, listVendorBankAccountsOperation, listVendorBankAccountsOperation as listVendorBankAccountsTool, listVendorsOperation, listVendorsOperation as listVendorsTool, listWebhookSubscriptionsOperation, listWebhookSubscriptionsOperation as listWebhookSubscriptionsTool, optInReceiptIntegrationOperation, optInReceiptIntegrationOperation as optInReceiptIntegrationTool, optOutReceiptIntegrationOperation, optOutReceiptIntegrationOperation as optOutReceiptIntegrationTool, rejectBillOperation, rejectBillOperation as rejectBillTool, suspendCardOperation, suspendCardOperation as suspendCardTool, terminateCardOperation, terminateCardOperation as terminateCardTool, unsuspendCardOperation, unsuspendCardOperation as unsuspendCardTool, updateAccountingFieldOperation, updateAccountingFieldOperation as updateAccountingFieldTool, updateBillOperation, updateBillOperation as updateBillTool, updateCardOperation, updateCardOperation as updateCardTool, updateDepartmentOperation, updateDepartmentOperation as updateDepartmentTool, updateLimitOperation, updateLimitOperation as updateLimitTool, updateLocationOperation, updateLocationOperation as updateLocationTool, updateUserOperation, updateUserOperation as updateUserTool, updateVendorBankAccountOperation, updateVendorBankAccountOperation as updateVendorBankAccountTool, updateVendorOperation, updateVendorOperation as updateVendorTool, updateWebhookSubscriptionOperation, updateWebhookSubscriptionOperation as updateWebhookSubscriptionTool, uploadAccountingFieldOptionsOperation, uploadAccountingFieldOptionsOperation as uploadAccountingFieldOptionsTool, uploadAccountingSubsidiariesOperation, uploadAccountingSubsidiariesOperation as uploadAccountingSubsidiariesTool, uploadAccountingVendorsOperation, uploadAccountingVendorsOperation as uploadAccountingVendorsTool, uploadGlAccountsOperation, uploadGlAccountsOperation as uploadGlAccountsTool, uploadReceiptOperation, uploadReceiptOperation as uploadReceiptTool };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { $ as listAccountingFieldOptionsOperation, $t as cancelBillOperation, A as listSpendRequestsOperation, At as getAccountingSubsidiaryOperation, B as listDepartmentsOperation, Bt as createWebhookSubscriptionOperation, C as listVendorsOperation, Ct as getCardOperation, D as listTransfersOperation, Dt as getAccountingVendorOperation, E as listUnifiedRequestsOperation, Et as getApplicationOperation, F as listMemosOperation, Ft as deleteLocationOperation, G as listBillsOperation, Gt as createLocationOperation, H as listCardsOperation, Ht as createVendorBankAccountOperation, I as listLocationsOperation, It as deleteLimitOperation, J as listAccountingVendorsOperation, Jt as createCardProgramOperation, K as listApplicationsOperation, Kt as createLimitOperation, L as listLimitsOperation, Lt as deleteDepartmentOperation, M as listReimbursementsOperation, Mt as deleteWebhookSubscriptionOperation, N as listReceiptsOperation, Nt as deleteVendorBankAccountOperation, O as listTransactionsOperation, Ot as getAccountingTrackingCategoryOperation, P as listPurchaseOrdersOperation, Pt as deleteVendorOperation, Q as listAccountingFieldsOperation, Qt as commentOnSpendRequestOperation, R as listGlAccountsOperation, Rt as deleteAccountingFieldOperation, S as listWebhookSubscriptionsOperation, St as getCardProgramOperation, T as listUsersOperation, Tt as getBillOperation, U as listCardProgramsOperation, Ut as createVendorOperation, V as listCashbacksOperation, Vt as createVirtualCardOperation, W as listCardFundTransfersOperation, Wt as createPhysicalCardOperation, X as listAccountingSyncsOperation, Xt as createAccountingSyncOperation, Y as listAccountingTrackingCategoriesOperation, Yt as createBillOperation, Z as listAccountingSubsidiariesOperation, Zt as createAccountingFieldOperation, _ as terminateCardOperation, _t as getGlAccountOperation, a as uploadAccountingFieldOptionsOperation, at as getUnifiedRequestOperation, b as optOutReceiptIntegrationOperation, bt as getDeferredTaskOperation, c as updateVendorOperation, ct as getStatementOperation, d as updateLimitOperation, dt as getReimbursementOperation, en as approveBillOperation, et as inviteUserOperation, f as updateDepartmentOperation, ft as getReceiptOperation, g as unsuspendCardOperation, gt as getLimitOperation, h as updateAccountingFieldOperation, ht as getLocationOperation, i as uploadAccountingSubsidiariesOperation, it as getUserOperation, j as listSpendProgramsOperation, jt as getAccountingFieldOperation, k as listStatementsOperation, kt as getAccountingSyncOperation, l as updateUserOperation, lt as getSpendRequestOperation, m as updateBillOperation, mt as getMemoOperation, n as uploadGlAccountsOperation, nt as getVendorBankAccountOperation, o as updateWebhookSubscriptionOperation, ot as getTransferOperation, p as updateCardOperation, pt as getPurchaseOrderOperation, q as listAllTransactionsOperation, qt as createDepartmentOperation, r as uploadAccountingVendorsOperation, rt as getVendorOperation, s as updateVendorBankAccountOperation, st as getTransactionOperation, t as uploadReceiptOperation, tt as getWebhookSubscriptionOperation, u as updateLocationOperation, ut as getSpendProgramOperation, v as suspendCardOperation, vt as getEntityOperation, w as listVendorBankAccountsOperation, wt as getBusinessOperation, x as optInReceiptIntegrationOperation, xt as getCashbackOperation, y as rejectBillOperation, yt as getDepartmentOperation, z as listEntitiesOperation, zt as deactivateUserOperation } from "../upload-receipt.operation-DNDW2WTQ.mjs";
|
|
2
|
+
|
|
3
|
+
export { approveBillOperation, approveBillOperation as approveBillTool, cancelBillOperation, cancelBillOperation as cancelBillTool, commentOnSpendRequestOperation, commentOnSpendRequestOperation as commentOnSpendRequestTool, createAccountingFieldOperation, createAccountingFieldOperation as createAccountingFieldTool, createAccountingSyncOperation, createAccountingSyncOperation as createAccountingSyncTool, createBillOperation, createBillOperation as createBillTool, createCardProgramOperation, createCardProgramOperation as createCardProgramTool, createDepartmentOperation, createDepartmentOperation as createDepartmentTool, createLimitOperation, createLimitOperation as createLimitTool, createLocationOperation, createLocationOperation as createLocationTool, createPhysicalCardOperation, createPhysicalCardOperation as createPhysicalCardTool, createVendorBankAccountOperation, createVendorBankAccountOperation as createVendorBankAccountTool, createVendorOperation, createVendorOperation as createVendorTool, createVirtualCardOperation, createVirtualCardOperation as createVirtualCardTool, createWebhookSubscriptionOperation, createWebhookSubscriptionOperation as createWebhookSubscriptionTool, deactivateUserOperation, deactivateUserOperation as deactivateUserTool, deleteAccountingFieldOperation, deleteAccountingFieldOperation as deleteAccountingFieldTool, deleteDepartmentOperation, deleteDepartmentOperation as deleteDepartmentTool, deleteLimitOperation, deleteLimitOperation as deleteLimitTool, deleteLocationOperation, deleteLocationOperation as deleteLocationTool, deleteVendorBankAccountOperation, deleteVendorBankAccountOperation as deleteVendorBankAccountTool, deleteVendorOperation, deleteVendorOperation as deleteVendorTool, deleteWebhookSubscriptionOperation, deleteWebhookSubscriptionOperation as deleteWebhookSubscriptionTool, getAccountingFieldOperation, getAccountingFieldOperation as getAccountingFieldTool, getAccountingSubsidiaryOperation, getAccountingSubsidiaryOperation as getAccountingSubsidiaryTool, getAccountingSyncOperation, getAccountingSyncOperation as getAccountingSyncTool, getAccountingTrackingCategoryOperation, getAccountingTrackingCategoryOperation as getAccountingTrackingCategoryTool, getAccountingVendorOperation, getAccountingVendorOperation as getAccountingVendorTool, getApplicationOperation, getApplicationOperation as getApplicationTool, getBillOperation, getBillOperation as getBillTool, getBusinessOperation, getBusinessOperation as getBusinessTool, getCardOperation, getCardOperation as getCardTool, getCardProgramOperation, getCardProgramOperation as getCardProgramTool, getCashbackOperation, getCashbackOperation as getCashbackTool, getDeferredTaskOperation, getDeferredTaskOperation as getDeferredTaskTool, getDepartmentOperation, getDepartmentOperation as getDepartmentTool, getEntityOperation, getEntityOperation as getEntityTool, getGlAccountOperation, getGlAccountOperation as getGlAccountTool, getLimitOperation, getLimitOperation as getLimitTool, getLocationOperation, getLocationOperation as getLocationTool, getMemoOperation, getMemoOperation as getMemoTool, getPurchaseOrderOperation, getPurchaseOrderOperation as getPurchaseOrderTool, getReceiptOperation, getReceiptOperation as getReceiptTool, getReimbursementOperation, getReimbursementOperation as getReimbursementTool, getSpendProgramOperation, getSpendProgramOperation as getSpendProgramTool, getSpendRequestOperation, getSpendRequestOperation as getSpendRequestTool, getStatementOperation, getStatementOperation as getStatementTool, getTransactionOperation, getTransactionOperation as getTransactionTool, getTransferOperation, getTransferOperation as getTransferTool, getUnifiedRequestOperation, getUnifiedRequestOperation as getUnifiedRequestTool, getUserOperation, getUserOperation as getUserTool, getVendorBankAccountOperation, getVendorBankAccountOperation as getVendorBankAccountTool, getVendorOperation, getVendorOperation as getVendorTool, getWebhookSubscriptionOperation, getWebhookSubscriptionOperation as getWebhookSubscriptionTool, inviteUserOperation, inviteUserOperation as inviteUserTool, listAccountingFieldOptionsOperation, listAccountingFieldOptionsOperation as listAccountingFieldOptionsTool, listAccountingFieldsOperation, listAccountingFieldsOperation as listAccountingFieldsTool, listAccountingSubsidiariesOperation, listAccountingSubsidiariesOperation as listAccountingSubsidiariesTool, listAccountingSyncsOperation, listAccountingSyncsOperation as listAccountingSyncsTool, listAccountingTrackingCategoriesOperation, listAccountingTrackingCategoriesOperation as listAccountingTrackingCategoriesTool, listAccountingVendorsOperation, listAccountingVendorsOperation as listAccountingVendorsTool, listAllTransactionsOperation, listAllTransactionsOperation as listAllTransactionsTool, listApplicationsOperation, listApplicationsOperation as listApplicationsTool, listBillsOperation, listBillsOperation as listBillsTool, listCardFundTransfersOperation, listCardFundTransfersOperation as listCardFundTransfersTool, listCardProgramsOperation, listCardProgramsOperation as listCardProgramsTool, listCardsOperation, listCardsOperation as listCardsTool, listCashbacksOperation, listCashbacksOperation as listCashbacksTool, listDepartmentsOperation, listDepartmentsOperation as listDepartmentsTool, listEntitiesOperation, listEntitiesOperation as listEntitiesTool, listGlAccountsOperation, listGlAccountsOperation as listGlAccountsTool, listLimitsOperation, listLimitsOperation as listLimitsTool, listLocationsOperation, listLocationsOperation as listLocationsTool, listMemosOperation, listMemosOperation as listMemosTool, listPurchaseOrdersOperation, listPurchaseOrdersOperation as listPurchaseOrdersTool, listReceiptsOperation, listReceiptsOperation as listReceiptsTool, listReimbursementsOperation, listReimbursementsOperation as listReimbursementsTool, listSpendProgramsOperation, listSpendProgramsOperation as listSpendProgramsTool, listSpendRequestsOperation, listSpendRequestsOperation as listSpendRequestsTool, listStatementsOperation, listStatementsOperation as listStatementsTool, listTransactionsOperation, listTransactionsOperation as listTransactionsTool, listTransfersOperation, listTransfersOperation as listTransfersTool, listUnifiedRequestsOperation, listUnifiedRequestsOperation as listUnifiedRequestsTool, listUsersOperation, listUsersOperation as listUsersTool, listVendorBankAccountsOperation, listVendorBankAccountsOperation as listVendorBankAccountsTool, listVendorsOperation, listVendorsOperation as listVendorsTool, listWebhookSubscriptionsOperation, listWebhookSubscriptionsOperation as listWebhookSubscriptionsTool, optInReceiptIntegrationOperation, optInReceiptIntegrationOperation as optInReceiptIntegrationTool, optOutReceiptIntegrationOperation, optOutReceiptIntegrationOperation as optOutReceiptIntegrationTool, rejectBillOperation, rejectBillOperation as rejectBillTool, suspendCardOperation, suspendCardOperation as suspendCardTool, terminateCardOperation, terminateCardOperation as terminateCardTool, unsuspendCardOperation, unsuspendCardOperation as unsuspendCardTool, updateAccountingFieldOperation, updateAccountingFieldOperation as updateAccountingFieldTool, updateBillOperation, updateBillOperation as updateBillTool, updateCardOperation, updateCardOperation as updateCardTool, updateDepartmentOperation, updateDepartmentOperation as updateDepartmentTool, updateLimitOperation, updateLimitOperation as updateLimitTool, updateLocationOperation, updateLocationOperation as updateLocationTool, updateUserOperation, updateUserOperation as updateUserTool, updateVendorBankAccountOperation, updateVendorBankAccountOperation as updateVendorBankAccountTool, updateVendorOperation, updateVendorOperation as updateVendorTool, updateWebhookSubscriptionOperation, updateWebhookSubscriptionOperation as updateWebhookSubscriptionTool, uploadAccountingFieldOptionsOperation, uploadAccountingFieldOptionsOperation as uploadAccountingFieldOptionsTool, uploadAccountingSubsidiariesOperation, uploadAccountingSubsidiariesOperation as uploadAccountingSubsidiariesTool, uploadAccountingVendorsOperation, uploadAccountingVendorsOperation as uploadAccountingVendorsTool, uploadGlAccountsOperation, uploadGlAccountsOperation as uploadGlAccountsTool, uploadReceiptOperation, uploadReceiptOperation as uploadReceiptTool };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region src/credential-sets/ramp-app.credential-set.ts
|
|
5
|
+
/**
|
|
6
|
+
* Internal credential set for the Keystroke-owned Ramp OAuth application.
|
|
7
|
+
*
|
|
8
|
+
* Stores the client id/secret that Keystroke uses to speak to Ramp's token
|
|
9
|
+
* endpoint, and optionally the webhook signing secret used to verify inbound
|
|
10
|
+
* `X-Ramp-Signature` headers.
|
|
11
|
+
*/
|
|
12
|
+
const rampAppCredentialSet = new CredentialSet({
|
|
13
|
+
id: "ramp-app",
|
|
14
|
+
exposure: "platform-only",
|
|
15
|
+
name: "Ramp App",
|
|
16
|
+
auth: z.object({
|
|
17
|
+
clientId: z.string().min(1),
|
|
18
|
+
clientSecret: z.string().min(1),
|
|
19
|
+
webhookSecret: z.string().min(1).optional()
|
|
20
|
+
})
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { rampAppCredentialSet as t };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
|
+
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
5
|
+
|
|
6
|
+
//#region src/credential-sets/ramp.credential-set.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* OAuth scopes requested at connect time.
|
|
9
|
+
*
|
|
10
|
+
* Only includes scopes that are currently documented in Ramp's developer docs
|
|
11
|
+
* (verified 2026-04-17). Operations gated on undocumented scopes must fail at
|
|
12
|
+
* runtime with `RampMissingScopeError` and must NOT add phantom scopes here.
|
|
13
|
+
*/
|
|
14
|
+
declare const RAMP_OAUTH_SCOPES: readonly ["accounting:read", "accounting:write", "bank_accounts:read", "bills:read", "bills:write", "business:read", "card_programs:read", "card_programs:write", "cards:read", "cards:write", "cashbacks:read", "departments:read", "departments:write", "entities:read", "limits:read", "limits:write", "locations:read", "locations:write", "memos:read", "receipt_integrations:read", "receipt_integrations:write", "receipts:read", "receipts:write", "reimbursements:read", "spend_programs:read", "statements:read", "transactions:read", "transfers:read", "users:read", "users:write", "vendors:read", "vendors:write"];
|
|
15
|
+
declare const rampCredentialSet: CredentialSet<"ramp", z.ZodObject<{
|
|
16
|
+
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
17
|
+
}, z.core.$strip>, {
|
|
18
|
+
id: string;
|
|
19
|
+
kind: "oauth";
|
|
20
|
+
tokenType: "refreshable";
|
|
21
|
+
authUrl: string;
|
|
22
|
+
tokenUrl: string;
|
|
23
|
+
revokeUrl: string;
|
|
24
|
+
scopes: readonly ["accounting:read", "accounting:write", "bank_accounts:read", "bills:read", "bills:write", "business:read", "card_programs:read", "card_programs:write", "cards:read", "cards:write", "cashbacks:read", "departments:read", "departments:write", "entities:read", "limits:read", "limits:write", "locations:read", "locations:write", "memos:read", "receipt_integrations:read", "receipt_integrations:write", "receipts:read", "receipts:write", "reimbursements:read", "spend_programs:read", "statements:read", "transactions:read", "transfers:read", "users:read", "users:write", "vendors:read", "vendors:write"];
|
|
25
|
+
vault: {
|
|
26
|
+
accessToken: "RAMP_ACCESS_TOKEN";
|
|
27
|
+
};
|
|
28
|
+
}[]>;
|
|
29
|
+
type RampCredentials = InferCredentialSetAuth<typeof rampCredentialSet>;
|
|
30
|
+
type RampOAuthScope = (typeof RAMP_OAUTH_SCOPES)[number];
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/credential-sets/ramp-app.credential-set.d.ts
|
|
33
|
+
/**
|
|
34
|
+
* Internal credential set for the Keystroke-owned Ramp OAuth application.
|
|
35
|
+
*
|
|
36
|
+
* Stores the client id/secret that Keystroke uses to speak to Ramp's token
|
|
37
|
+
* endpoint, and optionally the webhook signing secret used to verify inbound
|
|
38
|
+
* `X-Ramp-Signature` headers.
|
|
39
|
+
*/
|
|
40
|
+
declare const rampAppCredentialSet: CredentialSet<"ramp-app", z.ZodObject<{
|
|
41
|
+
clientId: z.ZodString;
|
|
42
|
+
clientSecret: z.ZodString;
|
|
43
|
+
webhookSecret: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
45
|
+
clientId: z.ZodString;
|
|
46
|
+
clientSecret: z.ZodString;
|
|
47
|
+
webhookSecret: z.ZodOptional<z.ZodString>;
|
|
48
|
+
}, z.core.$strip>>[] | undefined>;
|
|
49
|
+
type RampAppCredentials = z.infer<typeof rampAppCredentialSet.auth>;
|
|
50
|
+
//#endregion
|
|
51
|
+
export { RampOAuthScope as a, RampCredentials as i, rampAppCredentialSet as n, rampCredentialSet as o, RAMP_OAUTH_SCOPES as r, RampAppCredentials as t };
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region src/credential-sets/ramp.credential-set.ts
|
|
5
|
+
const rampAuthSchema = z.object({ RAMP_ACCESS_TOKEN: z.string().min(1) });
|
|
6
|
+
/**
|
|
7
|
+
* OAuth scopes requested at connect time.
|
|
8
|
+
*
|
|
9
|
+
* Only includes scopes that are currently documented in Ramp's developer docs
|
|
10
|
+
* (verified 2026-04-17). Operations gated on undocumented scopes must fail at
|
|
11
|
+
* runtime with `RampMissingScopeError` and must NOT add phantom scopes here.
|
|
12
|
+
*/
|
|
13
|
+
const RAMP_OAUTH_SCOPES = [
|
|
14
|
+
"accounting:read",
|
|
15
|
+
"accounting:write",
|
|
16
|
+
"bank_accounts:read",
|
|
17
|
+
"bills:read",
|
|
18
|
+
"bills:write",
|
|
19
|
+
"business:read",
|
|
20
|
+
"card_programs:read",
|
|
21
|
+
"card_programs:write",
|
|
22
|
+
"cards:read",
|
|
23
|
+
"cards:write",
|
|
24
|
+
"cashbacks:read",
|
|
25
|
+
"departments:read",
|
|
26
|
+
"departments:write",
|
|
27
|
+
"entities:read",
|
|
28
|
+
"limits:read",
|
|
29
|
+
"limits:write",
|
|
30
|
+
"locations:read",
|
|
31
|
+
"locations:write",
|
|
32
|
+
"memos:read",
|
|
33
|
+
"receipt_integrations:read",
|
|
34
|
+
"receipt_integrations:write",
|
|
35
|
+
"receipts:read",
|
|
36
|
+
"receipts:write",
|
|
37
|
+
"reimbursements:read",
|
|
38
|
+
"spend_programs:read",
|
|
39
|
+
"statements:read",
|
|
40
|
+
"transactions:read",
|
|
41
|
+
"transfers:read",
|
|
42
|
+
"users:read",
|
|
43
|
+
"users:write",
|
|
44
|
+
"vendors:read",
|
|
45
|
+
"vendors:write"
|
|
46
|
+
];
|
|
47
|
+
const rampCredentialSet = new CredentialSet({
|
|
48
|
+
id: "ramp",
|
|
49
|
+
name: "Ramp",
|
|
50
|
+
description: "Ramp corporate cards, spend management, bill pay, reimbursements, and accounting integrations for Keystroke workflows.",
|
|
51
|
+
auth: rampAuthSchema,
|
|
52
|
+
connections: [{
|
|
53
|
+
id: "oauth",
|
|
54
|
+
kind: "oauth",
|
|
55
|
+
tokenType: "refreshable",
|
|
56
|
+
authUrl: "https://app.ramp.com/v1/authorize",
|
|
57
|
+
tokenUrl: "https://api.ramp.com/developer/v1/token",
|
|
58
|
+
revokeUrl: "https://api.ramp.com/developer/v1/token/revoke",
|
|
59
|
+
scopes: RAMP_OAUTH_SCOPES,
|
|
60
|
+
vault: { accessToken: "RAMP_ACCESS_TOKEN" }
|
|
61
|
+
}]
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
//#endregion
|
|
65
|
+
export { rampCredentialSet as n, RAMP_OAUTH_SCOPES as t };
|