@keystrokehq/ramp 0.0.5 → 0.0.6-rename-t1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +2 -2
- package/dist/_official/index.mjs +2 -2
- package/dist/accounting-fields.mjs +1 -1
- package/dist/accounting-gl-accounts.mjs +1 -1
- package/dist/accounting-subsidiaries.mjs +1 -1
- package/dist/accounting-sync.mjs +1 -1
- package/dist/accounting-tracking-categories.mjs +1 -1
- package/dist/accounting-vendors.mjs +1 -1
- package/dist/applications.d.mts +3 -3
- package/dist/applications.mjs +1 -1
- package/dist/bills.d.mts +24 -24
- package/dist/bills.mjs +1 -1
- package/dist/business.mjs +1 -1
- package/dist/card-programs.mjs +1 -1
- package/dist/cards.mjs +1 -1
- package/dist/cashbacks.mjs +1 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.mjs +1 -1
- package/dist/entities.mjs +1 -1
- package/dist/{factory-sHitXBO_.mjs → factory-BVX9iEl4.mjs} +1 -1
- package/dist/{integration-DG56PIa4.mjs → integration-D4-wNCh9.mjs} +2 -2
- package/dist/limits.mjs +1 -1
- package/dist/locations.mjs +1 -1
- package/dist/memos.mjs +1 -1
- package/dist/purchase-orders.d.mts +3 -3
- package/dist/purchase-orders.mjs +1 -1
- package/dist/receipt-integrations.mjs +1 -1
- package/dist/receipts.mjs +1 -1
- package/dist/reimbursements.d.mts +3 -3
- package/dist/reimbursements.mjs +1 -1
- package/dist/schemas/index.d.mts +1 -1
- package/dist/spend-programs.mjs +1 -1
- package/dist/spend-requests.d.mts +3 -3
- package/dist/spend-requests.mjs +1 -1
- package/dist/statements.mjs +1 -1
- package/dist/transactions.d.mts +10 -10
- package/dist/transactions.mjs +1 -1
- package/dist/transfers.d.mts +3 -3
- package/dist/transfers.mjs +1 -1
- package/dist/triggers/index.d.mts +1 -1
- package/dist/triggers/index.mjs +1 -1
- package/dist/unified-requests.d.mts +3 -3
- package/dist/unified-requests.mjs +1 -1
- package/dist/users.mjs +1 -1
- package/dist/vendor-bank-accounts.mjs +1 -1
- package/dist/{vendors-gH-w9b_R.d.mts → vendors-BEnJpk9A.d.mts} +44 -44
- package/dist/vendors.mjs +1 -1
- package/dist/webhooks.mjs +1 -1
- package/package.json +2 -2
|
@@ -23,7 +23,7 @@ declare const rampAppCredentialSet: CredentialSet<"keystroke:ramp-app", z.ZodObj
|
|
|
23
23
|
clientSecret: z.ZodString;
|
|
24
24
|
webhookSecret: z.ZodOptional<z.ZodString>;
|
|
25
25
|
}, z.core.$strip>>[] | undefined>;
|
|
26
|
-
declare const
|
|
26
|
+
declare const rampOfficialProviderSeed: {
|
|
27
27
|
readonly provider: "ramp";
|
|
28
28
|
readonly appRef: "ramp-platform";
|
|
29
29
|
readonly displayName: "Ramp Platform";
|
|
@@ -43,4 +43,4 @@ declare const rampPlatformProviderSeed: {
|
|
|
43
43
|
};
|
|
44
44
|
type RampAppCredentials = z.infer<typeof rampAppCredentialSet.auth>;
|
|
45
45
|
//#endregion
|
|
46
|
-
export { RampAppCredentials, ramp, rampAppCredentialSet, rampBundle, rampOfficialIntegration,
|
|
46
|
+
export { RampAppCredentials, ramp, rampAppCredentialSet, rampBundle, rampOfficialIntegration, rampOfficialProviderSeed };
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as rampAppCredentialSet, i as rampOfficialIntegration, n as ramp, o as
|
|
1
|
+
import { a as rampAppCredentialSet, i as rampOfficialIntegration, n as ramp, o as rampOfficialProviderSeed, r as rampBundle } from "../integration-D4-wNCh9.mjs";
|
|
2
2
|
|
|
3
|
-
export { ramp, rampAppCredentialSet, rampBundle, rampOfficialIntegration,
|
|
3
|
+
export { ramp, rampAppCredentialSet, rampBundle, rampOfficialIntegration, rampOfficialProviderSeed };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampAccountingFieldListSchema, d as rampAccountingFieldUpdateInputSchema, i as rampAccountingFieldListInputSchema, l as rampAccountingFieldOptionUploadInputSchema, n as rampAccountingFieldDeleteInputSchema, o as rampAccountingFieldOptionListInputSchema, r as rampAccountingFieldGetInputSchema, s as rampAccountingFieldOptionListSchema, t as rampAccountingFieldCreateInputSchema, u as rampAccountingFieldSchema } from "./accounting-i6txC-MI.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, P as rampGlAccountSchema, j as rampGlAccountGetInputSchema } from "./accounting-i6txC-MI.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-gl-accounts.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, m as rampAccountingSubsidiaryListSchema, p as rampAccountingSubsidiaryListInputSchema } from "./accounting-i6txC-MI.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-subsidiaries.ts
|
package/dist/accounting-sync.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { _ as rampAccountingSyncCreateInputSchema, b as rampAccountingSyncListSchema, v as rampAccountingSyncGetInputSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "./accounting-i6txC-MI.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-sync.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { C as rampAccountingTrackingCategoryListInputSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, w as rampAccountingTrackingCategoryListSchema } from "./accounting-i6txC-MI.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-tracking-categories.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { A as rampAccountingVendorUploadInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, O as rampAccountingVendorListSchema, k as rampAccountingVendorSchema } from "./accounting-i6txC-MI.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-vendors.ts
|
package/dist/applications.d.mts
CHANGED
|
@@ -7,9 +7,9 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
7
7
|
declare const listApplications: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
8
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
9
|
PENDING: "PENDING";
|
|
10
|
+
CANCELED: "CANCELED";
|
|
10
11
|
DRAFT: "DRAFT";
|
|
11
12
|
APPROVED: "APPROVED";
|
|
12
|
-
CANCELED: "CANCELED";
|
|
13
13
|
DENIED: "DENIED";
|
|
14
14
|
}>>;
|
|
15
15
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
@@ -20,9 +20,9 @@ declare const listApplications: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
20
20
|
applicant_user_id: zod.ZodOptional<zod.ZodString>;
|
|
21
21
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
22
22
|
PENDING: "PENDING";
|
|
23
|
+
CANCELED: "CANCELED";
|
|
23
24
|
DRAFT: "DRAFT";
|
|
24
25
|
APPROVED: "APPROVED";
|
|
25
|
-
CANCELED: "CANCELED";
|
|
26
26
|
DENIED: "DENIED";
|
|
27
27
|
}>>;
|
|
28
28
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
@@ -43,9 +43,9 @@ declare const getApplication: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
43
43
|
applicant_user_id: zod.ZodOptional<zod.ZodString>;
|
|
44
44
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
45
45
|
PENDING: "PENDING";
|
|
46
|
+
CANCELED: "CANCELED";
|
|
46
47
|
DRAFT: "DRAFT";
|
|
47
48
|
APPROVED: "APPROVED";
|
|
48
|
-
CANCELED: "CANCELED";
|
|
49
49
|
DENIED: "DENIED";
|
|
50
50
|
}>>;
|
|
51
51
|
created_at: zod.ZodOptional<zod.ZodString>;
|
package/dist/applications.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampApplicationSchema, n as rampApplicationListInputSchema, r as rampApplicationListSchema, t as rampApplicationGetInputSchema } from "./new-resources-BBJsJEjT.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/applications.ts
|
package/dist/bills.d.mts
CHANGED
|
@@ -8,13 +8,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
8
|
vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
9
9
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
10
10
|
PENDING: "PENDING";
|
|
11
|
-
|
|
11
|
+
CANCELED: "CANCELED";
|
|
12
|
+
FAILED: "FAILED";
|
|
12
13
|
DRAFT: "DRAFT";
|
|
13
14
|
APPROVED: "APPROVED";
|
|
14
15
|
REJECTED: "REJECTED";
|
|
15
16
|
PAID: "PAID";
|
|
16
|
-
|
|
17
|
-
FAILED: "FAILED";
|
|
17
|
+
OPEN: "OPEN";
|
|
18
18
|
SCHEDULED: "SCHEDULED";
|
|
19
19
|
}>>;
|
|
20
20
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -33,13 +33,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
33
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
34
34
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
35
35
|
PENDING: "PENDING";
|
|
36
|
-
|
|
36
|
+
CANCELED: "CANCELED";
|
|
37
|
+
FAILED: "FAILED";
|
|
37
38
|
DRAFT: "DRAFT";
|
|
38
39
|
APPROVED: "APPROVED";
|
|
39
40
|
REJECTED: "REJECTED";
|
|
40
41
|
PAID: "PAID";
|
|
41
|
-
|
|
42
|
-
FAILED: "FAILED";
|
|
42
|
+
OPEN: "OPEN";
|
|
43
43
|
SCHEDULED: "SCHEDULED";
|
|
44
44
|
}>>;
|
|
45
45
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -84,13 +84,13 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
84
84
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
85
85
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
86
86
|
PENDING: "PENDING";
|
|
87
|
-
|
|
87
|
+
CANCELED: "CANCELED";
|
|
88
|
+
FAILED: "FAILED";
|
|
88
89
|
DRAFT: "DRAFT";
|
|
89
90
|
APPROVED: "APPROVED";
|
|
90
91
|
REJECTED: "REJECTED";
|
|
91
92
|
PAID: "PAID";
|
|
92
|
-
|
|
93
|
-
FAILED: "FAILED";
|
|
93
|
+
OPEN: "OPEN";
|
|
94
94
|
SCHEDULED: "SCHEDULED";
|
|
95
95
|
}>>;
|
|
96
96
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -147,13 +147,13 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
147
147
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
148
148
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
149
149
|
PENDING: "PENDING";
|
|
150
|
-
|
|
150
|
+
CANCELED: "CANCELED";
|
|
151
|
+
FAILED: "FAILED";
|
|
151
152
|
DRAFT: "DRAFT";
|
|
152
153
|
APPROVED: "APPROVED";
|
|
153
154
|
REJECTED: "REJECTED";
|
|
154
155
|
PAID: "PAID";
|
|
155
|
-
|
|
156
|
-
FAILED: "FAILED";
|
|
156
|
+
OPEN: "OPEN";
|
|
157
157
|
SCHEDULED: "SCHEDULED";
|
|
158
158
|
}>>;
|
|
159
159
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -198,13 +198,13 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
198
198
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
199
199
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
200
200
|
PENDING: "PENDING";
|
|
201
|
-
|
|
201
|
+
CANCELED: "CANCELED";
|
|
202
|
+
FAILED: "FAILED";
|
|
202
203
|
DRAFT: "DRAFT";
|
|
203
204
|
APPROVED: "APPROVED";
|
|
204
205
|
REJECTED: "REJECTED";
|
|
205
206
|
PAID: "PAID";
|
|
206
|
-
|
|
207
|
-
FAILED: "FAILED";
|
|
207
|
+
OPEN: "OPEN";
|
|
208
208
|
SCHEDULED: "SCHEDULED";
|
|
209
209
|
}>>;
|
|
210
210
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -246,13 +246,13 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
246
246
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
247
247
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
248
248
|
PENDING: "PENDING";
|
|
249
|
-
|
|
249
|
+
CANCELED: "CANCELED";
|
|
250
|
+
FAILED: "FAILED";
|
|
250
251
|
DRAFT: "DRAFT";
|
|
251
252
|
APPROVED: "APPROVED";
|
|
252
253
|
REJECTED: "REJECTED";
|
|
253
254
|
PAID: "PAID";
|
|
254
|
-
|
|
255
|
-
FAILED: "FAILED";
|
|
255
|
+
OPEN: "OPEN";
|
|
256
256
|
SCHEDULED: "SCHEDULED";
|
|
257
257
|
}>>;
|
|
258
258
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -294,13 +294,13 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
294
294
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
295
295
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
296
296
|
PENDING: "PENDING";
|
|
297
|
-
|
|
297
|
+
CANCELED: "CANCELED";
|
|
298
|
+
FAILED: "FAILED";
|
|
298
299
|
DRAFT: "DRAFT";
|
|
299
300
|
APPROVED: "APPROVED";
|
|
300
301
|
REJECTED: "REJECTED";
|
|
301
302
|
PAID: "PAID";
|
|
302
|
-
|
|
303
|
-
FAILED: "FAILED";
|
|
303
|
+
OPEN: "OPEN";
|
|
304
304
|
SCHEDULED: "SCHEDULED";
|
|
305
305
|
}>>;
|
|
306
306
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -342,13 +342,13 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
342
342
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
343
343
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
344
344
|
PENDING: "PENDING";
|
|
345
|
-
|
|
345
|
+
CANCELED: "CANCELED";
|
|
346
|
+
FAILED: "FAILED";
|
|
346
347
|
DRAFT: "DRAFT";
|
|
347
348
|
APPROVED: "APPROVED";
|
|
348
349
|
REJECTED: "REJECTED";
|
|
349
350
|
PAID: "PAID";
|
|
350
|
-
|
|
351
|
-
FAILED: "FAILED";
|
|
351
|
+
OPEN: "OPEN";
|
|
352
352
|
SCHEDULED: "SCHEDULED";
|
|
353
353
|
}>>;
|
|
354
354
|
amount: zod.ZodOptional<zod.ZodObject<{
|
package/dist/bills.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampBillRejectInputSchema, d as rampBillUpdateInputSchema, i as rampBillGetInputSchema, l as rampBillSchema, n as rampBillCancelInputSchema, o as rampBillListInputSchema, r as rampBillCreateInputSchema, s as rampBillListSchema, t as rampBillApproveInputSchema } from "./bills-B8W9et3K.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { n as unmapRampMoney, t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bills.ts
|
package/dist/business.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { t as rampBusinessSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/business.ts
|
package/dist/card-programs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampCardProgramListInputSchema, l as rampCardProgramListSchema, o as rampCardProgramCreateInputSchema, s as rampCardProgramGetInputSchema, u as rampCardProgramSchema } from "./cards-BfgPcR38.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/card-programs.ts
|
package/dist/cards.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, d as rampCardSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, v as rampUnsuspendCardInputSchema } from "./cards-BfgPcR38.mjs";
|
|
3
3
|
import { t as rampDeferredTaskSchema } from "./users-ufcXrfNK.mjs";
|
|
4
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
5
5
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
package/dist/cashbacks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampCashbackSchema, n as rampCashbackListInputSchema, r as rampCashbackListSchema, t as rampCashbackGetInputSchema } from "./transfers-WBQZVdGP.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/cashbacks.ts
|
package/dist/client.mjs
CHANGED
package/dist/connection.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-
|
|
1
|
+
import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-D4-wNCh9.mjs";
|
|
2
2
|
|
|
3
3
|
export { RAMP_OAUTH_SCOPES, ramp, rampBundle, rampOfficialIntegration };
|
package/dist/departments.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampDepartmentListSchema, i as rampDepartmentListInputSchema, n as rampDepartmentDeleteInputSchema, o as rampDepartmentSchema, r as rampDepartmentGetInputSchema, s as rampDepartmentUpdateInputSchema, t as rampDepartmentCreateInputSchema } from "./organization-BSaEpvBn.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/entities.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampEntitySchema, i as rampEntityListSchema, n as rampEntityGetInputSchema, r as rampEntityListInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/entities.ts
|
|
@@ -23,7 +23,7 @@ const rampAppCredentialSet = new CredentialSet({
|
|
|
23
23
|
webhookSecret: z.string().min(1).optional()
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
|
-
const
|
|
26
|
+
const rampOfficialProviderSeed = {
|
|
27
27
|
provider: "ramp",
|
|
28
28
|
appRef: "ramp-platform",
|
|
29
29
|
displayName: "Ramp Platform",
|
|
@@ -121,4 +121,4 @@ const rampBundle = defineOfficialIntegration({
|
|
|
121
121
|
const ramp = rampBundle.credentialSet;
|
|
122
122
|
|
|
123
123
|
//#endregion
|
|
124
|
-
export { rampAppCredentialSet as a, rampOfficialIntegration as i, ramp as n,
|
|
124
|
+
export { rampAppCredentialSet as a, rampOfficialIntegration as i, ramp as n, rampOfficialProviderSeed as o, rampBundle as r, RAMP_OAUTH_SCOPES as t };
|
package/dist/limits.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampLimitCreateInputSchema, f as rampLimitListInputSchema, h as rampLimitUpdateInputSchema, l as rampLimitDeleteInputSchema, m as rampLimitSchema, p as rampLimitListSchema, u as rampLimitGetInputSchema } from "./organization-BSaEpvBn.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/locations.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { S as rampLocationUpdateInputSchema, _ as rampLocationDeleteInputSchema, b as rampLocationListSchema, g as rampLocationCreateInputSchema, v as rampLocationGetInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } from "./organization-BSaEpvBn.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/memos.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { C as rampMemoGetInputSchema, E as rampMemoSchema, T as rampMemoListSchema, w as rampMemoListInputSchema } from "./organization-BSaEpvBn.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/memos.ts
|
|
@@ -7,9 +7,9 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
7
7
|
declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
8
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
9
|
PENDING: "PENDING";
|
|
10
|
+
CANCELED: "CANCELED";
|
|
10
11
|
DRAFT: "DRAFT";
|
|
11
12
|
APPROVED: "APPROVED";
|
|
12
|
-
CANCELED: "CANCELED";
|
|
13
13
|
DENIED: "DENIED";
|
|
14
14
|
CLOSED: "CLOSED";
|
|
15
15
|
}>>;
|
|
@@ -22,9 +22,9 @@ declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
22
|
number: zod.ZodOptional<zod.ZodString>;
|
|
23
23
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
24
24
|
PENDING: "PENDING";
|
|
25
|
+
CANCELED: "CANCELED";
|
|
25
26
|
DRAFT: "DRAFT";
|
|
26
27
|
APPROVED: "APPROVED";
|
|
27
|
-
CANCELED: "CANCELED";
|
|
28
28
|
DENIED: "DENIED";
|
|
29
29
|
CLOSED: "CLOSED";
|
|
30
30
|
}>>;
|
|
@@ -52,9 +52,9 @@ declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
52
52
|
number: zod.ZodOptional<zod.ZodString>;
|
|
53
53
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
54
54
|
PENDING: "PENDING";
|
|
55
|
+
CANCELED: "CANCELED";
|
|
55
56
|
DRAFT: "DRAFT";
|
|
56
57
|
APPROVED: "APPROVED";
|
|
57
|
-
CANCELED: "CANCELED";
|
|
58
58
|
DENIED: "DENIED";
|
|
59
59
|
CLOSED: "CLOSED";
|
|
60
60
|
}>>;
|
package/dist/purchase-orders.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampPurchaseOrderListSchema, l as rampPurchaseOrderSchema, o as rampPurchaseOrderGetInputSchema, s as rampPurchaseOrderListInputSchema } from "./new-resources-BBJsJEjT.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/purchase-orders.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampReceiptIntegrationOptedInSchema, n as rampReceiptIntegrationOptInInputSchema, r as rampReceiptIntegrationOptOutInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/receipt-integrations.ts
|
|
6
6
|
const optInReceiptIntegration = rampOperation({
|
package/dist/receipts.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, o as rampReceiptListSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/receipts.ts
|
|
@@ -8,11 +8,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
8
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
9
9
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
10
10
|
PENDING: "PENDING";
|
|
11
|
+
CANCELED: "CANCELED";
|
|
11
12
|
DRAFT: "DRAFT";
|
|
12
13
|
APPROVED: "APPROVED";
|
|
13
14
|
REJECTED: "REJECTED";
|
|
14
15
|
PAID: "PAID";
|
|
15
|
-
CANCELED: "CANCELED";
|
|
16
16
|
}>>;
|
|
17
17
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
18
18
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -32,11 +32,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
32
32
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
34
34
|
PENDING: "PENDING";
|
|
35
|
+
CANCELED: "CANCELED";
|
|
35
36
|
DRAFT: "DRAFT";
|
|
36
37
|
APPROVED: "APPROVED";
|
|
37
38
|
REJECTED: "REJECTED";
|
|
38
39
|
PAID: "PAID";
|
|
39
|
-
CANCELED: "CANCELED";
|
|
40
40
|
}>>;
|
|
41
41
|
receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
42
42
|
accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -68,11 +68,11 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
68
68
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
69
69
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
70
70
|
PENDING: "PENDING";
|
|
71
|
+
CANCELED: "CANCELED";
|
|
71
72
|
DRAFT: "DRAFT";
|
|
72
73
|
APPROVED: "APPROVED";
|
|
73
74
|
REJECTED: "REJECTED";
|
|
74
75
|
PAID: "PAID";
|
|
75
|
-
CANCELED: "CANCELED";
|
|
76
76
|
}>>;
|
|
77
77
|
receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
78
78
|
accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
package/dist/reimbursements.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "./reimbursements-OknrZUMF.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/reimbursements.ts
|
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-Dm2DruuS.mjs";
|
|
2
2
|
import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, i as RampWebhookChallenge, l as rampWebhookObjectSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampDocumentedWebhookEventTypeSchema, r as RampDocumentedWebhookEventType, s as rampWebhookChallengeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-Bp38YQE9.mjs";
|
|
3
|
-
import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-
|
|
3
|
+
import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-BEnJpk9A.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/schemas/accounting.d.ts
|
package/dist/spend-programs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/spend-programs.ts
|
|
@@ -7,8 +7,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
7
7
|
declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
8
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
9
|
PENDING: "PENDING";
|
|
10
|
-
APPROVED: "APPROVED";
|
|
11
10
|
CANCELED: "CANCELED";
|
|
11
|
+
APPROVED: "APPROVED";
|
|
12
12
|
DENIED: "DENIED";
|
|
13
13
|
FULFILLED: "FULFILLED";
|
|
14
14
|
}>>;
|
|
@@ -21,8 +21,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
21
21
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
23
23
|
PENDING: "PENDING";
|
|
24
|
-
APPROVED: "APPROVED";
|
|
25
24
|
CANCELED: "CANCELED";
|
|
25
|
+
APPROVED: "APPROVED";
|
|
26
26
|
DENIED: "DENIED";
|
|
27
27
|
FULFILLED: "FULFILLED";
|
|
28
28
|
}>>;
|
|
@@ -54,8 +54,8 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
54
54
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
55
55
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
56
56
|
PENDING: "PENDING";
|
|
57
|
-
APPROVED: "APPROVED";
|
|
58
57
|
CANCELED: "CANCELED";
|
|
58
|
+
APPROVED: "APPROVED";
|
|
59
59
|
DENIED: "DENIED";
|
|
60
60
|
FULFILLED: "FULFILLED";
|
|
61
61
|
}>>;
|
package/dist/spend-requests.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/spend-requests.ts
|
package/dist/statements.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/statements.ts
|
package/dist/transactions.d.mts
CHANGED
|
@@ -12,13 +12,13 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
12
12
|
user_id: z.ZodOptional<z.ZodString>;
|
|
13
13
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
14
14
|
state: z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
PENDING: "PENDING";
|
|
16
|
+
PROCESSING: "PROCESSING";
|
|
15
17
|
CLEARED: "CLEARED";
|
|
16
18
|
COMPLETION: "COMPLETION";
|
|
17
19
|
DECLINED: "DECLINED";
|
|
18
20
|
ERROR: "ERROR";
|
|
19
|
-
PENDING: "PENDING";
|
|
20
21
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
21
|
-
PROCESSING: "PROCESSING";
|
|
22
22
|
}>>;
|
|
23
23
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -49,13 +49,13 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
49
49
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
50
50
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
51
51
|
state: z.ZodOptional<z.ZodEnum<{
|
|
52
|
+
PENDING: "PENDING";
|
|
53
|
+
PROCESSING: "PROCESSING";
|
|
52
54
|
CLEARED: "CLEARED";
|
|
53
55
|
COMPLETION: "COMPLETION";
|
|
54
56
|
DECLINED: "DECLINED";
|
|
55
57
|
ERROR: "ERROR";
|
|
56
|
-
PENDING: "PENDING";
|
|
57
58
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
58
|
-
PROCESSING: "PROCESSING";
|
|
59
59
|
}>>;
|
|
60
60
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
61
61
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -92,13 +92,13 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
92
92
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
93
93
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
94
94
|
state: z.ZodOptional<z.ZodEnum<{
|
|
95
|
+
PENDING: "PENDING";
|
|
96
|
+
PROCESSING: "PROCESSING";
|
|
95
97
|
CLEARED: "CLEARED";
|
|
96
98
|
COMPLETION: "COMPLETION";
|
|
97
99
|
DECLINED: "DECLINED";
|
|
98
100
|
ERROR: "ERROR";
|
|
99
|
-
PENDING: "PENDING";
|
|
100
101
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
101
|
-
PROCESSING: "PROCESSING";
|
|
102
102
|
}>>;
|
|
103
103
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
104
104
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -120,13 +120,13 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
120
120
|
user_id: z.ZodOptional<z.ZodString>;
|
|
121
121
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
122
122
|
state: z.ZodOptional<z.ZodEnum<{
|
|
123
|
+
PENDING: "PENDING";
|
|
124
|
+
PROCESSING: "PROCESSING";
|
|
123
125
|
CLEARED: "CLEARED";
|
|
124
126
|
COMPLETION: "COMPLETION";
|
|
125
127
|
DECLINED: "DECLINED";
|
|
126
128
|
ERROR: "ERROR";
|
|
127
|
-
PENDING: "PENDING";
|
|
128
129
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
129
|
-
PROCESSING: "PROCESSING";
|
|
130
130
|
}>>;
|
|
131
131
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
132
132
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -157,13 +157,13 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
157
157
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
158
158
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
159
159
|
state: z.ZodOptional<z.ZodEnum<{
|
|
160
|
+
PENDING: "PENDING";
|
|
161
|
+
PROCESSING: "PROCESSING";
|
|
160
162
|
CLEARED: "CLEARED";
|
|
161
163
|
COMPLETION: "COMPLETION";
|
|
162
164
|
DECLINED: "DECLINED";
|
|
163
165
|
ERROR: "ERROR";
|
|
164
|
-
PENDING: "PENDING";
|
|
165
166
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
166
|
-
PROCESSING: "PROCESSING";
|
|
167
167
|
}>>;
|
|
168
168
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
169
169
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
package/dist/transactions.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "./transactions-Djd0oIGK.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/transfers.d.mts
CHANGED
|
@@ -9,9 +9,9 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
9
9
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
10
10
|
PENDING: "PENDING";
|
|
11
11
|
PROCESSING: "PROCESSING";
|
|
12
|
+
COMPLETED: "COMPLETED";
|
|
12
13
|
CANCELED: "CANCELED";
|
|
13
14
|
FAILED: "FAILED";
|
|
14
|
-
COMPLETED: "COMPLETED";
|
|
15
15
|
}>>;
|
|
16
16
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
17
17
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -25,9 +25,9 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
25
25
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
26
26
|
PENDING: "PENDING";
|
|
27
27
|
PROCESSING: "PROCESSING";
|
|
28
|
+
COMPLETED: "COMPLETED";
|
|
28
29
|
CANCELED: "CANCELED";
|
|
29
30
|
FAILED: "FAILED";
|
|
30
|
-
COMPLETED: "COMPLETED";
|
|
31
31
|
}>>;
|
|
32
32
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
settled_at: zod.ZodOptional<zod.ZodString>;
|
|
@@ -54,9 +54,9 @@ declare const getTransfer: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
54
54
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
55
55
|
PENDING: "PENDING";
|
|
56
56
|
PROCESSING: "PROCESSING";
|
|
57
|
+
COMPLETED: "COMPLETED";
|
|
57
58
|
CANCELED: "CANCELED";
|
|
58
59
|
FAILED: "FAILED";
|
|
59
|
-
COMPLETED: "COMPLETED";
|
|
60
60
|
}>>;
|
|
61
61
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
62
62
|
settled_at: zod.ZodOptional<zod.ZodString>;
|
package/dist/transfers.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampTransferGetInputSchema, c as rampTransferSchema, o as rampTransferListInputSchema, s as rampTransferListSchema } from "./transfers-WBQZVdGP.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/transfers.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as ramp } from "../integration-D6jpX1pZ.mjs";
|
|
2
|
-
import { E as rampUserSchema, Ft as rampSpendRequestSchema, Kt as rampBillSchema, R as rampTransferSchema, W as rampTransactionSchema, X as rampReimbursementSchema, h as rampVendorSchema, it as rampApplicationSchema, lt as rampPurchaseOrderSchema, mt as rampUnifiedRequestSchema } from "../vendors-
|
|
2
|
+
import { E as rampUserSchema, Ft as rampSpendRequestSchema, Kt as rampBillSchema, R as rampTransferSchema, W as rampTransactionSchema, X as rampReimbursementSchema, h as rampVendorSchema, it as rampApplicationSchema, lt as rampPurchaseOrderSchema, mt as rampUnifiedRequestSchema } from "../vendors-BEnJpk9A.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { IntegrationTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
5
5
|
import { PollingTriggerManifest } from "@keystrokehq/core/trigger";
|
package/dist/triggers/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ramp } from "../integration-
|
|
1
|
+
import { n as ramp } from "../integration-D4-wNCh9.mjs";
|
|
2
2
|
import { createRampClient } from "../client.mjs";
|
|
3
3
|
import { l as rampBillSchema } from "../bills-B8W9et3K.mjs";
|
|
4
4
|
import { h as rampSpendRequestSchema } from "../business-CztnWUvt.mjs";
|
|
@@ -7,8 +7,8 @@ import * as zod_v4_core0 from "zod/v4/core";
|
|
|
7
7
|
declare const listUnifiedRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
8
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
9
|
PENDING: "PENDING";
|
|
10
|
-
APPROVED: "APPROVED";
|
|
11
10
|
CANCELED: "CANCELED";
|
|
11
|
+
APPROVED: "APPROVED";
|
|
12
12
|
DENIED: "DENIED";
|
|
13
13
|
FULFILLED: "FULFILLED";
|
|
14
14
|
}>>;
|
|
@@ -21,8 +21,8 @@ declare const listUnifiedRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
21
21
|
id: zod.ZodString;
|
|
22
22
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
23
23
|
PENDING: "PENDING";
|
|
24
|
-
APPROVED: "APPROVED";
|
|
25
24
|
CANCELED: "CANCELED";
|
|
25
|
+
APPROVED: "APPROVED";
|
|
26
26
|
DENIED: "DENIED";
|
|
27
27
|
FULFILLED: "FULFILLED";
|
|
28
28
|
}>>;
|
|
@@ -47,8 +47,8 @@ declare const getUnifiedRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
47
47
|
id: zod.ZodString;
|
|
48
48
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
49
49
|
PENDING: "PENDING";
|
|
50
|
-
APPROVED: "APPROVED";
|
|
51
50
|
CANCELED: "CANCELED";
|
|
51
|
+
APPROVED: "APPROVED";
|
|
52
52
|
DENIED: "DENIED";
|
|
53
53
|
FULFILLED: "FULFILLED";
|
|
54
54
|
}>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, m as rampUnifiedRequestSchema, p as rampUnifiedRequestListSchema } from "./new-resources-BBJsJEjT.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/unified-requests.ts
|
package/dist/users.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "./users-ufcXrfNK.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampVendorBankAccountListSchema, i as rampVendorBankAccountListInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema } from "./vendors-Bx1cgXwC.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
@@ -3,13 +3,13 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/schemas/bills.d.ts
|
|
4
4
|
declare const rampBillStatusSchema: z.ZodEnum<{
|
|
5
5
|
PENDING: "PENDING";
|
|
6
|
-
|
|
6
|
+
CANCELED: "CANCELED";
|
|
7
|
+
FAILED: "FAILED";
|
|
7
8
|
DRAFT: "DRAFT";
|
|
8
9
|
APPROVED: "APPROVED";
|
|
9
10
|
REJECTED: "REJECTED";
|
|
10
11
|
PAID: "PAID";
|
|
11
|
-
|
|
12
|
-
FAILED: "FAILED";
|
|
12
|
+
OPEN: "OPEN";
|
|
13
13
|
SCHEDULED: "SCHEDULED";
|
|
14
14
|
}>;
|
|
15
15
|
declare const rampBillLineItemSchema: z.ZodObject<{
|
|
@@ -35,13 +35,13 @@ declare const rampBillSchema: z.ZodObject<{
|
|
|
35
35
|
memo: z.ZodOptional<z.ZodString>;
|
|
36
36
|
status: z.ZodOptional<z.ZodEnum<{
|
|
37
37
|
PENDING: "PENDING";
|
|
38
|
-
|
|
38
|
+
CANCELED: "CANCELED";
|
|
39
|
+
FAILED: "FAILED";
|
|
39
40
|
DRAFT: "DRAFT";
|
|
40
41
|
APPROVED: "APPROVED";
|
|
41
42
|
REJECTED: "REJECTED";
|
|
42
43
|
PAID: "PAID";
|
|
43
|
-
|
|
44
|
-
FAILED: "FAILED";
|
|
44
|
+
OPEN: "OPEN";
|
|
45
45
|
SCHEDULED: "SCHEDULED";
|
|
46
46
|
}>>;
|
|
47
47
|
amount: z.ZodOptional<z.ZodObject<{
|
|
@@ -71,13 +71,13 @@ declare const rampBillListInputSchema: z.ZodObject<{
|
|
|
71
71
|
vendor_id: z.ZodOptional<z.ZodString>;
|
|
72
72
|
status: z.ZodOptional<z.ZodEnum<{
|
|
73
73
|
PENDING: "PENDING";
|
|
74
|
-
|
|
74
|
+
CANCELED: "CANCELED";
|
|
75
|
+
FAILED: "FAILED";
|
|
75
76
|
DRAFT: "DRAFT";
|
|
76
77
|
APPROVED: "APPROVED";
|
|
77
78
|
REJECTED: "REJECTED";
|
|
78
79
|
PAID: "PAID";
|
|
79
|
-
|
|
80
|
-
FAILED: "FAILED";
|
|
80
|
+
OPEN: "OPEN";
|
|
81
81
|
SCHEDULED: "SCHEDULED";
|
|
82
82
|
}>>;
|
|
83
83
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -97,13 +97,13 @@ declare const rampBillListSchema: z.ZodObject<{
|
|
|
97
97
|
memo: z.ZodOptional<z.ZodString>;
|
|
98
98
|
status: z.ZodOptional<z.ZodEnum<{
|
|
99
99
|
PENDING: "PENDING";
|
|
100
|
-
|
|
100
|
+
CANCELED: "CANCELED";
|
|
101
|
+
FAILED: "FAILED";
|
|
101
102
|
DRAFT: "DRAFT";
|
|
102
103
|
APPROVED: "APPROVED";
|
|
103
104
|
REJECTED: "REJECTED";
|
|
104
105
|
PAID: "PAID";
|
|
105
|
-
|
|
106
|
-
FAILED: "FAILED";
|
|
106
|
+
OPEN: "OPEN";
|
|
107
107
|
SCHEDULED: "SCHEDULED";
|
|
108
108
|
}>>;
|
|
109
109
|
amount: z.ZodOptional<z.ZodObject<{
|
|
@@ -255,8 +255,8 @@ declare const rampSpendProgramGetInputSchema: z.ZodObject<{
|
|
|
255
255
|
}, z.core.$strip>;
|
|
256
256
|
declare const rampSpendRequestStatusSchema: z.ZodEnum<{
|
|
257
257
|
PENDING: "PENDING";
|
|
258
|
-
APPROVED: "APPROVED";
|
|
259
258
|
CANCELED: "CANCELED";
|
|
259
|
+
APPROVED: "APPROVED";
|
|
260
260
|
DENIED: "DENIED";
|
|
261
261
|
FULFILLED: "FULFILLED";
|
|
262
262
|
}>;
|
|
@@ -265,8 +265,8 @@ declare const rampSpendRequestSchema: z.ZodObject<{
|
|
|
265
265
|
user_id: z.ZodOptional<z.ZodString>;
|
|
266
266
|
status: z.ZodOptional<z.ZodEnum<{
|
|
267
267
|
PENDING: "PENDING";
|
|
268
|
-
APPROVED: "APPROVED";
|
|
269
268
|
CANCELED: "CANCELED";
|
|
269
|
+
APPROVED: "APPROVED";
|
|
270
270
|
DENIED: "DENIED";
|
|
271
271
|
FULFILLED: "FULFILLED";
|
|
272
272
|
}>>;
|
|
@@ -287,8 +287,8 @@ type RampSpendRequest = z.infer<typeof rampSpendRequestSchema>;
|
|
|
287
287
|
declare const rampSpendRequestListInputSchema: z.ZodObject<{
|
|
288
288
|
status: z.ZodOptional<z.ZodEnum<{
|
|
289
289
|
PENDING: "PENDING";
|
|
290
|
-
APPROVED: "APPROVED";
|
|
291
290
|
CANCELED: "CANCELED";
|
|
291
|
+
APPROVED: "APPROVED";
|
|
292
292
|
DENIED: "DENIED";
|
|
293
293
|
FULFILLED: "FULFILLED";
|
|
294
294
|
}>>;
|
|
@@ -302,8 +302,8 @@ declare const rampSpendRequestListSchema: z.ZodObject<{
|
|
|
302
302
|
user_id: z.ZodOptional<z.ZodString>;
|
|
303
303
|
status: z.ZodOptional<z.ZodEnum<{
|
|
304
304
|
PENDING: "PENDING";
|
|
305
|
-
APPROVED: "APPROVED";
|
|
306
305
|
CANCELED: "CANCELED";
|
|
306
|
+
APPROVED: "APPROVED";
|
|
307
307
|
DENIED: "DENIED";
|
|
308
308
|
FULFILLED: "FULFILLED";
|
|
309
309
|
}>>;
|
|
@@ -349,9 +349,9 @@ type RampSpendRequestComment = z.infer<typeof rampSpendRequestCommentSchema>;
|
|
|
349
349
|
*/
|
|
350
350
|
declare const rampPurchaseOrderStatusSchema: z.ZodEnum<{
|
|
351
351
|
PENDING: "PENDING";
|
|
352
|
+
CANCELED: "CANCELED";
|
|
352
353
|
DRAFT: "DRAFT";
|
|
353
354
|
APPROVED: "APPROVED";
|
|
354
|
-
CANCELED: "CANCELED";
|
|
355
355
|
DENIED: "DENIED";
|
|
356
356
|
CLOSED: "CLOSED";
|
|
357
357
|
}>;
|
|
@@ -360,9 +360,9 @@ declare const rampPurchaseOrderSchema: z.ZodObject<{
|
|
|
360
360
|
number: z.ZodOptional<z.ZodString>;
|
|
361
361
|
status: z.ZodOptional<z.ZodEnum<{
|
|
362
362
|
PENDING: "PENDING";
|
|
363
|
+
CANCELED: "CANCELED";
|
|
363
364
|
DRAFT: "DRAFT";
|
|
364
365
|
APPROVED: "APPROVED";
|
|
365
|
-
CANCELED: "CANCELED";
|
|
366
366
|
DENIED: "DENIED";
|
|
367
367
|
CLOSED: "CLOSED";
|
|
368
368
|
}>>;
|
|
@@ -379,9 +379,9 @@ type RampPurchaseOrder = z.infer<typeof rampPurchaseOrderSchema>;
|
|
|
379
379
|
declare const rampPurchaseOrderListInputSchema: z.ZodObject<{
|
|
380
380
|
status: z.ZodOptional<z.ZodEnum<{
|
|
381
381
|
PENDING: "PENDING";
|
|
382
|
+
CANCELED: "CANCELED";
|
|
382
383
|
DRAFT: "DRAFT";
|
|
383
384
|
APPROVED: "APPROVED";
|
|
384
|
-
CANCELED: "CANCELED";
|
|
385
385
|
DENIED: "DENIED";
|
|
386
386
|
CLOSED: "CLOSED";
|
|
387
387
|
}>>;
|
|
@@ -395,9 +395,9 @@ declare const rampPurchaseOrderListSchema: z.ZodObject<{
|
|
|
395
395
|
number: z.ZodOptional<z.ZodString>;
|
|
396
396
|
status: z.ZodOptional<z.ZodEnum<{
|
|
397
397
|
PENDING: "PENDING";
|
|
398
|
+
CANCELED: "CANCELED";
|
|
398
399
|
DRAFT: "DRAFT";
|
|
399
400
|
APPROVED: "APPROVED";
|
|
400
|
-
CANCELED: "CANCELED";
|
|
401
401
|
DENIED: "DENIED";
|
|
402
402
|
CLOSED: "CLOSED";
|
|
403
403
|
}>>;
|
|
@@ -419,9 +419,9 @@ declare const rampPurchaseOrderGetInputSchema: z.ZodObject<{
|
|
|
419
419
|
}, z.core.$strip>;
|
|
420
420
|
declare const rampApplicationStatusSchema: z.ZodEnum<{
|
|
421
421
|
PENDING: "PENDING";
|
|
422
|
+
CANCELED: "CANCELED";
|
|
422
423
|
DRAFT: "DRAFT";
|
|
423
424
|
APPROVED: "APPROVED";
|
|
424
|
-
CANCELED: "CANCELED";
|
|
425
425
|
DENIED: "DENIED";
|
|
426
426
|
}>;
|
|
427
427
|
declare const rampApplicationSchema: z.ZodObject<{
|
|
@@ -429,9 +429,9 @@ declare const rampApplicationSchema: z.ZodObject<{
|
|
|
429
429
|
applicant_user_id: z.ZodOptional<z.ZodString>;
|
|
430
430
|
status: z.ZodOptional<z.ZodEnum<{
|
|
431
431
|
PENDING: "PENDING";
|
|
432
|
+
CANCELED: "CANCELED";
|
|
432
433
|
DRAFT: "DRAFT";
|
|
433
434
|
APPROVED: "APPROVED";
|
|
434
|
-
CANCELED: "CANCELED";
|
|
435
435
|
DENIED: "DENIED";
|
|
436
436
|
}>>;
|
|
437
437
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -441,9 +441,9 @@ type RampApplication = z.infer<typeof rampApplicationSchema>;
|
|
|
441
441
|
declare const rampApplicationListInputSchema: z.ZodObject<{
|
|
442
442
|
status: z.ZodOptional<z.ZodEnum<{
|
|
443
443
|
PENDING: "PENDING";
|
|
444
|
+
CANCELED: "CANCELED";
|
|
444
445
|
DRAFT: "DRAFT";
|
|
445
446
|
APPROVED: "APPROVED";
|
|
446
|
-
CANCELED: "CANCELED";
|
|
447
447
|
DENIED: "DENIED";
|
|
448
448
|
}>>;
|
|
449
449
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -455,9 +455,9 @@ declare const rampApplicationListSchema: z.ZodObject<{
|
|
|
455
455
|
applicant_user_id: z.ZodOptional<z.ZodString>;
|
|
456
456
|
status: z.ZodOptional<z.ZodEnum<{
|
|
457
457
|
PENDING: "PENDING";
|
|
458
|
+
CANCELED: "CANCELED";
|
|
458
459
|
DRAFT: "DRAFT";
|
|
459
460
|
APPROVED: "APPROVED";
|
|
460
|
-
CANCELED: "CANCELED";
|
|
461
461
|
DENIED: "DENIED";
|
|
462
462
|
}>>;
|
|
463
463
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -472,8 +472,8 @@ declare const rampApplicationGetInputSchema: z.ZodObject<{
|
|
|
472
472
|
}, z.core.$strip>;
|
|
473
473
|
declare const rampUnifiedRequestStatusSchema: z.ZodEnum<{
|
|
474
474
|
PENDING: "PENDING";
|
|
475
|
-
APPROVED: "APPROVED";
|
|
476
475
|
CANCELED: "CANCELED";
|
|
476
|
+
APPROVED: "APPROVED";
|
|
477
477
|
DENIED: "DENIED";
|
|
478
478
|
FULFILLED: "FULFILLED";
|
|
479
479
|
}>;
|
|
@@ -481,8 +481,8 @@ declare const rampUnifiedRequestSchema: z.ZodObject<{
|
|
|
481
481
|
id: z.ZodString;
|
|
482
482
|
status: z.ZodOptional<z.ZodEnum<{
|
|
483
483
|
PENDING: "PENDING";
|
|
484
|
-
APPROVED: "APPROVED";
|
|
485
484
|
CANCELED: "CANCELED";
|
|
485
|
+
APPROVED: "APPROVED";
|
|
486
486
|
DENIED: "DENIED";
|
|
487
487
|
FULFILLED: "FULFILLED";
|
|
488
488
|
}>>;
|
|
@@ -497,8 +497,8 @@ type RampUnifiedRequest = z.infer<typeof rampUnifiedRequestSchema>;
|
|
|
497
497
|
declare const rampUnifiedRequestListInputSchema: z.ZodObject<{
|
|
498
498
|
status: z.ZodOptional<z.ZodEnum<{
|
|
499
499
|
PENDING: "PENDING";
|
|
500
|
-
APPROVED: "APPROVED";
|
|
501
500
|
CANCELED: "CANCELED";
|
|
501
|
+
APPROVED: "APPROVED";
|
|
502
502
|
DENIED: "DENIED";
|
|
503
503
|
FULFILLED: "FULFILLED";
|
|
504
504
|
}>>;
|
|
@@ -512,8 +512,8 @@ declare const rampUnifiedRequestListSchema: z.ZodObject<{
|
|
|
512
512
|
id: z.ZodString;
|
|
513
513
|
status: z.ZodOptional<z.ZodEnum<{
|
|
514
514
|
PENDING: "PENDING";
|
|
515
|
-
APPROVED: "APPROVED";
|
|
516
515
|
CANCELED: "CANCELED";
|
|
516
|
+
APPROVED: "APPROVED";
|
|
517
517
|
DENIED: "DENIED";
|
|
518
518
|
FULFILLED: "FULFILLED";
|
|
519
519
|
}>>;
|
|
@@ -535,11 +535,11 @@ declare const rampUnifiedRequestGetInputSchema: z.ZodObject<{
|
|
|
535
535
|
//#region src/schemas/reimbursements.d.ts
|
|
536
536
|
declare const rampReimbursementStateSchema: z.ZodEnum<{
|
|
537
537
|
PENDING: "PENDING";
|
|
538
|
+
CANCELED: "CANCELED";
|
|
538
539
|
DRAFT: "DRAFT";
|
|
539
540
|
APPROVED: "APPROVED";
|
|
540
541
|
REJECTED: "REJECTED";
|
|
541
542
|
PAID: "PAID";
|
|
542
|
-
CANCELED: "CANCELED";
|
|
543
543
|
}>;
|
|
544
544
|
declare const rampReimbursementSchema: z.ZodObject<{
|
|
545
545
|
id: z.ZodString;
|
|
@@ -554,11 +554,11 @@ declare const rampReimbursementSchema: z.ZodObject<{
|
|
|
554
554
|
memo: z.ZodOptional<z.ZodString>;
|
|
555
555
|
state: z.ZodOptional<z.ZodEnum<{
|
|
556
556
|
PENDING: "PENDING";
|
|
557
|
+
CANCELED: "CANCELED";
|
|
557
558
|
DRAFT: "DRAFT";
|
|
558
559
|
APPROVED: "APPROVED";
|
|
559
560
|
REJECTED: "REJECTED";
|
|
560
561
|
PAID: "PAID";
|
|
561
|
-
CANCELED: "CANCELED";
|
|
562
562
|
}>>;
|
|
563
563
|
receipts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
564
564
|
accounting_categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -572,11 +572,11 @@ declare const rampReimbursementListInputSchema: z.ZodObject<{
|
|
|
572
572
|
user_id: z.ZodOptional<z.ZodString>;
|
|
573
573
|
state: z.ZodOptional<z.ZodEnum<{
|
|
574
574
|
PENDING: "PENDING";
|
|
575
|
+
CANCELED: "CANCELED";
|
|
575
576
|
DRAFT: "DRAFT";
|
|
576
577
|
APPROVED: "APPROVED";
|
|
577
578
|
REJECTED: "REJECTED";
|
|
578
579
|
PAID: "PAID";
|
|
579
|
-
CANCELED: "CANCELED";
|
|
580
580
|
}>>;
|
|
581
581
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
582
582
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -597,11 +597,11 @@ declare const rampReimbursementListSchema: z.ZodObject<{
|
|
|
597
597
|
memo: z.ZodOptional<z.ZodString>;
|
|
598
598
|
state: z.ZodOptional<z.ZodEnum<{
|
|
599
599
|
PENDING: "PENDING";
|
|
600
|
+
CANCELED: "CANCELED";
|
|
600
601
|
DRAFT: "DRAFT";
|
|
601
602
|
APPROVED: "APPROVED";
|
|
602
603
|
REJECTED: "REJECTED";
|
|
603
604
|
PAID: "PAID";
|
|
604
|
-
CANCELED: "CANCELED";
|
|
605
605
|
}>>;
|
|
606
606
|
receipts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
607
|
accounting_categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -620,13 +620,13 @@ declare const rampReimbursementGetInputSchema: z.ZodObject<{
|
|
|
620
620
|
//#endregion
|
|
621
621
|
//#region src/schemas/transactions.d.ts
|
|
622
622
|
declare const rampTransactionStateSchema: z.ZodEnum<{
|
|
623
|
+
PENDING: "PENDING";
|
|
624
|
+
PROCESSING: "PROCESSING";
|
|
623
625
|
CLEARED: "CLEARED";
|
|
624
626
|
COMPLETION: "COMPLETION";
|
|
625
627
|
DECLINED: "DECLINED";
|
|
626
628
|
ERROR: "ERROR";
|
|
627
|
-
PENDING: "PENDING";
|
|
628
629
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
629
|
-
PROCESSING: "PROCESSING";
|
|
630
630
|
}>;
|
|
631
631
|
declare const rampTransactionSchema: z.ZodObject<{
|
|
632
632
|
id: z.ZodString;
|
|
@@ -646,13 +646,13 @@ declare const rampTransactionSchema: z.ZodObject<{
|
|
|
646
646
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
647
647
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
648
648
|
state: z.ZodOptional<z.ZodEnum<{
|
|
649
|
+
PENDING: "PENDING";
|
|
650
|
+
PROCESSING: "PROCESSING";
|
|
649
651
|
CLEARED: "CLEARED";
|
|
650
652
|
COMPLETION: "COMPLETION";
|
|
651
653
|
DECLINED: "DECLINED";
|
|
652
654
|
ERROR: "ERROR";
|
|
653
|
-
PENDING: "PENDING";
|
|
654
655
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
655
|
-
PROCESSING: "PROCESSING";
|
|
656
656
|
}>>;
|
|
657
657
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
658
658
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -671,13 +671,13 @@ declare const rampTransactionListInputSchema: z.ZodObject<{
|
|
|
671
671
|
user_id: z.ZodOptional<z.ZodString>;
|
|
672
672
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
673
673
|
state: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
PENDING: "PENDING";
|
|
675
|
+
PROCESSING: "PROCESSING";
|
|
674
676
|
CLEARED: "CLEARED";
|
|
675
677
|
COMPLETION: "COMPLETION";
|
|
676
678
|
DECLINED: "DECLINED";
|
|
677
679
|
ERROR: "ERROR";
|
|
678
|
-
PENDING: "PENDING";
|
|
679
680
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
680
|
-
PROCESSING: "PROCESSING";
|
|
681
681
|
}>>;
|
|
682
682
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
683
683
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -709,13 +709,13 @@ declare const rampTransactionListSchema: z.ZodObject<{
|
|
|
709
709
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
710
710
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
711
711
|
state: z.ZodOptional<z.ZodEnum<{
|
|
712
|
+
PENDING: "PENDING";
|
|
713
|
+
PROCESSING: "PROCESSING";
|
|
712
714
|
CLEARED: "CLEARED";
|
|
713
715
|
COMPLETION: "COMPLETION";
|
|
714
716
|
DECLINED: "DECLINED";
|
|
715
717
|
ERROR: "ERROR";
|
|
716
|
-
PENDING: "PENDING";
|
|
717
718
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
718
|
-
PROCESSING: "PROCESSING";
|
|
719
719
|
}>>;
|
|
720
720
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
721
721
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -736,9 +736,9 @@ declare const rampTransactionGetInputSchema: z.ZodObject<{
|
|
|
736
736
|
declare const rampTransferStatusSchema: z.ZodEnum<{
|
|
737
737
|
PENDING: "PENDING";
|
|
738
738
|
PROCESSING: "PROCESSING";
|
|
739
|
+
COMPLETED: "COMPLETED";
|
|
739
740
|
CANCELED: "CANCELED";
|
|
740
741
|
FAILED: "FAILED";
|
|
741
|
-
COMPLETED: "COMPLETED";
|
|
742
742
|
}>;
|
|
743
743
|
declare const rampTransferSchema: z.ZodObject<{
|
|
744
744
|
id: z.ZodString;
|
|
@@ -749,9 +749,9 @@ declare const rampTransferSchema: z.ZodObject<{
|
|
|
749
749
|
status: z.ZodOptional<z.ZodEnum<{
|
|
750
750
|
PENDING: "PENDING";
|
|
751
751
|
PROCESSING: "PROCESSING";
|
|
752
|
+
COMPLETED: "COMPLETED";
|
|
752
753
|
CANCELED: "CANCELED";
|
|
753
754
|
FAILED: "FAILED";
|
|
754
|
-
COMPLETED: "COMPLETED";
|
|
755
755
|
}>>;
|
|
756
756
|
created_at: z.ZodOptional<z.ZodString>;
|
|
757
757
|
settled_at: z.ZodOptional<z.ZodString>;
|
|
@@ -765,9 +765,9 @@ declare const rampTransferListInputSchema: z.ZodObject<{
|
|
|
765
765
|
status: z.ZodOptional<z.ZodEnum<{
|
|
766
766
|
PENDING: "PENDING";
|
|
767
767
|
PROCESSING: "PROCESSING";
|
|
768
|
+
COMPLETED: "COMPLETED";
|
|
768
769
|
CANCELED: "CANCELED";
|
|
769
770
|
FAILED: "FAILED";
|
|
770
|
-
COMPLETED: "COMPLETED";
|
|
771
771
|
}>>;
|
|
772
772
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
773
773
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -782,9 +782,9 @@ declare const rampTransferListSchema: z.ZodObject<{
|
|
|
782
782
|
status: z.ZodOptional<z.ZodEnum<{
|
|
783
783
|
PENDING: "PENDING";
|
|
784
784
|
PROCESSING: "PROCESSING";
|
|
785
|
+
COMPLETED: "COMPLETED";
|
|
785
786
|
CANCELED: "CANCELED";
|
|
786
787
|
FAILED: "FAILED";
|
|
787
|
-
COMPLETED: "COMPLETED";
|
|
788
788
|
}>>;
|
|
789
789
|
created_at: z.ZodOptional<z.ZodString>;
|
|
790
790
|
settled_at: z.ZodOptional<z.ZodString>;
|
package/dist/vendors.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampVendorCreateInputSchema, d as rampVendorListInputSchema, f as rampVendorListSchema, l as rampVendorDeleteInputSchema, m as rampVendorUpdateInputSchema, p as rampVendorSchema, u as rampVendorGetInputSchema } from "./vendors-Bx1cgXwC.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/webhooks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampWebhookSubscriptionListSchema, i as rampWebhookSubscriptionListInputSchema, n as rampWebhookSubscriptionDeleteInputSchema, o as rampWebhookSubscriptionSchema, r as rampWebhookSubscriptionGetInputSchema, s as rampWebhookSubscriptionUpdateInputSchema, t as rampWebhookSubscriptionCreateInputSchema } from "./webhooks-mgmt-d1xgVpWx.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-BVX9iEl4.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/ramp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6-rename-t1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
"LICENSE"
|
|
177
177
|
],
|
|
178
178
|
"dependencies": {
|
|
179
|
-
"@keystrokehq/integration-authoring": "^0.0.
|
|
179
|
+
"@keystrokehq/integration-authoring": "^0.0.6-rename-t1.0",
|
|
180
180
|
"zod": "^4.3.6"
|
|
181
181
|
},
|
|
182
182
|
"peerDependencies": {
|