@zilfu/sdk 0.2.20 → 0.2.22
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/index.cjs +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +87 -3
- package/dist/index.d.ts +87 -3
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -784,6 +784,10 @@ type MediaResource = {
|
|
|
784
784
|
width: string;
|
|
785
785
|
height: string;
|
|
786
786
|
size: string;
|
|
787
|
+
/**
|
|
788
|
+
* Seconds, for video we could measure; null for everything else.
|
|
789
|
+
*/
|
|
790
|
+
duration: string | null;
|
|
787
791
|
alt: string;
|
|
788
792
|
order: string;
|
|
789
793
|
};
|
|
@@ -894,6 +898,13 @@ type SessionResource = {
|
|
|
894
898
|
*/
|
|
895
899
|
type SignMediaRequest = {
|
|
896
900
|
mime: 'image/jpeg' | 'image/png' | 'image/webp' | 'video/mp4' | 'video/quicktime';
|
|
901
|
+
/**
|
|
902
|
+
* The size of the file about to be uploaded. Optional, and taken on
|
|
903
|
+
* trust — the object is measured again once it lands. Sending it
|
|
904
|
+
* buys an immediate refusal instead of discovering the file was too
|
|
905
|
+
* large after transferring it.
|
|
906
|
+
*/
|
|
907
|
+
size?: number | null;
|
|
897
908
|
};
|
|
898
909
|
/**
|
|
899
910
|
* SlotResource
|
|
@@ -4085,7 +4096,12 @@ type PostSpacesBySpaceWebhooksErrors = {
|
|
|
4085
4096
|
type PostSpacesBySpaceWebhooksError = PostSpacesBySpaceWebhooksErrors[keyof PostSpacesBySpaceWebhooksErrors];
|
|
4086
4097
|
type PostSpacesBySpaceWebhooksResponses = {
|
|
4087
4098
|
200: {
|
|
4088
|
-
|
|
4099
|
+
data: WebhookResource;
|
|
4100
|
+
secret: string;
|
|
4101
|
+
};
|
|
4102
|
+
201: {
|
|
4103
|
+
data: WebhookResource;
|
|
4104
|
+
secret: string;
|
|
4089
4105
|
};
|
|
4090
4106
|
};
|
|
4091
4107
|
type PostSpacesBySpaceWebhooksResponse = PostSpacesBySpaceWebhooksResponses[keyof PostSpacesBySpaceWebhooksResponses];
|
|
@@ -4211,6 +4227,58 @@ type PutSpacesBySpaceWebhooksByWebhookResponses = {
|
|
|
4211
4227
|
};
|
|
4212
4228
|
};
|
|
4213
4229
|
type PutSpacesBySpaceWebhooksByWebhookResponse = PutSpacesBySpaceWebhooksByWebhookResponses[keyof PutSpacesBySpaceWebhooksByWebhookResponses];
|
|
4230
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateData = {
|
|
4231
|
+
body?: never;
|
|
4232
|
+
path: {
|
|
4233
|
+
/**
|
|
4234
|
+
* The space ID
|
|
4235
|
+
*/
|
|
4236
|
+
space: number;
|
|
4237
|
+
/**
|
|
4238
|
+
* The webhook ID
|
|
4239
|
+
*/
|
|
4240
|
+
webhook: number;
|
|
4241
|
+
};
|
|
4242
|
+
query?: never;
|
|
4243
|
+
url: '/spaces/{space}/webhooks/{webhook}/rotate';
|
|
4244
|
+
};
|
|
4245
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateErrors = {
|
|
4246
|
+
/**
|
|
4247
|
+
* Unauthenticated
|
|
4248
|
+
*/
|
|
4249
|
+
401: {
|
|
4250
|
+
/**
|
|
4251
|
+
* Error overview.
|
|
4252
|
+
*/
|
|
4253
|
+
message: string;
|
|
4254
|
+
};
|
|
4255
|
+
/**
|
|
4256
|
+
* Authorization error
|
|
4257
|
+
*/
|
|
4258
|
+
403: {
|
|
4259
|
+
/**
|
|
4260
|
+
* Error overview.
|
|
4261
|
+
*/
|
|
4262
|
+
message: string;
|
|
4263
|
+
};
|
|
4264
|
+
/**
|
|
4265
|
+
* Not found
|
|
4266
|
+
*/
|
|
4267
|
+
404: {
|
|
4268
|
+
/**
|
|
4269
|
+
* Error overview.
|
|
4270
|
+
*/
|
|
4271
|
+
message: string;
|
|
4272
|
+
};
|
|
4273
|
+
};
|
|
4274
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateError = PostSpacesBySpaceWebhooksByWebhookRotateErrors[keyof PostSpacesBySpaceWebhooksByWebhookRotateErrors];
|
|
4275
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateResponses = {
|
|
4276
|
+
200: {
|
|
4277
|
+
data: WebhookResource;
|
|
4278
|
+
secret: string;
|
|
4279
|
+
};
|
|
4280
|
+
};
|
|
4281
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateResponse = PostSpacesBySpaceWebhooksByWebhookRotateResponses[keyof PostSpacesBySpaceWebhooksByWebhookRotateResponses];
|
|
4214
4282
|
|
|
4215
4283
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
4216
4284
|
/**
|
|
@@ -4359,6 +4427,11 @@ declare class Media extends HeyApiClient {
|
|
|
4359
4427
|
create<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceMediaData, ThrowOnError>): RequestResult<PostSpacesBySpaceMediaResponses, PostSpacesBySpaceMediaErrors, ThrowOnError, "fields">;
|
|
4360
4428
|
/**
|
|
4361
4429
|
* Remove a media asset from the space library
|
|
4430
|
+
*
|
|
4431
|
+
* Only library rows arrive here, and only the row is ever certain to go:
|
|
4432
|
+
* `Api\PostController::attachMedia` replicates a Media per post over the
|
|
4433
|
+
* same upload, so what the space sees as one asset is several rows deep by
|
|
4434
|
+
* the time it is deleted.
|
|
4362
4435
|
*/
|
|
4363
4436
|
delete<ThrowOnError extends boolean = false>(options: Options<DeleteSpacesBySpaceMediaByMediaData, ThrowOnError>): RequestResult<DeleteSpacesBySpaceMediaByMediaResponses, DeleteSpacesBySpaceMediaByMediaErrors, ThrowOnError, "fields">;
|
|
4364
4437
|
/**
|
|
@@ -4530,7 +4603,9 @@ declare class Webhooks extends HeyApiClient {
|
|
|
4530
4603
|
/**
|
|
4531
4604
|
* Create a webhook
|
|
4532
4605
|
*
|
|
4533
|
-
*
|
|
4606
|
+
* The response carries the generated signing secret alongside the webhook,
|
|
4607
|
+
* as a sibling of `data`. It is shown once and never returned by any other
|
|
4608
|
+
* endpoint — store it, or use the rotate endpoint to mint a replacement.
|
|
4534
4609
|
*/
|
|
4535
4610
|
create<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceWebhooksData, ThrowOnError>): RequestResult<PostSpacesBySpaceWebhooksResponses, PostSpacesBySpaceWebhooksErrors, ThrowOnError, "fields">;
|
|
4536
4611
|
/**
|
|
@@ -4541,6 +4616,15 @@ declare class Webhooks extends HeyApiClient {
|
|
|
4541
4616
|
* Update a webhook
|
|
4542
4617
|
*/
|
|
4543
4618
|
update<ThrowOnError extends boolean = false>(options: Options<PutSpacesBySpaceWebhooksByWebhookData, ThrowOnError>): RequestResult<PutSpacesBySpaceWebhooksByWebhookResponses, PutSpacesBySpaceWebhooksByWebhookErrors, ThrowOnError, "fields">;
|
|
4619
|
+
/**
|
|
4620
|
+
* Rotate a webhook's signing secret
|
|
4621
|
+
*
|
|
4622
|
+
* The only way back from a lost secret, since it is revealed once at
|
|
4623
|
+
* creation. Deliveries are signed with the new secret from the next event
|
|
4624
|
+
* onward, so a subscriber that verifies signatures should be updated first
|
|
4625
|
+
* — there is no grace period where both secrets are accepted.
|
|
4626
|
+
*/
|
|
4627
|
+
rotate<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceWebhooksByWebhookRotateData, ThrowOnError>): RequestResult<PostSpacesBySpaceWebhooksByWebhookRotateResponses, PostSpacesBySpaceWebhooksByWebhookRotateErrors, ThrowOnError, "fields">;
|
|
4544
4628
|
}
|
|
4545
4629
|
declare class ZilfuApi extends HeyApiClient {
|
|
4546
4630
|
static readonly __registry: HeyApiRegistry<ZilfuApi>;
|
|
@@ -4612,4 +4696,4 @@ declare class ZilfuApiError extends Error {
|
|
|
4612
4696
|
constructor(init: ZilfuApiErrorInit);
|
|
4613
4697
|
}
|
|
4614
4698
|
|
|
4615
|
-
export { type AccountPostsResource, type AccountReportResource, type AccountReportSummaryResource, type AccountResource, type BioBlockResource, type BioPageResource, type ClientOptions, type CreateZilfuClientOptions, type DeleteApiTokensByTokenIdData, type DeleteApiTokensByTokenIdError, type DeleteApiTokensByTokenIdErrors, type DeleteApiTokensByTokenIdResponses, type DeleteSpacesBySpaceAccountsByAccountData, type DeleteSpacesBySpaceAccountsByAccountError, type DeleteSpacesBySpaceAccountsByAccountErrors, type DeleteSpacesBySpaceAccountsByAccountResponse, type DeleteSpacesBySpaceAccountsByAccountResponses, type DeleteSpacesBySpaceBioBlocksByBlockData, type DeleteSpacesBySpaceBioBlocksByBlockError, type DeleteSpacesBySpaceBioBlocksByBlockErrors, type DeleteSpacesBySpaceBioBlocksByBlockResponse, type DeleteSpacesBySpaceBioBlocksByBlockResponses, type DeleteSpacesBySpaceCommentsByScheduledCommentData, type DeleteSpacesBySpaceCommentsByScheduledCommentError, type DeleteSpacesBySpaceCommentsByScheduledCommentErrors, type DeleteSpacesBySpaceCommentsByScheduledCommentResponse, type DeleteSpacesBySpaceCommentsByScheduledCommentResponses, type DeleteSpacesBySpaceData, type DeleteSpacesBySpaceError, type DeleteSpacesBySpaceErrors, type DeleteSpacesBySpaceInvitationsByInvitationData, type DeleteSpacesBySpaceInvitationsByInvitationError, type DeleteSpacesBySpaceInvitationsByInvitationErrors, type DeleteSpacesBySpaceInvitationsByInvitationResponse, type DeleteSpacesBySpaceInvitationsByInvitationResponses, type DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, type DeleteSpacesBySpaceMembersByUserData, type DeleteSpacesBySpaceMembersByUserError, type DeleteSpacesBySpaceMembersByUserErrors, type DeleteSpacesBySpaceMembersByUserResponse, type DeleteSpacesBySpaceMembersByUserResponses, type DeleteSpacesBySpacePostsByPostData, type DeleteSpacesBySpacePostsByPostError, type DeleteSpacesBySpacePostsByPostErrors, type DeleteSpacesBySpacePostsByPostResponse, type DeleteSpacesBySpacePostsByPostResponses, type DeleteSpacesBySpaceResponse, type DeleteSpacesBySpaceResponses, type DeleteSpacesBySpaceSlotsBySlotData, type DeleteSpacesBySpaceSlotsBySlotError, type DeleteSpacesBySpaceSlotsBySlotErrors, type DeleteSpacesBySpaceSlotsBySlotResponse, type DeleteSpacesBySpaceSlotsBySlotResponses, type DeleteSpacesBySpaceWebhooksByWebhookData, type DeleteSpacesBySpaceWebhooksByWebhookError, type DeleteSpacesBySpaceWebhooksByWebhookErrors, type DeleteSpacesBySpaceWebhooksByWebhookResponse, type DeleteSpacesBySpaceWebhooksByWebhookResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsData, type GetSpacesBySpaceAccountsByAccountAnalyticsError, type GetSpacesBySpaceAccountsByAccountAnalyticsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsError, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsResponses, type GetSpacesBySpaceAccountsByAccountBoardsData, type GetSpacesBySpaceAccountsByAccountBoardsError, type GetSpacesBySpaceAccountsByAccountBoardsErrors, type GetSpacesBySpaceAccountsByAccountBoardsResponse, type GetSpacesBySpaceAccountsByAccountBoardsResponses, type GetSpacesBySpaceAccountsData, type GetSpacesBySpaceAccountsError, type GetSpacesBySpaceAccountsErrors, type GetSpacesBySpaceAccountsResponse, type GetSpacesBySpaceAccountsResponses, type GetSpacesBySpaceAnalyticsData, type GetSpacesBySpaceAnalyticsError, type GetSpacesBySpaceAnalyticsErrors, type GetSpacesBySpaceAnalyticsResponse, type GetSpacesBySpaceAnalyticsResponses, type GetSpacesBySpaceBioBlocksData, type GetSpacesBySpaceBioBlocksError, type GetSpacesBySpaceBioBlocksErrors, type GetSpacesBySpaceBioBlocksResponse, type GetSpacesBySpaceBioBlocksResponses, type GetSpacesBySpaceBioData, type GetSpacesBySpaceBioError, type GetSpacesBySpaceBioErrors, type GetSpacesBySpaceBioResponse, type GetSpacesBySpaceBioResponses, type GetSpacesBySpaceData, type GetSpacesBySpaceError, type GetSpacesBySpaceErrors, type GetSpacesBySpaceInvitationsData, type GetSpacesBySpaceInvitationsError, type GetSpacesBySpaceInvitationsErrors, type GetSpacesBySpaceInvitationsResponse, type GetSpacesBySpaceInvitationsResponses, type GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, type GetSpacesBySpaceMembersData, type GetSpacesBySpaceMembersError, type GetSpacesBySpaceMembersErrors, type GetSpacesBySpaceMembersResponse, type GetSpacesBySpaceMembersResponses, type GetSpacesBySpacePostsByPostData, type GetSpacesBySpacePostsByPostError, type GetSpacesBySpacePostsByPostErrors, type GetSpacesBySpacePostsByPostResponse, type GetSpacesBySpacePostsByPostResponses, type GetSpacesBySpacePostsData, type GetSpacesBySpacePostsError, type GetSpacesBySpacePostsErrors, type GetSpacesBySpacePostsResponse, type GetSpacesBySpacePostsResponses, type GetSpacesBySpaceQueueData, type GetSpacesBySpaceQueueError, type GetSpacesBySpaceQueueErrors, type GetSpacesBySpaceQueueResponse, type GetSpacesBySpaceQueueResponses, type GetSpacesBySpaceResponse, type GetSpacesBySpaceResponses, type GetSpacesBySpaceSlotsData, type GetSpacesBySpaceSlotsError, type GetSpacesBySpaceSlotsErrors, type GetSpacesBySpaceSlotsResponse, type GetSpacesBySpaceSlotsResponses, type GetSpacesBySpaceWebhooksData, type GetSpacesBySpaceWebhooksError, type GetSpacesBySpaceWebhooksErrors, type GetSpacesBySpaceWebhooksResponse, type GetSpacesBySpaceWebhooksResponses, type GetSpacesData, type GetSpacesError, type GetSpacesErrors, type GetSpacesResponse, type GetSpacesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type IngestMediaRequest, type MediaResource, type PatchSpacesBySpaceMembersByUserData, type PatchSpacesBySpaceMembersByUserError, type PatchSpacesBySpaceMembersByUserErrors, type PatchSpacesBySpaceMembersByUserResponse, type PatchSpacesBySpaceMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostResource, type PostReviewResource, type PostSpacesBySpaceBioAvatarData, type PostSpacesBySpaceBioAvatarError, type PostSpacesBySpaceBioAvatarErrors, type PostSpacesBySpaceBioAvatarResponse, type PostSpacesBySpaceBioAvatarResponses, type PostSpacesBySpaceBioBlocksData, type PostSpacesBySpaceBioBlocksError, type PostSpacesBySpaceBioBlocksErrors, type PostSpacesBySpaceBioBlocksReorderData, type PostSpacesBySpaceBioBlocksReorderError, type PostSpacesBySpaceBioBlocksReorderErrors, type PostSpacesBySpaceBioBlocksReorderResponse, type PostSpacesBySpaceBioBlocksReorderResponses, type PostSpacesBySpaceBioBlocksResponse, type PostSpacesBySpaceBioBlocksResponses, type PostSpacesBySpaceBioData, type PostSpacesBySpaceBioError, type PostSpacesBySpaceBioErrors, type PostSpacesBySpaceBioImageData, type PostSpacesBySpaceBioImageError, type PostSpacesBySpaceBioImageErrors, type PostSpacesBySpaceBioImageResponse, type PostSpacesBySpaceBioImageResponses, type PostSpacesBySpaceBioResponse, type PostSpacesBySpaceBioResponses, type PostSpacesBySpaceInvitationsByInvitationResendData, type PostSpacesBySpaceInvitationsByInvitationResendError, type PostSpacesBySpaceInvitationsByInvitationResendErrors, type PostSpacesBySpaceInvitationsByInvitationResendResponse, type PostSpacesBySpaceInvitationsByInvitationResendResponses, type PostSpacesBySpaceInvitationsData, type PostSpacesBySpaceInvitationsError, type PostSpacesBySpaceInvitationsErrors, type PostSpacesBySpaceInvitationsResponse, type PostSpacesBySpaceInvitationsResponses, type PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, type PostSpacesBySpaceMembersLeaveData, type PostSpacesBySpaceMembersLeaveError, type PostSpacesBySpaceMembersLeaveErrors, type PostSpacesBySpaceMembersLeaveResponse, type PostSpacesBySpaceMembersLeaveResponses, type PostSpacesBySpacePostsByPostCommentData, type PostSpacesBySpacePostsByPostCommentError, type PostSpacesBySpacePostsByPostCommentErrors, type PostSpacesBySpacePostsByPostCommentResponse, type PostSpacesBySpacePostsByPostCommentResponses, type PostSpacesBySpacePostsByPostRetryData, type PostSpacesBySpacePostsByPostRetryError, type PostSpacesBySpacePostsByPostRetryErrors, type PostSpacesBySpacePostsByPostRetryResponse, type PostSpacesBySpacePostsByPostRetryResponses, type PostSpacesBySpacePostsData, type PostSpacesBySpacePostsError, type PostSpacesBySpacePostsErrors, type PostSpacesBySpacePostsResponse, type PostSpacesBySpacePostsResponses, type PostSpacesBySpaceSlotsData, type PostSpacesBySpaceSlotsError, type PostSpacesBySpaceSlotsErrors, type PostSpacesBySpaceSlotsResponse, type PostSpacesBySpaceSlotsResponses, type PostSpacesBySpaceWebhooksData, type PostSpacesBySpaceWebhooksError, type PostSpacesBySpaceWebhooksErrors, type PostSpacesBySpaceWebhooksResponse, type PostSpacesBySpaceWebhooksResponses, type PostSpacesData, type PostSpacesError, type PostSpacesErrors, type PostSpacesResponse, type PostSpacesResponses, type PostStatus, type PutSpacesBySpaceBioBlocksByBlockData, type PutSpacesBySpaceBioBlocksByBlockError, type PutSpacesBySpaceBioBlocksByBlockErrors, type PutSpacesBySpaceBioBlocksByBlockResponse, type PutSpacesBySpaceBioBlocksByBlockResponses, type PutSpacesBySpaceBioData, type PutSpacesBySpaceBioError, type PutSpacesBySpaceBioErrors, type PutSpacesBySpaceBioResponse, type PutSpacesBySpaceBioResponses, type PutSpacesBySpaceCommentsByScheduledCommentData, type PutSpacesBySpaceCommentsByScheduledCommentError, type PutSpacesBySpaceCommentsByScheduledCommentErrors, type PutSpacesBySpaceCommentsByScheduledCommentResponse, type PutSpacesBySpaceCommentsByScheduledCommentResponses, type PutSpacesBySpaceData, type PutSpacesBySpaceError, type PutSpacesBySpaceErrors, type PutSpacesBySpacePostsByPostData, type PutSpacesBySpacePostsByPostError, type PutSpacesBySpacePostsByPostErrors, type PutSpacesBySpacePostsByPostResponse, type PutSpacesBySpacePostsByPostResponses, type PutSpacesBySpaceResponse, type PutSpacesBySpaceResponses, type PutSpacesBySpaceWebhooksByWebhookData, type PutSpacesBySpaceWebhooksByWebhookError, type PutSpacesBySpaceWebhooksByWebhookErrors, type PutSpacesBySpaceWebhooksByWebhookResponse, type PutSpacesBySpaceWebhooksByWebhookResponses, type ReviewCommentResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpaceInvitationResource, type SpaceMemberResource, type SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceInvitationRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceMemberRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
|
|
4699
|
+
export { type AccountPostsResource, type AccountReportResource, type AccountReportSummaryResource, type AccountResource, type BioBlockResource, type BioPageResource, type ClientOptions, type CreateZilfuClientOptions, type DeleteApiTokensByTokenIdData, type DeleteApiTokensByTokenIdError, type DeleteApiTokensByTokenIdErrors, type DeleteApiTokensByTokenIdResponses, type DeleteSpacesBySpaceAccountsByAccountData, type DeleteSpacesBySpaceAccountsByAccountError, type DeleteSpacesBySpaceAccountsByAccountErrors, type DeleteSpacesBySpaceAccountsByAccountResponse, type DeleteSpacesBySpaceAccountsByAccountResponses, type DeleteSpacesBySpaceBioBlocksByBlockData, type DeleteSpacesBySpaceBioBlocksByBlockError, type DeleteSpacesBySpaceBioBlocksByBlockErrors, type DeleteSpacesBySpaceBioBlocksByBlockResponse, type DeleteSpacesBySpaceBioBlocksByBlockResponses, type DeleteSpacesBySpaceCommentsByScheduledCommentData, type DeleteSpacesBySpaceCommentsByScheduledCommentError, type DeleteSpacesBySpaceCommentsByScheduledCommentErrors, type DeleteSpacesBySpaceCommentsByScheduledCommentResponse, type DeleteSpacesBySpaceCommentsByScheduledCommentResponses, type DeleteSpacesBySpaceData, type DeleteSpacesBySpaceError, type DeleteSpacesBySpaceErrors, type DeleteSpacesBySpaceInvitationsByInvitationData, type DeleteSpacesBySpaceInvitationsByInvitationError, type DeleteSpacesBySpaceInvitationsByInvitationErrors, type DeleteSpacesBySpaceInvitationsByInvitationResponse, type DeleteSpacesBySpaceInvitationsByInvitationResponses, type DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, type DeleteSpacesBySpaceMembersByUserData, type DeleteSpacesBySpaceMembersByUserError, type DeleteSpacesBySpaceMembersByUserErrors, type DeleteSpacesBySpaceMembersByUserResponse, type DeleteSpacesBySpaceMembersByUserResponses, type DeleteSpacesBySpacePostsByPostData, type DeleteSpacesBySpacePostsByPostError, type DeleteSpacesBySpacePostsByPostErrors, type DeleteSpacesBySpacePostsByPostResponse, type DeleteSpacesBySpacePostsByPostResponses, type DeleteSpacesBySpaceResponse, type DeleteSpacesBySpaceResponses, type DeleteSpacesBySpaceSlotsBySlotData, type DeleteSpacesBySpaceSlotsBySlotError, type DeleteSpacesBySpaceSlotsBySlotErrors, type DeleteSpacesBySpaceSlotsBySlotResponse, type DeleteSpacesBySpaceSlotsBySlotResponses, type DeleteSpacesBySpaceWebhooksByWebhookData, type DeleteSpacesBySpaceWebhooksByWebhookError, type DeleteSpacesBySpaceWebhooksByWebhookErrors, type DeleteSpacesBySpaceWebhooksByWebhookResponse, type DeleteSpacesBySpaceWebhooksByWebhookResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsData, type GetSpacesBySpaceAccountsByAccountAnalyticsError, type GetSpacesBySpaceAccountsByAccountAnalyticsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsError, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsResponses, type GetSpacesBySpaceAccountsByAccountBoardsData, type GetSpacesBySpaceAccountsByAccountBoardsError, type GetSpacesBySpaceAccountsByAccountBoardsErrors, type GetSpacesBySpaceAccountsByAccountBoardsResponse, type GetSpacesBySpaceAccountsByAccountBoardsResponses, type GetSpacesBySpaceAccountsData, type GetSpacesBySpaceAccountsError, type GetSpacesBySpaceAccountsErrors, type GetSpacesBySpaceAccountsResponse, type GetSpacesBySpaceAccountsResponses, type GetSpacesBySpaceAnalyticsData, type GetSpacesBySpaceAnalyticsError, type GetSpacesBySpaceAnalyticsErrors, type GetSpacesBySpaceAnalyticsResponse, type GetSpacesBySpaceAnalyticsResponses, type GetSpacesBySpaceBioBlocksData, type GetSpacesBySpaceBioBlocksError, type GetSpacesBySpaceBioBlocksErrors, type GetSpacesBySpaceBioBlocksResponse, type GetSpacesBySpaceBioBlocksResponses, type GetSpacesBySpaceBioData, type GetSpacesBySpaceBioError, type GetSpacesBySpaceBioErrors, type GetSpacesBySpaceBioResponse, type GetSpacesBySpaceBioResponses, type GetSpacesBySpaceData, type GetSpacesBySpaceError, type GetSpacesBySpaceErrors, type GetSpacesBySpaceInvitationsData, type GetSpacesBySpaceInvitationsError, type GetSpacesBySpaceInvitationsErrors, type GetSpacesBySpaceInvitationsResponse, type GetSpacesBySpaceInvitationsResponses, type GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, type GetSpacesBySpaceMembersData, type GetSpacesBySpaceMembersError, type GetSpacesBySpaceMembersErrors, type GetSpacesBySpaceMembersResponse, type GetSpacesBySpaceMembersResponses, type GetSpacesBySpacePostsByPostData, type GetSpacesBySpacePostsByPostError, type GetSpacesBySpacePostsByPostErrors, type GetSpacesBySpacePostsByPostResponse, type GetSpacesBySpacePostsByPostResponses, type GetSpacesBySpacePostsData, type GetSpacesBySpacePostsError, type GetSpacesBySpacePostsErrors, type GetSpacesBySpacePostsResponse, type GetSpacesBySpacePostsResponses, type GetSpacesBySpaceQueueData, type GetSpacesBySpaceQueueError, type GetSpacesBySpaceQueueErrors, type GetSpacesBySpaceQueueResponse, type GetSpacesBySpaceQueueResponses, type GetSpacesBySpaceResponse, type GetSpacesBySpaceResponses, type GetSpacesBySpaceSlotsData, type GetSpacesBySpaceSlotsError, type GetSpacesBySpaceSlotsErrors, type GetSpacesBySpaceSlotsResponse, type GetSpacesBySpaceSlotsResponses, type GetSpacesBySpaceWebhooksData, type GetSpacesBySpaceWebhooksError, type GetSpacesBySpaceWebhooksErrors, type GetSpacesBySpaceWebhooksResponse, type GetSpacesBySpaceWebhooksResponses, type GetSpacesData, type GetSpacesError, type GetSpacesErrors, type GetSpacesResponse, type GetSpacesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type IngestMediaRequest, type MediaResource, type PatchSpacesBySpaceMembersByUserData, type PatchSpacesBySpaceMembersByUserError, type PatchSpacesBySpaceMembersByUserErrors, type PatchSpacesBySpaceMembersByUserResponse, type PatchSpacesBySpaceMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostResource, type PostReviewResource, type PostSpacesBySpaceBioAvatarData, type PostSpacesBySpaceBioAvatarError, type PostSpacesBySpaceBioAvatarErrors, type PostSpacesBySpaceBioAvatarResponse, type PostSpacesBySpaceBioAvatarResponses, type PostSpacesBySpaceBioBlocksData, type PostSpacesBySpaceBioBlocksError, type PostSpacesBySpaceBioBlocksErrors, type PostSpacesBySpaceBioBlocksReorderData, type PostSpacesBySpaceBioBlocksReorderError, type PostSpacesBySpaceBioBlocksReorderErrors, type PostSpacesBySpaceBioBlocksReorderResponse, type PostSpacesBySpaceBioBlocksReorderResponses, type PostSpacesBySpaceBioBlocksResponse, type PostSpacesBySpaceBioBlocksResponses, type PostSpacesBySpaceBioData, type PostSpacesBySpaceBioError, type PostSpacesBySpaceBioErrors, type PostSpacesBySpaceBioImageData, type PostSpacesBySpaceBioImageError, type PostSpacesBySpaceBioImageErrors, type PostSpacesBySpaceBioImageResponse, type PostSpacesBySpaceBioImageResponses, type PostSpacesBySpaceBioResponse, type PostSpacesBySpaceBioResponses, type PostSpacesBySpaceInvitationsByInvitationResendData, type PostSpacesBySpaceInvitationsByInvitationResendError, type PostSpacesBySpaceInvitationsByInvitationResendErrors, type PostSpacesBySpaceInvitationsByInvitationResendResponse, type PostSpacesBySpaceInvitationsByInvitationResendResponses, type PostSpacesBySpaceInvitationsData, type PostSpacesBySpaceInvitationsError, type PostSpacesBySpaceInvitationsErrors, type PostSpacesBySpaceInvitationsResponse, type PostSpacesBySpaceInvitationsResponses, type PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, type PostSpacesBySpaceMembersLeaveData, type PostSpacesBySpaceMembersLeaveError, type PostSpacesBySpaceMembersLeaveErrors, type PostSpacesBySpaceMembersLeaveResponse, type PostSpacesBySpaceMembersLeaveResponses, type PostSpacesBySpacePostsByPostCommentData, type PostSpacesBySpacePostsByPostCommentError, type PostSpacesBySpacePostsByPostCommentErrors, type PostSpacesBySpacePostsByPostCommentResponse, type PostSpacesBySpacePostsByPostCommentResponses, type PostSpacesBySpacePostsByPostRetryData, type PostSpacesBySpacePostsByPostRetryError, type PostSpacesBySpacePostsByPostRetryErrors, type PostSpacesBySpacePostsByPostRetryResponse, type PostSpacesBySpacePostsByPostRetryResponses, type PostSpacesBySpacePostsData, type PostSpacesBySpacePostsError, type PostSpacesBySpacePostsErrors, type PostSpacesBySpacePostsResponse, type PostSpacesBySpacePostsResponses, type PostSpacesBySpaceSlotsData, type PostSpacesBySpaceSlotsError, type PostSpacesBySpaceSlotsErrors, type PostSpacesBySpaceSlotsResponse, type PostSpacesBySpaceSlotsResponses, type PostSpacesBySpaceWebhooksByWebhookRotateData, type PostSpacesBySpaceWebhooksByWebhookRotateError, type PostSpacesBySpaceWebhooksByWebhookRotateErrors, type PostSpacesBySpaceWebhooksByWebhookRotateResponse, type PostSpacesBySpaceWebhooksByWebhookRotateResponses, type PostSpacesBySpaceWebhooksData, type PostSpacesBySpaceWebhooksError, type PostSpacesBySpaceWebhooksErrors, type PostSpacesBySpaceWebhooksResponse, type PostSpacesBySpaceWebhooksResponses, type PostSpacesData, type PostSpacesError, type PostSpacesErrors, type PostSpacesResponse, type PostSpacesResponses, type PostStatus, type PutSpacesBySpaceBioBlocksByBlockData, type PutSpacesBySpaceBioBlocksByBlockError, type PutSpacesBySpaceBioBlocksByBlockErrors, type PutSpacesBySpaceBioBlocksByBlockResponse, type PutSpacesBySpaceBioBlocksByBlockResponses, type PutSpacesBySpaceBioData, type PutSpacesBySpaceBioError, type PutSpacesBySpaceBioErrors, type PutSpacesBySpaceBioResponse, type PutSpacesBySpaceBioResponses, type PutSpacesBySpaceCommentsByScheduledCommentData, type PutSpacesBySpaceCommentsByScheduledCommentError, type PutSpacesBySpaceCommentsByScheduledCommentErrors, type PutSpacesBySpaceCommentsByScheduledCommentResponse, type PutSpacesBySpaceCommentsByScheduledCommentResponses, type PutSpacesBySpaceData, type PutSpacesBySpaceError, type PutSpacesBySpaceErrors, type PutSpacesBySpacePostsByPostData, type PutSpacesBySpacePostsByPostError, type PutSpacesBySpacePostsByPostErrors, type PutSpacesBySpacePostsByPostResponse, type PutSpacesBySpacePostsByPostResponses, type PutSpacesBySpaceResponse, type PutSpacesBySpaceResponses, type PutSpacesBySpaceWebhooksByWebhookData, type PutSpacesBySpaceWebhooksByWebhookError, type PutSpacesBySpaceWebhooksByWebhookErrors, type PutSpacesBySpaceWebhooksByWebhookResponse, type PutSpacesBySpaceWebhooksByWebhookResponses, type ReviewCommentResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpaceInvitationResource, type SpaceMemberResource, type SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceInvitationRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceMemberRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
|
package/dist/index.d.ts
CHANGED
|
@@ -784,6 +784,10 @@ type MediaResource = {
|
|
|
784
784
|
width: string;
|
|
785
785
|
height: string;
|
|
786
786
|
size: string;
|
|
787
|
+
/**
|
|
788
|
+
* Seconds, for video we could measure; null for everything else.
|
|
789
|
+
*/
|
|
790
|
+
duration: string | null;
|
|
787
791
|
alt: string;
|
|
788
792
|
order: string;
|
|
789
793
|
};
|
|
@@ -894,6 +898,13 @@ type SessionResource = {
|
|
|
894
898
|
*/
|
|
895
899
|
type SignMediaRequest = {
|
|
896
900
|
mime: 'image/jpeg' | 'image/png' | 'image/webp' | 'video/mp4' | 'video/quicktime';
|
|
901
|
+
/**
|
|
902
|
+
* The size of the file about to be uploaded. Optional, and taken on
|
|
903
|
+
* trust — the object is measured again once it lands. Sending it
|
|
904
|
+
* buys an immediate refusal instead of discovering the file was too
|
|
905
|
+
* large after transferring it.
|
|
906
|
+
*/
|
|
907
|
+
size?: number | null;
|
|
897
908
|
};
|
|
898
909
|
/**
|
|
899
910
|
* SlotResource
|
|
@@ -4085,7 +4096,12 @@ type PostSpacesBySpaceWebhooksErrors = {
|
|
|
4085
4096
|
type PostSpacesBySpaceWebhooksError = PostSpacesBySpaceWebhooksErrors[keyof PostSpacesBySpaceWebhooksErrors];
|
|
4086
4097
|
type PostSpacesBySpaceWebhooksResponses = {
|
|
4087
4098
|
200: {
|
|
4088
|
-
|
|
4099
|
+
data: WebhookResource;
|
|
4100
|
+
secret: string;
|
|
4101
|
+
};
|
|
4102
|
+
201: {
|
|
4103
|
+
data: WebhookResource;
|
|
4104
|
+
secret: string;
|
|
4089
4105
|
};
|
|
4090
4106
|
};
|
|
4091
4107
|
type PostSpacesBySpaceWebhooksResponse = PostSpacesBySpaceWebhooksResponses[keyof PostSpacesBySpaceWebhooksResponses];
|
|
@@ -4211,6 +4227,58 @@ type PutSpacesBySpaceWebhooksByWebhookResponses = {
|
|
|
4211
4227
|
};
|
|
4212
4228
|
};
|
|
4213
4229
|
type PutSpacesBySpaceWebhooksByWebhookResponse = PutSpacesBySpaceWebhooksByWebhookResponses[keyof PutSpacesBySpaceWebhooksByWebhookResponses];
|
|
4230
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateData = {
|
|
4231
|
+
body?: never;
|
|
4232
|
+
path: {
|
|
4233
|
+
/**
|
|
4234
|
+
* The space ID
|
|
4235
|
+
*/
|
|
4236
|
+
space: number;
|
|
4237
|
+
/**
|
|
4238
|
+
* The webhook ID
|
|
4239
|
+
*/
|
|
4240
|
+
webhook: number;
|
|
4241
|
+
};
|
|
4242
|
+
query?: never;
|
|
4243
|
+
url: '/spaces/{space}/webhooks/{webhook}/rotate';
|
|
4244
|
+
};
|
|
4245
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateErrors = {
|
|
4246
|
+
/**
|
|
4247
|
+
* Unauthenticated
|
|
4248
|
+
*/
|
|
4249
|
+
401: {
|
|
4250
|
+
/**
|
|
4251
|
+
* Error overview.
|
|
4252
|
+
*/
|
|
4253
|
+
message: string;
|
|
4254
|
+
};
|
|
4255
|
+
/**
|
|
4256
|
+
* Authorization error
|
|
4257
|
+
*/
|
|
4258
|
+
403: {
|
|
4259
|
+
/**
|
|
4260
|
+
* Error overview.
|
|
4261
|
+
*/
|
|
4262
|
+
message: string;
|
|
4263
|
+
};
|
|
4264
|
+
/**
|
|
4265
|
+
* Not found
|
|
4266
|
+
*/
|
|
4267
|
+
404: {
|
|
4268
|
+
/**
|
|
4269
|
+
* Error overview.
|
|
4270
|
+
*/
|
|
4271
|
+
message: string;
|
|
4272
|
+
};
|
|
4273
|
+
};
|
|
4274
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateError = PostSpacesBySpaceWebhooksByWebhookRotateErrors[keyof PostSpacesBySpaceWebhooksByWebhookRotateErrors];
|
|
4275
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateResponses = {
|
|
4276
|
+
200: {
|
|
4277
|
+
data: WebhookResource;
|
|
4278
|
+
secret: string;
|
|
4279
|
+
};
|
|
4280
|
+
};
|
|
4281
|
+
type PostSpacesBySpaceWebhooksByWebhookRotateResponse = PostSpacesBySpaceWebhooksByWebhookRotateResponses[keyof PostSpacesBySpaceWebhooksByWebhookRotateResponses];
|
|
4214
4282
|
|
|
4215
4283
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
4216
4284
|
/**
|
|
@@ -4359,6 +4427,11 @@ declare class Media extends HeyApiClient {
|
|
|
4359
4427
|
create<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceMediaData, ThrowOnError>): RequestResult<PostSpacesBySpaceMediaResponses, PostSpacesBySpaceMediaErrors, ThrowOnError, "fields">;
|
|
4360
4428
|
/**
|
|
4361
4429
|
* Remove a media asset from the space library
|
|
4430
|
+
*
|
|
4431
|
+
* Only library rows arrive here, and only the row is ever certain to go:
|
|
4432
|
+
* `Api\PostController::attachMedia` replicates a Media per post over the
|
|
4433
|
+
* same upload, so what the space sees as one asset is several rows deep by
|
|
4434
|
+
* the time it is deleted.
|
|
4362
4435
|
*/
|
|
4363
4436
|
delete<ThrowOnError extends boolean = false>(options: Options<DeleteSpacesBySpaceMediaByMediaData, ThrowOnError>): RequestResult<DeleteSpacesBySpaceMediaByMediaResponses, DeleteSpacesBySpaceMediaByMediaErrors, ThrowOnError, "fields">;
|
|
4364
4437
|
/**
|
|
@@ -4530,7 +4603,9 @@ declare class Webhooks extends HeyApiClient {
|
|
|
4530
4603
|
/**
|
|
4531
4604
|
* Create a webhook
|
|
4532
4605
|
*
|
|
4533
|
-
*
|
|
4606
|
+
* The response carries the generated signing secret alongside the webhook,
|
|
4607
|
+
* as a sibling of `data`. It is shown once and never returned by any other
|
|
4608
|
+
* endpoint — store it, or use the rotate endpoint to mint a replacement.
|
|
4534
4609
|
*/
|
|
4535
4610
|
create<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceWebhooksData, ThrowOnError>): RequestResult<PostSpacesBySpaceWebhooksResponses, PostSpacesBySpaceWebhooksErrors, ThrowOnError, "fields">;
|
|
4536
4611
|
/**
|
|
@@ -4541,6 +4616,15 @@ declare class Webhooks extends HeyApiClient {
|
|
|
4541
4616
|
* Update a webhook
|
|
4542
4617
|
*/
|
|
4543
4618
|
update<ThrowOnError extends boolean = false>(options: Options<PutSpacesBySpaceWebhooksByWebhookData, ThrowOnError>): RequestResult<PutSpacesBySpaceWebhooksByWebhookResponses, PutSpacesBySpaceWebhooksByWebhookErrors, ThrowOnError, "fields">;
|
|
4619
|
+
/**
|
|
4620
|
+
* Rotate a webhook's signing secret
|
|
4621
|
+
*
|
|
4622
|
+
* The only way back from a lost secret, since it is revealed once at
|
|
4623
|
+
* creation. Deliveries are signed with the new secret from the next event
|
|
4624
|
+
* onward, so a subscriber that verifies signatures should be updated first
|
|
4625
|
+
* — there is no grace period where both secrets are accepted.
|
|
4626
|
+
*/
|
|
4627
|
+
rotate<ThrowOnError extends boolean = false>(options: Options<PostSpacesBySpaceWebhooksByWebhookRotateData, ThrowOnError>): RequestResult<PostSpacesBySpaceWebhooksByWebhookRotateResponses, PostSpacesBySpaceWebhooksByWebhookRotateErrors, ThrowOnError, "fields">;
|
|
4544
4628
|
}
|
|
4545
4629
|
declare class ZilfuApi extends HeyApiClient {
|
|
4546
4630
|
static readonly __registry: HeyApiRegistry<ZilfuApi>;
|
|
@@ -4612,4 +4696,4 @@ declare class ZilfuApiError extends Error {
|
|
|
4612
4696
|
constructor(init: ZilfuApiErrorInit);
|
|
4613
4697
|
}
|
|
4614
4698
|
|
|
4615
|
-
export { type AccountPostsResource, type AccountReportResource, type AccountReportSummaryResource, type AccountResource, type BioBlockResource, type BioPageResource, type ClientOptions, type CreateZilfuClientOptions, type DeleteApiTokensByTokenIdData, type DeleteApiTokensByTokenIdError, type DeleteApiTokensByTokenIdErrors, type DeleteApiTokensByTokenIdResponses, type DeleteSpacesBySpaceAccountsByAccountData, type DeleteSpacesBySpaceAccountsByAccountError, type DeleteSpacesBySpaceAccountsByAccountErrors, type DeleteSpacesBySpaceAccountsByAccountResponse, type DeleteSpacesBySpaceAccountsByAccountResponses, type DeleteSpacesBySpaceBioBlocksByBlockData, type DeleteSpacesBySpaceBioBlocksByBlockError, type DeleteSpacesBySpaceBioBlocksByBlockErrors, type DeleteSpacesBySpaceBioBlocksByBlockResponse, type DeleteSpacesBySpaceBioBlocksByBlockResponses, type DeleteSpacesBySpaceCommentsByScheduledCommentData, type DeleteSpacesBySpaceCommentsByScheduledCommentError, type DeleteSpacesBySpaceCommentsByScheduledCommentErrors, type DeleteSpacesBySpaceCommentsByScheduledCommentResponse, type DeleteSpacesBySpaceCommentsByScheduledCommentResponses, type DeleteSpacesBySpaceData, type DeleteSpacesBySpaceError, type DeleteSpacesBySpaceErrors, type DeleteSpacesBySpaceInvitationsByInvitationData, type DeleteSpacesBySpaceInvitationsByInvitationError, type DeleteSpacesBySpaceInvitationsByInvitationErrors, type DeleteSpacesBySpaceInvitationsByInvitationResponse, type DeleteSpacesBySpaceInvitationsByInvitationResponses, type DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, type DeleteSpacesBySpaceMembersByUserData, type DeleteSpacesBySpaceMembersByUserError, type DeleteSpacesBySpaceMembersByUserErrors, type DeleteSpacesBySpaceMembersByUserResponse, type DeleteSpacesBySpaceMembersByUserResponses, type DeleteSpacesBySpacePostsByPostData, type DeleteSpacesBySpacePostsByPostError, type DeleteSpacesBySpacePostsByPostErrors, type DeleteSpacesBySpacePostsByPostResponse, type DeleteSpacesBySpacePostsByPostResponses, type DeleteSpacesBySpaceResponse, type DeleteSpacesBySpaceResponses, type DeleteSpacesBySpaceSlotsBySlotData, type DeleteSpacesBySpaceSlotsBySlotError, type DeleteSpacesBySpaceSlotsBySlotErrors, type DeleteSpacesBySpaceSlotsBySlotResponse, type DeleteSpacesBySpaceSlotsBySlotResponses, type DeleteSpacesBySpaceWebhooksByWebhookData, type DeleteSpacesBySpaceWebhooksByWebhookError, type DeleteSpacesBySpaceWebhooksByWebhookErrors, type DeleteSpacesBySpaceWebhooksByWebhookResponse, type DeleteSpacesBySpaceWebhooksByWebhookResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsData, type GetSpacesBySpaceAccountsByAccountAnalyticsError, type GetSpacesBySpaceAccountsByAccountAnalyticsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsError, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsResponses, type GetSpacesBySpaceAccountsByAccountBoardsData, type GetSpacesBySpaceAccountsByAccountBoardsError, type GetSpacesBySpaceAccountsByAccountBoardsErrors, type GetSpacesBySpaceAccountsByAccountBoardsResponse, type GetSpacesBySpaceAccountsByAccountBoardsResponses, type GetSpacesBySpaceAccountsData, type GetSpacesBySpaceAccountsError, type GetSpacesBySpaceAccountsErrors, type GetSpacesBySpaceAccountsResponse, type GetSpacesBySpaceAccountsResponses, type GetSpacesBySpaceAnalyticsData, type GetSpacesBySpaceAnalyticsError, type GetSpacesBySpaceAnalyticsErrors, type GetSpacesBySpaceAnalyticsResponse, type GetSpacesBySpaceAnalyticsResponses, type GetSpacesBySpaceBioBlocksData, type GetSpacesBySpaceBioBlocksError, type GetSpacesBySpaceBioBlocksErrors, type GetSpacesBySpaceBioBlocksResponse, type GetSpacesBySpaceBioBlocksResponses, type GetSpacesBySpaceBioData, type GetSpacesBySpaceBioError, type GetSpacesBySpaceBioErrors, type GetSpacesBySpaceBioResponse, type GetSpacesBySpaceBioResponses, type GetSpacesBySpaceData, type GetSpacesBySpaceError, type GetSpacesBySpaceErrors, type GetSpacesBySpaceInvitationsData, type GetSpacesBySpaceInvitationsError, type GetSpacesBySpaceInvitationsErrors, type GetSpacesBySpaceInvitationsResponse, type GetSpacesBySpaceInvitationsResponses, type GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, type GetSpacesBySpaceMembersData, type GetSpacesBySpaceMembersError, type GetSpacesBySpaceMembersErrors, type GetSpacesBySpaceMembersResponse, type GetSpacesBySpaceMembersResponses, type GetSpacesBySpacePostsByPostData, type GetSpacesBySpacePostsByPostError, type GetSpacesBySpacePostsByPostErrors, type GetSpacesBySpacePostsByPostResponse, type GetSpacesBySpacePostsByPostResponses, type GetSpacesBySpacePostsData, type GetSpacesBySpacePostsError, type GetSpacesBySpacePostsErrors, type GetSpacesBySpacePostsResponse, type GetSpacesBySpacePostsResponses, type GetSpacesBySpaceQueueData, type GetSpacesBySpaceQueueError, type GetSpacesBySpaceQueueErrors, type GetSpacesBySpaceQueueResponse, type GetSpacesBySpaceQueueResponses, type GetSpacesBySpaceResponse, type GetSpacesBySpaceResponses, type GetSpacesBySpaceSlotsData, type GetSpacesBySpaceSlotsError, type GetSpacesBySpaceSlotsErrors, type GetSpacesBySpaceSlotsResponse, type GetSpacesBySpaceSlotsResponses, type GetSpacesBySpaceWebhooksData, type GetSpacesBySpaceWebhooksError, type GetSpacesBySpaceWebhooksErrors, type GetSpacesBySpaceWebhooksResponse, type GetSpacesBySpaceWebhooksResponses, type GetSpacesData, type GetSpacesError, type GetSpacesErrors, type GetSpacesResponse, type GetSpacesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type IngestMediaRequest, type MediaResource, type PatchSpacesBySpaceMembersByUserData, type PatchSpacesBySpaceMembersByUserError, type PatchSpacesBySpaceMembersByUserErrors, type PatchSpacesBySpaceMembersByUserResponse, type PatchSpacesBySpaceMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostResource, type PostReviewResource, type PostSpacesBySpaceBioAvatarData, type PostSpacesBySpaceBioAvatarError, type PostSpacesBySpaceBioAvatarErrors, type PostSpacesBySpaceBioAvatarResponse, type PostSpacesBySpaceBioAvatarResponses, type PostSpacesBySpaceBioBlocksData, type PostSpacesBySpaceBioBlocksError, type PostSpacesBySpaceBioBlocksErrors, type PostSpacesBySpaceBioBlocksReorderData, type PostSpacesBySpaceBioBlocksReorderError, type PostSpacesBySpaceBioBlocksReorderErrors, type PostSpacesBySpaceBioBlocksReorderResponse, type PostSpacesBySpaceBioBlocksReorderResponses, type PostSpacesBySpaceBioBlocksResponse, type PostSpacesBySpaceBioBlocksResponses, type PostSpacesBySpaceBioData, type PostSpacesBySpaceBioError, type PostSpacesBySpaceBioErrors, type PostSpacesBySpaceBioImageData, type PostSpacesBySpaceBioImageError, type PostSpacesBySpaceBioImageErrors, type PostSpacesBySpaceBioImageResponse, type PostSpacesBySpaceBioImageResponses, type PostSpacesBySpaceBioResponse, type PostSpacesBySpaceBioResponses, type PostSpacesBySpaceInvitationsByInvitationResendData, type PostSpacesBySpaceInvitationsByInvitationResendError, type PostSpacesBySpaceInvitationsByInvitationResendErrors, type PostSpacesBySpaceInvitationsByInvitationResendResponse, type PostSpacesBySpaceInvitationsByInvitationResendResponses, type PostSpacesBySpaceInvitationsData, type PostSpacesBySpaceInvitationsError, type PostSpacesBySpaceInvitationsErrors, type PostSpacesBySpaceInvitationsResponse, type PostSpacesBySpaceInvitationsResponses, type PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, type PostSpacesBySpaceMembersLeaveData, type PostSpacesBySpaceMembersLeaveError, type PostSpacesBySpaceMembersLeaveErrors, type PostSpacesBySpaceMembersLeaveResponse, type PostSpacesBySpaceMembersLeaveResponses, type PostSpacesBySpacePostsByPostCommentData, type PostSpacesBySpacePostsByPostCommentError, type PostSpacesBySpacePostsByPostCommentErrors, type PostSpacesBySpacePostsByPostCommentResponse, type PostSpacesBySpacePostsByPostCommentResponses, type PostSpacesBySpacePostsByPostRetryData, type PostSpacesBySpacePostsByPostRetryError, type PostSpacesBySpacePostsByPostRetryErrors, type PostSpacesBySpacePostsByPostRetryResponse, type PostSpacesBySpacePostsByPostRetryResponses, type PostSpacesBySpacePostsData, type PostSpacesBySpacePostsError, type PostSpacesBySpacePostsErrors, type PostSpacesBySpacePostsResponse, type PostSpacesBySpacePostsResponses, type PostSpacesBySpaceSlotsData, type PostSpacesBySpaceSlotsError, type PostSpacesBySpaceSlotsErrors, type PostSpacesBySpaceSlotsResponse, type PostSpacesBySpaceSlotsResponses, type PostSpacesBySpaceWebhooksData, type PostSpacesBySpaceWebhooksError, type PostSpacesBySpaceWebhooksErrors, type PostSpacesBySpaceWebhooksResponse, type PostSpacesBySpaceWebhooksResponses, type PostSpacesData, type PostSpacesError, type PostSpacesErrors, type PostSpacesResponse, type PostSpacesResponses, type PostStatus, type PutSpacesBySpaceBioBlocksByBlockData, type PutSpacesBySpaceBioBlocksByBlockError, type PutSpacesBySpaceBioBlocksByBlockErrors, type PutSpacesBySpaceBioBlocksByBlockResponse, type PutSpacesBySpaceBioBlocksByBlockResponses, type PutSpacesBySpaceBioData, type PutSpacesBySpaceBioError, type PutSpacesBySpaceBioErrors, type PutSpacesBySpaceBioResponse, type PutSpacesBySpaceBioResponses, type PutSpacesBySpaceCommentsByScheduledCommentData, type PutSpacesBySpaceCommentsByScheduledCommentError, type PutSpacesBySpaceCommentsByScheduledCommentErrors, type PutSpacesBySpaceCommentsByScheduledCommentResponse, type PutSpacesBySpaceCommentsByScheduledCommentResponses, type PutSpacesBySpaceData, type PutSpacesBySpaceError, type PutSpacesBySpaceErrors, type PutSpacesBySpacePostsByPostData, type PutSpacesBySpacePostsByPostError, type PutSpacesBySpacePostsByPostErrors, type PutSpacesBySpacePostsByPostResponse, type PutSpacesBySpacePostsByPostResponses, type PutSpacesBySpaceResponse, type PutSpacesBySpaceResponses, type PutSpacesBySpaceWebhooksByWebhookData, type PutSpacesBySpaceWebhooksByWebhookError, type PutSpacesBySpaceWebhooksByWebhookErrors, type PutSpacesBySpaceWebhooksByWebhookResponse, type PutSpacesBySpaceWebhooksByWebhookResponses, type ReviewCommentResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpaceInvitationResource, type SpaceMemberResource, type SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceInvitationRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceMemberRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
|
|
4699
|
+
export { type AccountPostsResource, type AccountReportResource, type AccountReportSummaryResource, type AccountResource, type BioBlockResource, type BioPageResource, type ClientOptions, type CreateZilfuClientOptions, type DeleteApiTokensByTokenIdData, type DeleteApiTokensByTokenIdError, type DeleteApiTokensByTokenIdErrors, type DeleteApiTokensByTokenIdResponses, type DeleteSpacesBySpaceAccountsByAccountData, type DeleteSpacesBySpaceAccountsByAccountError, type DeleteSpacesBySpaceAccountsByAccountErrors, type DeleteSpacesBySpaceAccountsByAccountResponse, type DeleteSpacesBySpaceAccountsByAccountResponses, type DeleteSpacesBySpaceBioBlocksByBlockData, type DeleteSpacesBySpaceBioBlocksByBlockError, type DeleteSpacesBySpaceBioBlocksByBlockErrors, type DeleteSpacesBySpaceBioBlocksByBlockResponse, type DeleteSpacesBySpaceBioBlocksByBlockResponses, type DeleteSpacesBySpaceCommentsByScheduledCommentData, type DeleteSpacesBySpaceCommentsByScheduledCommentError, type DeleteSpacesBySpaceCommentsByScheduledCommentErrors, type DeleteSpacesBySpaceCommentsByScheduledCommentResponse, type DeleteSpacesBySpaceCommentsByScheduledCommentResponses, type DeleteSpacesBySpaceData, type DeleteSpacesBySpaceError, type DeleteSpacesBySpaceErrors, type DeleteSpacesBySpaceInvitationsByInvitationData, type DeleteSpacesBySpaceInvitationsByInvitationError, type DeleteSpacesBySpaceInvitationsByInvitationErrors, type DeleteSpacesBySpaceInvitationsByInvitationResponse, type DeleteSpacesBySpaceInvitationsByInvitationResponses, type DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, type DeleteSpacesBySpaceMembersByUserData, type DeleteSpacesBySpaceMembersByUserError, type DeleteSpacesBySpaceMembersByUserErrors, type DeleteSpacesBySpaceMembersByUserResponse, type DeleteSpacesBySpaceMembersByUserResponses, type DeleteSpacesBySpacePostsByPostData, type DeleteSpacesBySpacePostsByPostError, type DeleteSpacesBySpacePostsByPostErrors, type DeleteSpacesBySpacePostsByPostResponse, type DeleteSpacesBySpacePostsByPostResponses, type DeleteSpacesBySpaceResponse, type DeleteSpacesBySpaceResponses, type DeleteSpacesBySpaceSlotsBySlotData, type DeleteSpacesBySpaceSlotsBySlotError, type DeleteSpacesBySpaceSlotsBySlotErrors, type DeleteSpacesBySpaceSlotsBySlotResponse, type DeleteSpacesBySpaceSlotsBySlotResponses, type DeleteSpacesBySpaceWebhooksByWebhookData, type DeleteSpacesBySpaceWebhooksByWebhookError, type DeleteSpacesBySpaceWebhooksByWebhookErrors, type DeleteSpacesBySpaceWebhooksByWebhookResponse, type DeleteSpacesBySpaceWebhooksByWebhookResponses, type GetHealthData, type GetHealthError, type GetHealthErrors, type GetHealthResponse, type GetHealthResponses, type GetSessionData, type GetSessionError, type GetSessionErrors, type GetSessionResponse, type GetSessionResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsData, type GetSpacesBySpaceAccountsByAccountAnalyticsError, type GetSpacesBySpaceAccountsByAccountAnalyticsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsError, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, type GetSpacesBySpaceAccountsByAccountAnalyticsResponse, type GetSpacesBySpaceAccountsByAccountAnalyticsResponses, type GetSpacesBySpaceAccountsByAccountBoardsData, type GetSpacesBySpaceAccountsByAccountBoardsError, type GetSpacesBySpaceAccountsByAccountBoardsErrors, type GetSpacesBySpaceAccountsByAccountBoardsResponse, type GetSpacesBySpaceAccountsByAccountBoardsResponses, type GetSpacesBySpaceAccountsData, type GetSpacesBySpaceAccountsError, type GetSpacesBySpaceAccountsErrors, type GetSpacesBySpaceAccountsResponse, type GetSpacesBySpaceAccountsResponses, type GetSpacesBySpaceAnalyticsData, type GetSpacesBySpaceAnalyticsError, type GetSpacesBySpaceAnalyticsErrors, type GetSpacesBySpaceAnalyticsResponse, type GetSpacesBySpaceAnalyticsResponses, type GetSpacesBySpaceBioBlocksData, type GetSpacesBySpaceBioBlocksError, type GetSpacesBySpaceBioBlocksErrors, type GetSpacesBySpaceBioBlocksResponse, type GetSpacesBySpaceBioBlocksResponses, type GetSpacesBySpaceBioData, type GetSpacesBySpaceBioError, type GetSpacesBySpaceBioErrors, type GetSpacesBySpaceBioResponse, type GetSpacesBySpaceBioResponses, type GetSpacesBySpaceData, type GetSpacesBySpaceError, type GetSpacesBySpaceErrors, type GetSpacesBySpaceInvitationsData, type GetSpacesBySpaceInvitationsError, type GetSpacesBySpaceInvitationsErrors, type GetSpacesBySpaceInvitationsResponse, type GetSpacesBySpaceInvitationsResponses, type GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, type GetSpacesBySpaceMembersData, type GetSpacesBySpaceMembersError, type GetSpacesBySpaceMembersErrors, type GetSpacesBySpaceMembersResponse, type GetSpacesBySpaceMembersResponses, type GetSpacesBySpacePostsByPostData, type GetSpacesBySpacePostsByPostError, type GetSpacesBySpacePostsByPostErrors, type GetSpacesBySpacePostsByPostResponse, type GetSpacesBySpacePostsByPostResponses, type GetSpacesBySpacePostsData, type GetSpacesBySpacePostsError, type GetSpacesBySpacePostsErrors, type GetSpacesBySpacePostsResponse, type GetSpacesBySpacePostsResponses, type GetSpacesBySpaceQueueData, type GetSpacesBySpaceQueueError, type GetSpacesBySpaceQueueErrors, type GetSpacesBySpaceQueueResponse, type GetSpacesBySpaceQueueResponses, type GetSpacesBySpaceResponse, type GetSpacesBySpaceResponses, type GetSpacesBySpaceSlotsData, type GetSpacesBySpaceSlotsError, type GetSpacesBySpaceSlotsErrors, type GetSpacesBySpaceSlotsResponse, type GetSpacesBySpaceSlotsResponses, type GetSpacesBySpaceWebhooksData, type GetSpacesBySpaceWebhooksError, type GetSpacesBySpaceWebhooksErrors, type GetSpacesBySpaceWebhooksResponse, type GetSpacesBySpaceWebhooksResponses, type GetSpacesData, type GetSpacesError, type GetSpacesErrors, type GetSpacesResponse, type GetSpacesResponses, type GetSubscriptionData, type GetSubscriptionError, type GetSubscriptionErrors, type GetSubscriptionResponse, type GetSubscriptionResponses, type IngestMediaRequest, type MediaResource, type PatchSpacesBySpaceMembersByUserData, type PatchSpacesBySpaceMembersByUserError, type PatchSpacesBySpaceMembersByUserErrors, type PatchSpacesBySpaceMembersByUserResponse, type PatchSpacesBySpaceMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostResource, type PostReviewResource, type PostSpacesBySpaceBioAvatarData, type PostSpacesBySpaceBioAvatarError, type PostSpacesBySpaceBioAvatarErrors, type PostSpacesBySpaceBioAvatarResponse, type PostSpacesBySpaceBioAvatarResponses, type PostSpacesBySpaceBioBlocksData, type PostSpacesBySpaceBioBlocksError, type PostSpacesBySpaceBioBlocksErrors, type PostSpacesBySpaceBioBlocksReorderData, type PostSpacesBySpaceBioBlocksReorderError, type PostSpacesBySpaceBioBlocksReorderErrors, type PostSpacesBySpaceBioBlocksReorderResponse, type PostSpacesBySpaceBioBlocksReorderResponses, type PostSpacesBySpaceBioBlocksResponse, type PostSpacesBySpaceBioBlocksResponses, type PostSpacesBySpaceBioData, type PostSpacesBySpaceBioError, type PostSpacesBySpaceBioErrors, type PostSpacesBySpaceBioImageData, type PostSpacesBySpaceBioImageError, type PostSpacesBySpaceBioImageErrors, type PostSpacesBySpaceBioImageResponse, type PostSpacesBySpaceBioImageResponses, type PostSpacesBySpaceBioResponse, type PostSpacesBySpaceBioResponses, type PostSpacesBySpaceInvitationsByInvitationResendData, type PostSpacesBySpaceInvitationsByInvitationResendError, type PostSpacesBySpaceInvitationsByInvitationResendErrors, type PostSpacesBySpaceInvitationsByInvitationResendResponse, type PostSpacesBySpaceInvitationsByInvitationResendResponses, type PostSpacesBySpaceInvitationsData, type PostSpacesBySpaceInvitationsError, type PostSpacesBySpaceInvitationsErrors, type PostSpacesBySpaceInvitationsResponse, type PostSpacesBySpaceInvitationsResponses, type PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, type PostSpacesBySpaceMembersLeaveData, type PostSpacesBySpaceMembersLeaveError, type PostSpacesBySpaceMembersLeaveErrors, type PostSpacesBySpaceMembersLeaveResponse, type PostSpacesBySpaceMembersLeaveResponses, type PostSpacesBySpacePostsByPostCommentData, type PostSpacesBySpacePostsByPostCommentError, type PostSpacesBySpacePostsByPostCommentErrors, type PostSpacesBySpacePostsByPostCommentResponse, type PostSpacesBySpacePostsByPostCommentResponses, type PostSpacesBySpacePostsByPostRetryData, type PostSpacesBySpacePostsByPostRetryError, type PostSpacesBySpacePostsByPostRetryErrors, type PostSpacesBySpacePostsByPostRetryResponse, type PostSpacesBySpacePostsByPostRetryResponses, type PostSpacesBySpacePostsData, type PostSpacesBySpacePostsError, type PostSpacesBySpacePostsErrors, type PostSpacesBySpacePostsResponse, type PostSpacesBySpacePostsResponses, type PostSpacesBySpaceSlotsData, type PostSpacesBySpaceSlotsError, type PostSpacesBySpaceSlotsErrors, type PostSpacesBySpaceSlotsResponse, type PostSpacesBySpaceSlotsResponses, type PostSpacesBySpaceWebhooksByWebhookRotateData, type PostSpacesBySpaceWebhooksByWebhookRotateError, type PostSpacesBySpaceWebhooksByWebhookRotateErrors, type PostSpacesBySpaceWebhooksByWebhookRotateResponse, type PostSpacesBySpaceWebhooksByWebhookRotateResponses, type PostSpacesBySpaceWebhooksData, type PostSpacesBySpaceWebhooksError, type PostSpacesBySpaceWebhooksErrors, type PostSpacesBySpaceWebhooksResponse, type PostSpacesBySpaceWebhooksResponses, type PostSpacesData, type PostSpacesError, type PostSpacesErrors, type PostSpacesResponse, type PostSpacesResponses, type PostStatus, type PutSpacesBySpaceBioBlocksByBlockData, type PutSpacesBySpaceBioBlocksByBlockError, type PutSpacesBySpaceBioBlocksByBlockErrors, type PutSpacesBySpaceBioBlocksByBlockResponse, type PutSpacesBySpaceBioBlocksByBlockResponses, type PutSpacesBySpaceBioData, type PutSpacesBySpaceBioError, type PutSpacesBySpaceBioErrors, type PutSpacesBySpaceBioResponse, type PutSpacesBySpaceBioResponses, type PutSpacesBySpaceCommentsByScheduledCommentData, type PutSpacesBySpaceCommentsByScheduledCommentError, type PutSpacesBySpaceCommentsByScheduledCommentErrors, type PutSpacesBySpaceCommentsByScheduledCommentResponse, type PutSpacesBySpaceCommentsByScheduledCommentResponses, type PutSpacesBySpaceData, type PutSpacesBySpaceError, type PutSpacesBySpaceErrors, type PutSpacesBySpacePostsByPostData, type PutSpacesBySpacePostsByPostError, type PutSpacesBySpacePostsByPostErrors, type PutSpacesBySpacePostsByPostResponse, type PutSpacesBySpacePostsByPostResponses, type PutSpacesBySpaceResponse, type PutSpacesBySpaceResponses, type PutSpacesBySpaceWebhooksByWebhookData, type PutSpacesBySpaceWebhooksByWebhookError, type PutSpacesBySpaceWebhooksByWebhookErrors, type PutSpacesBySpaceWebhooksByWebhookResponse, type PutSpacesBySpaceWebhooksByWebhookResponses, type ReviewCommentResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpaceInvitationResource, type SpaceMemberResource, type SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceInvitationRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceMemberRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
|
package/dist/index.js
CHANGED
|
@@ -1113,6 +1113,11 @@ var Media = class extends HeyApiClient {
|
|
|
1113
1113
|
}
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Remove a media asset from the space library
|
|
1116
|
+
*
|
|
1117
|
+
* Only library rows arrive here, and only the row is ever certain to go:
|
|
1118
|
+
* `Api\PostController::attachMedia` replicates a Media per post over the
|
|
1119
|
+
* same upload, so what the space sees as one asset is several rows deep by
|
|
1120
|
+
* the time it is deleted.
|
|
1116
1121
|
*/
|
|
1117
1122
|
delete(options) {
|
|
1118
1123
|
return (options.client ?? this.client).delete({
|
|
@@ -1512,7 +1517,9 @@ var Webhooks = class extends HeyApiClient {
|
|
|
1512
1517
|
/**
|
|
1513
1518
|
* Create a webhook
|
|
1514
1519
|
*
|
|
1515
|
-
*
|
|
1520
|
+
* The response carries the generated signing secret alongside the webhook,
|
|
1521
|
+
* as a sibling of `data`. It is shown once and never returned by any other
|
|
1522
|
+
* endpoint — store it, or use the rotate endpoint to mint a replacement.
|
|
1516
1523
|
*/
|
|
1517
1524
|
create(options) {
|
|
1518
1525
|
return (options.client ?? this.client).post({
|
|
@@ -1549,6 +1556,21 @@ var Webhooks = class extends HeyApiClient {
|
|
|
1549
1556
|
}
|
|
1550
1557
|
});
|
|
1551
1558
|
}
|
|
1559
|
+
/**
|
|
1560
|
+
* Rotate a webhook's signing secret
|
|
1561
|
+
*
|
|
1562
|
+
* The only way back from a lost secret, since it is revealed once at
|
|
1563
|
+
* creation. Deliveries are signed with the new secret from the next event
|
|
1564
|
+
* onward, so a subscriber that verifies signatures should be updated first
|
|
1565
|
+
* — there is no grace period where both secrets are accepted.
|
|
1566
|
+
*/
|
|
1567
|
+
rotate(options) {
|
|
1568
|
+
return (options.client ?? this.client).post({
|
|
1569
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
1570
|
+
url: "/spaces/{space}/webhooks/{webhook}/rotate",
|
|
1571
|
+
...options
|
|
1572
|
+
});
|
|
1573
|
+
}
|
|
1552
1574
|
};
|
|
1553
1575
|
var ZilfuApi = class _ZilfuApi extends HeyApiClient {
|
|
1554
1576
|
static __registry = new HeyApiRegistry();
|