@gtmi/ramp-agent-client 0.0.1
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/LICENSE +21 -0
- package/README.md +44 -0
- package/dist/es/index.d.mts +1430 -0
- package/dist/es/index.mjs +1288 -0
- package/package.json +46 -0
- package/src/client.test.ts +38 -0
- package/src/client.ts +15 -0
- package/src/client.types.ts +11 -0
- package/src/generated/client/client.gen.ts +277 -0
- package/src/generated/client/index.ts +27 -0
- package/src/generated/client/types.gen.ts +214 -0
- package/src/generated/client/utils.gen.ts +316 -0
- package/src/generated/client.gen.ts +18 -0
- package/src/generated/core/auth.gen.ts +48 -0
- package/src/generated/core/bodySerializer.gen.ts +82 -0
- package/src/generated/core/params.gen.ts +178 -0
- package/src/generated/core/pathSerializer.gen.ts +171 -0
- package/src/generated/core/queryKeySerializer.gen.ts +117 -0
- package/src/generated/core/serverSentEvents.gen.ts +242 -0
- package/src/generated/core/types.gen.ts +110 -0
- package/src/generated/core/utils.gen.ts +140 -0
- package/src/generated/index.ts +128 -0
- package/src/generated/sdk.gen.ts +673 -0
- package/src/generated/types.gen.ts +795 -0
- package/src/generated/zod.gen.ts +89 -0
- package/src/index.ts +7 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
|
|
5
|
+
export const zGetPhoneLogsByPhoneNumberPath = z.object({
|
|
6
|
+
phoneNumber: z.string(),
|
|
7
|
+
});
|
|
8
|
+
|
|
9
|
+
export const zPostOutboundCallBody = z.object({
|
|
10
|
+
to: z.string(),
|
|
11
|
+
from: z.string(),
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export const zGetOutboundCallByCallSidPath = z.object({
|
|
15
|
+
callSid: z.string(),
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
export const zPostOutboundCommunicationTextBody = z.record(z.unknown());
|
|
19
|
+
|
|
20
|
+
export const zDeleteLiveNumbersByPhoneNumberPath = z.object({
|
|
21
|
+
phoneNumber: z.string(),
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
export const zDeleteKillConversationByPhoneNumberPath = z.object({
|
|
25
|
+
phoneNumber: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export const zPostSendEmailBody = z.object({
|
|
29
|
+
to: z.string(),
|
|
30
|
+
subject: z.string(),
|
|
31
|
+
text: z.string(),
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export const zPostAddMessageBody = z.object({
|
|
35
|
+
to: z.string(),
|
|
36
|
+
content: z.string(),
|
|
37
|
+
});
|
|
38
|
+
|
|
39
|
+
export const zPostActiveConversationsAgentClaimBody = z.record(z.unknown());
|
|
40
|
+
|
|
41
|
+
export const zGetActiveConversationsAgentByAgentNumberPath = z.object({
|
|
42
|
+
agentNumber: z.string(),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export const zGetActiveConversationsByCustomerNumberPath = z.object({
|
|
46
|
+
customerNumber: z.string(),
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
export const zPostCallBody = z.record(z.unknown());
|
|
50
|
+
|
|
51
|
+
export const zPostLiveAgentBody = z.object({
|
|
52
|
+
From: z.string(),
|
|
53
|
+
To: z.string(),
|
|
54
|
+
Direction: z.string(),
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
export const zPostRedirectToLiveAgentBody = z.record(z.unknown());
|
|
58
|
+
|
|
59
|
+
export const zGetStressTestQuery = z.object({
|
|
60
|
+
From: z.string().optional(),
|
|
61
|
+
To: z.string().optional(),
|
|
62
|
+
CallSid: z.string().optional(),
|
|
63
|
+
SpeechResult: z.string().optional(),
|
|
64
|
+
Confidence: z.string().optional(),
|
|
65
|
+
CallStatus: z.string().optional(),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export const zPostStressTestSmsBody = z.record(z.unknown());
|
|
69
|
+
|
|
70
|
+
export const zPostStressTestSmsQuery = z.object({
|
|
71
|
+
From: z.string().optional(),
|
|
72
|
+
To: z.string().optional(),
|
|
73
|
+
CallSid: z.string().optional(),
|
|
74
|
+
SpeechResult: z.string().optional(),
|
|
75
|
+
Confidence: z.string().optional(),
|
|
76
|
+
CallStatus: z.string().optional(),
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
export const zPostWebchatSendBody = z.record(z.unknown());
|
|
80
|
+
|
|
81
|
+
export const zPostCintelOperatorsBody = z.record(z.unknown());
|
|
82
|
+
|
|
83
|
+
export const zPostFlexTranscriptionBody = z.record(z.unknown());
|
|
84
|
+
|
|
85
|
+
export const zPostTaskrouterWebhookBody = z.record(z.unknown());
|
|
86
|
+
|
|
87
|
+
export const zPostResolvePhoneBody = z.record(z.unknown());
|
|
88
|
+
|
|
89
|
+
export const zPostCommunicationTextBody = z.record(z.unknown());
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { createRampAgentClient } from './client';
|
|
2
|
+
export { type CreateRampAgentClientOptions } from './client.types';
|
|
3
|
+
|
|
4
|
+
export type { Client, Config, RequestResult } from './generated/client';
|
|
5
|
+
|
|
6
|
+
export * from './generated';
|
|
7
|
+
export * as schemas from './generated/zod.gen';
|