@zhin.js/core 1.1.56 → 1.1.58

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 (117) hide show
  1. package/lib/built/generic-segment-mapper.js +2 -0
  2. package/lib/built/html-to-text.js +2 -2
  3. package/lib/built/rich-segments/markdown-to-text.js +19 -0
  4. package/lib/built/segment-contract/validate.d.ts +1442 -300
  5. package/lib/built/user-interaction.d.ts +1 -1
  6. package/lib/built/user-interaction.js +3 -1
  7. package/lib/feature/command.d.ts +2 -4
  8. package/lib/feature/command.js +1 -2
  9. package/lib/feature/middleware.d.ts +2 -2
  10. package/lib/feature/middleware.js +1 -1
  11. package/lib/index.d.ts +2 -1
  12. package/lib/index.js +2 -0
  13. package/lib/plugin-runtime/im/command-feedback.d.ts +20 -1
  14. package/lib/plugin-runtime/im/command-feedback.js +63 -0
  15. package/lib/plugin-runtime/im/contracts.d.ts +60 -5
  16. package/lib/plugin-runtime/im/contracts.js +6 -2
  17. package/lib/plugin-runtime/im/conversation-runtime.d.ts +2 -2
  18. package/lib/plugin-runtime/im/conversation-runtime.js +6 -4
  19. package/lib/plugin-runtime/im/endpoint-runtime.d.ts +2 -3
  20. package/lib/plugin-runtime/im/endpoint-runtime.js +2 -2
  21. package/lib/plugin-runtime/im/host/component-host-installer.d.ts +2 -0
  22. package/lib/plugin-runtime/im/host/component-host-installer.js +14 -0
  23. package/lib/plugin-runtime/im/host/conversation-migration.d.ts +5 -0
  24. package/lib/plugin-runtime/im/host/conversation-migration.js +75 -0
  25. package/lib/plugin-runtime/im/host/database-config.d.ts +10 -0
  26. package/lib/plugin-runtime/im/host/database-config.js +114 -0
  27. package/lib/plugin-runtime/im/host/database-host-installer.d.ts +13 -0
  28. package/lib/plugin-runtime/im/host/database-host-installer.js +389 -0
  29. package/lib/plugin-runtime/im/host/database-state.d.ts +9 -0
  30. package/lib/plugin-runtime/im/host/database-state.js +91 -0
  31. package/lib/plugin-runtime/im/host/index.d.ts +8 -0
  32. package/lib/plugin-runtime/im/host/index.js +8 -0
  33. package/lib/plugin-runtime/im/host/locale-host-installer.d.ts +3 -0
  34. package/lib/plugin-runtime/im/host/locale-host-installer.js +60 -0
  35. package/lib/plugin-runtime/im/host/outbound-host-installer.d.ts +8 -0
  36. package/lib/plugin-runtime/im/host/outbound-host-installer.js +153 -0
  37. package/lib/plugin-runtime/im/host/sender-enrichment.d.ts +33 -0
  38. package/lib/plugin-runtime/im/host/sender-enrichment.js +215 -0
  39. package/lib/plugin-runtime/im/im-runtime.d.ts +7 -3
  40. package/lib/plugin-runtime/im/im-runtime.js +9 -7
  41. package/lib/plugin-runtime/im/inbound-dedup.d.ts +33 -0
  42. package/lib/plugin-runtime/im/inbound-dedup.js +139 -1
  43. package/lib/plugin-runtime/im/inbound-origin.d.ts +51 -2
  44. package/lib/plugin-runtime/im/inbound-origin.js +108 -1
  45. package/lib/plugin-runtime/im/inbound-runtime.d.ts +10 -13
  46. package/lib/plugin-runtime/im/inbound-runtime.js +88 -349
  47. package/lib/plugin-runtime/im/inbound-spine.d.ts +194 -0
  48. package/lib/plugin-runtime/im/inbound-spine.js +333 -0
  49. package/lib/plugin-runtime/im/index.d.ts +5 -7
  50. package/lib/plugin-runtime/im/index.js +5 -6
  51. package/lib/plugin-runtime/im/interaction-runtime.d.ts +8 -10
  52. package/lib/plugin-runtime/im/interaction-runtime.js +86 -28
  53. package/lib/plugin-runtime/im/interactive-router.d.ts +55 -8
  54. package/lib/plugin-runtime/im/interactive-router.js +244 -35
  55. package/lib/plugin-runtime/im/message-dispatcher.d.ts +1 -1
  56. package/lib/plugin-runtime/im/message-dispatcher.js +58 -7
  57. package/lib/plugin-runtime/im/message-events.d.ts +33 -3
  58. package/lib/plugin-runtime/im/message-events.js +34 -0
  59. package/lib/plugin-runtime/im/outbound-delivery-runtime.d.ts +4 -4
  60. package/lib/plugin-runtime/im/outbound-delivery-runtime.js +75 -29
  61. package/lib/plugin-runtime/im/outbound-renderer.d.ts +32 -2
  62. package/lib/plugin-runtime/im/outbound-renderer.js +95 -4
  63. package/lib/runtime.d.ts +2 -0
  64. package/lib/runtime.js +2 -0
  65. package/lib/venue/contracts.d.ts +21 -0
  66. package/lib/venue/contracts.js +3 -0
  67. package/lib/venue/floor-controller.d.ts +11 -0
  68. package/lib/venue/floor-controller.js +63 -0
  69. package/lib/venue/index.d.ts +13 -0
  70. package/lib/venue/index.js +11 -0
  71. package/lib/venue/membership-port.d.ts +23 -0
  72. package/lib/venue/membership-port.js +141 -0
  73. package/lib/venue/projector.d.ts +38 -0
  74. package/lib/venue/projector.js +45 -0
  75. package/lib/venue/registry.d.ts +16 -0
  76. package/lib/venue/registry.js +63 -0
  77. package/lib/venue/router.d.ts +19 -0
  78. package/lib/venue/router.js +101 -0
  79. package/lib/venue/send-limiter.d.ts +17 -0
  80. package/lib/venue/send-limiter.js +73 -0
  81. package/lib/venue/validator.d.ts +6 -0
  82. package/lib/venue/validator.js +160 -0
  83. package/package.json +16 -17
  84. package/lib/plugin-runtime/im/captured-endpoint-operation.d.ts +0 -34
  85. package/lib/plugin-runtime/im/captured-endpoint-operation.js +0 -1
  86. package/lib/plugin-runtime/im/command-menu-navigation.d.ts +0 -13
  87. package/lib/plugin-runtime/im/command-menu-navigation.js +0 -43
  88. package/lib/plugin-runtime/im/command-menu-presentation.d.ts +0 -14
  89. package/lib/plugin-runtime/im/command-menu-presentation.js +0 -25
  90. package/lib/plugin-runtime/im/group-rule-violation.d.ts +0 -52
  91. package/lib/plugin-runtime/im/group-rule-violation.js +0 -10
  92. package/lib/plugin-runtime/im/ingress-route.d.ts +0 -10
  93. package/lib/plugin-runtime/im/ingress-route.js +0 -10
  94. package/lib/plugin-runtime/im/interaction-operation.d.ts +0 -12
  95. package/lib/plugin-runtime/im/interaction-operation.js +0 -2
  96. package/lib/plugin-runtime/im/jsx-button-registry.d.ts +0 -17
  97. package/lib/plugin-runtime/im/jsx-button-registry.js +0 -98
  98. package/lib/plugin-runtime/im/locale.d.ts +0 -5
  99. package/lib/plugin-runtime/im/locale.js +0 -12
  100. package/lib/plugin-runtime/im/login-assist-host.d.ts +0 -6
  101. package/lib/plugin-runtime/im/login-assist-host.js +0 -6
  102. package/lib/plugin-runtime/im/member-welcome.d.ts +0 -8
  103. package/lib/plugin-runtime/im/member-welcome.js +0 -11
  104. package/lib/plugin-runtime/im/message-bus.d.ts +0 -38
  105. package/lib/plugin-runtime/im/message-bus.js +0 -40
  106. package/lib/plugin-runtime/im/operation-endpoint.d.ts +0 -6
  107. package/lib/plugin-runtime/im/operation-endpoint.js +0 -2
  108. package/lib/plugin-runtime/im/operation-resources.d.ts +0 -15
  109. package/lib/plugin-runtime/im/operation-resources.js +0 -2
  110. package/lib/plugin-runtime/im/outbound-ledger.d.ts +0 -24
  111. package/lib/plugin-runtime/im/outbound-ledger.js +0 -114
  112. package/lib/plugin-runtime/im/outbound-presentation.d.ts +0 -19
  113. package/lib/plugin-runtime/im/outbound-presentation.js +0 -41
  114. package/lib/plugin-runtime/im/outbound-projection.d.ts +0 -17
  115. package/lib/plugin-runtime/im/outbound-projection.js +0 -55
  116. package/lib/plugin-runtime/im/runtime-middleware.d.ts +0 -5
  117. package/lib/plugin-runtime/im/runtime-middleware.js +0 -18
@@ -7,51 +7,108 @@ export declare const mediaRefSchema: Schema<Schema.InputRecord<{
7
7
  mime_type: Schema<string, string>;
8
8
  file_name: Schema<string, string>;
9
9
  size: Schema<number, number>;
10
- }>, {
11
- value: string;
12
- } & {
13
- kind?: any;
14
- mime_type?: string | undefined;
15
- file_name?: string | undefined;
16
- size?: number | undefined;
17
- }>;
10
+ }>, Schema.RecordTypes<{
11
+ kind: Schema;
12
+ value: Schema<string, string> & Schema.Present & Schema.Required;
13
+ mime_type: Schema<string, string>;
14
+ file_name: Schema<string, string>;
15
+ size: Schema<number, number>;
16
+ }>> & {
17
+ readonly output?: Schema.RecordTypes<{
18
+ kind: Schema;
19
+ value: Schema<string, string> & Schema.Present & Schema.Required;
20
+ mime_type: Schema<string, string>;
21
+ file_name: Schema<string, string>;
22
+ size: Schema<number, number>;
23
+ }> | undefined;
24
+ };
18
25
  export declare const textSegmentSchema: Schema<Schema.InputRecord<{
19
26
  type: Schema<"text", "text"> & Schema.Present;
20
27
  data: Schema<Schema.InputRecord<{
21
28
  text: Schema<string, string> & Schema.Present & Schema.Required;
22
- }>, {
23
- text: string;
24
- } & {}> & Schema.Present & Schema.Required;
29
+ }>, Schema.RecordTypes<{
30
+ text: Schema<string, string> & Schema.Present & Schema.Required;
31
+ }>> & {
32
+ readonly output?: Schema.RecordTypes<{
33
+ text: Schema<string, string> & Schema.Present & Schema.Required;
34
+ }> | undefined;
35
+ } & Schema.Present & Schema.Required;
36
+ platform: Schema<Record<string, any>, Record<string, any>>;
37
+ }>, Schema.RecordTypes<{
38
+ type: Schema<"text", "text"> & Schema.Present;
39
+ data: Schema<Schema.InputRecord<{
40
+ text: Schema<string, string> & Schema.Present & Schema.Required;
41
+ }>, Schema.RecordTypes<{
42
+ text: Schema<string, string> & Schema.Present & Schema.Required;
43
+ }>> & {
44
+ readonly output?: Schema.RecordTypes<{
45
+ text: Schema<string, string> & Schema.Present & Schema.Required;
46
+ }> | undefined;
47
+ } & Schema.Present & Schema.Required;
25
48
  platform: Schema<Record<string, any>, Record<string, any>>;
26
- }>, {
27
- type: "text";
28
- data: {
29
- text: string;
30
- } & {};
31
- } & {
32
- platform?: Record<string, any> | undefined;
33
- }>;
49
+ }>> & {
50
+ readonly output?: Schema.RecordTypes<{
51
+ type: Schema<"text", "text"> & Schema.Present;
52
+ data: Schema<Schema.InputRecord<{
53
+ text: Schema<string, string> & Schema.Present & Schema.Required;
54
+ }>, Schema.RecordTypes<{
55
+ text: Schema<string, string> & Schema.Present & Schema.Required;
56
+ }>> & {
57
+ readonly output?: Schema.RecordTypes<{
58
+ text: Schema<string, string> & Schema.Present & Schema.Required;
59
+ }> | undefined;
60
+ } & Schema.Present & Schema.Required;
61
+ platform: Schema<Record<string, any>, Record<string, any>>;
62
+ }> | undefined;
63
+ };
34
64
  export declare const mentionSegmentSchema: Schema<Schema.InputRecord<{
35
65
  type: Schema<"mention", "mention"> & Schema.Present;
36
66
  data: Schema<Schema.InputRecord<{
37
67
  target: Schema<string, string> & Schema.Present & Schema.Required;
38
68
  name: Schema<string, string>;
39
- }>, {
40
- target: string;
41
- } & {
42
- name?: string | undefined;
43
- }> & Schema.Present & Schema.Required;
69
+ }>, Schema.RecordTypes<{
70
+ target: Schema<string, string> & Schema.Present & Schema.Required;
71
+ name: Schema<string, string>;
72
+ }>> & {
73
+ readonly output?: Schema.RecordTypes<{
74
+ target: Schema<string, string> & Schema.Present & Schema.Required;
75
+ name: Schema<string, string>;
76
+ }> | undefined;
77
+ } & Schema.Present & Schema.Required;
78
+ platform: Schema<Record<string, any>, Record<string, any>>;
79
+ }>, Schema.RecordTypes<{
80
+ type: Schema<"mention", "mention"> & Schema.Present;
81
+ data: Schema<Schema.InputRecord<{
82
+ target: Schema<string, string> & Schema.Present & Schema.Required;
83
+ name: Schema<string, string>;
84
+ }>, Schema.RecordTypes<{
85
+ target: Schema<string, string> & Schema.Present & Schema.Required;
86
+ name: Schema<string, string>;
87
+ }>> & {
88
+ readonly output?: Schema.RecordTypes<{
89
+ target: Schema<string, string> & Schema.Present & Schema.Required;
90
+ name: Schema<string, string>;
91
+ }> | undefined;
92
+ } & Schema.Present & Schema.Required;
44
93
  platform: Schema<Record<string, any>, Record<string, any>>;
45
- }>, {
46
- type: "mention";
47
- data: {
48
- target: string;
49
- } & {
50
- name?: string | undefined;
51
- };
52
- } & {
53
- platform?: Record<string, any> | undefined;
54
- }>;
94
+ }>> & {
95
+ readonly output?: Schema.RecordTypes<{
96
+ type: Schema<"mention", "mention"> & Schema.Present;
97
+ data: Schema<Schema.InputRecord<{
98
+ target: Schema<string, string> & Schema.Present & Schema.Required;
99
+ name: Schema<string, string>;
100
+ }>, Schema.RecordTypes<{
101
+ target: Schema<string, string> & Schema.Present & Schema.Required;
102
+ name: Schema<string, string>;
103
+ }>> & {
104
+ readonly output?: Schema.RecordTypes<{
105
+ target: Schema<string, string> & Schema.Present & Schema.Required;
106
+ name: Schema<string, string>;
107
+ }> | undefined;
108
+ } & Schema.Present & Schema.Required;
109
+ platform: Schema<Record<string, any>, Record<string, any>>;
110
+ }> | undefined;
111
+ };
55
112
  export declare const imageSegmentSchema: Schema<Schema.InputRecord<{
56
113
  type: Schema<"image", "image"> & Schema.Present;
57
114
  data: Schema<Schema.InputRecord<{
@@ -61,45 +118,225 @@ export declare const imageSegmentSchema: Schema<Schema.InputRecord<{
61
118
  mime_type: Schema<string, string>;
62
119
  file_name: Schema<string, string>;
63
120
  size: Schema<number, number>;
64
- }>, {
65
- value: string;
66
- } & {
67
- kind?: any;
68
- mime_type?: string | undefined;
69
- file_name?: string | undefined;
70
- size?: number | undefined;
71
- }> & Schema.Present & Schema.Required;
121
+ }>, Schema.RecordTypes<{
122
+ kind: Schema;
123
+ value: Schema<string, string> & Schema.Present & Schema.Required;
124
+ mime_type: Schema<string, string>;
125
+ file_name: Schema<string, string>;
126
+ size: Schema<number, number>;
127
+ }>> & {
128
+ readonly output?: Schema.RecordTypes<{
129
+ kind: Schema;
130
+ value: Schema<string, string> & Schema.Present & Schema.Required;
131
+ mime_type: Schema<string, string>;
132
+ file_name: Schema<string, string>;
133
+ size: Schema<number, number>;
134
+ }> | undefined;
135
+ } & Schema.Present & Schema.Required;
72
136
  alt: Schema<string, string>;
73
- }>, {
74
- media: {
75
- value: string;
76
- } & {
77
- kind?: any;
78
- mime_type?: string | undefined;
79
- file_name?: string | undefined;
80
- size?: number | undefined;
81
- };
82
- } & {
83
- alt?: string | undefined;
84
- }> & Schema.Present & Schema.Required;
137
+ }>, Schema.RecordTypes<{
138
+ media: Schema<Schema.InputRecord<{
139
+ kind: Schema;
140
+ value: Schema<string, string> & Schema.Present & Schema.Required;
141
+ mime_type: Schema<string, string>;
142
+ file_name: Schema<string, string>;
143
+ size: Schema<number, number>;
144
+ }>, Schema.RecordTypes<{
145
+ kind: Schema;
146
+ value: Schema<string, string> & Schema.Present & Schema.Required;
147
+ mime_type: Schema<string, string>;
148
+ file_name: Schema<string, string>;
149
+ size: Schema<number, number>;
150
+ }>> & {
151
+ readonly output?: Schema.RecordTypes<{
152
+ kind: Schema;
153
+ value: Schema<string, string> & Schema.Present & Schema.Required;
154
+ mime_type: Schema<string, string>;
155
+ file_name: Schema<string, string>;
156
+ size: Schema<number, number>;
157
+ }> | undefined;
158
+ } & Schema.Present & Schema.Required;
159
+ alt: Schema<string, string>;
160
+ }>> & {
161
+ readonly output?: Schema.RecordTypes<{
162
+ media: Schema<Schema.InputRecord<{
163
+ kind: Schema;
164
+ value: Schema<string, string> & Schema.Present & Schema.Required;
165
+ mime_type: Schema<string, string>;
166
+ file_name: Schema<string, string>;
167
+ size: Schema<number, number>;
168
+ }>, Schema.RecordTypes<{
169
+ kind: Schema;
170
+ value: Schema<string, string> & Schema.Present & Schema.Required;
171
+ mime_type: Schema<string, string>;
172
+ file_name: Schema<string, string>;
173
+ size: Schema<number, number>;
174
+ }>> & {
175
+ readonly output?: Schema.RecordTypes<{
176
+ kind: Schema;
177
+ value: Schema<string, string> & Schema.Present & Schema.Required;
178
+ mime_type: Schema<string, string>;
179
+ file_name: Schema<string, string>;
180
+ size: Schema<number, number>;
181
+ }> | undefined;
182
+ } & Schema.Present & Schema.Required;
183
+ alt: Schema<string, string>;
184
+ }> | undefined;
185
+ } & Schema.Present & Schema.Required;
85
186
  platform: Schema<Record<string, any>, Record<string, any>>;
86
- }>, {
87
- type: "image";
88
- data: {
89
- media: {
90
- value: string;
91
- } & {
92
- kind?: any;
93
- mime_type?: string | undefined;
94
- file_name?: string | undefined;
95
- size?: number | undefined;
96
- };
97
- } & {
98
- alt?: string | undefined;
99
- };
100
- } & {
101
- platform?: Record<string, any> | undefined;
102
- }>;
187
+ }>, Schema.RecordTypes<{
188
+ type: Schema<"image", "image"> & Schema.Present;
189
+ data: Schema<Schema.InputRecord<{
190
+ media: Schema<Schema.InputRecord<{
191
+ kind: Schema;
192
+ value: Schema<string, string> & Schema.Present & Schema.Required;
193
+ mime_type: Schema<string, string>;
194
+ file_name: Schema<string, string>;
195
+ size: Schema<number, number>;
196
+ }>, Schema.RecordTypes<{
197
+ kind: Schema;
198
+ value: Schema<string, string> & Schema.Present & Schema.Required;
199
+ mime_type: Schema<string, string>;
200
+ file_name: Schema<string, string>;
201
+ size: Schema<number, number>;
202
+ }>> & {
203
+ readonly output?: Schema.RecordTypes<{
204
+ kind: Schema;
205
+ value: Schema<string, string> & Schema.Present & Schema.Required;
206
+ mime_type: Schema<string, string>;
207
+ file_name: Schema<string, string>;
208
+ size: Schema<number, number>;
209
+ }> | undefined;
210
+ } & Schema.Present & Schema.Required;
211
+ alt: Schema<string, string>;
212
+ }>, Schema.RecordTypes<{
213
+ media: Schema<Schema.InputRecord<{
214
+ kind: Schema;
215
+ value: Schema<string, string> & Schema.Present & Schema.Required;
216
+ mime_type: Schema<string, string>;
217
+ file_name: Schema<string, string>;
218
+ size: Schema<number, number>;
219
+ }>, Schema.RecordTypes<{
220
+ kind: Schema;
221
+ value: Schema<string, string> & Schema.Present & Schema.Required;
222
+ mime_type: Schema<string, string>;
223
+ file_name: Schema<string, string>;
224
+ size: Schema<number, number>;
225
+ }>> & {
226
+ readonly output?: Schema.RecordTypes<{
227
+ kind: Schema;
228
+ value: Schema<string, string> & Schema.Present & Schema.Required;
229
+ mime_type: Schema<string, string>;
230
+ file_name: Schema<string, string>;
231
+ size: Schema<number, number>;
232
+ }> | undefined;
233
+ } & Schema.Present & Schema.Required;
234
+ alt: Schema<string, string>;
235
+ }>> & {
236
+ readonly output?: Schema.RecordTypes<{
237
+ media: Schema<Schema.InputRecord<{
238
+ kind: Schema;
239
+ value: Schema<string, string> & Schema.Present & Schema.Required;
240
+ mime_type: Schema<string, string>;
241
+ file_name: Schema<string, string>;
242
+ size: Schema<number, number>;
243
+ }>, Schema.RecordTypes<{
244
+ kind: Schema;
245
+ value: Schema<string, string> & Schema.Present & Schema.Required;
246
+ mime_type: Schema<string, string>;
247
+ file_name: Schema<string, string>;
248
+ size: Schema<number, number>;
249
+ }>> & {
250
+ readonly output?: Schema.RecordTypes<{
251
+ kind: Schema;
252
+ value: Schema<string, string> & Schema.Present & Schema.Required;
253
+ mime_type: Schema<string, string>;
254
+ file_name: Schema<string, string>;
255
+ size: Schema<number, number>;
256
+ }> | undefined;
257
+ } & Schema.Present & Schema.Required;
258
+ alt: Schema<string, string>;
259
+ }> | undefined;
260
+ } & Schema.Present & Schema.Required;
261
+ platform: Schema<Record<string, any>, Record<string, any>>;
262
+ }>> & {
263
+ readonly output?: Schema.RecordTypes<{
264
+ type: Schema<"image", "image"> & Schema.Present;
265
+ data: Schema<Schema.InputRecord<{
266
+ media: Schema<Schema.InputRecord<{
267
+ kind: Schema;
268
+ value: Schema<string, string> & Schema.Present & Schema.Required;
269
+ mime_type: Schema<string, string>;
270
+ file_name: Schema<string, string>;
271
+ size: Schema<number, number>;
272
+ }>, Schema.RecordTypes<{
273
+ kind: Schema;
274
+ value: Schema<string, string> & Schema.Present & Schema.Required;
275
+ mime_type: Schema<string, string>;
276
+ file_name: Schema<string, string>;
277
+ size: Schema<number, number>;
278
+ }>> & {
279
+ readonly output?: Schema.RecordTypes<{
280
+ kind: Schema;
281
+ value: Schema<string, string> & Schema.Present & Schema.Required;
282
+ mime_type: Schema<string, string>;
283
+ file_name: Schema<string, string>;
284
+ size: Schema<number, number>;
285
+ }> | undefined;
286
+ } & Schema.Present & Schema.Required;
287
+ alt: Schema<string, string>;
288
+ }>, Schema.RecordTypes<{
289
+ media: Schema<Schema.InputRecord<{
290
+ kind: Schema;
291
+ value: Schema<string, string> & Schema.Present & Schema.Required;
292
+ mime_type: Schema<string, string>;
293
+ file_name: Schema<string, string>;
294
+ size: Schema<number, number>;
295
+ }>, Schema.RecordTypes<{
296
+ kind: Schema;
297
+ value: Schema<string, string> & Schema.Present & Schema.Required;
298
+ mime_type: Schema<string, string>;
299
+ file_name: Schema<string, string>;
300
+ size: Schema<number, number>;
301
+ }>> & {
302
+ readonly output?: Schema.RecordTypes<{
303
+ kind: Schema;
304
+ value: Schema<string, string> & Schema.Present & Schema.Required;
305
+ mime_type: Schema<string, string>;
306
+ file_name: Schema<string, string>;
307
+ size: Schema<number, number>;
308
+ }> | undefined;
309
+ } & Schema.Present & Schema.Required;
310
+ alt: Schema<string, string>;
311
+ }>> & {
312
+ readonly output?: Schema.RecordTypes<{
313
+ media: Schema<Schema.InputRecord<{
314
+ kind: Schema;
315
+ value: Schema<string, string> & Schema.Present & Schema.Required;
316
+ mime_type: Schema<string, string>;
317
+ file_name: Schema<string, string>;
318
+ size: Schema<number, number>;
319
+ }>, Schema.RecordTypes<{
320
+ kind: Schema;
321
+ value: Schema<string, string> & Schema.Present & Schema.Required;
322
+ mime_type: Schema<string, string>;
323
+ file_name: Schema<string, string>;
324
+ size: Schema<number, number>;
325
+ }>> & {
326
+ readonly output?: Schema.RecordTypes<{
327
+ kind: Schema;
328
+ value: Schema<string, string> & Schema.Present & Schema.Required;
329
+ mime_type: Schema<string, string>;
330
+ file_name: Schema<string, string>;
331
+ size: Schema<number, number>;
332
+ }> | undefined;
333
+ } & Schema.Present & Schema.Required;
334
+ alt: Schema<string, string>;
335
+ }> | undefined;
336
+ } & Schema.Present & Schema.Required;
337
+ platform: Schema<Record<string, any>, Record<string, any>>;
338
+ }> | undefined;
339
+ };
103
340
  export declare const audioSegmentSchema: Schema<Schema.InputRecord<{
104
341
  type: Schema<"audio", "audio"> & Schema.Present;
105
342
  data: Schema<Schema.InputRecord<{
@@ -109,45 +346,225 @@ export declare const audioSegmentSchema: Schema<Schema.InputRecord<{
109
346
  mime_type: Schema<string, string>;
110
347
  file_name: Schema<string, string>;
111
348
  size: Schema<number, number>;
112
- }>, {
113
- value: string;
114
- } & {
115
- kind?: any;
116
- mime_type?: string | undefined;
117
- file_name?: string | undefined;
118
- size?: number | undefined;
119
- }> & Schema.Present & Schema.Required;
349
+ }>, Schema.RecordTypes<{
350
+ kind: Schema;
351
+ value: Schema<string, string> & Schema.Present & Schema.Required;
352
+ mime_type: Schema<string, string>;
353
+ file_name: Schema<string, string>;
354
+ size: Schema<number, number>;
355
+ }>> & {
356
+ readonly output?: Schema.RecordTypes<{
357
+ kind: Schema;
358
+ value: Schema<string, string> & Schema.Present & Schema.Required;
359
+ mime_type: Schema<string, string>;
360
+ file_name: Schema<string, string>;
361
+ size: Schema<number, number>;
362
+ }> | undefined;
363
+ } & Schema.Present & Schema.Required;
120
364
  duration: Schema<number, number>;
121
- }>, {
122
- media: {
123
- value: string;
124
- } & {
125
- kind?: any;
126
- mime_type?: string | undefined;
127
- file_name?: string | undefined;
128
- size?: number | undefined;
129
- };
130
- } & {
131
- duration?: number | undefined;
132
- }> & Schema.Present & Schema.Required;
365
+ }>, Schema.RecordTypes<{
366
+ media: Schema<Schema.InputRecord<{
367
+ kind: Schema;
368
+ value: Schema<string, string> & Schema.Present & Schema.Required;
369
+ mime_type: Schema<string, string>;
370
+ file_name: Schema<string, string>;
371
+ size: Schema<number, number>;
372
+ }>, Schema.RecordTypes<{
373
+ kind: Schema;
374
+ value: Schema<string, string> & Schema.Present & Schema.Required;
375
+ mime_type: Schema<string, string>;
376
+ file_name: Schema<string, string>;
377
+ size: Schema<number, number>;
378
+ }>> & {
379
+ readonly output?: Schema.RecordTypes<{
380
+ kind: Schema;
381
+ value: Schema<string, string> & Schema.Present & Schema.Required;
382
+ mime_type: Schema<string, string>;
383
+ file_name: Schema<string, string>;
384
+ size: Schema<number, number>;
385
+ }> | undefined;
386
+ } & Schema.Present & Schema.Required;
387
+ duration: Schema<number, number>;
388
+ }>> & {
389
+ readonly output?: Schema.RecordTypes<{
390
+ media: Schema<Schema.InputRecord<{
391
+ kind: Schema;
392
+ value: Schema<string, string> & Schema.Present & Schema.Required;
393
+ mime_type: Schema<string, string>;
394
+ file_name: Schema<string, string>;
395
+ size: Schema<number, number>;
396
+ }>, Schema.RecordTypes<{
397
+ kind: Schema;
398
+ value: Schema<string, string> & Schema.Present & Schema.Required;
399
+ mime_type: Schema<string, string>;
400
+ file_name: Schema<string, string>;
401
+ size: Schema<number, number>;
402
+ }>> & {
403
+ readonly output?: Schema.RecordTypes<{
404
+ kind: Schema;
405
+ value: Schema<string, string> & Schema.Present & Schema.Required;
406
+ mime_type: Schema<string, string>;
407
+ file_name: Schema<string, string>;
408
+ size: Schema<number, number>;
409
+ }> | undefined;
410
+ } & Schema.Present & Schema.Required;
411
+ duration: Schema<number, number>;
412
+ }> | undefined;
413
+ } & Schema.Present & Schema.Required;
133
414
  platform: Schema<Record<string, any>, Record<string, any>>;
134
- }>, {
135
- type: "audio";
136
- data: {
137
- media: {
138
- value: string;
139
- } & {
140
- kind?: any;
141
- mime_type?: string | undefined;
142
- file_name?: string | undefined;
143
- size?: number | undefined;
144
- };
145
- } & {
146
- duration?: number | undefined;
147
- };
148
- } & {
149
- platform?: Record<string, any> | undefined;
150
- }>;
415
+ }>, Schema.RecordTypes<{
416
+ type: Schema<"audio", "audio"> & Schema.Present;
417
+ data: Schema<Schema.InputRecord<{
418
+ media: Schema<Schema.InputRecord<{
419
+ kind: Schema;
420
+ value: Schema<string, string> & Schema.Present & Schema.Required;
421
+ mime_type: Schema<string, string>;
422
+ file_name: Schema<string, string>;
423
+ size: Schema<number, number>;
424
+ }>, Schema.RecordTypes<{
425
+ kind: Schema;
426
+ value: Schema<string, string> & Schema.Present & Schema.Required;
427
+ mime_type: Schema<string, string>;
428
+ file_name: Schema<string, string>;
429
+ size: Schema<number, number>;
430
+ }>> & {
431
+ readonly output?: Schema.RecordTypes<{
432
+ kind: Schema;
433
+ value: Schema<string, string> & Schema.Present & Schema.Required;
434
+ mime_type: Schema<string, string>;
435
+ file_name: Schema<string, string>;
436
+ size: Schema<number, number>;
437
+ }> | undefined;
438
+ } & Schema.Present & Schema.Required;
439
+ duration: Schema<number, number>;
440
+ }>, Schema.RecordTypes<{
441
+ media: Schema<Schema.InputRecord<{
442
+ kind: Schema;
443
+ value: Schema<string, string> & Schema.Present & Schema.Required;
444
+ mime_type: Schema<string, string>;
445
+ file_name: Schema<string, string>;
446
+ size: Schema<number, number>;
447
+ }>, Schema.RecordTypes<{
448
+ kind: Schema;
449
+ value: Schema<string, string> & Schema.Present & Schema.Required;
450
+ mime_type: Schema<string, string>;
451
+ file_name: Schema<string, string>;
452
+ size: Schema<number, number>;
453
+ }>> & {
454
+ readonly output?: Schema.RecordTypes<{
455
+ kind: Schema;
456
+ value: Schema<string, string> & Schema.Present & Schema.Required;
457
+ mime_type: Schema<string, string>;
458
+ file_name: Schema<string, string>;
459
+ size: Schema<number, number>;
460
+ }> | undefined;
461
+ } & Schema.Present & Schema.Required;
462
+ duration: Schema<number, number>;
463
+ }>> & {
464
+ readonly output?: Schema.RecordTypes<{
465
+ media: Schema<Schema.InputRecord<{
466
+ kind: Schema;
467
+ value: Schema<string, string> & Schema.Present & Schema.Required;
468
+ mime_type: Schema<string, string>;
469
+ file_name: Schema<string, string>;
470
+ size: Schema<number, number>;
471
+ }>, Schema.RecordTypes<{
472
+ kind: Schema;
473
+ value: Schema<string, string> & Schema.Present & Schema.Required;
474
+ mime_type: Schema<string, string>;
475
+ file_name: Schema<string, string>;
476
+ size: Schema<number, number>;
477
+ }>> & {
478
+ readonly output?: Schema.RecordTypes<{
479
+ kind: Schema;
480
+ value: Schema<string, string> & Schema.Present & Schema.Required;
481
+ mime_type: Schema<string, string>;
482
+ file_name: Schema<string, string>;
483
+ size: Schema<number, number>;
484
+ }> | undefined;
485
+ } & Schema.Present & Schema.Required;
486
+ duration: Schema<number, number>;
487
+ }> | undefined;
488
+ } & Schema.Present & Schema.Required;
489
+ platform: Schema<Record<string, any>, Record<string, any>>;
490
+ }>> & {
491
+ readonly output?: Schema.RecordTypes<{
492
+ type: Schema<"audio", "audio"> & Schema.Present;
493
+ data: Schema<Schema.InputRecord<{
494
+ media: Schema<Schema.InputRecord<{
495
+ kind: Schema;
496
+ value: Schema<string, string> & Schema.Present & Schema.Required;
497
+ mime_type: Schema<string, string>;
498
+ file_name: Schema<string, string>;
499
+ size: Schema<number, number>;
500
+ }>, Schema.RecordTypes<{
501
+ kind: Schema;
502
+ value: Schema<string, string> & Schema.Present & Schema.Required;
503
+ mime_type: Schema<string, string>;
504
+ file_name: Schema<string, string>;
505
+ size: Schema<number, number>;
506
+ }>> & {
507
+ readonly output?: Schema.RecordTypes<{
508
+ kind: Schema;
509
+ value: Schema<string, string> & Schema.Present & Schema.Required;
510
+ mime_type: Schema<string, string>;
511
+ file_name: Schema<string, string>;
512
+ size: Schema<number, number>;
513
+ }> | undefined;
514
+ } & Schema.Present & Schema.Required;
515
+ duration: Schema<number, number>;
516
+ }>, Schema.RecordTypes<{
517
+ media: Schema<Schema.InputRecord<{
518
+ kind: Schema;
519
+ value: Schema<string, string> & Schema.Present & Schema.Required;
520
+ mime_type: Schema<string, string>;
521
+ file_name: Schema<string, string>;
522
+ size: Schema<number, number>;
523
+ }>, Schema.RecordTypes<{
524
+ kind: Schema;
525
+ value: Schema<string, string> & Schema.Present & Schema.Required;
526
+ mime_type: Schema<string, string>;
527
+ file_name: Schema<string, string>;
528
+ size: Schema<number, number>;
529
+ }>> & {
530
+ readonly output?: Schema.RecordTypes<{
531
+ kind: Schema;
532
+ value: Schema<string, string> & Schema.Present & Schema.Required;
533
+ mime_type: Schema<string, string>;
534
+ file_name: Schema<string, string>;
535
+ size: Schema<number, number>;
536
+ }> | undefined;
537
+ } & Schema.Present & Schema.Required;
538
+ duration: Schema<number, number>;
539
+ }>> & {
540
+ readonly output?: Schema.RecordTypes<{
541
+ media: Schema<Schema.InputRecord<{
542
+ kind: Schema;
543
+ value: Schema<string, string> & Schema.Present & Schema.Required;
544
+ mime_type: Schema<string, string>;
545
+ file_name: Schema<string, string>;
546
+ size: Schema<number, number>;
547
+ }>, Schema.RecordTypes<{
548
+ kind: Schema;
549
+ value: Schema<string, string> & Schema.Present & Schema.Required;
550
+ mime_type: Schema<string, string>;
551
+ file_name: Schema<string, string>;
552
+ size: Schema<number, number>;
553
+ }>> & {
554
+ readonly output?: Schema.RecordTypes<{
555
+ kind: Schema;
556
+ value: Schema<string, string> & Schema.Present & Schema.Required;
557
+ mime_type: Schema<string, string>;
558
+ file_name: Schema<string, string>;
559
+ size: Schema<number, number>;
560
+ }> | undefined;
561
+ } & Schema.Present & Schema.Required;
562
+ duration: Schema<number, number>;
563
+ }> | undefined;
564
+ } & Schema.Present & Schema.Required;
565
+ platform: Schema<Record<string, any>, Record<string, any>>;
566
+ }> | undefined;
567
+ };
151
568
  export declare const videoSegmentSchema: Schema<Schema.InputRecord<{
152
569
  type: Schema<"video", "video"> & Schema.Present;
153
570
  data: Schema<Schema.InputRecord<{
@@ -157,48 +574,234 @@ export declare const videoSegmentSchema: Schema<Schema.InputRecord<{
157
574
  mime_type: Schema<string, string>;
158
575
  file_name: Schema<string, string>;
159
576
  size: Schema<number, number>;
160
- }>, {
161
- value: string;
162
- } & {
163
- kind?: any;
164
- mime_type?: string | undefined;
165
- file_name?: string | undefined;
166
- size?: number | undefined;
167
- }> & Schema.Present & Schema.Required;
577
+ }>, Schema.RecordTypes<{
578
+ kind: Schema;
579
+ value: Schema<string, string> & Schema.Present & Schema.Required;
580
+ mime_type: Schema<string, string>;
581
+ file_name: Schema<string, string>;
582
+ size: Schema<number, number>;
583
+ }>> & {
584
+ readonly output?: Schema.RecordTypes<{
585
+ kind: Schema;
586
+ value: Schema<string, string> & Schema.Present & Schema.Required;
587
+ mime_type: Schema<string, string>;
588
+ file_name: Schema<string, string>;
589
+ size: Schema<number, number>;
590
+ }> | undefined;
591
+ } & Schema.Present & Schema.Required;
168
592
  duration: Schema<number, number>;
169
593
  alt: Schema<string, string>;
170
- }>, {
171
- media: {
172
- value: string;
173
- } & {
174
- kind?: any;
175
- mime_type?: string | undefined;
176
- file_name?: string | undefined;
177
- size?: number | undefined;
178
- };
179
- } & {
180
- duration?: number | undefined;
181
- alt?: string | undefined;
182
- }> & Schema.Present & Schema.Required;
594
+ }>, Schema.RecordTypes<{
595
+ media: Schema<Schema.InputRecord<{
596
+ kind: Schema;
597
+ value: Schema<string, string> & Schema.Present & Schema.Required;
598
+ mime_type: Schema<string, string>;
599
+ file_name: Schema<string, string>;
600
+ size: Schema<number, number>;
601
+ }>, Schema.RecordTypes<{
602
+ kind: Schema;
603
+ value: Schema<string, string> & Schema.Present & Schema.Required;
604
+ mime_type: Schema<string, string>;
605
+ file_name: Schema<string, string>;
606
+ size: Schema<number, number>;
607
+ }>> & {
608
+ readonly output?: Schema.RecordTypes<{
609
+ kind: Schema;
610
+ value: Schema<string, string> & Schema.Present & Schema.Required;
611
+ mime_type: Schema<string, string>;
612
+ file_name: Schema<string, string>;
613
+ size: Schema<number, number>;
614
+ }> | undefined;
615
+ } & Schema.Present & Schema.Required;
616
+ duration: Schema<number, number>;
617
+ alt: Schema<string, string>;
618
+ }>> & {
619
+ readonly output?: Schema.RecordTypes<{
620
+ media: Schema<Schema.InputRecord<{
621
+ kind: Schema;
622
+ value: Schema<string, string> & Schema.Present & Schema.Required;
623
+ mime_type: Schema<string, string>;
624
+ file_name: Schema<string, string>;
625
+ size: Schema<number, number>;
626
+ }>, Schema.RecordTypes<{
627
+ kind: Schema;
628
+ value: Schema<string, string> & Schema.Present & Schema.Required;
629
+ mime_type: Schema<string, string>;
630
+ file_name: Schema<string, string>;
631
+ size: Schema<number, number>;
632
+ }>> & {
633
+ readonly output?: Schema.RecordTypes<{
634
+ kind: Schema;
635
+ value: Schema<string, string> & Schema.Present & Schema.Required;
636
+ mime_type: Schema<string, string>;
637
+ file_name: Schema<string, string>;
638
+ size: Schema<number, number>;
639
+ }> | undefined;
640
+ } & Schema.Present & Schema.Required;
641
+ duration: Schema<number, number>;
642
+ alt: Schema<string, string>;
643
+ }> | undefined;
644
+ } & Schema.Present & Schema.Required;
183
645
  platform: Schema<Record<string, any>, Record<string, any>>;
184
- }>, {
185
- type: "video";
186
- data: {
187
- media: {
188
- value: string;
189
- } & {
190
- kind?: any;
191
- mime_type?: string | undefined;
192
- file_name?: string | undefined;
193
- size?: number | undefined;
194
- };
195
- } & {
196
- duration?: number | undefined;
197
- alt?: string | undefined;
198
- };
199
- } & {
200
- platform?: Record<string, any> | undefined;
201
- }>;
646
+ }>, Schema.RecordTypes<{
647
+ type: Schema<"video", "video"> & Schema.Present;
648
+ data: Schema<Schema.InputRecord<{
649
+ media: Schema<Schema.InputRecord<{
650
+ kind: Schema;
651
+ value: Schema<string, string> & Schema.Present & Schema.Required;
652
+ mime_type: Schema<string, string>;
653
+ file_name: Schema<string, string>;
654
+ size: Schema<number, number>;
655
+ }>, Schema.RecordTypes<{
656
+ kind: Schema;
657
+ value: Schema<string, string> & Schema.Present & Schema.Required;
658
+ mime_type: Schema<string, string>;
659
+ file_name: Schema<string, string>;
660
+ size: Schema<number, number>;
661
+ }>> & {
662
+ readonly output?: Schema.RecordTypes<{
663
+ kind: Schema;
664
+ value: Schema<string, string> & Schema.Present & Schema.Required;
665
+ mime_type: Schema<string, string>;
666
+ file_name: Schema<string, string>;
667
+ size: Schema<number, number>;
668
+ }> | undefined;
669
+ } & Schema.Present & Schema.Required;
670
+ duration: Schema<number, number>;
671
+ alt: Schema<string, string>;
672
+ }>, Schema.RecordTypes<{
673
+ media: Schema<Schema.InputRecord<{
674
+ kind: Schema;
675
+ value: Schema<string, string> & Schema.Present & Schema.Required;
676
+ mime_type: Schema<string, string>;
677
+ file_name: Schema<string, string>;
678
+ size: Schema<number, number>;
679
+ }>, Schema.RecordTypes<{
680
+ kind: Schema;
681
+ value: Schema<string, string> & Schema.Present & Schema.Required;
682
+ mime_type: Schema<string, string>;
683
+ file_name: Schema<string, string>;
684
+ size: Schema<number, number>;
685
+ }>> & {
686
+ readonly output?: Schema.RecordTypes<{
687
+ kind: Schema;
688
+ value: Schema<string, string> & Schema.Present & Schema.Required;
689
+ mime_type: Schema<string, string>;
690
+ file_name: Schema<string, string>;
691
+ size: Schema<number, number>;
692
+ }> | undefined;
693
+ } & Schema.Present & Schema.Required;
694
+ duration: Schema<number, number>;
695
+ alt: Schema<string, string>;
696
+ }>> & {
697
+ readonly output?: Schema.RecordTypes<{
698
+ media: Schema<Schema.InputRecord<{
699
+ kind: Schema;
700
+ value: Schema<string, string> & Schema.Present & Schema.Required;
701
+ mime_type: Schema<string, string>;
702
+ file_name: Schema<string, string>;
703
+ size: Schema<number, number>;
704
+ }>, Schema.RecordTypes<{
705
+ kind: Schema;
706
+ value: Schema<string, string> & Schema.Present & Schema.Required;
707
+ mime_type: Schema<string, string>;
708
+ file_name: Schema<string, string>;
709
+ size: Schema<number, number>;
710
+ }>> & {
711
+ readonly output?: Schema.RecordTypes<{
712
+ kind: Schema;
713
+ value: Schema<string, string> & Schema.Present & Schema.Required;
714
+ mime_type: Schema<string, string>;
715
+ file_name: Schema<string, string>;
716
+ size: Schema<number, number>;
717
+ }> | undefined;
718
+ } & Schema.Present & Schema.Required;
719
+ duration: Schema<number, number>;
720
+ alt: Schema<string, string>;
721
+ }> | undefined;
722
+ } & Schema.Present & Schema.Required;
723
+ platform: Schema<Record<string, any>, Record<string, any>>;
724
+ }>> & {
725
+ readonly output?: Schema.RecordTypes<{
726
+ type: Schema<"video", "video"> & Schema.Present;
727
+ data: Schema<Schema.InputRecord<{
728
+ media: Schema<Schema.InputRecord<{
729
+ kind: Schema;
730
+ value: Schema<string, string> & Schema.Present & Schema.Required;
731
+ mime_type: Schema<string, string>;
732
+ file_name: Schema<string, string>;
733
+ size: Schema<number, number>;
734
+ }>, Schema.RecordTypes<{
735
+ kind: Schema;
736
+ value: Schema<string, string> & Schema.Present & Schema.Required;
737
+ mime_type: Schema<string, string>;
738
+ file_name: Schema<string, string>;
739
+ size: Schema<number, number>;
740
+ }>> & {
741
+ readonly output?: Schema.RecordTypes<{
742
+ kind: Schema;
743
+ value: Schema<string, string> & Schema.Present & Schema.Required;
744
+ mime_type: Schema<string, string>;
745
+ file_name: Schema<string, string>;
746
+ size: Schema<number, number>;
747
+ }> | undefined;
748
+ } & Schema.Present & Schema.Required;
749
+ duration: Schema<number, number>;
750
+ alt: Schema<string, string>;
751
+ }>, Schema.RecordTypes<{
752
+ media: Schema<Schema.InputRecord<{
753
+ kind: Schema;
754
+ value: Schema<string, string> & Schema.Present & Schema.Required;
755
+ mime_type: Schema<string, string>;
756
+ file_name: Schema<string, string>;
757
+ size: Schema<number, number>;
758
+ }>, Schema.RecordTypes<{
759
+ kind: Schema;
760
+ value: Schema<string, string> & Schema.Present & Schema.Required;
761
+ mime_type: Schema<string, string>;
762
+ file_name: Schema<string, string>;
763
+ size: Schema<number, number>;
764
+ }>> & {
765
+ readonly output?: Schema.RecordTypes<{
766
+ kind: Schema;
767
+ value: Schema<string, string> & Schema.Present & Schema.Required;
768
+ mime_type: Schema<string, string>;
769
+ file_name: Schema<string, string>;
770
+ size: Schema<number, number>;
771
+ }> | undefined;
772
+ } & Schema.Present & Schema.Required;
773
+ duration: Schema<number, number>;
774
+ alt: Schema<string, string>;
775
+ }>> & {
776
+ readonly output?: Schema.RecordTypes<{
777
+ media: Schema<Schema.InputRecord<{
778
+ kind: Schema;
779
+ value: Schema<string, string> & Schema.Present & Schema.Required;
780
+ mime_type: Schema<string, string>;
781
+ file_name: Schema<string, string>;
782
+ size: Schema<number, number>;
783
+ }>, Schema.RecordTypes<{
784
+ kind: Schema;
785
+ value: Schema<string, string> & Schema.Present & Schema.Required;
786
+ mime_type: Schema<string, string>;
787
+ file_name: Schema<string, string>;
788
+ size: Schema<number, number>;
789
+ }>> & {
790
+ readonly output?: Schema.RecordTypes<{
791
+ kind: Schema;
792
+ value: Schema<string, string> & Schema.Present & Schema.Required;
793
+ mime_type: Schema<string, string>;
794
+ file_name: Schema<string, string>;
795
+ size: Schema<number, number>;
796
+ }> | undefined;
797
+ } & Schema.Present & Schema.Required;
798
+ duration: Schema<number, number>;
799
+ alt: Schema<string, string>;
800
+ }> | undefined;
801
+ } & Schema.Present & Schema.Required;
802
+ platform: Schema<Record<string, any>, Record<string, any>>;
803
+ }> | undefined;
804
+ };
202
805
  export declare const fileSegmentSchema: Schema<Schema.InputRecord<{
203
806
  type: Schema<"file", "file"> & Schema.Present;
204
807
  data: Schema<Schema.InputRecord<{
@@ -208,136 +811,447 @@ export declare const fileSegmentSchema: Schema<Schema.InputRecord<{
208
811
  mime_type: Schema<string, string>;
209
812
  file_name: Schema<string, string>;
210
813
  size: Schema<number, number>;
211
- }>, {
212
- value: string;
213
- } & {
214
- kind?: any;
215
- mime_type?: string | undefined;
216
- file_name?: string | undefined;
217
- size?: number | undefined;
218
- }> & Schema.Present & Schema.Required;
814
+ }>, Schema.RecordTypes<{
815
+ kind: Schema;
816
+ value: Schema<string, string> & Schema.Present & Schema.Required;
817
+ mime_type: Schema<string, string>;
818
+ file_name: Schema<string, string>;
819
+ size: Schema<number, number>;
820
+ }>> & {
821
+ readonly output?: Schema.RecordTypes<{
822
+ kind: Schema;
823
+ value: Schema<string, string> & Schema.Present & Schema.Required;
824
+ mime_type: Schema<string, string>;
825
+ file_name: Schema<string, string>;
826
+ size: Schema<number, number>;
827
+ }> | undefined;
828
+ } & Schema.Present & Schema.Required;
219
829
  name: Schema<string, string>;
220
- }>, {
221
- media: {
222
- value: string;
223
- } & {
224
- kind?: any;
225
- mime_type?: string | undefined;
226
- file_name?: string | undefined;
227
- size?: number | undefined;
228
- };
229
- } & {
230
- name?: string | undefined;
231
- }> & Schema.Present & Schema.Required;
830
+ }>, Schema.RecordTypes<{
831
+ media: Schema<Schema.InputRecord<{
832
+ kind: Schema;
833
+ value: Schema<string, string> & Schema.Present & Schema.Required;
834
+ mime_type: Schema<string, string>;
835
+ file_name: Schema<string, string>;
836
+ size: Schema<number, number>;
837
+ }>, Schema.RecordTypes<{
838
+ kind: Schema;
839
+ value: Schema<string, string> & Schema.Present & Schema.Required;
840
+ mime_type: Schema<string, string>;
841
+ file_name: Schema<string, string>;
842
+ size: Schema<number, number>;
843
+ }>> & {
844
+ readonly output?: Schema.RecordTypes<{
845
+ kind: Schema;
846
+ value: Schema<string, string> & Schema.Present & Schema.Required;
847
+ mime_type: Schema<string, string>;
848
+ file_name: Schema<string, string>;
849
+ size: Schema<number, number>;
850
+ }> | undefined;
851
+ } & Schema.Present & Schema.Required;
852
+ name: Schema<string, string>;
853
+ }>> & {
854
+ readonly output?: Schema.RecordTypes<{
855
+ media: Schema<Schema.InputRecord<{
856
+ kind: Schema;
857
+ value: Schema<string, string> & Schema.Present & Schema.Required;
858
+ mime_type: Schema<string, string>;
859
+ file_name: Schema<string, string>;
860
+ size: Schema<number, number>;
861
+ }>, Schema.RecordTypes<{
862
+ kind: Schema;
863
+ value: Schema<string, string> & Schema.Present & Schema.Required;
864
+ mime_type: Schema<string, string>;
865
+ file_name: Schema<string, string>;
866
+ size: Schema<number, number>;
867
+ }>> & {
868
+ readonly output?: Schema.RecordTypes<{
869
+ kind: Schema;
870
+ value: Schema<string, string> & Schema.Present & Schema.Required;
871
+ mime_type: Schema<string, string>;
872
+ file_name: Schema<string, string>;
873
+ size: Schema<number, number>;
874
+ }> | undefined;
875
+ } & Schema.Present & Schema.Required;
876
+ name: Schema<string, string>;
877
+ }> | undefined;
878
+ } & Schema.Present & Schema.Required;
232
879
  platform: Schema<Record<string, any>, Record<string, any>>;
233
- }>, {
234
- type: "file";
235
- data: {
236
- media: {
237
- value: string;
238
- } & {
239
- kind?: any;
240
- mime_type?: string | undefined;
241
- file_name?: string | undefined;
242
- size?: number | undefined;
243
- };
244
- } & {
245
- name?: string | undefined;
246
- };
247
- } & {
248
- platform?: Record<string, any> | undefined;
249
- }>;
880
+ }>, Schema.RecordTypes<{
881
+ type: Schema<"file", "file"> & Schema.Present;
882
+ data: Schema<Schema.InputRecord<{
883
+ media: Schema<Schema.InputRecord<{
884
+ kind: Schema;
885
+ value: Schema<string, string> & Schema.Present & Schema.Required;
886
+ mime_type: Schema<string, string>;
887
+ file_name: Schema<string, string>;
888
+ size: Schema<number, number>;
889
+ }>, Schema.RecordTypes<{
890
+ kind: Schema;
891
+ value: Schema<string, string> & Schema.Present & Schema.Required;
892
+ mime_type: Schema<string, string>;
893
+ file_name: Schema<string, string>;
894
+ size: Schema<number, number>;
895
+ }>> & {
896
+ readonly output?: Schema.RecordTypes<{
897
+ kind: Schema;
898
+ value: Schema<string, string> & Schema.Present & Schema.Required;
899
+ mime_type: Schema<string, string>;
900
+ file_name: Schema<string, string>;
901
+ size: Schema<number, number>;
902
+ }> | undefined;
903
+ } & Schema.Present & Schema.Required;
904
+ name: Schema<string, string>;
905
+ }>, Schema.RecordTypes<{
906
+ media: Schema<Schema.InputRecord<{
907
+ kind: Schema;
908
+ value: Schema<string, string> & Schema.Present & Schema.Required;
909
+ mime_type: Schema<string, string>;
910
+ file_name: Schema<string, string>;
911
+ size: Schema<number, number>;
912
+ }>, Schema.RecordTypes<{
913
+ kind: Schema;
914
+ value: Schema<string, string> & Schema.Present & Schema.Required;
915
+ mime_type: Schema<string, string>;
916
+ file_name: Schema<string, string>;
917
+ size: Schema<number, number>;
918
+ }>> & {
919
+ readonly output?: Schema.RecordTypes<{
920
+ kind: Schema;
921
+ value: Schema<string, string> & Schema.Present & Schema.Required;
922
+ mime_type: Schema<string, string>;
923
+ file_name: Schema<string, string>;
924
+ size: Schema<number, number>;
925
+ }> | undefined;
926
+ } & Schema.Present & Schema.Required;
927
+ name: Schema<string, string>;
928
+ }>> & {
929
+ readonly output?: Schema.RecordTypes<{
930
+ media: Schema<Schema.InputRecord<{
931
+ kind: Schema;
932
+ value: Schema<string, string> & Schema.Present & Schema.Required;
933
+ mime_type: Schema<string, string>;
934
+ file_name: Schema<string, string>;
935
+ size: Schema<number, number>;
936
+ }>, Schema.RecordTypes<{
937
+ kind: Schema;
938
+ value: Schema<string, string> & Schema.Present & Schema.Required;
939
+ mime_type: Schema<string, string>;
940
+ file_name: Schema<string, string>;
941
+ size: Schema<number, number>;
942
+ }>> & {
943
+ readonly output?: Schema.RecordTypes<{
944
+ kind: Schema;
945
+ value: Schema<string, string> & Schema.Present & Schema.Required;
946
+ mime_type: Schema<string, string>;
947
+ file_name: Schema<string, string>;
948
+ size: Schema<number, number>;
949
+ }> | undefined;
950
+ } & Schema.Present & Schema.Required;
951
+ name: Schema<string, string>;
952
+ }> | undefined;
953
+ } & Schema.Present & Schema.Required;
954
+ platform: Schema<Record<string, any>, Record<string, any>>;
955
+ }>> & {
956
+ readonly output?: Schema.RecordTypes<{
957
+ type: Schema<"file", "file"> & Schema.Present;
958
+ data: Schema<Schema.InputRecord<{
959
+ media: Schema<Schema.InputRecord<{
960
+ kind: Schema;
961
+ value: Schema<string, string> & Schema.Present & Schema.Required;
962
+ mime_type: Schema<string, string>;
963
+ file_name: Schema<string, string>;
964
+ size: Schema<number, number>;
965
+ }>, Schema.RecordTypes<{
966
+ kind: Schema;
967
+ value: Schema<string, string> & Schema.Present & Schema.Required;
968
+ mime_type: Schema<string, string>;
969
+ file_name: Schema<string, string>;
970
+ size: Schema<number, number>;
971
+ }>> & {
972
+ readonly output?: Schema.RecordTypes<{
973
+ kind: Schema;
974
+ value: Schema<string, string> & Schema.Present & Schema.Required;
975
+ mime_type: Schema<string, string>;
976
+ file_name: Schema<string, string>;
977
+ size: Schema<number, number>;
978
+ }> | undefined;
979
+ } & Schema.Present & Schema.Required;
980
+ name: Schema<string, string>;
981
+ }>, Schema.RecordTypes<{
982
+ media: Schema<Schema.InputRecord<{
983
+ kind: Schema;
984
+ value: Schema<string, string> & Schema.Present & Schema.Required;
985
+ mime_type: Schema<string, string>;
986
+ file_name: Schema<string, string>;
987
+ size: Schema<number, number>;
988
+ }>, Schema.RecordTypes<{
989
+ kind: Schema;
990
+ value: Schema<string, string> & Schema.Present & Schema.Required;
991
+ mime_type: Schema<string, string>;
992
+ file_name: Schema<string, string>;
993
+ size: Schema<number, number>;
994
+ }>> & {
995
+ readonly output?: Schema.RecordTypes<{
996
+ kind: Schema;
997
+ value: Schema<string, string> & Schema.Present & Schema.Required;
998
+ mime_type: Schema<string, string>;
999
+ file_name: Schema<string, string>;
1000
+ size: Schema<number, number>;
1001
+ }> | undefined;
1002
+ } & Schema.Present & Schema.Required;
1003
+ name: Schema<string, string>;
1004
+ }>> & {
1005
+ readonly output?: Schema.RecordTypes<{
1006
+ media: Schema<Schema.InputRecord<{
1007
+ kind: Schema;
1008
+ value: Schema<string, string> & Schema.Present & Schema.Required;
1009
+ mime_type: Schema<string, string>;
1010
+ file_name: Schema<string, string>;
1011
+ size: Schema<number, number>;
1012
+ }>, Schema.RecordTypes<{
1013
+ kind: Schema;
1014
+ value: Schema<string, string> & Schema.Present & Schema.Required;
1015
+ mime_type: Schema<string, string>;
1016
+ file_name: Schema<string, string>;
1017
+ size: Schema<number, number>;
1018
+ }>> & {
1019
+ readonly output?: Schema.RecordTypes<{
1020
+ kind: Schema;
1021
+ value: Schema<string, string> & Schema.Present & Schema.Required;
1022
+ mime_type: Schema<string, string>;
1023
+ file_name: Schema<string, string>;
1024
+ size: Schema<number, number>;
1025
+ }> | undefined;
1026
+ } & Schema.Present & Schema.Required;
1027
+ name: Schema<string, string>;
1028
+ }> | undefined;
1029
+ } & Schema.Present & Schema.Required;
1030
+ platform: Schema<Record<string, any>, Record<string, any>>;
1031
+ }> | undefined;
1032
+ };
250
1033
  export declare const replySegmentSchema: Schema<Schema.InputRecord<{
251
1034
  type: Schema<"reply", "reply"> & Schema.Present;
252
1035
  data: Schema<Schema.InputRecord<{
253
1036
  message_id: Schema<string, string> & Schema.Present & Schema.Required;
254
- }>, {
255
- message_id: string;
256
- } & {}> & Schema.Present & Schema.Required;
1037
+ }>, Schema.RecordTypes<{
1038
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1039
+ }>> & {
1040
+ readonly output?: Schema.RecordTypes<{
1041
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1042
+ }> | undefined;
1043
+ } & Schema.Present & Schema.Required;
1044
+ platform: Schema<Record<string, any>, Record<string, any>>;
1045
+ }>, Schema.RecordTypes<{
1046
+ type: Schema<"reply", "reply"> & Schema.Present;
1047
+ data: Schema<Schema.InputRecord<{
1048
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1049
+ }>, Schema.RecordTypes<{
1050
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1051
+ }>> & {
1052
+ readonly output?: Schema.RecordTypes<{
1053
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1054
+ }> | undefined;
1055
+ } & Schema.Present & Schema.Required;
257
1056
  platform: Schema<Record<string, any>, Record<string, any>>;
258
- }>, {
259
- type: "reply";
260
- data: {
261
- message_id: string;
262
- } & {};
263
- } & {
264
- platform?: Record<string, any> | undefined;
265
- }>;
1057
+ }>> & {
1058
+ readonly output?: Schema.RecordTypes<{
1059
+ type: Schema<"reply", "reply"> & Schema.Present;
1060
+ data: Schema<Schema.InputRecord<{
1061
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1062
+ }>, Schema.RecordTypes<{
1063
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1064
+ }>> & {
1065
+ readonly output?: Schema.RecordTypes<{
1066
+ message_id: Schema<string, string> & Schema.Present & Schema.Required;
1067
+ }> | undefined;
1068
+ } & Schema.Present & Schema.Required;
1069
+ platform: Schema<Record<string, any>, Record<string, any>>;
1070
+ }> | undefined;
1071
+ };
266
1072
  export declare const forwardSegmentSchema: Schema<Schema.InputRecord<{
267
1073
  type: Schema<"forward", "forward"> & Schema.Present;
268
1074
  data: Schema<Schema.InputRecord<{
269
1075
  forward_id: Schema<string, string> & Schema.Present & Schema.Required;
270
1076
  title: Schema<string, string>;
271
1077
  messages: Schema<any[][], any[][]>;
272
- }>, {
273
- forward_id: string;
274
- } & {
275
- title?: string | undefined;
276
- messages?: any[][] | undefined;
277
- }> & Schema.Present & Schema.Required;
1078
+ }>, Schema.RecordTypes<{
1079
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1080
+ title: Schema<string, string>;
1081
+ messages: Schema<any[][], any[][]>;
1082
+ }>> & {
1083
+ readonly output?: Schema.RecordTypes<{
1084
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1085
+ title: Schema<string, string>;
1086
+ messages: Schema<any[][], any[][]>;
1087
+ }> | undefined;
1088
+ } & Schema.Present & Schema.Required;
1089
+ platform: Schema<Record<string, any>, Record<string, any>>;
1090
+ }>, Schema.RecordTypes<{
1091
+ type: Schema<"forward", "forward"> & Schema.Present;
1092
+ data: Schema<Schema.InputRecord<{
1093
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1094
+ title: Schema<string, string>;
1095
+ messages: Schema<any[][], any[][]>;
1096
+ }>, Schema.RecordTypes<{
1097
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1098
+ title: Schema<string, string>;
1099
+ messages: Schema<any[][], any[][]>;
1100
+ }>> & {
1101
+ readonly output?: Schema.RecordTypes<{
1102
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1103
+ title: Schema<string, string>;
1104
+ messages: Schema<any[][], any[][]>;
1105
+ }> | undefined;
1106
+ } & Schema.Present & Schema.Required;
278
1107
  platform: Schema<Record<string, any>, Record<string, any>>;
279
- }>, {
280
- type: "forward";
281
- data: {
282
- forward_id: string;
283
- } & {
284
- title?: string | undefined;
285
- messages?: any[][] | undefined;
286
- };
287
- } & {
288
- platform?: Record<string, any> | undefined;
289
- }>;
1108
+ }>> & {
1109
+ readonly output?: Schema.RecordTypes<{
1110
+ type: Schema<"forward", "forward"> & Schema.Present;
1111
+ data: Schema<Schema.InputRecord<{
1112
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1113
+ title: Schema<string, string>;
1114
+ messages: Schema<any[][], any[][]>;
1115
+ }>, Schema.RecordTypes<{
1116
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1117
+ title: Schema<string, string>;
1118
+ messages: Schema<any[][], any[][]>;
1119
+ }>> & {
1120
+ readonly output?: Schema.RecordTypes<{
1121
+ forward_id: Schema<string, string> & Schema.Present & Schema.Required;
1122
+ title: Schema<string, string>;
1123
+ messages: Schema<any[][], any[][]>;
1124
+ }> | undefined;
1125
+ } & Schema.Present & Schema.Required;
1126
+ platform: Schema<Record<string, any>, Record<string, any>>;
1127
+ }> | undefined;
1128
+ };
290
1129
  export declare const faceSegmentSchema: Schema<Schema.InputRecord<{
291
1130
  type: Schema<"face", "face"> & Schema.Present;
292
1131
  data: Schema<Schema.InputRecord<{
293
1132
  id: Schema;
294
1133
  name: Schema<string, string>;
295
- }>, {} & {
296
- id?: any;
297
- name?: string | undefined;
298
- }> & Schema.Present & Schema.Required;
1134
+ }>, Schema.RecordTypes<{
1135
+ id: Schema;
1136
+ name: Schema<string, string>;
1137
+ }>> & {
1138
+ readonly output?: Schema.RecordTypes<{
1139
+ id: Schema;
1140
+ name: Schema<string, string>;
1141
+ }> | undefined;
1142
+ } & Schema.Present & Schema.Required;
1143
+ platform: Schema<Record<string, any>, Record<string, any>>;
1144
+ }>, Schema.RecordTypes<{
1145
+ type: Schema<"face", "face"> & Schema.Present;
1146
+ data: Schema<Schema.InputRecord<{
1147
+ id: Schema;
1148
+ name: Schema<string, string>;
1149
+ }>, Schema.RecordTypes<{
1150
+ id: Schema;
1151
+ name: Schema<string, string>;
1152
+ }>> & {
1153
+ readonly output?: Schema.RecordTypes<{
1154
+ id: Schema;
1155
+ name: Schema<string, string>;
1156
+ }> | undefined;
1157
+ } & Schema.Present & Schema.Required;
299
1158
  platform: Schema<Record<string, any>, Record<string, any>>;
300
- }>, {
301
- type: "face";
302
- data: {} & {
303
- id?: any;
304
- name?: string | undefined;
305
- };
306
- } & {
307
- platform?: Record<string, any> | undefined;
308
- }>;
1159
+ }>> & {
1160
+ readonly output?: Schema.RecordTypes<{
1161
+ type: Schema<"face", "face"> & Schema.Present;
1162
+ data: Schema<Schema.InputRecord<{
1163
+ id: Schema;
1164
+ name: Schema<string, string>;
1165
+ }>, Schema.RecordTypes<{
1166
+ id: Schema;
1167
+ name: Schema<string, string>;
1168
+ }>> & {
1169
+ readonly output?: Schema.RecordTypes<{
1170
+ id: Schema;
1171
+ name: Schema<string, string>;
1172
+ }> | undefined;
1173
+ } & Schema.Present & Schema.Required;
1174
+ platform: Schema<Record<string, any>, Record<string, any>>;
1175
+ }> | undefined;
1176
+ };
309
1177
  export declare const diceSegmentSchema: Schema<Schema.InputRecord<{
310
1178
  type: Schema<"dice", "dice"> & Schema.Present;
311
1179
  data: Schema<Schema.InputRecord<{
312
1180
  result: Schema<number, number>;
313
- }>, {} & {
314
- result?: number | undefined;
315
- }> & Schema.Present & Schema.Required;
1181
+ }>, Schema.RecordTypes<{
1182
+ result: Schema<number, number>;
1183
+ }>> & {
1184
+ readonly output?: Schema.RecordTypes<{
1185
+ result: Schema<number, number>;
1186
+ }> | undefined;
1187
+ } & Schema.Present & Schema.Required;
316
1188
  platform: Schema<Record<string, any>, Record<string, any>>;
317
- }>, {
318
- type: "dice";
319
- data: {} & {
320
- result?: number | undefined;
321
- };
322
- } & {
323
- platform?: Record<string, any> | undefined;
324
- }>;
1189
+ }>, Schema.RecordTypes<{
1190
+ type: Schema<"dice", "dice"> & Schema.Present;
1191
+ data: Schema<Schema.InputRecord<{
1192
+ result: Schema<number, number>;
1193
+ }>, Schema.RecordTypes<{
1194
+ result: Schema<number, number>;
1195
+ }>> & {
1196
+ readonly output?: Schema.RecordTypes<{
1197
+ result: Schema<number, number>;
1198
+ }> | undefined;
1199
+ } & Schema.Present & Schema.Required;
1200
+ platform: Schema<Record<string, any>, Record<string, any>>;
1201
+ }>> & {
1202
+ readonly output?: Schema.RecordTypes<{
1203
+ type: Schema<"dice", "dice"> & Schema.Present;
1204
+ data: Schema<Schema.InputRecord<{
1205
+ result: Schema<number, number>;
1206
+ }>, Schema.RecordTypes<{
1207
+ result: Schema<number, number>;
1208
+ }>> & {
1209
+ readonly output?: Schema.RecordTypes<{
1210
+ result: Schema<number, number>;
1211
+ }> | undefined;
1212
+ } & Schema.Present & Schema.Required;
1213
+ platform: Schema<Record<string, any>, Record<string, any>>;
1214
+ }> | undefined;
1215
+ };
325
1216
  export declare const rpsSegmentSchema: Schema<Schema.InputRecord<{
326
1217
  type: Schema<"rps", "rps"> & Schema.Present;
327
1218
  data: Schema<Schema.InputRecord<{
328
1219
  result: Schema<number, number>;
329
- }>, {} & {
330
- result?: number | undefined;
331
- }> & Schema.Present & Schema.Required;
1220
+ }>, Schema.RecordTypes<{
1221
+ result: Schema<number, number>;
1222
+ }>> & {
1223
+ readonly output?: Schema.RecordTypes<{
1224
+ result: Schema<number, number>;
1225
+ }> | undefined;
1226
+ } & Schema.Present & Schema.Required;
1227
+ platform: Schema<Record<string, any>, Record<string, any>>;
1228
+ }>, Schema.RecordTypes<{
1229
+ type: Schema<"rps", "rps"> & Schema.Present;
1230
+ data: Schema<Schema.InputRecord<{
1231
+ result: Schema<number, number>;
1232
+ }>, Schema.RecordTypes<{
1233
+ result: Schema<number, number>;
1234
+ }>> & {
1235
+ readonly output?: Schema.RecordTypes<{
1236
+ result: Schema<number, number>;
1237
+ }> | undefined;
1238
+ } & Schema.Present & Schema.Required;
332
1239
  platform: Schema<Record<string, any>, Record<string, any>>;
333
- }>, {
334
- type: "rps";
335
- data: {} & {
336
- result?: number | undefined;
337
- };
338
- } & {
339
- platform?: Record<string, any> | undefined;
340
- }>;
1240
+ }>> & {
1241
+ readonly output?: Schema.RecordTypes<{
1242
+ type: Schema<"rps", "rps"> & Schema.Present;
1243
+ data: Schema<Schema.InputRecord<{
1244
+ result: Schema<number, number>;
1245
+ }>, Schema.RecordTypes<{
1246
+ result: Schema<number, number>;
1247
+ }>> & {
1248
+ readonly output?: Schema.RecordTypes<{
1249
+ result: Schema<number, number>;
1250
+ }> | undefined;
1251
+ } & Schema.Present & Schema.Required;
1252
+ platform: Schema<Record<string, any>, Record<string, any>>;
1253
+ }> | undefined;
1254
+ };
341
1255
  export declare const shareSegmentSchema: Schema<Schema.InputRecord<{
342
1256
  type: Schema<"share", "share"> & Schema.Present;
343
1257
  data: Schema<Schema.InputRecord<{
@@ -356,60 +1270,288 @@ export declare const shareSegmentSchema: Schema<Schema.InputRecord<{
356
1270
  sign: Schema<string, string>;
357
1271
  icon: Schema<string, string>;
358
1272
  version: Schema<string, string>;
359
- }>, {
360
- appid: number;
361
- } & {
362
- package?: string | undefined;
363
- sign?: string | undefined;
364
- icon?: string | undefined;
365
- version?: string | undefined;
366
- }>;
367
- }>, {
368
- url: string;
369
- title: string;
370
- } & {
371
- description?: string | undefined;
372
- image?: string | undefined;
373
- audio?: string | undefined;
374
- content?: string | undefined;
375
- artist?: string | undefined;
376
- duration?: number | undefined;
377
- platform?: string | undefined;
378
- config?: ({
379
- appid: number;
380
- } & {
381
- package?: string | undefined;
382
- sign?: string | undefined;
383
- icon?: string | undefined;
384
- version?: string | undefined;
385
- }) | undefined;
386
- }> & Schema.Present & Schema.Required;
1273
+ }>, Schema.RecordTypes<{
1274
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1275
+ package: Schema<string, string>;
1276
+ sign: Schema<string, string>;
1277
+ icon: Schema<string, string>;
1278
+ version: Schema<string, string>;
1279
+ }>> & {
1280
+ readonly output?: Schema.RecordTypes<{
1281
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1282
+ package: Schema<string, string>;
1283
+ sign: Schema<string, string>;
1284
+ icon: Schema<string, string>;
1285
+ version: Schema<string, string>;
1286
+ }> | undefined;
1287
+ };
1288
+ }>, Schema.RecordTypes<{
1289
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1290
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1291
+ description: Schema<string, string>;
1292
+ image: Schema<string, string>;
1293
+ audio: Schema<string, string>;
1294
+ content: Schema<string, string>;
1295
+ artist: Schema<string, string>;
1296
+ duration: Schema<number, number>;
1297
+ platform: Schema<string, string>;
1298
+ config: Schema<Schema.InputRecord<{
1299
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1300
+ package: Schema<string, string>;
1301
+ sign: Schema<string, string>;
1302
+ icon: Schema<string, string>;
1303
+ version: Schema<string, string>;
1304
+ }>, Schema.RecordTypes<{
1305
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1306
+ package: Schema<string, string>;
1307
+ sign: Schema<string, string>;
1308
+ icon: Schema<string, string>;
1309
+ version: Schema<string, string>;
1310
+ }>> & {
1311
+ readonly output?: Schema.RecordTypes<{
1312
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1313
+ package: Schema<string, string>;
1314
+ sign: Schema<string, string>;
1315
+ icon: Schema<string, string>;
1316
+ version: Schema<string, string>;
1317
+ }> | undefined;
1318
+ };
1319
+ }>> & {
1320
+ readonly output?: Schema.RecordTypes<{
1321
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1322
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1323
+ description: Schema<string, string>;
1324
+ image: Schema<string, string>;
1325
+ audio: Schema<string, string>;
1326
+ content: Schema<string, string>;
1327
+ artist: Schema<string, string>;
1328
+ duration: Schema<number, number>;
1329
+ platform: Schema<string, string>;
1330
+ config: Schema<Schema.InputRecord<{
1331
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1332
+ package: Schema<string, string>;
1333
+ sign: Schema<string, string>;
1334
+ icon: Schema<string, string>;
1335
+ version: Schema<string, string>;
1336
+ }>, Schema.RecordTypes<{
1337
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1338
+ package: Schema<string, string>;
1339
+ sign: Schema<string, string>;
1340
+ icon: Schema<string, string>;
1341
+ version: Schema<string, string>;
1342
+ }>> & {
1343
+ readonly output?: Schema.RecordTypes<{
1344
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1345
+ package: Schema<string, string>;
1346
+ sign: Schema<string, string>;
1347
+ icon: Schema<string, string>;
1348
+ version: Schema<string, string>;
1349
+ }> | undefined;
1350
+ };
1351
+ }> | undefined;
1352
+ } & Schema.Present & Schema.Required;
1353
+ platform: Schema<Record<string, any>, Record<string, any>>;
1354
+ }>, Schema.RecordTypes<{
1355
+ type: Schema<"share", "share"> & Schema.Present;
1356
+ data: Schema<Schema.InputRecord<{
1357
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1358
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1359
+ description: Schema<string, string>;
1360
+ image: Schema<string, string>;
1361
+ audio: Schema<string, string>;
1362
+ content: Schema<string, string>;
1363
+ artist: Schema<string, string>;
1364
+ duration: Schema<number, number>;
1365
+ platform: Schema<string, string>;
1366
+ config: Schema<Schema.InputRecord<{
1367
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1368
+ package: Schema<string, string>;
1369
+ sign: Schema<string, string>;
1370
+ icon: Schema<string, string>;
1371
+ version: Schema<string, string>;
1372
+ }>, Schema.RecordTypes<{
1373
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1374
+ package: Schema<string, string>;
1375
+ sign: Schema<string, string>;
1376
+ icon: Schema<string, string>;
1377
+ version: Schema<string, string>;
1378
+ }>> & {
1379
+ readonly output?: Schema.RecordTypes<{
1380
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1381
+ package: Schema<string, string>;
1382
+ sign: Schema<string, string>;
1383
+ icon: Schema<string, string>;
1384
+ version: Schema<string, string>;
1385
+ }> | undefined;
1386
+ };
1387
+ }>, Schema.RecordTypes<{
1388
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1389
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1390
+ description: Schema<string, string>;
1391
+ image: Schema<string, string>;
1392
+ audio: Schema<string, string>;
1393
+ content: Schema<string, string>;
1394
+ artist: Schema<string, string>;
1395
+ duration: Schema<number, number>;
1396
+ platform: Schema<string, string>;
1397
+ config: Schema<Schema.InputRecord<{
1398
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1399
+ package: Schema<string, string>;
1400
+ sign: Schema<string, string>;
1401
+ icon: Schema<string, string>;
1402
+ version: Schema<string, string>;
1403
+ }>, Schema.RecordTypes<{
1404
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1405
+ package: Schema<string, string>;
1406
+ sign: Schema<string, string>;
1407
+ icon: Schema<string, string>;
1408
+ version: Schema<string, string>;
1409
+ }>> & {
1410
+ readonly output?: Schema.RecordTypes<{
1411
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1412
+ package: Schema<string, string>;
1413
+ sign: Schema<string, string>;
1414
+ icon: Schema<string, string>;
1415
+ version: Schema<string, string>;
1416
+ }> | undefined;
1417
+ };
1418
+ }>> & {
1419
+ readonly output?: Schema.RecordTypes<{
1420
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1421
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1422
+ description: Schema<string, string>;
1423
+ image: Schema<string, string>;
1424
+ audio: Schema<string, string>;
1425
+ content: Schema<string, string>;
1426
+ artist: Schema<string, string>;
1427
+ duration: Schema<number, number>;
1428
+ platform: Schema<string, string>;
1429
+ config: Schema<Schema.InputRecord<{
1430
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1431
+ package: Schema<string, string>;
1432
+ sign: Schema<string, string>;
1433
+ icon: Schema<string, string>;
1434
+ version: Schema<string, string>;
1435
+ }>, Schema.RecordTypes<{
1436
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1437
+ package: Schema<string, string>;
1438
+ sign: Schema<string, string>;
1439
+ icon: Schema<string, string>;
1440
+ version: Schema<string, string>;
1441
+ }>> & {
1442
+ readonly output?: Schema.RecordTypes<{
1443
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1444
+ package: Schema<string, string>;
1445
+ sign: Schema<string, string>;
1446
+ icon: Schema<string, string>;
1447
+ version: Schema<string, string>;
1448
+ }> | undefined;
1449
+ };
1450
+ }> | undefined;
1451
+ } & Schema.Present & Schema.Required;
387
1452
  platform: Schema<Record<string, any>, Record<string, any>>;
388
- }>, {
389
- type: "share";
390
- data: {
391
- url: string;
392
- title: string;
393
- } & {
394
- description?: string | undefined;
395
- image?: string | undefined;
396
- audio?: string | undefined;
397
- content?: string | undefined;
398
- artist?: string | undefined;
399
- duration?: number | undefined;
400
- platform?: string | undefined;
401
- config?: ({
402
- appid: number;
403
- } & {
404
- package?: string | undefined;
405
- sign?: string | undefined;
406
- icon?: string | undefined;
407
- version?: string | undefined;
408
- }) | undefined;
409
- };
410
- } & {
411
- platform?: Record<string, any> | undefined;
412
- }>;
1453
+ }>> & {
1454
+ readonly output?: Schema.RecordTypes<{
1455
+ type: Schema<"share", "share"> & Schema.Present;
1456
+ data: Schema<Schema.InputRecord<{
1457
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1458
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1459
+ description: Schema<string, string>;
1460
+ image: Schema<string, string>;
1461
+ audio: Schema<string, string>;
1462
+ content: Schema<string, string>;
1463
+ artist: Schema<string, string>;
1464
+ duration: Schema<number, number>;
1465
+ platform: Schema<string, string>;
1466
+ config: Schema<Schema.InputRecord<{
1467
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1468
+ package: Schema<string, string>;
1469
+ sign: Schema<string, string>;
1470
+ icon: Schema<string, string>;
1471
+ version: Schema<string, string>;
1472
+ }>, Schema.RecordTypes<{
1473
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1474
+ package: Schema<string, string>;
1475
+ sign: Schema<string, string>;
1476
+ icon: Schema<string, string>;
1477
+ version: Schema<string, string>;
1478
+ }>> & {
1479
+ readonly output?: Schema.RecordTypes<{
1480
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1481
+ package: Schema<string, string>;
1482
+ sign: Schema<string, string>;
1483
+ icon: Schema<string, string>;
1484
+ version: Schema<string, string>;
1485
+ }> | undefined;
1486
+ };
1487
+ }>, Schema.RecordTypes<{
1488
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1489
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1490
+ description: Schema<string, string>;
1491
+ image: Schema<string, string>;
1492
+ audio: Schema<string, string>;
1493
+ content: Schema<string, string>;
1494
+ artist: Schema<string, string>;
1495
+ duration: Schema<number, number>;
1496
+ platform: Schema<string, string>;
1497
+ config: Schema<Schema.InputRecord<{
1498
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1499
+ package: Schema<string, string>;
1500
+ sign: Schema<string, string>;
1501
+ icon: Schema<string, string>;
1502
+ version: Schema<string, string>;
1503
+ }>, Schema.RecordTypes<{
1504
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1505
+ package: Schema<string, string>;
1506
+ sign: Schema<string, string>;
1507
+ icon: Schema<string, string>;
1508
+ version: Schema<string, string>;
1509
+ }>> & {
1510
+ readonly output?: Schema.RecordTypes<{
1511
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1512
+ package: Schema<string, string>;
1513
+ sign: Schema<string, string>;
1514
+ icon: Schema<string, string>;
1515
+ version: Schema<string, string>;
1516
+ }> | undefined;
1517
+ };
1518
+ }>> & {
1519
+ readonly output?: Schema.RecordTypes<{
1520
+ url: Schema<string, string> & Schema.Present & Schema.Required;
1521
+ title: Schema<string, string> & Schema.Present & Schema.Required;
1522
+ description: Schema<string, string>;
1523
+ image: Schema<string, string>;
1524
+ audio: Schema<string, string>;
1525
+ content: Schema<string, string>;
1526
+ artist: Schema<string, string>;
1527
+ duration: Schema<number, number>;
1528
+ platform: Schema<string, string>;
1529
+ config: Schema<Schema.InputRecord<{
1530
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1531
+ package: Schema<string, string>;
1532
+ sign: Schema<string, string>;
1533
+ icon: Schema<string, string>;
1534
+ version: Schema<string, string>;
1535
+ }>, Schema.RecordTypes<{
1536
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1537
+ package: Schema<string, string>;
1538
+ sign: Schema<string, string>;
1539
+ icon: Schema<string, string>;
1540
+ version: Schema<string, string>;
1541
+ }>> & {
1542
+ readonly output?: Schema.RecordTypes<{
1543
+ appid: Schema<number, number> & Schema.Present & Schema.Required;
1544
+ package: Schema<string, string>;
1545
+ sign: Schema<string, string>;
1546
+ icon: Schema<string, string>;
1547
+ version: Schema<string, string>;
1548
+ }> | undefined;
1549
+ };
1550
+ }> | undefined;
1551
+ } & Schema.Present & Schema.Required;
1552
+ platform: Schema<Record<string, any>, Record<string, any>>;
1553
+ }> | undefined;
1554
+ };
413
1555
  export declare const canonicalSegmentSchema: Schema<any, any>;
414
1556
  export declare const segmentArraySchema: Schema<any[], any[]>;
415
1557
  /** 严格 canonical 段校验(@zhin.js/schema validate-only) */