@keystrokehq/ramp 0.0.8 → 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 +2 -7
- package/dist/_official/index.mjs +1 -1
- package/dist/accounting-fields.d.mts +7 -22
- package/dist/accounting-fields.mjs +1 -1
- package/dist/accounting-gl-accounts.d.mts +3 -10
- package/dist/accounting-gl-accounts.mjs +1 -1
- package/dist/accounting-subsidiaries.d.mts +3 -10
- package/dist/accounting-subsidiaries.mjs +1 -1
- package/dist/accounting-sync.d.mts +3 -10
- package/dist/accounting-sync.mjs +1 -1
- package/dist/accounting-tracking-categories.d.mts +2 -7
- package/dist/accounting-tracking-categories.mjs +1 -1
- package/dist/accounting-vendors.d.mts +3 -10
- package/dist/accounting-vendors.mjs +1 -1
- package/dist/applications.d.mts +8 -13
- package/dist/applications.mjs +1 -1
- package/dist/bills.d.mts +31 -46
- package/dist/bills.mjs +1 -1
- package/dist/business.d.mts +1 -4
- package/dist/business.mjs +1 -1
- package/dist/card-programs.d.mts +3 -10
- package/dist/card-programs.mjs +1 -1
- package/dist/cards.d.mts +9 -28
- package/dist/cards.mjs +1 -1
- package/dist/cashbacks.d.mts +2 -7
- package/dist/cashbacks.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +1 -1
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.d.mts +5 -16
- package/dist/departments.mjs +1 -1
- package/dist/entities.d.mts +2 -7
- package/dist/entities.mjs +1 -1
- package/dist/{factory-pbmCYnqr.mjs → factory-buRnGG7Q.mjs} +1 -1
- package/dist/{integration-8czEQ_pK.mjs → integration-BhMk85GK.mjs} +3 -11
- package/dist/{integration-D6jpX1pZ.d.mts → integration-DJ7sYLA2.d.mts} +2 -16
- package/dist/limits.d.mts +11 -22
- package/dist/limits.mjs +1 -1
- package/dist/locations.d.mts +5 -16
- package/dist/locations.mjs +1 -1
- package/dist/memos.d.mts +2 -7
- package/dist/memos.mjs +1 -1
- package/dist/purchase-orders.d.mts +8 -13
- package/dist/purchase-orders.mjs +1 -1
- package/dist/receipt-integrations.d.mts +2 -7
- package/dist/receipt-integrations.mjs +1 -1
- package/dist/receipts.d.mts +3 -10
- package/dist/receipts.mjs +1 -1
- package/dist/reimbursements.d.mts +8 -13
- package/dist/reimbursements.mjs +1 -1
- package/dist/schemas/index.d.mts +6 -6
- package/dist/spend-programs.d.mts +2 -7
- package/dist/spend-programs.mjs +1 -1
- package/dist/spend-requests.d.mts +6 -13
- package/dist/spend-requests.mjs +1 -1
- package/dist/statements.d.mts +2 -7
- package/dist/statements.mjs +1 -1
- package/dist/transactions.d.mts +13 -20
- package/dist/transactions.mjs +1 -1
- package/dist/transfers.d.mts +8 -13
- package/dist/transfers.mjs +1 -1
- package/dist/triggers/index.d.mts +2 -2
- package/dist/triggers/index.mjs +1 -1
- package/dist/unified-requests.d.mts +5 -10
- package/dist/unified-requests.mjs +1 -1
- package/dist/users.d.mts +6 -19
- package/dist/users.mjs +1 -1
- package/dist/vendor-bank-accounts.d.mts +5 -16
- package/dist/vendor-bank-accounts.mjs +1 -1
- package/dist/{vendors-oZvKUHvt.d.mts → vendors-gH-w9b_R.d.mts} +60 -60
- package/dist/vendors.d.mts +5 -16
- package/dist/vendors.mjs +1 -1
- package/dist/webhooks.d.mts +5 -16
- package/dist/webhooks.mjs +1 -1
- package/package.json +4 -4
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as rampBundle, i as ramp, o as rampOfficialIntegration } from "../integration-
|
|
1
|
+
import { a as rampBundle, i as ramp, o as rampOfficialIntegration } from "../integration-DJ7sYLA2.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import { CredentialSet } from "@keystrokehq/core";
|
|
4
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
5
4
|
|
|
6
5
|
//#region src/_official/provider-app.d.ts
|
|
7
6
|
/**
|
|
@@ -18,11 +17,7 @@ declare const rampAppCredentialSet: CredentialSet<"keystroke:ramp-app", z.ZodObj
|
|
|
18
17
|
clientId: z.ZodString;
|
|
19
18
|
clientSecret: z.ZodString;
|
|
20
19
|
webhookSecret: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$strip
|
|
22
|
-
clientId: z.ZodString;
|
|
23
|
-
clientSecret: z.ZodString;
|
|
24
|
-
webhookSecret: z.ZodOptional<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>>[] | undefined>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
26
21
|
declare const rampOfficialProviderSeed: {
|
|
27
22
|
readonly provider: "ramp";
|
|
28
23
|
readonly appRef: "ramp-platform";
|
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-BhMk85GK.mjs";
|
|
2
2
|
|
|
3
3
|
export { ramp, rampAppCredentialSet, rampBundle, rampOfficialIntegration, rampOfficialProviderSeed };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
|
|
5
4
|
//#region src/accounting-fields.d.ts
|
|
6
5
|
declare const listAccountingFields: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -18,9 +17,7 @@ declare const listAccountingFields: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
18
17
|
}, z.core.$strip>>;
|
|
19
18
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
20
19
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
21
|
-
}, z.core.$strip
|
|
22
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
23
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
20
|
+
}, z.core.$strip>>], undefined>;
|
|
24
21
|
declare const getAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
25
22
|
fieldId: z.ZodString;
|
|
26
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -30,9 +27,7 @@ declare const getAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
30
27
|
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
31
28
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
32
29
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
33
|
-
}, z.core.$strip
|
|
34
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
30
|
+
}, z.core.$strip>>], undefined>;
|
|
36
31
|
declare const createAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
37
32
|
name: z.ZodString;
|
|
38
33
|
field_type: z.ZodString;
|
|
@@ -45,9 +40,7 @@ declare const createAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
45
40
|
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
46
41
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
47
42
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
48
|
-
}, z.core.$strip
|
|
49
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
43
|
+
}, z.core.$strip>>], undefined>;
|
|
51
44
|
declare const updateAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
52
45
|
fieldId: z.ZodString;
|
|
53
46
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -59,18 +52,14 @@ declare const updateAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
59
52
|
is_splittable: z.ZodOptional<z.ZodBoolean>;
|
|
60
53
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
61
54
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
62
|
-
}, z.core.$strip
|
|
63
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
64
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
55
|
+
}, z.core.$strip>>], undefined>;
|
|
65
56
|
declare const deleteAccountingField: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
66
57
|
fieldId: z.ZodString;
|
|
67
58
|
}, z.core.$strip>, z.ZodObject<{
|
|
68
59
|
success: z.ZodBoolean;
|
|
69
60
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
70
61
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
71
|
-
}, z.core.$strip
|
|
72
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
73
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
62
|
+
}, z.core.$strip>>], undefined>;
|
|
74
63
|
declare const listAccountingFieldOptions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
75
64
|
field_id: z.ZodString;
|
|
76
65
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -87,9 +76,7 @@ declare const listAccountingFieldOptions: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
87
76
|
}, z.core.$strip>>;
|
|
88
77
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
89
78
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
90
|
-
}, z.core.$strip
|
|
91
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
92
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
79
|
+
}, z.core.$strip>>], undefined>;
|
|
93
80
|
declare const uploadAccountingFieldOptions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
94
81
|
field_id: z.ZodString;
|
|
95
82
|
options: z.ZodArray<z.ZodObject<{
|
|
@@ -109,8 +96,6 @@ declare const uploadAccountingFieldOptions: _keystrokehq_core0.Operation<z.ZodOb
|
|
|
109
96
|
}, z.core.$strip>>;
|
|
110
97
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
111
98
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
112
|
-
}, z.core.$strip
|
|
113
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
114
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
99
|
+
}, z.core.$strip>>], undefined>;
|
|
115
100
|
//#endregion
|
|
116
101
|
export { createAccountingField, deleteAccountingField, getAccountingField, listAccountingFieldOptions, listAccountingFields, updateAccountingField, uploadAccountingFieldOptions };
|
|
@@ -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-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/accounting-gl-accounts.d.ts
|
|
@@ -20,9 +19,7 @@ declare const listGlAccounts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
20
19
|
}, zod_v4_core0.$strip>>;
|
|
21
20
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
22
21
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
23
|
-
}, zod_v4_core0.$strip
|
|
24
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
25
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
22
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
26
23
|
declare const getGlAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
27
24
|
glAccountId: zod.ZodString;
|
|
28
25
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -33,9 +30,7 @@ declare const getGlAccount: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
30
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
34
31
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
35
32
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
|
-
}, zod_v4_core0.$strip
|
|
37
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
38
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
33
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
39
34
|
declare const uploadGlAccounts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
40
35
|
gl_accounts: zod.ZodArray<zod.ZodObject<{
|
|
41
36
|
name: zod.ZodString;
|
|
@@ -56,8 +51,6 @@ declare const uploadGlAccounts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
56
51
|
}, zod_v4_core0.$strip>>;
|
|
57
52
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
58
53
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
59
|
-
}, zod_v4_core0.$strip
|
|
60
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
61
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
54
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
62
55
|
//#endregion
|
|
63
56
|
export { getGlAccount, listGlAccounts, uploadGlAccounts };
|
|
@@ -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-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-gl-accounts.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/accounting-subsidiaries.d.ts
|
|
@@ -19,9 +18,7 @@ declare const listAccountingSubsidiaries: _keystrokehq_core0.Operation<zod.ZodOb
|
|
|
19
18
|
}, zod_v4_core0.$strip>>;
|
|
20
19
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
21
20
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
22
|
-
}, zod_v4_core0.$strip
|
|
23
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
24
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
21
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
25
22
|
declare const getAccountingSubsidiary: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
26
23
|
subsidiaryId: zod.ZodString;
|
|
27
24
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -31,9 +28,7 @@ declare const getAccountingSubsidiary: _keystrokehq_core0.Operation<zod.ZodObjec
|
|
|
31
28
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
32
29
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
33
30
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
34
|
-
}, zod_v4_core0.$strip
|
|
35
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
31
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
37
32
|
declare const uploadAccountingSubsidiaries: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
38
33
|
subsidiaries: zod.ZodArray<zod.ZodObject<{
|
|
39
34
|
name: zod.ZodString;
|
|
@@ -52,8 +47,6 @@ declare const uploadAccountingSubsidiaries: _keystrokehq_core0.Operation<zod.Zod
|
|
|
52
47
|
}, zod_v4_core0.$strip>>;
|
|
53
48
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
54
49
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
|
-
}, zod_v4_core0.$strip
|
|
56
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
57
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
50
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
58
51
|
//#endregion
|
|
59
52
|
export { getAccountingSubsidiary, listAccountingSubsidiaries, uploadAccountingSubsidiaries };
|
|
@@ -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-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-subsidiaries.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/accounting-sync.d.ts
|
|
@@ -19,9 +18,7 @@ declare const listAccountingSyncs: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
19
18
|
}, zod_v4_core0.$strip>>;
|
|
20
19
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
21
20
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
22
|
-
}, zod_v4_core0.$strip
|
|
23
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
24
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
21
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
25
22
|
declare const getAccountingSync: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
26
23
|
syncId: zod.ZodString;
|
|
27
24
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -31,9 +28,7 @@ declare const getAccountingSync: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
31
28
|
completed_at: zod.ZodOptional<zod.ZodString>;
|
|
32
29
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
33
30
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
34
|
-
}, zod_v4_core0.$strip
|
|
35
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
31
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
37
32
|
declare const createAccountingSync: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
38
33
|
sync_type: zod.ZodEnum<{
|
|
39
34
|
BILL: "BILL";
|
|
@@ -50,8 +45,6 @@ declare const createAccountingSync: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
50
45
|
completed_at: zod.ZodOptional<zod.ZodString>;
|
|
51
46
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
52
47
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
53
|
-
}, zod_v4_core0.$strip
|
|
54
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
48
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
56
49
|
//#endregion
|
|
57
50
|
export { createAccountingSync, getAccountingSync, listAccountingSyncs };
|
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-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-sync.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/accounting-tracking-categories.d.ts
|
|
@@ -18,9 +17,7 @@ declare const listAccountingTrackingCategories: _keystrokehq_core0.Operation<zod
|
|
|
18
17
|
}, zod_v4_core0.$strip>>;
|
|
19
18
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
20
19
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
21
|
-
}, zod_v4_core0.$strip
|
|
22
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
23
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
20
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
24
21
|
declare const getAccountingTrackingCategory: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
25
22
|
trackingCategoryId: zod.ZodString;
|
|
26
23
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -29,8 +26,6 @@ declare const getAccountingTrackingCategory: _keystrokehq_core0.Operation<zod.Zo
|
|
|
29
26
|
ramp_id: zod.ZodOptional<zod.ZodString>;
|
|
30
27
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
31
28
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
32
|
-
}, zod_v4_core0.$strip
|
|
33
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
34
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
29
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
35
30
|
//#endregion
|
|
36
31
|
export { getAccountingTrackingCategory, listAccountingTrackingCategories };
|
|
@@ -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-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/accounting-tracking-categories.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/accounting-vendors.d.ts
|
|
@@ -20,9 +19,7 @@ declare const listAccountingVendors: _keystrokehq_core0.Operation<zod.ZodObject<
|
|
|
20
19
|
}, zod_v4_core0.$strip>>;
|
|
21
20
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
22
21
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
23
|
-
}, zod_v4_core0.$strip
|
|
24
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
25
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
22
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
26
23
|
declare const getAccountingVendor: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
27
24
|
accountingVendorId: zod.ZodString;
|
|
28
25
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -33,9 +30,7 @@ declare const getAccountingVendor: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
30
|
active: zod.ZodOptional<zod.ZodBoolean>;
|
|
34
31
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
35
32
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
|
-
}, zod_v4_core0.$strip
|
|
37
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
38
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
33
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
39
34
|
declare const uploadAccountingVendors: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
40
35
|
vendors: zod.ZodArray<zod.ZodObject<{
|
|
41
36
|
name: zod.ZodString;
|
|
@@ -55,8 +50,6 @@ declare const uploadAccountingVendors: _keystrokehq_core0.Operation<zod.ZodObjec
|
|
|
55
50
|
}, zod_v4_core0.$strip>>;
|
|
56
51
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
57
52
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
58
|
-
}, zod_v4_core0.$strip
|
|
59
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
60
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
53
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
61
54
|
//#endregion
|
|
62
55
|
export { getAccountingVendor, listAccountingVendors, uploadAccountingVendors };
|
|
@@ -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-buRnGG7Q.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
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/applications.d.ts
|
|
7
6
|
declare const listApplications: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
8
7
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
8
|
PENDING: "PENDING";
|
|
9
|
+
DRAFT: "DRAFT";
|
|
10
10
|
APPROVED: "APPROVED";
|
|
11
|
-
DENIED: "DENIED";
|
|
12
11
|
CANCELED: "CANCELED";
|
|
13
|
-
|
|
12
|
+
DENIED: "DENIED";
|
|
14
13
|
}>>;
|
|
15
14
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
16
15
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -20,10 +19,10 @@ declare const listApplications: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
20
19
|
applicant_user_id: zod.ZodOptional<zod.ZodString>;
|
|
21
20
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
22
21
|
PENDING: "PENDING";
|
|
22
|
+
DRAFT: "DRAFT";
|
|
23
23
|
APPROVED: "APPROVED";
|
|
24
|
-
DENIED: "DENIED";
|
|
25
24
|
CANCELED: "CANCELED";
|
|
26
|
-
|
|
25
|
+
DENIED: "DENIED";
|
|
27
26
|
}>>;
|
|
28
27
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
29
28
|
application_type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -33,9 +32,7 @@ declare const listApplications: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
32
|
}, zod_v4_core0.$strip>>;
|
|
34
33
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
35
34
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
|
-
}, zod_v4_core0.$strip
|
|
37
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
38
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
35
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
39
36
|
declare const getApplication: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
40
37
|
applicationId: zod.ZodString;
|
|
41
38
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -43,17 +40,15 @@ declare const getApplication: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
43
40
|
applicant_user_id: zod.ZodOptional<zod.ZodString>;
|
|
44
41
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
45
42
|
PENDING: "PENDING";
|
|
43
|
+
DRAFT: "DRAFT";
|
|
46
44
|
APPROVED: "APPROVED";
|
|
47
|
-
DENIED: "DENIED";
|
|
48
45
|
CANCELED: "CANCELED";
|
|
49
|
-
|
|
46
|
+
DENIED: "DENIED";
|
|
50
47
|
}>>;
|
|
51
48
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
52
49
|
application_type: zod.ZodOptional<zod.ZodString>;
|
|
53
50
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
54
51
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
|
-
}, zod_v4_core0.$strip
|
|
56
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
57
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
52
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
58
53
|
//#endregion
|
|
59
54
|
export { getApplication, listApplications };
|
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-buRnGG7Q.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
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as zod from "zod";
|
|
2
2
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
3
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/bills.d.ts
|
|
@@ -8,13 +7,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
7
|
vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
9
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
10
9
|
PENDING: "PENDING";
|
|
10
|
+
OPEN: "OPEN";
|
|
11
|
+
DRAFT: "DRAFT";
|
|
11
12
|
APPROVED: "APPROVED";
|
|
12
|
-
CANCELED: "CANCELED";
|
|
13
13
|
REJECTED: "REJECTED";
|
|
14
14
|
PAID: "PAID";
|
|
15
|
-
|
|
15
|
+
CANCELED: "CANCELED";
|
|
16
16
|
FAILED: "FAILED";
|
|
17
|
-
OPEN: "OPEN";
|
|
18
17
|
SCHEDULED: "SCHEDULED";
|
|
19
18
|
}>>;
|
|
20
19
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -33,13 +32,13 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
32
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
34
33
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
35
34
|
PENDING: "PENDING";
|
|
35
|
+
OPEN: "OPEN";
|
|
36
|
+
DRAFT: "DRAFT";
|
|
36
37
|
APPROVED: "APPROVED";
|
|
37
|
-
CANCELED: "CANCELED";
|
|
38
38
|
REJECTED: "REJECTED";
|
|
39
39
|
PAID: "PAID";
|
|
40
|
-
|
|
40
|
+
CANCELED: "CANCELED";
|
|
41
41
|
FAILED: "FAILED";
|
|
42
|
-
OPEN: "OPEN";
|
|
43
42
|
SCHEDULED: "SCHEDULED";
|
|
44
43
|
}>>;
|
|
45
44
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -69,9 +68,7 @@ declare const listBills: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
69
68
|
}, zod_v4_core0.$strip>>;
|
|
70
69
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
71
70
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
72
|
-
}, zod_v4_core0.$strip
|
|
73
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
74
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
75
72
|
declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
76
73
|
billId: zod.ZodString;
|
|
77
74
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -84,13 +81,13 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
84
81
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
85
82
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
86
83
|
PENDING: "PENDING";
|
|
84
|
+
OPEN: "OPEN";
|
|
85
|
+
DRAFT: "DRAFT";
|
|
87
86
|
APPROVED: "APPROVED";
|
|
88
|
-
CANCELED: "CANCELED";
|
|
89
87
|
REJECTED: "REJECTED";
|
|
90
88
|
PAID: "PAID";
|
|
91
|
-
|
|
89
|
+
CANCELED: "CANCELED";
|
|
92
90
|
FAILED: "FAILED";
|
|
93
|
-
OPEN: "OPEN";
|
|
94
91
|
SCHEDULED: "SCHEDULED";
|
|
95
92
|
}>>;
|
|
96
93
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -116,9 +113,7 @@ declare const getBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
116
113
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
117
114
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
118
115
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
119
|
-
}, zod_v4_core0.$strip
|
|
120
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
121
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
116
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
122
117
|
declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
123
118
|
vendor_id: zod.ZodString;
|
|
124
119
|
invoice_number: zod.ZodOptional<zod.ZodString>;
|
|
@@ -147,13 +142,13 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
147
142
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
148
143
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
149
144
|
PENDING: "PENDING";
|
|
145
|
+
OPEN: "OPEN";
|
|
146
|
+
DRAFT: "DRAFT";
|
|
150
147
|
APPROVED: "APPROVED";
|
|
151
|
-
CANCELED: "CANCELED";
|
|
152
148
|
REJECTED: "REJECTED";
|
|
153
149
|
PAID: "PAID";
|
|
154
|
-
|
|
150
|
+
CANCELED: "CANCELED";
|
|
155
151
|
FAILED: "FAILED";
|
|
156
|
-
OPEN: "OPEN";
|
|
157
152
|
SCHEDULED: "SCHEDULED";
|
|
158
153
|
}>>;
|
|
159
154
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -179,9 +174,7 @@ declare const createBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
179
174
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
180
175
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
181
176
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
182
|
-
}, zod_v4_core0.$strip
|
|
183
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
184
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
177
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
185
178
|
declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
186
179
|
billId: zod.ZodString;
|
|
187
180
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
@@ -198,13 +191,13 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
198
191
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
199
192
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
200
193
|
PENDING: "PENDING";
|
|
194
|
+
OPEN: "OPEN";
|
|
195
|
+
DRAFT: "DRAFT";
|
|
201
196
|
APPROVED: "APPROVED";
|
|
202
|
-
CANCELED: "CANCELED";
|
|
203
197
|
REJECTED: "REJECTED";
|
|
204
198
|
PAID: "PAID";
|
|
205
|
-
|
|
199
|
+
CANCELED: "CANCELED";
|
|
206
200
|
FAILED: "FAILED";
|
|
207
|
-
OPEN: "OPEN";
|
|
208
201
|
SCHEDULED: "SCHEDULED";
|
|
209
202
|
}>>;
|
|
210
203
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -230,9 +223,7 @@ declare const updateBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
230
223
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
231
224
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
232
225
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
233
|
-
}, zod_v4_core0.$strip
|
|
234
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
235
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
226
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
236
227
|
declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
237
228
|
billId: zod.ZodString;
|
|
238
229
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
@@ -246,13 +237,13 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
246
237
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
247
238
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
248
239
|
PENDING: "PENDING";
|
|
240
|
+
OPEN: "OPEN";
|
|
241
|
+
DRAFT: "DRAFT";
|
|
249
242
|
APPROVED: "APPROVED";
|
|
250
|
-
CANCELED: "CANCELED";
|
|
251
243
|
REJECTED: "REJECTED";
|
|
252
244
|
PAID: "PAID";
|
|
253
|
-
|
|
245
|
+
CANCELED: "CANCELED";
|
|
254
246
|
FAILED: "FAILED";
|
|
255
|
-
OPEN: "OPEN";
|
|
256
247
|
SCHEDULED: "SCHEDULED";
|
|
257
248
|
}>>;
|
|
258
249
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -278,9 +269,7 @@ declare const approveBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
278
269
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
279
270
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
280
271
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
281
|
-
}, zod_v4_core0.$strip
|
|
282
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
283
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
272
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
284
273
|
declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
285
274
|
billId: zod.ZodString;
|
|
286
275
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
@@ -294,13 +283,13 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
294
283
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
295
284
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
296
285
|
PENDING: "PENDING";
|
|
286
|
+
OPEN: "OPEN";
|
|
287
|
+
DRAFT: "DRAFT";
|
|
297
288
|
APPROVED: "APPROVED";
|
|
298
|
-
CANCELED: "CANCELED";
|
|
299
289
|
REJECTED: "REJECTED";
|
|
300
290
|
PAID: "PAID";
|
|
301
|
-
|
|
291
|
+
CANCELED: "CANCELED";
|
|
302
292
|
FAILED: "FAILED";
|
|
303
|
-
OPEN: "OPEN";
|
|
304
293
|
SCHEDULED: "SCHEDULED";
|
|
305
294
|
}>>;
|
|
306
295
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -326,9 +315,7 @@ declare const rejectBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
326
315
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
327
316
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
328
317
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
329
|
-
}, zod_v4_core0.$strip
|
|
330
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
331
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
318
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
332
319
|
declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
333
320
|
billId: zod.ZodString;
|
|
334
321
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
@@ -342,13 +329,13 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
342
329
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
343
330
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
344
331
|
PENDING: "PENDING";
|
|
332
|
+
OPEN: "OPEN";
|
|
333
|
+
DRAFT: "DRAFT";
|
|
345
334
|
APPROVED: "APPROVED";
|
|
346
|
-
CANCELED: "CANCELED";
|
|
347
335
|
REJECTED: "REJECTED";
|
|
348
336
|
PAID: "PAID";
|
|
349
|
-
|
|
337
|
+
CANCELED: "CANCELED";
|
|
350
338
|
FAILED: "FAILED";
|
|
351
|
-
OPEN: "OPEN";
|
|
352
339
|
SCHEDULED: "SCHEDULED";
|
|
353
340
|
}>>;
|
|
354
341
|
amount: zod.ZodOptional<zod.ZodObject<{
|
|
@@ -374,8 +361,6 @@ declare const cancelBill: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
374
361
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
375
362
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
376
363
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
377
|
-
}, zod_v4_core0.$strip
|
|
378
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
379
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
364
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
380
365
|
//#endregion
|
|
381
366
|
export { approveBill, cancelBill, createBill, getBill, listBills, rejectBill, updateBill };
|
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-buRnGG7Q.mjs";
|
|
4
4
|
import { n as unmapRampMoney, t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/bills.ts
|