@zilfu/sdk 0.2.25 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +25 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +159 -24
- package/dist/index.d.ts +159 -24
- package/dist/index.js +25 -5
- package/dist/index.js.map +1 -1
- package/package.json +11 -9
package/dist/index.d.ts
CHANGED
|
@@ -702,6 +702,10 @@ type AccountResource = {
|
|
|
702
702
|
profile_url: string;
|
|
703
703
|
avatar: string | null;
|
|
704
704
|
is_active: boolean;
|
|
705
|
+
/**
|
|
706
|
+
* When the account was parked because the plan no longer covers it. Null when the account is active, and null when the user deactivated it themselves.
|
|
707
|
+
*/
|
|
708
|
+
quota_parked_at: string;
|
|
705
709
|
disconnected_at: string;
|
|
706
710
|
/**
|
|
707
711
|
* Features unavailable on this connection until it is reconnected.
|
|
@@ -774,6 +778,7 @@ type MediaResource = {
|
|
|
774
778
|
type OrganizationInvitationResource = {
|
|
775
779
|
id: number;
|
|
776
780
|
email: string;
|
|
781
|
+
role: string;
|
|
777
782
|
permissions: string | Array<string>;
|
|
778
783
|
expires_at: string;
|
|
779
784
|
accepted_at: string | null;
|
|
@@ -787,15 +792,22 @@ type OrganizationMemberResource = {
|
|
|
787
792
|
id: number;
|
|
788
793
|
name: string;
|
|
789
794
|
email: string;
|
|
795
|
+
role?: string;
|
|
790
796
|
permissions?: string | Array<string>;
|
|
791
797
|
joined_at?: string;
|
|
798
|
+
is_suspended?: boolean;
|
|
792
799
|
};
|
|
800
|
+
/**
|
|
801
|
+
* PostCreatedWith
|
|
802
|
+
*/
|
|
803
|
+
type PostCreatedWith = 'web' | 'api' | 'cli' | 'mcp' | 'import';
|
|
793
804
|
/**
|
|
794
805
|
* PostResource
|
|
795
806
|
*/
|
|
796
807
|
type PostResource = {
|
|
797
808
|
id: number;
|
|
798
809
|
content: string;
|
|
810
|
+
created_with: PostCreatedWith | null;
|
|
799
811
|
status: PostStatus;
|
|
800
812
|
order: number;
|
|
801
813
|
scheduled_at: string | null;
|
|
@@ -836,6 +848,8 @@ type PostReviewResource = {
|
|
|
836
848
|
name: string;
|
|
837
849
|
} | null;
|
|
838
850
|
comments?: Array<ReviewCommentResource>;
|
|
851
|
+
rounds?: Array<ReviewRoundResource>;
|
|
852
|
+
post?: Array<unknown> | null;
|
|
839
853
|
};
|
|
840
854
|
/**
|
|
841
855
|
* PostStatus
|
|
@@ -847,13 +861,31 @@ type PostStatus = 0 | 1 | 2 | 3 | 4 | 5;
|
|
|
847
861
|
type ReviewCommentResource = {
|
|
848
862
|
id: number;
|
|
849
863
|
body: string;
|
|
850
|
-
visibility: string;
|
|
851
864
|
author: {
|
|
852
865
|
type: 'member';
|
|
853
866
|
name: string | 'Unknown';
|
|
854
867
|
};
|
|
855
868
|
created_at: string | null;
|
|
856
869
|
};
|
|
870
|
+
/**
|
|
871
|
+
* ReviewRoundResource
|
|
872
|
+
*/
|
|
873
|
+
type ReviewRoundResource = {
|
|
874
|
+
id: number;
|
|
875
|
+
decision: string | null;
|
|
876
|
+
publish_now: boolean;
|
|
877
|
+
requested_at: string | null;
|
|
878
|
+
decided_at: string | null;
|
|
879
|
+
scheduled_at: string | null;
|
|
880
|
+
requested_by?: {
|
|
881
|
+
id: string;
|
|
882
|
+
name: string;
|
|
883
|
+
};
|
|
884
|
+
decided_by?: {
|
|
885
|
+
id: string;
|
|
886
|
+
name: string;
|
|
887
|
+
};
|
|
888
|
+
};
|
|
857
889
|
/**
|
|
858
890
|
* ScheduledCommentResource
|
|
859
891
|
*/
|
|
@@ -913,16 +945,15 @@ type SlotResource = {
|
|
|
913
945
|
day_of_week: number;
|
|
914
946
|
time: string;
|
|
915
947
|
};
|
|
916
|
-
/**
|
|
917
|
-
* SpacePermission
|
|
918
|
-
*/
|
|
919
|
-
type SpacePermission = 'create_posts' | 'edit_posts' | 'publish_posts' | 'approve_posts' | 'delete_posts' | 'manage_accounts' | 'manage_team';
|
|
920
948
|
/**
|
|
921
949
|
* SpaceResource
|
|
922
950
|
*/
|
|
923
951
|
type SpaceResource = {
|
|
924
952
|
id: number;
|
|
925
953
|
name: string;
|
|
954
|
+
/**
|
|
955
|
+
* The organization's timezone, inherited by every space. Read-only here.
|
|
956
|
+
*/
|
|
926
957
|
timezone: string | null;
|
|
927
958
|
/**
|
|
928
959
|
* The organization holding this space, and with it the team that can reach it.
|
|
@@ -953,13 +984,7 @@ type StoreBioPageRequest = {
|
|
|
953
984
|
*/
|
|
954
985
|
type StoreOrganizationInvitationRequest = {
|
|
955
986
|
email: string;
|
|
956
|
-
|
|
957
|
-
* At least one, always. A member holding nothing used to mean
|
|
958
|
-
* read-only, which stopped being a coherent offer once membership
|
|
959
|
-
* went organization-wide: it would have handed a "read-only client"
|
|
960
|
-
* every other client's workspace.
|
|
961
|
-
*/
|
|
962
|
-
permissions: Array<SpacePermission>;
|
|
987
|
+
role: 'creator' | 'publisher' | 'approver' | 'manager';
|
|
963
988
|
};
|
|
964
989
|
/**
|
|
965
990
|
* StorePostRequest
|
|
@@ -995,9 +1020,22 @@ type StorePostRequest = {
|
|
|
995
1020
|
board_id?: string | null;
|
|
996
1021
|
title?: string | null;
|
|
997
1022
|
cover_image_url?: string | null;
|
|
1023
|
+
privacy_status?: 'public' | 'unlisted' | 'private';
|
|
1024
|
+
made_for_kids?: boolean | null;
|
|
1025
|
+
category_id?: string | null;
|
|
998
1026
|
} | null;
|
|
999
1027
|
main?: {
|
|
1000
|
-
|
|
1028
|
+
/**
|
|
1029
|
+
* Required everywhere but YouTube, where the body is the video
|
|
1030
|
+
* description and an empty one is ordinary — a Short is usually
|
|
1031
|
+
* posted with a title and nothing else. The driver already
|
|
1032
|
+
* handles it (`$payload['content'] ?? ''`) and `description` is
|
|
1033
|
+
* optional on `videos.insert`, so `required` was the only thing
|
|
1034
|
+
* refusing it. Written as `required_unless` because Laravel
|
|
1035
|
+
* resolves the sibling wildcard index for a rule's parameters;
|
|
1036
|
+
* it is the rule *object* on another key that cannot see one.
|
|
1037
|
+
*/
|
|
1038
|
+
content?: string | null;
|
|
1001
1039
|
media?: Array<{
|
|
1002
1040
|
url: string;
|
|
1003
1041
|
type: 'image' | 'video';
|
|
@@ -1032,6 +1070,18 @@ type StoreWebhookRequest = {
|
|
|
1032
1070
|
url: string;
|
|
1033
1071
|
events: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'comment.received' | 'account.connected' | 'account.disconnected'>;
|
|
1034
1072
|
};
|
|
1073
|
+
/**
|
|
1074
|
+
* UpdateAccountRequest
|
|
1075
|
+
*/
|
|
1076
|
+
type UpdateAccountRequest = {
|
|
1077
|
+
/**
|
|
1078
|
+
* Whether the account is active. An inactive account is parked, not
|
|
1079
|
+
* disconnected: it publishes nothing and disappears from the
|
|
1080
|
+
* composer and the bio page, while its connection, posts and
|
|
1081
|
+
* analytics survive untouched.
|
|
1082
|
+
*/
|
|
1083
|
+
is_active: boolean;
|
|
1084
|
+
};
|
|
1035
1085
|
/**
|
|
1036
1086
|
* UpdateBioBlockRequest
|
|
1037
1087
|
*/
|
|
@@ -1043,10 +1093,7 @@ type UpdateBioBlockRequest = {
|
|
|
1043
1093
|
* UpdateOrganizationMemberRequest
|
|
1044
1094
|
*/
|
|
1045
1095
|
type UpdateOrganizationMemberRequest = {
|
|
1046
|
-
|
|
1047
|
-
* A member always holds at least one permission; see StoreOrganizationInvitationRequest.
|
|
1048
|
-
*/
|
|
1049
|
-
permissions: Array<SpacePermission>;
|
|
1096
|
+
role: 'creator' | 'publisher' | 'approver' | 'manager';
|
|
1050
1097
|
};
|
|
1051
1098
|
/**
|
|
1052
1099
|
* UpdatePostRequest
|
|
@@ -1068,6 +1115,9 @@ type UpdatePostRequest = {
|
|
|
1068
1115
|
board_id?: string | null;
|
|
1069
1116
|
title?: string | null;
|
|
1070
1117
|
cover_image_url?: string | null;
|
|
1118
|
+
privacy_status?: 'public' | 'unlisted' | 'private';
|
|
1119
|
+
made_for_kids?: boolean | null;
|
|
1120
|
+
category_id?: string | null;
|
|
1071
1121
|
};
|
|
1072
1122
|
media?: Array<{
|
|
1073
1123
|
url: string;
|
|
@@ -1093,7 +1143,6 @@ type UpdateScheduledCommentRequest = {
|
|
|
1093
1143
|
*/
|
|
1094
1144
|
type UpdateSpaceRequest = {
|
|
1095
1145
|
name?: string;
|
|
1096
|
-
timezone?: string;
|
|
1097
1146
|
};
|
|
1098
1147
|
/**
|
|
1099
1148
|
* UpdateWebhookRequest
|
|
@@ -1271,6 +1320,77 @@ type DeleteSpacesBySpaceAccountsByAccountResponses = {
|
|
|
1271
1320
|
};
|
|
1272
1321
|
};
|
|
1273
1322
|
type DeleteSpacesBySpaceAccountsByAccountResponse = DeleteSpacesBySpaceAccountsByAccountResponses[keyof DeleteSpacesBySpaceAccountsByAccountResponses];
|
|
1323
|
+
type PatchSpacesBySpaceAccountsByAccountData = {
|
|
1324
|
+
body: UpdateAccountRequest;
|
|
1325
|
+
path: {
|
|
1326
|
+
/**
|
|
1327
|
+
* The space ID
|
|
1328
|
+
*/
|
|
1329
|
+
space: number;
|
|
1330
|
+
/**
|
|
1331
|
+
* The account ID
|
|
1332
|
+
*/
|
|
1333
|
+
account: number;
|
|
1334
|
+
};
|
|
1335
|
+
query?: never;
|
|
1336
|
+
url: '/spaces/{space}/accounts/{account}';
|
|
1337
|
+
};
|
|
1338
|
+
type PatchSpacesBySpaceAccountsByAccountErrors = {
|
|
1339
|
+
/**
|
|
1340
|
+
* Unauthenticated
|
|
1341
|
+
*/
|
|
1342
|
+
401: {
|
|
1343
|
+
/**
|
|
1344
|
+
* Error overview.
|
|
1345
|
+
*/
|
|
1346
|
+
message: string;
|
|
1347
|
+
};
|
|
1348
|
+
/**
|
|
1349
|
+
* Authorization error
|
|
1350
|
+
*/
|
|
1351
|
+
403: {
|
|
1352
|
+
/**
|
|
1353
|
+
* Error overview.
|
|
1354
|
+
*/
|
|
1355
|
+
message: string;
|
|
1356
|
+
};
|
|
1357
|
+
/**
|
|
1358
|
+
* Not found
|
|
1359
|
+
*/
|
|
1360
|
+
404: {
|
|
1361
|
+
/**
|
|
1362
|
+
* Error overview.
|
|
1363
|
+
*/
|
|
1364
|
+
message: string;
|
|
1365
|
+
};
|
|
1366
|
+
/**
|
|
1367
|
+
* Validation error
|
|
1368
|
+
*/
|
|
1369
|
+
422: {
|
|
1370
|
+
/**
|
|
1371
|
+
* Errors overview.
|
|
1372
|
+
*/
|
|
1373
|
+
message: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* A detailed description of each field that failed validation.
|
|
1376
|
+
*/
|
|
1377
|
+
errors: {
|
|
1378
|
+
[key: string]: Array<string>;
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
type PatchSpacesBySpaceAccountsByAccountError = PatchSpacesBySpaceAccountsByAccountErrors[keyof PatchSpacesBySpaceAccountsByAccountErrors];
|
|
1383
|
+
type PatchSpacesBySpaceAccountsByAccountResponses = {
|
|
1384
|
+
/**
|
|
1385
|
+
* `AccountResource`
|
|
1386
|
+
*/
|
|
1387
|
+
200: {
|
|
1388
|
+
data: AccountResource;
|
|
1389
|
+
} | {
|
|
1390
|
+
[key: string]: unknown;
|
|
1391
|
+
};
|
|
1392
|
+
};
|
|
1393
|
+
type PatchSpacesBySpaceAccountsByAccountResponse = PatchSpacesBySpaceAccountsByAccountResponses[keyof PatchSpacesBySpaceAccountsByAccountResponses];
|
|
1274
1394
|
type GetSpacesBySpaceAnalyticsData = {
|
|
1275
1395
|
body?: never;
|
|
1276
1396
|
path: {
|
|
@@ -3984,6 +4104,11 @@ type GetSubscriptionResponses = {
|
|
|
3984
4104
|
max_connectable_accounts: number | null;
|
|
3985
4105
|
posts_used_this_month: number;
|
|
3986
4106
|
monthly_post_limit: number | null;
|
|
4107
|
+
on_trial: string | boolean;
|
|
4108
|
+
trial_ends_at: string;
|
|
4109
|
+
trial_eligible: boolean;
|
|
4110
|
+
trial_days: number;
|
|
4111
|
+
past_due: string | boolean;
|
|
3987
4112
|
};
|
|
3988
4113
|
};
|
|
3989
4114
|
type GetSubscriptionResponse = GetSubscriptionResponses[keyof GetSubscriptionResponses];
|
|
@@ -4317,6 +4442,15 @@ declare class Accounts extends HeyApiClient {
|
|
|
4317
4442
|
* Disconnect an account
|
|
4318
4443
|
*/
|
|
4319
4444
|
delete<ThrowOnError extends boolean = false>(options: Options<DeleteSpacesBySpaceAccountsByAccountData, ThrowOnError>): RequestResult<DeleteSpacesBySpaceAccountsByAccountResponses, DeleteSpacesBySpaceAccountsByAccountErrors, ThrowOnError, "fields">;
|
|
4445
|
+
/**
|
|
4446
|
+
* Activate or deactivate an account
|
|
4447
|
+
*
|
|
4448
|
+
* Deactivating parks the account: it stops publishing and disappears from
|
|
4449
|
+
* the composer and the bio page, while the connection itself, its posts and
|
|
4450
|
+
* its analytics stay intact. Activating one again is refused when your plan
|
|
4451
|
+
* has no free slot left, since a parked account still occupies one.
|
|
4452
|
+
*/
|
|
4453
|
+
update<ThrowOnError extends boolean = false>(options: Options<PatchSpacesBySpaceAccountsByAccountData, ThrowOnError>): RequestResult<PatchSpacesBySpaceAccountsByAccountResponses, PatchSpacesBySpaceAccountsByAccountErrors, ThrowOnError, "fields">;
|
|
4320
4454
|
}
|
|
4321
4455
|
declare class Analytics extends HeyApiClient {
|
|
4322
4456
|
/**
|
|
@@ -4324,7 +4458,7 @@ declare class Analytics extends HeyApiClient {
|
|
|
4324
4458
|
*
|
|
4325
4459
|
* One compact row per account in the space — never merged — so a caller can
|
|
4326
4460
|
* see each account's collection health before drilling into one of them.
|
|
4327
|
-
* Defaults to the last 7 days in the
|
|
4461
|
+
* Defaults to the last 7 days in the organization timezone.
|
|
4328
4462
|
*/
|
|
4329
4463
|
list<ThrowOnError extends boolean = false>(options: Options<GetSpacesBySpaceAnalyticsData, ThrowOnError>): RequestResult<GetSpacesBySpaceAnalyticsResponses, GetSpacesBySpaceAnalyticsErrors, ThrowOnError, "fields">;
|
|
4330
4464
|
/**
|
|
@@ -4333,7 +4467,7 @@ declare class Analytics extends HeyApiClient {
|
|
|
4333
4467
|
* The full report for one connected account: its metric catalogue, totals,
|
|
4334
4468
|
* interaction score, rates, publish-date series, audience history and best
|
|
4335
4469
|
* times. Individual posts have their own endpoint. Defaults to the last 7
|
|
4336
|
-
* days in the
|
|
4470
|
+
* days in the organization timezone.
|
|
4337
4471
|
*/
|
|
4338
4472
|
get<ThrowOnError extends boolean = false>(options: Options<GetSpacesBySpaceAccountsByAccountAnalyticsData, ThrowOnError>): RequestResult<GetSpacesBySpaceAccountsByAccountAnalyticsResponses, GetSpacesBySpaceAccountsByAccountAnalyticsErrors, ThrowOnError, "fields">;
|
|
4339
4473
|
/**
|
|
@@ -4343,7 +4477,7 @@ declare class Analytics extends HeyApiClient {
|
|
|
4343
4477
|
* post, with a column for each metric the platform declares. Order it by
|
|
4344
4478
|
* `sort` — `published_at`, `interactions` or any declared metric key — and
|
|
4345
4479
|
* `dir`; a key this account does not declare is a 422 naming the ones it
|
|
4346
|
-
* does. Defaults to the last 7 days in the
|
|
4480
|
+
* does. Defaults to the last 7 days in the organization timezone, newest first,
|
|
4347
4481
|
* 20 per page.
|
|
4348
4482
|
*/
|
|
4349
4483
|
posts<ThrowOnError extends boolean = false>(options: Options<GetSpacesBySpaceAccountsByAccountAnalyticsPostsData, ThrowOnError>): RequestResult<GetSpacesBySpaceAccountsByAccountAnalyticsPostsResponses, GetSpacesBySpaceAccountsByAccountAnalyticsPostsErrors, ThrowOnError, "fields">;
|
|
@@ -4475,7 +4609,7 @@ declare class Members extends HeyApiClient {
|
|
|
4475
4609
|
*/
|
|
4476
4610
|
delete<ThrowOnError extends boolean = false>(options: Options<DeleteOrganizationsByOrganizationMembersByUserData, ThrowOnError>): RequestResult<DeleteOrganizationsByOrganizationMembersByUserResponses, DeleteOrganizationsByOrganizationMembersByUserErrors, ThrowOnError, "fields">;
|
|
4477
4611
|
/**
|
|
4478
|
-
* Update a member's
|
|
4612
|
+
* Update a member's role across the organization
|
|
4479
4613
|
*/
|
|
4480
4614
|
update<ThrowOnError extends boolean = false>(options: Options<PatchOrganizationsByOrganizationMembersByUserData, ThrowOnError>): RequestResult<PatchOrganizationsByOrganizationMembersByUserResponses, PatchOrganizationsByOrganizationMembersByUserErrors, ThrowOnError, "fields">;
|
|
4481
4615
|
}
|
|
@@ -4599,7 +4733,8 @@ declare class Subscription extends HeyApiClient {
|
|
|
4599
4733
|
/**
|
|
4600
4734
|
* Get subscription details
|
|
4601
4735
|
*
|
|
4602
|
-
* Returns the user's current plan, account usage, plan catalog,
|
|
4736
|
+
* Returns the user's current plan, account usage, plan catalog, billing
|
|
4737
|
+
* state and trial status.
|
|
4603
4738
|
*/
|
|
4604
4739
|
get<ThrowOnError extends boolean = false>(options?: Options<GetSubscriptionData, ThrowOnError>): RequestResult<GetSubscriptionResponses, GetSubscriptionErrors, ThrowOnError, "fields">;
|
|
4605
4740
|
}
|
|
@@ -4702,4 +4837,4 @@ declare class ZilfuApiError extends Error {
|
|
|
4702
4837
|
constructor(init: ZilfuApiErrorInit);
|
|
4703
4838
|
}
|
|
4704
4839
|
|
|
4705
|
-
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 DeleteOrganizationsByOrganizationInvitationsByInvitationData, type DeleteOrganizationsByOrganizationInvitationsByInvitationError, type DeleteOrganizationsByOrganizationInvitationsByInvitationErrors, type DeleteOrganizationsByOrganizationInvitationsByInvitationResponse, type DeleteOrganizationsByOrganizationInvitationsByInvitationResponses, type DeleteOrganizationsByOrganizationMembersByUserData, type DeleteOrganizationsByOrganizationMembersByUserError, type DeleteOrganizationsByOrganizationMembersByUserErrors, type DeleteOrganizationsByOrganizationMembersByUserResponse, type DeleteOrganizationsByOrganizationMembersByUserResponses, 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 DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, 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 GetOrganizationsByOrganizationInvitationsData, type GetOrganizationsByOrganizationInvitationsError, type GetOrganizationsByOrganizationInvitationsErrors, type GetOrganizationsByOrganizationInvitationsResponse, type GetOrganizationsByOrganizationInvitationsResponses, type GetOrganizationsByOrganizationMembersData, type GetOrganizationsByOrganizationMembersError, type GetOrganizationsByOrganizationMembersErrors, type GetOrganizationsByOrganizationMembersResponse, type GetOrganizationsByOrganizationMembersResponses, 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 GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, 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 OrganizationInvitationResource, type OrganizationMemberResource, type PatchOrganizationsByOrganizationMembersByUserData, type PatchOrganizationsByOrganizationMembersByUserError, type PatchOrganizationsByOrganizationMembersByUserErrors, type PatchOrganizationsByOrganizationMembersByUserResponse, type PatchOrganizationsByOrganizationMembersByUserResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostOrganizationsByOrganizationInvitationsByInvitationResendData, type PostOrganizationsByOrganizationInvitationsByInvitationResendError, type PostOrganizationsByOrganizationInvitationsByInvitationResendErrors, type PostOrganizationsByOrganizationInvitationsByInvitationResendResponse, type PostOrganizationsByOrganizationInvitationsByInvitationResendResponses, type PostOrganizationsByOrganizationInvitationsData, type PostOrganizationsByOrganizationInvitationsError, type PostOrganizationsByOrganizationInvitationsErrors, type PostOrganizationsByOrganizationInvitationsResponse, type PostOrganizationsByOrganizationInvitationsResponses, type PostOrganizationsByOrganizationMembersLeaveData, type PostOrganizationsByOrganizationMembersLeaveError, type PostOrganizationsByOrganizationMembersLeaveErrors, type PostOrganizationsByOrganizationMembersLeaveResponse, type PostOrganizationsByOrganizationMembersLeaveResponses, 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 PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, 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 SpacePermission, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StoreOrganizationInvitationRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateBioBlockRequest, type UpdateOrganizationMemberRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
|
|
4840
|
+
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 DeleteOrganizationsByOrganizationInvitationsByInvitationData, type DeleteOrganizationsByOrganizationInvitationsByInvitationError, type DeleteOrganizationsByOrganizationInvitationsByInvitationErrors, type DeleteOrganizationsByOrganizationInvitationsByInvitationResponse, type DeleteOrganizationsByOrganizationInvitationsByInvitationResponses, type DeleteOrganizationsByOrganizationMembersByUserData, type DeleteOrganizationsByOrganizationMembersByUserError, type DeleteOrganizationsByOrganizationMembersByUserErrors, type DeleteOrganizationsByOrganizationMembersByUserResponse, type DeleteOrganizationsByOrganizationMembersByUserResponses, 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 DeleteSpacesBySpaceMediaByMediaData, type DeleteSpacesBySpaceMediaByMediaError, type DeleteSpacesBySpaceMediaByMediaErrors, type DeleteSpacesBySpaceMediaByMediaResponse, type DeleteSpacesBySpaceMediaByMediaResponses, 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 GetOrganizationsByOrganizationInvitationsData, type GetOrganizationsByOrganizationInvitationsError, type GetOrganizationsByOrganizationInvitationsErrors, type GetOrganizationsByOrganizationInvitationsResponse, type GetOrganizationsByOrganizationInvitationsResponses, type GetOrganizationsByOrganizationMembersData, type GetOrganizationsByOrganizationMembersError, type GetOrganizationsByOrganizationMembersErrors, type GetOrganizationsByOrganizationMembersResponse, type GetOrganizationsByOrganizationMembersResponses, 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 GetSpacesBySpaceMediaData, type GetSpacesBySpaceMediaError, type GetSpacesBySpaceMediaErrors, type GetSpacesBySpaceMediaResponse, type GetSpacesBySpaceMediaResponses, 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 OrganizationInvitationResource, type OrganizationMemberResource, type PatchOrganizationsByOrganizationMembersByUserData, type PatchOrganizationsByOrganizationMembersByUserError, type PatchOrganizationsByOrganizationMembersByUserErrors, type PatchOrganizationsByOrganizationMembersByUserResponse, type PatchOrganizationsByOrganizationMembersByUserResponses, type PatchSpacesBySpaceAccountsByAccountData, type PatchSpacesBySpaceAccountsByAccountError, type PatchSpacesBySpaceAccountsByAccountErrors, type PatchSpacesBySpaceAccountsByAccountResponse, type PatchSpacesBySpaceAccountsByAccountResponses, type PostApiTokensData, type PostApiTokensError, type PostApiTokensErrors, type PostApiTokensResponses, type PostCreatedWith, type PostMediaSignData, type PostMediaSignError, type PostMediaSignErrors, type PostMediaSignResponse, type PostMediaSignResponses, type PostOrganizationsByOrganizationInvitationsByInvitationResendData, type PostOrganizationsByOrganizationInvitationsByInvitationResendError, type PostOrganizationsByOrganizationInvitationsByInvitationResendErrors, type PostOrganizationsByOrganizationInvitationsByInvitationResendResponse, type PostOrganizationsByOrganizationInvitationsByInvitationResendResponses, type PostOrganizationsByOrganizationInvitationsData, type PostOrganizationsByOrganizationInvitationsError, type PostOrganizationsByOrganizationInvitationsErrors, type PostOrganizationsByOrganizationInvitationsResponse, type PostOrganizationsByOrganizationInvitationsResponses, type PostOrganizationsByOrganizationMembersLeaveData, type PostOrganizationsByOrganizationMembersLeaveError, type PostOrganizationsByOrganizationMembersLeaveErrors, type PostOrganizationsByOrganizationMembersLeaveResponse, type PostOrganizationsByOrganizationMembersLeaveResponses, 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 PostSpacesBySpaceMediaData, type PostSpacesBySpaceMediaError, type PostSpacesBySpaceMediaErrors, type PostSpacesBySpaceMediaResponse, type PostSpacesBySpaceMediaResponses, 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 ReviewRoundResource, type ScheduledCommentResource, type ScheduledCommentStatus, type SessionResource, type SignMediaRequest, type SlotResource, type SpaceResource, type StoreBioBlockRequest, type StoreBioPageRequest, type StoreOrganizationInvitationRequest, type StorePostRequest, type StoreScheduledCommentRequest, type StoreSlotRequest, type StoreSpaceRequest, type StoreWebhookRequest, type UpdateAccountRequest, type UpdateBioBlockRequest, type UpdateOrganizationMemberRequest, type UpdatePostRequest, type UpdateScheduledCommentRequest, type UpdateSpaceRequest, type UpdateWebhookRequest, type WebhookResource, ZilfuApiError, type ZilfuApiErrorInit, type ZilfuClient, type ZilfuFetch, type ZilfuToken, createZilfuClient };
|
package/dist/index.js
CHANGED
|
@@ -860,6 +860,25 @@ var Accounts = class extends HeyApiClient {
|
|
|
860
860
|
...options
|
|
861
861
|
});
|
|
862
862
|
}
|
|
863
|
+
/**
|
|
864
|
+
* Activate or deactivate an account
|
|
865
|
+
*
|
|
866
|
+
* Deactivating parks the account: it stops publishing and disappears from
|
|
867
|
+
* the composer and the bio page, while the connection itself, its posts and
|
|
868
|
+
* its analytics stay intact. Activating one again is refused when your plan
|
|
869
|
+
* has no free slot left, since a parked account still occupies one.
|
|
870
|
+
*/
|
|
871
|
+
update(options) {
|
|
872
|
+
return (options.client ?? this.client).patch({
|
|
873
|
+
security: [{ scheme: "bearer", type: "http" }],
|
|
874
|
+
url: "/spaces/{space}/accounts/{account}",
|
|
875
|
+
...options,
|
|
876
|
+
headers: {
|
|
877
|
+
"Content-Type": "application/json",
|
|
878
|
+
...options.headers
|
|
879
|
+
}
|
|
880
|
+
});
|
|
881
|
+
}
|
|
863
882
|
};
|
|
864
883
|
var Analytics = class extends HeyApiClient {
|
|
865
884
|
/**
|
|
@@ -867,7 +886,7 @@ var Analytics = class extends HeyApiClient {
|
|
|
867
886
|
*
|
|
868
887
|
* One compact row per account in the space — never merged — so a caller can
|
|
869
888
|
* see each account's collection health before drilling into one of them.
|
|
870
|
-
* Defaults to the last 7 days in the
|
|
889
|
+
* Defaults to the last 7 days in the organization timezone.
|
|
871
890
|
*/
|
|
872
891
|
list(options) {
|
|
873
892
|
return (options.client ?? this.client).get({
|
|
@@ -882,7 +901,7 @@ var Analytics = class extends HeyApiClient {
|
|
|
882
901
|
* The full report for one connected account: its metric catalogue, totals,
|
|
883
902
|
* interaction score, rates, publish-date series, audience history and best
|
|
884
903
|
* times. Individual posts have their own endpoint. Defaults to the last 7
|
|
885
|
-
* days in the
|
|
904
|
+
* days in the organization timezone.
|
|
886
905
|
*/
|
|
887
906
|
get(options) {
|
|
888
907
|
return (options.client ?? this.client).get({
|
|
@@ -898,7 +917,7 @@ var Analytics = class extends HeyApiClient {
|
|
|
898
917
|
* post, with a column for each metric the platform declares. Order it by
|
|
899
918
|
* `sort` — `published_at`, `interactions` or any declared metric key — and
|
|
900
919
|
* `dir`; a key this account does not declare is a 422 naming the ones it
|
|
901
|
-
* does. Defaults to the last 7 days in the
|
|
920
|
+
* does. Defaults to the last 7 days in the organization timezone, newest first,
|
|
902
921
|
* 20 per page.
|
|
903
922
|
*/
|
|
904
923
|
posts(options) {
|
|
@@ -1224,7 +1243,7 @@ var Members = class extends HeyApiClient {
|
|
|
1224
1243
|
});
|
|
1225
1244
|
}
|
|
1226
1245
|
/**
|
|
1227
|
-
* Update a member's
|
|
1246
|
+
* Update a member's role across the organization
|
|
1228
1247
|
*/
|
|
1229
1248
|
update(options) {
|
|
1230
1249
|
return (options.client ?? this.client).patch({
|
|
@@ -1506,7 +1525,8 @@ var Subscription = class extends HeyApiClient {
|
|
|
1506
1525
|
/**
|
|
1507
1526
|
* Get subscription details
|
|
1508
1527
|
*
|
|
1509
|
-
* Returns the user's current plan, account usage, plan catalog,
|
|
1528
|
+
* Returns the user's current plan, account usage, plan catalog, billing
|
|
1529
|
+
* state and trial status.
|
|
1510
1530
|
*/
|
|
1511
1531
|
get(options) {
|
|
1512
1532
|
return (options?.client ?? this.client).get({
|