@theholocron/zendesk-client 0.5.0 → 0.7.0
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/index.d.mts +3 -5
- package/dist/index.mjs +1 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -142,9 +142,9 @@ type TTicketFieldResponse = IAPIResponse & {
|
|
|
142
142
|
};
|
|
143
143
|
//#endregion
|
|
144
144
|
//#region src/tickets/tickets.types.d.ts
|
|
145
|
-
type TTicketStatus =
|
|
146
|
-
type TTicketPriority =
|
|
147
|
-
type TTicketType =
|
|
145
|
+
type TTicketStatus = 'new' | 'open' | 'pending' | 'hold' | 'solved' | 'closed';
|
|
146
|
+
type TTicketPriority = 'urgent' | 'high' | 'normal' | 'low';
|
|
147
|
+
type TTicketType = 'problem' | 'incident' | 'question' | 'task';
|
|
148
148
|
interface IVia {
|
|
149
149
|
channel: string | number | null;
|
|
150
150
|
source?: {
|
|
@@ -302,8 +302,6 @@ interface ZendeskClientOptions {
|
|
|
302
302
|
baseUrl: string;
|
|
303
303
|
/** Token from createToken(email, apiToken). */
|
|
304
304
|
token: string;
|
|
305
|
-
/** Override fetch for testing. Defaults to globalThis.fetch. */
|
|
306
|
-
fetch?: typeof fetch;
|
|
307
305
|
}
|
|
308
306
|
//#endregion
|
|
309
307
|
//#region src/activities/activities.d.ts
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/zendesk-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "A TypeScript client for the Zendesk API",
|
|
5
5
|
"homepage": "https://github.com/theholocron/clients/tree/main/packages/zendesk-client#readme",
|
|
6
6
|
"bugs": "https://github.com/theholocron/clients/issues",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@theholocron/http-client": "^0.
|
|
24
|
+
"@theholocron/http-client": "^0.6.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^26.1.1",
|