@seed-hypermedia/client 0.0.65 → 0.0.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/change.d.ts +1 -1
- package/dist/{chunk-PDW4T53T.mjs → chunk-SQEUO7FO.mjs} +30 -2
- package/dist/hm-types.d.ts +70 -14
- package/dist/hm-types.mjs +3 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/change.d.ts
CHANGED
|
@@ -293,6 +293,30 @@ function hmMetadataJsonCorrection(metadata) {
|
|
|
293
293
|
return metadata;
|
|
294
294
|
}
|
|
295
295
|
var BUILTIN_METADATA_KEYS = new Set(Object.keys(HMDocumentMetadataSchema.shape));
|
|
296
|
+
var DOCUMENT_ATTRIBUTE_DESCRIPTIONS = {
|
|
297
|
+
name: "Document or space title.",
|
|
298
|
+
summary: "Short description shown in previews and cards.",
|
|
299
|
+
icon: "Square document or space image.",
|
|
300
|
+
thumbnail: "Deprecated image field kept for older documents.",
|
|
301
|
+
cover: "Wide cover image shown in headers and cards.",
|
|
302
|
+
siteUrl: "Published website URL for a space.",
|
|
303
|
+
layout: "Legacy site header layout setting.",
|
|
304
|
+
displayPublishTime: "Publication date shown to readers.",
|
|
305
|
+
displayAuthor: "Author byline shown to readers.",
|
|
306
|
+
seedExperimentalLogo: "Logo shown in the site header.",
|
|
307
|
+
seedExperimentalHomeOrder: "Legacy ordering preference for a space home page.",
|
|
308
|
+
showOutline: "Whether to show the document outline.",
|
|
309
|
+
showActivity: "Whether to show document activity and tools.",
|
|
310
|
+
contentWidth: "Width of the document content area.",
|
|
311
|
+
childrenType: "Layout of the document\u2019s root-level blocks.",
|
|
312
|
+
theme: "Visual settings for a site.",
|
|
313
|
+
"theme.headerLayout": "Alignment of the site header.",
|
|
314
|
+
importCategories: "Categories retained from an imported document.",
|
|
315
|
+
importTags: "Tags retained from an imported document.",
|
|
316
|
+
title: "Legacy document title; new documents use name.",
|
|
317
|
+
alias: "Legacy identity name used by older profiles.",
|
|
318
|
+
description: "Legacy profile description; documents use summary."
|
|
319
|
+
};
|
|
296
320
|
function countCustomMetadataFields(metadata) {
|
|
297
321
|
if (!metadata) return 0;
|
|
298
322
|
let count = 0;
|
|
@@ -762,8 +786,10 @@ var HMSearchInputSchema = z.object({
|
|
|
762
786
|
perspectiveAccountUid: z.string().optional(),
|
|
763
787
|
searchType: z.number().optional(),
|
|
764
788
|
pageSize: z.number().optional(),
|
|
789
|
+
pageToken: z.string().optional(),
|
|
765
790
|
iriFilter: z.string().optional(),
|
|
766
|
-
contentTypeFilter: z.array(z.number()).optional()
|
|
791
|
+
contentTypeFilter: z.array(z.number()).optional(),
|
|
792
|
+
entityKindFilter: z.array(z.number()).optional()
|
|
767
793
|
});
|
|
768
794
|
var HMSearchResultItemSchema = z.object({
|
|
769
795
|
id: unpackedHmIdSchema,
|
|
@@ -778,7 +804,8 @@ var HMSearchResultItemSchema = z.object({
|
|
|
778
804
|
});
|
|
779
805
|
var HMSearchPayloadSchema = z.object({
|
|
780
806
|
entities: z.array(HMSearchResultItemSchema),
|
|
781
|
-
searchQuery: z.string()
|
|
807
|
+
searchQuery: z.string(),
|
|
808
|
+
nextPageToken: z.string()
|
|
782
809
|
});
|
|
783
810
|
var HMSearchRequestSchema = z.object({
|
|
784
811
|
key: z.literal("Search"),
|
|
@@ -1401,6 +1428,7 @@ export {
|
|
|
1401
1428
|
HMDocumentMetadataSchema,
|
|
1402
1429
|
hmMetadataJsonCorrection,
|
|
1403
1430
|
BUILTIN_METADATA_KEYS,
|
|
1431
|
+
DOCUMENT_ATTRIBUTE_DESCRIPTIONS,
|
|
1404
1432
|
countCustomMetadataFields,
|
|
1405
1433
|
HMResourceVisibilitySchema,
|
|
1406
1434
|
HMCommentSchema,
|
package/dist/hm-types.d.ts
CHANGED
|
@@ -2836,6 +2836,8 @@ export declare function hmMetadataJsonCorrection(metadata: any): any;
|
|
|
2836
2836
|
export type HMMetadata = z.infer<typeof HMDocumentMetadataSchema>;
|
|
2837
2837
|
/** Keys declared by HMDocumentMetadataSchema — the built-in document metadata fields. */
|
|
2838
2838
|
export declare const BUILTIN_METADATA_KEYS: ReadonlySet<string>;
|
|
2839
|
+
/** User-facing explanations for document attributes understood by Seed. */
|
|
2840
|
+
export declare const DOCUMENT_ATTRIBUTE_DESCRIPTIONS: Readonly<Record<string, string>>;
|
|
2839
2841
|
/**
|
|
2840
2842
|
* Count of custom (user-authored) metadata fields on a document: keys not
|
|
2841
2843
|
* declared by HMDocumentMetadataSchema. Null/undefined values (e.g. removed
|
|
@@ -18622,8 +18624,10 @@ export declare const HMSearchInputSchema: z.ZodObject<{
|
|
|
18622
18624
|
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
18623
18625
|
searchType: z.ZodOptional<z.ZodNumber>;
|
|
18624
18626
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
18627
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
18625
18628
|
iriFilter: z.ZodOptional<z.ZodString>;
|
|
18626
18629
|
contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
18630
|
+
entityKindFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
18627
18631
|
}, "strip", z.ZodTypeAny, {
|
|
18628
18632
|
query: string;
|
|
18629
18633
|
accountUid?: string | undefined;
|
|
@@ -18632,8 +18636,10 @@ export declare const HMSearchInputSchema: z.ZodObject<{
|
|
|
18632
18636
|
perspectiveAccountUid?: string | undefined;
|
|
18633
18637
|
searchType?: number | undefined;
|
|
18634
18638
|
pageSize?: number | undefined;
|
|
18639
|
+
pageToken?: string | undefined;
|
|
18635
18640
|
iriFilter?: string | undefined;
|
|
18636
18641
|
contentTypeFilter?: number[] | undefined;
|
|
18642
|
+
entityKindFilter?: number[] | undefined;
|
|
18637
18643
|
}, {
|
|
18638
18644
|
query: string;
|
|
18639
18645
|
accountUid?: string | undefined;
|
|
@@ -18642,8 +18648,10 @@ export declare const HMSearchInputSchema: z.ZodObject<{
|
|
|
18642
18648
|
perspectiveAccountUid?: string | undefined;
|
|
18643
18649
|
searchType?: number | undefined;
|
|
18644
18650
|
pageSize?: number | undefined;
|
|
18651
|
+
pageToken?: string | undefined;
|
|
18645
18652
|
iriFilter?: string | undefined;
|
|
18646
18653
|
contentTypeFilter?: number[] | undefined;
|
|
18654
|
+
entityKindFilter?: number[] | undefined;
|
|
18647
18655
|
}>;
|
|
18648
18656
|
export type HMSearchInput = z.infer<typeof HMSearchInputSchema>;
|
|
18649
18657
|
export declare const HMSearchResultItemSchema: z.ZodObject<{
|
|
@@ -19136,6 +19144,7 @@ export declare const HMSearchPayloadSchema: z.ZodObject<{
|
|
|
19136
19144
|
versionTime?: string | undefined;
|
|
19137
19145
|
}>, "many">;
|
|
19138
19146
|
searchQuery: z.ZodString;
|
|
19147
|
+
nextPageToken: z.ZodString;
|
|
19139
19148
|
}, "strip", z.ZodTypeAny, {
|
|
19140
19149
|
searchQuery: string;
|
|
19141
19150
|
entities: {
|
|
@@ -19190,6 +19199,7 @@ export declare const HMSearchPayloadSchema: z.ZodObject<{
|
|
|
19190
19199
|
commentId?: string | undefined;
|
|
19191
19200
|
versionTime?: string | undefined;
|
|
19192
19201
|
}[];
|
|
19202
|
+
nextPageToken: string;
|
|
19193
19203
|
}, {
|
|
19194
19204
|
searchQuery: string;
|
|
19195
19205
|
entities: {
|
|
@@ -19244,6 +19254,7 @@ export declare const HMSearchPayloadSchema: z.ZodObject<{
|
|
|
19244
19254
|
commentId?: string | undefined;
|
|
19245
19255
|
versionTime?: string | undefined;
|
|
19246
19256
|
}[];
|
|
19257
|
+
nextPageToken: string;
|
|
19247
19258
|
}>;
|
|
19248
19259
|
export type HMSearchPayload = z.infer<typeof HMSearchPayloadSchema>;
|
|
19249
19260
|
export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
@@ -19256,8 +19267,10 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19256
19267
|
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
19257
19268
|
searchType: z.ZodOptional<z.ZodNumber>;
|
|
19258
19269
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
19270
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
19259
19271
|
iriFilter: z.ZodOptional<z.ZodString>;
|
|
19260
19272
|
contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
19273
|
+
entityKindFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
19261
19274
|
}, "strip", z.ZodTypeAny, {
|
|
19262
19275
|
query: string;
|
|
19263
19276
|
accountUid?: string | undefined;
|
|
@@ -19266,8 +19279,10 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19266
19279
|
perspectiveAccountUid?: string | undefined;
|
|
19267
19280
|
searchType?: number | undefined;
|
|
19268
19281
|
pageSize?: number | undefined;
|
|
19282
|
+
pageToken?: string | undefined;
|
|
19269
19283
|
iriFilter?: string | undefined;
|
|
19270
19284
|
contentTypeFilter?: number[] | undefined;
|
|
19285
|
+
entityKindFilter?: number[] | undefined;
|
|
19271
19286
|
}, {
|
|
19272
19287
|
query: string;
|
|
19273
19288
|
accountUid?: string | undefined;
|
|
@@ -19276,8 +19291,10 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19276
19291
|
perspectiveAccountUid?: string | undefined;
|
|
19277
19292
|
searchType?: number | undefined;
|
|
19278
19293
|
pageSize?: number | undefined;
|
|
19294
|
+
pageToken?: string | undefined;
|
|
19279
19295
|
iriFilter?: string | undefined;
|
|
19280
19296
|
contentTypeFilter?: number[] | undefined;
|
|
19297
|
+
entityKindFilter?: number[] | undefined;
|
|
19281
19298
|
}>;
|
|
19282
19299
|
output: z.ZodObject<{
|
|
19283
19300
|
entities: z.ZodArray<z.ZodObject<{
|
|
@@ -19525,6 +19542,7 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19525
19542
|
versionTime?: string | undefined;
|
|
19526
19543
|
}>, "many">;
|
|
19527
19544
|
searchQuery: z.ZodString;
|
|
19545
|
+
nextPageToken: z.ZodString;
|
|
19528
19546
|
}, "strip", z.ZodTypeAny, {
|
|
19529
19547
|
searchQuery: string;
|
|
19530
19548
|
entities: {
|
|
@@ -19579,6 +19597,7 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19579
19597
|
commentId?: string | undefined;
|
|
19580
19598
|
versionTime?: string | undefined;
|
|
19581
19599
|
}[];
|
|
19600
|
+
nextPageToken: string;
|
|
19582
19601
|
}, {
|
|
19583
19602
|
searchQuery: string;
|
|
19584
19603
|
entities: {
|
|
@@ -19633,6 +19652,7 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19633
19652
|
commentId?: string | undefined;
|
|
19634
19653
|
versionTime?: string | undefined;
|
|
19635
19654
|
}[];
|
|
19655
|
+
nextPageToken: string;
|
|
19636
19656
|
}>;
|
|
19637
19657
|
}, "strip", z.ZodTypeAny, {
|
|
19638
19658
|
key: "Search";
|
|
@@ -19644,8 +19664,10 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19644
19664
|
perspectiveAccountUid?: string | undefined;
|
|
19645
19665
|
searchType?: number | undefined;
|
|
19646
19666
|
pageSize?: number | undefined;
|
|
19667
|
+
pageToken?: string | undefined;
|
|
19647
19668
|
iriFilter?: string | undefined;
|
|
19648
19669
|
contentTypeFilter?: number[] | undefined;
|
|
19670
|
+
entityKindFilter?: number[] | undefined;
|
|
19649
19671
|
};
|
|
19650
19672
|
output: {
|
|
19651
19673
|
searchQuery: string;
|
|
@@ -19701,6 +19723,7 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19701
19723
|
commentId?: string | undefined;
|
|
19702
19724
|
versionTime?: string | undefined;
|
|
19703
19725
|
}[];
|
|
19726
|
+
nextPageToken: string;
|
|
19704
19727
|
};
|
|
19705
19728
|
}, {
|
|
19706
19729
|
key: "Search";
|
|
@@ -19712,8 +19735,10 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19712
19735
|
perspectiveAccountUid?: string | undefined;
|
|
19713
19736
|
searchType?: number | undefined;
|
|
19714
19737
|
pageSize?: number | undefined;
|
|
19738
|
+
pageToken?: string | undefined;
|
|
19715
19739
|
iriFilter?: string | undefined;
|
|
19716
19740
|
contentTypeFilter?: number[] | undefined;
|
|
19741
|
+
entityKindFilter?: number[] | undefined;
|
|
19717
19742
|
};
|
|
19718
19743
|
output: {
|
|
19719
19744
|
searchQuery: string;
|
|
@@ -19769,6 +19794,7 @@ export declare const HMSearchRequestSchema: z.ZodObject<{
|
|
|
19769
19794
|
commentId?: string | undefined;
|
|
19770
19795
|
versionTime?: string | undefined;
|
|
19771
19796
|
}[];
|
|
19797
|
+
nextPageToken: string;
|
|
19772
19798
|
};
|
|
19773
19799
|
}>;
|
|
19774
19800
|
export type HMSearchRequest = z.infer<typeof HMSearchRequestSchema>;
|
|
@@ -25790,11 +25816,11 @@ export declare const HMListEventsOutputSchema: z.ZodObject<{
|
|
|
25790
25816
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
25791
25817
|
nextPageToken: z.ZodString;
|
|
25792
25818
|
}, "strip", z.ZodTypeAny, {
|
|
25793
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25794
25819
|
nextPageToken: string;
|
|
25820
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25795
25821
|
}, {
|
|
25796
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25797
25822
|
nextPageToken: string;
|
|
25823
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25798
25824
|
}>;
|
|
25799
25825
|
export type HMListEventsOutput = z.infer<typeof HMListEventsOutputSchema>;
|
|
25800
25826
|
export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
@@ -25831,11 +25857,11 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
25831
25857
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
25832
25858
|
nextPageToken: z.ZodString;
|
|
25833
25859
|
}, "strip", z.ZodTypeAny, {
|
|
25834
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25835
25860
|
nextPageToken: string;
|
|
25861
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25836
25862
|
}, {
|
|
25837
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25838
25863
|
nextPageToken: string;
|
|
25864
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25839
25865
|
}>;
|
|
25840
25866
|
}, "strip", z.ZodTypeAny, {
|
|
25841
25867
|
key: "ListEvents";
|
|
@@ -25850,8 +25876,8 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
25850
25876
|
order?: "claimed" | "observed" | undefined;
|
|
25851
25877
|
};
|
|
25852
25878
|
output: {
|
|
25853
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25854
25879
|
nextPageToken: string;
|
|
25880
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25855
25881
|
};
|
|
25856
25882
|
}, {
|
|
25857
25883
|
key: "ListEvents";
|
|
@@ -25866,8 +25892,8 @@ export declare const HMListEventsRequestSchema: z.ZodObject<{
|
|
|
25866
25892
|
order?: "claimed" | "observed" | undefined;
|
|
25867
25893
|
};
|
|
25868
25894
|
output: {
|
|
25869
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25870
25895
|
nextPageToken: string;
|
|
25896
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
25871
25897
|
};
|
|
25872
25898
|
}>;
|
|
25873
25899
|
export type HMListEventsRequest = z.infer<typeof HMListEventsRequestSchema>;
|
|
@@ -39198,8 +39224,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39198
39224
|
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
39199
39225
|
searchType: z.ZodOptional<z.ZodNumber>;
|
|
39200
39226
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
39227
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
39201
39228
|
iriFilter: z.ZodOptional<z.ZodString>;
|
|
39202
39229
|
contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
39230
|
+
entityKindFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
39203
39231
|
}, "strip", z.ZodTypeAny, {
|
|
39204
39232
|
query: string;
|
|
39205
39233
|
accountUid?: string | undefined;
|
|
@@ -39208,8 +39236,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39208
39236
|
perspectiveAccountUid?: string | undefined;
|
|
39209
39237
|
searchType?: number | undefined;
|
|
39210
39238
|
pageSize?: number | undefined;
|
|
39239
|
+
pageToken?: string | undefined;
|
|
39211
39240
|
iriFilter?: string | undefined;
|
|
39212
39241
|
contentTypeFilter?: number[] | undefined;
|
|
39242
|
+
entityKindFilter?: number[] | undefined;
|
|
39213
39243
|
}, {
|
|
39214
39244
|
query: string;
|
|
39215
39245
|
accountUid?: string | undefined;
|
|
@@ -39218,8 +39248,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39218
39248
|
perspectiveAccountUid?: string | undefined;
|
|
39219
39249
|
searchType?: number | undefined;
|
|
39220
39250
|
pageSize?: number | undefined;
|
|
39251
|
+
pageToken?: string | undefined;
|
|
39221
39252
|
iriFilter?: string | undefined;
|
|
39222
39253
|
contentTypeFilter?: number[] | undefined;
|
|
39254
|
+
entityKindFilter?: number[] | undefined;
|
|
39223
39255
|
}>;
|
|
39224
39256
|
output: z.ZodObject<{
|
|
39225
39257
|
entities: z.ZodArray<z.ZodObject<{
|
|
@@ -39467,6 +39499,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39467
39499
|
versionTime?: string | undefined;
|
|
39468
39500
|
}>, "many">;
|
|
39469
39501
|
searchQuery: z.ZodString;
|
|
39502
|
+
nextPageToken: z.ZodString;
|
|
39470
39503
|
}, "strip", z.ZodTypeAny, {
|
|
39471
39504
|
searchQuery: string;
|
|
39472
39505
|
entities: {
|
|
@@ -39521,6 +39554,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39521
39554
|
commentId?: string | undefined;
|
|
39522
39555
|
versionTime?: string | undefined;
|
|
39523
39556
|
}[];
|
|
39557
|
+
nextPageToken: string;
|
|
39524
39558
|
}, {
|
|
39525
39559
|
searchQuery: string;
|
|
39526
39560
|
entities: {
|
|
@@ -39575,6 +39609,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39575
39609
|
commentId?: string | undefined;
|
|
39576
39610
|
versionTime?: string | undefined;
|
|
39577
39611
|
}[];
|
|
39612
|
+
nextPageToken: string;
|
|
39578
39613
|
}>;
|
|
39579
39614
|
}, "strip", z.ZodTypeAny, {
|
|
39580
39615
|
key: "Search";
|
|
@@ -39586,8 +39621,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39586
39621
|
perspectiveAccountUid?: string | undefined;
|
|
39587
39622
|
searchType?: number | undefined;
|
|
39588
39623
|
pageSize?: number | undefined;
|
|
39624
|
+
pageToken?: string | undefined;
|
|
39589
39625
|
iriFilter?: string | undefined;
|
|
39590
39626
|
contentTypeFilter?: number[] | undefined;
|
|
39627
|
+
entityKindFilter?: number[] | undefined;
|
|
39591
39628
|
};
|
|
39592
39629
|
output: {
|
|
39593
39630
|
searchQuery: string;
|
|
@@ -39643,6 +39680,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39643
39680
|
commentId?: string | undefined;
|
|
39644
39681
|
versionTime?: string | undefined;
|
|
39645
39682
|
}[];
|
|
39683
|
+
nextPageToken: string;
|
|
39646
39684
|
};
|
|
39647
39685
|
}, {
|
|
39648
39686
|
key: "Search";
|
|
@@ -39654,8 +39692,10 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39654
39692
|
perspectiveAccountUid?: string | undefined;
|
|
39655
39693
|
searchType?: number | undefined;
|
|
39656
39694
|
pageSize?: number | undefined;
|
|
39695
|
+
pageToken?: string | undefined;
|
|
39657
39696
|
iriFilter?: string | undefined;
|
|
39658
39697
|
contentTypeFilter?: number[] | undefined;
|
|
39698
|
+
entityKindFilter?: number[] | undefined;
|
|
39659
39699
|
};
|
|
39660
39700
|
output: {
|
|
39661
39701
|
searchQuery: string;
|
|
@@ -39711,6 +39751,7 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
39711
39751
|
commentId?: string | undefined;
|
|
39712
39752
|
versionTime?: string | undefined;
|
|
39713
39753
|
}[];
|
|
39754
|
+
nextPageToken: string;
|
|
39714
39755
|
};
|
|
39715
39756
|
}>, z.ZodObject<{
|
|
39716
39757
|
key: z.ZodLiteral<"Query">;
|
|
@@ -45482,11 +45523,11 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
45482
45523
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
45483
45524
|
nextPageToken: z.ZodString;
|
|
45484
45525
|
}, "strip", z.ZodTypeAny, {
|
|
45485
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45486
45526
|
nextPageToken: string;
|
|
45527
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45487
45528
|
}, {
|
|
45488
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45489
45529
|
nextPageToken: string;
|
|
45530
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45490
45531
|
}>;
|
|
45491
45532
|
}, "strip", z.ZodTypeAny, {
|
|
45492
45533
|
key: "ListEvents";
|
|
@@ -45501,8 +45542,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
45501
45542
|
order?: "claimed" | "observed" | undefined;
|
|
45502
45543
|
};
|
|
45503
45544
|
output: {
|
|
45504
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45505
45545
|
nextPageToken: string;
|
|
45546
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45506
45547
|
};
|
|
45507
45548
|
}, {
|
|
45508
45549
|
key: "ListEvents";
|
|
@@ -45517,8 +45558,8 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
|
|
|
45517
45558
|
order?: "claimed" | "observed" | undefined;
|
|
45518
45559
|
};
|
|
45519
45560
|
output: {
|
|
45520
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45521
45561
|
nextPageToken: string;
|
|
45562
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
45522
45563
|
};
|
|
45523
45564
|
}>, z.ZodObject<{
|
|
45524
45565
|
key: z.ZodLiteral<"ListAccounts">;
|
|
@@ -52716,8 +52757,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
52716
52757
|
perspectiveAccountUid: z.ZodOptional<z.ZodString>;
|
|
52717
52758
|
searchType: z.ZodOptional<z.ZodNumber>;
|
|
52718
52759
|
pageSize: z.ZodOptional<z.ZodNumber>;
|
|
52760
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
52719
52761
|
iriFilter: z.ZodOptional<z.ZodString>;
|
|
52720
52762
|
contentTypeFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
52763
|
+
entityKindFilter: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
52721
52764
|
}, "strip", z.ZodTypeAny, {
|
|
52722
52765
|
query: string;
|
|
52723
52766
|
accountUid?: string | undefined;
|
|
@@ -52726,8 +52769,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
52726
52769
|
perspectiveAccountUid?: string | undefined;
|
|
52727
52770
|
searchType?: number | undefined;
|
|
52728
52771
|
pageSize?: number | undefined;
|
|
52772
|
+
pageToken?: string | undefined;
|
|
52729
52773
|
iriFilter?: string | undefined;
|
|
52730
52774
|
contentTypeFilter?: number[] | undefined;
|
|
52775
|
+
entityKindFilter?: number[] | undefined;
|
|
52731
52776
|
}, {
|
|
52732
52777
|
query: string;
|
|
52733
52778
|
accountUid?: string | undefined;
|
|
@@ -52736,8 +52781,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
52736
52781
|
perspectiveAccountUid?: string | undefined;
|
|
52737
52782
|
searchType?: number | undefined;
|
|
52738
52783
|
pageSize?: number | undefined;
|
|
52784
|
+
pageToken?: string | undefined;
|
|
52739
52785
|
iriFilter?: string | undefined;
|
|
52740
52786
|
contentTypeFilter?: number[] | undefined;
|
|
52787
|
+
entityKindFilter?: number[] | undefined;
|
|
52741
52788
|
}>;
|
|
52742
52789
|
output: z.ZodObject<{
|
|
52743
52790
|
entities: z.ZodArray<z.ZodObject<{
|
|
@@ -52985,6 +53032,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
52985
53032
|
versionTime?: string | undefined;
|
|
52986
53033
|
}>, "many">;
|
|
52987
53034
|
searchQuery: z.ZodString;
|
|
53035
|
+
nextPageToken: z.ZodString;
|
|
52988
53036
|
}, "strip", z.ZodTypeAny, {
|
|
52989
53037
|
searchQuery: string;
|
|
52990
53038
|
entities: {
|
|
@@ -53039,6 +53087,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
53039
53087
|
commentId?: string | undefined;
|
|
53040
53088
|
versionTime?: string | undefined;
|
|
53041
53089
|
}[];
|
|
53090
|
+
nextPageToken: string;
|
|
53042
53091
|
}, {
|
|
53043
53092
|
searchQuery: string;
|
|
53044
53093
|
entities: {
|
|
@@ -53093,6 +53142,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
53093
53142
|
commentId?: string | undefined;
|
|
53094
53143
|
versionTime?: string | undefined;
|
|
53095
53144
|
}[];
|
|
53145
|
+
nextPageToken: string;
|
|
53096
53146
|
}>;
|
|
53097
53147
|
}, "strip", z.ZodTypeAny, {
|
|
53098
53148
|
key: "Search";
|
|
@@ -53104,8 +53154,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
53104
53154
|
perspectiveAccountUid?: string | undefined;
|
|
53105
53155
|
searchType?: number | undefined;
|
|
53106
53156
|
pageSize?: number | undefined;
|
|
53157
|
+
pageToken?: string | undefined;
|
|
53107
53158
|
iriFilter?: string | undefined;
|
|
53108
53159
|
contentTypeFilter?: number[] | undefined;
|
|
53160
|
+
entityKindFilter?: number[] | undefined;
|
|
53109
53161
|
};
|
|
53110
53162
|
output: {
|
|
53111
53163
|
searchQuery: string;
|
|
@@ -53161,6 +53213,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
53161
53213
|
commentId?: string | undefined;
|
|
53162
53214
|
versionTime?: string | undefined;
|
|
53163
53215
|
}[];
|
|
53216
|
+
nextPageToken: string;
|
|
53164
53217
|
};
|
|
53165
53218
|
}, {
|
|
53166
53219
|
key: "Search";
|
|
@@ -53172,8 +53225,10 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
53172
53225
|
perspectiveAccountUid?: string | undefined;
|
|
53173
53226
|
searchType?: number | undefined;
|
|
53174
53227
|
pageSize?: number | undefined;
|
|
53228
|
+
pageToken?: string | undefined;
|
|
53175
53229
|
iriFilter?: string | undefined;
|
|
53176
53230
|
contentTypeFilter?: number[] | undefined;
|
|
53231
|
+
entityKindFilter?: number[] | undefined;
|
|
53177
53232
|
};
|
|
53178
53233
|
output: {
|
|
53179
53234
|
searchQuery: string;
|
|
@@ -53229,6 +53284,7 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
53229
53284
|
commentId?: string | undefined;
|
|
53230
53285
|
versionTime?: string | undefined;
|
|
53231
53286
|
}[];
|
|
53287
|
+
nextPageToken: string;
|
|
53232
53288
|
};
|
|
53233
53289
|
}>, z.ZodObject<{
|
|
53234
53290
|
key: z.ZodLiteral<"Query">;
|
|
@@ -59000,11 +59056,11 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59000
59056
|
events: z.ZodArray<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
59001
59057
|
nextPageToken: z.ZodString;
|
|
59002
59058
|
}, "strip", z.ZodTypeAny, {
|
|
59003
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59004
59059
|
nextPageToken: string;
|
|
59060
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59005
59061
|
}, {
|
|
59006
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59007
59062
|
nextPageToken: string;
|
|
59063
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59008
59064
|
}>;
|
|
59009
59065
|
}, "strip", z.ZodTypeAny, {
|
|
59010
59066
|
key: "ListEvents";
|
|
@@ -59019,8 +59075,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59019
59075
|
order?: "claimed" | "observed" | undefined;
|
|
59020
59076
|
};
|
|
59021
59077
|
output: {
|
|
59022
|
-
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59023
59078
|
nextPageToken: string;
|
|
59079
|
+
events: z.objectOutputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59024
59080
|
};
|
|
59025
59081
|
}, {
|
|
59026
59082
|
key: "ListEvents";
|
|
@@ -59035,8 +59091,8 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
|
|
|
59035
59091
|
order?: "claimed" | "observed" | undefined;
|
|
59036
59092
|
};
|
|
59037
59093
|
output: {
|
|
59038
|
-
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59039
59094
|
nextPageToken: string;
|
|
59095
|
+
events: z.objectInputType<{}, z.ZodTypeAny, "passthrough">[];
|
|
59040
59096
|
};
|
|
59041
59097
|
}>, z.ZodObject<{
|
|
59042
59098
|
key: z.ZodLiteral<"ListAccounts">;
|
package/dist/hm-types.mjs
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
BlockRangeSchema,
|
|
5
5
|
BoldAnnotationSchema,
|
|
6
6
|
CodeAnnotationSchema,
|
|
7
|
+
DOCUMENT_ATTRIBUTE_DESCRIPTIONS,
|
|
7
8
|
HMAccountContactsRequestSchema,
|
|
8
9
|
HMAccountNotFoundSchema,
|
|
9
10
|
HMAccountPayloadSchema,
|
|
@@ -184,7 +185,7 @@ import {
|
|
|
184
185
|
toNumber,
|
|
185
186
|
unpackHmId,
|
|
186
187
|
unpackedHmIdSchema
|
|
187
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-SQEUO7FO.mjs";
|
|
188
189
|
import "./chunk-7P6ASYW6.mjs";
|
|
189
190
|
export {
|
|
190
191
|
BUILTIN_METADATA_KEYS,
|
|
@@ -192,6 +193,7 @@ export {
|
|
|
192
193
|
BlockRangeSchema,
|
|
193
194
|
BoldAnnotationSchema,
|
|
194
195
|
CodeAnnotationSchema,
|
|
196
|
+
DOCUMENT_ATTRIBUTE_DESCRIPTIONS,
|
|
195
197
|
HMAccountContactsRequestSchema,
|
|
196
198
|
HMAccountNotFoundSchema,
|
|
197
199
|
HMAccountPayloadSchema,
|
package/dist/index.mjs
CHANGED