@keystrokehq/ramp 0.0.9 → 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 +3 -8
- package/dist/_official/index.mjs +1 -1
- package/dist/accounting-fields.d.mts +15 -30
- package/dist/accounting-fields.mjs +3 -3
- package/dist/accounting-gl-accounts.d.mts +7 -14
- package/dist/accounting-gl-accounts.mjs +3 -3
- package/dist/{accounting-Ceh5QgHA.mjs → accounting-i6txC-MI.mjs} +1 -1
- package/dist/accounting-subsidiaries.d.mts +7 -14
- package/dist/accounting-subsidiaries.mjs +3 -3
- package/dist/accounting-sync.d.mts +7 -14
- package/dist/accounting-sync.mjs +3 -3
- package/dist/accounting-tracking-categories.d.mts +5 -10
- package/dist/accounting-tracking-categories.mjs +3 -3
- package/dist/accounting-vendors.d.mts +7 -14
- package/dist/accounting-vendors.mjs +3 -3
- package/dist/applications.d.mts +8 -13
- package/dist/applications.mjs +3 -3
- package/dist/{bills-D7vZ5JRH.mjs → bills-B8W9et3K.mjs} +1 -1
- package/dist/bills.d.mts +31 -46
- package/dist/bills.mjs +3 -3
- package/dist/{business-DAD870OI.mjs → business-CztnWUvt.mjs} +1 -1
- package/dist/business.d.mts +3 -6
- package/dist/business.mjs +2 -2
- package/dist/card-programs.d.mts +7 -14
- package/dist/card-programs.mjs +3 -3
- package/dist/{cards-DNZQtrd7.mjs → cards-BfgPcR38.mjs} +1 -1
- package/dist/cards.d.mts +19 -38
- package/dist/cards.mjs +4 -4
- package/dist/cashbacks.d.mts +5 -10
- 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 +11 -22
- package/dist/departments.mjs +3 -3
- package/dist/entities.d.mts +5 -10
- package/dist/entities.mjs +3 -3
- package/dist/events.d.mts +1 -1
- package/dist/events.mjs +1 -1
- package/dist/{factory-hiMPmrYD.mjs → factory-buRnGG7Q.mjs} +2 -1
- package/dist/integration-BhMk85GK.mjs +116 -0
- package/dist/{integration-BTjaW9hR.d.mts → integration-DJ7sYLA2.d.mts} +6 -19
- package/dist/limits.d.mts +11 -22
- package/dist/limits.mjs +3 -3
- package/dist/locations.d.mts +11 -22
- package/dist/locations.mjs +3 -3
- package/dist/memos.d.mts +5 -10
- package/dist/memos.mjs +3 -3
- package/dist/{new-resources-Cj_YECLc.mjs → new-resources-BBJsJEjT.mjs} +1 -1
- package/dist/{organization-BdyZhkYN.mjs → organization-BSaEpvBn.mjs} +1 -1
- package/dist/purchase-orders.d.mts +8 -13
- package/dist/purchase-orders.mjs +3 -3
- package/dist/receipt-integrations.d.mts +5 -10
- package/dist/receipt-integrations.mjs +2 -2
- package/dist/{receipts-DKq5Kjhr.mjs → receipts-STq41c2M.mjs} +1 -1
- package/dist/receipts.d.mts +7 -14
- package/dist/receipts.mjs +3 -3
- package/dist/{reimbursements--xBvXROu.mjs → reimbursements-OknrZUMF.mjs} +1 -1
- package/dist/reimbursements.d.mts +8 -13
- package/dist/reimbursements.mjs +3 -3
- package/dist/schemas/index.d.mts +3 -3
- package/dist/schemas/index.mjs +15 -15
- package/dist/spend-programs.d.mts +5 -10
- package/dist/spend-programs.mjs +3 -3
- package/dist/spend-requests.d.mts +7 -14
- package/dist/spend-requests.mjs +3 -3
- package/dist/statements.d.mts +5 -10
- package/dist/statements.mjs +3 -3
- package/dist/{transactions-IIG8obly.mjs → transactions-Djd0oIGK.mjs} +1 -1
- package/dist/transactions.d.mts +12 -19
- package/dist/transactions.mjs +3 -3
- package/dist/{transfers-C-76qq3o.mjs → transfers-WBQZVdGP.mjs} +1 -1
- package/dist/transfers.d.mts +11 -16
- 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 +5 -10
- package/dist/unified-requests.mjs +3 -3
- package/dist/{users-Bx4SR4el.mjs → users-ufcXrfNK.mjs} +1 -1
- package/dist/users.d.mts +13 -26
- package/dist/users.mjs +3 -3
- package/dist/vendor-bank-accounts.d.mts +11 -22
- package/dist/vendor-bank-accounts.mjs +3 -3
- package/dist/{vendors-lAh0yain.mjs → vendors-Bx1cgXwC.mjs} +1 -1
- package/dist/{vendors-De3fNIYJ.d.mts → vendors-gH-w9b_R.d.mts} +32 -32
- package/dist/vendors.d.mts +11 -22
- package/dist/vendors.mjs +3 -3
- package/dist/verification.mjs +1 -1
- package/dist/{webhook-CzjBDCWU.mjs → webhook-CsbvcgrC.mjs} +1 -1
- package/dist/{webhooks-mgmt--fU1Uxfa.mjs → webhooks-mgmt-d1xgVpWx.mjs} +1 -1
- package/dist/webhooks.d.mts +11 -22
- package/dist/webhooks.mjs +3 -3
- package/package.json +5 -5
- package/dist/dist-Bbp6t-WQ.mjs +0 -74
- package/dist/integration-BczMK0aE.mjs +0 -216
- /package/dist/{common-Dune7BHS.mjs → common-CUpmNYXw.mjs} +0 -0
- /package/dist/{errors-TrirAChI.d.mts → errors-CIJf9-v0.d.mts} +0 -0
- /package/dist/{shared-3DudrK5L.mjs → shared-CTTtP5gv.mjs} +0 -0
- /package/dist/{webhook-sde3Ui2N.d.mts → webhook-Bp38YQE9.d.mts} +0 -0
package/dist/departments.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
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-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/departments.ts
|
package/dist/entities.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/entities.d.ts
|
|
@@ -17,11 +16,9 @@ declare const listEntities: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
17
16
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
18
17
|
next: zod.ZodOptional<zod.ZodString>;
|
|
19
18
|
}, zod_v4_core0.$strip>>;
|
|
20
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
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<{
|
|
@@ -29,10 +26,8 @@ declare const getEntity: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
29
26
|
entity_name: zod.ZodOptional<zod.ZodString>;
|
|
30
27
|
country_code: zod.ZodOptional<zod.ZodString>;
|
|
31
28
|
is_primary: zod.ZodOptional<zod.ZodBoolean>;
|
|
32
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
33
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
34
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
29
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
35
30
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
36
|
-
}, zod_v4_core0.$strip>>
|
|
31
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
37
32
|
//#endregion
|
|
38
33
|
export { getEntity, listEntities };
|
package/dist/entities.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { a as rampEntitySchema, i as rampEntityListSchema, n as rampEntityGetInputSchema, r as rampEntityListInputSchema } from "./business-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/entities.ts
|
|
7
7
|
const listEntities = rampOperation({
|
package/dist/events.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, r as RampDocumentedWebhookEventType, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "./webhook-
|
|
1
|
+
import { a as RampWebhookEventEnvelope, c as rampWebhookEventEnvelopeSchema, r as RampDocumentedWebhookEventType, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "./webhook-Bp38YQE9.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/events.d.ts
|
package/dist/events.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as rampWebhookEventEnvelopeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "./webhook-
|
|
1
|
+
import { a as rampWebhookEventEnvelopeSchema, t as RAMP_DOCUMENTED_WEBHOOK_EVENT_TYPES } from "./webhook-CsbvcgrC.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/events.ts
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { n as ramp
|
|
1
|
+
import { n as ramp } from "./integration-BhMk85GK.mjs";
|
|
2
|
+
import { createOfficialOperationFactory } from "@keystrokehq/integration-authoring/official";
|
|
2
3
|
|
|
3
4
|
//#region src/factory.ts
|
|
4
5
|
/**
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { defineOfficialIntegration, officialCredentialSetId } from "@keystrokehq/integration-authoring/official";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
import { CredentialSet } from "@keystrokehq/core";
|
|
4
|
+
|
|
5
|
+
//#region src/_official/provider-app.ts
|
|
6
|
+
/**
|
|
7
|
+
* Internal credential set for the Keystroke-owned Ramp OAuth application.
|
|
8
|
+
*
|
|
9
|
+
* Mirrors the `zoomAppCredentialSet` pattern: stores the client id/secret that
|
|
10
|
+
* Keystroke uses to speak to Ramp's token endpoint, and optionally the webhook
|
|
11
|
+
* signing secret used to verify inbound `X-Ramp-Signature` headers.
|
|
12
|
+
*
|
|
13
|
+
* This is never exposed directly to end users — the public OAuth flow injects
|
|
14
|
+
* access tokens into {@link ramp} (defined in `integration.ts`).
|
|
15
|
+
*/
|
|
16
|
+
const rampAppCredentialSet = new CredentialSet({
|
|
17
|
+
id: officialCredentialSetId("ramp-app"),
|
|
18
|
+
credentialType: "manual",
|
|
19
|
+
exposure: "platform-only",
|
|
20
|
+
name: "Ramp App",
|
|
21
|
+
auth: z.object({
|
|
22
|
+
clientId: z.string().min(1),
|
|
23
|
+
clientSecret: z.string().min(1),
|
|
24
|
+
webhookSecret: z.string().min(1).optional()
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
const rampOfficialProviderSeed = {
|
|
28
|
+
provider: "ramp",
|
|
29
|
+
appRef: "ramp-platform",
|
|
30
|
+
displayName: "Ramp Platform",
|
|
31
|
+
credentialSetName: "Keystroke Ramp Platform App",
|
|
32
|
+
envShape: {
|
|
33
|
+
KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID: z.string().optional(),
|
|
34
|
+
KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET: z.string().optional(),
|
|
35
|
+
KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET: z.string().optional()
|
|
36
|
+
},
|
|
37
|
+
requiredEnvKeys: ["KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID", "KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET"],
|
|
38
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID",
|
|
39
|
+
buildCredentials: (env) => ({
|
|
40
|
+
clientId: env.KEYSTROKE_OFFICIAL_RAMP_CLIENT_ID,
|
|
41
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_RAMP_CLIENT_SECRET,
|
|
42
|
+
...env.KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET ? { webhookSecret: env.KEYSTROKE_OFFICIAL_RAMP_WEBHOOK_SECRET } : {}
|
|
43
|
+
})
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/integration.ts
|
|
48
|
+
/**
|
|
49
|
+
* Public auth schema for Ramp connections.
|
|
50
|
+
*
|
|
51
|
+
* Stores only the OAuth access token. The Ramp platform issues access tokens
|
|
52
|
+
* with a ~10-day lifetime; the refresh token lifecycle is managed by the
|
|
53
|
+
* platform OAuth machinery and does not need to be re-exposed here.
|
|
54
|
+
*
|
|
55
|
+
* Deliberately does NOT include environment discrimination — we route all
|
|
56
|
+
* API traffic through `https://api.ramp.com` by default. Sandbox usage
|
|
57
|
+
* requires bypassing the public connection and calling {@link createRampClient}
|
|
58
|
+
* directly with `{ environment: 'sandbox' }`.
|
|
59
|
+
*/
|
|
60
|
+
const rampAuthSchema = z.object({ RAMP_ACCESS_TOKEN: z.string().min(1) });
|
|
61
|
+
/**
|
|
62
|
+
* OAuth scopes requested at connect time.
|
|
63
|
+
*
|
|
64
|
+
* Only includes scopes that are currently documented in Ramp's developer docs
|
|
65
|
+
* (verified 2026-04-17). Operations gated on undocumented scopes must fail at
|
|
66
|
+
* runtime with `RampMissingScopeError` and must NOT add phantom scopes here.
|
|
67
|
+
*/
|
|
68
|
+
const RAMP_OAUTH_SCOPES = [
|
|
69
|
+
"accounting:read",
|
|
70
|
+
"accounting:write",
|
|
71
|
+
"bank_accounts:read",
|
|
72
|
+
"bills:read",
|
|
73
|
+
"bills:write",
|
|
74
|
+
"business:read",
|
|
75
|
+
"card_programs:read",
|
|
76
|
+
"card_programs:write",
|
|
77
|
+
"cards:read",
|
|
78
|
+
"cards:write",
|
|
79
|
+
"cashbacks:read",
|
|
80
|
+
"departments:read",
|
|
81
|
+
"departments:write",
|
|
82
|
+
"entities:read",
|
|
83
|
+
"limits:read",
|
|
84
|
+
"limits:write",
|
|
85
|
+
"locations:read",
|
|
86
|
+
"locations:write",
|
|
87
|
+
"memos:read",
|
|
88
|
+
"receipt_integrations:read",
|
|
89
|
+
"receipt_integrations:write",
|
|
90
|
+
"receipts:read",
|
|
91
|
+
"receipts:write",
|
|
92
|
+
"reimbursements:read",
|
|
93
|
+
"spend_programs:read",
|
|
94
|
+
"statements:read",
|
|
95
|
+
"transactions:read",
|
|
96
|
+
"transfers:read",
|
|
97
|
+
"users:read",
|
|
98
|
+
"users:write",
|
|
99
|
+
"vendors:read",
|
|
100
|
+
"vendors:write"
|
|
101
|
+
];
|
|
102
|
+
const rampOfficialIntegration = {
|
|
103
|
+
id: "ramp",
|
|
104
|
+
name: "Ramp",
|
|
105
|
+
description: "Ramp corporate cards, spend management, bill pay, reimbursements, and accounting integrations for Keystroke workflows.",
|
|
106
|
+
credentialType: "oauth",
|
|
107
|
+
auth: rampAuthSchema
|
|
108
|
+
};
|
|
109
|
+
const rampBundle = defineOfficialIntegration({
|
|
110
|
+
...rampOfficialIntegration,
|
|
111
|
+
internal: { providerApp: rampAppCredentialSet }
|
|
112
|
+
});
|
|
113
|
+
const ramp = rampBundle.credentialSet;
|
|
114
|
+
|
|
115
|
+
//#endregion
|
|
116
|
+
export { rampAppCredentialSet as a, rampOfficialIntegration as i, ramp as n, rampOfficialProviderSeed as o, rampBundle as r, RAMP_OAUTH_SCOPES as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
2
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
4
|
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
5
5
|
|
|
6
6
|
//#region src/integration.d.ts
|
|
@@ -16,30 +16,17 @@ declare const rampOfficialIntegration: {
|
|
|
16
16
|
id: "ramp";
|
|
17
17
|
name: string;
|
|
18
18
|
description: string;
|
|
19
|
+
credentialType: "oauth";
|
|
19
20
|
auth: z.ZodObject<{
|
|
20
21
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
21
22
|
}, z.core.$strip>;
|
|
22
|
-
connections: {
|
|
23
|
-
id: string;
|
|
24
|
-
kind: "oauth";
|
|
25
|
-
tokenType: "refreshable";
|
|
26
|
-
authUrl: string;
|
|
27
|
-
tokenUrl: string;
|
|
28
|
-
revokeUrl: string;
|
|
29
|
-
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"];
|
|
30
|
-
vault: {
|
|
31
|
-
accessToken: "RAMP_ACCESS_TOKEN";
|
|
32
|
-
};
|
|
33
|
-
}[];
|
|
34
23
|
};
|
|
35
|
-
declare const rampBundle:
|
|
24
|
+
declare const rampBundle: _keystrokehq_integration_authoring_official0.OfficialIntegrationBundle<"ramp", z.ZodObject<{
|
|
36
25
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
37
26
|
}, z.core.$strip>>;
|
|
38
|
-
declare const ramp: _keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
27
|
+
declare const ramp: _keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
39
28
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
40
|
-
}, z.core.$strip
|
|
41
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>[] | undefined>;
|
|
29
|
+
}, z.core.$strip>>;
|
|
43
30
|
type RampCredentials = InferCredentialSetAuth<typeof ramp>;
|
|
44
31
|
type RampOAuthScope = (typeof RAMP_OAUTH_SCOPES)[number];
|
|
45
32
|
//#endregion
|
package/dist/limits.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/limits.d.ts
|
|
6
5
|
declare const listLimits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -38,11 +37,9 @@ declare const listLimits: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
38
37
|
page: z.ZodOptional<z.ZodObject<{
|
|
39
38
|
next: z.ZodOptional<z.ZodString>;
|
|
40
39
|
}, z.core.$strip>>;
|
|
41
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
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<{
|
|
@@ -69,11 +66,9 @@ declare const getLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
69
66
|
currency: z.ZodString;
|
|
70
67
|
}, z.core.$strip>>;
|
|
71
68
|
created_at: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
73
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
74
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
69
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
75
70
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
76
|
-
}, z.core.$strip>>
|
|
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>;
|
|
@@ -117,11 +112,9 @@ declare const createLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
117
112
|
currency: z.ZodString;
|
|
118
113
|
}, z.core.$strip>>;
|
|
119
114
|
created_at: z.ZodOptional<z.ZodString>;
|
|
120
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
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>;
|
|
@@ -161,19 +154,15 @@ declare const updateLimit: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
161
154
|
currency: z.ZodString;
|
|
162
155
|
}, z.core.$strip>>;
|
|
163
156
|
created_at: z.ZodOptional<z.ZodString>;
|
|
164
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
165
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
166
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
157
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
167
158
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
168
|
-
}, z.core.$strip>>
|
|
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
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
174
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
175
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
164
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
176
165
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
177
|
-
}, z.core.$strip>>
|
|
166
|
+
}, z.core.$strip>>], undefined>;
|
|
178
167
|
//#endregion
|
|
179
168
|
export { createLimit, deleteLimit, getLimit, listLimits, updateLimit };
|
package/dist/limits.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
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-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/limits.ts
|
package/dist/locations.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
|
|
5
4
|
//#region src/locations.d.ts
|
|
6
5
|
declare const listLocations: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
@@ -16,22 +15,18 @@ declare const listLocations: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
16
15
|
page: z.ZodOptional<z.ZodObject<{
|
|
17
16
|
next: z.ZodOptional<z.ZodString>;
|
|
18
17
|
}, z.core.$strip>>;
|
|
19
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
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<{
|
|
27
24
|
id: z.ZodString;
|
|
28
25
|
name: z.ZodOptional<z.ZodString>;
|
|
29
26
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
31
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
32
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
27
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
33
28
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
34
|
-
}, z.core.$strip>>
|
|
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>;
|
|
@@ -39,11 +34,9 @@ declare const createLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
39
34
|
id: z.ZodString;
|
|
40
35
|
name: z.ZodOptional<z.ZodString>;
|
|
41
36
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
42
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
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;
|
|
@@ -51,19 +44,15 @@ declare const updateLocation: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
51
44
|
id: z.ZodString;
|
|
52
45
|
name: z.ZodOptional<z.ZodString>;
|
|
53
46
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
54
|
-
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
55
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
56
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
47
|
+
}, z.core.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
57
48
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
58
|
-
}, z.core.$strip>>
|
|
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
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", z.ZodObject<{
|
|
64
|
-
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
54
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", z.ZodObject<{
|
|
66
55
|
RAMP_ACCESS_TOKEN: z.ZodString;
|
|
67
|
-
}, z.core.$strip>>
|
|
56
|
+
}, z.core.$strip>>], undefined>;
|
|
68
57
|
//#endregion
|
|
69
58
|
export { createLocation, deleteLocation, getLocation, listLocations, updateLocation };
|
package/dist/locations.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { S as rampLocationUpdateInputSchema, _ as rampLocationDeleteInputSchema, b as rampLocationListSchema, g as rampLocationCreateInputSchema, v as rampLocationGetInputSchema, x as rampLocationSchema, y as rampLocationListInputSchema } from "./organization-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/locations.ts
|
package/dist/memos.d.mts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/memos.d.ts
|
|
@@ -20,11 +19,9 @@ declare const listMemos: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
20
19
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
21
20
|
next: zod.ZodOptional<zod.ZodString>;
|
|
22
21
|
}, zod_v4_core0.$strip>>;
|
|
23
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
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<{
|
|
@@ -33,10 +30,8 @@ declare const getMemo: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
33
30
|
user_id: zod.ZodOptional<zod.ZodString>;
|
|
34
31
|
body: zod.ZodOptional<zod.ZodString>;
|
|
35
32
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
36
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
37
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
38
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
33
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
39
34
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
40
|
-
}, zod_v4_core0.$strip>>
|
|
35
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
41
36
|
//#endregion
|
|
42
37
|
export { getMemo, listMemos };
|
package/dist/memos.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { C as rampMemoGetInputSchema, E as rampMemoSchema, T as rampMemoListSchema, w as rampMemoListInputSchema } from "./organization-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/memos.ts
|
|
7
7
|
const listMemos = rampOperation({
|
|
@@ -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-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/new-resources.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-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/organization.ts
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
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
11
|
CANCELED: "CANCELED";
|
|
12
|
-
DRAFT: "DRAFT";
|
|
13
12
|
DENIED: "DENIED";
|
|
14
13
|
CLOSED: "CLOSED";
|
|
15
14
|
}>>;
|
|
@@ -22,9 +21,9 @@ 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
26
|
CANCELED: "CANCELED";
|
|
27
|
-
DRAFT: "DRAFT";
|
|
28
27
|
DENIED: "DENIED";
|
|
29
28
|
CLOSED: "CLOSED";
|
|
30
29
|
}>>;
|
|
@@ -40,11 +39,9 @@ declare const listPurchaseOrders: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
40
39
|
page: zod.ZodOptional<zod.ZodObject<{
|
|
41
40
|
next: zod.ZodOptional<zod.ZodString>;
|
|
42
41
|
}, zod_v4_core0.$strip>>;
|
|
43
|
-
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
44
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
45
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
42
|
+
}, zod_v4_core0.$strip>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
46
43
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
47
|
-
}, zod_v4_core0.$strip>>
|
|
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,9 +49,9 @@ 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
54
|
CANCELED: "CANCELED";
|
|
57
|
-
DRAFT: "DRAFT";
|
|
58
55
|
DENIED: "DENIED";
|
|
59
56
|
CLOSED: "CLOSED";
|
|
60
57
|
}>>;
|
|
@@ -66,10 +63,8 @@ declare const getPurchaseOrder: _keystrokehq_core0.Operation<zod.ZodObject<{
|
|
|
66
63
|
created_at: zod.ZodOptional<zod.ZodString>;
|
|
67
64
|
description: zod.ZodOptional<zod.ZodString>;
|
|
68
65
|
entity_id: zod.ZodOptional<zod.ZodString>;
|
|
69
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
70
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
71
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
66
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
72
67
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
73
|
-
}, zod_v4_core0.$strip>>
|
|
68
|
+
}, zod_v4_core0.$strip>>], undefined>;
|
|
74
69
|
//#endregion
|
|
75
70
|
export { getPurchaseOrder, listPurchaseOrders };
|
package/dist/purchase-orders.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRampClient } from "./client.mjs";
|
|
2
|
-
import { c as rampPurchaseOrderListSchema, l as rampPurchaseOrderSchema, o as rampPurchaseOrderGetInputSchema, s as rampPurchaseOrderListInputSchema } from "./new-resources-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
4
|
-
import { t as omitUndefined } from "./shared-
|
|
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-buRnGG7Q.mjs";
|
|
4
|
+
import { t as omitUndefined } from "./shared-CTTtP5gv.mjs";
|
|
5
5
|
|
|
6
6
|
//#region src/purchase-orders.ts
|
|
7
7
|
const listPurchaseOrders = rampOperation({
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
2
1
|
import * as zod from "zod";
|
|
3
|
-
import * as
|
|
2
|
+
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
3
|
import * as zod_v4_core0 from "zod/v4/core";
|
|
5
4
|
|
|
6
5
|
//#region src/receipt-integrations.d.ts
|
|
@@ -11,21 +10,17 @@ declare const optInReceiptIntegration: _keystrokehq_core0.Operation<zod.ZodObjec
|
|
|
11
10
|
business_id: zod.ZodOptional<zod.ZodString>;
|
|
12
11
|
email_address: zod.ZodOptional<zod.ZodString>;
|
|
13
12
|
opted_in: zod.ZodOptional<zod.ZodBoolean>;
|
|
14
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
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<{
|
|
22
19
|
business_id: zod.ZodOptional<zod.ZodString>;
|
|
23
20
|
email_address: zod.ZodOptional<zod.ZodString>;
|
|
24
21
|
opted_in: zod.ZodOptional<zod.ZodBoolean>;
|
|
25
|
-
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"ramp", zod.ZodObject<{
|
|
26
|
-
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
27
|
-
}, zod_v4_core0.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<zod.ZodObject<{
|
|
22
|
+
}, zod_v4_core0.$loose>, readonly [_keystrokehq_core0.CredentialSet<"keystroke:ramp", zod.ZodObject<{
|
|
28
23
|
RAMP_ACCESS_TOKEN: zod.ZodString;
|
|
29
|
-
}, zod_v4_core0.$strip>>
|
|
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
|
-
import { i as rampReceiptIntegrationOptedInSchema, n as rampReceiptIntegrationOptInInputSchema, r as rampReceiptIntegrationOptOutInputSchema } from "./receipts-
|
|
3
|
-
import { t as rampOperation } from "./factory-
|
|
2
|
+
import { i as rampReceiptIntegrationOptedInSchema, n as rampReceiptIntegrationOptInInputSchema, r as rampReceiptIntegrationOptOutInputSchema } from "./receipts-STq41c2M.mjs";
|
|
3
|
+
import { t as rampOperation } from "./factory-buRnGG7Q.mjs";
|
|
4
4
|
|
|
5
5
|
//#region src/receipt-integrations.ts
|
|
6
6
|
const optInReceiptIntegration = 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-CUpmNYXw.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/receipts.ts
|