@keystrokehq/ramp 0.0.6-rename-t1.0 → 0.0.7
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 +5 -5
- package/dist/_official/index.mjs +1 -1
- 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-BVX9iEl4.mjs → factory-pbmCYnqr.mjs} +1 -1
- package/dist/{integration-D4-wNCh9.mjs → integration-8czEQ_pK.mjs} +8 -8
- 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-BEnJpk9A.d.mts → vendors-gH-w9b_R.d.mts} +44 -44
- package/dist/vendors.mjs +1 -1
- package/dist/webhooks.mjs +1 -1
- package/package.json +4 -4
|
@@ -29,12 +29,12 @@ declare const rampOfficialProviderSeed: {
|
|
|
29
29
|
readonly displayName: "Ramp Platform";
|
|
30
30
|
readonly credentialSetName: "Keystroke Ramp Platform App";
|
|
31
31
|
readonly envShape: {
|
|
32
|
-
readonly
|
|
33
|
-
readonly
|
|
34
|
-
readonly
|
|
32
|
+
readonly KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID: z.ZodOptional<z.ZodString>;
|
|
33
|
+
readonly KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET: z.ZodOptional<z.ZodString>;
|
|
34
|
+
readonly KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET: z.ZodOptional<z.ZodString>;
|
|
35
35
|
};
|
|
36
|
-
readonly requiredEnvKeys: readonly ["
|
|
37
|
-
readonly externalAppIdEnvKey: "
|
|
36
|
+
readonly requiredEnvKeys: readonly ["KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID", "KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET"];
|
|
37
|
+
readonly externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID";
|
|
38
38
|
readonly buildCredentials: (env: Record<string, string | undefined>) => {
|
|
39
39
|
webhookSecret?: string | undefined;
|
|
40
40
|
clientId: string | undefined;
|
package/dist/_official/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as rampAppCredentialSet, i as rampOfficialIntegration, n as ramp, o as rampOfficialProviderSeed, r as rampBundle } from "../integration-
|
|
1
|
+
import { a as rampAppCredentialSet, i as rampOfficialIntegration, n as ramp, o as rampOfficialProviderSeed, r as rampBundle } from "../integration-8czEQ_pK.mjs";
|
|
2
2
|
|
|
3
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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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";
|
|
11
10
|
DRAFT: "DRAFT";
|
|
12
11
|
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";
|
|
24
23
|
DRAFT: "DRAFT";
|
|
25
24
|
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";
|
|
47
46
|
DRAFT: "DRAFT";
|
|
48
47
|
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-pbmCYnqr.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
|
-
|
|
12
|
-
FAILED: "FAILED";
|
|
11
|
+
OPEN: "OPEN";
|
|
13
12
|
DRAFT: "DRAFT";
|
|
14
13
|
APPROVED: "APPROVED";
|
|
15
14
|
REJECTED: "REJECTED";
|
|
16
15
|
PAID: "PAID";
|
|
17
|
-
|
|
16
|
+
CANCELED: "CANCELED";
|
|
17
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
37
|
-
FAILED: "FAILED";
|
|
36
|
+
OPEN: "OPEN";
|
|
38
37
|
DRAFT: "DRAFT";
|
|
39
38
|
APPROVED: "APPROVED";
|
|
40
39
|
REJECTED: "REJECTED";
|
|
41
40
|
PAID: "PAID";
|
|
42
|
-
|
|
41
|
+
CANCELED: "CANCELED";
|
|
42
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
88
|
-
FAILED: "FAILED";
|
|
87
|
+
OPEN: "OPEN";
|
|
89
88
|
DRAFT: "DRAFT";
|
|
90
89
|
APPROVED: "APPROVED";
|
|
91
90
|
REJECTED: "REJECTED";
|
|
92
91
|
PAID: "PAID";
|
|
93
|
-
|
|
92
|
+
CANCELED: "CANCELED";
|
|
93
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
151
|
-
FAILED: "FAILED";
|
|
150
|
+
OPEN: "OPEN";
|
|
152
151
|
DRAFT: "DRAFT";
|
|
153
152
|
APPROVED: "APPROVED";
|
|
154
153
|
REJECTED: "REJECTED";
|
|
155
154
|
PAID: "PAID";
|
|
156
|
-
|
|
155
|
+
CANCELED: "CANCELED";
|
|
156
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
202
|
-
FAILED: "FAILED";
|
|
201
|
+
OPEN: "OPEN";
|
|
203
202
|
DRAFT: "DRAFT";
|
|
204
203
|
APPROVED: "APPROVED";
|
|
205
204
|
REJECTED: "REJECTED";
|
|
206
205
|
PAID: "PAID";
|
|
207
|
-
|
|
206
|
+
CANCELED: "CANCELED";
|
|
207
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
250
|
-
FAILED: "FAILED";
|
|
249
|
+
OPEN: "OPEN";
|
|
251
250
|
DRAFT: "DRAFT";
|
|
252
251
|
APPROVED: "APPROVED";
|
|
253
252
|
REJECTED: "REJECTED";
|
|
254
253
|
PAID: "PAID";
|
|
255
|
-
|
|
254
|
+
CANCELED: "CANCELED";
|
|
255
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
298
|
-
FAILED: "FAILED";
|
|
297
|
+
OPEN: "OPEN";
|
|
299
298
|
DRAFT: "DRAFT";
|
|
300
299
|
APPROVED: "APPROVED";
|
|
301
300
|
REJECTED: "REJECTED";
|
|
302
301
|
PAID: "PAID";
|
|
303
|
-
|
|
302
|
+
CANCELED: "CANCELED";
|
|
303
|
+
FAILED: "FAILED";
|
|
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
|
-
|
|
346
|
-
FAILED: "FAILED";
|
|
345
|
+
OPEN: "OPEN";
|
|
347
346
|
DRAFT: "DRAFT";
|
|
348
347
|
APPROVED: "APPROVED";
|
|
349
348
|
REJECTED: "REJECTED";
|
|
350
349
|
PAID: "PAID";
|
|
351
|
-
|
|
350
|
+
CANCELED: "CANCELED";
|
|
351
|
+
FAILED: "FAILED";
|
|
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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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-8czEQ_pK.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-pbmCYnqr.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-pbmCYnqr.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/entities.ts
|
|
@@ -29,16 +29,16 @@ const rampOfficialProviderSeed = {
|
|
|
29
29
|
displayName: "Ramp Platform",
|
|
30
30
|
credentialSetName: "Keystroke Ramp Platform App",
|
|
31
31
|
envShape: {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID: z.string().optional(),
|
|
33
|
+
KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET: z.string().optional(),
|
|
34
|
+
KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET: z.string().optional()
|
|
35
35
|
},
|
|
36
|
-
requiredEnvKeys: ["
|
|
37
|
-
externalAppIdEnvKey: "
|
|
36
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID", "KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET"],
|
|
37
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID",
|
|
38
38
|
buildCredentials: (env) => ({
|
|
39
|
-
clientId: env.
|
|
40
|
-
clientSecret: env.
|
|
41
|
-
...env.
|
|
39
|
+
clientId: env.KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID,
|
|
40
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET,
|
|
41
|
+
...env.KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET ? { webhookSecret: env.KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET } : {}
|
|
42
42
|
})
|
|
43
43
|
};
|
|
44
44
|
|
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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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";
|
|
11
10
|
DRAFT: "DRAFT";
|
|
12
11
|
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";
|
|
26
25
|
DRAFT: "DRAFT";
|
|
27
26
|
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";
|
|
56
55
|
DRAFT: "DRAFT";
|
|
57
56
|
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-pbmCYnqr.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-pbmCYnqr.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-pbmCYnqr.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";
|
|
12
11
|
DRAFT: "DRAFT";
|
|
13
12
|
APPROVED: "APPROVED";
|
|
14
13
|
REJECTED: "REJECTED";
|
|
15
14
|
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";
|
|
36
35
|
DRAFT: "DRAFT";
|
|
37
36
|
APPROVED: "APPROVED";
|
|
38
37
|
REJECTED: "REJECTED";
|
|
39
38
|
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";
|
|
72
71
|
DRAFT: "DRAFT";
|
|
73
72
|
APPROVED: "APPROVED";
|
|
74
73
|
REJECTED: "REJECTED";
|
|
75
74
|
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-pbmCYnqr.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-gH-w9b_R.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-pbmCYnqr.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
|
-
CANCELED: "CANCELED";
|
|
11
10
|
APPROVED: "APPROVED";
|
|
11
|
+
CANCELED: "CANCELED";
|
|
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
|
-
CANCELED: "CANCELED";
|
|
25
24
|
APPROVED: "APPROVED";
|
|
25
|
+
CANCELED: "CANCELED";
|
|
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
|
-
CANCELED: "CANCELED";
|
|
58
57
|
APPROVED: "APPROVED";
|
|
58
|
+
CANCELED: "CANCELED";
|
|
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-pbmCYnqr.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-pbmCYnqr.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/statements.ts
|