syllable-sdk 0.1.0-alpha.19 → 0.1.0-alpha.20
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.20";
|
|
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.20 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.20",
|
|
40
40
|
genVersion: "2.477.0",
|
|
41
|
-
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.
|
|
41
|
+
userAgent: "speakeasy-sdk/typescript 0.1.0-alpha.20 2.477.0 0.0.2 syllable-sdk",
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=config.js.map
|
|
@@ -26,6 +26,10 @@ export type CustomMessageResponse = {
|
|
|
26
26
|
* The number of agents using the custom message
|
|
27
27
|
*/
|
|
28
28
|
agentCount?: number | null | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* The email address of the user who most recently updated the custom message
|
|
31
|
+
*/
|
|
32
|
+
lastUpdatedBy: string;
|
|
29
33
|
type?: string | undefined;
|
|
30
34
|
};
|
|
31
35
|
/** @internal */
|
|
@@ -38,6 +42,7 @@ export type CustomMessageResponse$Outbound = {
|
|
|
38
42
|
id: number;
|
|
39
43
|
updated_at: string;
|
|
40
44
|
agent_count?: number | null | undefined;
|
|
45
|
+
last_updated_by: string;
|
|
41
46
|
type: string;
|
|
42
47
|
};
|
|
43
48
|
/** @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;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,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":"","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;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,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,CAgBP,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,8BAA8B,GAAG;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,CAAC,CAAC,OAAO,CAC1D,8BAA8B,EAC9B,CAAC,CAAC,UAAU,EACZ,qBAAqB,CAgBrB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;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"}
|
|
@@ -40,11 +40,13 @@ exports.CustomMessageResponse$inboundSchema = z.object({
|
|
|
40
40
|
id: z.number().int(),
|
|
41
41
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
42
42
|
agent_count: z.nullable(z.number().int()).optional(),
|
|
43
|
+
last_updated_by: z.string(),
|
|
43
44
|
type: z.string().default("greeting"),
|
|
44
45
|
}).transform((v) => {
|
|
45
46
|
return (0, primitives_js_1.remap)(v, {
|
|
46
47
|
"updated_at": "updatedAt",
|
|
47
48
|
"agent_count": "agentCount",
|
|
49
|
+
"last_updated_by": "lastUpdatedBy",
|
|
48
50
|
});
|
|
49
51
|
});
|
|
50
52
|
/** @internal */
|
|
@@ -55,11 +57,13 @@ exports.CustomMessageResponse$outboundSchema = z.object({
|
|
|
55
57
|
id: z.number().int(),
|
|
56
58
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
57
59
|
agentCount: z.nullable(z.number().int()).optional(),
|
|
60
|
+
lastUpdatedBy: z.string(),
|
|
58
61
|
type: z.string().default("greeting"),
|
|
59
62
|
}).transform((v) => {
|
|
60
63
|
return (0, primitives_js_1.remap)(v, {
|
|
61
64
|
updatedAt: "updated_at",
|
|
62
65
|
agentCount: "agent_count",
|
|
66
|
+
lastUpdatedBy: "last_updated_by",
|
|
63
67
|
});
|
|
64
68
|
});
|
|
65
69
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"custommessageresponse.js","sourceRoot":"","sources":["../../src/models/components/custommessageresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6GH,kEAMC;AAED,sEAQC;AA3HD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAAiD;AAoCjD,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACxC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;IACpB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC;IAC7E,WAAW,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE;IACpD,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE;IAC3B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA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,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
package/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.20",
|
|
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.20 2.477.0 0.0.2 syllable-sdk",
|
|
68
68
|
} as const;
|
|
@@ -33,6 +33,10 @@ export type CustomMessageResponse = {
|
|
|
33
33
|
* The number of agents using the custom message
|
|
34
34
|
*/
|
|
35
35
|
agentCount?: number | null | undefined;
|
|
36
|
+
/**
|
|
37
|
+
* The email address of the user who most recently updated the custom message
|
|
38
|
+
*/
|
|
39
|
+
lastUpdatedBy: string;
|
|
36
40
|
type?: string | undefined;
|
|
37
41
|
};
|
|
38
42
|
|
|
@@ -48,11 +52,13 @@ export const CustomMessageResponse$inboundSchema: z.ZodType<
|
|
|
48
52
|
id: z.number().int(),
|
|
49
53
|
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
50
54
|
agent_count: z.nullable(z.number().int()).optional(),
|
|
55
|
+
last_updated_by: z.string(),
|
|
51
56
|
type: z.string().default("greeting"),
|
|
52
57
|
}).transform((v) => {
|
|
53
58
|
return remap$(v, {
|
|
54
59
|
"updated_at": "updatedAt",
|
|
55
60
|
"agent_count": "agentCount",
|
|
61
|
+
"last_updated_by": "lastUpdatedBy",
|
|
56
62
|
});
|
|
57
63
|
});
|
|
58
64
|
|
|
@@ -64,6 +70,7 @@ export type CustomMessageResponse$Outbound = {
|
|
|
64
70
|
id: number;
|
|
65
71
|
updated_at: string;
|
|
66
72
|
agent_count?: number | null | undefined;
|
|
73
|
+
last_updated_by: string;
|
|
67
74
|
type: string;
|
|
68
75
|
};
|
|
69
76
|
|
|
@@ -79,11 +86,13 @@ export const CustomMessageResponse$outboundSchema: z.ZodType<
|
|
|
79
86
|
id: z.number().int(),
|
|
80
87
|
updatedAt: z.date().transform(v => v.toISOString()),
|
|
81
88
|
agentCount: z.nullable(z.number().int()).optional(),
|
|
89
|
+
lastUpdatedBy: z.string(),
|
|
82
90
|
type: z.string().default("greeting"),
|
|
83
91
|
}).transform((v) => {
|
|
84
92
|
return remap$(v, {
|
|
85
93
|
updatedAt: "updated_at",
|
|
86
94
|
agentCount: "agent_count",
|
|
95
|
+
lastUpdatedBy: "last_updated_by",
|
|
87
96
|
});
|
|
88
97
|
});
|
|
89
98
|
|