@keystrokehq/ramp 0.0.8 → 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 +3 -3
- package/dist/accounting-gl-accounts.d.mts +4 -4
- package/dist/accounting-gl-accounts.mjs +3 -3
- package/dist/accounting-subsidiaries.d.mts +4 -4
- package/dist/accounting-subsidiaries.mjs +3 -3
- package/dist/accounting-sync.d.mts +4 -4
- package/dist/accounting-sync.mjs +3 -3
- package/dist/accounting-tracking-categories.d.mts +3 -3
- package/dist/accounting-tracking-categories.mjs +3 -3
- package/dist/accounting-vendors.d.mts +4 -4
- package/dist/accounting-vendors.mjs +3 -3
- package/dist/applications.d.mts +6 -6
- package/dist/applications.mjs +3 -3
- package/dist/{bills-B8W9et3K.mjs → bills-D7vZ5JRH.mjs} +1 -1
- package/dist/bills.d.mts +16 -16
- package/dist/bills.mjs +3 -3
- package/dist/{business-CztnWUvt.mjs → business-DAD870OI.mjs} +1 -1
- package/dist/business.d.mts +2 -2
- package/dist/business.mjs +2 -2
- package/dist/card-programs.d.mts +4 -4
- package/dist/card-programs.mjs +3 -3
- package/dist/{cards-BfgPcR38.mjs → cards-DNZQtrd7.mjs} +1 -1
- package/dist/cards.d.mts +10 -10
- package/dist/cards.mjs +4 -4
- package/dist/cashbacks.d.mts +3 -3
- package/dist/cashbacks.mjs +3 -3
- package/dist/client.d.mts +2 -2
- package/dist/client.mjs +2 -2
- package/dist/connection.d.mts +1 -1
- package/dist/connection.mjs +1 -1
- package/dist/departments.d.mts +6 -6
- package/dist/departments.mjs +3 -3
- package/dist/dist-Bbp6t-WQ.mjs +74 -0
- package/dist/entities.d.mts +3 -3
- package/dist/entities.mjs +3 -3
- 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 +12 -12
- package/dist/limits.mjs +3 -3
- package/dist/locations.d.mts +6 -6
- package/dist/locations.mjs +3 -3
- package/dist/memos.d.mts +3 -3
- package/dist/memos.mjs +3 -3
- 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 +3 -3
- package/dist/receipt-integrations.d.mts +3 -3
- package/dist/receipt-integrations.mjs +2 -2
- package/dist/{receipts-STq41c2M.mjs → receipts-DKq5Kjhr.mjs} +1 -1
- package/dist/receipts.d.mts +4 -4
- package/dist/receipts.mjs +3 -3
- package/dist/{reimbursements-OknrZUMF.mjs → reimbursements--xBvXROu.mjs} +1 -1
- package/dist/reimbursements.d.mts +6 -6
- package/dist/reimbursements.mjs +3 -3
- package/dist/schemas/index.d.mts +8 -8
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +3 -3
- package/dist/spend-programs.mjs +3 -3
- package/dist/spend-requests.d.mts +7 -7
- package/dist/spend-requests.mjs +3 -3
- package/dist/statements.d.mts +3 -3
- package/dist/statements.mjs +3 -3
- package/dist/{transactions-Djd0oIGK.mjs → transactions-IIG8obly.mjs} +1 -1
- package/dist/transactions.d.mts +9 -9
- package/dist/transactions.mjs +3 -3
- package/dist/{transfers-WBQZVdGP.mjs → transfers-C-76qq3o.mjs} +1 -1
- package/dist/transfers.d.mts +3 -3
- package/dist/transfers.mjs +3 -3
- package/dist/triggers/index.d.mts +3 -3
- package/dist/triggers/index.mjs +11 -11
- package/dist/unified-requests.d.mts +6 -6
- package/dist/unified-requests.mjs +3 -3
- package/dist/{users-ufcXrfNK.mjs → users-Bx4SR4el.mjs} +1 -1
- package/dist/users.d.mts +7 -7
- package/dist/users.mjs +3 -3
- package/dist/vendor-bank-accounts.d.mts +6 -6
- package/dist/vendor-bank-accounts.mjs +3 -3
- package/dist/{vendors-oZvKUHvt.d.mts → vendors-De3fNIYJ.d.mts} +28 -28
- package/dist/{vendors-Bx1cgXwC.mjs → vendors-lAh0yain.mjs} +1 -1
- package/dist/vendors.d.mts +6 -6
- package/dist/vendors.mjs +3 -3
- 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 +3 -3
- package/package.json +4 -4
- /package/dist/{common-CUpmNYXw.mjs → common-Dune7BHS.mjs} +0 -0
- /package/dist/{errors-CIJf9-v0.d.mts → errors-TrirAChI.d.mts} +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,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
|
|
|
@@ -22,7 +22,7 @@ declare const listSpendPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
22
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
23
23
|
next: zod.ZodOptional<zod.ZodString>;
|
|
24
24
|
}, zod_v4_core0.$strip>>;
|
|
25
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
25
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
26
26
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
27
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
28
28
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -39,7 +39,7 @@ declare const getSpendProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
39
39
|
currency: zod.ZodOptional<zod.ZodString>;
|
|
40
40
|
interval: zod.ZodOptional<zod.ZodString>;
|
|
41
41
|
}, zod_v4_core0.$loose>>;
|
|
42
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
42
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
43
43
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
44
44
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
45
45
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/spend-programs.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { c as rampSpendProgramListSchema, l as rampSpendProgramSchema, o as rampSpendProgramGetInputSchema, s as rampSpendProgramListInputSchema } from "./business-DAD870OI.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/spend-programs.ts
|
|
7
7
|
const listSpendPrograms = rampOperation({
|
|
@@ -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
|
|
|
@@ -8,8 +8,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
9
|
PENDING: "PENDING";
|
|
10
10
|
APPROVED: "APPROVED";
|
|
11
|
-
DENIED: "DENIED";
|
|
12
11
|
CANCELED: "CANCELED";
|
|
12
|
+
DENIED: "DENIED";
|
|
13
13
|
FULFILLED: "FULFILLED";
|
|
14
14
|
}>>;
|
|
15
15
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
@@ -22,8 +22,8 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
22
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
23
23
|
PENDING: "PENDING";
|
|
24
24
|
APPROVED: "APPROVED";
|
|
25
|
-
DENIED: "DENIED";
|
|
26
25
|
CANCELED: "CANCELED";
|
|
26
|
+
DENIED: "DENIED";
|
|
27
27
|
FULFILLED: "FULFILLED";
|
|
28
28
|
}>>;
|
|
29
29
|
justification: zod.ZodOptional<zod.ZodString>;
|
|
@@ -42,7 +42,7 @@ declare const listSpendRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
42
42
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
43
43
|
next: zod.ZodOptional<zod.ZodString>;
|
|
44
44
|
}, zod_v4_core0.$strip>>;
|
|
45
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
45
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
46
46
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
47
47
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
48
48
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -55,8 +55,8 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
55
55
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
56
56
|
PENDING: "PENDING";
|
|
57
57
|
APPROVED: "APPROVED";
|
|
58
|
-
DENIED: "DENIED";
|
|
59
58
|
CANCELED: "CANCELED";
|
|
59
|
+
DENIED: "DENIED";
|
|
60
60
|
FULFILLED: "FULFILLED";
|
|
61
61
|
}>>;
|
|
62
62
|
justification: zod.ZodOptional<zod.ZodString>;
|
|
@@ -71,7 +71,7 @@ declare const getSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
71
71
|
status: zod.ZodOptional<zod.ZodString>;
|
|
72
72
|
memo: zod.ZodOptional<zod.ZodString>;
|
|
73
73
|
}, zod_v4_core0.$loose>>;
|
|
74
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
74
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
75
75
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
76
76
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
77
77
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -86,7 +86,7 @@ declare const commentOnSpendRequest: _keystrokehq_core0.Operation<zod.ZodObject<
|
|
|
86
86
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
87
87
|
body: zod.ZodOptional<zod.ZodString>;
|
|
88
88
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
89
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
89
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
90
90
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
91
91
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
92
92
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/spend-requests.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { d as rampSpendRequestCommentSchema, f as rampSpendRequestGetInputSchema, h as rampSpendRequestSchema, m as rampSpendRequestListSchema, p as rampSpendRequestListInputSchema, u as rampSpendRequestCommentCreateInputSchema } from "./business-DAD870OI.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/spend-requests.ts
|
|
7
7
|
const listSpendRequests = rampOperation({
|
package/dist/statements.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
|
|
|
@@ -20,7 +20,7 @@ declare const listStatements: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
20
20
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
21
21
|
next: zod.ZodOptional<zod.ZodString>;
|
|
22
22
|
}, zod_v4_core0.$strip>>;
|
|
23
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
23
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
24
24
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
25
25
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
26
26
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -32,7 +32,7 @@ declare const getStatement: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
32
32
|
statement_date: zod.ZodOptional<zod.ZodString>;
|
|
33
33
|
download_url: zod.ZodOptional<zod.ZodString>;
|
|
34
34
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
35
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
35
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
36
36
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
37
37
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
38
38
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/statements.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { d as rampStatementListSchema, f as rampStatementSchema, l as rampStatementGetInputSchema, u as rampStatementListInputSchema } from "./receipts-DKq5Kjhr.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/statements.ts
|
|
7
7
|
const listStatements = rampOperation({
|
|
@@ -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/transactions.ts
|
package/dist/transactions.d.mts
CHANGED
|
@@ -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/transactions.d.ts
|
|
@@ -13,12 +13,12 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
13
13
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
14
14
|
state: z.ZodOptional<z.ZodEnum<{
|
|
15
15
|
PENDING: "PENDING";
|
|
16
|
-
PROCESSING: "PROCESSING";
|
|
17
16
|
CLEARED: "CLEARED";
|
|
18
17
|
COMPLETION: "COMPLETION";
|
|
19
18
|
DECLINED: "DECLINED";
|
|
20
19
|
ERROR: "ERROR";
|
|
21
20
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
21
|
+
PROCESSING: "PROCESSING";
|
|
22
22
|
}>>;
|
|
23
23
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
24
24
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -50,12 +50,12 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
50
50
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
51
51
|
state: z.ZodOptional<z.ZodEnum<{
|
|
52
52
|
PENDING: "PENDING";
|
|
53
|
-
PROCESSING: "PROCESSING";
|
|
54
53
|
CLEARED: "CLEARED";
|
|
55
54
|
COMPLETION: "COMPLETION";
|
|
56
55
|
DECLINED: "DECLINED";
|
|
57
56
|
ERROR: "ERROR";
|
|
58
57
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
58
|
+
PROCESSING: "PROCESSING";
|
|
59
59
|
}>>;
|
|
60
60
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
61
61
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -67,7 +67,7 @@ declare const listTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
67
67
|
page: z.ZodOptional<z.ZodObject<{
|
|
68
68
|
next: z.ZodOptional<z.ZodString>;
|
|
69
69
|
}, z.core.$strip>>;
|
|
70
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
70
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
71
71
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
72
72
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
73
73
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -93,12 +93,12 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
93
93
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
94
94
|
state: z.ZodOptional<z.ZodEnum<{
|
|
95
95
|
PENDING: "PENDING";
|
|
96
|
-
PROCESSING: "PROCESSING";
|
|
97
96
|
CLEARED: "CLEARED";
|
|
98
97
|
COMPLETION: "COMPLETION";
|
|
99
98
|
DECLINED: "DECLINED";
|
|
100
99
|
ERROR: "ERROR";
|
|
101
100
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
101
|
+
PROCESSING: "PROCESSING";
|
|
102
102
|
}>>;
|
|
103
103
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
104
104
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -106,7 +106,7 @@ declare const getTransaction: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
106
106
|
amountCents: z.ZodNumber;
|
|
107
107
|
currency: z.ZodString;
|
|
108
108
|
}, z.core.$strip>>;
|
|
109
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
109
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
110
110
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
111
111
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
112
112
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -121,12 +121,12 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
121
121
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
122
122
|
state: z.ZodOptional<z.ZodEnum<{
|
|
123
123
|
PENDING: "PENDING";
|
|
124
|
-
PROCESSING: "PROCESSING";
|
|
125
124
|
CLEARED: "CLEARED";
|
|
126
125
|
COMPLETION: "COMPLETION";
|
|
127
126
|
DECLINED: "DECLINED";
|
|
128
127
|
ERROR: "ERROR";
|
|
129
128
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
129
|
+
PROCESSING: "PROCESSING";
|
|
130
130
|
}>>;
|
|
131
131
|
minAmount: z.ZodOptional<z.ZodNumber>;
|
|
132
132
|
maxAmount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -158,12 +158,12 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
158
158
|
settlement_date: z.ZodOptional<z.ZodString>;
|
|
159
159
|
state: z.ZodOptional<z.ZodEnum<{
|
|
160
160
|
PENDING: "PENDING";
|
|
161
|
-
PROCESSING: "PROCESSING";
|
|
162
161
|
CLEARED: "CLEARED";
|
|
163
162
|
COMPLETION: "COMPLETION";
|
|
164
163
|
DECLINED: "DECLINED";
|
|
165
164
|
ERROR: "ERROR";
|
|
166
165
|
PENDING_INITIATION: "PENDING_INITIATION";
|
|
166
|
+
PROCESSING: "PROCESSING";
|
|
167
167
|
}>>;
|
|
168
168
|
sk_category_id: z.ZodOptional<z.ZodString>;
|
|
169
169
|
sk_category_name: z.ZodOptional<z.ZodString>;
|
|
@@ -172,7 +172,7 @@ declare const listAllTransactions: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
172
172
|
currency: z.ZodString;
|
|
173
173
|
}, z.core.$strip>>;
|
|
174
174
|
}, z.core.$loose>>;
|
|
175
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
175
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
176
176
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
177
177
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
178
178
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
package/dist/transactions.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "./transactions-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { i as rampTransactionSchema, n as rampTransactionListInputSchema, r as rampTransactionListSchema, t as rampTransactionGetInputSchema } from "./transactions-IIG8obly.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/transactions.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, c as rampMoneySchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, c as rampMoneySchema, 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/transfers.ts
|
package/dist/transfers.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
|
|
|
@@ -38,7 +38,7 @@ declare const listTransfers: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
38
38
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
39
39
|
next: zod.ZodOptional<zod.ZodString>;
|
|
40
40
|
}, zod_v4_core0.$strip>>;
|
|
41
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
41
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
42
42
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
43
43
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
44
44
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -63,7 +63,7 @@ declare const getTransfer: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
63
63
|
source_account: zod.ZodOptional<zod.ZodString>;
|
|
64
64
|
destination_account: zod.ZodOptional<zod.ZodString>;
|
|
65
65
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
66
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
66
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
67
67
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
68
68
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
69
69
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
package/dist/transfers.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampTransferGetInputSchema, c as rampTransferSchema, o as rampTransferListInputSchema, s as rampTransferListSchema } from "./transfers-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { a as rampTransferGetInputSchema, c as rampTransferSchema, o as rampTransferListInputSchema, s as rampTransferListSchema } from "./transfers-C-76qq3o.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/transfers.ts
|
|
7
7
|
const listTransfers = rampOperation({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as ramp } from "../integration-
|
|
2
|
-
import { E as rampUserSchema, Ft as rampSpendRequestSchema, Kt as rampBillSchema, R as rampTransferSchema, W as rampTransactionSchema, X as rampReimbursementSchema, h as rampVendorSchema, it as rampApplicationSchema, lt as rampPurchaseOrderSchema, mt as rampUnifiedRequestSchema } from "../vendors-
|
|
1
|
+
import { i as ramp } from "../integration-BTjaW9hR.mjs";
|
|
2
|
+
import { E as rampUserSchema, Ft as rampSpendRequestSchema, Kt as rampBillSchema, R as rampTransferSchema, W as rampTransactionSchema, X as rampReimbursementSchema, h as rampVendorSchema, it as rampApplicationSchema, lt as rampPurchaseOrderSchema, mt as rampUnifiedRequestSchema } from "../vendors-De3fNIYJ.mjs";
|
|
3
|
+
import { Operation } from "@keystrokehq/core";
|
|
3
4
|
import { z } from "zod";
|
|
4
|
-
import { IntegrationTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
5
5
|
import { PollingTriggerManifest } from "@keystrokehq/core/trigger";
|
|
6
6
|
|
|
7
7
|
//#region src/triggers/polling-bindings.d.ts
|
package/dist/triggers/index.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { n as ramp } from "../integration-
|
|
1
|
+
import { n as ramp } from "../integration-BczMK0aE.mjs";
|
|
2
|
+
import { n as createPollingTriggerBindingFactory } from "../dist-Bbp6t-WQ.mjs";
|
|
2
3
|
import { createRampClient } from "../client.mjs";
|
|
3
|
-
import { l as rampBillSchema } from "../bills-
|
|
4
|
-
import { h as rampSpendRequestSchema } from "../business-
|
|
5
|
-
import { i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema } from "../new-resources-
|
|
6
|
-
import { i as rampReimbursementSchema } from "../reimbursements
|
|
7
|
-
import { i as rampTransactionSchema } from "../transactions-
|
|
8
|
-
import { c as rampTransferSchema } from "../transfers-
|
|
9
|
-
import { c as rampUserSchema } from "../users-
|
|
10
|
-
import { p as rampVendorSchema } from "../vendors-
|
|
4
|
+
import { l as rampBillSchema } from "../bills-D7vZ5JRH.mjs";
|
|
5
|
+
import { h as rampSpendRequestSchema } from "../business-DAD870OI.mjs";
|
|
6
|
+
import { i as rampApplicationSchema, l as rampPurchaseOrderSchema, m as rampUnifiedRequestSchema } from "../new-resources-Cj_YECLc.mjs";
|
|
7
|
+
import { i as rampReimbursementSchema } from "../reimbursements--xBvXROu.mjs";
|
|
8
|
+
import { i as rampTransactionSchema } from "../transactions-IIG8obly.mjs";
|
|
9
|
+
import { c as rampTransferSchema } from "../transfers-C-76qq3o.mjs";
|
|
10
|
+
import { c as rampUserSchema } from "../users-Bx4SR4el.mjs";
|
|
11
|
+
import { p as rampVendorSchema } from "../vendors-lAh0yain.mjs";
|
|
11
12
|
import { z } from "zod";
|
|
12
|
-
import { createPollingTriggerBindingFactory } from "@keystrokehq/integration-authoring";
|
|
13
13
|
|
|
14
14
|
//#region src/triggers/polling-bindings.ts
|
|
15
15
|
/**
|
|
@@ -23,7 +23,7 @@ function responseShape(item) {
|
|
|
23
23
|
}
|
|
24
24
|
function pollListEndpoint(path, itemSchema, queryBuilder) {
|
|
25
25
|
return async (ctx) => {
|
|
26
|
-
const client = createRampClient(ctx.credentials["
|
|
26
|
+
const client = createRampClient(ctx.credentials["ramp"]);
|
|
27
27
|
const query = queryBuilder ? queryBuilder(ctx.lastPolledAt) : {};
|
|
28
28
|
const filtered = Object.fromEntries(Object.entries(query).filter(([, v]) => v !== void 0));
|
|
29
29
|
return { data: ((await client.request(path, { query: filtered }))?.data ?? []).map((item) => itemSchema.parse(item)) };
|
|
@@ -1,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
|
|
|
@@ -8,8 +8,8 @@ declare const listUnifiedRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
8
8
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
9
9
|
PENDING: "PENDING";
|
|
10
10
|
APPROVED: "APPROVED";
|
|
11
|
-
DENIED: "DENIED";
|
|
12
11
|
CANCELED: "CANCELED";
|
|
12
|
+
DENIED: "DENIED";
|
|
13
13
|
FULFILLED: "FULFILLED";
|
|
14
14
|
}>>;
|
|
15
15
|
request_type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -22,8 +22,8 @@ declare const listUnifiedRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
22
22
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
23
23
|
PENDING: "PENDING";
|
|
24
24
|
APPROVED: "APPROVED";
|
|
25
|
-
DENIED: "DENIED";
|
|
26
25
|
CANCELED: "CANCELED";
|
|
26
|
+
DENIED: "DENIED";
|
|
27
27
|
FULFILLED: "FULFILLED";
|
|
28
28
|
}>>;
|
|
29
29
|
request_type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -36,7 +36,7 @@ declare const listUnifiedRequests: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
36
36
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
37
37
|
next: zod.ZodOptional<zod.ZodString>;
|
|
38
38
|
}, zod_v4_core0.$strip>>;
|
|
39
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
39
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
40
40
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
41
41
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
42
42
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -48,8 +48,8 @@ declare const getUnifiedRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
48
48
|
status: zod.ZodOptional<zod.ZodEnum<{
|
|
49
49
|
PENDING: "PENDING";
|
|
50
50
|
APPROVED: "APPROVED";
|
|
51
|
-
DENIED: "DENIED";
|
|
52
51
|
CANCELED: "CANCELED";
|
|
52
|
+
DENIED: "DENIED";
|
|
53
53
|
FULFILLED: "FULFILLED";
|
|
54
54
|
}>>;
|
|
55
55
|
request_type: zod.ZodOptional<zod.ZodString>;
|
|
@@ -58,7 +58,7 @@ declare const getUnifiedRequest: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
58
58
|
updated_at: zod.ZodOptional<zod.ZodString>;
|
|
59
59
|
resource_id: zod.ZodOptional<zod.ZodString>;
|
|
60
60
|
resource_type: zod.ZodOptional<zod.ZodString>;
|
|
61
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
61
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
62
62
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
63
63
|
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
64
64
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, m as rampUnifiedRequestSchema, p as rampUnifiedRequestListSchema } from "./new-resources-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { d as rampUnifiedRequestGetInputSchema, f as rampUnifiedRequestListInputSchema, m as rampUnifiedRequestSchema, p as rampUnifiedRequestListSchema } from "./new-resources-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/unified-requests.ts
|
|
7
7
|
const listUnifiedRequests = rampOperation({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-
|
|
1
|
+
import { a as rampListPaginationInputSchema, f as rampTimestampSchema, i as rampIdSchema, o as rampListResponseSchema } from "./common-Dune7BHS.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/users.ts
|
package/dist/users.d.mts
CHANGED
|
@@ -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/users.d.ts
|
|
@@ -54,7 +54,7 @@ declare const listUsers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
54
54
|
page: z.ZodOptional<z.ZodObject<{
|
|
55
55
|
next: z.ZodOptional<z.ZodString>;
|
|
56
56
|
}, z.core.$strip>>;
|
|
57
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
57
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
58
58
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
59
59
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
60
60
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -90,7 +90,7 @@ declare const getUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
90
90
|
}>>;
|
|
91
91
|
is_manager: z.ZodOptional<z.ZodBoolean>;
|
|
92
92
|
phone: z.ZodOptional<z.ZodString>;
|
|
93
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
93
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
94
94
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
95
95
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
96
96
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -119,7 +119,7 @@ declare const inviteUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
119
119
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
120
120
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
121
121
|
created_at: z.ZodOptional<z.ZodString>;
|
|
122
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
122
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
123
123
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
124
124
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
125
125
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -169,7 +169,7 @@ declare const updateUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
169
169
|
}>>;
|
|
170
170
|
is_manager: z.ZodOptional<z.ZodBoolean>;
|
|
171
171
|
phone: z.ZodOptional<z.ZodString>;
|
|
172
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
172
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
173
173
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
174
174
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
175
175
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -182,7 +182,7 @@ declare const deactivateUser: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
182
182
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
183
183
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
184
184
|
created_at: z.ZodOptional<z.ZodString>;
|
|
185
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
185
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
186
186
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
187
187
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
188
188
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -195,7 +195,7 @@ declare const getDeferredTask: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
195
195
|
data: z.ZodOptional<z.ZodUnknown>;
|
|
196
196
|
error: z.ZodOptional<z.ZodUnknown>;
|
|
197
197
|
created_at: z.ZodOptional<z.ZodString>;
|
|
198
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
198
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
199
199
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
200
200
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
201
201
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
package/dist/users.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "./users-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { a as rampUserListInputSchema, c as rampUserSchema, i as rampUserInviteInputSchema, n as rampUserDeactivateInputSchema, o as rampUserListSchema, r as rampUserGetInputSchema, t as rampDeferredTaskSchema, u as rampUserUpdateInputSchema } from "./users-Bx4SR4el.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/users.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/vendor-bank-accounts.d.ts
|
|
@@ -24,7 +24,7 @@ declare const listVendorBankAccounts: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
24
24
|
page: z.ZodOptional<z.ZodObject<{
|
|
25
25
|
next: z.ZodOptional<z.ZodString>;
|
|
26
26
|
}, z.core.$strip>>;
|
|
27
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
27
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
28
28
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
29
29
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
30
30
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -43,7 +43,7 @@ declare const getVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
43
43
|
currency_code: z.ZodOptional<z.ZodString>;
|
|
44
44
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
45
45
|
created_at: z.ZodOptional<z.ZodString>;
|
|
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;
|
|
@@ -71,7 +71,7 @@ declare const createVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
71
71
|
currency_code: z.ZodOptional<z.ZodString>;
|
|
72
72
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
73
73
|
created_at: z.ZodOptional<z.ZodString>;
|
|
74
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
74
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
75
75
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
76
76
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
77
77
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -92,7 +92,7 @@ declare const updateVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
92
92
|
currency_code: z.ZodOptional<z.ZodString>;
|
|
93
93
|
is_default: z.ZodOptional<z.ZodBoolean>;
|
|
94
94
|
created_at: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
95
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
96
96
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
97
97
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
98
98
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -101,7 +101,7 @@ declare const deleteVendorBankAccount: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
101
101
|
vendorBankAccountId: z.ZodString;
|
|
102
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
103
|
success: z.ZodBoolean;
|
|
104
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
104
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
105
105
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
106
106
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
107
107
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampVendorBankAccountListSchema, i as rampVendorBankAccountListInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema } from "./vendors-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
2
|
+
import { a as rampVendorBankAccountListSchema, i as rampVendorBankAccountListInputSchema, n as rampVendorBankAccountDeleteInputSchema, o as rampVendorBankAccountSchema, r as rampVendorBankAccountGetInputSchema, s as rampVendorBankAccountUpdateInputSchema, t as rampVendorBankAccountCreateInputSchema } from "./vendors-lAh0yain.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/vendor-bank-accounts.ts
|