@seed-hypermedia/client 0.0.88 → 0.0.90

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.
@@ -34856,6 +34856,737 @@ export declare const HMListCapabilitiesRequestSchema: z.ZodObject<{
34856
34856
  };
34857
34857
  }>;
34858
34858
  export type HMListCapabilitiesRequest = z.infer<typeof HMListCapabilitiesRequestSchema>;
34859
+ export declare const HMRawRefSchema: z.ZodObject<{
34860
+ id: z.ZodOptional<z.ZodString>;
34861
+ account: z.ZodOptional<z.ZodString>;
34862
+ path: z.ZodOptional<z.ZodString>;
34863
+ target: z.ZodOptional<z.ZodObject<{
34864
+ version: z.ZodOptional<z.ZodObject<{
34865
+ genesis: z.ZodOptional<z.ZodString>;
34866
+ version: z.ZodOptional<z.ZodString>;
34867
+ }, "strip", z.ZodTypeAny, {
34868
+ version?: string | undefined;
34869
+ genesis?: string | undefined;
34870
+ }, {
34871
+ version?: string | undefined;
34872
+ genesis?: string | undefined;
34873
+ }>>;
34874
+ redirect: z.ZodOptional<z.ZodObject<{
34875
+ account: z.ZodOptional<z.ZodString>;
34876
+ path: z.ZodOptional<z.ZodString>;
34877
+ republish: z.ZodOptional<z.ZodBoolean>;
34878
+ }, "strip", z.ZodTypeAny, {
34879
+ path?: string | undefined;
34880
+ account?: string | undefined;
34881
+ republish?: boolean | undefined;
34882
+ }, {
34883
+ path?: string | undefined;
34884
+ account?: string | undefined;
34885
+ republish?: boolean | undefined;
34886
+ }>>;
34887
+ tombstone: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
34888
+ }, "strip", z.ZodTypeAny, {
34889
+ version?: {
34890
+ version?: string | undefined;
34891
+ genesis?: string | undefined;
34892
+ } | undefined;
34893
+ redirect?: {
34894
+ path?: string | undefined;
34895
+ account?: string | undefined;
34896
+ republish?: boolean | undefined;
34897
+ } | undefined;
34898
+ tombstone?: {} | undefined;
34899
+ }, {
34900
+ version?: {
34901
+ version?: string | undefined;
34902
+ genesis?: string | undefined;
34903
+ } | undefined;
34904
+ redirect?: {
34905
+ path?: string | undefined;
34906
+ account?: string | undefined;
34907
+ republish?: boolean | undefined;
34908
+ } | undefined;
34909
+ tombstone?: {} | undefined;
34910
+ }>>;
34911
+ signer: z.ZodOptional<z.ZodString>;
34912
+ capability: z.ZodOptional<z.ZodString>;
34913
+ timestamp: z.ZodOptional<z.ZodString>;
34914
+ generationInfo: z.ZodOptional<z.ZodObject<{
34915
+ genesis: z.ZodOptional<z.ZodString>;
34916
+ generation: z.ZodOptional<z.ZodString>;
34917
+ }, "strip", z.ZodTypeAny, {
34918
+ genesis?: string | undefined;
34919
+ generation?: string | undefined;
34920
+ }, {
34921
+ genesis?: string | undefined;
34922
+ generation?: string | undefined;
34923
+ }>>;
34924
+ }, "strip", z.ZodTypeAny, {
34925
+ path?: string | undefined;
34926
+ id?: string | undefined;
34927
+ account?: string | undefined;
34928
+ capability?: string | undefined;
34929
+ target?: {
34930
+ version?: {
34931
+ version?: string | undefined;
34932
+ genesis?: string | undefined;
34933
+ } | undefined;
34934
+ redirect?: {
34935
+ path?: string | undefined;
34936
+ account?: string | undefined;
34937
+ republish?: boolean | undefined;
34938
+ } | undefined;
34939
+ tombstone?: {} | undefined;
34940
+ } | undefined;
34941
+ generationInfo?: {
34942
+ genesis?: string | undefined;
34943
+ generation?: string | undefined;
34944
+ } | undefined;
34945
+ signer?: string | undefined;
34946
+ timestamp?: string | undefined;
34947
+ }, {
34948
+ path?: string | undefined;
34949
+ id?: string | undefined;
34950
+ account?: string | undefined;
34951
+ capability?: string | undefined;
34952
+ target?: {
34953
+ version?: {
34954
+ version?: string | undefined;
34955
+ genesis?: string | undefined;
34956
+ } | undefined;
34957
+ redirect?: {
34958
+ path?: string | undefined;
34959
+ account?: string | undefined;
34960
+ republish?: boolean | undefined;
34961
+ } | undefined;
34962
+ tombstone?: {} | undefined;
34963
+ } | undefined;
34964
+ generationInfo?: {
34965
+ genesis?: string | undefined;
34966
+ generation?: string | undefined;
34967
+ } | undefined;
34968
+ signer?: string | undefined;
34969
+ timestamp?: string | undefined;
34970
+ }>;
34971
+ export type HMRawRef = z.infer<typeof HMRawRefSchema>;
34972
+ export declare const HMListRefsOutputSchema: z.ZodObject<{
34973
+ refs: z.ZodArray<z.ZodObject<{
34974
+ id: z.ZodOptional<z.ZodString>;
34975
+ account: z.ZodOptional<z.ZodString>;
34976
+ path: z.ZodOptional<z.ZodString>;
34977
+ target: z.ZodOptional<z.ZodObject<{
34978
+ version: z.ZodOptional<z.ZodObject<{
34979
+ genesis: z.ZodOptional<z.ZodString>;
34980
+ version: z.ZodOptional<z.ZodString>;
34981
+ }, "strip", z.ZodTypeAny, {
34982
+ version?: string | undefined;
34983
+ genesis?: string | undefined;
34984
+ }, {
34985
+ version?: string | undefined;
34986
+ genesis?: string | undefined;
34987
+ }>>;
34988
+ redirect: z.ZodOptional<z.ZodObject<{
34989
+ account: z.ZodOptional<z.ZodString>;
34990
+ path: z.ZodOptional<z.ZodString>;
34991
+ republish: z.ZodOptional<z.ZodBoolean>;
34992
+ }, "strip", z.ZodTypeAny, {
34993
+ path?: string | undefined;
34994
+ account?: string | undefined;
34995
+ republish?: boolean | undefined;
34996
+ }, {
34997
+ path?: string | undefined;
34998
+ account?: string | undefined;
34999
+ republish?: boolean | undefined;
35000
+ }>>;
35001
+ tombstone: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
35002
+ }, "strip", z.ZodTypeAny, {
35003
+ version?: {
35004
+ version?: string | undefined;
35005
+ genesis?: string | undefined;
35006
+ } | undefined;
35007
+ redirect?: {
35008
+ path?: string | undefined;
35009
+ account?: string | undefined;
35010
+ republish?: boolean | undefined;
35011
+ } | undefined;
35012
+ tombstone?: {} | undefined;
35013
+ }, {
35014
+ version?: {
35015
+ version?: string | undefined;
35016
+ genesis?: string | undefined;
35017
+ } | undefined;
35018
+ redirect?: {
35019
+ path?: string | undefined;
35020
+ account?: string | undefined;
35021
+ republish?: boolean | undefined;
35022
+ } | undefined;
35023
+ tombstone?: {} | undefined;
35024
+ }>>;
35025
+ signer: z.ZodOptional<z.ZodString>;
35026
+ capability: z.ZodOptional<z.ZodString>;
35027
+ timestamp: z.ZodOptional<z.ZodString>;
35028
+ generationInfo: z.ZodOptional<z.ZodObject<{
35029
+ genesis: z.ZodOptional<z.ZodString>;
35030
+ generation: z.ZodOptional<z.ZodString>;
35031
+ }, "strip", z.ZodTypeAny, {
35032
+ genesis?: string | undefined;
35033
+ generation?: string | undefined;
35034
+ }, {
35035
+ genesis?: string | undefined;
35036
+ generation?: string | undefined;
35037
+ }>>;
35038
+ }, "strip", z.ZodTypeAny, {
35039
+ path?: string | undefined;
35040
+ id?: string | undefined;
35041
+ account?: string | undefined;
35042
+ capability?: string | undefined;
35043
+ target?: {
35044
+ version?: {
35045
+ version?: string | undefined;
35046
+ genesis?: string | undefined;
35047
+ } | undefined;
35048
+ redirect?: {
35049
+ path?: string | undefined;
35050
+ account?: string | undefined;
35051
+ republish?: boolean | undefined;
35052
+ } | undefined;
35053
+ tombstone?: {} | undefined;
35054
+ } | undefined;
35055
+ generationInfo?: {
35056
+ genesis?: string | undefined;
35057
+ generation?: string | undefined;
35058
+ } | undefined;
35059
+ signer?: string | undefined;
35060
+ timestamp?: string | undefined;
35061
+ }, {
35062
+ path?: string | undefined;
35063
+ id?: string | undefined;
35064
+ account?: string | undefined;
35065
+ capability?: string | undefined;
35066
+ target?: {
35067
+ version?: {
35068
+ version?: string | undefined;
35069
+ genesis?: string | undefined;
35070
+ } | undefined;
35071
+ redirect?: {
35072
+ path?: string | undefined;
35073
+ account?: string | undefined;
35074
+ republish?: boolean | undefined;
35075
+ } | undefined;
35076
+ tombstone?: {} | undefined;
35077
+ } | undefined;
35078
+ generationInfo?: {
35079
+ genesis?: string | undefined;
35080
+ generation?: string | undefined;
35081
+ } | undefined;
35082
+ signer?: string | undefined;
35083
+ timestamp?: string | undefined;
35084
+ }>, "many">;
35085
+ }, "strip", z.ZodTypeAny, {
35086
+ refs: {
35087
+ path?: string | undefined;
35088
+ id?: string | undefined;
35089
+ account?: string | undefined;
35090
+ capability?: string | undefined;
35091
+ target?: {
35092
+ version?: {
35093
+ version?: string | undefined;
35094
+ genesis?: string | undefined;
35095
+ } | undefined;
35096
+ redirect?: {
35097
+ path?: string | undefined;
35098
+ account?: string | undefined;
35099
+ republish?: boolean | undefined;
35100
+ } | undefined;
35101
+ tombstone?: {} | undefined;
35102
+ } | undefined;
35103
+ generationInfo?: {
35104
+ genesis?: string | undefined;
35105
+ generation?: string | undefined;
35106
+ } | undefined;
35107
+ signer?: string | undefined;
35108
+ timestamp?: string | undefined;
35109
+ }[];
35110
+ }, {
35111
+ refs: {
35112
+ path?: string | undefined;
35113
+ id?: string | undefined;
35114
+ account?: string | undefined;
35115
+ capability?: string | undefined;
35116
+ target?: {
35117
+ version?: {
35118
+ version?: string | undefined;
35119
+ genesis?: string | undefined;
35120
+ } | undefined;
35121
+ redirect?: {
35122
+ path?: string | undefined;
35123
+ account?: string | undefined;
35124
+ republish?: boolean | undefined;
35125
+ } | undefined;
35126
+ tombstone?: {} | undefined;
35127
+ } | undefined;
35128
+ generationInfo?: {
35129
+ genesis?: string | undefined;
35130
+ generation?: string | undefined;
35131
+ } | undefined;
35132
+ signer?: string | undefined;
35133
+ timestamp?: string | undefined;
35134
+ }[];
35135
+ }>;
35136
+ export type HMListRefsOutput = z.infer<typeof HMListRefsOutputSchema>;
35137
+ export declare const HMListRefsInputSchema: z.ZodObject<{
35138
+ targetId: z.ZodObject<{
35139
+ id: z.ZodString;
35140
+ uid: z.ZodString;
35141
+ path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
35142
+ version: z.ZodNullable<z.ZodString>;
35143
+ blockRef: z.ZodNullable<z.ZodString>;
35144
+ blockRange: z.ZodNullable<z.ZodObject<{
35145
+ start: z.ZodOptional<z.ZodNumber>;
35146
+ end: z.ZodOptional<z.ZodNumber>;
35147
+ expanded: z.ZodOptional<z.ZodBoolean>;
35148
+ }, "strip", z.ZodTypeAny, {
35149
+ start?: number | undefined;
35150
+ end?: number | undefined;
35151
+ expanded?: boolean | undefined;
35152
+ }, {
35153
+ start?: number | undefined;
35154
+ end?: number | undefined;
35155
+ expanded?: boolean | undefined;
35156
+ }>>;
35157
+ hostname: z.ZodNullable<z.ZodString>;
35158
+ scheme: z.ZodNullable<z.ZodString>;
35159
+ latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35160
+ targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35161
+ targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35162
+ }, "strip", z.ZodTypeAny, {
35163
+ path: string[] | null;
35164
+ version: string | null;
35165
+ id: string;
35166
+ uid: string;
35167
+ blockRef: string | null;
35168
+ blockRange: {
35169
+ start?: number | undefined;
35170
+ end?: number | undefined;
35171
+ expanded?: boolean | undefined;
35172
+ } | null;
35173
+ hostname: string | null;
35174
+ scheme: string | null;
35175
+ latest?: boolean | null | undefined;
35176
+ targetDocUid?: string | null | undefined;
35177
+ targetDocPath?: string[] | null | undefined;
35178
+ }, {
35179
+ path: string[] | null;
35180
+ version: string | null;
35181
+ id: string;
35182
+ uid: string;
35183
+ blockRef: string | null;
35184
+ blockRange: {
35185
+ start?: number | undefined;
35186
+ end?: number | undefined;
35187
+ expanded?: boolean | undefined;
35188
+ } | null;
35189
+ hostname: string | null;
35190
+ scheme: string | null;
35191
+ latest?: boolean | null | undefined;
35192
+ targetDocUid?: string | null | undefined;
35193
+ targetDocPath?: string[] | null | undefined;
35194
+ }>;
35195
+ }, "strip", z.ZodTypeAny, {
35196
+ targetId: {
35197
+ path: string[] | null;
35198
+ version: string | null;
35199
+ id: string;
35200
+ uid: string;
35201
+ blockRef: string | null;
35202
+ blockRange: {
35203
+ start?: number | undefined;
35204
+ end?: number | undefined;
35205
+ expanded?: boolean | undefined;
35206
+ } | null;
35207
+ hostname: string | null;
35208
+ scheme: string | null;
35209
+ latest?: boolean | null | undefined;
35210
+ targetDocUid?: string | null | undefined;
35211
+ targetDocPath?: string[] | null | undefined;
35212
+ };
35213
+ }, {
35214
+ targetId: {
35215
+ path: string[] | null;
35216
+ version: string | null;
35217
+ id: string;
35218
+ uid: string;
35219
+ blockRef: string | null;
35220
+ blockRange: {
35221
+ start?: number | undefined;
35222
+ end?: number | undefined;
35223
+ expanded?: boolean | undefined;
35224
+ } | null;
35225
+ hostname: string | null;
35226
+ scheme: string | null;
35227
+ latest?: boolean | null | undefined;
35228
+ targetDocUid?: string | null | undefined;
35229
+ targetDocPath?: string[] | null | undefined;
35230
+ };
35231
+ }>;
35232
+ export type HMListRefsInput = z.infer<typeof HMListRefsInputSchema>;
35233
+ export declare const HMListRefsRequestSchema: z.ZodObject<{
35234
+ key: z.ZodLiteral<"ListRefs">;
35235
+ input: z.ZodObject<{
35236
+ targetId: z.ZodObject<{
35237
+ id: z.ZodString;
35238
+ uid: z.ZodString;
35239
+ path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
35240
+ version: z.ZodNullable<z.ZodString>;
35241
+ blockRef: z.ZodNullable<z.ZodString>;
35242
+ blockRange: z.ZodNullable<z.ZodObject<{
35243
+ start: z.ZodOptional<z.ZodNumber>;
35244
+ end: z.ZodOptional<z.ZodNumber>;
35245
+ expanded: z.ZodOptional<z.ZodBoolean>;
35246
+ }, "strip", z.ZodTypeAny, {
35247
+ start?: number | undefined;
35248
+ end?: number | undefined;
35249
+ expanded?: boolean | undefined;
35250
+ }, {
35251
+ start?: number | undefined;
35252
+ end?: number | undefined;
35253
+ expanded?: boolean | undefined;
35254
+ }>>;
35255
+ hostname: z.ZodNullable<z.ZodString>;
35256
+ scheme: z.ZodNullable<z.ZodString>;
35257
+ latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
35258
+ targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35259
+ targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
35260
+ }, "strip", z.ZodTypeAny, {
35261
+ path: string[] | null;
35262
+ version: string | null;
35263
+ id: string;
35264
+ uid: string;
35265
+ blockRef: string | null;
35266
+ blockRange: {
35267
+ start?: number | undefined;
35268
+ end?: number | undefined;
35269
+ expanded?: boolean | undefined;
35270
+ } | null;
35271
+ hostname: string | null;
35272
+ scheme: string | null;
35273
+ latest?: boolean | null | undefined;
35274
+ targetDocUid?: string | null | undefined;
35275
+ targetDocPath?: string[] | null | undefined;
35276
+ }, {
35277
+ path: string[] | null;
35278
+ version: string | null;
35279
+ id: string;
35280
+ uid: string;
35281
+ blockRef: string | null;
35282
+ blockRange: {
35283
+ start?: number | undefined;
35284
+ end?: number | undefined;
35285
+ expanded?: boolean | undefined;
35286
+ } | null;
35287
+ hostname: string | null;
35288
+ scheme: string | null;
35289
+ latest?: boolean | null | undefined;
35290
+ targetDocUid?: string | null | undefined;
35291
+ targetDocPath?: string[] | null | undefined;
35292
+ }>;
35293
+ }, "strip", z.ZodTypeAny, {
35294
+ targetId: {
35295
+ path: string[] | null;
35296
+ version: string | null;
35297
+ id: string;
35298
+ uid: string;
35299
+ blockRef: string | null;
35300
+ blockRange: {
35301
+ start?: number | undefined;
35302
+ end?: number | undefined;
35303
+ expanded?: boolean | undefined;
35304
+ } | null;
35305
+ hostname: string | null;
35306
+ scheme: string | null;
35307
+ latest?: boolean | null | undefined;
35308
+ targetDocUid?: string | null | undefined;
35309
+ targetDocPath?: string[] | null | undefined;
35310
+ };
35311
+ }, {
35312
+ targetId: {
35313
+ path: string[] | null;
35314
+ version: string | null;
35315
+ id: string;
35316
+ uid: string;
35317
+ blockRef: string | null;
35318
+ blockRange: {
35319
+ start?: number | undefined;
35320
+ end?: number | undefined;
35321
+ expanded?: boolean | undefined;
35322
+ } | null;
35323
+ hostname: string | null;
35324
+ scheme: string | null;
35325
+ latest?: boolean | null | undefined;
35326
+ targetDocUid?: string | null | undefined;
35327
+ targetDocPath?: string[] | null | undefined;
35328
+ };
35329
+ }>;
35330
+ output: z.ZodObject<{
35331
+ refs: z.ZodArray<z.ZodObject<{
35332
+ id: z.ZodOptional<z.ZodString>;
35333
+ account: z.ZodOptional<z.ZodString>;
35334
+ path: z.ZodOptional<z.ZodString>;
35335
+ target: z.ZodOptional<z.ZodObject<{
35336
+ version: z.ZodOptional<z.ZodObject<{
35337
+ genesis: z.ZodOptional<z.ZodString>;
35338
+ version: z.ZodOptional<z.ZodString>;
35339
+ }, "strip", z.ZodTypeAny, {
35340
+ version?: string | undefined;
35341
+ genesis?: string | undefined;
35342
+ }, {
35343
+ version?: string | undefined;
35344
+ genesis?: string | undefined;
35345
+ }>>;
35346
+ redirect: z.ZodOptional<z.ZodObject<{
35347
+ account: z.ZodOptional<z.ZodString>;
35348
+ path: z.ZodOptional<z.ZodString>;
35349
+ republish: z.ZodOptional<z.ZodBoolean>;
35350
+ }, "strip", z.ZodTypeAny, {
35351
+ path?: string | undefined;
35352
+ account?: string | undefined;
35353
+ republish?: boolean | undefined;
35354
+ }, {
35355
+ path?: string | undefined;
35356
+ account?: string | undefined;
35357
+ republish?: boolean | undefined;
35358
+ }>>;
35359
+ tombstone: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
35360
+ }, "strip", z.ZodTypeAny, {
35361
+ version?: {
35362
+ version?: string | undefined;
35363
+ genesis?: string | undefined;
35364
+ } | undefined;
35365
+ redirect?: {
35366
+ path?: string | undefined;
35367
+ account?: string | undefined;
35368
+ republish?: boolean | undefined;
35369
+ } | undefined;
35370
+ tombstone?: {} | undefined;
35371
+ }, {
35372
+ version?: {
35373
+ version?: string | undefined;
35374
+ genesis?: string | undefined;
35375
+ } | undefined;
35376
+ redirect?: {
35377
+ path?: string | undefined;
35378
+ account?: string | undefined;
35379
+ republish?: boolean | undefined;
35380
+ } | undefined;
35381
+ tombstone?: {} | undefined;
35382
+ }>>;
35383
+ signer: z.ZodOptional<z.ZodString>;
35384
+ capability: z.ZodOptional<z.ZodString>;
35385
+ timestamp: z.ZodOptional<z.ZodString>;
35386
+ generationInfo: z.ZodOptional<z.ZodObject<{
35387
+ genesis: z.ZodOptional<z.ZodString>;
35388
+ generation: z.ZodOptional<z.ZodString>;
35389
+ }, "strip", z.ZodTypeAny, {
35390
+ genesis?: string | undefined;
35391
+ generation?: string | undefined;
35392
+ }, {
35393
+ genesis?: string | undefined;
35394
+ generation?: string | undefined;
35395
+ }>>;
35396
+ }, "strip", z.ZodTypeAny, {
35397
+ path?: string | undefined;
35398
+ id?: string | undefined;
35399
+ account?: string | undefined;
35400
+ capability?: string | undefined;
35401
+ target?: {
35402
+ version?: {
35403
+ version?: string | undefined;
35404
+ genesis?: string | undefined;
35405
+ } | undefined;
35406
+ redirect?: {
35407
+ path?: string | undefined;
35408
+ account?: string | undefined;
35409
+ republish?: boolean | undefined;
35410
+ } | undefined;
35411
+ tombstone?: {} | undefined;
35412
+ } | undefined;
35413
+ generationInfo?: {
35414
+ genesis?: string | undefined;
35415
+ generation?: string | undefined;
35416
+ } | undefined;
35417
+ signer?: string | undefined;
35418
+ timestamp?: string | undefined;
35419
+ }, {
35420
+ path?: string | undefined;
35421
+ id?: string | undefined;
35422
+ account?: string | undefined;
35423
+ capability?: string | undefined;
35424
+ target?: {
35425
+ version?: {
35426
+ version?: string | undefined;
35427
+ genesis?: string | undefined;
35428
+ } | undefined;
35429
+ redirect?: {
35430
+ path?: string | undefined;
35431
+ account?: string | undefined;
35432
+ republish?: boolean | undefined;
35433
+ } | undefined;
35434
+ tombstone?: {} | undefined;
35435
+ } | undefined;
35436
+ generationInfo?: {
35437
+ genesis?: string | undefined;
35438
+ generation?: string | undefined;
35439
+ } | undefined;
35440
+ signer?: string | undefined;
35441
+ timestamp?: string | undefined;
35442
+ }>, "many">;
35443
+ }, "strip", z.ZodTypeAny, {
35444
+ refs: {
35445
+ path?: string | undefined;
35446
+ id?: string | undefined;
35447
+ account?: string | undefined;
35448
+ capability?: string | undefined;
35449
+ target?: {
35450
+ version?: {
35451
+ version?: string | undefined;
35452
+ genesis?: string | undefined;
35453
+ } | undefined;
35454
+ redirect?: {
35455
+ path?: string | undefined;
35456
+ account?: string | undefined;
35457
+ republish?: boolean | undefined;
35458
+ } | undefined;
35459
+ tombstone?: {} | undefined;
35460
+ } | undefined;
35461
+ generationInfo?: {
35462
+ genesis?: string | undefined;
35463
+ generation?: string | undefined;
35464
+ } | undefined;
35465
+ signer?: string | undefined;
35466
+ timestamp?: string | undefined;
35467
+ }[];
35468
+ }, {
35469
+ refs: {
35470
+ path?: string | undefined;
35471
+ id?: string | undefined;
35472
+ account?: string | undefined;
35473
+ capability?: string | undefined;
35474
+ target?: {
35475
+ version?: {
35476
+ version?: string | undefined;
35477
+ genesis?: string | undefined;
35478
+ } | undefined;
35479
+ redirect?: {
35480
+ path?: string | undefined;
35481
+ account?: string | undefined;
35482
+ republish?: boolean | undefined;
35483
+ } | undefined;
35484
+ tombstone?: {} | undefined;
35485
+ } | undefined;
35486
+ generationInfo?: {
35487
+ genesis?: string | undefined;
35488
+ generation?: string | undefined;
35489
+ } | undefined;
35490
+ signer?: string | undefined;
35491
+ timestamp?: string | undefined;
35492
+ }[];
35493
+ }>;
35494
+ }, "strip", z.ZodTypeAny, {
35495
+ key: "ListRefs";
35496
+ input: {
35497
+ targetId: {
35498
+ path: string[] | null;
35499
+ version: string | null;
35500
+ id: string;
35501
+ uid: string;
35502
+ blockRef: string | null;
35503
+ blockRange: {
35504
+ start?: number | undefined;
35505
+ end?: number | undefined;
35506
+ expanded?: boolean | undefined;
35507
+ } | null;
35508
+ hostname: string | null;
35509
+ scheme: string | null;
35510
+ latest?: boolean | null | undefined;
35511
+ targetDocUid?: string | null | undefined;
35512
+ targetDocPath?: string[] | null | undefined;
35513
+ };
35514
+ };
35515
+ output: {
35516
+ refs: {
35517
+ path?: string | undefined;
35518
+ id?: string | undefined;
35519
+ account?: string | undefined;
35520
+ capability?: string | undefined;
35521
+ target?: {
35522
+ version?: {
35523
+ version?: string | undefined;
35524
+ genesis?: string | undefined;
35525
+ } | undefined;
35526
+ redirect?: {
35527
+ path?: string | undefined;
35528
+ account?: string | undefined;
35529
+ republish?: boolean | undefined;
35530
+ } | undefined;
35531
+ tombstone?: {} | undefined;
35532
+ } | undefined;
35533
+ generationInfo?: {
35534
+ genesis?: string | undefined;
35535
+ generation?: string | undefined;
35536
+ } | undefined;
35537
+ signer?: string | undefined;
35538
+ timestamp?: string | undefined;
35539
+ }[];
35540
+ };
35541
+ }, {
35542
+ key: "ListRefs";
35543
+ input: {
35544
+ targetId: {
35545
+ path: string[] | null;
35546
+ version: string | null;
35547
+ id: string;
35548
+ uid: string;
35549
+ blockRef: string | null;
35550
+ blockRange: {
35551
+ start?: number | undefined;
35552
+ end?: number | undefined;
35553
+ expanded?: boolean | undefined;
35554
+ } | null;
35555
+ hostname: string | null;
35556
+ scheme: string | null;
35557
+ latest?: boolean | null | undefined;
35558
+ targetDocUid?: string | null | undefined;
35559
+ targetDocPath?: string[] | null | undefined;
35560
+ };
35561
+ };
35562
+ output: {
35563
+ refs: {
35564
+ path?: string | undefined;
35565
+ id?: string | undefined;
35566
+ account?: string | undefined;
35567
+ capability?: string | undefined;
35568
+ target?: {
35569
+ version?: {
35570
+ version?: string | undefined;
35571
+ genesis?: string | undefined;
35572
+ } | undefined;
35573
+ redirect?: {
35574
+ path?: string | undefined;
35575
+ account?: string | undefined;
35576
+ republish?: boolean | undefined;
35577
+ } | undefined;
35578
+ tombstone?: {} | undefined;
35579
+ } | undefined;
35580
+ generationInfo?: {
35581
+ genesis?: string | undefined;
35582
+ generation?: string | undefined;
35583
+ } | undefined;
35584
+ signer?: string | undefined;
35585
+ timestamp?: string | undefined;
35586
+ }[];
35587
+ };
35588
+ }>;
35589
+ export type HMListRefsRequest = z.infer<typeof HMListRefsRequestSchema>;
34859
35590
  export declare const HMListDocumentCollaboratorsInputSchema: z.ZodObject<{
34860
35591
  targetId: z.ZodObject<{
34861
35592
  id: z.ZodString;
@@ -56305,64 +57036,393 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56305
57036
  };
56306
57037
  }>;
56307
57038
  output: z.ZodObject<{
56308
- capabilities: z.ZodArray<z.ZodObject<{
57039
+ capabilities: z.ZodArray<z.ZodObject<{
57040
+ id: z.ZodOptional<z.ZodString>;
57041
+ issuer: z.ZodOptional<z.ZodString>;
57042
+ delegate: z.ZodOptional<z.ZodString>;
57043
+ account: z.ZodOptional<z.ZodString>;
57044
+ path: z.ZodOptional<z.ZodString>;
57045
+ role: z.ZodOptional<z.ZodString>;
57046
+ noRecursive: z.ZodOptional<z.ZodBoolean>;
57047
+ label: z.ZodOptional<z.ZodString>;
57048
+ createTime: z.ZodOptional<z.ZodString>;
57049
+ }, "strip", z.ZodTypeAny, {
57050
+ path?: string | undefined;
57051
+ id?: string | undefined;
57052
+ account?: string | undefined;
57053
+ createTime?: string | undefined;
57054
+ role?: string | undefined;
57055
+ label?: string | undefined;
57056
+ issuer?: string | undefined;
57057
+ delegate?: string | undefined;
57058
+ noRecursive?: boolean | undefined;
57059
+ }, {
57060
+ path?: string | undefined;
57061
+ id?: string | undefined;
57062
+ account?: string | undefined;
57063
+ createTime?: string | undefined;
57064
+ role?: string | undefined;
57065
+ label?: string | undefined;
57066
+ issuer?: string | undefined;
57067
+ delegate?: string | undefined;
57068
+ noRecursive?: boolean | undefined;
57069
+ }>, "many">;
57070
+ }, "strip", z.ZodTypeAny, {
57071
+ capabilities: {
57072
+ path?: string | undefined;
57073
+ id?: string | undefined;
57074
+ account?: string | undefined;
57075
+ createTime?: string | undefined;
57076
+ role?: string | undefined;
57077
+ label?: string | undefined;
57078
+ issuer?: string | undefined;
57079
+ delegate?: string | undefined;
57080
+ noRecursive?: boolean | undefined;
57081
+ }[];
57082
+ }, {
57083
+ capabilities: {
57084
+ path?: string | undefined;
57085
+ id?: string | undefined;
57086
+ account?: string | undefined;
57087
+ createTime?: string | undefined;
57088
+ role?: string | undefined;
57089
+ label?: string | undefined;
57090
+ issuer?: string | undefined;
57091
+ delegate?: string | undefined;
57092
+ noRecursive?: boolean | undefined;
57093
+ }[];
57094
+ }>;
57095
+ }, "strip", z.ZodTypeAny, {
57096
+ key: "ListCapabilities";
57097
+ input: {
57098
+ targetId: {
57099
+ path: string[] | null;
57100
+ version: string | null;
57101
+ id: string;
57102
+ uid: string;
57103
+ blockRef: string | null;
57104
+ blockRange: {
57105
+ start?: number | undefined;
57106
+ end?: number | undefined;
57107
+ expanded?: boolean | undefined;
57108
+ } | null;
57109
+ hostname: string | null;
57110
+ scheme: string | null;
57111
+ latest?: boolean | null | undefined;
57112
+ targetDocUid?: string | null | undefined;
57113
+ targetDocPath?: string[] | null | undefined;
57114
+ };
57115
+ };
57116
+ output: {
57117
+ capabilities: {
57118
+ path?: string | undefined;
57119
+ id?: string | undefined;
57120
+ account?: string | undefined;
57121
+ createTime?: string | undefined;
57122
+ role?: string | undefined;
57123
+ label?: string | undefined;
57124
+ issuer?: string | undefined;
57125
+ delegate?: string | undefined;
57126
+ noRecursive?: boolean | undefined;
57127
+ }[];
57128
+ };
57129
+ }, {
57130
+ key: "ListCapabilities";
57131
+ input: {
57132
+ targetId: {
57133
+ path: string[] | null;
57134
+ version: string | null;
57135
+ id: string;
57136
+ uid: string;
57137
+ blockRef: string | null;
57138
+ blockRange: {
57139
+ start?: number | undefined;
57140
+ end?: number | undefined;
57141
+ expanded?: boolean | undefined;
57142
+ } | null;
57143
+ hostname: string | null;
57144
+ scheme: string | null;
57145
+ latest?: boolean | null | undefined;
57146
+ targetDocUid?: string | null | undefined;
57147
+ targetDocPath?: string[] | null | undefined;
57148
+ };
57149
+ };
57150
+ output: {
57151
+ capabilities: {
57152
+ path?: string | undefined;
57153
+ id?: string | undefined;
57154
+ account?: string | undefined;
57155
+ createTime?: string | undefined;
57156
+ role?: string | undefined;
57157
+ label?: string | undefined;
57158
+ issuer?: string | undefined;
57159
+ delegate?: string | undefined;
57160
+ noRecursive?: boolean | undefined;
57161
+ }[];
57162
+ };
57163
+ }>, z.ZodObject<{
57164
+ key: z.ZodLiteral<"ListRefs">;
57165
+ input: z.ZodObject<{
57166
+ targetId: z.ZodObject<{
57167
+ id: z.ZodString;
57168
+ uid: z.ZodString;
57169
+ path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
57170
+ version: z.ZodNullable<z.ZodString>;
57171
+ blockRef: z.ZodNullable<z.ZodString>;
57172
+ blockRange: z.ZodNullable<z.ZodObject<{
57173
+ start: z.ZodOptional<z.ZodNumber>;
57174
+ end: z.ZodOptional<z.ZodNumber>;
57175
+ expanded: z.ZodOptional<z.ZodBoolean>;
57176
+ }, "strip", z.ZodTypeAny, {
57177
+ start?: number | undefined;
57178
+ end?: number | undefined;
57179
+ expanded?: boolean | undefined;
57180
+ }, {
57181
+ start?: number | undefined;
57182
+ end?: number | undefined;
57183
+ expanded?: boolean | undefined;
57184
+ }>>;
57185
+ hostname: z.ZodNullable<z.ZodString>;
57186
+ scheme: z.ZodNullable<z.ZodString>;
57187
+ latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
57188
+ targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57189
+ targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
57190
+ }, "strip", z.ZodTypeAny, {
57191
+ path: string[] | null;
57192
+ version: string | null;
57193
+ id: string;
57194
+ uid: string;
57195
+ blockRef: string | null;
57196
+ blockRange: {
57197
+ start?: number | undefined;
57198
+ end?: number | undefined;
57199
+ expanded?: boolean | undefined;
57200
+ } | null;
57201
+ hostname: string | null;
57202
+ scheme: string | null;
57203
+ latest?: boolean | null | undefined;
57204
+ targetDocUid?: string | null | undefined;
57205
+ targetDocPath?: string[] | null | undefined;
57206
+ }, {
57207
+ path: string[] | null;
57208
+ version: string | null;
57209
+ id: string;
57210
+ uid: string;
57211
+ blockRef: string | null;
57212
+ blockRange: {
57213
+ start?: number | undefined;
57214
+ end?: number | undefined;
57215
+ expanded?: boolean | undefined;
57216
+ } | null;
57217
+ hostname: string | null;
57218
+ scheme: string | null;
57219
+ latest?: boolean | null | undefined;
57220
+ targetDocUid?: string | null | undefined;
57221
+ targetDocPath?: string[] | null | undefined;
57222
+ }>;
57223
+ }, "strip", z.ZodTypeAny, {
57224
+ targetId: {
57225
+ path: string[] | null;
57226
+ version: string | null;
57227
+ id: string;
57228
+ uid: string;
57229
+ blockRef: string | null;
57230
+ blockRange: {
57231
+ start?: number | undefined;
57232
+ end?: number | undefined;
57233
+ expanded?: boolean | undefined;
57234
+ } | null;
57235
+ hostname: string | null;
57236
+ scheme: string | null;
57237
+ latest?: boolean | null | undefined;
57238
+ targetDocUid?: string | null | undefined;
57239
+ targetDocPath?: string[] | null | undefined;
57240
+ };
57241
+ }, {
57242
+ targetId: {
57243
+ path: string[] | null;
57244
+ version: string | null;
57245
+ id: string;
57246
+ uid: string;
57247
+ blockRef: string | null;
57248
+ blockRange: {
57249
+ start?: number | undefined;
57250
+ end?: number | undefined;
57251
+ expanded?: boolean | undefined;
57252
+ } | null;
57253
+ hostname: string | null;
57254
+ scheme: string | null;
57255
+ latest?: boolean | null | undefined;
57256
+ targetDocUid?: string | null | undefined;
57257
+ targetDocPath?: string[] | null | undefined;
57258
+ };
57259
+ }>;
57260
+ output: z.ZodObject<{
57261
+ refs: z.ZodArray<z.ZodObject<{
56309
57262
  id: z.ZodOptional<z.ZodString>;
56310
- issuer: z.ZodOptional<z.ZodString>;
56311
- delegate: z.ZodOptional<z.ZodString>;
56312
57263
  account: z.ZodOptional<z.ZodString>;
56313
57264
  path: z.ZodOptional<z.ZodString>;
56314
- role: z.ZodOptional<z.ZodString>;
56315
- noRecursive: z.ZodOptional<z.ZodBoolean>;
56316
- label: z.ZodOptional<z.ZodString>;
56317
- createTime: z.ZodOptional<z.ZodString>;
57265
+ target: z.ZodOptional<z.ZodObject<{
57266
+ version: z.ZodOptional<z.ZodObject<{
57267
+ genesis: z.ZodOptional<z.ZodString>;
57268
+ version: z.ZodOptional<z.ZodString>;
57269
+ }, "strip", z.ZodTypeAny, {
57270
+ version?: string | undefined;
57271
+ genesis?: string | undefined;
57272
+ }, {
57273
+ version?: string | undefined;
57274
+ genesis?: string | undefined;
57275
+ }>>;
57276
+ redirect: z.ZodOptional<z.ZodObject<{
57277
+ account: z.ZodOptional<z.ZodString>;
57278
+ path: z.ZodOptional<z.ZodString>;
57279
+ republish: z.ZodOptional<z.ZodBoolean>;
57280
+ }, "strip", z.ZodTypeAny, {
57281
+ path?: string | undefined;
57282
+ account?: string | undefined;
57283
+ republish?: boolean | undefined;
57284
+ }, {
57285
+ path?: string | undefined;
57286
+ account?: string | undefined;
57287
+ republish?: boolean | undefined;
57288
+ }>>;
57289
+ tombstone: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
57290
+ }, "strip", z.ZodTypeAny, {
57291
+ version?: {
57292
+ version?: string | undefined;
57293
+ genesis?: string | undefined;
57294
+ } | undefined;
57295
+ redirect?: {
57296
+ path?: string | undefined;
57297
+ account?: string | undefined;
57298
+ republish?: boolean | undefined;
57299
+ } | undefined;
57300
+ tombstone?: {} | undefined;
57301
+ }, {
57302
+ version?: {
57303
+ version?: string | undefined;
57304
+ genesis?: string | undefined;
57305
+ } | undefined;
57306
+ redirect?: {
57307
+ path?: string | undefined;
57308
+ account?: string | undefined;
57309
+ republish?: boolean | undefined;
57310
+ } | undefined;
57311
+ tombstone?: {} | undefined;
57312
+ }>>;
57313
+ signer: z.ZodOptional<z.ZodString>;
57314
+ capability: z.ZodOptional<z.ZodString>;
57315
+ timestamp: z.ZodOptional<z.ZodString>;
57316
+ generationInfo: z.ZodOptional<z.ZodObject<{
57317
+ genesis: z.ZodOptional<z.ZodString>;
57318
+ generation: z.ZodOptional<z.ZodString>;
57319
+ }, "strip", z.ZodTypeAny, {
57320
+ genesis?: string | undefined;
57321
+ generation?: string | undefined;
57322
+ }, {
57323
+ genesis?: string | undefined;
57324
+ generation?: string | undefined;
57325
+ }>>;
56318
57326
  }, "strip", z.ZodTypeAny, {
56319
57327
  path?: string | undefined;
56320
57328
  id?: string | undefined;
56321
57329
  account?: string | undefined;
56322
- createTime?: string | undefined;
56323
- role?: string | undefined;
56324
- label?: string | undefined;
56325
- issuer?: string | undefined;
56326
- delegate?: string | undefined;
56327
- noRecursive?: boolean | undefined;
57330
+ capability?: string | undefined;
57331
+ target?: {
57332
+ version?: {
57333
+ version?: string | undefined;
57334
+ genesis?: string | undefined;
57335
+ } | undefined;
57336
+ redirect?: {
57337
+ path?: string | undefined;
57338
+ account?: string | undefined;
57339
+ republish?: boolean | undefined;
57340
+ } | undefined;
57341
+ tombstone?: {} | undefined;
57342
+ } | undefined;
57343
+ generationInfo?: {
57344
+ genesis?: string | undefined;
57345
+ generation?: string | undefined;
57346
+ } | undefined;
57347
+ signer?: string | undefined;
57348
+ timestamp?: string | undefined;
56328
57349
  }, {
56329
57350
  path?: string | undefined;
56330
57351
  id?: string | undefined;
56331
57352
  account?: string | undefined;
56332
- createTime?: string | undefined;
56333
- role?: string | undefined;
56334
- label?: string | undefined;
56335
- issuer?: string | undefined;
56336
- delegate?: string | undefined;
56337
- noRecursive?: boolean | undefined;
57353
+ capability?: string | undefined;
57354
+ target?: {
57355
+ version?: {
57356
+ version?: string | undefined;
57357
+ genesis?: string | undefined;
57358
+ } | undefined;
57359
+ redirect?: {
57360
+ path?: string | undefined;
57361
+ account?: string | undefined;
57362
+ republish?: boolean | undefined;
57363
+ } | undefined;
57364
+ tombstone?: {} | undefined;
57365
+ } | undefined;
57366
+ generationInfo?: {
57367
+ genesis?: string | undefined;
57368
+ generation?: string | undefined;
57369
+ } | undefined;
57370
+ signer?: string | undefined;
57371
+ timestamp?: string | undefined;
56338
57372
  }>, "many">;
56339
57373
  }, "strip", z.ZodTypeAny, {
56340
- capabilities: {
57374
+ refs: {
56341
57375
  path?: string | undefined;
56342
57376
  id?: string | undefined;
56343
57377
  account?: string | undefined;
56344
- createTime?: string | undefined;
56345
- role?: string | undefined;
56346
- label?: string | undefined;
56347
- issuer?: string | undefined;
56348
- delegate?: string | undefined;
56349
- noRecursive?: boolean | undefined;
57378
+ capability?: string | undefined;
57379
+ target?: {
57380
+ version?: {
57381
+ version?: string | undefined;
57382
+ genesis?: string | undefined;
57383
+ } | undefined;
57384
+ redirect?: {
57385
+ path?: string | undefined;
57386
+ account?: string | undefined;
57387
+ republish?: boolean | undefined;
57388
+ } | undefined;
57389
+ tombstone?: {} | undefined;
57390
+ } | undefined;
57391
+ generationInfo?: {
57392
+ genesis?: string | undefined;
57393
+ generation?: string | undefined;
57394
+ } | undefined;
57395
+ signer?: string | undefined;
57396
+ timestamp?: string | undefined;
56350
57397
  }[];
56351
57398
  }, {
56352
- capabilities: {
57399
+ refs: {
56353
57400
  path?: string | undefined;
56354
57401
  id?: string | undefined;
56355
57402
  account?: string | undefined;
56356
- createTime?: string | undefined;
56357
- role?: string | undefined;
56358
- label?: string | undefined;
56359
- issuer?: string | undefined;
56360
- delegate?: string | undefined;
56361
- noRecursive?: boolean | undefined;
57403
+ capability?: string | undefined;
57404
+ target?: {
57405
+ version?: {
57406
+ version?: string | undefined;
57407
+ genesis?: string | undefined;
57408
+ } | undefined;
57409
+ redirect?: {
57410
+ path?: string | undefined;
57411
+ account?: string | undefined;
57412
+ republish?: boolean | undefined;
57413
+ } | undefined;
57414
+ tombstone?: {} | undefined;
57415
+ } | undefined;
57416
+ generationInfo?: {
57417
+ genesis?: string | undefined;
57418
+ generation?: string | undefined;
57419
+ } | undefined;
57420
+ signer?: string | undefined;
57421
+ timestamp?: string | undefined;
56362
57422
  }[];
56363
57423
  }>;
56364
57424
  }, "strip", z.ZodTypeAny, {
56365
- key: "ListCapabilities";
57425
+ key: "ListRefs";
56366
57426
  input: {
56367
57427
  targetId: {
56368
57428
  path: string[] | null;
@@ -56383,20 +57443,33 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56383
57443
  };
56384
57444
  };
56385
57445
  output: {
56386
- capabilities: {
57446
+ refs: {
56387
57447
  path?: string | undefined;
56388
57448
  id?: string | undefined;
56389
57449
  account?: string | undefined;
56390
- createTime?: string | undefined;
56391
- role?: string | undefined;
56392
- label?: string | undefined;
56393
- issuer?: string | undefined;
56394
- delegate?: string | undefined;
56395
- noRecursive?: boolean | undefined;
57450
+ capability?: string | undefined;
57451
+ target?: {
57452
+ version?: {
57453
+ version?: string | undefined;
57454
+ genesis?: string | undefined;
57455
+ } | undefined;
57456
+ redirect?: {
57457
+ path?: string | undefined;
57458
+ account?: string | undefined;
57459
+ republish?: boolean | undefined;
57460
+ } | undefined;
57461
+ tombstone?: {} | undefined;
57462
+ } | undefined;
57463
+ generationInfo?: {
57464
+ genesis?: string | undefined;
57465
+ generation?: string | undefined;
57466
+ } | undefined;
57467
+ signer?: string | undefined;
57468
+ timestamp?: string | undefined;
56396
57469
  }[];
56397
57470
  };
56398
57471
  }, {
56399
- key: "ListCapabilities";
57472
+ key: "ListRefs";
56400
57473
  input: {
56401
57474
  targetId: {
56402
57475
  path: string[] | null;
@@ -56417,16 +57490,29 @@ export declare const HMGetRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodOb
56417
57490
  };
56418
57491
  };
56419
57492
  output: {
56420
- capabilities: {
57493
+ refs: {
56421
57494
  path?: string | undefined;
56422
57495
  id?: string | undefined;
56423
57496
  account?: string | undefined;
56424
- createTime?: string | undefined;
56425
- role?: string | undefined;
56426
- label?: string | undefined;
56427
- issuer?: string | undefined;
56428
- delegate?: string | undefined;
56429
- noRecursive?: boolean | undefined;
57497
+ capability?: string | undefined;
57498
+ target?: {
57499
+ version?: {
57500
+ version?: string | undefined;
57501
+ genesis?: string | undefined;
57502
+ } | undefined;
57503
+ redirect?: {
57504
+ path?: string | undefined;
57505
+ account?: string | undefined;
57506
+ republish?: boolean | undefined;
57507
+ } | undefined;
57508
+ tombstone?: {} | undefined;
57509
+ } | undefined;
57510
+ generationInfo?: {
57511
+ genesis?: string | undefined;
57512
+ generation?: string | undefined;
57513
+ } | undefined;
57514
+ signer?: string | undefined;
57515
+ timestamp?: string | undefined;
56430
57516
  }[];
56431
57517
  };
56432
57518
  }>, z.ZodObject<{
@@ -72752,6 +73838,361 @@ export declare const HMRequestSchema: z.ZodDiscriminatedUnion<"key", [z.ZodObjec
72752
73838
  noRecursive?: boolean | undefined;
72753
73839
  }[];
72754
73840
  };
73841
+ }>, z.ZodObject<{
73842
+ key: z.ZodLiteral<"ListRefs">;
73843
+ input: z.ZodObject<{
73844
+ targetId: z.ZodObject<{
73845
+ id: z.ZodString;
73846
+ uid: z.ZodString;
73847
+ path: z.ZodNullable<z.ZodArray<z.ZodString, "many">>;
73848
+ version: z.ZodNullable<z.ZodString>;
73849
+ blockRef: z.ZodNullable<z.ZodString>;
73850
+ blockRange: z.ZodNullable<z.ZodObject<{
73851
+ start: z.ZodOptional<z.ZodNumber>;
73852
+ end: z.ZodOptional<z.ZodNumber>;
73853
+ expanded: z.ZodOptional<z.ZodBoolean>;
73854
+ }, "strip", z.ZodTypeAny, {
73855
+ start?: number | undefined;
73856
+ end?: number | undefined;
73857
+ expanded?: boolean | undefined;
73858
+ }, {
73859
+ start?: number | undefined;
73860
+ end?: number | undefined;
73861
+ expanded?: boolean | undefined;
73862
+ }>>;
73863
+ hostname: z.ZodNullable<z.ZodString>;
73864
+ scheme: z.ZodNullable<z.ZodString>;
73865
+ latest: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
73866
+ targetDocUid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73867
+ targetDocPath: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString, "many">>>;
73868
+ }, "strip", z.ZodTypeAny, {
73869
+ path: string[] | null;
73870
+ version: string | null;
73871
+ id: string;
73872
+ uid: string;
73873
+ blockRef: string | null;
73874
+ blockRange: {
73875
+ start?: number | undefined;
73876
+ end?: number | undefined;
73877
+ expanded?: boolean | undefined;
73878
+ } | null;
73879
+ hostname: string | null;
73880
+ scheme: string | null;
73881
+ latest?: boolean | null | undefined;
73882
+ targetDocUid?: string | null | undefined;
73883
+ targetDocPath?: string[] | null | undefined;
73884
+ }, {
73885
+ path: string[] | null;
73886
+ version: string | null;
73887
+ id: string;
73888
+ uid: string;
73889
+ blockRef: string | null;
73890
+ blockRange: {
73891
+ start?: number | undefined;
73892
+ end?: number | undefined;
73893
+ expanded?: boolean | undefined;
73894
+ } | null;
73895
+ hostname: string | null;
73896
+ scheme: string | null;
73897
+ latest?: boolean | null | undefined;
73898
+ targetDocUid?: string | null | undefined;
73899
+ targetDocPath?: string[] | null | undefined;
73900
+ }>;
73901
+ }, "strip", z.ZodTypeAny, {
73902
+ targetId: {
73903
+ path: string[] | null;
73904
+ version: string | null;
73905
+ id: string;
73906
+ uid: string;
73907
+ blockRef: string | null;
73908
+ blockRange: {
73909
+ start?: number | undefined;
73910
+ end?: number | undefined;
73911
+ expanded?: boolean | undefined;
73912
+ } | null;
73913
+ hostname: string | null;
73914
+ scheme: string | null;
73915
+ latest?: boolean | null | undefined;
73916
+ targetDocUid?: string | null | undefined;
73917
+ targetDocPath?: string[] | null | undefined;
73918
+ };
73919
+ }, {
73920
+ targetId: {
73921
+ path: string[] | null;
73922
+ version: string | null;
73923
+ id: string;
73924
+ uid: string;
73925
+ blockRef: string | null;
73926
+ blockRange: {
73927
+ start?: number | undefined;
73928
+ end?: number | undefined;
73929
+ expanded?: boolean | undefined;
73930
+ } | null;
73931
+ hostname: string | null;
73932
+ scheme: string | null;
73933
+ latest?: boolean | null | undefined;
73934
+ targetDocUid?: string | null | undefined;
73935
+ targetDocPath?: string[] | null | undefined;
73936
+ };
73937
+ }>;
73938
+ output: z.ZodObject<{
73939
+ refs: z.ZodArray<z.ZodObject<{
73940
+ id: z.ZodOptional<z.ZodString>;
73941
+ account: z.ZodOptional<z.ZodString>;
73942
+ path: z.ZodOptional<z.ZodString>;
73943
+ target: z.ZodOptional<z.ZodObject<{
73944
+ version: z.ZodOptional<z.ZodObject<{
73945
+ genesis: z.ZodOptional<z.ZodString>;
73946
+ version: z.ZodOptional<z.ZodString>;
73947
+ }, "strip", z.ZodTypeAny, {
73948
+ version?: string | undefined;
73949
+ genesis?: string | undefined;
73950
+ }, {
73951
+ version?: string | undefined;
73952
+ genesis?: string | undefined;
73953
+ }>>;
73954
+ redirect: z.ZodOptional<z.ZodObject<{
73955
+ account: z.ZodOptional<z.ZodString>;
73956
+ path: z.ZodOptional<z.ZodString>;
73957
+ republish: z.ZodOptional<z.ZodBoolean>;
73958
+ }, "strip", z.ZodTypeAny, {
73959
+ path?: string | undefined;
73960
+ account?: string | undefined;
73961
+ republish?: boolean | undefined;
73962
+ }, {
73963
+ path?: string | undefined;
73964
+ account?: string | undefined;
73965
+ republish?: boolean | undefined;
73966
+ }>>;
73967
+ tombstone: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
73968
+ }, "strip", z.ZodTypeAny, {
73969
+ version?: {
73970
+ version?: string | undefined;
73971
+ genesis?: string | undefined;
73972
+ } | undefined;
73973
+ redirect?: {
73974
+ path?: string | undefined;
73975
+ account?: string | undefined;
73976
+ republish?: boolean | undefined;
73977
+ } | undefined;
73978
+ tombstone?: {} | undefined;
73979
+ }, {
73980
+ version?: {
73981
+ version?: string | undefined;
73982
+ genesis?: string | undefined;
73983
+ } | undefined;
73984
+ redirect?: {
73985
+ path?: string | undefined;
73986
+ account?: string | undefined;
73987
+ republish?: boolean | undefined;
73988
+ } | undefined;
73989
+ tombstone?: {} | undefined;
73990
+ }>>;
73991
+ signer: z.ZodOptional<z.ZodString>;
73992
+ capability: z.ZodOptional<z.ZodString>;
73993
+ timestamp: z.ZodOptional<z.ZodString>;
73994
+ generationInfo: z.ZodOptional<z.ZodObject<{
73995
+ genesis: z.ZodOptional<z.ZodString>;
73996
+ generation: z.ZodOptional<z.ZodString>;
73997
+ }, "strip", z.ZodTypeAny, {
73998
+ genesis?: string | undefined;
73999
+ generation?: string | undefined;
74000
+ }, {
74001
+ genesis?: string | undefined;
74002
+ generation?: string | undefined;
74003
+ }>>;
74004
+ }, "strip", z.ZodTypeAny, {
74005
+ path?: string | undefined;
74006
+ id?: string | undefined;
74007
+ account?: string | undefined;
74008
+ capability?: string | undefined;
74009
+ target?: {
74010
+ version?: {
74011
+ version?: string | undefined;
74012
+ genesis?: string | undefined;
74013
+ } | undefined;
74014
+ redirect?: {
74015
+ path?: string | undefined;
74016
+ account?: string | undefined;
74017
+ republish?: boolean | undefined;
74018
+ } | undefined;
74019
+ tombstone?: {} | undefined;
74020
+ } | undefined;
74021
+ generationInfo?: {
74022
+ genesis?: string | undefined;
74023
+ generation?: string | undefined;
74024
+ } | undefined;
74025
+ signer?: string | undefined;
74026
+ timestamp?: string | undefined;
74027
+ }, {
74028
+ path?: string | undefined;
74029
+ id?: string | undefined;
74030
+ account?: string | undefined;
74031
+ capability?: string | undefined;
74032
+ target?: {
74033
+ version?: {
74034
+ version?: string | undefined;
74035
+ genesis?: string | undefined;
74036
+ } | undefined;
74037
+ redirect?: {
74038
+ path?: string | undefined;
74039
+ account?: string | undefined;
74040
+ republish?: boolean | undefined;
74041
+ } | undefined;
74042
+ tombstone?: {} | undefined;
74043
+ } | undefined;
74044
+ generationInfo?: {
74045
+ genesis?: string | undefined;
74046
+ generation?: string | undefined;
74047
+ } | undefined;
74048
+ signer?: string | undefined;
74049
+ timestamp?: string | undefined;
74050
+ }>, "many">;
74051
+ }, "strip", z.ZodTypeAny, {
74052
+ refs: {
74053
+ path?: string | undefined;
74054
+ id?: string | undefined;
74055
+ account?: string | undefined;
74056
+ capability?: string | undefined;
74057
+ target?: {
74058
+ version?: {
74059
+ version?: string | undefined;
74060
+ genesis?: string | undefined;
74061
+ } | undefined;
74062
+ redirect?: {
74063
+ path?: string | undefined;
74064
+ account?: string | undefined;
74065
+ republish?: boolean | undefined;
74066
+ } | undefined;
74067
+ tombstone?: {} | undefined;
74068
+ } | undefined;
74069
+ generationInfo?: {
74070
+ genesis?: string | undefined;
74071
+ generation?: string | undefined;
74072
+ } | undefined;
74073
+ signer?: string | undefined;
74074
+ timestamp?: string | undefined;
74075
+ }[];
74076
+ }, {
74077
+ refs: {
74078
+ path?: string | undefined;
74079
+ id?: string | undefined;
74080
+ account?: string | undefined;
74081
+ capability?: string | undefined;
74082
+ target?: {
74083
+ version?: {
74084
+ version?: string | undefined;
74085
+ genesis?: string | undefined;
74086
+ } | undefined;
74087
+ redirect?: {
74088
+ path?: string | undefined;
74089
+ account?: string | undefined;
74090
+ republish?: boolean | undefined;
74091
+ } | undefined;
74092
+ tombstone?: {} | undefined;
74093
+ } | undefined;
74094
+ generationInfo?: {
74095
+ genesis?: string | undefined;
74096
+ generation?: string | undefined;
74097
+ } | undefined;
74098
+ signer?: string | undefined;
74099
+ timestamp?: string | undefined;
74100
+ }[];
74101
+ }>;
74102
+ }, "strip", z.ZodTypeAny, {
74103
+ key: "ListRefs";
74104
+ input: {
74105
+ targetId: {
74106
+ path: string[] | null;
74107
+ version: string | null;
74108
+ id: string;
74109
+ uid: string;
74110
+ blockRef: string | null;
74111
+ blockRange: {
74112
+ start?: number | undefined;
74113
+ end?: number | undefined;
74114
+ expanded?: boolean | undefined;
74115
+ } | null;
74116
+ hostname: string | null;
74117
+ scheme: string | null;
74118
+ latest?: boolean | null | undefined;
74119
+ targetDocUid?: string | null | undefined;
74120
+ targetDocPath?: string[] | null | undefined;
74121
+ };
74122
+ };
74123
+ output: {
74124
+ refs: {
74125
+ path?: string | undefined;
74126
+ id?: string | undefined;
74127
+ account?: string | undefined;
74128
+ capability?: string | undefined;
74129
+ target?: {
74130
+ version?: {
74131
+ version?: string | undefined;
74132
+ genesis?: string | undefined;
74133
+ } | undefined;
74134
+ redirect?: {
74135
+ path?: string | undefined;
74136
+ account?: string | undefined;
74137
+ republish?: boolean | undefined;
74138
+ } | undefined;
74139
+ tombstone?: {} | undefined;
74140
+ } | undefined;
74141
+ generationInfo?: {
74142
+ genesis?: string | undefined;
74143
+ generation?: string | undefined;
74144
+ } | undefined;
74145
+ signer?: string | undefined;
74146
+ timestamp?: string | undefined;
74147
+ }[];
74148
+ };
74149
+ }, {
74150
+ key: "ListRefs";
74151
+ input: {
74152
+ targetId: {
74153
+ path: string[] | null;
74154
+ version: string | null;
74155
+ id: string;
74156
+ uid: string;
74157
+ blockRef: string | null;
74158
+ blockRange: {
74159
+ start?: number | undefined;
74160
+ end?: number | undefined;
74161
+ expanded?: boolean | undefined;
74162
+ } | null;
74163
+ hostname: string | null;
74164
+ scheme: string | null;
74165
+ latest?: boolean | null | undefined;
74166
+ targetDocUid?: string | null | undefined;
74167
+ targetDocPath?: string[] | null | undefined;
74168
+ };
74169
+ };
74170
+ output: {
74171
+ refs: {
74172
+ path?: string | undefined;
74173
+ id?: string | undefined;
74174
+ account?: string | undefined;
74175
+ capability?: string | undefined;
74176
+ target?: {
74177
+ version?: {
74178
+ version?: string | undefined;
74179
+ genesis?: string | undefined;
74180
+ } | undefined;
74181
+ redirect?: {
74182
+ path?: string | undefined;
74183
+ account?: string | undefined;
74184
+ republish?: boolean | undefined;
74185
+ } | undefined;
74186
+ tombstone?: {} | undefined;
74187
+ } | undefined;
74188
+ generationInfo?: {
74189
+ genesis?: string | undefined;
74190
+ generation?: string | undefined;
74191
+ } | undefined;
74192
+ signer?: string | undefined;
74193
+ timestamp?: string | undefined;
74194
+ }[];
74195
+ };
72755
74196
  }>, z.ZodObject<{
72756
74197
  key: z.ZodLiteral<"ListDocumentCollaborators">;
72757
74198
  input: z.ZodObject<{