@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
package/dist/memos.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/memos.d.ts
|
|
@@ -22,9 +21,7 @@ declare const listMemos: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
21
|
}, zod_v4_core0.$strip>>;
|
|
23
22
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
24
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
25
|
-
}, zod_v4_core0.$strip
|
|
26
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
28
25
|
declare const getMemo: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
29
26
|
memoId: zod.ZodString;
|
|
30
27
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -35,8 +32,6 @@ declare const getMemo: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
35
32
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
36
33
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
37
34
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
38
|
-
}, zod_v4_core0.$strip
|
|
39
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
40
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
35
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
41
36
|
//#endregion
|
|
42
37
|
export { getMemo, listMemos };
|
package/dist/memos.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { C as rampMemoGetInputSchema, E as rampMemoSchema, T as rampMemoListSchema, w as rampMemoListInputSchema } from "./organization-BSaEpvBn.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/memos.ts
|
|
@@ -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/purchase-orders.d.ts
|
|
7
6
|
declare const listPurchaseOrders: _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
|
CLOSED: "CLOSED";
|
|
15
14
|
}>>;
|
|
16
15
|
vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -22,10 +21,10 @@ declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
21
|
number: zod.ZodOptional<zod.ZodString>;
|
|
23
22
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
24
23
|
PENDING: "PENDING";
|
|
24
|
+
DRAFT: "DRAFT";
|
|
25
25
|
APPROVED: "APPROVED";
|
|
26
|
-
DENIED: "DENIED";
|
|
27
26
|
CANCELED: "CANCELED";
|
|
28
|
-
|
|
27
|
+
DENIED: "DENIED";
|
|
29
28
|
CLOSED: "CLOSED";
|
|
30
29
|
}>>;
|
|
31
30
|
vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -42,9 +41,7 @@ declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
42
41
|
}, zod_v4_core0.$strip>>;
|
|
43
42
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
44
43
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
45
|
-
}, zod_v4_core0.$strip
|
|
46
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
47
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
44
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
48
45
|
declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
49
46
|
purchaseOrderId: zod.ZodString;
|
|
50
47
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -52,10 +49,10 @@ declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
52
49
|
number: zod.ZodOptional<zod.ZodString>;
|
|
53
50
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
54
51
|
PENDING: "PENDING";
|
|
52
|
+
DRAFT: "DRAFT";
|
|
55
53
|
APPROVED: "APPROVED";
|
|
56
|
-
DENIED: "DENIED";
|
|
57
54
|
CANCELED: "CANCELED";
|
|
58
|
-
|
|
55
|
+
DENIED: "DENIED";
|
|
59
56
|
CLOSED: "CLOSED";
|
|
60
57
|
}>>;
|
|
61
58
|
vendor_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -68,8 +65,6 @@ declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
68
65
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
69
66
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
70
67
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
71
|
-
}, zod_v4_core0.$strip
|
|
72
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
73
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
68
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
74
69
|
//#endregion
|
|
75
70
|
export { getPurchaseOrder, listPurchaseOrders };
|
package/dist/purchase-orders.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampPurchaseOrderListSchema, l as rampPurchaseOrderSchema, o as rampPurchaseOrderGetInputSchema, s as rampPurchaseOrderListInputSchema } from "./new-resources-BBJsJEjT.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/purchase-orders.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/receipt-integrations.d.ts
|
|
@@ -13,9 +12,7 @@ declare const optInReceiptIntegration: _keystrokehq_core0.Operation<zod.ZodObjec
|
|
|
13
12
|
opted_in: zod.ZodOptional<zod.ZodBoolean>;
|
|
14
13
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
15
14
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
16
|
-
}, zod_v4_core0.$strip
|
|
17
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
18
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
15
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
19
16
|
declare const optOutReceiptIntegration: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
20
17
|
business_id: zod.ZodString;
|
|
21
18
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -24,8 +21,6 @@ declare const optOutReceiptIntegration: _keystrokehq_core0.Operation<zod.ZodObje
|
|
|
24
21
|
opted_in: zod.ZodOptional<zod.ZodBoolean>;
|
|
25
22
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
26
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip
|
|
28
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
29
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
30
25
|
//#endregion
|
|
31
26
|
export { optInReceiptIntegration, optOutReceiptIntegration };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampReceiptIntegrationOptedInSchema, n as rampReceiptIntegrationOptInInputSchema, r as rampReceiptIntegrationOptOutInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/receipt-integrations.ts
|
|
6
6
|
const optInReceiptIntegration = rampOperation({
|
package/dist/receipts.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/receipts.d.ts
|
|
@@ -24,9 +23,7 @@ declare const listReceipts: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
24
23
|
}, zod_v4_core0.$strip>>;
|
|
25
24
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
26
25
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip
|
|
28
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
29
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
30
27
|
declare const getReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
31
28
|
receiptId: zod.ZodString;
|
|
32
29
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -37,9 +34,7 @@ declare const getReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
37
34
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
38
35
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
39
36
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
40
|
-
}, zod_v4_core0.$strip
|
|
41
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
42
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
37
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
43
38
|
declare const uploadReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
44
39
|
user_id: zod.ZodString;
|
|
45
40
|
transaction_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -55,8 +50,6 @@ declare const uploadReceipt: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
55
50
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
56
51
|
}, zod_v4_core0.$loose>, 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 { getReceipt, listReceipts, uploadReceipt };
|
package/dist/receipts.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampReceiptListInputSchema, c as rampReceiptUploadInputSchema, o as rampReceiptListSchema, s as rampReceiptSchema, t as rampReceiptGetInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/receipts.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/reimbursements.d.ts
|
|
@@ -8,11 +7,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
7
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
9
8
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
10
9
|
PENDING: "PENDING";
|
|
10
|
+
DRAFT: "DRAFT";
|
|
11
11
|
APPROVED: "APPROVED";
|
|
12
|
-
CANCELED: "CANCELED";
|
|
13
12
|
REJECTED: "REJECTED";
|
|
14
13
|
PAID: "PAID";
|
|
15
|
-
|
|
14
|
+
CANCELED: "CANCELED";
|
|
16
15
|
}>>;
|
|
17
16
|
pageSize: zod.ZodOptional<zod.ZodNumber>;
|
|
18
17
|
cursor: zod.ZodOptional<zod.ZodString>;
|
|
@@ -32,11 +31,11 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
32
31
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
33
32
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
34
33
|
PENDING: "PENDING";
|
|
34
|
+
DRAFT: "DRAFT";
|
|
35
35
|
APPROVED: "APPROVED";
|
|
36
|
-
CANCELED: "CANCELED";
|
|
37
36
|
REJECTED: "REJECTED";
|
|
38
37
|
PAID: "PAID";
|
|
39
|
-
|
|
38
|
+
CANCELED: "CANCELED";
|
|
40
39
|
}>>;
|
|
41
40
|
receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
42
41
|
accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -50,9 +49,7 @@ declare const listReimbursements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
50
49
|
}, zod_v4_core0.$strip>>;
|
|
51
50
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
52
51
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
53
|
-
}, zod_v4_core0.$strip
|
|
54
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
55
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
52
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
56
53
|
declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
57
54
|
reimbursementId: zod.ZodString;
|
|
58
55
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -68,11 +65,11 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
68
65
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
69
66
|
state: zod.ZodOptional<zod.ZodEnum<{
|
|
70
67
|
PENDING: "PENDING";
|
|
68
|
+
DRAFT: "DRAFT";
|
|
71
69
|
APPROVED: "APPROVED";
|
|
72
|
-
CANCELED: "CANCELED";
|
|
73
70
|
REJECTED: "REJECTED";
|
|
74
71
|
PAID: "PAID";
|
|
75
|
-
|
|
72
|
+
CANCELED: "CANCELED";
|
|
76
73
|
}>>;
|
|
77
74
|
receipts: zod.ZodOptional<zod.ZodArray<zod.ZodString>>;
|
|
78
75
|
accounting_categories: zod.ZodOptional<zod.ZodArray<zod.ZodObject<{
|
|
@@ -82,8 +79,6 @@ declare const getReimbursement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
82
79
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
83
80
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
84
81
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
85
|
-
}, zod_v4_core0.$strip
|
|
86
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
87
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
82
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
88
83
|
//#endregion
|
|
89
84
|
export { getReimbursement, listReimbursements };
|
package/dist/reimbursements.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampReimbursementSchema, n as rampReimbursementListInputSchema, r as rampReimbursementListSchema, t as rampReimbursementGetInputSchema } from "./reimbursements-OknrZUMF.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/reimbursements.ts
|
package/dist/schemas/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as rampErrorPayloadSchema, n as RampErrorPayload, r as rampErrorKindSchema, t as RampErrorKind } from "../errors-CIJf9-v0.mjs";
|
|
2
2
|
import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, i as RampWebhookChallenge, l as rampWebhookObjectSchema, n as RAMP_WEBHOOK_SIGNATURE_HEADER, o as rampDocumentedWebhookEventTypeSchema, r as RampDocumentedWebhookEventType, s as rampWebhookChallengeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "../webhook-Bp38YQE9.mjs";
|
|
3
|
-
import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-
|
|
3
|
+
import { $ as RampPurchaseOrder, A as RampTransfer, At as rampSpendRequestCommentCreateInputSchema, B as RampTransaction, Bt as rampBillCreateInputSchema, C as rampUserListInputSchema, Ct as rampEntityListInputSchema, D as rampUserStatusSchema, Dt as rampSpendProgramListInputSchema, E as rampUserSchema, Et as rampSpendProgramGetInputSchema, F as rampTransferGetInputSchema, Ft as rampSpendRequestSchema, G as rampTransactionStateSchema, Gt as rampBillRejectInputSchema, H as rampTransactionListInputSchema, Ht as rampBillLineItemSchema, I as rampTransferListInputSchema, It as rampSpendRequestStatusSchema, J as rampReimbursementListInputSchema, Jt as rampBillUpdateInputSchema, K as RampReimbursement, Kt as rampBillSchema, L as rampTransferListSchema, Lt as RampBill, M as rampCashbackListInputSchema, Mt as rampSpendRequestGetInputSchema, N as rampCashbackListSchema, Nt as rampSpendRequestListInputSchema, O as rampUserUpdateInputSchema, Ot as rampSpendProgramListSchema, P as rampCashbackSchema, Pt as rampSpendRequestListSchema, Q as RampApplication, R as rampTransferSchema, Rt as rampBillApproveInputSchema, S as rampUserInviteInputSchema, St as rampEntityGetInputSchema, T as rampUserRoleSchema, Tt as rampEntitySchema, U as rampTransactionListSchema, Ut as rampBillListInputSchema, V as rampTransactionGetInputSchema, Vt as rampBillGetInputSchema, W as rampTransactionSchema, Wt as rampBillListSchema, X as rampReimbursementSchema, Y as rampReimbursementListSchema, Z as rampReimbursementStateSchema, _ as RampDeferredTask, _t as RampEntity, a as rampVendorBankAccountGetInputSchema, at as rampApplicationStatusSchema, b as rampUserDeactivateInputSchema, bt as RampSpendRequestComment, c as rampVendorBankAccountSchema, ct as rampPurchaseOrderListSchema, d as rampVendorDeleteInputSchema, dt as rampUnifiedRequestGetInputSchema, et as RampUnifiedRequest, f as rampVendorGetInputSchema, ft as rampUnifiedRequestListInputSchema, g as rampVendorUpdateInputSchema, gt as RampBusiness, h as rampVendorSchema, ht as rampUnifiedRequestStatusSchema, i as rampVendorBankAccountDeleteInputSchema, it as rampApplicationSchema, j as rampCashbackGetInputSchema, jt as rampSpendRequestCommentSchema, k as RampCashback, kt as rampSpendProgramSchema, l as rampVendorBankAccountUpdateInputSchema, lt as rampPurchaseOrderSchema, m as rampVendorListSchema, mt as rampUnifiedRequestSchema, n as RampVendorBankAccount, nt as rampApplicationListInputSchema, o as rampVendorBankAccountListInputSchema, ot as rampPurchaseOrderGetInputSchema, p as rampVendorListInputSchema, pt as rampUnifiedRequestListSchema, q as rampReimbursementGetInputSchema, qt as rampBillStatusSchema, r as rampVendorBankAccountCreateInputSchema, rt as rampApplicationListSchema, s as rampVendorBankAccountListSchema, st as rampPurchaseOrderListInputSchema, t as RampVendor, tt as rampApplicationGetInputSchema, u as rampVendorCreateInputSchema, ut as rampPurchaseOrderStatusSchema, v as RampUser, vt as RampSpendProgram, w as rampUserListSchema, wt as rampEntityListSchema, x as rampUserGetInputSchema, xt as rampBusinessSchema, y as rampDeferredTaskSchema, yt as RampSpendRequest, z as rampTransferStatusSchema, zt as rampBillCancelInputSchema } from "../vendors-gH-w9b_R.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/schemas/accounting.d.ts
|
|
@@ -614,9 +614,9 @@ declare const rampLimitIntervalSchema: z.ZodEnum<{
|
|
|
614
614
|
DAILY: "DAILY";
|
|
615
615
|
WEEKLY: "WEEKLY";
|
|
616
616
|
MONTHLY: "MONTHLY";
|
|
617
|
-
QUARTERLY: "QUARTERLY";
|
|
618
617
|
YEARLY: "YEARLY";
|
|
619
618
|
TOTAL: "TOTAL";
|
|
619
|
+
QUARTERLY: "QUARTERLY";
|
|
620
620
|
}>;
|
|
621
621
|
declare const rampLimitSchema: z.ZodObject<{
|
|
622
622
|
id: z.ZodString;
|
|
@@ -631,9 +631,9 @@ declare const rampLimitSchema: z.ZodObject<{
|
|
|
631
631
|
DAILY: "DAILY";
|
|
632
632
|
WEEKLY: "WEEKLY";
|
|
633
633
|
MONTHLY: "MONTHLY";
|
|
634
|
-
QUARTERLY: "QUARTERLY";
|
|
635
634
|
YEARLY: "YEARLY";
|
|
636
635
|
TOTAL: "TOTAL";
|
|
636
|
+
QUARTERLY: "QUARTERLY";
|
|
637
637
|
}>>;
|
|
638
638
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
639
639
|
}, z.core.$loose>>;
|
|
@@ -665,9 +665,9 @@ declare const rampLimitListSchema: z.ZodObject<{
|
|
|
665
665
|
DAILY: "DAILY";
|
|
666
666
|
WEEKLY: "WEEKLY";
|
|
667
667
|
MONTHLY: "MONTHLY";
|
|
668
|
-
QUARTERLY: "QUARTERLY";
|
|
669
668
|
YEARLY: "YEARLY";
|
|
670
669
|
TOTAL: "TOTAL";
|
|
670
|
+
QUARTERLY: "QUARTERLY";
|
|
671
671
|
}>>;
|
|
672
672
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
673
673
|
}, z.core.$loose>>;
|
|
@@ -695,9 +695,9 @@ declare const rampLimitCreateInputSchema: z.ZodObject<{
|
|
|
695
695
|
DAILY: "DAILY";
|
|
696
696
|
WEEKLY: "WEEKLY";
|
|
697
697
|
MONTHLY: "MONTHLY";
|
|
698
|
-
QUARTERLY: "QUARTERLY";
|
|
699
698
|
YEARLY: "YEARLY";
|
|
700
699
|
TOTAL: "TOTAL";
|
|
700
|
+
QUARTERLY: "QUARTERLY";
|
|
701
701
|
}>;
|
|
702
702
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
703
703
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -713,9 +713,9 @@ declare const rampLimitUpdateInputSchema: z.ZodObject<{
|
|
|
713
713
|
DAILY: "DAILY";
|
|
714
714
|
WEEKLY: "WEEKLY";
|
|
715
715
|
MONTHLY: "MONTHLY";
|
|
716
|
-
QUARTERLY: "QUARTERLY";
|
|
717
716
|
YEARLY: "YEARLY";
|
|
718
717
|
TOTAL: "TOTAL";
|
|
718
|
+
QUARTERLY: "QUARTERLY";
|
|
719
719
|
}>>;
|
|
720
720
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
721
721
|
}, z.core.$strip>>;
|
|
@@ -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/spend-programs.d.ts
|
|
@@ -24,9 +23,7 @@ declare const listSpendPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
24
23
|
}, zod_v4_core0.$strip>>;
|
|
25
24
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
26
25
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip
|
|
28
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
29
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
30
27
|
declare const getSpendProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
31
28
|
spendProgramId: zod.ZodString;
|
|
32
29
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -41,8 +38,6 @@ declare const getSpendProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
41
38
|
}, zod_v4_core0.$loose>>;
|
|
42
39
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
43
40
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
44
|
-
}, zod_v4_core0.$strip
|
|
45
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
46
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
41
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
47
42
|
//#endregion
|
|
48
43
|
export { getSpendProgram, listSpendPrograms };
|
package/dist/spend-programs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/spend-programs.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/spend-requests.d.ts
|
|
@@ -8,8 +7,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
7
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
8
|
PENDING: "PENDING";
|
|
10
9
|
APPROVED: "APPROVED";
|
|
11
|
-
DENIED: "DENIED";
|
|
12
10
|
CANCELED: "CANCELED";
|
|
11
|
+
DENIED: "DENIED";
|
|
13
12
|
FULFILLED: "FULFILLED";
|
|
14
13
|
}>>;
|
|
15
14
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -22,8 +21,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
21
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
23
22
|
PENDING: "PENDING";
|
|
24
23
|
APPROVED: "APPROVED";
|
|
25
|
-
DENIED: "DENIED";
|
|
26
24
|
CANCELED: "CANCELED";
|
|
25
|
+
DENIED: "DENIED";
|
|
27
26
|
FULFILLED: "FULFILLED";
|
|
28
27
|
}>>;
|
|
29
28
|
justification: zod.ZodOptional<zod.ZodString>;
|
|
@@ -44,9 +43,7 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
44
43
|
}, zod_v4_core0.$strip>>;
|
|
45
44
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
46
45
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
47
|
-
}, zod_v4_core0.$strip
|
|
48
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
49
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
46
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
50
47
|
declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
51
48
|
spendRequestId: zod.ZodString;
|
|
52
49
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -55,8 +52,8 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
55
52
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
56
53
|
PENDING: "PENDING";
|
|
57
54
|
APPROVED: "APPROVED";
|
|
58
|
-
DENIED: "DENIED";
|
|
59
55
|
CANCELED: "CANCELED";
|
|
56
|
+
DENIED: "DENIED";
|
|
60
57
|
FULFILLED: "FULFILLED";
|
|
61
58
|
}>>;
|
|
62
59
|
justification: zod.ZodOptional<zod.ZodString>;
|
|
@@ -73,9 +70,7 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
73
70
|
}, zod_v4_core0.$loose>>;
|
|
74
71
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
75
72
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
76
|
-
}, zod_v4_core0.$strip
|
|
77
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
78
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
73
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
79
74
|
declare const commentOnSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
80
75
|
spendRequestId: zod.ZodString;
|
|
81
76
|
body: zod.ZodString;
|
|
@@ -88,8 +83,6 @@ declare const commentOnSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<
|
|
|
88
83
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
89
84
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
90
85
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
91
|
-
}, zod_v4_core0.$strip
|
|
92
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
93
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
86
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
94
87
|
//#endregion
|
|
95
88
|
export { commentOnSpendRequest, getSpendRequest, listSpendRequests };
|
package/dist/spend-requests.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/spend-requests.ts
|
package/dist/statements.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/statements.d.ts
|
|
@@ -22,9 +21,7 @@ declare const listStatements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
21
|
}, zod_v4_core0.$strip>>;
|
|
23
22
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
24
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
25
|
-
}, zod_v4_core0.$strip
|
|
26
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
24
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
28
25
|
declare const getStatement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
29
26
|
statementId: zod.ZodString;
|
|
30
27
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -34,8 +31,6 @@ declare const getStatement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
34
31
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
35
32
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
36
33
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
37
|
-
}, zod_v4_core0.$strip
|
|
38
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
39
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
34
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
40
35
|
//#endregion
|
|
41
36
|
export { getStatement, listStatements };
|
package/dist/statements.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/statements.ts
|
package/dist/transactions.d.mts
CHANGED
|
@@ -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/transactions.d.ts
|
|
6
5
|
declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -12,13 +11,13 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
12
11
|
user_id: z.ZodOptional<z.ZodString>;
|
|
13
12
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
14
13
|
state: z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
PENDING: "PENDING";
|
|
16
|
-
PROCESSING: "PROCESSING";
|
|
17
14
|
CLEARED: "CLEARED";
|
|
18
15
|
COMPLETION: "COMPLETION";
|
|
19
16
|
DECLINED: "DECLINED";
|
|
20
17
|
ERROR: "ERROR";
|
|
18
|
+
PENDING: "PENDING";
|
|
21
19
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
20
|
+
PROCESSING: "PROCESSING";
|
|
22
21
|
}>>;
|
|
23
22
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
24
23
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -49,13 +48,13 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
49
48
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
50
49
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
51
50
|
state: z.ZodOptional<z.ZodEnum<{
|
|
52
|
-
PENDING: "PENDING";
|
|
53
|
-
PROCESSING: "PROCESSING";
|
|
54
51
|
CLEARED: "CLEARED";
|
|
55
52
|
COMPLETION: "COMPLETION";
|
|
56
53
|
DECLINED: "DECLINED";
|
|
57
54
|
ERROR: "ERROR";
|
|
55
|
+
PENDING: "PENDING";
|
|
58
56
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
57
|
+
PROCESSING: "PROCESSING";
|
|
59
58
|
}>>;
|
|
60
59
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
61
60
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -69,9 +68,7 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
69
68
|
}, z.core.$strip>>;
|
|
70
69
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
71
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
72
|
-
}, z.core.$strip
|
|
73
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
75
72
|
declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
76
73
|
transactionId: z.ZodString;
|
|
77
74
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -92,13 +89,13 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
92
89
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
93
90
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
94
91
|
state: z.ZodOptional<z.ZodEnum<{
|
|
95
|
-
PENDING: "PENDING";
|
|
96
|
-
PROCESSING: "PROCESSING";
|
|
97
92
|
CLEARED: "CLEARED";
|
|
98
93
|
COMPLETION: "COMPLETION";
|
|
99
94
|
DECLINED: "DECLINED";
|
|
100
95
|
ERROR: "ERROR";
|
|
96
|
+
PENDING: "PENDING";
|
|
101
97
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
98
|
+
PROCESSING: "PROCESSING";
|
|
102
99
|
}>>;
|
|
103
100
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
104
101
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -108,9 +105,7 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
108
105
|
}, z.core.$strip>>;
|
|
109
106
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
110
107
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
111
|
-
}, z.core.$strip
|
|
112
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
113
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
108
|
+
}, z.core.$strip>>], undefined>;
|
|
114
109
|
declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
115
110
|
department_id: z.ZodOptional<z.ZodString>;
|
|
116
111
|
location_id: z.ZodOptional<z.ZodString>;
|
|
@@ -120,13 +115,13 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
120
115
|
user_id: z.ZodOptional<z.ZodString>;
|
|
121
116
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
122
117
|
state: z.ZodOptional<z.ZodEnum<{
|
|
123
|
-
PENDING: "PENDING";
|
|
124
|
-
PROCESSING: "PROCESSING";
|
|
125
118
|
CLEARED: "CLEARED";
|
|
126
119
|
COMPLETION: "COMPLETION";
|
|
127
120
|
DECLINED: "DECLINED";
|
|
128
121
|
ERROR: "ERROR";
|
|
122
|
+
PENDING: "PENDING";
|
|
129
123
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
124
|
+
PROCESSING: "PROCESSING";
|
|
130
125
|
}>>;
|
|
131
126
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
132
127
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -157,13 +152,13 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
157
152
|
user_transaction_time: z.ZodOptional<z.ZodString>;
|
|
158
153
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
159
154
|
state: z.ZodOptional<z.ZodEnum<{
|
|
160
|
-
PENDING: "PENDING";
|
|
161
|
-
PROCESSING: "PROCESSING";
|
|
162
155
|
CLEARED: "CLEARED";
|
|
163
156
|
COMPLETION: "COMPLETION";
|
|
164
157
|
DECLINED: "DECLINED";
|
|
165
158
|
ERROR: "ERROR";
|
|
159
|
+
PENDING: "PENDING";
|
|
166
160
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
161
|
+
PROCESSING: "PROCESSING";
|
|
167
162
|
}>>;
|
|
168
163
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
169
164
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -174,8 +169,6 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
174
169
|
}, z.core.$loose>>;
|
|
175
170
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
176
171
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
177
|
-
}, z.core.$strip
|
|
178
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
179
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
172
|
+
}, z.core.$strip>>], undefined>;
|
|
180
173
|
//#endregion
|
|
181
174
|
export { getTransaction, listAllTransactions, listTransactions };
|
package/dist/transactions.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "./transactions-Djd0oIGK.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|