@webitel/api-services 0.0.101 → 0.0.103
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/package.json +1 -1
- package/src/api/clients/pdfServices/pdfServices.ts +2 -1
- package/src/gen/_models/listCallExportsParams.ts +4 -0
- package/src/gen/_models/listScreenrecordingExportsParams.ts +4 -0
- package/src/gen/pdf-service/pdf-service.zod.gen.ts +4 -2
- package/types/gen/_models/listCallExportsParams.d.ts +4 -0
- package/types/gen/_models/listScreenrecordingExportsParams.d.ts +4 -0
- package/types/gen/pdf-service/pdf-service.zod.gen.d.ts +2 -0
package/package.json
CHANGED
|
@@ -78,7 +78,7 @@ const listCallExports = async (params: any) => {
|
|
|
78
78
|
listCallExportsQueryParams,
|
|
79
79
|
);
|
|
80
80
|
|
|
81
|
-
const { page, size } = applyTransform(params, [
|
|
81
|
+
const { page, size, sort } = applyTransform(params, [
|
|
82
82
|
merge(getDefaultGetParams()),
|
|
83
83
|
sanitize(fieldsToSend),
|
|
84
84
|
camelToSnake(),
|
|
@@ -88,6 +88,7 @@ const listCallExports = async (params: any) => {
|
|
|
88
88
|
const response = await getPdfService().listCallExports(params.callId, {
|
|
89
89
|
page,
|
|
90
90
|
size,
|
|
91
|
+
sort
|
|
91
92
|
});
|
|
92
93
|
const { items, next } = applyTransform(response.data, [
|
|
93
94
|
merge(getDefaultGetListResponse()),
|
|
@@ -16,7 +16,8 @@ export const listScreenrecordingExportsParams = zod.object({
|
|
|
16
16
|
|
|
17
17
|
export const listScreenrecordingExportsQueryParams = zod.object({
|
|
18
18
|
"page": zod.number().optional().describe('Page number (1-based).'),
|
|
19
|
-
"size": zod.number().optional().describe('Number of items per page.')
|
|
19
|
+
"size": zod.number().optional().describe('Number of items per page.'),
|
|
20
|
+
"sort": zod.string().optional().describe('sorting criteria, e.g. \"+created_at\" or \"-name\"')
|
|
20
21
|
})
|
|
21
22
|
|
|
22
23
|
export const listScreenrecordingExportsResponseItemsItemStatusDefault = "EXPORT_STATUS_UNSPECIFIED";
|
|
@@ -70,7 +71,8 @@ export const listCallExportsParams = zod.object({
|
|
|
70
71
|
|
|
71
72
|
export const listCallExportsQueryParams = zod.object({
|
|
72
73
|
"page": zod.number().optional().describe('Page number (1-based).'),
|
|
73
|
-
"size": zod.number().optional().describe('Number of items per page.')
|
|
74
|
+
"size": zod.number().optional().describe('Number of items per page.'),
|
|
75
|
+
"sort": zod.string().optional().describe('sorting criteria, e.g. \"+created_at\" or \"-name\"')
|
|
74
76
|
})
|
|
75
77
|
|
|
76
78
|
export const listCallExportsResponseItemsItemStatusDefault = "EXPORT_STATUS_UNSPECIFIED";
|
|
@@ -14,6 +14,7 @@ export declare const listScreenrecordingExportsParams: zod.ZodObject<{
|
|
|
14
14
|
export declare const listScreenrecordingExportsQueryParams: zod.ZodObject<{
|
|
15
15
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
16
16
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
17
|
+
sort: zod.ZodOptional<zod.ZodString>;
|
|
17
18
|
}, zod.z.core.$strip>;
|
|
18
19
|
export declare const listScreenrecordingExportsResponseItemsItemStatusDefault = "EXPORT_STATUS_UNSPECIFIED";
|
|
19
20
|
export declare const listScreenrecordingExportsResponse: zod.ZodObject<{
|
|
@@ -72,6 +73,7 @@ export declare const listCallExportsParams: zod.ZodObject<{
|
|
|
72
73
|
export declare const listCallExportsQueryParams: zod.ZodObject<{
|
|
73
74
|
page: zod.ZodOptional<zod.ZodNumber>;
|
|
74
75
|
size: zod.ZodOptional<zod.ZodNumber>;
|
|
76
|
+
sort: zod.ZodOptional<zod.ZodString>;
|
|
75
77
|
}, zod.z.core.$strip>;
|
|
76
78
|
export declare const listCallExportsResponseItemsItemStatusDefault = "EXPORT_STATUS_UNSPECIFIED";
|
|
77
79
|
export declare const listCallExportsResponse: zod.ZodObject<{
|