@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/business.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/business.d.ts
|
|
6
5
|
declare const getBusiness: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$strip>, z.ZodObject<{
|
|
@@ -21,8 +20,6 @@ declare const getBusiness: _keystrokehq_core0.Operation<z.ZodObject<{}, z.core.$
|
|
|
21
20
|
}, z.core.$strip>>;
|
|
22
21
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
23
22
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
24
|
-
}, z.core.$strip
|
|
25
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
23
|
+
}, z.core.$strip>>], undefined>;
|
|
27
24
|
//#endregion
|
|
28
25
|
export { getBusiness };
|
package/dist/business.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { t as rampBusinessSchema } from "./business-CztnWUvt.mjs";
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/business.ts
|
package/dist/card-programs.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/card-programs.d.ts
|
|
@@ -27,9 +26,7 @@ declare const listCardPrograms: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
27
26
|
}, zod_v4_core0.$strip>>;
|
|
28
27
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
29
28
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
30
|
-
}, zod_v4_core0.$strip
|
|
31
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
32
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
29
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
33
30
|
declare const getCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
34
31
|
cardProgramId: zod.ZodString;
|
|
35
32
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -47,9 +44,7 @@ declare const getCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
47
44
|
}, zod_v4_core0.$loose>>;
|
|
48
45
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
49
46
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
50
|
-
}, zod_v4_core0.$strip
|
|
51
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
52
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
47
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
53
48
|
declare const createCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
54
49
|
display_name: zod.ZodString;
|
|
55
50
|
description: zod.ZodOptional<zod.ZodString>;
|
|
@@ -83,8 +78,6 @@ declare const createCardProgram: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
83
78
|
}, zod_v4_core0.$loose>>;
|
|
84
79
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
85
80
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
86
|
-
}, zod_v4_core0.$strip
|
|
87
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
88
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
81
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
89
82
|
//#endregion
|
|
90
83
|
export { createCardProgram, getCardProgram, listCardPrograms };
|
package/dist/card-programs.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampCardProgramListInputSchema, l as rampCardProgramListSchema, o as rampCardProgramCreateInputSchema, s as rampCardProgramGetInputSchema, u as rampCardProgramSchema } from "./cards-BfgPcR38.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/card-programs.ts
|
package/dist/cards.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/cards.d.ts
|
|
6
5
|
declare const listCards: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -58,9 +57,7 @@ declare const listCards: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
57
|
}, z.core.$strip>>;
|
|
59
58
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
60
59
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
}, z.core.$strip
|
|
62
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
63
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
60
|
+
}, z.core.$strip>>], undefined>;
|
|
64
61
|
declare const getCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
65
62
|
cardId: z.ZodString;
|
|
66
63
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -100,9 +97,7 @@ declare const getCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
100
97
|
has_program_overridden: z.ZodOptional<z.ZodBoolean>;
|
|
101
98
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
102
99
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
103
|
-
}, z.core.$strip
|
|
104
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
105
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
100
|
+
}, z.core.$strip>>], undefined>;
|
|
106
101
|
declare const createVirtualCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
107
102
|
display_name: z.ZodString;
|
|
108
103
|
user_id: z.ZodString;
|
|
@@ -129,9 +124,7 @@ declare const createVirtualCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
129
124
|
created_at: z.ZodOptional<z.ZodString>;
|
|
130
125
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
131
126
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
132
|
-
}, z.core.$strip
|
|
133
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
134
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
127
|
+
}, z.core.$strip>>], undefined>;
|
|
135
128
|
declare const createPhysicalCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
136
129
|
display_name: z.ZodString;
|
|
137
130
|
user_id: z.ZodString;
|
|
@@ -162,9 +155,7 @@ declare const createPhysicalCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
162
155
|
created_at: z.ZodOptional<z.ZodString>;
|
|
163
156
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
164
157
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
165
|
-
}, z.core.$strip
|
|
166
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
167
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
158
|
+
}, z.core.$strip>>], undefined>;
|
|
168
159
|
declare const updateCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
169
160
|
cardId: z.ZodString;
|
|
170
161
|
display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -216,9 +207,7 @@ declare const updateCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
216
207
|
has_program_overridden: z.ZodOptional<z.ZodBoolean>;
|
|
217
208
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
218
209
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
219
|
-
}, z.core.$strip
|
|
220
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
221
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
210
|
+
}, z.core.$strip>>], undefined>;
|
|
222
211
|
declare const suspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
223
212
|
cardId: z.ZodString;
|
|
224
213
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -229,9 +218,7 @@ declare const suspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
229
218
|
created_at: z.ZodOptional<z.ZodString>;
|
|
230
219
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
231
220
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
232
|
-
}, z.core.$strip
|
|
233
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
234
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
221
|
+
}, z.core.$strip>>], undefined>;
|
|
235
222
|
declare const unsuspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
236
223
|
cardId: z.ZodString;
|
|
237
224
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -242,9 +229,7 @@ declare const unsuspendCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
242
229
|
created_at: z.ZodOptional<z.ZodString>;
|
|
243
230
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
244
231
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
245
|
-
}, z.core.$strip
|
|
246
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
247
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
232
|
+
}, z.core.$strip>>], undefined>;
|
|
248
233
|
declare const terminateCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
249
234
|
cardId: z.ZodString;
|
|
250
235
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
@@ -256,9 +241,7 @@ declare const terminateCard: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
256
241
|
created_at: z.ZodOptional<z.ZodString>;
|
|
257
242
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
258
243
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
259
|
-
}, z.core.$strip
|
|
260
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
261
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
244
|
+
}, z.core.$strip>>], undefined>;
|
|
262
245
|
declare const listCardFundTransfers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
263
246
|
card_id: z.ZodOptional<z.ZodString>;
|
|
264
247
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -280,8 +263,6 @@ declare const listCardFundTransfers: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
280
263
|
}, z.core.$strip>>;
|
|
281
264
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
282
265
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
283
|
-
}, z.core.$strip
|
|
284
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
285
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
266
|
+
}, z.core.$strip>>], undefined>;
|
|
286
267
|
//#endregion
|
|
287
268
|
export { createPhysicalCard, createVirtualCard, getCard, listCardFundTransfers, listCards, suspendCard, terminateCard, unsuspendCard, updateCard };
|
package/dist/cards.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { _ as rampTerminateCardInputSchema, a as rampCardListSchema, d as rampCardSchema, g as rampSuspendCardInputSchema, h as rampCreateVirtualCardInputSchema, i as rampCardListInputSchema, m as rampCreatePhysicalCardInputSchema, n as rampCardFundTransferSchema, p as rampCardUpdateInputSchema, r as rampCardGetInputSchema, v as rampUnsuspendCardInputSchema } from "./cards-BfgPcR38.mjs";
|
|
3
3
|
import { t as rampDeferredTaskSchema } from "./users-ufcXrfNK.mjs";
|
|
4
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
5
5
|
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
package/dist/cashbacks.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/cashbacks.d.ts
|
|
@@ -23,9 +22,7 @@ declare const listCashbacks: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
23
22
|
}, zod_v4_core0.$strip>>;
|
|
24
23
|
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
25
24
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
26
|
-
}, zod_v4_core0.$strip
|
|
27
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
28
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
25
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
29
26
|
declare const getCashback: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
30
27
|
cashbackId: zod.ZodString;
|
|
31
28
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -39,8 +36,6 @@ declare const getCashback: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
39
36
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
40
37
|
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
41
38
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
42
|
-
}, zod_v4_core0.$strip
|
|
43
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
44
|
-
}, zod_v4_core0.$strip>>[] | undefined>], undefined>;
|
|
39
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
45
40
|
//#endregion
|
|
46
41
|
export { getCashback, listCashbacks };
|
package/dist/cashbacks.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { i as rampCashbackSchema, n as rampCashbackListInputSchema, r as rampCashbackListSchema, t as rampCashbackGetInputSchema } from "./transfers-WBQZVdGP.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/cashbacks.ts
|
package/dist/client.d.mts
CHANGED
package/dist/client.mjs
CHANGED
package/dist/connection.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as rampBundle, i as ramp, n as RampCredentials, o as rampOfficialIntegration, r as RampOAuthScope, t as RAMP_OAUTH_SCOPES } from "./integration-
|
|
1
|
+
import { a as rampBundle, i as ramp, n as RampCredentials, o as rampOfficialIntegration, r as RampOAuthScope, t as RAMP_OAUTH_SCOPES } from "./integration-DJ7sYLA2.mjs";
|
|
2
2
|
export { RAMP_OAUTH_SCOPES, type RampCredentials, type RampOAuthScope, ramp, rampBundle, rampOfficialIntegration };
|
package/dist/connection.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-
|
|
1
|
+
import { i as rampOfficialIntegration, n as ramp, r as rampBundle, t as RAMP_OAUTH_SCOPES } from "./integration-BhMk85GK.mjs";
|
|
2
2
|
|
|
3
3
|
export { RAMP_OAUTH_SCOPES, ramp, rampBundle, rampOfficialIntegration };
|
package/dist/departments.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/departments.d.ts
|
|
6
5
|
declare const listDepartments: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -16,9 +15,7 @@ declare const listDepartments: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
16
15
|
}, z.core.$strip>>;
|
|
17
16
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
18
17
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
19
|
-
}, z.core.$strip
|
|
20
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
18
|
+
}, z.core.$strip>>], undefined>;
|
|
22
19
|
declare const getDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
23
20
|
departmentId: z.ZodString;
|
|
24
21
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -26,9 +23,7 @@ declare const getDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
26
23
|
name: z.ZodOptional<z.ZodString>;
|
|
27
24
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
28
25
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
29
|
-
}, z.core.$strip
|
|
30
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
26
|
+
}, z.core.$strip>>], undefined>;
|
|
32
27
|
declare const createDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
33
28
|
name: z.ZodString;
|
|
34
29
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -36,9 +31,7 @@ declare const createDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
36
31
|
name: z.ZodOptional<z.ZodString>;
|
|
37
32
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
38
33
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
39
|
-
}, z.core.$strip
|
|
40
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
34
|
+
}, z.core.$strip>>], undefined>;
|
|
42
35
|
declare const updateDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
43
36
|
departmentId: z.ZodString;
|
|
44
37
|
name: z.ZodString;
|
|
@@ -47,17 +40,13 @@ declare const updateDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
47
40
|
name: z.ZodOptional<z.ZodString>;
|
|
48
41
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
49
42
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
50
|
-
}, z.core.$strip
|
|
51
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
52
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
43
|
+
}, z.core.$strip>>], undefined>;
|
|
53
44
|
declare const deleteDepartment: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
54
45
|
departmentId: z.ZodString;
|
|
55
46
|
}, z.core.$strip>, z.ZodObject<{
|
|
56
47
|
success: z.ZodBoolean;
|
|
57
48
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
58
49
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
59
|
-
}, z.core.$strip
|
|
60
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
61
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
50
|
+
}, z.core.$strip>>], undefined>;
|
|
62
51
|
//#endregion
|
|
63
52
|
export { createDepartment, deleteDepartment, getDepartment, listDepartments, updateDepartment };
|
package/dist/departments.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampDepartmentListSchema, i as rampDepartmentListInputSchema, n as rampDepartmentDeleteInputSchema, o as rampDepartmentSchema, r as rampDepartmentGetInputSchema, s as rampDepartmentUpdateInputSchema, t as rampDepartmentCreateInputSchema } 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
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/entities.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/entities.d.ts
|
|
@@ -19,9 +18,7 @@ declare const listEntities: _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 getEntity: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
26
23
|
entityId: zod.ZodString;
|
|
27
24
|
}, zod_v4_core0.$strip>, zod.ZodObject<{
|
|
@@ -31,8 +28,6 @@ declare const getEntity: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
31
28
|
is_primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
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
|
//#endregion
|
|
38
33
|
export { getEntity, listEntities };
|
package/dist/entities.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { a as rampEntitySchema, i as rampEntityListSchema, n as rampEntityGetInputSchema, r as rampEntityListInputSchema } 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/entities.ts
|
|
@@ -15,6 +15,7 @@ import { CredentialSet } from "@keystrokehq/core";
|
|
|
15
15
|
*/
|
|
16
16
|
const rampAppCredentialSet = new CredentialSet({
|
|
17
17
|
id: officialCredentialSetId("ramp-app"),
|
|
18
|
+
credentialType: "manual",
|
|
18
19
|
exposure: "platform-only",
|
|
19
20
|
name: "Ramp App",
|
|
20
21
|
auth: z.object({
|
|
@@ -102,17 +103,8 @@ const rampOfficialIntegration = {
|
|
|
102
103
|
id: "ramp",
|
|
103
104
|
name: "Ramp",
|
|
104
105
|
description: "Ramp corporate cards, spend management, bill pay, reimbursements, and accounting integrations for Keystroke workflows.",
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
id: "oauth",
|
|
108
|
-
kind: "oauth",
|
|
109
|
-
tokenType: "refreshable",
|
|
110
|
-
authUrl: "https://app.ramp.com/v1/authorize",
|
|
111
|
-
tokenUrl: "https://api.ramp.com/developer/v1/token",
|
|
112
|
-
revokeUrl: "https://api.ramp.com/developer/v1/token/revoke",
|
|
113
|
-
scopes: RAMP_OAUTH_SCOPES,
|
|
114
|
-
vault: { accessToken: "RAMP_ACCESS_TOKEN" }
|
|
115
|
-
}]
|
|
106
|
+
credentialType: "oauth",
|
|
107
|
+
auth: rampAuthSchema
|
|
116
108
|
};
|
|
117
109
|
const rampBundle = defineOfficialIntegration({
|
|
118
110
|
...rampOfficialIntegration,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
|
-
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
5
4
|
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
6
5
|
|
|
7
6
|
//#region src/integration.d.ts
|
|
@@ -17,30 +16,17 @@ declare const rampOfficialIntegration: {
|
|
|
17
16
|
id: "ramp";
|
|
18
17
|
name: string;
|
|
19
18
|
description: string;
|
|
19
|
+
credentialType: "oauth";
|
|
20
20
|
auth: z.ZodObject<{
|
|
21
21
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
|
-
connections: {
|
|
24
|
-
id: string;
|
|
25
|
-
kind: "oauth";
|
|
26
|
-
tokenType: "refreshable";
|
|
27
|
-
authUrl: string;
|
|
28
|
-
tokenUrl: string;
|
|
29
|
-
revokeUrl: string;
|
|
30
|
-
scopes: readonly ["accounting:read", "accounting:write", "bank_accounts:read", "bills:read", "bills:write", "business:read", "card_programs:read", "card_programs:write", "cards:read", "cards:write", "cashbacks:read", "departments:read", "departments:write", "entities:read", "limits:read", "limits:write", "locations:read", "locations:write", "memos:read", "receipt_integrations:read", "receipt_integrations:write", "receipts:read", "receipts:write", "reimbursements:read", "spend_programs:read", "statements:read", "transactions:read", "transfers:read", "users:read", "users:write", "vendors:read", "vendors:write"];
|
|
31
|
-
vault: {
|
|
32
|
-
accessToken: "RAMP_ACCESS_TOKEN";
|
|
33
|
-
};
|
|
34
|
-
}[];
|
|
35
23
|
};
|
|
36
24
|
declare const rampBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"ramp", z.ZodObject<{
|
|
37
25
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
38
26
|
}, z.core.$strip>>;
|
|
39
27
|
declare const ramp: _keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
40
28
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
41
|
-
}, z.core.$strip
|
|
42
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
}, z.core.$strip>>[] | undefined>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
44
30
|
type RampCredentials = InferCredentialSetAuth<typeof ramp>;
|
|
45
31
|
type RampOAuthScope = (typeof RAMP_OAUTH_SCOPES)[number];
|
|
46
32
|
//#endregion
|
package/dist/limits.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/limits.d.ts
|
|
6
5
|
declare const listLimits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -23,9 +22,9 @@ declare const listLimits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
23
22
|
DAILY: "DAILY";
|
|
24
23
|
WEEKLY: "WEEKLY";
|
|
25
24
|
MONTHLY: "MONTHLY";
|
|
26
|
-
QUARTERLY: "QUARTERLY";
|
|
27
25
|
YEARLY: "YEARLY";
|
|
28
26
|
TOTAL: "TOTAL";
|
|
27
|
+
QUARTERLY: "QUARTERLY";
|
|
29
28
|
}>>;
|
|
30
29
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
31
30
|
}, z.core.$loose>>;
|
|
@@ -40,9 +39,7 @@ declare const listLimits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
40
39
|
}, z.core.$strip>>;
|
|
41
40
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
42
41
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
43
|
-
}, z.core.$strip
|
|
44
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
42
|
+
}, z.core.$strip>>], undefined>;
|
|
46
43
|
declare const getLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
47
44
|
limitId: z.ZodString;
|
|
48
45
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -58,9 +55,9 @@ declare const getLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
58
55
|
DAILY: "DAILY";
|
|
59
56
|
WEEKLY: "WEEKLY";
|
|
60
57
|
MONTHLY: "MONTHLY";
|
|
61
|
-
QUARTERLY: "QUARTERLY";
|
|
62
58
|
YEARLY: "YEARLY";
|
|
63
59
|
TOTAL: "TOTAL";
|
|
60
|
+
QUARTERLY: "QUARTERLY";
|
|
64
61
|
}>>;
|
|
65
62
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
66
63
|
}, z.core.$loose>>;
|
|
@@ -71,9 +68,7 @@ declare const getLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
71
68
|
created_at: z.ZodOptional<z.ZodString>;
|
|
72
69
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
73
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
}, z.core.$strip
|
|
75
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
71
|
+
}, z.core.$strip>>], undefined>;
|
|
77
72
|
declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
78
73
|
display_name: z.ZodString;
|
|
79
74
|
user_ids: z.ZodArray<z.ZodString>;
|
|
@@ -85,9 +80,9 @@ declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
85
80
|
DAILY: "DAILY";
|
|
86
81
|
WEEKLY: "WEEKLY";
|
|
87
82
|
MONTHLY: "MONTHLY";
|
|
88
|
-
QUARTERLY: "QUARTERLY";
|
|
89
83
|
YEARLY: "YEARLY";
|
|
90
84
|
TOTAL: "TOTAL";
|
|
85
|
+
QUARTERLY: "QUARTERLY";
|
|
91
86
|
}>;
|
|
92
87
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
93
88
|
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -106,9 +101,9 @@ declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
106
101
|
DAILY: "DAILY";
|
|
107
102
|
WEEKLY: "WEEKLY";
|
|
108
103
|
MONTHLY: "MONTHLY";
|
|
109
|
-
QUARTERLY: "QUARTERLY";
|
|
110
104
|
YEARLY: "YEARLY";
|
|
111
105
|
TOTAL: "TOTAL";
|
|
106
|
+
QUARTERLY: "QUARTERLY";
|
|
112
107
|
}>>;
|
|
113
108
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
114
109
|
}, z.core.$loose>>;
|
|
@@ -119,9 +114,7 @@ declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
119
114
|
created_at: z.ZodOptional<z.ZodString>;
|
|
120
115
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
121
116
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
122
|
-
}, z.core.$strip
|
|
123
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
124
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
117
|
+
}, z.core.$strip>>], undefined>;
|
|
125
118
|
declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
126
119
|
limitId: z.ZodString;
|
|
127
120
|
display_name: z.ZodOptional<z.ZodString>;
|
|
@@ -131,9 +124,9 @@ declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
131
124
|
DAILY: "DAILY";
|
|
132
125
|
WEEKLY: "WEEKLY";
|
|
133
126
|
MONTHLY: "MONTHLY";
|
|
134
|
-
QUARTERLY: "QUARTERLY";
|
|
135
127
|
YEARLY: "YEARLY";
|
|
136
128
|
TOTAL: "TOTAL";
|
|
129
|
+
QUARTERLY: "QUARTERLY";
|
|
137
130
|
}>>;
|
|
138
131
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
139
132
|
}, z.core.$strip>>;
|
|
@@ -150,9 +143,9 @@ declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
150
143
|
DAILY: "DAILY";
|
|
151
144
|
WEEKLY: "WEEKLY";
|
|
152
145
|
MONTHLY: "MONTHLY";
|
|
153
|
-
QUARTERLY: "QUARTERLY";
|
|
154
146
|
YEARLY: "YEARLY";
|
|
155
147
|
TOTAL: "TOTAL";
|
|
148
|
+
QUARTERLY: "QUARTERLY";
|
|
156
149
|
}>>;
|
|
157
150
|
transaction_amount_limit: z.ZodOptional<z.ZodNumber>;
|
|
158
151
|
}, z.core.$loose>>;
|
|
@@ -163,17 +156,13 @@ declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
163
156
|
created_at: z.ZodOptional<z.ZodString>;
|
|
164
157
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
165
158
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
166
|
-
}, z.core.$strip
|
|
167
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
168
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
159
|
+
}, z.core.$strip>>], undefined>;
|
|
169
160
|
declare const deleteLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
170
161
|
limitId: z.ZodString;
|
|
171
162
|
}, z.core.$strip>, z.ZodObject<{
|
|
172
163
|
success: z.ZodBoolean;
|
|
173
164
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
174
165
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
175
|
-
}, z.core.$strip
|
|
176
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
177
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
166
|
+
}, z.core.$strip>>], undefined>;
|
|
178
167
|
//#endregion
|
|
179
168
|
export { createLimit, deleteLimit, getLimit, listLimits, updateLimit };
|
package/dist/limits.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { c as rampLimitCreateInputSchema, f as rampLimitListInputSchema, h as rampLimitUpdateInputSchema, l as rampLimitDeleteInputSchema, m as rampLimitSchema, p as rampLimitListSchema, u as rampLimitGetInputSchema } 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
|
import { z } from "zod";
|
|
6
6
|
|
package/dist/locations.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/locations.d.ts
|
|
6
5
|
declare const listLocations: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -18,9 +17,7 @@ declare const listLocations: _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 getLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
25
22
|
locationId: z.ZodString;
|
|
26
23
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -29,9 +26,7 @@ declare const getLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
29
26
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
30
27
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
31
28
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
}, z.core.$strip
|
|
33
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
29
|
+
}, z.core.$strip>>], undefined>;
|
|
35
30
|
declare const createLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
36
31
|
name: z.ZodString;
|
|
37
32
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -41,9 +36,7 @@ declare const createLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
41
36
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
42
37
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
43
38
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
44
|
-
}, z.core.$strip
|
|
45
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
46
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
39
|
+
}, z.core.$strip>>], undefined>;
|
|
47
40
|
declare const updateLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
48
41
|
locationId: z.ZodString;
|
|
49
42
|
name: z.ZodString;
|
|
@@ -53,17 +46,13 @@ declare const updateLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
53
46
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
54
47
|
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
55
48
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
56
|
-
}, z.core.$strip
|
|
57
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
49
|
+
}, z.core.$strip>>], undefined>;
|
|
59
50
|
declare const deleteLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
60
51
|
locationId: z.ZodString;
|
|
61
52
|
}, z.core.$strip>, z.ZodObject<{
|
|
62
53
|
success: z.ZodBoolean;
|
|
63
54
|
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
64
55
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
65
|
-
}, z.core.$strip
|
|
66
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>[] | undefined>], undefined>;
|
|
56
|
+
}, z.core.$strip>>], undefined>;
|
|
68
57
|
//#endregion
|
|
69
58
|
export { createLocation, deleteLocation, getLocation, listLocations, updateLocation };
|
package/dist/locations.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
2
|
import { S as rampLocationUpdateInputSchema, _ as rampLocationDeleteInputSchema, b as rampLocationListSchema, g as rampLocationCreateInputSchema, v as rampLocationGetInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } 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
|
import { z } from "zod";
|
|
6
6
|
|