jamespot-user-api 1.0.183 → 1.0.185

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.
Files changed (102) hide show
  1. package/documentation/assets/search.js +1 -1
  2. package/documentation/classes/AdminLicenseApi.html +14 -14
  3. package/documentation/classes/AdminStoreApi.html +1 -1
  4. package/documentation/classes/AdminUtilsApi.html +1 -1
  5. package/documentation/classes/JApplicationApi.html +8 -8
  6. package/documentation/classes/JArticleApi.html +1 -1
  7. package/documentation/classes/JAssetReservation.html +1 -1
  8. package/documentation/classes/JAudienceApi.html +1 -1
  9. package/documentation/classes/JBaseApi.html +1 -1
  10. package/documentation/classes/JBbbApi.html +1 -1
  11. package/documentation/classes/JBookmarkApi.html +1 -1
  12. package/documentation/classes/JBusinessNetworkingApi.html +1 -1
  13. package/documentation/classes/JCommunityApi.html +1 -1
  14. package/documentation/classes/JDatasourceApi.html +1 -1
  15. package/documentation/classes/JDiapazoneApi.html +1 -1
  16. package/documentation/classes/JFaqApi.html +1 -1
  17. package/documentation/classes/JFileApi.html +5 -5
  18. package/documentation/classes/JFilebankApi.html +1 -1
  19. package/documentation/classes/JGlobalApi.html +1 -1
  20. package/documentation/classes/JGroupApi.html +12 -12
  21. package/documentation/classes/JIAApi.html +1 -1
  22. package/documentation/classes/JLandApi.html +1 -1
  23. package/documentation/classes/JMessengerApi.html +1 -1
  24. package/documentation/classes/JObjectApi.html +1 -1
  25. package/documentation/classes/JSearchApi.html +6 -6
  26. package/documentation/classes/JShareApi.html +1 -1
  27. package/documentation/classes/JSocialActionApi.html +1 -1
  28. package/documentation/classes/JTaxonomyApi.html +2 -2
  29. package/documentation/classes/JUserApi.html +7 -7
  30. package/documentation/classes/JWedocApi.html +1 -1
  31. package/documentation/classes/JWidgetApi.html +1 -1
  32. package/documentation/classes/JamespotUserApi.html +1 -1
  33. package/documentation/classes/Network.html +1 -1
  34. package/documentation/classes/TVDisplayApi.html +1 -1
  35. package/documentation/classes/WindowBrowser.html +1 -1
  36. package/documentation/enums/BookmarkType.html +1 -1
  37. package/documentation/enums/Format.html +1 -1
  38. package/documentation/enums/GroupModerateStatus.html +1 -1
  39. package/documentation/enums/StudioApplicationStatus.html +1 -1
  40. package/documentation/enums/WidgetsName.html +1 -1
  41. package/documentation/index.html +1 -1
  42. package/documentation/interfaces/AccessRightObject.html +1 -1
  43. package/documentation/interfaces/ApiDefaultWrapper.html +1 -1
  44. package/documentation/interfaces/ApiWrapper.html +1 -1
  45. package/documentation/interfaces/BaseMessage.html +1 -1
  46. package/documentation/interfaces/FileBankProps.html +1 -1
  47. package/documentation/interfaces/FolderProps.html +1 -1
  48. package/documentation/interfaces/ListFilterSpec.html +1 -1
  49. package/documentation/interfaces/OF.html +1 -1
  50. package/documentation/interfaces/PagingResults.html +1 -1
  51. package/documentation/interfaces/RootFolderProps.html +1 -1
  52. package/documentation/interfaces/SpotProps.html +1 -1
  53. package/documentation/interfaces/TaxonomyCreate.html +1 -1
  54. package/documentation/interfaces/WidgetType.html +1 -1
  55. package/documentation/interfaces/WindowInterface.html +1 -1
  56. package/documentation/modules.html +11 -11
  57. package/lib/jamespot-user-api.js +1 -1
  58. package/lib/jamespot-user-api.js.map +1 -1
  59. package/lib/src/apis/datasource/datasource.d.ts +8 -3
  60. package/lib/src/apis/datasource/datasource.mock.d.ts +2 -0
  61. package/lib/src/apis/tvDisplay/tvDisplay.d.ts +32 -32
  62. package/lib/src/apis/widget/widget.d.ts +20 -3
  63. package/lib/src/apis/widget/widget.mock.d.ts +5 -1
  64. package/lib/src/types/article.d.ts +216 -216
  65. package/lib/src/types/asei.d.ts +22 -22
  66. package/lib/src/types/assetReservation.d.ts +96 -96
  67. package/lib/src/types/businessContact.d.ts +14 -14
  68. package/lib/src/types/comment.d.ts +22 -22
  69. package/lib/src/types/faq.d.ts +118 -118
  70. package/lib/src/types/hook.d.ts +203 -6
  71. package/lib/src/types/jLand.d.ts +36 -36
  72. package/lib/src/types/mediaLibrary.d.ts +22 -22
  73. package/lib/src/types/meeting.d.ts +66 -66
  74. package/lib/src/types/pollSurvey.d.ts +66 -66
  75. package/lib/src/types/quizz.d.ts +66 -66
  76. package/lib/src/types/realtime.d.ts +20 -4
  77. package/lib/src/types/socialEvent.d.ts +66 -66
  78. package/lib/src/types/support.d.ts +66 -66
  79. package/lib/src/types/surveyDate.d.ts +66 -66
  80. package/lib/src/types/tvDisplay.d.ts +560 -560
  81. package/lib/src/types/widgets/common.d.ts +5 -3
  82. package/lib/src/types/widgets/default.d.ts +152 -99
  83. package/lib/src/types/widgets/ensure.d.ts +58 -0
  84. package/lib/src/types/widgets/ensure.test.d.ts +1 -0
  85. package/lib/src/types/widgets/widgetDatasourceTable.d.ts +8 -8
  86. package/lib/src/types/widgets/widgetExcelDatasourceTable.d.ts +8 -8
  87. package/lib/src/types/widgets/widgetPresence.d.ts +132 -0
  88. package/lib/src/types/widgets.d.ts +961 -288
  89. package/lib/src/util/widget.d.ts +6 -9
  90. package/package.json +6 -2
  91. package/phpunitMock/articleGet-with-widgets.json +2 -1
  92. package/phpunitMock/widgetDatasourceCancel-default.json +1 -0
  93. package/phpunitMock/widgetDatasourceGet-get-calc.json +4 -0
  94. package/phpunitMock/widgetDatasourceGet-get-doc.json +4 -0
  95. package/phpunitMock/widgetDatasourceGet-get-studio.json +4 -0
  96. package/phpunitMock/widgetDatasourceGetExcelDatasource-default.json +3 -2
  97. package/phpunitMock/widgetDatasourceGetExcelDatasourceHeaders-default.json +7 -0
  98. package/phpunitMock/widgetPresenceCancel-default.json +1 -0
  99. package/phpunitMock/widgetPresenceGetResponse-available.json +25 -0
  100. package/phpunitMock/widgetPresenceGetResponse-unavailable.json +25 -0
  101. package/phpunitMock/widgetPresenceRespond-available.json +1 -0
  102. package/lib/src/types/widgets/widgetApi.d.ts +0 -24
@@ -0,0 +1,58 @@
1
+ import { z } from 'zod';
2
+ import { jObjectLittle } from '../objectBase';
3
+ export declare const widgetDefinitionPropsSchema: z.ZodObject<{
4
+ label: z.ZodString;
5
+ description: z.ZodString;
6
+ name: z.ZodNativeEnum<typeof import("./common").WidgetsName>;
7
+ img: z.ZodString;
8
+ available: z.ZodBoolean;
9
+ panel: z.ZodObject<{
10
+ useWrapper: z.ZodBoolean;
11
+ useEditor: z.ZodBoolean;
12
+ useWidgets: z.ZodBoolean;
13
+ }, "strip", z.ZodTypeAny, {
14
+ useWrapper: boolean;
15
+ useEditor: boolean;
16
+ useWidgets: boolean;
17
+ }, {
18
+ useWrapper: boolean;
19
+ useEditor: boolean;
20
+ useWidgets: boolean;
21
+ }>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ name: import("./common").WidgetsName;
24
+ description: string;
25
+ label: string;
26
+ img: string;
27
+ available: boolean;
28
+ panel: {
29
+ useWrapper: boolean;
30
+ useEditor: boolean;
31
+ useWidgets: boolean;
32
+ };
33
+ }, {
34
+ name: import("./common").WidgetsName;
35
+ description: string;
36
+ label: string;
37
+ img: string;
38
+ available: boolean;
39
+ panel: {
40
+ useWrapper: boolean;
41
+ useEditor: boolean;
42
+ useWidgets: boolean;
43
+ };
44
+ }>;
45
+ export type WidgetDefinitionProps = z.infer<typeof widgetDefinitionPropsSchema>;
46
+ export declare const ensureWidgetDefinitionProps: (o: unknown) => o is {
47
+ name: import("./common").WidgetsName;
48
+ description: string;
49
+ label: string;
50
+ img: string;
51
+ available: boolean;
52
+ panel: {
53
+ useWrapper: boolean;
54
+ useEditor: boolean;
55
+ useWidgets: boolean;
56
+ };
57
+ };
58
+ export declare const ensureWidgetObjectHasMinimumProperties: (o: Partial<jObjectLittle> | undefined) => o is Pick<jObjectLittle, "type" | "id">;
@@ -0,0 +1 @@
1
+ export {};
@@ -225,7 +225,7 @@ export declare const widgetTableColumnSchema: z.ZodObject<{
225
225
  }>;
226
226
  export type WidgetTableColumn = z.infer<typeof widgetTableColumnSchema>;
227
227
  export declare const widgetTableContentSchema: z.ZodObject<{
228
- limit: z.ZodOptional<z.ZodNumber>;
228
+ limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
229
229
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
230
230
  name: z.ZodOptional<z.ZodString>;
231
231
  isVisible: z.ZodOptional<z.ZodBoolean>;
@@ -257,7 +257,7 @@ export declare const widgetTableContentSchema: z.ZodObject<{
257
257
  tableSizedColumns: z.ZodOptional<z.ZodBoolean>;
258
258
  tableSizedColumnsWidth: z.ZodOptional<z.ZodNumber>;
259
259
  }, "strip", z.ZodTypeAny, {
260
- limit?: number | undefined;
260
+ limit?: number | boolean | undefined;
261
261
  tableColumnsData?: {
262
262
  name?: string | undefined;
263
263
  label?: string | undefined;
@@ -275,7 +275,7 @@ export declare const widgetTableContentSchema: z.ZodObject<{
275
275
  tableSizedColumns?: boolean | undefined;
276
276
  tableSizedColumnsWidth?: number | undefined;
277
277
  }, {
278
- limit?: number | undefined;
278
+ limit?: number | boolean | undefined;
279
279
  tableColumnsData?: {
280
280
  name?: string | undefined;
281
281
  label?: string | undefined;
@@ -296,7 +296,7 @@ export declare const widgetTableContentSchema: z.ZodObject<{
296
296
  export type WidgetTableContent = z.infer<typeof widgetTableContentSchema>;
297
297
  export type WidgetDatasourceValues = string | number | DatasourceDataTypeUrl;
298
298
  export declare const widgetDatasourceTableContentSchema: z.ZodObject<z.objectUtil.extendShape<{
299
- limit: z.ZodOptional<z.ZodNumber>;
299
+ limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
300
300
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
301
301
  name: z.ZodOptional<z.ZodString>;
302
302
  isVisible: z.ZodOptional<z.ZodBoolean>;
@@ -331,7 +331,7 @@ export declare const widgetDatasourceTableContentSchema: z.ZodObject<z.objectUti
331
331
  uri: z.ZodOptional<z.ZodString>;
332
332
  }>, "strip", z.ZodTypeAny, {
333
333
  uri?: string | undefined;
334
- limit?: number | undefined;
334
+ limit?: number | boolean | undefined;
335
335
  tableColumnsData?: {
336
336
  name?: string | undefined;
337
337
  label?: string | undefined;
@@ -350,7 +350,7 @@ export declare const widgetDatasourceTableContentSchema: z.ZodObject<z.objectUti
350
350
  tableSizedColumnsWidth?: number | undefined;
351
351
  }, {
352
352
  uri?: string | undefined;
353
- limit?: number | undefined;
353
+ limit?: number | boolean | undefined;
354
354
  tableColumnsData?: {
355
355
  name?: string | undefined;
356
356
  label?: string | undefined;
@@ -379,7 +379,7 @@ export declare const widgetDatasourceTableTypeSchema: z.ZodObject<{
379
379
  uniqid: z.ZodType<string, z.ZodTypeDef, string>;
380
380
  content: z.ZodType<{
381
381
  uri?: string | undefined;
382
- limit?: number | undefined;
382
+ limit?: number | boolean | undefined;
383
383
  tableColumnsData?: {
384
384
  name?: string | undefined;
385
385
  label?: string | undefined;
@@ -398,7 +398,7 @@ export declare const widgetDatasourceTableTypeSchema: z.ZodObject<{
398
398
  tableSizedColumnsWidth?: number | undefined;
399
399
  }, z.ZodTypeDef, {
400
400
  uri?: string | undefined;
401
- limit?: number | undefined;
401
+ limit?: number | boolean | undefined;
402
402
  tableColumnsData?: {
403
403
  name?: string | undefined;
404
404
  label?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { WidgetsName } from './common';
3
3
  export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4
- limit: z.ZodOptional<z.ZodNumber>;
4
+ limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
5
5
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
6
6
  name: z.ZodOptional<z.ZodString>;
7
7
  isVisible: z.ZodOptional<z.ZodBoolean>;
@@ -38,7 +38,7 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<z.obje
38
38
  uri: z.ZodOptional<z.ZodString>;
39
39
  }>, "strip", z.ZodTypeAny, {
40
40
  uri?: string | undefined;
41
- limit?: number | undefined;
41
+ limit?: number | boolean | undefined;
42
42
  tableColumnsData?: {
43
43
  name?: string | undefined;
44
44
  label?: string | undefined;
@@ -57,7 +57,7 @@ export declare const widgetExcelDatasourceTableContentSchema: z.ZodObject<z.obje
57
57
  tableSizedColumnsWidth?: number | undefined;
58
58
  }, {
59
59
  uri?: string | undefined;
60
- limit?: number | undefined;
60
+ limit?: number | boolean | undefined;
61
61
  tableColumnsData?: {
62
62
  name?: string | undefined;
63
63
  label?: string | undefined;
@@ -80,7 +80,7 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
80
80
  name: z.ZodLiteral<WidgetsName.ExcelDatasourceTable>;
81
81
  uniqid: z.ZodString;
82
82
  content: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
83
- limit: z.ZodOptional<z.ZodNumber>;
83
+ limit: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodBoolean]>>;
84
84
  tableColumnsData: z.ZodOptional<z.ZodArray<z.ZodObject<{
85
85
  name: z.ZodOptional<z.ZodString>;
86
86
  isVisible: z.ZodOptional<z.ZodBoolean>;
@@ -117,7 +117,7 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
117
117
  uri: z.ZodOptional<z.ZodString>;
118
118
  }>, "strip", z.ZodTypeAny, {
119
119
  uri?: string | undefined;
120
- limit?: number | undefined;
120
+ limit?: number | boolean | undefined;
121
121
  tableColumnsData?: {
122
122
  name?: string | undefined;
123
123
  label?: string | undefined;
@@ -136,7 +136,7 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
136
136
  tableSizedColumnsWidth?: number | undefined;
137
137
  }, {
138
138
  uri?: string | undefined;
139
- limit?: number | undefined;
139
+ limit?: number | boolean | undefined;
140
140
  tableColumnsData?: {
141
141
  name?: string | undefined;
142
142
  label?: string | undefined;
@@ -159,7 +159,7 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
159
159
  uniqid: string;
160
160
  content: {
161
161
  uri?: string | undefined;
162
- limit?: number | undefined;
162
+ limit?: number | boolean | undefined;
163
163
  tableColumnsData?: {
164
164
  name?: string | undefined;
165
165
  label?: string | undefined;
@@ -182,7 +182,7 @@ export declare const widgetExcelDatasourceTableTypeSchema: z.ZodObject<{
182
182
  uniqid: string;
183
183
  content: {
184
184
  uri?: string | undefined;
185
- limit?: number | undefined;
185
+ limit?: number | boolean | undefined;
186
186
  tableColumnsData?: {
187
187
  name?: string | undefined;
188
188
  label?: string | undefined;
@@ -0,0 +1,132 @@
1
+ import { z } from 'zod';
2
+ import { WidgetsName } from './common';
3
+ export declare const widgetPresenceContentSchema: z.ZodObject<{
4
+ limit: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodNumber]>>;
5
+ limitValue: z.ZodOptional<z.ZodNumber>;
6
+ closing: z.ZodOptional<z.ZodBoolean>;
7
+ isClosed: z.ZodOptional<z.ZodBoolean>;
8
+ }, "strip", z.ZodTypeAny, {
9
+ limit?: number | boolean | undefined;
10
+ limitValue?: number | undefined;
11
+ closing?: boolean | undefined;
12
+ isClosed?: boolean | undefined;
13
+ }, {
14
+ limit?: number | boolean | undefined;
15
+ limitValue?: number | undefined;
16
+ closing?: boolean | undefined;
17
+ isClosed?: boolean | undefined;
18
+ }>;
19
+ export type WidgetPresenceContent = z.infer<typeof widgetPresenceContentSchema>;
20
+ export declare const ensureWidgetPresenceContent: (content: unknown) => content is {
21
+ limit?: number | boolean | undefined;
22
+ limitValue?: number | undefined;
23
+ closing?: boolean | undefined;
24
+ isClosed?: boolean | undefined;
25
+ };
26
+ export type WidgetPresenceType = {
27
+ name: WidgetsName.Presence;
28
+ uniqid: string;
29
+ content: WidgetPresenceContent;
30
+ };
31
+ export declare const widgetPresenceTypeSchema: z.ZodObject<{
32
+ name: z.ZodType<WidgetsName.Presence, z.ZodTypeDef, WidgetsName.Presence>;
33
+ uniqid: z.ZodType<string, z.ZodTypeDef, string>;
34
+ content: z.ZodType<{
35
+ limit?: number | boolean | undefined;
36
+ limitValue?: number | undefined;
37
+ closing?: boolean | undefined;
38
+ isClosed?: boolean | undefined;
39
+ }, z.ZodTypeDef, {
40
+ limit?: number | boolean | undefined;
41
+ limitValue?: number | undefined;
42
+ closing?: boolean | undefined;
43
+ isClosed?: boolean | undefined;
44
+ }>;
45
+ }, "strip", z.ZodTypeAny, WidgetPresenceType, WidgetPresenceType>;
46
+ export declare const ensureWidgetPresenceType: (widget: unknown) => widget is WidgetPresenceType;
47
+ export declare const widgetPresenceRespondPayloadSchema: z.ZodObject<{
48
+ id: z.ZodNumber;
49
+ type: z.ZodString;
50
+ uniqid: z.ZodString;
51
+ value: z.ZodNumber;
52
+ }, "strip", z.ZodTypeAny, {
53
+ type: string;
54
+ value: number;
55
+ id: number;
56
+ uniqid: string;
57
+ }, {
58
+ type: string;
59
+ value: number;
60
+ id: number;
61
+ uniqid: string;
62
+ }>;
63
+ export type WidgetPresenceRespondPayload = z.infer<typeof widgetPresenceRespondPayloadSchema>;
64
+ export declare const ensureWidgetPresenceResponsePayload: (payload: unknown) => payload is {
65
+ type: string;
66
+ value: number;
67
+ id: number;
68
+ uniqid: string;
69
+ };
70
+ export declare const widgetPresenceResponseSchema: z.ZodObject<{
71
+ userValue: z.ZodNumber;
72
+ userAvailableList: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
73
+ id: z.ZodType<number, z.ZodTypeDef, number>;
74
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
75
+ type: z.ZodType<string, z.ZodTypeDef, string>;
76
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
77
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
78
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
79
+ }, {
80
+ title: z.ZodString;
81
+ _url: z.ZodString;
82
+ level: z.ZodNativeEnum<{
83
+ readonly ADMIN: 9;
84
+ readonly USER: 5;
85
+ readonly EXTERNAL: 3;
86
+ readonly GUEST: 0;
87
+ }>;
88
+ dateCreation: z.ZodString;
89
+ dateModified: z.ZodString;
90
+ }>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("../user").jUserLittle, import("../user").jUserLittle>, "many">;
91
+ userUnavailableList: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
92
+ id: z.ZodType<number, z.ZodTypeDef, number>;
93
+ mainType: z.ZodType<string, z.ZodTypeDef, string>;
94
+ type: z.ZodType<string, z.ZodTypeDef, string>;
95
+ uri: z.ZodType<string, z.ZodTypeDef, string>;
96
+ dateCreation: z.ZodOptionalType<z.ZodType<string | undefined, z.ZodTypeDef, string | undefined>>;
97
+ dateModified: z.ZodOptionalType<z.ZodType<string | null | undefined, z.ZodTypeDef, string | null | undefined>>;
98
+ }, {
99
+ title: z.ZodString;
100
+ _url: z.ZodString;
101
+ level: z.ZodNativeEnum<{
102
+ readonly ADMIN: 9;
103
+ readonly USER: 5;
104
+ readonly EXTERNAL: 3;
105
+ readonly GUEST: 0;
106
+ }>;
107
+ dateCreation: z.ZodString;
108
+ dateModified: z.ZodString;
109
+ }>, "strip", z.ZodUnion<[z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodNumber, z.ZodNullable<z.ZodString>, z.ZodString, z.ZodString]>, import("../user").jUserLittle, import("../user").jUserLittle>, "many">;
110
+ userAvailableTotal: z.ZodNumber;
111
+ userUnavailableTotal: z.ZodNumber;
112
+ }, "strip", z.ZodTypeAny, {
113
+ userValue: number;
114
+ userAvailableList: import("../user").jUserLittle[];
115
+ userUnavailableList: import("../user").jUserLittle[];
116
+ userAvailableTotal: number;
117
+ userUnavailableTotal: number;
118
+ }, {
119
+ userValue: number;
120
+ userAvailableList: import("../user").jUserLittle[];
121
+ userUnavailableList: import("../user").jUserLittle[];
122
+ userAvailableTotal: number;
123
+ userUnavailableTotal: number;
124
+ }>;
125
+ export type WidgetPresenceResponse = z.infer<typeof widgetPresenceResponseSchema>;
126
+ export declare const ensureWidgetPresenceResponse: (payload: unknown) => payload is {
127
+ userValue: number;
128
+ userAvailableList: import("../user").jUserLittle[];
129
+ userUnavailableList: import("../user").jUserLittle[];
130
+ userAvailableTotal: number;
131
+ userUnavailableTotal: number;
132
+ };