@keystrokehq/ramp 0.0.7 → 0.0.9
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 +1 -1
- package/dist/{accounting-i6txC-MI.mjs → accounting-Ceh5QgHA.mjs} +1 -1
- package/dist/accounting-fields.d.mts +8 -8
- package/dist/accounting-fields.mjs +10 -10
- package/dist/accounting-gl-accounts.d.mts +4 -4
- package/dist/accounting-gl-accounts.mjs +6 -6
- package/dist/accounting-subsidiaries.d.mts +4 -4
- package/dist/accounting-subsidiaries.mjs +6 -6
- package/dist/accounting-sync.d.mts +4 -4
- package/dist/accounting-sync.mjs +6 -6
- package/dist/accounting-tracking-categories.d.mts +3 -3
- package/dist/accounting-tracking-categories.mjs +5 -5
- package/dist/accounting-vendors.d.mts +4 -4
- package/dist/accounting-vendors.mjs +6 -6
- package/dist/applications.d.mts +6 -6
- package/dist/applications.mjs +5 -5
- package/dist/{bills-B8W9et3K.mjs → bills-D7vZ5JRH.mjs} +1 -1
- package/dist/bills.d.mts +24 -24
- package/dist/bills.mjs +10 -10
- package/dist/{business-CztnWUvt.mjs → business-DAD870OI.mjs} +1 -1
- package/dist/business.d.mts +2 -2
- package/dist/business.mjs +3 -3
- package/dist/card-programs.d.mts +4 -4
- package/dist/card-programs.mjs +6 -6
- package/dist/{cards-BfgPcR38.mjs → cards-DNZQtrd7.mjs} +1 -1
- package/dist/cards.d.mts +10 -10
- package/dist/cards.mjs +13 -13
- package/dist/cashbacks.d.mts +3 -3
- package/dist/cashbacks.mjs +5 -5
- 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 +6 -6
- package/dist/departments.mjs +8 -8
- package/dist/dist-Bbp6t-WQ.mjs +74 -0
- package/dist/entities.d.mts +3 -3
- package/dist/entities.mjs +5 -5
- package/dist/{errors-Dm2DruuS.d.mts → errors-TrirAChI.d.mts} +1 -1
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{factory-pbmCYnqr.mjs → factory-hiMPmrYD.mjs} +1 -2
- package/dist/{integration-D6jpX1pZ.d.mts → integration-BTjaW9hR.d.mts} +3 -4
- package/dist/{integration-8czEQ_pK.mjs → integration-BczMK0aE.mjs} +95 -3
- package/dist/limits.d.mts +6 -6
- package/dist/limits.mjs +8 -8
- package/dist/locations.d.mts +6 -6
- package/dist/locations.mjs +8 -8
- package/dist/memos.d.mts +3 -3
- package/dist/memos.mjs +5 -5
- package/dist/{new-resources-BBJsJEjT.mjs → new-resources-Cj_YECLc.mjs} +1 -1
- package/dist/{organization-BSaEpvBn.mjs → organization-BdyZhkYN.mjs} +1 -1
- package/dist/purchase-orders.d.mts +6 -6
- package/dist/purchase-orders.mjs +5 -5
- package/dist/receipt-integrations.d.mts +3 -3
- package/dist/receipt-integrations.mjs +4 -4
- package/dist/{receipts-STq41c2M.mjs → receipts-DKq5Kjhr.mjs} +1 -1
- package/dist/receipts.d.mts +4 -4
- package/dist/receipts.mjs +6 -6
- package/dist/{reimbursements-OknrZUMF.mjs → reimbursements--xBvXROu.mjs} +1 -1
- package/dist/reimbursements.d.mts +6 -6
- package/dist/reimbursements.mjs +5 -5
- package/dist/schemas/index.d.mts +3 -3
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +3 -3
- package/dist/spend-programs.mjs +5 -5
- package/dist/spend-requests.d.mts +4 -4
- package/dist/spend-requests.mjs +6 -6
- package/dist/statements.d.mts +3 -3
- package/dist/statements.mjs +5 -5
- package/dist/{transactions-Djd0oIGK.mjs → transactions-IIG8obly.mjs} +1 -1
- package/dist/transactions.d.mts +9 -9
- package/dist/transactions.mjs +6 -6
- package/dist/{transfers-WBQZVdGP.mjs → transfers-C-76qq3o.mjs} +1 -1
- package/dist/transfers.d.mts +9 -9
- package/dist/transfers.mjs +5 -5
- package/dist/triggers/index.d.mts +3 -3
- package/dist/triggers/index.mjs +11 -11
- package/dist/unified-requests.d.mts +3 -3
- package/dist/unified-requests.mjs +5 -5
- package/dist/{users-ufcXrfNK.mjs → users-Bx4SR4el.mjs} +1 -1
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +9 -9
- package/dist/vendor-bank-accounts.d.mts +6 -6
- package/dist/vendor-bank-accounts.mjs +8 -8
- package/dist/{vendors-gH-w9b_R.d.mts → vendors-De3fNIYJ.d.mts} +32 -32
- package/dist/{vendors-Bx1cgXwC.mjs → vendors-lAh0yain.mjs} +1 -1
- package/dist/vendors.d.mts +6 -6
- package/dist/vendors.mjs +8 -8
- package/dist/verification.mjs +1 -1
- package/dist/{webhook-CsbvcgrC.mjs → webhook-CzjBDCWU.mjs} +1 -1
- package/dist/{webhooks-mgmt-d1xgVpWx.mjs → webhooks-mgmt--fU1Uxfa.mjs} +1 -1
- package/dist/webhooks.d.mts +6 -6
- package/dist/webhooks.mjs +8 -8
- package/package.json +4 -4
- /package/dist/{common-CUpmNYXw.mjs → common-Dune7BHS.mjs} +0 -0
- /package/dist/{shared-CTTtP5gv.mjs → shared-3DudrK5L.mjs} +0 -0
- /package/dist/{webhook-Bp38YQE9.d.mts → webhook-sde3Ui2N.d.mts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as rampBundle, i as ramp, o as rampOfficialIntegration } from "../integration-
|
|
2
|
-
import { z } from "zod";
|
|
1
|
+
import { a as rampBundle, i as ramp, o as rampOfficialIntegration } from "../integration-BTjaW9hR.mjs";
|
|
3
2
|
import { CredentialSet } from "@keystrokehq/core";
|
|
3
|
+
import { z } from "zod";
|
|
4
4
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
5
5
|
|
|
6
6
|
//#region src/_official/provider-app.d.ts
|
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-BczMK0aE.mjs";
|
|
2
2
|
|
|
3
3
|
export { ramp, rampAppCredentialSet, rampBundle, rampOfficialIntegration, rampOfficialProviderSeed };
|
|
@@ -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-Dune7BHS.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/accounting.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
|
|
5
5
|
//#region src/accounting-fields.d.ts
|
|
@@ -16,7 +16,7 @@ declare const listAccountingFields: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
16
16
|
page: z.ZodOptional<z.ZodObject<{
|
|
17
17
|
next: z.ZodOptional<z.ZodString>;
|
|
18
18
|
}, z.core.$strip>>;
|
|
19
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
19
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
20
20
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
21
21
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
22
22
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -28,7 +28,7 @@ declare const getAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
28
28
|
name: z.ZodOptional<z.ZodString>;
|
|
29
29
|
field_type: z.ZodOptional<z.ZodString>;
|
|
30
30
|
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
31
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
32
32
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
33
33
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
34
34
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -43,7 +43,7 @@ declare const createAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
43
43
|
name: z.ZodOptional<z.ZodString>;
|
|
44
44
|
field_type: z.ZodOptional<z.ZodString>;
|
|
45
45
|
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
46
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
47
47
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
48
48
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
49
49
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -57,7 +57,7 @@ declare const updateAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
57
57
|
name: z.ZodOptional<z.ZodString>;
|
|
58
58
|
field_type: z.ZodOptional<z.ZodString>;
|
|
59
59
|
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
60
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
60
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
61
61
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
62
62
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
63
63
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -66,7 +66,7 @@ declare const deleteAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
66
66
|
fieldId: z.ZodString;
|
|
67
67
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
68
|
success: z.ZodBoolean;
|
|
69
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
69
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
70
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
71
71
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
72
72
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -85,7 +85,7 @@ declare const listAccountingFieldOptions: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
85
85
|
page: z.ZodOptional<z.ZodObject<{
|
|
86
86
|
next: z.ZodOptional<z.ZodString>;
|
|
87
87
|
}, z.core.$strip>>;
|
|
88
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
88
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
89
89
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
90
90
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
91
91
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -107,7 +107,7 @@ declare const uploadAccountingFieldOptions: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
107
107
|
page: z.ZodOptional<z.ZodObject<{
|
|
108
108
|
next: z.ZodOptional<z.ZodString>;
|
|
109
109
|
}, z.core.$strip>>;
|
|
110
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
110
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
111
111
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
112
112
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
113
113
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
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-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-Ceh5QgHA.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/accounting-fields.ts
|
|
8
8
|
const listAccountingFields = rampOperation({
|
|
9
|
-
id: "
|
|
9
|
+
id: "ramp.list-accounting-fields",
|
|
10
10
|
name: "List Accounting Fields",
|
|
11
11
|
description: "List custom accounting fields defined on the Ramp business.",
|
|
12
12
|
input: rampAccountingFieldListInputSchema,
|
|
@@ -20,7 +20,7 @@ const listAccountingFields = rampOperation({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
const getAccountingField = rampOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "ramp.get-accounting-field",
|
|
24
24
|
name: "Get Accounting Field",
|
|
25
25
|
description: "Fetch a Ramp accounting field by id.",
|
|
26
26
|
input: rampAccountingFieldGetInputSchema,
|
|
@@ -31,7 +31,7 @@ const getAccountingField = rampOperation({
|
|
|
31
31
|
}
|
|
32
32
|
});
|
|
33
33
|
const createAccountingField = rampOperation({
|
|
34
|
-
id: "
|
|
34
|
+
id: "ramp.create-accounting-field",
|
|
35
35
|
name: "Create Accounting Field",
|
|
36
36
|
description: "Create a new custom accounting field.",
|
|
37
37
|
input: rampAccountingFieldCreateInputSchema,
|
|
@@ -46,7 +46,7 @@ const createAccountingField = rampOperation({
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
const updateAccountingField = rampOperation({
|
|
49
|
-
id: "
|
|
49
|
+
id: "ramp.update-accounting-field",
|
|
50
50
|
name: "Update Accounting Field",
|
|
51
51
|
description: "Update an existing custom accounting field.",
|
|
52
52
|
input: rampAccountingFieldUpdateInputSchema,
|
|
@@ -63,7 +63,7 @@ const updateAccountingField = rampOperation({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
const deleteAccountingField = rampOperation({
|
|
66
|
-
id: "
|
|
66
|
+
id: "ramp.delete-accounting-field",
|
|
67
67
|
name: "Delete Accounting Field",
|
|
68
68
|
description: "Delete a custom accounting field by id.",
|
|
69
69
|
input: rampAccountingFieldDeleteInputSchema,
|
|
@@ -75,7 +75,7 @@ const deleteAccountingField = rampOperation({
|
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
77
|
const listAccountingFieldOptions = rampOperation({
|
|
78
|
-
id: "
|
|
78
|
+
id: "ramp.list-accounting-field-options",
|
|
79
79
|
name: "List Accounting Field Options",
|
|
80
80
|
description: "List options configured on a custom accounting field.",
|
|
81
81
|
input: rampAccountingFieldOptionListInputSchema,
|
|
@@ -89,7 +89,7 @@ const listAccountingFieldOptions = rampOperation({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
const uploadAccountingFieldOptions = rampOperation({
|
|
92
|
-
id: "
|
|
92
|
+
id: "ramp.upload-accounting-field-options",
|
|
93
93
|
name: "Upload Accounting Field Options",
|
|
94
94
|
description: "Bulk upload options for a custom accounting field.",
|
|
95
95
|
input: rampAccountingFieldOptionUploadInputSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -18,7 +18,7 @@ declare const listGlAccounts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
18
18
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
19
19
|
next: zod.ZodOptional<zod.ZodString>;
|
|
20
20
|
}, zod_v4_core0.$strip>>;
|
|
21
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
21
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
22
22
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
23
23
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
24
24
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -31,7 +31,7 @@ declare const getGlAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
31
31
|
code: zod.ZodOptional<zod.ZodString>;
|
|
32
32
|
classification: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
34
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
34
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
35
35
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
36
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
37
37
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -54,7 +54,7 @@ declare const uploadGlAccounts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
54
54
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
55
55
|
next: zod.ZodOptional<zod.ZodString>;
|
|
56
56
|
}, zod_v4_core0.$strip>>;
|
|
57
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
57
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
58
58
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
59
59
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
60
60
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, P as rampGlAccountSchema, j as rampGlAccountGetInputSchema } from "./accounting-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { F as rampGlAccountUploadInputSchema, M as rampGlAccountListInputSchema, N as rampGlAccountListSchema, P as rampGlAccountSchema, j as rampGlAccountGetInputSchema } from "./accounting-Ceh5QgHA.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-gl-accounts.ts
|
|
7
7
|
const listGlAccounts = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-gl-accounts",
|
|
9
9
|
name: "List GL Accounts",
|
|
10
10
|
description: "List general-ledger accounts synced from the connected accounting system.",
|
|
11
11
|
input: rampGlAccountListInputSchema,
|
|
@@ -19,7 +19,7 @@ const listGlAccounts = rampOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const getGlAccount = rampOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "ramp.get-gl-account",
|
|
23
23
|
name: "Get GL Account",
|
|
24
24
|
description: "Fetch a GL account by id.",
|
|
25
25
|
input: rampGlAccountGetInputSchema,
|
|
@@ -30,7 +30,7 @@ const getGlAccount = rampOperation({
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
const uploadGlAccounts = rampOperation({
|
|
33
|
-
id: "
|
|
33
|
+
id: "ramp.upload-gl-accounts",
|
|
34
34
|
name: "Upload GL Accounts",
|
|
35
35
|
description: "Bulk-upload GL accounts from the connected accounting system.",
|
|
36
36
|
input: rampGlAccountUploadInputSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ declare const listAccountingSubsidiaries: _keystrokehq_core0.Operation<zod.ZodOb
|
|
|
17
17
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
18
18
|
next: zod.ZodOptional<zod.ZodString>;
|
|
19
19
|
}, zod_v4_core0.$strip>>;
|
|
20
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
20
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
21
21
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
22
22
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
23
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -29,7 +29,7 @@ declare const getAccountingSubsidiary: _keystrokehq_core0.Operation<zod.ZodObjec
|
|
|
29
29
|
name: zod.ZodOptional<zod.ZodString>;
|
|
30
30
|
external_id: zod.ZodOptional<zod.ZodString>;
|
|
31
31
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
32
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
32
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
33
33
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
34
34
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
35
35
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -50,7 +50,7 @@ declare const uploadAccountingSubsidiaries: _keystrokehq_core0.Operation<zod.Zod
|
|
|
50
50
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
51
51
|
next: zod.ZodOptional<zod.ZodString>;
|
|
52
52
|
}, zod_v4_core0.$strip>>;
|
|
53
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
53
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
54
54
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
55
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
56
56
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, m as rampAccountingSubsidiaryListSchema, p as rampAccountingSubsidiaryListInputSchema } from "./accounting-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { f as rampAccountingSubsidiaryGetInputSchema, g as rampAccountingSubsidiaryUploadInputSchema, h as rampAccountingSubsidiarySchema, m as rampAccountingSubsidiaryListSchema, p as rampAccountingSubsidiaryListInputSchema } from "./accounting-Ceh5QgHA.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-subsidiaries.ts
|
|
7
7
|
const listAccountingSubsidiaries = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-accounting-subsidiaries",
|
|
9
9
|
name: "List Accounting Subsidiaries",
|
|
10
10
|
description: "List subsidiaries synced from the connected accounting system.",
|
|
11
11
|
input: rampAccountingSubsidiaryListInputSchema,
|
|
@@ -19,7 +19,7 @@ const listAccountingSubsidiaries = rampOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const getAccountingSubsidiary = rampOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "ramp.get-accounting-subsidiary",
|
|
23
23
|
name: "Get Accounting Subsidiary",
|
|
24
24
|
description: "Fetch a subsidiary by id.",
|
|
25
25
|
input: rampAccountingSubsidiaryGetInputSchema,
|
|
@@ -30,7 +30,7 @@ const getAccountingSubsidiary = rampOperation({
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
const uploadAccountingSubsidiaries = rampOperation({
|
|
33
|
-
id: "
|
|
33
|
+
id: "ramp.upload-accounting-subsidiaries",
|
|
34
34
|
name: "Upload Accounting Subsidiaries",
|
|
35
35
|
description: "Bulk-upload subsidiaries from the connected accounting system.",
|
|
36
36
|
input: rampAccountingSubsidiaryUploadInputSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -17,7 +17,7 @@ declare const listAccountingSyncs: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
17
17
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
18
18
|
next: zod.ZodOptional<zod.ZodString>;
|
|
19
19
|
}, zod_v4_core0.$strip>>;
|
|
20
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
20
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
21
21
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
22
22
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
23
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -29,7 +29,7 @@ declare const getAccountingSync: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
29
29
|
status: zod.ZodOptional<zod.ZodString>;
|
|
30
30
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
31
31
|
completed_at: zod.ZodOptional<zod.ZodString>;
|
|
32
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
32
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
33
33
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
34
34
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
35
35
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -48,7 +48,7 @@ declare const createAccountingSync: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
48
48
|
status: zod.ZodOptional<zod.ZodString>;
|
|
49
49
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
50
50
|
completed_at: zod.ZodOptional<zod.ZodString>;
|
|
51
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
51
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
52
52
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
53
53
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
54
54
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/accounting-sync.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { _ as rampAccountingSyncCreateInputSchema, b as rampAccountingSyncListSchema, v as rampAccountingSyncGetInputSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "./accounting-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { _ as rampAccountingSyncCreateInputSchema, b as rampAccountingSyncListSchema, v as rampAccountingSyncGetInputSchema, x as rampAccountingSyncSchema, y as rampAccountingSyncListInputSchema } from "./accounting-Ceh5QgHA.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-sync.ts
|
|
7
7
|
const listAccountingSyncs = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-accounting-syncs",
|
|
9
9
|
name: "List Accounting Syncs",
|
|
10
10
|
description: "List recent accounting sync attempts.",
|
|
11
11
|
input: rampAccountingSyncListInputSchema,
|
|
@@ -19,7 +19,7 @@ const listAccountingSyncs = rampOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const getAccountingSync = rampOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "ramp.get-accounting-sync",
|
|
23
23
|
name: "Get Accounting Sync",
|
|
24
24
|
description: "Fetch an accounting sync record by id.",
|
|
25
25
|
input: rampAccountingSyncGetInputSchema,
|
|
@@ -30,7 +30,7 @@ const getAccountingSync = rampOperation({
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
const createAccountingSync = rampOperation({
|
|
33
|
-
id: "
|
|
33
|
+
id: "ramp.create-accounting-sync",
|
|
34
34
|
name: "Create Accounting Sync",
|
|
35
35
|
description: "Kick off a new accounting sync for a given sync type (BILL, CARD_TRANSACTION, REIMBURSEMENT, TRANSFER, STATEMENT_CREDIT).",
|
|
36
36
|
input: rampAccountingSyncCreateInputSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -16,7 +16,7 @@ declare const listAccountingTrackingCategories: _keystrokehq_core0.Operation<zod
|
|
|
16
16
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
17
17
|
next: zod.ZodOptional<zod.ZodString>;
|
|
18
18
|
}, zod_v4_core0.$strip>>;
|
|
19
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
19
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
20
20
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
21
21
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
22
22
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -27,7 +27,7 @@ declare const getAccountingTrackingCategory: _keystrokehq_core0.Operation<zod.Zo
|
|
|
27
27
|
id: zod.ZodString;
|
|
28
28
|
name: zod.ZodOptional<zod.ZodString>;
|
|
29
29
|
ramp_id: zod.ZodOptional<zod.ZodString>;
|
|
30
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
30
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
31
31
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
32
32
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
33
33
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { C as rampAccountingTrackingCategoryListInputSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, w as rampAccountingTrackingCategoryListSchema } from "./accounting-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { C as rampAccountingTrackingCategoryListInputSchema, S as rampAccountingTrackingCategoryGetInputSchema, T as rampAccountingTrackingCategorySchema, w as rampAccountingTrackingCategoryListSchema } from "./accounting-Ceh5QgHA.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-tracking-categories.ts
|
|
7
7
|
const listAccountingTrackingCategories = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-accounting-tracking-categories",
|
|
9
9
|
name: "List Accounting Tracking Categories",
|
|
10
10
|
description: "List tracking categories synced from the connected accounting system (e.g. QuickBooks classes).",
|
|
11
11
|
input: rampAccountingTrackingCategoryListInputSchema,
|
|
@@ -19,7 +19,7 @@ const listAccountingTrackingCategories = rampOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const getAccountingTrackingCategory = rampOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "ramp.get-accounting-tracking-category",
|
|
23
23
|
name: "Get Accounting Tracking Category",
|
|
24
24
|
description: "Fetch a tracking category by id.",
|
|
25
25
|
input: rampAccountingTrackingCategoryGetInputSchema,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -18,7 +18,7 @@ declare const listAccountingVendors: _keystrokehq_core0.Operation<zod.ZodObject<
|
|
|
18
18
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
19
19
|
next: zod.ZodOptional<zod.ZodString>;
|
|
20
20
|
}, zod_v4_core0.$strip>>;
|
|
21
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
21
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
22
22
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
23
23
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
24
24
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -31,7 +31,7 @@ declare const getAccountingVendor: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
31
31
|
external_id: zod.ZodOptional<zod.ZodString>;
|
|
32
32
|
ramp_vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
34
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
34
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
35
35
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
36
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
37
37
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -53,7 +53,7 @@ declare const uploadAccountingVendors: _keystrokehq_core0.Operation<zod.ZodObjec
|
|
|
53
53
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
54
54
|
next: zod.ZodOptional<zod.ZodString>;
|
|
55
55
|
}, zod_v4_core0.$strip>>;
|
|
56
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
56
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
57
57
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
58
58
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
59
59
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { A as rampAccountingVendorUploadInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, O as rampAccountingVendorListSchema, k as rampAccountingVendorSchema } from "./accounting-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { A as rampAccountingVendorUploadInputSchema, D as rampAccountingVendorListInputSchema, E as rampAccountingVendorGetInputSchema, O as rampAccountingVendorListSchema, k as rampAccountingVendorSchema } from "./accounting-Ceh5QgHA.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-vendors.ts
|
|
7
7
|
const listAccountingVendors = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-accounting-vendors",
|
|
9
9
|
name: "List Accounting Vendors",
|
|
10
10
|
description: "List vendors synced from the connected accounting system.",
|
|
11
11
|
input: rampAccountingVendorListInputSchema,
|
|
@@ -19,7 +19,7 @@ const listAccountingVendors = rampOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const getAccountingVendor = rampOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "ramp.get-accounting-vendor",
|
|
23
23
|
name: "Get Accounting Vendor",
|
|
24
24
|
description: "Fetch an accounting-system vendor by id.",
|
|
25
25
|
input: rampAccountingVendorGetInputSchema,
|
|
@@ -30,7 +30,7 @@ const getAccountingVendor = rampOperation({
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
const uploadAccountingVendors = rampOperation({
|
|
33
|
-
id: "
|
|
33
|
+
id: "ramp.upload-accounting-vendors",
|
|
34
34
|
name: "Upload Accounting Vendors",
|
|
35
35
|
description: "Bulk-upload vendors from the connected accounting system.",
|
|
36
36
|
input: rampAccountingVendorUploadInputSchema,
|
package/dist/applications.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as zod from "zod";
|
|
2
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
|
+
import * as zod from "zod";
|
|
3
3
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
4
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
5
|
|
|
@@ -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
|
-
DRAFT: "DRAFT";
|
|
11
10
|
APPROVED: "APPROVED";
|
|
12
11
|
CANCELED: "CANCELED";
|
|
12
|
+
DRAFT: "DRAFT";
|
|
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
|
-
DRAFT: "DRAFT";
|
|
24
23
|
APPROVED: "APPROVED";
|
|
25
24
|
CANCELED: "CANCELED";
|
|
25
|
+
DRAFT: "DRAFT";
|
|
26
26
|
DENIED: "DENIED";
|
|
27
27
|
}>>;
|
|
28
28
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
@@ -31,7 +31,7 @@ declare const listApplications: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
31
31
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
32
32
|
next: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
}, zod_v4_core0.$strip>>;
|
|
34
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
34
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
35
35
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
36
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
37
37
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -43,14 +43,14 @@ 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
|
-
DRAFT: "DRAFT";
|
|
47
46
|
APPROVED: "APPROVED";
|
|
48
47
|
CANCELED: "CANCELED";
|
|
48
|
+
DRAFT: "DRAFT";
|
|
49
49
|
DENIED: "DENIED";
|
|
50
50
|
}>>;
|
|
51
51
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
52
52
|
application_type: zod.ZodOptional<zod.ZodString>;
|
|
53
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
53
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
54
54
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
55
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
56
56
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/applications.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { i as rampApplicationSchema, n as rampApplicationListInputSchema, r as rampApplicationListSchema, t as rampApplicationGetInputSchema } from "./new-resources-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { i as rampApplicationSchema, n as rampApplicationListInputSchema, r as rampApplicationListSchema, t as rampApplicationGetInputSchema } from "./new-resources-Cj_YECLc.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-hiMPmrYD.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-3DudrK5L.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/applications.ts
|
|
7
7
|
const listApplications = rampOperation({
|
|
8
|
-
id: "
|
|
8
|
+
id: "ramp.list-applications",
|
|
9
9
|
name: "List Applications",
|
|
10
10
|
description: "List Ramp user applications (access/role requests). Supports status filter.",
|
|
11
11
|
input: rampApplicationListInputSchema,
|
|
@@ -20,7 +20,7 @@ const listApplications = rampOperation({
|
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
const getApplication = rampOperation({
|
|
23
|
-
id: "
|
|
23
|
+
id: "ramp.get-application",
|
|
24
24
|
name: "Get Application",
|
|
25
25
|
description: "Fetch an application by id.",
|
|
26
26
|
input: rampApplicationGetInputSchema,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema, r as rampDateRangeInputSchema } from "./common-Dune7BHS.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/bills.ts
|