@keystrokehq/zendesk 0.0.7 → 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 +1 -1
- package/dist/_official/index.mjs +1 -1
- package/dist/_runtime/index.d.mts +59 -59
- package/dist/_runtime/index.mjs +1 -1
- package/dist/client.d.mts +1 -1
- package/dist/client.mjs +1 -1
- package/dist/custom/connection.d.mts +1 -1
- package/dist/custom/connection.mjs +1 -1
- package/dist/custom/jobs.d.mts +1 -1
- package/dist/custom/jobs.mjs +1 -1
- package/dist/custom/organizations.d.mts +1 -1
- package/dist/custom/organizations.mjs +1 -1
- package/dist/custom/search.d.mts +1 -1
- package/dist/custom/search.mjs +1 -1
- package/dist/custom/tickets.d.mts +1 -1
- package/dist/custom/tickets.mjs +1 -1
- package/dist/custom/triggers.d.mts +1 -1
- package/dist/custom/triggers.mjs +1 -1
- package/dist/custom/users.d.mts +1 -1
- package/dist/custom/users.mjs +1 -1
- package/dist/custom.d.mts +1 -1
- package/dist/custom.mjs +1 -1
- package/dist/{factory-BkTVtxO3.mjs → factory-ou1q975N.mjs} +1 -2
- package/dist/{integration-CtcJn--7.d.mts → integration-CdHa-pMh.d.mts} +7 -9
- package/dist/integration-DwdrlwuX.mjs +174 -0
- package/dist/{jobs-Bnu-juJI.mjs → jobs-C_g4owe2.mjs} +3 -3
- package/dist/{jobs-b1iHVfk8.d.mts → jobs-Dl9hHlgC.d.mts} +3 -3
- package/dist/{organizations-BhzeGbyt.d.mts → organizations-DdUvE-1B.d.mts} +17 -17
- package/dist/{organizations-CkUOhxeR.mjs → organizations-sN29x0eG.mjs} +17 -17
- package/dist/platform/connection.d.mts +1 -1
- package/dist/platform/connection.mjs +1 -1
- package/dist/platform/jobs.d.mts +1 -1
- package/dist/platform/jobs.mjs +1 -1
- package/dist/platform/organizations.d.mts +1 -1
- package/dist/platform/organizations.mjs +1 -1
- package/dist/platform/search.d.mts +1 -1
- package/dist/platform/search.mjs +1 -1
- package/dist/platform/tickets.d.mts +1 -1
- package/dist/platform/tickets.mjs +1 -1
- package/dist/platform/triggers.d.mts +1 -1
- package/dist/platform/triggers.mjs +1 -1
- package/dist/platform/users.d.mts +1 -1
- package/dist/platform/users.mjs +1 -1
- package/dist/platform.d.mts +1 -1
- package/dist/platform.mjs +1 -1
- package/dist/{search-BhDCvZbH.d.mts → search-68vtAp_t.d.mts} +5 -5
- package/dist/{search-SvN-I0KL.mjs → search-D41iedQX.mjs} +3 -3
- package/dist/{tickets-wDcstuX-.mjs → tickets-DJQf0-Dk.mjs} +19 -19
- package/dist/{tickets-PVnTF9mU.d.mts → tickets-a8IOtaZF.d.mts} +19 -19
- package/dist/{triggers-cLdYl78y.d.mts → triggers-YRytUtLd.d.mts} +3 -4
- package/dist/{triggers-B-QDHWMY.mjs → triggers-oJe3l-Nj.mjs} +52 -2
- package/dist/{users-CKVH1BDt.mjs → users-7GgP08U7.mjs} +19 -19
- package/dist/{users-wFde5fME.d.mts → users-BbnHg3UX.d.mts} +19 -19
- package/package.json +3 -3
- package/dist/integration-Dl2aSMKz.mjs +0 -83
package/dist/custom/tickets.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../chunk-DQk6qfdC.mjs";
|
|
2
|
-
import { a as customListTickets, c as customUpdateManyTickets, i as customGetTicket, l as customUpdateTicket, n as customCreateTicket, o as customMergeTickets, r as customDeleteTicket, s as customReplyToTicket, t as customCreateManyTickets } from "../tickets-
|
|
2
|
+
import { a as customListTickets, c as customUpdateManyTickets, i as customGetTicket, l as customUpdateTicket, n as customCreateTicket, o as customMergeTickets, r as customDeleteTicket, s as customReplyToTicket, t as customCreateManyTickets } from "../tickets-DJQf0-Dk.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/custom/tickets.ts
|
|
5
5
|
var tickets_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as customPolling } from "../triggers-
|
|
1
|
+
import { t as customPolling } from "../triggers-YRytUtLd.mjs";
|
|
2
2
|
export { customPolling as polling };
|
package/dist/custom/triggers.mjs
CHANGED
package/dist/custom/users.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as customGetUser, c as customUpdateManyUsers, i as customGetCurrentUser, l as customUpdateUser, n as customCreateUser, o as customListUsers, r as customDeleteUser, s as customSearchUsers, t as customCreateManyUsers } from "../users-
|
|
1
|
+
import { a as customGetUser, c as customUpdateManyUsers, i as customGetCurrentUser, l as customUpdateUser, n as customCreateUser, o as customListUsers, r as customDeleteUser, s as customSearchUsers, t as customCreateManyUsers } from "../users-BbnHg3UX.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/custom/users.d.ts
|
|
4
4
|
declare namespace users_d_exports {
|
package/dist/custom/users.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../chunk-DQk6qfdC.mjs";
|
|
2
|
-
import { a as customGetUser, c as customUpdateManyUsers, i as customGetCurrentUser, l as customUpdateUser, n as customCreateUser, o as customListUsers, r as customDeleteUser, s as customSearchUsers, t as customCreateManyUsers } from "../users-
|
|
2
|
+
import { a as customGetUser, c as customUpdateManyUsers, i as customGetCurrentUser, l as customUpdateUser, n as customCreateUser, o as customListUsers, r as customDeleteUser, s as customSearchUsers, t as customCreateManyUsers } from "../users-7GgP08U7.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/custom/users.ts
|
|
5
5
|
var users_exports = /* @__PURE__ */ __exportAll({
|
package/dist/custom.d.mts
CHANGED
|
@@ -2,6 +2,6 @@ import { t as jobs_d_exports } from "./custom/jobs.mjs";
|
|
|
2
2
|
import { t as organizations_d_exports } from "./custom/organizations.mjs";
|
|
3
3
|
import { t as search_d_exports } from "./custom/search.mjs";
|
|
4
4
|
import { t as tickets_d_exports } from "./custom/tickets.mjs";
|
|
5
|
-
import { t as customPolling } from "./triggers-
|
|
5
|
+
import { t as customPolling } from "./triggers-YRytUtLd.mjs";
|
|
6
6
|
import { t as users_d_exports } from "./custom/users.mjs";
|
|
7
7
|
export { jobs_d_exports as jobs, organizations_d_exports as organizations, customPolling as polling, search_d_exports as search, tickets_d_exports as tickets, users_d_exports as users };
|
package/dist/custom.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as customPolling } from "./triggers-
|
|
1
|
+
import { t as customPolling } from "./triggers-oJe3l-Nj.mjs";
|
|
2
2
|
import { t as jobs_exports } from "./custom/jobs.mjs";
|
|
3
3
|
import { t as organizations_exports } from "./custom/organizations.mjs";
|
|
4
4
|
import { t as search_exports } from "./custom/search.mjs";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { i as zendeskPlatform, t as zendeskCustom } from "./integration-
|
|
2
|
-
import { createOfficialOperationFactory } from "@keystrokehq/integration-authoring/official";
|
|
1
|
+
import { i as zendeskPlatform, l as createOfficialOperationFactory, t as zendeskCustom } from "./integration-DwdrlwuX.mjs";
|
|
3
2
|
|
|
4
3
|
//#region src/factory.ts
|
|
5
4
|
const zendeskPlatformOperation = createOfficialOperationFactory(zendeskPlatform);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import * as _keystrokehq_integration_authoring_official0 from "@keystrokehq/integration-authoring/official";
|
|
2
|
-
import { z } from "zod";
|
|
3
1
|
import * as _keystrokehq_core0 from "@keystrokehq/core";
|
|
4
2
|
import { CredentialSet } from "@keystrokehq/core";
|
|
3
|
+
import { z } from "zod";
|
|
5
4
|
import * as _keystrokehq_core_credential_set0 from "@keystrokehq/core/credential-set";
|
|
6
5
|
import { InferCredentialSetAuth } from "@keystrokehq/core/credential-set";
|
|
7
6
|
|
|
@@ -36,8 +35,7 @@ declare const zendeskOfficialProviderSeed: {
|
|
|
36
35
|
//#endregion
|
|
37
36
|
//#region src/integration.d.ts
|
|
38
37
|
declare const zendeskPlatformOfficialIntegration: {
|
|
39
|
-
id: "zendesk-
|
|
40
|
-
publicId: string;
|
|
38
|
+
id: "zendesk.platform-oauth";
|
|
41
39
|
name: string;
|
|
42
40
|
description: string;
|
|
43
41
|
auth: z.ZodObject<{
|
|
@@ -58,7 +56,7 @@ declare const zendeskPlatformOfficialIntegration: {
|
|
|
58
56
|
}[];
|
|
59
57
|
};
|
|
60
58
|
declare const zendeskCustomOfficialIntegration: {
|
|
61
|
-
id: "zendesk-
|
|
59
|
+
id: "zendesk.custom-token";
|
|
62
60
|
name: string;
|
|
63
61
|
description: string;
|
|
64
62
|
auth: z.ZodObject<{
|
|
@@ -67,23 +65,23 @@ declare const zendeskCustomOfficialIntegration: {
|
|
|
67
65
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
68
66
|
}, z.core.$strip>;
|
|
69
67
|
};
|
|
70
|
-
declare const zendeskPlatformBundle:
|
|
68
|
+
declare const zendeskPlatformBundle: undefined<"zendesk.platform-oauth", z.ZodObject<{
|
|
71
69
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
72
70
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
73
71
|
}, z.core.$strip>>;
|
|
74
|
-
declare const zendeskCustomBundle:
|
|
72
|
+
declare const zendeskCustomBundle: undefined<"zendesk.custom-token", z.ZodObject<{
|
|
75
73
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
76
74
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
77
75
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
78
76
|
}, z.core.$strip>>;
|
|
79
|
-
declare const zendeskPlatform: _keystrokehq_core0.CredentialSet<"
|
|
77
|
+
declare const zendeskPlatform: _keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
80
78
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
81
79
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
82
80
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
83
81
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
84
82
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
85
83
|
}, z.core.$strip>>[] | undefined>;
|
|
86
|
-
declare const zendeskCustom: _keystrokehq_core0.CredentialSet<"
|
|
84
|
+
declare const zendeskCustom: _keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
87
85
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
88
86
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
89
87
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { CredentialSet, Operation } from "@keystrokehq/core";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
|
|
4
|
+
//#region ../../packages/integration-authoring/dist/official/runtime.mjs
|
|
5
|
+
const REGISTRY_KEY = "__ks_official_integration_metadata_registry";
|
|
6
|
+
function getRegistry() {
|
|
7
|
+
const globalStore = globalThis;
|
|
8
|
+
if (!globalStore[REGISTRY_KEY]) globalStore[REGISTRY_KEY] = /* @__PURE__ */ new WeakMap();
|
|
9
|
+
return globalStore[REGISTRY_KEY];
|
|
10
|
+
}
|
|
11
|
+
function registerOfficialOperation(operation, metadata) {
|
|
12
|
+
getRegistry().set(operation, Object.freeze({ ...metadata }));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
//#region ../../packages/integration-authoring/dist/official/index.mjs
|
|
17
|
+
const OFFICIAL_CREDENTIAL_SET_ID_PREFIX = "keystroke:";
|
|
18
|
+
function officialCredentialSetId(id) {
|
|
19
|
+
return `${OFFICIAL_CREDENTIAL_SET_ID_PREFIX}${id}`;
|
|
20
|
+
}
|
|
21
|
+
function stripOfficialCredentialSetIdPrefix(id) {
|
|
22
|
+
return id.startsWith(OFFICIAL_CREDENTIAL_SET_ID_PREFIX) ? id.slice(10) : id;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Creates a factory for Keystroke-official integration operations.
|
|
26
|
+
*
|
|
27
|
+
* It keeps the same flat `run(input, credentials)` ergonomics as the generic
|
|
28
|
+
* operation factory, while registering official metadata for builder/runtime
|
|
29
|
+
* operation metadata.
|
|
30
|
+
*/
|
|
31
|
+
function createOfficialOperationFactory(credentialSet) {
|
|
32
|
+
const integrationId = stripOfficialCredentialSetIdPrefix(credentialSet.id);
|
|
33
|
+
return (config) => {
|
|
34
|
+
const wrappedRun = async (input, ctx) => {
|
|
35
|
+
const creds = ctx.credentials[credentialSet.id];
|
|
36
|
+
return config.run(input, creds);
|
|
37
|
+
};
|
|
38
|
+
const operation = new Operation({
|
|
39
|
+
id: config.id,
|
|
40
|
+
name: config.name,
|
|
41
|
+
description: config.description,
|
|
42
|
+
input: config.input,
|
|
43
|
+
output: config.output,
|
|
44
|
+
credentialSets: [credentialSet],
|
|
45
|
+
...config.tags !== void 0 ? { tags: config.tags } : {},
|
|
46
|
+
...config.needsApproval !== void 0 ? { needsApproval: config.needsApproval } : {},
|
|
47
|
+
...config.requiredOAuthScopes !== void 0 ? { requiredOAuthScopes: config.requiredOAuthScopes } : {},
|
|
48
|
+
...config.retries !== void 0 ? { retries: config.retries } : {},
|
|
49
|
+
...config.timeout !== void 0 ? { timeout: config.timeout } : {},
|
|
50
|
+
...config.maxDurationMs !== void 0 ? { maxDurationMs: config.maxDurationMs } : {},
|
|
51
|
+
run: wrappedRun
|
|
52
|
+
});
|
|
53
|
+
registerOfficialOperation(operation, { integrationId });
|
|
54
|
+
return operation;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Creates an official integration bundle from a single config object.
|
|
59
|
+
*
|
|
60
|
+
* - Creates the public `CredentialSet` internally.
|
|
61
|
+
* - Accepts optional `internal` fields for Keystroke-owned platform credentials.
|
|
62
|
+
*/
|
|
63
|
+
function defineOfficialIntegration(config) {
|
|
64
|
+
const internalCredentialSets = config.internal ?? {};
|
|
65
|
+
const allInternalCredentialSets = [
|
|
66
|
+
...internalCredentialSets.providerApp ? [internalCredentialSets.providerApp] : [],
|
|
67
|
+
...internalCredentialSets.providerAppVariants ?? [],
|
|
68
|
+
...internalCredentialSets.webhookVerification ? [internalCredentialSets.webhookVerification] : [],
|
|
69
|
+
...internalCredentialSets.other ?? []
|
|
70
|
+
];
|
|
71
|
+
const credentialSet = new CredentialSet({
|
|
72
|
+
id: config.id,
|
|
73
|
+
name: config.name,
|
|
74
|
+
description: config.description,
|
|
75
|
+
auth: config.auth,
|
|
76
|
+
...config.connections ? { connections: config.connections } : {},
|
|
77
|
+
...config.proxy ? { proxy: config.proxy } : {},
|
|
78
|
+
...config.needsRawSecret === true ? { needsRawSecret: true } : {}
|
|
79
|
+
});
|
|
80
|
+
return Object.freeze({
|
|
81
|
+
integration: {
|
|
82
|
+
id: config.id,
|
|
83
|
+
name: config.name,
|
|
84
|
+
...config.description !== void 0 ? { description: config.description } : {},
|
|
85
|
+
auth: config.auth,
|
|
86
|
+
...config.proxy ? { proxy: config.proxy } : {},
|
|
87
|
+
...config.needsRawSecret === true ? { needsRawSecret: true } : {},
|
|
88
|
+
...config.connections ? { connections: config.connections } : {}
|
|
89
|
+
},
|
|
90
|
+
credentialSet,
|
|
91
|
+
internalCredentialSets,
|
|
92
|
+
allInternalCredentialSets
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
//#endregion
|
|
97
|
+
//#region src/_official/provider-app.ts
|
|
98
|
+
const zendeskPlatformAppCredentialSet = new CredentialSet({
|
|
99
|
+
id: officialCredentialSetId("zendesk-platform-app"),
|
|
100
|
+
exposure: "platform-only",
|
|
101
|
+
name: "Zendesk Platform App",
|
|
102
|
+
auth: z.object({
|
|
103
|
+
clientId: z.string().min(1),
|
|
104
|
+
clientSecret: z.string().min(1),
|
|
105
|
+
webhookSigningSecret: z.string().min(1)
|
|
106
|
+
})
|
|
107
|
+
});
|
|
108
|
+
const zendeskOfficialProviderSeed = {
|
|
109
|
+
provider: "zendesk",
|
|
110
|
+
appRef: "zendesk-platform",
|
|
111
|
+
displayName: "Zendesk Platform",
|
|
112
|
+
credentialSetName: "Keystroke Zendesk Platform App",
|
|
113
|
+
envShape: {
|
|
114
|
+
KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_ID: z.string().optional(),
|
|
115
|
+
KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_SECRET: z.string().optional(),
|
|
116
|
+
KEYSTROKE_OFFICIAL_ZENDESK_WEBHOOK_SIGNING_SECRET: z.string().optional()
|
|
117
|
+
},
|
|
118
|
+
requiredEnvKeys: [
|
|
119
|
+
"KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_ID",
|
|
120
|
+
"KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_SECRET",
|
|
121
|
+
"KEYSTROKE_OFFICIAL_ZENDESK_WEBHOOK_SIGNING_SECRET"
|
|
122
|
+
],
|
|
123
|
+
externalAppIdEnvKey: "KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_ID",
|
|
124
|
+
buildCredentials: (env) => ({
|
|
125
|
+
clientId: env.KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_ID,
|
|
126
|
+
clientSecret: env.KEYSTROKE_OFFICIAL_ZENDESK_CLIENT_SECRET,
|
|
127
|
+
webhookSigningSecret: env.KEYSTROKE_OFFICIAL_ZENDESK_WEBHOOK_SIGNING_SECRET
|
|
128
|
+
})
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
//#endregion
|
|
132
|
+
//#region src/integration.ts
|
|
133
|
+
const zendeskSubdomainSchema = z.string().trim().min(1).regex(/^[a-zA-Z0-9-]+$/, { error: "Zendesk subdomain must contain only letters, numbers, and hyphens" });
|
|
134
|
+
const zendeskPlatformAuthSchema = z.object({
|
|
135
|
+
ZENDESK_ACCESS_TOKEN: z.string().min(1),
|
|
136
|
+
ZENDESK_SUBDOMAIN: zendeskSubdomainSchema
|
|
137
|
+
});
|
|
138
|
+
const zendeskCustomAuthSchema = z.object({
|
|
139
|
+
ZENDESK_SUBDOMAIN: zendeskSubdomainSchema,
|
|
140
|
+
ZENDESK_EMAIL: z.email(),
|
|
141
|
+
ZENDESK_API_TOKEN: z.string().min(1)
|
|
142
|
+
});
|
|
143
|
+
const zendeskPlatformOfficialIntegration = {
|
|
144
|
+
id: "zendesk.platform-oauth",
|
|
145
|
+
name: "Zendesk (Platform OAuth)",
|
|
146
|
+
description: "Zendesk Support via Keystroke-managed OAuth",
|
|
147
|
+
auth: zendeskPlatformAuthSchema,
|
|
148
|
+
connections: [{
|
|
149
|
+
id: "oauth",
|
|
150
|
+
kind: "oauth",
|
|
151
|
+
tokenType: "refreshable",
|
|
152
|
+
authUrl: "https://{subdomain}.zendesk.com/oauth/authorizations/new",
|
|
153
|
+
tokenUrl: "https://{subdomain}.zendesk.com/oauth/tokens",
|
|
154
|
+
revokeUrl: "https://{subdomain}.zendesk.com/api/v2/oauth/tokens/current",
|
|
155
|
+
scopes: ["read", "write"],
|
|
156
|
+
vault: { accessToken: "ZENDESK_ACCESS_TOKEN" }
|
|
157
|
+
}]
|
|
158
|
+
};
|
|
159
|
+
const zendeskCustomOfficialIntegration = {
|
|
160
|
+
id: "zendesk.custom-token",
|
|
161
|
+
name: "Zendesk (Custom Token)",
|
|
162
|
+
description: "Zendesk Support via bring-your-own API token",
|
|
163
|
+
auth: zendeskCustomAuthSchema
|
|
164
|
+
};
|
|
165
|
+
const zendeskPlatformBundle = defineOfficialIntegration({
|
|
166
|
+
...zendeskPlatformOfficialIntegration,
|
|
167
|
+
internal: { providerApp: zendeskPlatformAppCredentialSet }
|
|
168
|
+
});
|
|
169
|
+
const zendeskCustomBundle = defineOfficialIntegration(zendeskCustomOfficialIntegration);
|
|
170
|
+
const zendeskPlatform = zendeskPlatformBundle.credentialSet;
|
|
171
|
+
const zendeskCustom = zendeskCustomBundle.credentialSet;
|
|
172
|
+
|
|
173
|
+
//#endregion
|
|
174
|
+
export { zendeskPlatformBundle as a, zendeskPlatformAppCredentialSet as c, zendeskPlatform as i, createOfficialOperationFactory as l, zendeskCustomBundle as n, zendeskPlatformOfficialIntegration as o, zendeskCustomOfficialIntegration as r, zendeskOfficialProviderSeed as s, zendeskCustom as t };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { zendeskJobStatusEnvelopeSchema, zendeskJobStatusSchema } from "./schemas.mjs";
|
|
2
|
-
import { n as zendeskPlatformOperation, t as zendeskCustomOperation } from "./factory-
|
|
2
|
+
import { n as zendeskPlatformOperation, t as zendeskCustomOperation } from "./factory-ou1q975N.mjs";
|
|
3
3
|
import { n as createPlatformZendeskClient, t as createCustomZendeskClient } from "./shared-BmxcJmfq.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/jobs.ts
|
|
7
7
|
const getJobStatusInputSchema = z.object({ id: z.string().min(1) });
|
|
8
8
|
const platformGetJobStatus = zendeskPlatformOperation({
|
|
9
|
-
id: "
|
|
9
|
+
id: "zendesk-platform.get-job-status",
|
|
10
10
|
name: "Get Zendesk Job Status",
|
|
11
11
|
description: "Get the status of a Zendesk asynchronous job",
|
|
12
12
|
input: getJobStatusInputSchema,
|
|
@@ -19,7 +19,7 @@ const platformGetJobStatus = zendeskPlatformOperation({
|
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
const customGetJobStatus = zendeskCustomOperation({
|
|
22
|
-
id: "
|
|
22
|
+
id: "zendesk-platform.get-job-status",
|
|
23
23
|
name: "Get Zendesk Job Status",
|
|
24
24
|
description: "Get the status of a Zendesk asynchronous job",
|
|
25
25
|
input: getJobStatusInputSchema,
|
|
@@ -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/jobs.d.ts
|
|
@@ -13,7 +13,7 @@ declare const platformGetJobStatus: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
13
13
|
total: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
14
14
|
url: z.ZodOptional<z.ZodString>;
|
|
15
15
|
results: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
|
|
16
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
16
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
17
17
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
18
18
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
19
19
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ declare const customGetJobStatus: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
30
30
|
total: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
31
31
|
url: z.ZodOptional<z.ZodString>;
|
|
32
32
|
results: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
|
|
33
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
33
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
34
34
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
35
35
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
36
36
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -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/organizations.d.ts
|
|
@@ -8,7 +8,7 @@ declare const platformCountOrganizations: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
8
8
|
value: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
9
9
|
refreshed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
11
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
12
12
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
13
13
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
14
14
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -20,7 +20,7 @@ declare const customCountOrganizations: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
20
20
|
value: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
21
21
|
refreshed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
}, z.core.$strip>;
|
|
23
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
23
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
24
24
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
25
25
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
26
26
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -47,7 +47,7 @@ declare const platformListOrganizations: _keystrokehq_core0.Operation<z.ZodObjec
|
|
|
47
47
|
created_at: z.ZodOptional<z.ZodString>;
|
|
48
48
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
49
49
|
}, z.core.$strip>>;
|
|
50
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
50
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
51
51
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
52
52
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
53
53
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -72,7 +72,7 @@ declare const customListOrganizations: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
72
72
|
created_at: z.ZodOptional<z.ZodString>;
|
|
73
73
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
74
74
|
}, z.core.$strip>>;
|
|
75
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
75
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
76
76
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
77
77
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
78
78
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -93,7 +93,7 @@ declare const platformGetOrganization: _keystrokehq_core0.Operation<z.ZodObject<
|
|
|
93
93
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
94
|
created_at: z.ZodOptional<z.ZodString>;
|
|
95
95
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
96
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
96
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
97
97
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
98
98
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
99
99
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -112,7 +112,7 @@ declare const customGetOrganization: _keystrokehq_core0.Operation<z.ZodObject<{
|
|
|
112
112
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
113
113
|
created_at: z.ZodOptional<z.ZodString>;
|
|
114
114
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
115
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
115
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
116
116
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
117
117
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
118
118
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -138,7 +138,7 @@ declare const platformAutocompleteOrganizations: _keystrokehq_core0.Operation<z.
|
|
|
138
138
|
created_at: z.ZodOptional<z.ZodString>;
|
|
139
139
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
140
140
|
}, z.core.$strip>>;
|
|
141
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
141
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
142
142
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
143
143
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
144
144
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -162,7 +162,7 @@ declare const customAutocompleteOrganizations: _keystrokehq_core0.Operation<z.Zo
|
|
|
162
162
|
created_at: z.ZodOptional<z.ZodString>;
|
|
163
163
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
164
164
|
}, z.core.$strip>>;
|
|
165
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
165
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
166
166
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
167
167
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
168
168
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -188,7 +188,7 @@ declare const platformCreateOrganization: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
188
188
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
189
189
|
created_at: z.ZodOptional<z.ZodString>;
|
|
190
190
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
191
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
191
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
192
192
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
193
193
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
194
194
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -212,7 +212,7 @@ declare const customCreateOrganization: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
212
212
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
213
213
|
created_at: z.ZodOptional<z.ZodString>;
|
|
214
214
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
215
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
215
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
216
216
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
217
217
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
218
218
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -239,7 +239,7 @@ declare const platformUpdateOrganization: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
239
239
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
240
240
|
created_at: z.ZodOptional<z.ZodString>;
|
|
241
241
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
242
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
242
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
243
243
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
244
244
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
245
245
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -264,7 +264,7 @@ declare const customUpdateOrganization: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
264
264
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
265
265
|
created_at: z.ZodOptional<z.ZodString>;
|
|
266
266
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
267
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
267
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
268
268
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
269
269
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
270
270
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -277,7 +277,7 @@ declare const platformDeleteOrganization: _keystrokehq_core0.Operation<z.ZodObje
|
|
|
277
277
|
id: z.ZodNumber;
|
|
278
278
|
}, z.core.$strip>, z.ZodObject<{
|
|
279
279
|
success: z.ZodBoolean;
|
|
280
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
280
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
281
281
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
282
282
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
283
283
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -288,7 +288,7 @@ declare const customDeleteOrganization: _keystrokehq_core0.Operation<z.ZodObject
|
|
|
288
288
|
id: z.ZodNumber;
|
|
289
289
|
}, z.core.$strip>, z.ZodObject<{
|
|
290
290
|
success: z.ZodBoolean;
|
|
291
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
291
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
292
292
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
293
293
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
294
294
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -316,7 +316,7 @@ declare const platformCreateManyOrganizations: _keystrokehq_core0.Operation<z.Zo
|
|
|
316
316
|
url: z.ZodOptional<z.ZodString>;
|
|
317
317
|
results: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
|
|
318
318
|
}, z.core.$strip>;
|
|
319
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
319
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.platform-oauth", z.ZodObject<{
|
|
320
320
|
ZENDESK_ACCESS_TOKEN: z.ZodString;
|
|
321
321
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
322
322
|
}, z.core.$strip>, readonly _keystrokehq_core_credential_set0.CredentialConnection<z.ZodObject<{
|
|
@@ -342,7 +342,7 @@ declare const customCreateManyOrganizations: _keystrokehq_core0.Operation<z.ZodO
|
|
|
342
342
|
url: z.ZodOptional<z.ZodString>;
|
|
343
343
|
results: z.ZodOptional<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>]>>;
|
|
344
344
|
}, z.core.$strip>;
|
|
345
|
-
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"
|
|
345
|
+
}, z.core.$strip>, readonly [_keystrokehq_core0.CredentialSet<"zendesk.custom-token", z.ZodObject<{
|
|
346
346
|
ZENDESK_SUBDOMAIN: z.ZodString;
|
|
347
347
|
ZENDESK_EMAIL: z.ZodEmail;
|
|
348
348
|
ZENDESK_API_TOKEN: z.ZodString;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { zendeskBulkJobResponseSchema, zendeskOrganizationCountSchema, zendeskOrganizationEnvelopeSchema, zendeskOrganizationListResponseSchema, zendeskOrganizationSchema } from "./schemas.mjs";
|
|
2
|
-
import { n as zendeskPlatformOperation, t as zendeskCustomOperation } from "./factory-
|
|
2
|
+
import { n as zendeskPlatformOperation, t as zendeskCustomOperation } from "./factory-ou1q975N.mjs";
|
|
3
3
|
import { n as createPlatformZendeskClient, t as createCustomZendeskClient } from "./shared-BmxcJmfq.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
@@ -39,7 +39,7 @@ function mapOrganizationInput(input) {
|
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
41
|
const platformCountOrganizations = zendeskPlatformOperation({
|
|
42
|
-
id: "
|
|
42
|
+
id: "zendesk-platform.count-organizations",
|
|
43
43
|
name: "Count Zendesk Organizations",
|
|
44
44
|
description: "Count organizations in Zendesk Support",
|
|
45
45
|
input: z.object({}),
|
|
@@ -52,7 +52,7 @@ const platformCountOrganizations = zendeskPlatformOperation({
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
const customCountOrganizations = zendeskCustomOperation({
|
|
55
|
-
id: "
|
|
55
|
+
id: "zendesk-platform.count-organizations",
|
|
56
56
|
name: "Count Zendesk Organizations",
|
|
57
57
|
description: "Count organizations in Zendesk Support",
|
|
58
58
|
input: z.object({}),
|
|
@@ -65,7 +65,7 @@ const customCountOrganizations = zendeskCustomOperation({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
const platformListOrganizations = zendeskPlatformOperation({
|
|
68
|
-
id: "
|
|
68
|
+
id: "zendesk-platform.list-organizations",
|
|
69
69
|
name: "List Zendesk Organizations",
|
|
70
70
|
description: "List organizations from Zendesk Support",
|
|
71
71
|
input: listOrganizationsInputSchema,
|
|
@@ -82,7 +82,7 @@ const platformListOrganizations = zendeskPlatformOperation({
|
|
|
82
82
|
}
|
|
83
83
|
});
|
|
84
84
|
const customListOrganizations = zendeskCustomOperation({
|
|
85
|
-
id: "
|
|
85
|
+
id: "zendesk-platform.list-organizations",
|
|
86
86
|
name: "List Zendesk Organizations",
|
|
87
87
|
description: "List organizations from Zendesk Support",
|
|
88
88
|
input: listOrganizationsInputSchema,
|
|
@@ -99,7 +99,7 @@ const customListOrganizations = zendeskCustomOperation({
|
|
|
99
99
|
}
|
|
100
100
|
});
|
|
101
101
|
const platformGetOrganization = zendeskPlatformOperation({
|
|
102
|
-
id: "
|
|
102
|
+
id: "zendesk-platform.get-organization",
|
|
103
103
|
name: "Get Zendesk Organization",
|
|
104
104
|
description: "Get a single Zendesk organization by ID",
|
|
105
105
|
input: getOrganizationInputSchema,
|
|
@@ -112,7 +112,7 @@ const platformGetOrganization = zendeskPlatformOperation({
|
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
const customGetOrganization = zendeskCustomOperation({
|
|
115
|
-
id: "
|
|
115
|
+
id: "zendesk-platform.get-organization",
|
|
116
116
|
name: "Get Zendesk Organization",
|
|
117
117
|
description: "Get a single Zendesk organization by ID",
|
|
118
118
|
input: getOrganizationInputSchema,
|
|
@@ -125,7 +125,7 @@ const customGetOrganization = zendeskCustomOperation({
|
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
const platformAutocompleteOrganizations = zendeskPlatformOperation({
|
|
128
|
-
id: "
|
|
128
|
+
id: "zendesk-platform.autocomplete-organizations",
|
|
129
129
|
name: "Autocomplete Zendesk Organizations",
|
|
130
130
|
description: "Find Zendesk organizations by name prefix",
|
|
131
131
|
input: autocompleteOrganizationsInputSchema,
|
|
@@ -139,7 +139,7 @@ const platformAutocompleteOrganizations = zendeskPlatformOperation({
|
|
|
139
139
|
}
|
|
140
140
|
});
|
|
141
141
|
const customAutocompleteOrganizations = zendeskCustomOperation({
|
|
142
|
-
id: "
|
|
142
|
+
id: "zendesk-platform.autocomplete-organizations",
|
|
143
143
|
name: "Autocomplete Zendesk Organizations",
|
|
144
144
|
description: "Find Zendesk organizations by name prefix",
|
|
145
145
|
input: autocompleteOrganizationsInputSchema,
|
|
@@ -153,7 +153,7 @@ const customAutocompleteOrganizations = zendeskCustomOperation({
|
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
155
|
const platformCreateOrganization = zendeskPlatformOperation({
|
|
156
|
-
id: "
|
|
156
|
+
id: "zendesk-platform.create-organization",
|
|
157
157
|
name: "Create Zendesk Organization",
|
|
158
158
|
description: "Create a new Zendesk organization",
|
|
159
159
|
input: organizationCreateInputSchema,
|
|
@@ -168,7 +168,7 @@ const platformCreateOrganization = zendeskPlatformOperation({
|
|
|
168
168
|
}
|
|
169
169
|
});
|
|
170
170
|
const customCreateOrganization = zendeskCustomOperation({
|
|
171
|
-
id: "
|
|
171
|
+
id: "zendesk-platform.create-organization",
|
|
172
172
|
name: "Create Zendesk Organization",
|
|
173
173
|
description: "Create a new Zendesk organization",
|
|
174
174
|
input: organizationCreateInputSchema,
|
|
@@ -183,7 +183,7 @@ const customCreateOrganization = zendeskCustomOperation({
|
|
|
183
183
|
}
|
|
184
184
|
});
|
|
185
185
|
const platformUpdateOrganization = zendeskPlatformOperation({
|
|
186
|
-
id: "
|
|
186
|
+
id: "zendesk-platform.update-organization",
|
|
187
187
|
name: "Update Zendesk Organization",
|
|
188
188
|
description: "Update an existing Zendesk organization",
|
|
189
189
|
input: organizationUpdateInputSchema,
|
|
@@ -198,7 +198,7 @@ const platformUpdateOrganization = zendeskPlatformOperation({
|
|
|
198
198
|
}
|
|
199
199
|
});
|
|
200
200
|
const customUpdateOrganization = zendeskCustomOperation({
|
|
201
|
-
id: "
|
|
201
|
+
id: "zendesk-platform.update-organization",
|
|
202
202
|
name: "Update Zendesk Organization",
|
|
203
203
|
description: "Update an existing Zendesk organization",
|
|
204
204
|
input: organizationUpdateInputSchema,
|
|
@@ -213,7 +213,7 @@ const customUpdateOrganization = zendeskCustomOperation({
|
|
|
213
213
|
}
|
|
214
214
|
});
|
|
215
215
|
const platformDeleteOrganization = zendeskPlatformOperation({
|
|
216
|
-
id: "
|
|
216
|
+
id: "zendesk-platform.delete-organization",
|
|
217
217
|
name: "Delete Zendesk Organization",
|
|
218
218
|
description: "Delete a Zendesk organization",
|
|
219
219
|
input: getOrganizationInputSchema,
|
|
@@ -228,7 +228,7 @@ const platformDeleteOrganization = zendeskPlatformOperation({
|
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
const customDeleteOrganization = zendeskCustomOperation({
|
|
231
|
-
id: "
|
|
231
|
+
id: "zendesk-platform.delete-organization",
|
|
232
232
|
name: "Delete Zendesk Organization",
|
|
233
233
|
description: "Delete a Zendesk organization",
|
|
234
234
|
input: getOrganizationInputSchema,
|
|
@@ -243,7 +243,7 @@ const customDeleteOrganization = zendeskCustomOperation({
|
|
|
243
243
|
}
|
|
244
244
|
});
|
|
245
245
|
const platformCreateManyOrganizations = zendeskPlatformOperation({
|
|
246
|
-
id: "
|
|
246
|
+
id: "zendesk-platform.create-many-organizations",
|
|
247
247
|
name: "Create Many Zendesk Organizations",
|
|
248
248
|
description: "Create multiple Zendesk organizations asynchronously",
|
|
249
249
|
input: createManyOrganizationsInputSchema,
|
|
@@ -258,7 +258,7 @@ const platformCreateManyOrganizations = zendeskPlatformOperation({
|
|
|
258
258
|
}
|
|
259
259
|
});
|
|
260
260
|
const customCreateManyOrganizations = zendeskCustomOperation({
|
|
261
|
-
id: "
|
|
261
|
+
id: "zendesk-platform.create-many-organizations",
|
|
262
262
|
name: "Create Many Zendesk Organizations",
|
|
263
263
|
description: "Create multiple Zendesk organizations asynchronously",
|
|
264
264
|
input: createManyOrganizationsInputSchema,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as zendeskPlatformOfficialIntegration, n as ZendeskPlatformCredentials, o as zendeskPlatform, s as zendeskPlatformBundle } from "../integration-
|
|
1
|
+
import { c as zendeskPlatformOfficialIntegration, n as ZendeskPlatformCredentials, o as zendeskPlatform, s as zendeskPlatformBundle } from "../integration-CdHa-pMh.mjs";
|
|
2
2
|
export { type ZendeskPlatformCredentials, zendeskPlatform, zendeskPlatformBundle, zendeskPlatformOfficialIntegration };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as zendeskPlatformBundle, i as zendeskPlatform, o as zendeskPlatformOfficialIntegration } from "../integration-
|
|
1
|
+
import { a as zendeskPlatformBundle, i as zendeskPlatform, o as zendeskPlatformOfficialIntegration } from "../integration-DwdrlwuX.mjs";
|
|
2
2
|
|
|
3
3
|
export { zendeskPlatform, zendeskPlatformBundle, zendeskPlatformOfficialIntegration };
|
package/dist/platform/jobs.d.mts
CHANGED