box-node-sdk 10.5.0 → 10.6.0

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 (205) hide show
  1. package/lib/bundle.js +655 -10
  2. package/lib/bundle.js.map +1 -1
  3. package/lib/client.d.ts +3 -1
  4. package/lib/client.d.ts.map +1 -1
  5. package/lib/client.js +5 -0
  6. package/lib/client.js.map +1 -1
  7. package/lib/managers/hubDocument.d.ts +133 -0
  8. package/lib/managers/hubDocument.d.ts.map +1 -0
  9. package/lib/managers/hubDocument.js +162 -0
  10. package/lib/managers/hubDocument.js.map +1 -0
  11. package/lib/managers/hubItems.d.ts +7 -0
  12. package/lib/managers/hubItems.d.ts.map +1 -1
  13. package/lib/managers/hubItems.js +1 -0
  14. package/lib/managers/hubItems.js.map +1 -1
  15. package/lib/managers/index.d.ts +1 -0
  16. package/lib/managers/index.d.ts.map +1 -1
  17. package/lib/managers/index.js +1 -0
  18. package/lib/managers/index.js.map +1 -1
  19. package/lib/managers/search.d.ts +1 -1
  20. package/lib/managers/search.d.ts.map +1 -1
  21. package/lib/managers/search.js +1 -1
  22. package/lib/managers/search.js.map +1 -1
  23. package/lib/managers/trashedItems.d.ts +2 -0
  24. package/lib/managers/trashedItems.d.ts.map +1 -1
  25. package/lib/managers/trashedItems.js +2 -0
  26. package/lib/managers/trashedItems.js.map +1 -1
  27. package/lib/networking/version.d.ts +1 -1
  28. package/lib/networking/version.js +1 -1
  29. package/lib/schemas/aiAgentBasicTextToolBase.d.ts +1 -1
  30. package/lib/schemas/aiAgentBasicTextToolBase.d.ts.map +1 -1
  31. package/lib/schemas/aiAgentSpreadsheetTool.d.ts +1 -1
  32. package/lib/schemas/aiAgentSpreadsheetTool.d.ts.map +1 -1
  33. package/lib/schemas/aiExtractStructured.d.ts +3 -0
  34. package/lib/schemas/aiExtractStructured.d.ts.map +1 -1
  35. package/lib/schemas/aiExtractStructured.js +9 -0
  36. package/lib/schemas/aiExtractStructured.js.map +1 -1
  37. package/lib/schemas/aiExtractStructuredResponse.d.ts +5 -0
  38. package/lib/schemas/aiExtractStructuredResponse.d.ts.map +1 -1
  39. package/lib/schemas/aiExtractStructuredResponse.js +24 -0
  40. package/lib/schemas/aiExtractStructuredResponse.js.map +1 -1
  41. package/lib/schemas/index.d.ts +5 -5
  42. package/lib/schemas/index.d.ts.map +1 -1
  43. package/lib/schemas/index.js +5 -5
  44. package/lib/schemas/index.js.map +1 -1
  45. package/lib/schemas/legalHoldPolicyAssignedItem.d.ts +13 -5
  46. package/lib/schemas/legalHoldPolicyAssignedItem.d.ts.map +1 -1
  47. package/lib/schemas/legalHoldPolicyAssignedItem.js +47 -24
  48. package/lib/schemas/legalHoldPolicyAssignedItem.js.map +1 -1
  49. package/lib/schemas/legalHoldPolicyAssignment.d.ts.map +1 -1
  50. package/lib/schemas/legalHoldPolicyAssignment.js.map +1 -1
  51. package/lib/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.d.ts +20 -0
  52. package/lib/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.d.ts.map +1 -0
  53. package/lib/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.js +105 -0
  54. package/lib/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.js.map +1 -0
  55. package/lib/schemas/v2025R0/hubDividerBlockV2025R0.d.ts +17 -0
  56. package/lib/schemas/v2025R0/hubDividerBlockV2025R0.d.ts.map +1 -0
  57. package/lib/schemas/v2025R0/hubDividerBlockV2025R0.js +87 -0
  58. package/lib/schemas/v2025R0/hubDividerBlockV2025R0.js.map +1 -0
  59. package/lib/schemas/v2025R0/hubDocumentBlockEntryV2025R0.d.ts +10 -0
  60. package/lib/schemas/v2025R0/hubDocumentBlockEntryV2025R0.d.ts.map +1 -0
  61. package/lib/schemas/v2025R0/hubDocumentBlockEntryV2025R0.js +60 -0
  62. package/lib/schemas/v2025R0/hubDocumentBlockEntryV2025R0.js.map +1 -0
  63. package/lib/schemas/v2025R0/hubDocumentBlockV2025R0.d.ts +13 -0
  64. package/lib/schemas/v2025R0/hubDocumentBlockV2025R0.d.ts.map +1 -0
  65. package/lib/schemas/v2025R0/hubDocumentBlockV2025R0.js +36 -0
  66. package/lib/schemas/v2025R0/hubDocumentBlockV2025R0.js.map +1 -0
  67. package/lib/schemas/v2025R0/hubDocumentBlocksV2025R0.d.ts +45 -0
  68. package/lib/schemas/v2025R0/hubDocumentBlocksV2025R0.d.ts.map +1 -0
  69. package/lib/schemas/v2025R0/hubDocumentBlocksV2025R0.js +162 -0
  70. package/lib/schemas/v2025R0/hubDocumentBlocksV2025R0.js.map +1 -0
  71. package/lib/schemas/v2025R0/hubDocumentPageV2025R0.d.ts +19 -0
  72. package/lib/schemas/v2025R0/hubDocumentPageV2025R0.d.ts.map +1 -0
  73. package/lib/schemas/v2025R0/hubDocumentPageV2025R0.js +68 -0
  74. package/lib/schemas/v2025R0/hubDocumentPageV2025R0.js.map +1 -0
  75. package/lib/schemas/v2025R0/hubDocumentPagesV2025R0.d.ts +45 -0
  76. package/lib/schemas/v2025R0/hubDocumentPagesV2025R0.d.ts.map +1 -0
  77. package/lib/schemas/v2025R0/hubDocumentPagesV2025R0.js +162 -0
  78. package/lib/schemas/v2025R0/hubDocumentPagesV2025R0.js.map +1 -0
  79. package/lib/schemas/v2025R0/hubItemListBlockV2025R0.d.ts +17 -0
  80. package/lib/schemas/v2025R0/hubItemListBlockV2025R0.d.ts.map +1 -0
  81. package/lib/schemas/v2025R0/hubItemListBlockV2025R0.js +87 -0
  82. package/lib/schemas/v2025R0/hubItemListBlockV2025R0.js.map +1 -0
  83. package/lib/schemas/v2025R0/hubItemOperationResultV2025R0.d.ts +3 -0
  84. package/lib/schemas/v2025R0/hubItemOperationResultV2025R0.d.ts.map +1 -1
  85. package/lib/schemas/v2025R0/hubItemOperationResultV2025R0.js +8 -0
  86. package/lib/schemas/v2025R0/hubItemOperationResultV2025R0.js.map +1 -1
  87. package/lib/schemas/v2025R0/hubItemOperationV2025R0.d.ts +3 -0
  88. package/lib/schemas/v2025R0/hubItemOperationV2025R0.d.ts.map +1 -1
  89. package/lib/schemas/v2025R0/hubItemOperationV2025R0.js +12 -1
  90. package/lib/schemas/v2025R0/hubItemOperationV2025R0.js.map +1 -1
  91. package/lib/schemas/v2025R0/hubParagraphTextBlockV2025R0.d.ts +20 -0
  92. package/lib/schemas/v2025R0/hubParagraphTextBlockV2025R0.d.ts.map +1 -0
  93. package/lib/schemas/v2025R0/hubParagraphTextBlockV2025R0.js +105 -0
  94. package/lib/schemas/v2025R0/hubParagraphTextBlockV2025R0.js.map +1 -0
  95. package/lib/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.d.ts +20 -0
  96. package/lib/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.d.ts.map +1 -0
  97. package/lib/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.js +105 -0
  98. package/lib/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.js.map +1 -0
  99. package/lib/schemas/v2025R0/index.d.ts +10 -0
  100. package/lib/schemas/v2025R0/index.d.ts.map +1 -1
  101. package/lib/schemas/v2025R0/index.js +10 -0
  102. package/lib/schemas/v2025R0/index.js.map +1 -1
  103. package/lib-esm/client.d.ts +3 -1
  104. package/lib-esm/client.js +6 -0
  105. package/lib-esm/client.js.map +1 -1
  106. package/lib-esm/managers/hubDocument.d.ts +132 -0
  107. package/lib-esm/managers/hubDocument.js +154 -0
  108. package/lib-esm/managers/hubDocument.js.map +1 -0
  109. package/lib-esm/managers/hubItems.d.ts +7 -0
  110. package/lib-esm/managers/hubItems.js +1 -0
  111. package/lib-esm/managers/hubItems.js.map +1 -1
  112. package/lib-esm/managers/index.d.ts +1 -0
  113. package/lib-esm/managers/index.js +1 -0
  114. package/lib-esm/managers/index.js.map +1 -1
  115. package/lib-esm/managers/search.d.ts +1 -1
  116. package/lib-esm/managers/search.js +1 -1
  117. package/lib-esm/managers/search.js.map +1 -1
  118. package/lib-esm/managers/trashedItems.d.ts +2 -0
  119. package/lib-esm/managers/trashedItems.js +2 -0
  120. package/lib-esm/managers/trashedItems.js.map +1 -1
  121. package/lib-esm/networking/version.d.ts +1 -1
  122. package/lib-esm/networking/version.js +1 -1
  123. package/lib-esm/schemas/aiAgentBasicTextToolBase.d.ts +1 -1
  124. package/lib-esm/schemas/aiAgentSpreadsheetTool.d.ts +1 -1
  125. package/lib-esm/schemas/aiExtractStructured.d.ts +3 -0
  126. package/lib-esm/schemas/aiExtractStructured.js +9 -0
  127. package/lib-esm/schemas/aiExtractStructured.js.map +1 -1
  128. package/lib-esm/schemas/aiExtractStructuredResponse.d.ts +5 -0
  129. package/lib-esm/schemas/aiExtractStructuredResponse.js +24 -0
  130. package/lib-esm/schemas/aiExtractStructuredResponse.js.map +1 -1
  131. package/lib-esm/schemas/index.d.ts +5 -5
  132. package/lib-esm/schemas/index.js +5 -5
  133. package/lib-esm/schemas/index.js.map +1 -1
  134. package/lib-esm/schemas/legalHoldPolicyAssignedItem.d.ts +13 -5
  135. package/lib-esm/schemas/legalHoldPolicyAssignedItem.js +44 -23
  136. package/lib-esm/schemas/legalHoldPolicyAssignedItem.js.map +1 -1
  137. package/lib-esm/schemas/legalHoldPolicyAssignment.js.map +1 -1
  138. package/lib-esm/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.d.ts +19 -0
  139. package/lib-esm/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.js +106 -0
  140. package/lib-esm/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.js.map +1 -0
  141. package/lib-esm/schemas/v2025R0/hubDividerBlockV2025R0.d.ts +16 -0
  142. package/lib-esm/schemas/v2025R0/hubDividerBlockV2025R0.js +85 -0
  143. package/lib-esm/schemas/v2025R0/hubDividerBlockV2025R0.js.map +1 -0
  144. package/lib-esm/schemas/v2025R0/hubDocumentBlockEntryV2025R0.d.ts +9 -0
  145. package/lib-esm/schemas/v2025R0/hubDocumentBlockEntryV2025R0.js +56 -0
  146. package/lib-esm/schemas/v2025R0/hubDocumentBlockEntryV2025R0.js.map +1 -0
  147. package/lib-esm/schemas/v2025R0/hubDocumentBlockV2025R0.d.ts +12 -0
  148. package/lib-esm/schemas/v2025R0/hubDocumentBlockV2025R0.js +32 -0
  149. package/lib-esm/schemas/v2025R0/hubDocumentBlockV2025R0.js.map +1 -0
  150. package/lib-esm/schemas/v2025R0/hubDocumentBlocksV2025R0.d.ts +44 -0
  151. package/lib-esm/schemas/v2025R0/hubDocumentBlocksV2025R0.js +164 -0
  152. package/lib-esm/schemas/v2025R0/hubDocumentBlocksV2025R0.js.map +1 -0
  153. package/lib-esm/schemas/v2025R0/hubDocumentPageV2025R0.d.ts +18 -0
  154. package/lib-esm/schemas/v2025R0/hubDocumentPageV2025R0.js +64 -0
  155. package/lib-esm/schemas/v2025R0/hubDocumentPageV2025R0.js.map +1 -0
  156. package/lib-esm/schemas/v2025R0/hubDocumentPagesV2025R0.d.ts +44 -0
  157. package/lib-esm/schemas/v2025R0/hubDocumentPagesV2025R0.js +164 -0
  158. package/lib-esm/schemas/v2025R0/hubDocumentPagesV2025R0.js.map +1 -0
  159. package/lib-esm/schemas/v2025R0/hubItemListBlockV2025R0.d.ts +16 -0
  160. package/lib-esm/schemas/v2025R0/hubItemListBlockV2025R0.js +85 -0
  161. package/lib-esm/schemas/v2025R0/hubItemListBlockV2025R0.js.map +1 -0
  162. package/lib-esm/schemas/v2025R0/hubItemOperationResultV2025R0.d.ts +3 -0
  163. package/lib-esm/schemas/v2025R0/hubItemOperationResultV2025R0.js +8 -0
  164. package/lib-esm/schemas/v2025R0/hubItemOperationResultV2025R0.js.map +1 -1
  165. package/lib-esm/schemas/v2025R0/hubItemOperationV2025R0.d.ts +3 -0
  166. package/lib-esm/schemas/v2025R0/hubItemOperationV2025R0.js +12 -1
  167. package/lib-esm/schemas/v2025R0/hubItemOperationV2025R0.js.map +1 -1
  168. package/lib-esm/schemas/v2025R0/hubParagraphTextBlockV2025R0.d.ts +19 -0
  169. package/lib-esm/schemas/v2025R0/hubParagraphTextBlockV2025R0.js +106 -0
  170. package/lib-esm/schemas/v2025R0/hubParagraphTextBlockV2025R0.js.map +1 -0
  171. package/lib-esm/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.d.ts +19 -0
  172. package/lib-esm/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.js +106 -0
  173. package/lib-esm/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.js.map +1 -0
  174. package/lib-esm/schemas/v2025R0/index.d.ts +10 -0
  175. package/lib-esm/schemas/v2025R0/index.js +10 -0
  176. package/lib-esm/schemas/v2025R0/index.js.map +1 -1
  177. package/package.json +1 -1
  178. package/src/client.ts +7 -0
  179. package/src/managers/hubDocument.ts +330 -0
  180. package/src/managers/hubItems.ts +8 -0
  181. package/src/managers/index.ts +1 -0
  182. package/src/managers/search.ts +2 -2
  183. package/src/managers/trashedItems.ts +2 -0
  184. package/src/networking/version.ts +1 -1
  185. package/src/schemas/aiAgentBasicTextToolBase.ts +1 -1
  186. package/src/schemas/aiAgentSpreadsheetTool.ts +1 -1
  187. package/src/schemas/aiExtractStructured.ts +16 -0
  188. package/src/schemas/aiExtractStructuredResponse.ts +44 -0
  189. package/src/schemas/index.ts +5 -5
  190. package/src/schemas/legalHoldPolicyAssignedItem.ts +69 -27
  191. package/src/schemas/legalHoldPolicyAssignment.ts +0 -9
  192. package/src/schemas/v2025R0/hubCalloutBoxTextBlockV2025R0.ts +133 -0
  193. package/src/schemas/v2025R0/hubDividerBlockV2025R0.ts +108 -0
  194. package/src/schemas/v2025R0/hubDocumentBlockEntryV2025R0.ts +76 -0
  195. package/src/schemas/v2025R0/hubDocumentBlockV2025R0.ts +51 -0
  196. package/src/schemas/v2025R0/hubDocumentBlocksV2025R0.ts +238 -0
  197. package/src/schemas/v2025R0/hubDocumentPageV2025R0.ts +92 -0
  198. package/src/schemas/v2025R0/hubDocumentPagesV2025R0.ts +218 -0
  199. package/src/schemas/v2025R0/hubItemListBlockV2025R0.ts +108 -0
  200. package/src/schemas/v2025R0/hubItemOperationResultV2025R0.ts +13 -0
  201. package/src/schemas/v2025R0/hubItemOperationV2025R0.ts +17 -1
  202. package/src/schemas/v2025R0/hubParagraphTextBlockV2025R0.ts +133 -0
  203. package/src/schemas/v2025R0/hubSectionTitleTextBlockV2025R0.ts +133 -0
  204. package/src/schemas/v2025R0/index.ts +10 -0
  205. package/src/test/hubDocument.test.ts +91 -0
@@ -0,0 +1,32 @@
1
+ import { BoxSdkError } from '../../box/errors.js';
2
+ import { sdIsString } from '../../serialization/json.js';
3
+ import { sdIsMap } from '../../serialization/json.js';
4
+ export function serializeHubDocumentBlockV2025R0(val) {
5
+ return { ['id']: val.id, ['parent_id']: val.parentId };
6
+ }
7
+ export function deserializeHubDocumentBlockV2025R0(val) {
8
+ if (!sdIsMap(val)) {
9
+ throw new BoxSdkError({
10
+ message: 'Expecting a map for "HubDocumentBlockV2025R0"',
11
+ });
12
+ }
13
+ if (val.id == void 0) {
14
+ throw new BoxSdkError({
15
+ message: 'Expecting "id" of type "HubDocumentBlockV2025R0" to be defined',
16
+ });
17
+ }
18
+ if (!sdIsString(val.id)) {
19
+ throw new BoxSdkError({
20
+ message: 'Expecting string for "id" of type "HubDocumentBlockV2025R0"',
21
+ });
22
+ }
23
+ const id = val.id;
24
+ if (!(val.parent_id == void 0) && !sdIsString(val.parent_id)) {
25
+ throw new BoxSdkError({
26
+ message: 'Expecting string for "parent_id" of type "HubDocumentBlockV2025R0"',
27
+ });
28
+ }
29
+ const parentId = val.parent_id == void 0 ? void 0 : val.parent_id;
30
+ return { id: id, parentId: parentId };
31
+ }
32
+ //# sourceMappingURL=hubDocumentBlockV2025R0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubDocumentBlockV2025R0.js","sourceRoot":"","sources":["../../../src/schemas/v2025R0/hubDocumentBlockV2025R0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK/C,OAAO,EAAE,UAAU,EAAE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 import { HubDocumentBlockEntryV2025R0 } from './hubDocumentBlockEntryV2025R0.js';
2
+ import { SerializedData } from '../../serialization/json.js';
3
+ export type HubDocumentBlocksV2025R0TypeField = 'document_blocks';
4
+ export declare class HubDocumentBlocksV2025R0 {
5
+ /**
6
+ * Ordered list of blocks. */
7
+ readonly entries: readonly HubDocumentBlockEntryV2025R0[];
8
+ /**
9
+ * The value will always be `document_blocks`. */
10
+ readonly type: HubDocumentBlocksV2025R0TypeField;
11
+ /**
12
+ * The limit that was used for these entries. This will be the same as the
13
+ * `limit` query parameter unless that value exceeded the maximum value
14
+ * allowed. The maximum value varies by API. */
15
+ readonly limit?: number;
16
+ /**
17
+ * The marker for the start of the next page of results. */
18
+ readonly nextMarker?: string | null;
19
+ readonly rawData?: SerializedData;
20
+ constructor(fields: Omit<HubDocumentBlocksV2025R0, 'type'> & Partial<Pick<HubDocumentBlocksV2025R0, 'type'>>);
21
+ }
22
+ export interface HubDocumentBlocksV2025R0Input {
23
+ /**
24
+ * Ordered list of blocks. */
25
+ readonly entries: readonly HubDocumentBlockEntryV2025R0[];
26
+ /**
27
+ * The value will always be `document_blocks`. */
28
+ readonly type?: HubDocumentBlocksV2025R0TypeField;
29
+ /**
30
+ * The limit that was used for these entries. This will be the same as the
31
+ * `limit` query parameter unless that value exceeded the maximum value
32
+ * allowed. The maximum value varies by API. */
33
+ readonly limit?: number;
34
+ /**
35
+ * The marker for the start of the next page of results. */
36
+ readonly nextMarker?: string | null;
37
+ readonly rawData?: SerializedData;
38
+ }
39
+ export declare function serializeHubDocumentBlocksV2025R0TypeField(val: HubDocumentBlocksV2025R0TypeField): SerializedData;
40
+ export declare function deserializeHubDocumentBlocksV2025R0TypeField(val: SerializedData): HubDocumentBlocksV2025R0TypeField;
41
+ export declare function serializeHubDocumentBlocksV2025R0(val: HubDocumentBlocksV2025R0): SerializedData;
42
+ export declare function deserializeHubDocumentBlocksV2025R0(val: SerializedData): HubDocumentBlocksV2025R0;
43
+ export declare function serializeHubDocumentBlocksV2025R0Input(val: HubDocumentBlocksV2025R0Input): SerializedData;
44
+ export declare function deserializeHubDocumentBlocksV2025R0Input(val: SerializedData): HubDocumentBlocksV2025R0Input;
@@ -0,0 +1,164 @@
1
+ import { serializeHubDocumentBlockEntryV2025R0 } from './hubDocumentBlockEntryV2025R0.js';
2
+ import { deserializeHubDocumentBlockEntryV2025R0 } from './hubDocumentBlockEntryV2025R0.js';
3
+ import { BoxSdkError } from '../../box/errors.js';
4
+ import { sdIsNumber } from '../../serialization/json.js';
5
+ import { sdIsString } from '../../serialization/json.js';
6
+ import { sdIsList } from '../../serialization/json.js';
7
+ import { sdIsMap } from '../../serialization/json.js';
8
+ export class HubDocumentBlocksV2025R0 {
9
+ /**
10
+ * Ordered list of blocks. */
11
+ entries;
12
+ /**
13
+ * The value will always be `document_blocks`. */
14
+ type = 'document_blocks';
15
+ /**
16
+ * The limit that was used for these entries. This will be the same as the
17
+ * `limit` query parameter unless that value exceeded the maximum value
18
+ * allowed. The maximum value varies by API. */
19
+ limit;
20
+ /**
21
+ * The marker for the start of the next page of results. */
22
+ nextMarker;
23
+ rawData;
24
+ constructor(fields) {
25
+ if (fields.entries !== undefined) {
26
+ this.entries = fields.entries;
27
+ }
28
+ if (fields.type !== undefined) {
29
+ this.type = fields.type;
30
+ }
31
+ if (fields.limit !== undefined) {
32
+ this.limit = fields.limit;
33
+ }
34
+ if (fields.nextMarker !== undefined) {
35
+ this.nextMarker = fields.nextMarker;
36
+ }
37
+ if (fields.rawData !== undefined) {
38
+ this.rawData = fields.rawData;
39
+ }
40
+ }
41
+ }
42
+ export function serializeHubDocumentBlocksV2025R0TypeField(val) {
43
+ return val;
44
+ }
45
+ export function deserializeHubDocumentBlocksV2025R0TypeField(val) {
46
+ if (val == 'document_blocks') {
47
+ return val;
48
+ }
49
+ throw new BoxSdkError({
50
+ message: "Can't deserialize HubDocumentBlocksV2025R0TypeField",
51
+ });
52
+ }
53
+ export function serializeHubDocumentBlocksV2025R0(val) {
54
+ return {
55
+ ['entries']: val.entries.map(function (item) {
56
+ return serializeHubDocumentBlockEntryV2025R0(item);
57
+ }),
58
+ ['type']: serializeHubDocumentBlocksV2025R0TypeField(val.type),
59
+ ['limit']: val.limit,
60
+ ['next_marker']: val.nextMarker,
61
+ };
62
+ }
63
+ export function deserializeHubDocumentBlocksV2025R0(val) {
64
+ if (!sdIsMap(val)) {
65
+ throw new BoxSdkError({
66
+ message: 'Expecting a map for "HubDocumentBlocksV2025R0"',
67
+ });
68
+ }
69
+ if (val.entries == void 0) {
70
+ throw new BoxSdkError({
71
+ message: 'Expecting "entries" of type "HubDocumentBlocksV2025R0" to be defined',
72
+ });
73
+ }
74
+ if (!sdIsList(val.entries)) {
75
+ throw new BoxSdkError({
76
+ message: 'Expecting array for "entries" of type "HubDocumentBlocksV2025R0"',
77
+ });
78
+ }
79
+ const entries = sdIsList(val.entries)
80
+ ? val.entries.map(function (itm) {
81
+ return deserializeHubDocumentBlockEntryV2025R0(itm);
82
+ })
83
+ : [];
84
+ if (val.type == void 0) {
85
+ throw new BoxSdkError({
86
+ message: 'Expecting "type" of type "HubDocumentBlocksV2025R0" to be defined',
87
+ });
88
+ }
89
+ const type = deserializeHubDocumentBlocksV2025R0TypeField(val.type);
90
+ if (!(val.limit == void 0) && !sdIsNumber(val.limit)) {
91
+ throw new BoxSdkError({
92
+ message: 'Expecting number for "limit" of type "HubDocumentBlocksV2025R0"',
93
+ });
94
+ }
95
+ const limit = val.limit == void 0 ? void 0 : val.limit;
96
+ if (!(val.next_marker == void 0) && !sdIsString(val.next_marker)) {
97
+ throw new BoxSdkError({
98
+ message: 'Expecting string for "next_marker" of type "HubDocumentBlocksV2025R0"',
99
+ });
100
+ }
101
+ const nextMarker = val.next_marker == void 0 ? void 0 : val.next_marker;
102
+ return {
103
+ entries: entries,
104
+ type: type,
105
+ limit: limit,
106
+ nextMarker: nextMarker,
107
+ };
108
+ }
109
+ export function serializeHubDocumentBlocksV2025R0Input(val) {
110
+ return {
111
+ ['entries']: val.entries.map(function (item) {
112
+ return serializeHubDocumentBlockEntryV2025R0(item);
113
+ }),
114
+ ['type']: val.type == void 0
115
+ ? val.type
116
+ : serializeHubDocumentBlocksV2025R0TypeField(val.type),
117
+ ['limit']: val.limit,
118
+ ['next_marker']: val.nextMarker,
119
+ };
120
+ }
121
+ export function deserializeHubDocumentBlocksV2025R0Input(val) {
122
+ if (!sdIsMap(val)) {
123
+ throw new BoxSdkError({
124
+ message: 'Expecting a map for "HubDocumentBlocksV2025R0Input"',
125
+ });
126
+ }
127
+ if (val.entries == void 0) {
128
+ throw new BoxSdkError({
129
+ message: 'Expecting "entries" of type "HubDocumentBlocksV2025R0Input" to be defined',
130
+ });
131
+ }
132
+ if (!sdIsList(val.entries)) {
133
+ throw new BoxSdkError({
134
+ message: 'Expecting array for "entries" of type "HubDocumentBlocksV2025R0Input"',
135
+ });
136
+ }
137
+ const entries = sdIsList(val.entries)
138
+ ? val.entries.map(function (itm) {
139
+ return deserializeHubDocumentBlockEntryV2025R0(itm);
140
+ })
141
+ : [];
142
+ const type = val.type == void 0
143
+ ? void 0
144
+ : deserializeHubDocumentBlocksV2025R0TypeField(val.type);
145
+ if (!(val.limit == void 0) && !sdIsNumber(val.limit)) {
146
+ throw new BoxSdkError({
147
+ message: 'Expecting number for "limit" of type "HubDocumentBlocksV2025R0Input"',
148
+ });
149
+ }
150
+ const limit = val.limit == void 0 ? void 0 : val.limit;
151
+ if (!(val.next_marker == void 0) && !sdIsString(val.next_marker)) {
152
+ throw new BoxSdkError({
153
+ message: 'Expecting string for "next_marker" of type "HubDocumentBlocksV2025R0Input"',
154
+ });
155
+ }
156
+ const nextMarker = val.next_marker == void 0 ? void 0 : val.next_marker;
157
+ return {
158
+ entries: entries,
159
+ type: type,
160
+ limit: limit,
161
+ nextMarker: nextMarker,
162
+ };
163
+ }
164
+ //# sourceMappingURL=hubDocumentBlocksV2025R0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubDocumentBlocksV2025R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R,CAAC,CAAC,4CAA4C,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC7D,IAAI,CAAC,CAAC,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QACrD,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EACL,sEAAsE;SACzE,CAAC,CAAC;IACL,CAAC;IACD,MAAM,KAAK,GAAuB,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IAC3E,IAAI,CAAC,CAAC,GAAG,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QACjE,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EACL,4EAA4E;SAC/E,CAAC,CAAC;IACL,CAAC;IACD,MAAM,UAAU,GACd,GAAG,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC;IACvD,OAAO;QACL,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,KAAK;QACZ,UAAU,EAAE,UAAU;KACiB,CAAC;AAC5C,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { SerializedData } from '../../serialization/json.js';
2
+ export interface HubDocumentPageV2025R0 {
3
+ /**
4
+ * The unique identifier for this page. */
5
+ readonly id: string;
6
+ /**
7
+ * The type of this resource. The value is always `page`. */
8
+ readonly type: string;
9
+ /**
10
+ * The unique identifier of the parent page. Null for root-level pages. */
11
+ readonly parentId?: string | null;
12
+ /**
13
+ * The title text of the page. Includes rich text formatting. */
14
+ readonly titleFragment: string;
15
+ readonly rawData?: SerializedData;
16
+ }
17
+ export declare function serializeHubDocumentPageV2025R0(val: HubDocumentPageV2025R0): SerializedData;
18
+ export declare function deserializeHubDocumentPageV2025R0(val: SerializedData): HubDocumentPageV2025R0;
@@ -0,0 +1,64 @@
1
+ import { BoxSdkError } from '../../box/errors.js';
2
+ import { sdIsString } from '../../serialization/json.js';
3
+ import { sdIsMap } from '../../serialization/json.js';
4
+ export function serializeHubDocumentPageV2025R0(val) {
5
+ return {
6
+ ['id']: val.id,
7
+ ['type']: val.type,
8
+ ['parent_id']: val.parentId,
9
+ ['title_fragment']: val.titleFragment,
10
+ };
11
+ }
12
+ export function deserializeHubDocumentPageV2025R0(val) {
13
+ if (!sdIsMap(val)) {
14
+ throw new BoxSdkError({
15
+ message: 'Expecting a map for "HubDocumentPageV2025R0"',
16
+ });
17
+ }
18
+ if (val.id == void 0) {
19
+ throw new BoxSdkError({
20
+ message: 'Expecting "id" of type "HubDocumentPageV2025R0" to be defined',
21
+ });
22
+ }
23
+ if (!sdIsString(val.id)) {
24
+ throw new BoxSdkError({
25
+ message: 'Expecting string for "id" of type "HubDocumentPageV2025R0"',
26
+ });
27
+ }
28
+ const id = val.id;
29
+ if (val.type == void 0) {
30
+ throw new BoxSdkError({
31
+ message: 'Expecting "type" of type "HubDocumentPageV2025R0" to be defined',
32
+ });
33
+ }
34
+ if (!sdIsString(val.type)) {
35
+ throw new BoxSdkError({
36
+ message: 'Expecting string for "type" of type "HubDocumentPageV2025R0"',
37
+ });
38
+ }
39
+ const type = val.type;
40
+ if (!(val.parent_id == void 0) && !sdIsString(val.parent_id)) {
41
+ throw new BoxSdkError({
42
+ message: 'Expecting string for "parent_id" of type "HubDocumentPageV2025R0"',
43
+ });
44
+ }
45
+ const parentId = val.parent_id == void 0 ? void 0 : val.parent_id;
46
+ if (val.title_fragment == void 0) {
47
+ throw new BoxSdkError({
48
+ message: 'Expecting "title_fragment" of type "HubDocumentPageV2025R0" to be defined',
49
+ });
50
+ }
51
+ if (!sdIsString(val.title_fragment)) {
52
+ throw new BoxSdkError({
53
+ message: 'Expecting string for "title_fragment" of type "HubDocumentPageV2025R0"',
54
+ });
55
+ }
56
+ const titleFragment = val.title_fragment;
57
+ return {
58
+ id: id,
59
+ type: type,
60
+ parentId: parentId,
61
+ titleFragment: titleFragment,
62
+ };
63
+ }
64
+ //# sourceMappingURL=hubDocumentPageV2025R0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubDocumentPageV2025R0.js","sourceRoot":"","sources":["../../../src/schemas/v2025R0/hubDocumentPageV2025R0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK/C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAgBnD,MAAM,UAAU,+BAA+B,CAC7C,GAA2B;IAE3B,OAAO;QACL,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,EAAE;QACd,CAAC,MAAM,CAAC,EAAE,GAAG,CAAC,IAAI;QAClB,CAAC,WAAW,CAAC,EAAE,GAAG,CAAC,QAAQ;QAC3B,CAAC,gBAAgB,CAAC,EAAE,GAAG,CAAC,aAAa;KACtC,CAAC;AACJ,CAAC;AACD,MAAM,UAAU,iCAAiC,CAC/C,GAAmB;IAEnB,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;QAClB,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EAAE,8CAA8C;SACxD,CAAC,CAAC;IACL,CAAC;IACD,IAAI,GAAG,CAAC,EAAE,IAAI,KAAK,CAAC,EAAE,CAAC;QACrB,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EAAE,+DAA+D;SACzE,CAAC,CAAC;IACL,CAAC;IACD,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;QACxB,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EAAE,4DAA4D;SACtE,CAAC,CAAC;IACL,CAAC;IACD,MAAM,EAAE,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2025R0 } from './hubDocumentPageV2025R0.js';
2
+ import { SerializedData } from '../../serialization/json.js';
3
+ export type HubDocumentPagesV2025R0TypeField = 'document_pages';
4
+ export declare class HubDocumentPagesV2025R0 {
5
+ /**
6
+ * Ordered list of pages. */
7
+ readonly entries: readonly HubDocumentPageV2025R0[];
8
+ /**
9
+ * The value will always be `document_pages`. */
10
+ readonly type: HubDocumentPagesV2025R0TypeField;
11
+ /**
12
+ * The limit that was used for these entries. This will be the same as the
13
+ * `limit` query parameter unless that value exceeded the maximum value
14
+ * allowed. The maximum value varies by API. */
15
+ readonly limit?: number;
16
+ /**
17
+ * The marker for the start of the next page of results. */
18
+ readonly nextMarker?: string | null;
19
+ readonly rawData?: SerializedData;
20
+ constructor(fields: Omit<HubDocumentPagesV2025R0, 'type'> & Partial<Pick<HubDocumentPagesV2025R0, 'type'>>);
21
+ }
22
+ export interface HubDocumentPagesV2025R0Input {
23
+ /**
24
+ * Ordered list of pages. */
25
+ readonly entries: readonly HubDocumentPageV2025R0[];
26
+ /**
27
+ * The value will always be `document_pages`. */
28
+ readonly type?: HubDocumentPagesV2025R0TypeField;
29
+ /**
30
+ * The limit that was used for these entries. This will be the same as the
31
+ * `limit` query parameter unless that value exceeded the maximum value
32
+ * allowed. The maximum value varies by API. */
33
+ readonly limit?: number;
34
+ /**
35
+ * The marker for the start of the next page of results. */
36
+ readonly nextMarker?: string | null;
37
+ readonly rawData?: SerializedData;
38
+ }
39
+ export declare function serializeHubDocumentPagesV2025R0TypeField(val: HubDocumentPagesV2025R0TypeField): SerializedData;
40
+ export declare function deserializeHubDocumentPagesV2025R0TypeField(val: SerializedData): HubDocumentPagesV2025R0TypeField;
41
+ export declare function serializeHubDocumentPagesV2025R0(val: HubDocumentPagesV2025R0): SerializedData;
42
+ export declare function deserializeHubDocumentPagesV2025R0(val: SerializedData): HubDocumentPagesV2025R0;
43
+ export declare function serializeHubDocumentPagesV2025R0Input(val: HubDocumentPagesV2025R0Input): SerializedData;
44
+ export declare function deserializeHubDocumentPagesV2025R0Input(val: SerializedData): HubDocumentPagesV2025R0Input;
@@ -0,0 +1,164 @@
1
+ import { serializeHubDocumentPageV2025R0 } from './hubDocumentPageV2025R0.js';
2
+ import { deserializeHubDocumentPageV2025R0 } from './hubDocumentPageV2025R0.js';
3
+ import { BoxSdkError } from '../../box/errors.js';
4
+ import { sdIsNumber } from '../../serialization/json.js';
5
+ import { sdIsString } from '../../serialization/json.js';
6
+ import { sdIsList } from '../../serialization/json.js';
7
+ import { sdIsMap } from '../../serialization/json.js';
8
+ export class HubDocumentPagesV2025R0 {
9
+ /**
10
+ * Ordered list of pages. */
11
+ entries;
12
+ /**
13
+ * The value will always be `document_pages`. */
14
+ type = 'document_pages';
15
+ /**
16
+ * The limit that was used for these entries. This will be the same as the
17
+ * `limit` query parameter unless that value exceeded the maximum value
18
+ * allowed. The maximum value varies by API. */
19
+ limit;
20
+ /**
21
+ * The marker for the start of the next page of results. */
22
+ nextMarker;
23
+ rawData;
24
+ constructor(fields) {
25
+ if (fields.entries !== undefined) {
26
+ this.entries = fields.entries;
27
+ }
28
+ if (fields.type !== undefined) {
29
+ this.type = fields.type;
30
+ }
31
+ if (fields.limit !== undefined) {
32
+ this.limit = fields.limit;
33
+ }
34
+ if (fields.nextMarker !== undefined) {
35
+ this.nextMarker = fields.nextMarker;
36
+ }
37
+ if (fields.rawData !== undefined) {
38
+ this.rawData = fields.rawData;
39
+ }
40
+ }
41
+ }
42
+ export function serializeHubDocumentPagesV2025R0TypeField(val) {
43
+ return val;
44
+ }
45
+ export function deserializeHubDocumentPagesV2025R0TypeField(val) {
46
+ if (val == 'document_pages') {
47
+ return val;
48
+ }
49
+ throw new BoxSdkError({
50
+ message: "Can't deserialize HubDocumentPagesV2025R0TypeField",
51
+ });
52
+ }
53
+ export function serializeHubDocumentPagesV2025R0(val) {
54
+ return {
55
+ ['entries']: val.entries.map(function (item) {
56
+ return serializeHubDocumentPageV2025R0(item);
57
+ }),
58
+ ['type']: serializeHubDocumentPagesV2025R0TypeField(val.type),
59
+ ['limit']: val.limit,
60
+ ['next_marker']: val.nextMarker,
61
+ };
62
+ }
63
+ export function deserializeHubDocumentPagesV2025R0(val) {
64
+ if (!sdIsMap(val)) {
65
+ throw new BoxSdkError({
66
+ message: 'Expecting a map for "HubDocumentPagesV2025R0"',
67
+ });
68
+ }
69
+ if (val.entries == void 0) {
70
+ throw new BoxSdkError({
71
+ message: 'Expecting "entries" of type "HubDocumentPagesV2025R0" to be defined',
72
+ });
73
+ }
74
+ if (!sdIsList(val.entries)) {
75
+ throw new BoxSdkError({
76
+ message: 'Expecting array for "entries" of type "HubDocumentPagesV2025R0"',
77
+ });
78
+ }
79
+ const entries = sdIsList(val.entries)
80
+ ? val.entries.map(function (itm) {
81
+ return deserializeHubDocumentPageV2025R0(itm);
82
+ })
83
+ : [];
84
+ if (val.type == void 0) {
85
+ throw new BoxSdkError({
86
+ message: 'Expecting "type" of type "HubDocumentPagesV2025R0" to be defined',
87
+ });
88
+ }
89
+ const type = deserializeHubDocumentPagesV2025R0TypeField(val.type);
90
+ if (!(val.limit == void 0) && !sdIsNumber(val.limit)) {
91
+ throw new BoxSdkError({
92
+ message: 'Expecting number for "limit" of type "HubDocumentPagesV2025R0"',
93
+ });
94
+ }
95
+ const limit = val.limit == void 0 ? void 0 : val.limit;
96
+ if (!(val.next_marker == void 0) && !sdIsString(val.next_marker)) {
97
+ throw new BoxSdkError({
98
+ message: 'Expecting string for "next_marker" of type "HubDocumentPagesV2025R0"',
99
+ });
100
+ }
101
+ const nextMarker = val.next_marker == void 0 ? void 0 : val.next_marker;
102
+ return {
103
+ entries: entries,
104
+ type: type,
105
+ limit: limit,
106
+ nextMarker: nextMarker,
107
+ };
108
+ }
109
+ export function serializeHubDocumentPagesV2025R0Input(val) {
110
+ return {
111
+ ['entries']: val.entries.map(function (item) {
112
+ return serializeHubDocumentPageV2025R0(item);
113
+ }),
114
+ ['type']: val.type == void 0
115
+ ? val.type
116
+ : serializeHubDocumentPagesV2025R0TypeField(val.type),
117
+ ['limit']: val.limit,
118
+ ['next_marker']: val.nextMarker,
119
+ };
120
+ }
121
+ export function deserializeHubDocumentPagesV2025R0Input(val) {
122
+ if (!sdIsMap(val)) {
123
+ throw new BoxSdkError({
124
+ message: 'Expecting a map for "HubDocumentPagesV2025R0Input"',
125
+ });
126
+ }
127
+ if (val.entries == void 0) {
128
+ throw new BoxSdkError({
129
+ message: 'Expecting "entries" of type "HubDocumentPagesV2025R0Input" to be defined',
130
+ });
131
+ }
132
+ if (!sdIsList(val.entries)) {
133
+ throw new BoxSdkError({
134
+ message: 'Expecting array for "entries" of type "HubDocumentPagesV2025R0Input"',
135
+ });
136
+ }
137
+ const entries = sdIsList(val.entries)
138
+ ? val.entries.map(function (itm) {
139
+ return deserializeHubDocumentPageV2025R0(itm);
140
+ })
141
+ : [];
142
+ const type = val.type == void 0
143
+ ? void 0
144
+ : deserializeHubDocumentPagesV2025R0TypeField(val.type);
145
+ if (!(val.limit == void 0) && !sdIsNumber(val.limit)) {
146
+ throw new BoxSdkError({
147
+ message: 'Expecting number for "limit" of type "HubDocumentPagesV2025R0Input"',
148
+ });
149
+ }
150
+ const limit = val.limit == void 0 ? void 0 : val.limit;
151
+ if (!(val.next_marker == void 0) && !sdIsString(val.next_marker)) {
152
+ throw new BoxSdkError({
153
+ message: 'Expecting string for "next_marker" of type "HubDocumentPagesV2025R0Input"',
154
+ });
155
+ }
156
+ const nextMarker = val.next_marker == void 0 ? void 0 : val.next_marker;
157
+ return {
158
+ entries: entries,
159
+ type: type,
160
+ limit: limit,
161
+ nextMarker: nextMarker,
162
+ };
163
+ }
164
+ //# sourceMappingURL=hubDocumentPagesV2025R0.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hubDocumentPagesV2025R0.js","sourceRoot":"","sources":["../../../src/schemas/v2025R0/hubDocumentPagesV2025R0.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAE,MAAM,0BAA0B,CAAC;AAC3E,O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C,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;QACrD,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EACL,qEAAqE;SACxE,CAAC,CAAC;IACL,CAAC;IACD,MAAM,KAAK,GAAuB,GAAG,CAAC,KAAK,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC;IAC3E,IAAI,CAAC,CAAC,GAAG,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,EAAE,CAAC;QACjE,MAAM,IAAI,WAAW,CAAC;YACpB,OAAO,EACL,2EAA2E;SAC9E,CAAC,CAAC;IACL,CAAC;IACD,MAAM,UAAU,GACd,GAAG,CAAC,WAAW,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC;IACvD,OAAO;QACL,OAAO,EAAE,OAAO;QAChB,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,KAAK;QACZ,UAAU,EAAE,UAAU;KACgB,CAAC;AAC3C,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { HubDocumentBlockV2025R0 } from './hubDocumentBlockV2025R0.js';
2
+ import { SerializedData } from '../../serialization/json.js';
3
+ export type HubItemListBlockV2025R0TypeField = 'item_list';
4
+ export declare class HubItemListBlockV2025R0 implements HubDocumentBlockV2025R0 {
5
+ readonly id: string;
6
+ readonly parentId?: string | null;
7
+ readonly rawData?: SerializedData;
8
+ /**
9
+ * The type of this block. The value is always `item_list`. */
10
+ readonly type: HubItemListBlockV2025R0TypeField;
11
+ constructor(fields: Omit<HubItemListBlockV2025R0, 'type'> & Partial<Pick<HubItemListBlockV2025R0, 'type'>>);
12
+ }
13
+ export declare function serializeHubItemListBlockV2025R0TypeField(val: HubItemListBlockV2025R0TypeField): SerializedData;
14
+ export declare function deserializeHubItemListBlockV2025R0TypeField(val: SerializedData): HubItemListBlockV2025R0TypeField;
15
+ export declare function serializeHubItemListBlockV2025R0(val: HubItemListBlockV2025R0): SerializedData;
16
+ export declare function deserializeHubItemListBlockV2025R0(val: SerializedData): HubItemListBlockV2025R0;