@keystrokehq/ramp 0.0.9 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_official/index.d.mts +3 -8
- package/dist/_official/index.mjs +1 -1
- package/dist/accounting-fields.d.mts +15 -30
- package/dist/accounting-fields.mjs +3 -3
- package/dist/accounting-gl-accounts.d.mts +7 -14
- package/dist/accounting-gl-accounts.mjs +3 -3
- package/dist/{accounting-Ceh5QgHA.mjs → accounting-i6txC-MI.mjs} +1 -1
- package/dist/accounting-subsidiaries.d.mts +7 -14
- package/dist/accounting-subsidiaries.mjs +3 -3
- package/dist/accounting-sync.d.mts +7 -14
- package/dist/accounting-sync.mjs +3 -3
- package/dist/accounting-tracking-categories.d.mts +5 -10
- package/dist/accounting-tracking-categories.mjs +3 -3
- package/dist/accounting-vendors.d.mts +7 -14
- package/dist/accounting-vendors.mjs +3 -3
- package/dist/applications.d.mts +8 -13
- package/dist/applications.mjs +3 -3
- package/dist/{bills-D7vZ5JRH.mjs → bills-B8W9et3K.mjs} +1 -1
- package/dist/bills.d.mts +31 -46
- package/dist/bills.mjs +3 -3
- package/dist/{business-DAD870OI.mjs → business-CztnWUvt.mjs} +1 -1
- package/dist/business.d.mts +3 -6
- package/dist/business.mjs +2 -2
- package/dist/card-programs.d.mts +7 -14
- package/dist/card-programs.mjs +3 -3
- package/dist/{cards-DNZQtrd7.mjs → cards-BfgPcR38.mjs} +1 -1
- package/dist/cards.d.mts +19 -38
- package/dist/cards.mjs +4 -4
- package/dist/cashbacks.d.mts +5 -10
- package/dist/cashbacks.mjs +3 -3
- package/dist/client.d.mts +2 -2
- package/dist/client.mjs +2 -2
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.d.mts +11 -22
- package/dist/departments.mjs +3 -3
- package/dist/entities.d.mts +5 -10
- package/dist/entities.mjs +3 -3
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{factory-hiMPmrYD.mjs → factory-buRnGG7Q.mjs} +2 -1
- package/dist/integration-BhMk85GK.mjs +116 -0
- package/dist/{integration-BTjaW9hR.d.mts → integration-DJ7sYLA2.d.mts} +6 -19
- package/dist/limits.d.mts +11 -22
- package/dist/limits.mjs +3 -3
- package/dist/locations.d.mts +11 -22
- package/dist/locations.mjs +3 -3
- package/dist/memos.d.mts +5 -10
- package/dist/memos.mjs +3 -3
- package/dist/{new-resources-Cj_YECLc.mjs → new-resources-BBJsJEjT.mjs} +1 -1
- package/dist/{organization-BdyZhkYN.mjs → organization-BSaEpvBn.mjs} +1 -1
- package/dist/purchase-orders.d.mts +8 -13
- package/dist/purchase-orders.mjs +3 -3
- package/dist/receipt-integrations.d.mts +5 -10
- package/dist/receipt-integrations.mjs +2 -2
- package/dist/{receipts-DKq5Kjhr.mjs → receipts-STq41c2M.mjs} +1 -1
- package/dist/receipts.d.mts +7 -14
- package/dist/receipts.mjs +3 -3
- package/dist/{reimbursements--xBvXROu.mjs → reimbursements-OknrZUMF.mjs} +1 -1
- package/dist/reimbursements.d.mts +8 -13
- package/dist/reimbursements.mjs +3 -3
- package/dist/schemas/index.d.mts +3 -3
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +5 -10
- package/dist/spend-programs.mjs +3 -3
- package/dist/spend-requests.d.mts +7 -14
- package/dist/spend-requests.mjs +3 -3
- package/dist/statements.d.mts +5 -10
- package/dist/statements.mjs +3 -3
- package/dist/{transactions-IIG8obly.mjs → transactions-Djd0oIGK.mjs} +1 -1
- package/dist/transactions.d.mts +12 -19
- package/dist/transactions.mjs +3 -3
- package/dist/{transfers-C-76qq3o.mjs → transfers-WBQZVdGP.mjs} +1 -1
- package/dist/transfers.d.mts +11 -16
- package/dist/transfers.mjs +3 -3
- package/dist/triggers/index.d.mts +3 -3
- package/dist/triggers/index.mjs +11 -11
- package/dist/unified-requests.d.mts +5 -10
- package/dist/unified-requests.mjs +3 -3
- package/dist/{users-Bx4SR4el.mjs → users-ufcXrfNK.mjs} +1 -1
- package/dist/users.d.mts +13 -26
- package/dist/users.mjs +3 -3
- package/dist/vendor-bank-accounts.d.mts +11 -22
- package/dist/vendor-bank-accounts.mjs +3 -3
- package/dist/{vendors-lAh0yain.mjs → vendors-Bx1cgXwC.mjs} +1 -1
- package/dist/{vendors-De3fNIYJ.d.mts → vendors-gH-w9b_R.d.mts} +32 -32
- package/dist/vendors.d.mts +11 -22
- package/dist/vendors.mjs +3 -3
- package/dist/verification.mjs +1 -1
- package/dist/{webhook-CzjBDCWU.mjs → webhook-CsbvcgrC.mjs} +1 -1
- package/dist/{webhooks-mgmt--fU1Uxfa.mjs → webhooks-mgmt-d1xgVpWx.mjs} +1 -1
- package/dist/webhooks.d.mts +11 -22
- package/dist/webhooks.mjs +3 -3
- package/package.json +5 -5
- package/dist/dist-Bbp6t-WQ.mjs +0 -74
- package/dist/integration-BczMK0aE.mjs +0 -216
- /package/dist/{common-Dune7BHS.mjs → common-CUpmNYXw.mjs} +0 -0
- /package/dist/{errors-TrirAChI.d.mts → errors-CIJf9-v0.d.mts} +0 -0
- /package/dist/{shared-3DudrK5L.mjs → shared-CTTtP5gv.mjs} +0 -0
- /package/dist/{webhook-sde3Ui2N.d.mts → webhook-Bp38YQE9.d.mts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as ramp } from "../integration-
|
|
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-
|
|
3
|
-
import { Operation } from "@keystrokehq/core";
|
|
1
|
+
import { i as ramp } from "../integration-DJ7sYLA2.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-gH-w9b_R.mjs";
|
|
4
3
|
import { z } from "zod";
|
|
4
|
+
import { IntegrationTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
5
5
|
import { PollingTriggerManifest } from "@keystrokehq/core/trigger";
|
|
6
6
|
|
|
7
7
|
//#region src/triggers/polling-bindings.d.ts
|
package/dist/triggers/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as ramp } from "../integration-
|
|
2
|
-
import { n as createPollingTriggerBindingFactory } from "../dist-Bbp6t-WQ.mjs";
|
|
1
|
+
import { n as ramp } from "../integration-BhMk85GK.mjs";
|
|
3
2
|
import { createRampClient } from "../client.mjs";
|
|
4
|
-
import { l as rampBillSchema } from "../bills-
|
|
5
|
-
import { h as rampSpendRequestSchema } from "../business-
|
|
6
|
-
import { i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema } from "../new-resources-
|
|
7
|
-
import { i as rampReimbursementSchema } from "../reimbursements
|
|
8
|
-
import { i as rampTransactionSchema } from "../transactions-
|
|
9
|
-
import { c as rampTransferSchema } from "../transfers-
|
|
10
|
-
import { c as rampUserSchema } from "../users-
|
|
11
|
-
import { p as rampVendorSchema } from "../vendors-
|
|
3
|
+
import { l as rampBillSchema } from "../bills-B8W9et3K.mjs";
|
|
4
|
+
import { h as rampSpendRequestSchema } from "../business-CztnWUvt.mjs";
|
|
5
|
+
import { i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema } from "../new-resources-BBJsJEjT.mjs";
|
|
6
|
+
import { i as rampReimbursementSchema } from "../reimbursements-OknrZUMF.mjs";
|
|
7
|
+
import { i as rampTransactionSchema } from "../transactions-Djd0oIGK.mjs";
|
|
8
|
+
import { c as rampTransferSchema } from "../transfers-WBQZVdGP.mjs";
|
|
9
|
+
import { c as rampUserSchema } from "../users-ufcXrfNK.mjs";
|
|
10
|
+
import { p as rampVendorSchema } from "../vendors-Bx1cgXwC.mjs";
|
|
12
11
|
import { z } from "zod";
|
|
12
|
+
import { createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
13
13
|
|
|
14
14
|
//#region src/triggers/polling-bindings.ts
|
|
15
15
|
/**
|
|
@@ -23,7 +23,7 @@ function responseShape(item) {
|
|
|
23
23
|
}
|
|
24
24
|
function pollListEndpoint(path, itemSchema, queryBuilder) {
|
|
25
25
|
return async (ctx) => {
|
|
26
|
-
const client = createRampClient(ctx.credentials["ramp"]);
|
|
26
|
+
const client = createRampClient(ctx.credentials["keystroke:ramp"]);
|
|
27
27
|
const query = queryBuilder ? queryBuilder(ctx.lastPolledAt) : {};
|
|
28
28
|
const filtered = Object.fromEntries(Object.entries(query).filter(([, v]) => v !== void 0));
|
|
29
29
|
return { data: ((await client.request(path, { query: filtered }))?.data ?? []).map((item) => itemSchema.parse(item)) };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/unified-requests.d.ts
|
|
@@ -36,11 +35,9 @@ declare const listUnifiedRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
36
35
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
37
36
|
next: zod.ZodOptional<zod.ZodString>;
|
|
38
37
|
}, zod_v4_core0.$strip>>;
|
|
39
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
38
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
40
39
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
41
|
-
}, zod_v4_core0.$strip
|
|
42
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
43
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
40
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
44
41
|
declare const getUnifiedRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
45
42
|
unifiedRequestId: zod.ZodString;
|
|
46
43
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -58,10 +55,8 @@ declare const getUnifiedRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
58
55
|
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
59
56
|
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
60
57
|
resource_type: zod.ZodOptional<zod.ZodString>;
|
|
61
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
62
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
63
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
58
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
64
59
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
65
|
-
}, zod_v4_core0.$strip>>
|
|
60
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
66
61
|
//#endregion
|
|
67
62
|
export { getUnifiedRequest, listUnifiedRequests };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, m as rampUnifiedRequestSchema, p as rampUnifiedRequestListSchema } from "./new-resources-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/unified-requests.ts
|
|
7
7
|
const listUnifiedRequests = rampOperation({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/users.ts
|
package/dist/users.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/users.d.ts
|
|
6
5
|
declare const listUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -54,11 +53,9 @@ declare const listUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
54
53
|
page: z.ZodOptional<z.ZodObject<{
|
|
55
54
|
next: z.ZodOptional<z.ZodString>;
|
|
56
55
|
}, z.core.$strip>>;
|
|
57
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
56
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
58
57
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
59
|
-
}, z.core.$strip
|
|
60
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
58
|
+
}, z.core.$strip>>], undefined>;
|
|
62
59
|
declare const getUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
63
60
|
userId: z.ZodString;
|
|
64
61
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -90,11 +87,9 @@ declare const getUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
90
87
|
}>>;
|
|
91
88
|
is_manager: z.ZodOptional<z.ZodBoolean>;
|
|
92
89
|
phone: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
94
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
95
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
90
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
96
91
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
97
|
-
}, z.core.$strip>>
|
|
92
|
+
}, z.core.$strip>>], undefined>;
|
|
98
93
|
declare const inviteUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
99
94
|
email: z.ZodString;
|
|
100
95
|
first_name: z.ZodString;
|
|
@@ -119,11 +114,9 @@ declare const inviteUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
119
114
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
120
115
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
121
116
|
created_at: z.ZodOptional<z.ZodString>;
|
|
122
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
117
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
123
118
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
124
|
-
}, z.core.$strip
|
|
125
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
126
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
119
|
+
}, z.core.$strip>>], undefined>;
|
|
127
120
|
declare const updateUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
128
121
|
userId: z.ZodString;
|
|
129
122
|
department_id: z.ZodOptional<z.ZodString>;
|
|
@@ -169,11 +162,9 @@ declare const updateUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
169
162
|
}>>;
|
|
170
163
|
is_manager: z.ZodOptional<z.ZodBoolean>;
|
|
171
164
|
phone: z.ZodOptional<z.ZodString>;
|
|
172
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
173
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
174
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
165
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
175
166
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
176
|
-
}, z.core.$strip>>
|
|
167
|
+
}, z.core.$strip>>], undefined>;
|
|
177
168
|
declare const deactivateUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
178
169
|
userId: z.ZodString;
|
|
179
170
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -182,11 +173,9 @@ declare const deactivateUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
182
173
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
183
174
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
184
175
|
created_at: z.ZodOptional<z.ZodString>;
|
|
185
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
176
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
186
177
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
187
|
-
}, z.core.$strip
|
|
188
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
189
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
178
|
+
}, z.core.$strip>>], undefined>;
|
|
190
179
|
declare const getDeferredTask: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
191
180
|
taskId: z.ZodString;
|
|
192
181
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -195,10 +184,8 @@ declare const getDeferredTask: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
195
184
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
196
185
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
197
186
|
created_at: z.ZodOptional<z.ZodString>;
|
|
198
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
199
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
200
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
187
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
201
188
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
202
|
-
}, z.core.$strip>>
|
|
189
|
+
}, z.core.$strip>>], undefined>;
|
|
203
190
|
//#endregion
|
|
204
191
|
export { deactivateUser, getDeferredTask, getUser, inviteUser, listUsers, updateUser };
|
package/dist/users.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
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-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/users.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/vendor-bank-accounts.d.ts
|
|
6
5
|
declare const listVendorBankAccounts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -24,11 +23,9 @@ declare const listVendorBankAccounts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
23
|
page: z.ZodOptional<z.ZodObject<{
|
|
25
24
|
next: z.ZodOptional<z.ZodString>;
|
|
26
25
|
}, z.core.$strip>>;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
26
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
28
27
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
29
|
-
}, z.core.$strip
|
|
30
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
28
|
+
}, z.core.$strip>>], undefined>;
|
|
32
29
|
declare const getVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
33
30
|
vendorBankAccountId: z.ZodString;
|
|
34
31
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -43,11 +40,9 @@ declare const getVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
43
40
|
currency_code: z.ZodOptional<z.ZodString>;
|
|
44
41
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
45
42
|
created_at: z.ZodOptional<z.ZodString>;
|
|
46
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
47
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
43
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
49
44
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>
|
|
45
|
+
}, z.core.$strip>>], undefined>;
|
|
51
46
|
declare const createVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
47
|
vendor_id: z.ZodString;
|
|
53
48
|
account_name: z.ZodString;
|
|
@@ -71,11 +66,9 @@ declare const createVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
71
66
|
currency_code: z.ZodOptional<z.ZodString>;
|
|
72
67
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
73
68
|
created_at: z.ZodOptional<z.ZodString>;
|
|
74
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
69
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
75
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
}, z.core.$strip
|
|
77
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
79
72
|
declare const updateVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
80
73
|
vendorBankAccountId: z.ZodString;
|
|
81
74
|
account_name: z.ZodOptional<z.ZodString>;
|
|
@@ -92,19 +85,15 @@ declare const updateVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
92
85
|
currency_code: z.ZodOptional<z.ZodString>;
|
|
93
86
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
94
87
|
created_at: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
96
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
97
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
88
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
98
89
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
99
|
-
}, z.core.$strip>>
|
|
90
|
+
}, z.core.$strip>>], undefined>;
|
|
100
91
|
declare const deleteVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
101
92
|
vendorBankAccountId: z.ZodString;
|
|
102
93
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
94
|
success: z.ZodBoolean;
|
|
104
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
105
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
106
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
95
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
107
96
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
108
|
-
}, z.core.$strip>>
|
|
97
|
+
}, z.core.$strip>>], undefined>;
|
|
109
98
|
//#endregion
|
|
110
99
|
export { createVendorBankAccount, deleteVendorBankAccount, getVendorBankAccount, listVendorBankAccounts, updateVendorBankAccount };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
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-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/vendor-bank-accounts.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/vendors.ts
|
|
@@ -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
|
+
OPEN: "OPEN";
|
|
7
|
+
DRAFT: "DRAFT";
|
|
6
8
|
APPROVED: "APPROVED";
|
|
7
9
|
REJECTED: "REJECTED";
|
|
8
10
|
PAID: "PAID";
|
|
9
11
|
CANCELED: "CANCELED";
|
|
10
|
-
DRAFT: "DRAFT";
|
|
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
|
+
OPEN: "OPEN";
|
|
39
|
+
DRAFT: "DRAFT";
|
|
38
40
|
APPROVED: "APPROVED";
|
|
39
41
|
REJECTED: "REJECTED";
|
|
40
42
|
PAID: "PAID";
|
|
41
43
|
CANCELED: "CANCELED";
|
|
42
|
-
DRAFT: "DRAFT";
|
|
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
|
+
OPEN: "OPEN";
|
|
75
|
+
DRAFT: "DRAFT";
|
|
74
76
|
APPROVED: "APPROVED";
|
|
75
77
|
REJECTED: "REJECTED";
|
|
76
78
|
PAID: "PAID";
|
|
77
79
|
CANCELED: "CANCELED";
|
|
78
|
-
DRAFT: "DRAFT";
|
|
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
|
+
OPEN: "OPEN";
|
|
101
|
+
DRAFT: "DRAFT";
|
|
100
102
|
APPROVED: "APPROVED";
|
|
101
103
|
REJECTED: "REJECTED";
|
|
102
104
|
PAID: "PAID";
|
|
103
105
|
CANCELED: "CANCELED";
|
|
104
|
-
DRAFT: "DRAFT";
|
|
105
106
|
FAILED: "FAILED";
|
|
106
|
-
OPEN: "OPEN";
|
|
107
107
|
SCHEDULED: "SCHEDULED";
|
|
108
108
|
}>>;
|
|
109
109
|
amount: z.ZodOptional<z.ZodObject<{
|
|
@@ -349,9 +349,9 @@ type RampSpendRequestComment = z.infer<typeof rampSpendRequestCommentSchema>;
|
|
|
349
349
|
*/
|
|
350
350
|
declare const rampPurchaseOrderStatusSchema: z.ZodEnum<{
|
|
351
351
|
PENDING: "PENDING";
|
|
352
|
+
DRAFT: "DRAFT";
|
|
352
353
|
APPROVED: "APPROVED";
|
|
353
354
|
CANCELED: "CANCELED";
|
|
354
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
363
364
|
APPROVED: "APPROVED";
|
|
364
365
|
CANCELED: "CANCELED";
|
|
365
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
382
383
|
APPROVED: "APPROVED";
|
|
383
384
|
CANCELED: "CANCELED";
|
|
384
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
398
399
|
APPROVED: "APPROVED";
|
|
399
400
|
CANCELED: "CANCELED";
|
|
400
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
422
423
|
APPROVED: "APPROVED";
|
|
423
424
|
CANCELED: "CANCELED";
|
|
424
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
432
433
|
APPROVED: "APPROVED";
|
|
433
434
|
CANCELED: "CANCELED";
|
|
434
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
444
445
|
APPROVED: "APPROVED";
|
|
445
446
|
CANCELED: "CANCELED";
|
|
446
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
458
459
|
APPROVED: "APPROVED";
|
|
459
460
|
CANCELED: "CANCELED";
|
|
460
|
-
DRAFT: "DRAFT";
|
|
461
461
|
DENIED: "DENIED";
|
|
462
462
|
}>>;
|
|
463
463
|
created_at: z.ZodOptional<z.ZodString>;
|
|
@@ -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
|
+
DRAFT: "DRAFT";
|
|
538
539
|
APPROVED: "APPROVED";
|
|
539
540
|
REJECTED: "REJECTED";
|
|
540
541
|
PAID: "PAID";
|
|
541
542
|
CANCELED: "CANCELED";
|
|
542
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
557
558
|
APPROVED: "APPROVED";
|
|
558
559
|
REJECTED: "REJECTED";
|
|
559
560
|
PAID: "PAID";
|
|
560
561
|
CANCELED: "CANCELED";
|
|
561
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
575
576
|
APPROVED: "APPROVED";
|
|
576
577
|
REJECTED: "REJECTED";
|
|
577
578
|
PAID: "PAID";
|
|
578
579
|
CANCELED: "CANCELED";
|
|
579
|
-
DRAFT: "DRAFT";
|
|
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
|
+
DRAFT: "DRAFT";
|
|
600
601
|
APPROVED: "APPROVED";
|
|
601
602
|
REJECTED: "REJECTED";
|
|
602
603
|
PAID: "PAID";
|
|
603
604
|
CANCELED: "CANCELED";
|
|
604
|
-
DRAFT: "DRAFT";
|
|
605
605
|
}>>;
|
|
606
606
|
receipts: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
607
|
accounting_categories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -620,11 +620,11 @@ 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
623
|
CLEARED: "CLEARED";
|
|
625
624
|
COMPLETION: "COMPLETION";
|
|
626
625
|
DECLINED: "DECLINED";
|
|
627
626
|
ERROR: "ERROR";
|
|
627
|
+
PENDING: "PENDING";
|
|
628
628
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
629
629
|
PROCESSING: "PROCESSING";
|
|
630
630
|
}>;
|
|
@@ -646,11 +646,11 @@ 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
649
|
CLEARED: "CLEARED";
|
|
651
650
|
COMPLETION: "COMPLETION";
|
|
652
651
|
DECLINED: "DECLINED";
|
|
653
652
|
ERROR: "ERROR";
|
|
653
|
+
PENDING: "PENDING";
|
|
654
654
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
655
655
|
PROCESSING: "PROCESSING";
|
|
656
656
|
}>>;
|
|
@@ -671,11 +671,11 @@ 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
674
|
CLEARED: "CLEARED";
|
|
676
675
|
COMPLETION: "COMPLETION";
|
|
677
676
|
DECLINED: "DECLINED";
|
|
678
677
|
ERROR: "ERROR";
|
|
678
|
+
PENDING: "PENDING";
|
|
679
679
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
680
680
|
PROCESSING: "PROCESSING";
|
|
681
681
|
}>>;
|
|
@@ -709,11 +709,11 @@ 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
712
|
CLEARED: "CLEARED";
|
|
714
713
|
COMPLETION: "COMPLETION";
|
|
715
714
|
DECLINED: "DECLINED";
|
|
716
715
|
ERROR: "ERROR";
|
|
716
|
+
PENDING: "PENDING";
|
|
717
717
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
718
718
|
PROCESSING: "PROCESSING";
|
|
719
719
|
}>>;
|
|
@@ -735,10 +735,10 @@ declare const rampTransactionGetInputSchema: z.ZodObject<{
|
|
|
735
735
|
//#region src/schemas/transfers.d.ts
|
|
736
736
|
declare const rampTransferStatusSchema: z.ZodEnum<{
|
|
737
737
|
PENDING: "PENDING";
|
|
738
|
-
CANCELED: "CANCELED";
|
|
739
738
|
PROCESSING: "PROCESSING";
|
|
740
|
-
|
|
739
|
+
CANCELED: "CANCELED";
|
|
741
740
|
FAILED: "FAILED";
|
|
741
|
+
COMPLETED: "COMPLETED";
|
|
742
742
|
}>;
|
|
743
743
|
declare const rampTransferSchema: z.ZodObject<{
|
|
744
744
|
id: z.ZodString;
|
|
@@ -748,10 +748,10 @@ declare const rampTransferSchema: z.ZodObject<{
|
|
|
748
748
|
}, z.core.$strip>>;
|
|
749
749
|
status: z.ZodOptional<z.ZodEnum<{
|
|
750
750
|
PENDING: "PENDING";
|
|
751
|
-
CANCELED: "CANCELED";
|
|
752
751
|
PROCESSING: "PROCESSING";
|
|
753
|
-
|
|
752
|
+
CANCELED: "CANCELED";
|
|
754
753
|
FAILED: "FAILED";
|
|
754
|
+
COMPLETED: "COMPLETED";
|
|
755
755
|
}>>;
|
|
756
756
|
created_at: z.ZodOptional<z.ZodString>;
|
|
757
757
|
settled_at: z.ZodOptional<z.ZodString>;
|
|
@@ -764,10 +764,10 @@ declare const rampTransferListInputSchema: z.ZodObject<{
|
|
|
764
764
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
765
765
|
status: z.ZodOptional<z.ZodEnum<{
|
|
766
766
|
PENDING: "PENDING";
|
|
767
|
-
CANCELED: "CANCELED";
|
|
768
767
|
PROCESSING: "PROCESSING";
|
|
769
|
-
|
|
768
|
+
CANCELED: "CANCELED";
|
|
770
769
|
FAILED: "FAILED";
|
|
770
|
+
COMPLETED: "COMPLETED";
|
|
771
771
|
}>>;
|
|
772
772
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
773
773
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -781,10 +781,10 @@ declare const rampTransferListSchema: z.ZodObject<{
|
|
|
781
781
|
}, z.core.$strip>>;
|
|
782
782
|
status: z.ZodOptional<z.ZodEnum<{
|
|
783
783
|
PENDING: "PENDING";
|
|
784
|
-
CANCELED: "CANCELED";
|
|
785
784
|
PROCESSING: "PROCESSING";
|
|
786
|
-
|
|
785
|
+
CANCELED: "CANCELED";
|
|
787
786
|
FAILED: "FAILED";
|
|
787
|
+
COMPLETED: "COMPLETED";
|
|
788
788
|
}>>;
|
|
789
789
|
created_at: z.ZodOptional<z.ZodString>;
|
|
790
790
|
settled_at: z.ZodOptional<z.ZodString>;
|