syllable-sdk 0.1.0-alpha.18 → 0.1.0-alpha.19
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/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/custommessageresponse.d.ts +5 -0
- package/models/components/custommessageresponse.d.ts.map +1 -1
- package/models/components/custommessageresponse.js +4 -0
- package/models/components/custommessageresponse.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/custommessageresponse.ts +9 -0
package/lib/config.d.ts
CHANGED
|
@@ -27,8 +27,8 @@ export declare function serverURLFromOptions(options: SDKOptions): URL | null;
|
|
|
27
27
|
export declare const SDK_METADATA: {
|
|
28
28
|
readonly language: "typescript";
|
|
29
29
|
readonly openapiDocVersion: "0.0.2";
|
|
30
|
-
readonly sdkVersion: "0.1.0-alpha.
|
|
30
|
+
readonly sdkVersion: "0.1.0-alpha.19";
|
|
31
31
|
readonly genVersion: "2.477.0";
|
|
32
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
32
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.19 2.477.0 0.0.2 syllable-sdk";
|
|
33
33
|
};
|
|
34
34
|
//# sourceMappingURL=config.d.ts.map
|
package/lib/config.js
CHANGED
|
@@ -36,8 +36,8 @@ function serverURLFromOptions(options) {
|
|
|
36
36
|
exports.SDK_METADATA = {
|
|
37
37
|
language: "typescript",
|
|
38
38
|
openapiDocVersion: "0.0.2",
|
|
39
|
-
sdkVersion: "0.1.0-alpha.
|
|
39
|
+
sdkVersion: "0.1.0-alpha.19",
|
|
40
40
|
genVersion: "2.477.0",
|
|
41
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
41
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.19 2.477.0 0.0.2 syllable-sdk",
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=config.js.map
|
|
@@ -22,6 +22,10 @@ export type CustomMessageResponse = {
|
|
|
22
22
|
* Timestamp of the most recent update to the custom message
|
|
23
23
|
*/
|
|
24
24
|
updatedAt: Date;
|
|
25
|
+
/**
|
|
26
|
+
* The number of agents using the custom message
|
|
27
|
+
*/
|
|
28
|
+
agentCount?: number | null | undefined;
|
|
25
29
|
type?: string | undefined;
|
|
26
30
|
};
|
|
27
31
|
/** @internal */
|
|
@@ -33,6 +37,7 @@ export type CustomMessageResponse$Outbound = {
|
|
|
33
37
|
label?: string | null | undefined;
|
|
34
38
|
id: number;
|
|
35
39
|
updated_at: string;
|
|
40
|
+
agent_count?: number | null | undefined;
|
|
36
41
|
type: string;
|
|
37
42
|
};
|
|
38
43
|
/** @internal */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageresponse.d.ts","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,IAAI,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,qBAAqB,EACrB,CAAC,CAAC,UAAU,EACZ,OAAO,
|
|
1
|
+
{"version":3,"file":"custommessageresponse.d.ts","sourceRoot":"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AC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
|
|
@@ -39,10 +39,12 @@ exports.CustomMessageResponse$inboundSchema = z.object({
|
|
|
39
39
|
label: z.nullable(z.string()).optional(),
|
|
40
40
|
id: z.number().int(),
|
|
41
41
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
42
|
+
agent_count: z.nullable(z.number().int()).optional(),
|
|
42
43
|
type: z.string().default("greeting"),
|
|
43
44
|
}).transform((v) => {
|
|
44
45
|
return (0, primitives_js_1.remap)(v, {
|
|
45
46
|
"updated_at": "updatedAt",
|
|
47
|
+
"agent_count": "agentCount",
|
|
46
48
|
});
|
|
47
49
|
});
|
|
48
50
|
/** @internal */
|
|
@@ -52,10 +54,12 @@ exports.CustomMessageResponse$outboundSchema = z.object({
|
|
|
52
54
|
label: z.nullable(z.string()).optional(),
|
|
53
55
|
id: z.number().int(),
|
|
54
56
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
57
|
+
agentCount: z.nullable(z.number().int()).optional(),
|
|
55
58
|
type: z.string().default("greeting"),
|
|
56
59
|
}).transform((v) => {
|
|
57
60
|
return (0, primitives_js_1.remap)(v, {
|
|
58
61
|
updatedAt: "updated_at",
|
|
62
|
+
agentCount: "agent_count",
|
|
59
63
|
});
|
|
60
64
|
});
|
|
61
65
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA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src/lib/config.ts
CHANGED
|
@@ -61,8 +61,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
61
61
|
export const SDK_METADATA = {
|
|
62
62
|
language: "typescript",
|
|
63
63
|
openapiDocVersion: "0.0.2",
|
|
64
|
-
sdkVersion: "0.1.0-alpha.
|
|
64
|
+
sdkVersion: "0.1.0-alpha.19",
|
|
65
65
|
genVersion: "2.477.0",
|
|
66
66
|
userAgent:
|
|
67
|
-
"speakeasy-sdk/typescript 0.1.0-alpha.
|
|
67
|
+
"speakeasy-sdk/typescript 0.1.0-alpha.19 2.477.0 0.0.2 syllable-sdk",
|
|
68
68
|
} as const;
|
|
@@ -29,6 +29,10 @@ export type CustomMessageResponse = {
|
|
|
29
29
|
* Timestamp of the most recent update to the custom message
|
|
30
30
|
*/
|
|
31
31
|
updatedAt: Date;
|
|
32
|
+
/**
|
|
33
|
+
* The number of agents using the custom message
|
|
34
|
+
*/
|
|
35
|
+
agentCount?: number | null | undefined;
|
|
32
36
|
type?: string | undefined;
|
|
33
37
|
};
|
|
34
38
|
|
|
@@ -43,10 +47,12 @@ export const CustomMessageResponse$inboundSchema: z.ZodType<
|
|
|
43
47
|
label: z.nullable(z.string()).optional(),
|
|
44
48
|
id: z.number().int(),
|
|
45
49
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
50
|
+
agent_count: z.nullable(z.number().int()).optional(),
|
|
46
51
|
type: z.string().default("greeting"),
|
|
47
52
|
}).transform((v) => {
|
|
48
53
|
return remap$(v, {
|
|
49
54
|
"updated_at": "updatedAt",
|
|
55
|
+
"agent_count": "agentCount",
|
|
50
56
|
});
|
|
51
57
|
});
|
|
52
58
|
|
|
@@ -57,6 +63,7 @@ export type CustomMessageResponse$Outbound = {
|
|
|
57
63
|
label?: string | null | undefined;
|
|
58
64
|
id: number;
|
|
59
65
|
updated_at: string;
|
|
66
|
+
agent_count?: number | null | undefined;
|
|
60
67
|
type: string;
|
|
61
68
|
};
|
|
62
69
|
|
|
@@ -71,10 +78,12 @@ export const CustomMessageResponse$outboundSchema: z.ZodType<
|
|
|
71
78
|
label: z.nullable(z.string()).optional(),
|
|
72
79
|
id: z.number().int(),
|
|
73
80
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
81
|
+
agentCount: z.nullable(z.number().int()).optional(),
|
|
74
82
|
type: z.string().default("greeting"),
|
|
75
83
|
}).transform((v) => {
|
|
76
84
|
return remap$(v, {
|
|
77
85
|
updatedAt: "updated_at",
|
|
86
|
+
agentCount: "agent_count",
|
|
78
87
|
});
|
|
79
88
|
});
|
|
80
89
|
|