@productcraft/social 1.0.1 → 1.0.2
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.d.cts +316 -82
- package/dist/index.d.ts +316 -82
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -4704,7 +4704,10 @@ interface components {
|
|
|
4704
4704
|
url: string;
|
|
4705
4705
|
};
|
|
4706
4706
|
CreateWebhookEndpointDto: {
|
|
4707
|
-
/**
|
|
4707
|
+
/**
|
|
4708
|
+
* @description A label for people.
|
|
4709
|
+
* @example Production receiver
|
|
4710
|
+
*/
|
|
4708
4711
|
description?: string | null;
|
|
4709
4712
|
/**
|
|
4710
4713
|
* @description Create it switched off.
|
|
@@ -5552,15 +5555,19 @@ interface components {
|
|
|
5552
5555
|
};
|
|
5553
5556
|
LeaveConversationDto: Record<string, never>;
|
|
5554
5557
|
ListWebhookEndpointsResponseDto: {
|
|
5558
|
+
/** @description The endpoints, newest first. */
|
|
5555
5559
|
data: components["schemas"]["WebhookEndpointDto"][];
|
|
5556
5560
|
/** @description Always one page (an endpoint limit applies). */
|
|
5557
5561
|
pagination: components["schemas"]["WebhookPaginationDto"];
|
|
5558
5562
|
};
|
|
5559
5563
|
ListWebhookEventTypesResponseDto: {
|
|
5564
|
+
/** @description Every event type this product sends. */
|
|
5560
5565
|
data: components["schemas"]["WebhookEventTypeDto"][];
|
|
5561
5566
|
};
|
|
5562
5567
|
ListWebhookEventsResponseDto: {
|
|
5568
|
+
/** @description The events, newest first. */
|
|
5563
5569
|
data: components["schemas"]["WebhookEventDto"][];
|
|
5570
|
+
/** @description The cursor for the next page. */
|
|
5564
5571
|
pagination: components["schemas"]["WebhookPaginationDto"];
|
|
5565
5572
|
};
|
|
5566
5573
|
MarkAllReadDto: {
|
|
@@ -6585,6 +6592,7 @@ interface components {
|
|
|
6585
6592
|
ReplayWebhookEventResponseDto: {
|
|
6586
6593
|
/** @description One attempt per endpoint it was sent to. */
|
|
6587
6594
|
attempts: components["schemas"]["WebhookDeliveryAttemptDto"][];
|
|
6595
|
+
/** @description The replayed event (the same id as the original). */
|
|
6588
6596
|
event_id: string;
|
|
6589
6597
|
};
|
|
6590
6598
|
RepostListResponseDto: {
|
|
@@ -6630,7 +6638,7 @@ interface components {
|
|
|
6630
6638
|
event_type: "post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed";
|
|
6631
6639
|
};
|
|
6632
6640
|
/** @description Error codes this API returns (open set: a client must accept codes it does not know; new codes are not a breaking change). Each is documented at https://productcraft.co/docs/errors#<code>. */
|
|
6633
|
-
SocialErrorCode: ("BAD_REQUEST" | "VALIDATION_ERROR" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_ALLOWED" | "NOT_ACCEPTABLE" | "REQUEST_TIMEOUT" | "CONFLICT" | "GONE" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_ENTITY" | "PRECONDITION_REQUIRED" | "RATE_LIMITED" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "SERVICE_NOT_ENABLED" | "INVALID_CREDENTIALS" | "SESSION_REVOKED" | "MCP_NOT_PERMITTED" | "MCP_WORKSPACE_MISMATCH" | "PAK_NOT_PERMITTED" | "ACTIONS_NOT_GRANTABLE" | "IDEMPOTENCY_KEY_REUSE" | "IDEMPOTENCY_KEY_REQUIRED" | "WEBHOOK_ENDPOINT_LIMIT" | "WEBHOOK_ENDPOINT_NOT_FOUND" | "WEBHOOK_ENDPOINT_NOT_SUBSCRIBED" | "WEBHOOK_EVENT_NOT_FOUND" | "WEBHOOK_EVENT_TYPE_UNKNOWN" | "ASSET_INVALID_CONTAINER" | "ASSET_INVALID_SIZE" | "ASSET_INVALID_TYPE" | "ASSET_MAGIC_MISMATCH" | "ASSET_NOT_OWNED" | "ASSET_NOT_READY" | "ASSET_NOT_VIDEO" | "ASSET_PROCESSING_FAILED" | "ASSET_TOO_LARGE" | "ASSET_TRANSCODE_FAILED" | "ASSET_UPLOAD_INCOMPLETE" | "CANNOT_QUOTE_PRIVATE" | "CANNOT_QUOTE_SELF" | "CANNOT_REPOST_PRIVATE" | "CANNOT_REPOST_SELF" | "COMMENTS_DISABLED" | "COMMENTS_FOLLOWERS_ONLY" | "COMMENTS_MENTIONED_ONLY" | "EDIT_WINDOW_EXPIRED" | "INVALID_CURSOR" | "INVALID_DATE_FILTER" | "INVALID_EXPAND" | "INVALID_IDENTIFIER" | "INVALID_ID_LIST" | "INVALID_NOTIFICATION_KIND" | "INVALID_ORDER" | "INVALID_SEARCH_QUERY" | "PIN_CAP_REACHED" | "POLL_CLOSED" | "QUOTE_NOT_ALLOWED" | "QUOTE_REQUIRES_BODY" | "QUOTE_REQUIRES_SOURCE" | "REPOST_NOT_ALLOWED" | "SOURCE_POST_ID_REQUIRES_QUOTE" | "TOO_MANY_ACTIVE_UPLOADS" | "TOO_MANY_ATTACHMENTS" | "TOO_MANY_IDS") | string;
|
|
6641
|
+
SocialErrorCode: ("BAD_REQUEST" | "VALIDATION_ERROR" | "UNAUTHORIZED" | "PAYMENT_REQUIRED" | "FORBIDDEN" | "NOT_FOUND" | "METHOD_NOT_ALLOWED" | "NOT_ACCEPTABLE" | "REQUEST_TIMEOUT" | "CONFLICT" | "GONE" | "PRECONDITION_FAILED" | "PAYLOAD_TOO_LARGE" | "UNSUPPORTED_MEDIA_TYPE" | "UNPROCESSABLE_ENTITY" | "PRECONDITION_REQUIRED" | "RATE_LIMITED" | "INTERNAL_SERVER_ERROR" | "NOT_IMPLEMENTED" | "BAD_GATEWAY" | "SERVICE_UNAVAILABLE" | "GATEWAY_TIMEOUT" | "SERVICE_NOT_ENABLED" | "INVALID_CREDENTIALS" | "SESSION_REVOKED" | "MCP_NOT_PERMITTED" | "MCP_WORKSPACE_MISMATCH" | "PAK_NOT_PERMITTED" | "ACTIONS_NOT_GRANTABLE" | "IDEMPOTENCY_KEY_REUSE" | "IDEMPOTENCY_KEY_REQUIRED" | "IDEMPOTENCY_IN_PROGRESS" | "WEBHOOK_ENDPOINT_LIMIT" | "WEBHOOK_ENDPOINT_NOT_FOUND" | "WEBHOOK_ENDPOINT_NOT_SUBSCRIBED" | "WEBHOOK_EVENT_NOT_FOUND" | "WEBHOOK_EVENT_TYPE_UNKNOWN" | "ASSET_INVALID_CONTAINER" | "ASSET_INVALID_SIZE" | "ASSET_INVALID_TYPE" | "ASSET_MAGIC_MISMATCH" | "ASSET_NOT_OWNED" | "ASSET_NOT_READY" | "ASSET_NOT_VIDEO" | "ASSET_PROCESSING_FAILED" | "ASSET_TOO_LARGE" | "ASSET_TRANSCODE_FAILED" | "ASSET_UPLOAD_INCOMPLETE" | "CANNOT_QUOTE_PRIVATE" | "CANNOT_QUOTE_SELF" | "CANNOT_REPOST_PRIVATE" | "CANNOT_REPOST_SELF" | "COMMENTS_DISABLED" | "COMMENTS_FOLLOWERS_ONLY" | "COMMENTS_MENTIONED_ONLY" | "EDIT_WINDOW_EXPIRED" | "INVALID_CURSOR" | "INVALID_DATE_FILTER" | "INVALID_EXPAND" | "INVALID_IDENTIFIER" | "INVALID_ID_LIST" | "INVALID_NOTIFICATION_KIND" | "INVALID_ORDER" | "INVALID_SEARCH_QUERY" | "PIN_CAP_REACHED" | "POLL_CLOSED" | "QUOTE_NOT_ALLOWED" | "QUOTE_REQUIRES_BODY" | "QUOTE_REQUIRES_SOURCE" | "REPOST_NOT_ALLOWED" | "SOURCE_POST_ID_REQUIRES_QUOTE" | "TOO_MANY_ACTIVE_UPLOADS" | "TOO_MANY_ATTACHMENTS" | "TOO_MANY_IDS") | string;
|
|
6634
6642
|
SocialStatsInWindowDto: {
|
|
6635
6643
|
/**
|
|
6636
6644
|
* @description Distinct members (actors) who published a post, published a comment or reacted in the window. A member active on several days counts once; actors belong to one community, so a person active in two communities counts in each.
|
|
@@ -7001,6 +7009,7 @@ interface components {
|
|
|
7001
7009
|
url?: string;
|
|
7002
7010
|
};
|
|
7003
7011
|
UpdateWebhookEndpointDto: {
|
|
7012
|
+
/** @description A new label; null clears it. */
|
|
7004
7013
|
description?: string | null;
|
|
7005
7014
|
/** @description Switch it on or off. Switching on also clears an automatic disable. */
|
|
7006
7015
|
enabled?: boolean;
|
|
@@ -7008,6 +7017,7 @@ interface components {
|
|
|
7008
7017
|
event_types?: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
7009
7018
|
/**
|
|
7010
7019
|
* Format: uri
|
|
7020
|
+
* @description A new absolute https:// URL on a public host.
|
|
7011
7021
|
* @example https://api.acme.com/webhooks
|
|
7012
7022
|
*/
|
|
7013
7023
|
url?: string;
|
|
@@ -7055,21 +7065,42 @@ interface components {
|
|
|
7055
7065
|
*/
|
|
7056
7066
|
created: boolean;
|
|
7057
7067
|
};
|
|
7068
|
+
/** @enum {string} */
|
|
7069
|
+
WebhookAttemptTrigger: "automatic" | "replay" | "test";
|
|
7058
7070
|
WebhookDeliveryAttemptDto: {
|
|
7059
7071
|
/** @description 1 for the first delivery; retries and replays count up. */
|
|
7060
7072
|
attempt_number: number;
|
|
7061
|
-
/**
|
|
7073
|
+
/**
|
|
7074
|
+
* Format: date-time
|
|
7075
|
+
* @description When the attempt was made.
|
|
7076
|
+
*/
|
|
7062
7077
|
attempted_at: string;
|
|
7063
|
-
/**
|
|
7078
|
+
/**
|
|
7079
|
+
* Format: uuid
|
|
7080
|
+
* @description The endpoint it was delivered to.
|
|
7081
|
+
*/
|
|
7064
7082
|
endpoint_id: string;
|
|
7065
|
-
/**
|
|
7083
|
+
/**
|
|
7084
|
+
* @description Why the attempt failed when no 2xx came back; null on success.
|
|
7085
|
+
* @example request timed out
|
|
7086
|
+
*/
|
|
7066
7087
|
error_message: string | null;
|
|
7067
|
-
/**
|
|
7088
|
+
/**
|
|
7089
|
+
* @description The event that was delivered.
|
|
7090
|
+
* @example evt_3f0c3c1e-8a2b-4c55-9d3f-0a1b2c3d4e5f
|
|
7091
|
+
*/
|
|
7068
7092
|
event_id: string;
|
|
7069
|
-
/**
|
|
7093
|
+
/**
|
|
7094
|
+
* @description The event's type.
|
|
7095
|
+
* @example user.created
|
|
7096
|
+
*/
|
|
7070
7097
|
event_type: string;
|
|
7071
|
-
/**
|
|
7098
|
+
/**
|
|
7099
|
+
* Format: uuid
|
|
7100
|
+
* @description The attempt's id.
|
|
7101
|
+
*/
|
|
7072
7102
|
id: string;
|
|
7103
|
+
/** @description Milliseconds until the response; null when none came back. */
|
|
7073
7104
|
latency_ms: number | null;
|
|
7074
7105
|
/** @description The first 1 KiB of the response body. */
|
|
7075
7106
|
response_body: string | null;
|
|
@@ -7077,28 +7108,36 @@ interface components {
|
|
|
7077
7108
|
status_code: number | null;
|
|
7078
7109
|
/** @description True for a 2xx response. */
|
|
7079
7110
|
succeeded: boolean;
|
|
7080
|
-
/**
|
|
7081
|
-
|
|
7082
|
-
* @enum {string}
|
|
7083
|
-
*/
|
|
7084
|
-
trigger: "automatic" | "replay" | "test";
|
|
7111
|
+
/** @description `automatic` (first delivery or a retry), `replay` or `test`. */
|
|
7112
|
+
trigger: components["schemas"]["WebhookAttemptTrigger"];
|
|
7085
7113
|
/**
|
|
7086
7114
|
* Format: uri
|
|
7087
7115
|
* @description Where it was sent.
|
|
7088
7116
|
*/
|
|
7089
7117
|
url: string;
|
|
7090
7118
|
};
|
|
7119
|
+
/** @enum {string} */
|
|
7120
|
+
WebhookEndpointDisabledReason: "manual" | "failing";
|
|
7091
7121
|
WebhookEndpointDto: {
|
|
7092
7122
|
/** @description Failed automatic deliveries in a row; a success resets it. */
|
|
7093
7123
|
consecutive_failures: number;
|
|
7094
|
-
/**
|
|
7124
|
+
/**
|
|
7125
|
+
* Format: date-time
|
|
7126
|
+
* @description When the endpoint was created.
|
|
7127
|
+
*/
|
|
7095
7128
|
created_at: string;
|
|
7096
|
-
/**
|
|
7129
|
+
/**
|
|
7130
|
+
* @description A label for people; null when unset.
|
|
7131
|
+
* @example Production receiver
|
|
7132
|
+
*/
|
|
7097
7133
|
description: string | null;
|
|
7098
|
-
/**
|
|
7134
|
+
/**
|
|
7135
|
+
* Format: date-time
|
|
7136
|
+
* @description When it was switched off; null while enabled.
|
|
7137
|
+
*/
|
|
7099
7138
|
disabled_at: string | null;
|
|
7100
|
-
/** @
|
|
7101
|
-
disabled_reason: "
|
|
7139
|
+
/** @description `manual`: switched off by a caller. `failing`: switched off automatically after failed deliveries. Null while enabled. */
|
|
7140
|
+
disabled_reason: components["schemas"]["WebhookEndpointDisabledReason"] | null;
|
|
7102
7141
|
/** @description The on/off switch (`PATCH … { enabled }`). */
|
|
7103
7142
|
enabled: boolean;
|
|
7104
7143
|
/**
|
|
@@ -7111,7 +7150,10 @@ interface components {
|
|
|
7111
7150
|
* @description Start of the current failure streak.
|
|
7112
7151
|
*/
|
|
7113
7152
|
first_failure_at: string | null;
|
|
7114
|
-
/**
|
|
7153
|
+
/**
|
|
7154
|
+
* Format: uuid
|
|
7155
|
+
* @description The endpoint's id.
|
|
7156
|
+
*/
|
|
7115
7157
|
id: string;
|
|
7116
7158
|
/** @description True for endpoints carried over from the product's previous webhook system: they also receive the old signature header until its sunset date. */
|
|
7117
7159
|
legacy_signature: boolean;
|
|
@@ -7134,30 +7176,42 @@ interface components {
|
|
|
7134
7176
|
* @example x9Q=
|
|
7135
7177
|
*/
|
|
7136
7178
|
signing_secret_hint: string;
|
|
7179
|
+
/** @description `enabled` receives events. `disabled` was switched off. `auto_disabled` was switched off after 20 failed deliveries in a row or 24 hours of failures; `PATCH { enabled: true }` turns it back on. */
|
|
7180
|
+
status: components["schemas"]["WebhookEndpointStatus"];
|
|
7137
7181
|
/**
|
|
7138
|
-
*
|
|
7139
|
-
* @
|
|
7182
|
+
* Format: date-time
|
|
7183
|
+
* @description When the endpoint last changed.
|
|
7140
7184
|
*/
|
|
7141
|
-
status: "enabled" | "disabled" | "auto_disabled";
|
|
7142
|
-
/** Format: date-time */
|
|
7143
7185
|
updated_at: string;
|
|
7144
7186
|
/**
|
|
7145
7187
|
* Format: uri
|
|
7188
|
+
* @description Where events are sent.
|
|
7146
7189
|
* @example https://api.acme.com/webhooks
|
|
7147
7190
|
*/
|
|
7148
7191
|
url: string;
|
|
7149
7192
|
};
|
|
7193
|
+
/** @enum {string} */
|
|
7194
|
+
WebhookEndpointStatus: "enabled" | "disabled" | "auto_disabled";
|
|
7150
7195
|
WebhookEndpointWithSecretDto: {
|
|
7151
7196
|
/** @description Failed automatic deliveries in a row; a success resets it. */
|
|
7152
7197
|
consecutive_failures: number;
|
|
7153
|
-
/**
|
|
7198
|
+
/**
|
|
7199
|
+
* Format: date-time
|
|
7200
|
+
* @description When the endpoint was created.
|
|
7201
|
+
*/
|
|
7154
7202
|
created_at: string;
|
|
7155
|
-
/**
|
|
7203
|
+
/**
|
|
7204
|
+
* @description A label for people; null when unset.
|
|
7205
|
+
* @example Production receiver
|
|
7206
|
+
*/
|
|
7156
7207
|
description: string | null;
|
|
7157
|
-
/**
|
|
7208
|
+
/**
|
|
7209
|
+
* Format: date-time
|
|
7210
|
+
* @description When it was switched off; null while enabled.
|
|
7211
|
+
*/
|
|
7158
7212
|
disabled_at: string | null;
|
|
7159
|
-
/** @
|
|
7160
|
-
disabled_reason: "
|
|
7213
|
+
/** @description `manual`: switched off by a caller. `failing`: switched off automatically after failed deliveries. Null while enabled. */
|
|
7214
|
+
disabled_reason: components["schemas"]["WebhookEndpointDisabledReason"] | null;
|
|
7161
7215
|
/** @description The on/off switch (`PATCH … { enabled }`). */
|
|
7162
7216
|
enabled: boolean;
|
|
7163
7217
|
/**
|
|
@@ -7170,7 +7224,10 @@ interface components {
|
|
|
7170
7224
|
* @description Start of the current failure streak.
|
|
7171
7225
|
*/
|
|
7172
7226
|
first_failure_at: string | null;
|
|
7173
|
-
/**
|
|
7227
|
+
/**
|
|
7228
|
+
* Format: uuid
|
|
7229
|
+
* @description The endpoint's id.
|
|
7230
|
+
*/
|
|
7174
7231
|
id: string;
|
|
7175
7232
|
/** @description True for endpoints carried over from the product's previous webhook system: they also receive the old signature header until its sunset date. */
|
|
7176
7233
|
legacy_signature: boolean;
|
|
@@ -7198,15 +7255,16 @@ interface components {
|
|
|
7198
7255
|
* @example x9Q=
|
|
7199
7256
|
*/
|
|
7200
7257
|
signing_secret_hint: string;
|
|
7258
|
+
/** @description `enabled` receives events. `disabled` was switched off. `auto_disabled` was switched off after 20 failed deliveries in a row or 24 hours of failures; `PATCH { enabled: true }` turns it back on. */
|
|
7259
|
+
status: components["schemas"]["WebhookEndpointStatus"];
|
|
7201
7260
|
/**
|
|
7202
|
-
*
|
|
7203
|
-
* @
|
|
7261
|
+
* Format: date-time
|
|
7262
|
+
* @description When the endpoint last changed.
|
|
7204
7263
|
*/
|
|
7205
|
-
status: "enabled" | "disabled" | "auto_disabled";
|
|
7206
|
-
/** Format: date-time */
|
|
7207
7264
|
updated_at: string;
|
|
7208
7265
|
/**
|
|
7209
7266
|
* Format: uri
|
|
7267
|
+
* @description Where events are sent.
|
|
7210
7268
|
* @example https://api.acme.com/webhooks
|
|
7211
7269
|
*/
|
|
7212
7270
|
url: string;
|
|
@@ -7214,15 +7272,22 @@ interface components {
|
|
|
7214
7272
|
WebhookEventDeliveryDto: {
|
|
7215
7273
|
/** @description Number of the latest attempt; retries and replays count up. */
|
|
7216
7274
|
attempt_number: number;
|
|
7217
|
-
/**
|
|
7275
|
+
/**
|
|
7276
|
+
* Format: date-time
|
|
7277
|
+
* @description When the latest attempt was made.
|
|
7278
|
+
*/
|
|
7218
7279
|
attempted_at: string;
|
|
7219
|
-
/**
|
|
7280
|
+
/**
|
|
7281
|
+
* Format: uuid
|
|
7282
|
+
* @description The endpoint.
|
|
7283
|
+
*/
|
|
7220
7284
|
endpoint_id: string;
|
|
7221
7285
|
/**
|
|
7222
7286
|
* Format: date-time
|
|
7223
7287
|
* @description When the next automatic attempt is due; null when none is queued.
|
|
7224
7288
|
*/
|
|
7225
7289
|
next_attempt_at: string | null;
|
|
7290
|
+
/** @description HTTP status of the latest attempt; null when no response came back. */
|
|
7226
7291
|
status_code: number | null;
|
|
7227
7292
|
/** @description True when the latest attempt got a 2xx. */
|
|
7228
7293
|
succeeded: boolean;
|
|
@@ -7230,7 +7295,10 @@ interface components {
|
|
|
7230
7295
|
WebhookEventDetailDto: {
|
|
7231
7296
|
/** @description Every attempt, newest first. */
|
|
7232
7297
|
attempts: components["schemas"]["WebhookDeliveryAttemptDto"][];
|
|
7233
|
-
/**
|
|
7298
|
+
/**
|
|
7299
|
+
* Format: date-time
|
|
7300
|
+
* @description When the event happened.
|
|
7301
|
+
*/
|
|
7234
7302
|
created_at: string;
|
|
7235
7303
|
/** @description Latest attempt per endpoint (an endpoint whose first attempt is still queued is not listed yet). */
|
|
7236
7304
|
deliveries: components["schemas"]["WebhookEventDeliveryDto"][];
|
|
@@ -7243,21 +7311,21 @@ interface components {
|
|
|
7243
7311
|
payload: {
|
|
7244
7312
|
[key: string]: unknown;
|
|
7245
7313
|
};
|
|
7246
|
-
/**
|
|
7247
|
-
|
|
7248
|
-
* @enum {string}
|
|
7249
|
-
*/
|
|
7250
|
-
status: "pending" | "delivered" | "failed" | "not_sent";
|
|
7314
|
+
/** @description `pending`: a delivery is queued. `failed`: the latest attempt to some endpoint failed and none is queued. `delivered`: every endpoint answered 2xx. `not_sent`: no endpoint subscribed. */
|
|
7315
|
+
status: components["schemas"]["WebhookEventStatus"];
|
|
7251
7316
|
/** @description Made by "Send test". */
|
|
7252
7317
|
test: boolean;
|
|
7253
7318
|
/**
|
|
7319
|
+
* @description The event type (one of this product's catalogue).
|
|
7254
7320
|
* @example post.created
|
|
7255
|
-
* @enum {string}
|
|
7256
7321
|
*/
|
|
7257
|
-
type: "
|
|
7322
|
+
type: components["schemas"]["WebhookEventType"];
|
|
7258
7323
|
};
|
|
7259
7324
|
WebhookEventDto: {
|
|
7260
|
-
/**
|
|
7325
|
+
/**
|
|
7326
|
+
* Format: date-time
|
|
7327
|
+
* @description When the event happened.
|
|
7328
|
+
*/
|
|
7261
7329
|
created_at: string;
|
|
7262
7330
|
/** @description Latest attempt per endpoint (an endpoint whose first attempt is still queued is not listed yet). */
|
|
7263
7331
|
deliveries: components["schemas"]["WebhookEventDeliveryDto"][];
|
|
@@ -7270,36 +7338,40 @@ interface components {
|
|
|
7270
7338
|
payload: {
|
|
7271
7339
|
[key: string]: unknown;
|
|
7272
7340
|
};
|
|
7273
|
-
/**
|
|
7274
|
-
|
|
7275
|
-
* @enum {string}
|
|
7276
|
-
*/
|
|
7277
|
-
status: "pending" | "delivered" | "failed" | "not_sent";
|
|
7341
|
+
/** @description `pending`: a delivery is queued. `failed`: the latest attempt to some endpoint failed and none is queued. `delivered`: every endpoint answered 2xx. `not_sent`: no endpoint subscribed. */
|
|
7342
|
+
status: components["schemas"]["WebhookEventStatus"];
|
|
7278
7343
|
/** @description Made by "Send test". */
|
|
7279
7344
|
test: boolean;
|
|
7280
7345
|
/**
|
|
7346
|
+
* @description The event type (one of this product's catalogue).
|
|
7281
7347
|
* @example post.created
|
|
7282
|
-
* @enum {string}
|
|
7283
7348
|
*/
|
|
7284
|
-
type: "
|
|
7349
|
+
type: components["schemas"]["WebhookEventType"];
|
|
7285
7350
|
};
|
|
7351
|
+
/** @enum {string} */
|
|
7352
|
+
WebhookEventStatus: "pending" | "delivered" | "failed" | "not_sent";
|
|
7353
|
+
/** @enum {string} */
|
|
7354
|
+
WebhookEventType: "post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed";
|
|
7286
7355
|
WebhookEventTypeDto: {
|
|
7287
7356
|
/**
|
|
7288
7357
|
* @description Group shown in the event picker.
|
|
7289
7358
|
* @example Users
|
|
7290
7359
|
*/
|
|
7291
7360
|
category: string;
|
|
7292
|
-
/**
|
|
7361
|
+
/**
|
|
7362
|
+
* @description When this event is sent.
|
|
7363
|
+
* @example A user signed up or was created by an admin.
|
|
7364
|
+
*/
|
|
7293
7365
|
description: string;
|
|
7294
7366
|
/** @description An example `data` object; "Send test" delivers exactly this. */
|
|
7295
7367
|
example: {
|
|
7296
7368
|
[key: string]: unknown;
|
|
7297
7369
|
};
|
|
7298
7370
|
/**
|
|
7371
|
+
* @description The event type (one of this product's catalogue).
|
|
7299
7372
|
* @example post.created
|
|
7300
|
-
* @enum {string}
|
|
7301
7373
|
*/
|
|
7302
|
-
type: "
|
|
7374
|
+
type: components["schemas"]["WebhookEventType"];
|
|
7303
7375
|
};
|
|
7304
7376
|
WebhookEventTypesResponseDto: {
|
|
7305
7377
|
/**
|
|
@@ -9773,6 +9845,8 @@ interface operations {
|
|
|
9773
9845
|
/** @description Image stored and ready, or video created in `uploading` with `upload` instructions. */
|
|
9774
9846
|
201: {
|
|
9775
9847
|
headers: {
|
|
9848
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
9849
|
+
"Idempotent-Replay"?: "true";
|
|
9776
9850
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
9777
9851
|
[name: string]: unknown;
|
|
9778
9852
|
};
|
|
@@ -9810,6 +9884,18 @@ interface operations {
|
|
|
9810
9884
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9811
9885
|
};
|
|
9812
9886
|
};
|
|
9887
|
+
/** @description Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
9888
|
+
409: {
|
|
9889
|
+
headers: {
|
|
9890
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
9891
|
+
"Retry-After"?: number;
|
|
9892
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
9893
|
+
[name: string]: unknown;
|
|
9894
|
+
};
|
|
9895
|
+
content: {
|
|
9896
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9897
|
+
};
|
|
9898
|
+
};
|
|
9813
9899
|
/** @description The image could not be decoded/processed. */
|
|
9814
9900
|
422: {
|
|
9815
9901
|
headers: {
|
|
@@ -9940,6 +10026,8 @@ interface operations {
|
|
|
9940
10026
|
/** @description Finalized (`processing`) — or the current status on replay. */
|
|
9941
10027
|
200: {
|
|
9942
10028
|
headers: {
|
|
10029
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
10030
|
+
"Idempotent-Replay"?: "true";
|
|
9943
10031
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
9944
10032
|
[name: string]: unknown;
|
|
9945
10033
|
};
|
|
@@ -9967,6 +10055,18 @@ interface operations {
|
|
|
9967
10055
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
9968
10056
|
};
|
|
9969
10057
|
};
|
|
10058
|
+
/** @description Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
10059
|
+
409: {
|
|
10060
|
+
headers: {
|
|
10061
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
10062
|
+
"Retry-After"?: number;
|
|
10063
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
10064
|
+
[name: string]: unknown;
|
|
10065
|
+
};
|
|
10066
|
+
content: {
|
|
10067
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10068
|
+
};
|
|
10069
|
+
};
|
|
9970
10070
|
/** @description `ASSET_UPLOAD_INCOMPLETE` (no object / size mismatch — still retryable), `ASSET_TOO_LARGE` or `ASSET_INVALID_CONTAINER` (upload failed + object deleted), or `ASSET_NOT_VIDEO`. */
|
|
9971
10071
|
422: {
|
|
9972
10072
|
headers: {
|
|
@@ -10268,6 +10368,8 @@ interface operations {
|
|
|
10268
10368
|
/** @description Collection created. */
|
|
10269
10369
|
201: {
|
|
10270
10370
|
headers: {
|
|
10371
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
10372
|
+
"Idempotent-Replay"?: "true";
|
|
10271
10373
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
10272
10374
|
[name: string]: unknown;
|
|
10273
10375
|
};
|
|
@@ -10305,6 +10407,18 @@ interface operations {
|
|
|
10305
10407
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10306
10408
|
};
|
|
10307
10409
|
};
|
|
10410
|
+
/** @description Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
10411
|
+
409: {
|
|
10412
|
+
headers: {
|
|
10413
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
10414
|
+
"Retry-After"?: number;
|
|
10415
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
10416
|
+
[name: string]: unknown;
|
|
10417
|
+
};
|
|
10418
|
+
content: {
|
|
10419
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10420
|
+
};
|
|
10421
|
+
};
|
|
10308
10422
|
/** @description Cover asset is not ready. */
|
|
10309
10423
|
422: {
|
|
10310
10424
|
headers: {
|
|
@@ -10894,6 +11008,8 @@ interface operations {
|
|
|
10894
11008
|
/** @description Conversation created or (1-on-1 only) returned. */
|
|
10895
11009
|
201: {
|
|
10896
11010
|
headers: {
|
|
11011
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
11012
|
+
"Idempotent-Replay"?: "true";
|
|
10897
11013
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
10898
11014
|
[name: string]: unknown;
|
|
10899
11015
|
};
|
|
@@ -10931,9 +11047,11 @@ interface operations {
|
|
|
10931
11047
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
10932
11048
|
};
|
|
10933
11049
|
};
|
|
10934
|
-
/** @description A block exists, the group exceeds `community.settings.max_group_conversation_size`, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). */
|
|
11050
|
+
/** @description A block exists, the group exceeds `community.settings.max_group_conversation_size`, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
10935
11051
|
409: {
|
|
10936
11052
|
headers: {
|
|
11053
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
11054
|
+
"Retry-After"?: number;
|
|
10937
11055
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
10938
11056
|
[name: string]: unknown;
|
|
10939
11057
|
};
|
|
@@ -11452,6 +11570,8 @@ interface operations {
|
|
|
11452
11570
|
/** @description Message sent. */
|
|
11453
11571
|
201: {
|
|
11454
11572
|
headers: {
|
|
11573
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
11574
|
+
"Idempotent-Replay"?: "true";
|
|
11455
11575
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
11456
11576
|
[name: string]: unknown;
|
|
11457
11577
|
};
|
|
@@ -11489,9 +11609,11 @@ interface operations {
|
|
|
11489
11609
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
11490
11610
|
};
|
|
11491
11611
|
};
|
|
11492
|
-
/** @description A block exists between the sender and another participant, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). */
|
|
11612
|
+
/** @description A block exists between the sender and another participant, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
11493
11613
|
409: {
|
|
11494
11614
|
headers: {
|
|
11615
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
11616
|
+
"Retry-After"?: number;
|
|
11495
11617
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
11496
11618
|
[name: string]: unknown;
|
|
11497
11619
|
};
|
|
@@ -12784,6 +12906,8 @@ interface operations {
|
|
|
12784
12906
|
/** @description List created. */
|
|
12785
12907
|
201: {
|
|
12786
12908
|
headers: {
|
|
12909
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
12910
|
+
"Idempotent-Replay"?: "true";
|
|
12787
12911
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
12788
12912
|
[name: string]: unknown;
|
|
12789
12913
|
};
|
|
@@ -12821,9 +12945,11 @@ interface operations {
|
|
|
12821
12945
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
12822
12946
|
};
|
|
12823
12947
|
};
|
|
12824
|
-
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. */
|
|
12948
|
+
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
12825
12949
|
409: {
|
|
12826
12950
|
headers: {
|
|
12951
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
12952
|
+
"Retry-After"?: number;
|
|
12827
12953
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
12828
12954
|
[name: string]: unknown;
|
|
12829
12955
|
};
|
|
@@ -13434,6 +13560,8 @@ interface operations {
|
|
|
13434
13560
|
/** @description Post created. Defaults: `kind=text`, `visibility=public`, `status=published`. */
|
|
13435
13561
|
201: {
|
|
13436
13562
|
headers: {
|
|
13563
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
13564
|
+
"Idempotent-Replay"?: "true";
|
|
13437
13565
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
13438
13566
|
[name: string]: unknown;
|
|
13439
13567
|
};
|
|
@@ -13471,9 +13599,11 @@ interface operations {
|
|
|
13471
13599
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13472
13600
|
};
|
|
13473
13601
|
};
|
|
13474
|
-
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. */
|
|
13602
|
+
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
13475
13603
|
409: {
|
|
13476
13604
|
headers: {
|
|
13605
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
13606
|
+
"Retry-After"?: number;
|
|
13477
13607
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
13478
13608
|
[name: string]: unknown;
|
|
13479
13609
|
};
|
|
@@ -13896,6 +14026,8 @@ interface operations {
|
|
|
13896
14026
|
/** @description Comment created. */
|
|
13897
14027
|
201: {
|
|
13898
14028
|
headers: {
|
|
14029
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
14030
|
+
"Idempotent-Replay"?: "true";
|
|
13899
14031
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
13900
14032
|
[name: string]: unknown;
|
|
13901
14033
|
};
|
|
@@ -13933,9 +14065,11 @@ interface operations {
|
|
|
13933
14065
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
13934
14066
|
};
|
|
13935
14067
|
};
|
|
13936
|
-
/** @description Block exists between commenter and post author, depth exceeds community.settings.max_comment_depth, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). */
|
|
14068
|
+
/** @description Block exists between commenter and post author, depth exceeds community.settings.max_comment_depth, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
13937
14069
|
409: {
|
|
13938
14070
|
headers: {
|
|
14071
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
14072
|
+
"Retry-After"?: number;
|
|
13939
14073
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
13940
14074
|
[name: string]: unknown;
|
|
13941
14075
|
};
|
|
@@ -15901,6 +16035,8 @@ interface operations {
|
|
|
15901
16035
|
/** @description Webhook created. */
|
|
15902
16036
|
201: {
|
|
15903
16037
|
headers: {
|
|
16038
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
16039
|
+
"Idempotent-Replay"?: "true";
|
|
15904
16040
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
15905
16041
|
[name: string]: unknown;
|
|
15906
16042
|
};
|
|
@@ -15938,9 +16074,11 @@ interface operations {
|
|
|
15938
16074
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
15939
16075
|
};
|
|
15940
16076
|
};
|
|
15941
|
-
/** @description Webhook cap reached (10 per community), or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). */
|
|
16077
|
+
/** @description Webhook cap reached (10 per community), or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
15942
16078
|
409: {
|
|
15943
16079
|
headers: {
|
|
16080
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
16081
|
+
"Retry-After"?: number;
|
|
15944
16082
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
15945
16083
|
[name: string]: unknown;
|
|
15946
16084
|
};
|
|
@@ -16044,6 +16182,8 @@ interface operations {
|
|
|
16044
16182
|
responses: {
|
|
16045
16183
|
201: {
|
|
16046
16184
|
headers: {
|
|
16185
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
16186
|
+
"Idempotent-Replay"?: "true";
|
|
16047
16187
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16048
16188
|
[name: string]: unknown;
|
|
16049
16189
|
};
|
|
@@ -16091,9 +16231,11 @@ interface operations {
|
|
|
16091
16231
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
16092
16232
|
};
|
|
16093
16233
|
};
|
|
16094
|
-
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
16234
|
+
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
16095
16235
|
409: {
|
|
16096
16236
|
headers: {
|
|
16237
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
16238
|
+
"Retry-After"?: number;
|
|
16097
16239
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16098
16240
|
[name: string]: unknown;
|
|
16099
16241
|
};
|
|
@@ -16262,6 +16404,8 @@ interface operations {
|
|
|
16262
16404
|
responses: {
|
|
16263
16405
|
200: {
|
|
16264
16406
|
headers: {
|
|
16407
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
16408
|
+
"Idempotent-Replay"?: "true";
|
|
16265
16409
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16266
16410
|
[name: string]: unknown;
|
|
16267
16411
|
};
|
|
@@ -16309,9 +16453,11 @@ interface operations {
|
|
|
16309
16453
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
16310
16454
|
};
|
|
16311
16455
|
};
|
|
16312
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
16456
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
16313
16457
|
409: {
|
|
16314
16458
|
headers: {
|
|
16459
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
16460
|
+
"Retry-After"?: number;
|
|
16315
16461
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16316
16462
|
[name: string]: unknown;
|
|
16317
16463
|
};
|
|
@@ -16353,6 +16499,8 @@ interface operations {
|
|
|
16353
16499
|
responses: {
|
|
16354
16500
|
200: {
|
|
16355
16501
|
headers: {
|
|
16502
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
16503
|
+
"Idempotent-Replay"?: "true";
|
|
16356
16504
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16357
16505
|
[name: string]: unknown;
|
|
16358
16506
|
};
|
|
@@ -16400,9 +16548,11 @@ interface operations {
|
|
|
16400
16548
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
16401
16549
|
};
|
|
16402
16550
|
};
|
|
16403
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
16551
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
16404
16552
|
409: {
|
|
16405
16553
|
headers: {
|
|
16554
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
16555
|
+
"Retry-After"?: number;
|
|
16406
16556
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16407
16557
|
[name: string]: unknown;
|
|
16408
16558
|
};
|
|
@@ -16435,6 +16585,8 @@ interface operations {
|
|
|
16435
16585
|
/** @description The attempt, successful or not. */
|
|
16436
16586
|
200: {
|
|
16437
16587
|
headers: {
|
|
16588
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
16589
|
+
"Idempotent-Replay"?: "true";
|
|
16438
16590
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16439
16591
|
[name: string]: unknown;
|
|
16440
16592
|
};
|
|
@@ -16482,9 +16634,11 @@ interface operations {
|
|
|
16482
16634
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
16483
16635
|
};
|
|
16484
16636
|
};
|
|
16485
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
16637
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
16486
16638
|
409: {
|
|
16487
16639
|
headers: {
|
|
16640
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
16641
|
+
"Retry-After"?: number;
|
|
16488
16642
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16489
16643
|
[name: string]: unknown;
|
|
16490
16644
|
};
|
|
@@ -16554,11 +16708,13 @@ interface operations {
|
|
|
16554
16708
|
type?: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
16555
16709
|
/** @description Only events sent (or queued) to this endpoint. */
|
|
16556
16710
|
endpoint_id?: string;
|
|
16557
|
-
|
|
16711
|
+
/** @description Only events in this delivery status. */
|
|
16712
|
+
status?: components["schemas"]["WebhookEventStatus"];
|
|
16558
16713
|
/** @description Only events created at or after this instant. */
|
|
16559
16714
|
created_after?: string;
|
|
16560
16715
|
/** @description Only events created before this instant. */
|
|
16561
16716
|
created_before?: string;
|
|
16717
|
+
/** @description Page size. */
|
|
16562
16718
|
limit?: number;
|
|
16563
16719
|
/** @description The previous page's `pagination.next_cursor`. */
|
|
16564
16720
|
cursor?: string;
|
|
@@ -16710,6 +16866,8 @@ interface operations {
|
|
|
16710
16866
|
responses: {
|
|
16711
16867
|
200: {
|
|
16712
16868
|
headers: {
|
|
16869
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
16870
|
+
"Idempotent-Replay"?: "true";
|
|
16713
16871
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16714
16872
|
[name: string]: unknown;
|
|
16715
16873
|
};
|
|
@@ -16757,9 +16915,11 @@ interface operations {
|
|
|
16757
16915
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
16758
16916
|
};
|
|
16759
16917
|
};
|
|
16760
|
-
/** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
16918
|
+
/** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
16761
16919
|
409: {
|
|
16762
16920
|
headers: {
|
|
16921
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
16922
|
+
"Retry-After"?: number;
|
|
16763
16923
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
16764
16924
|
[name: string]: unknown;
|
|
16765
16925
|
};
|
|
@@ -17006,6 +17166,8 @@ interface operations {
|
|
|
17006
17166
|
/** @description New secret. */
|
|
17007
17167
|
200: {
|
|
17008
17168
|
headers: {
|
|
17169
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
17170
|
+
"Idempotent-Replay"?: "true";
|
|
17009
17171
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17010
17172
|
[name: string]: unknown;
|
|
17011
17173
|
};
|
|
@@ -17033,9 +17195,11 @@ interface operations {
|
|
|
17033
17195
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
17034
17196
|
};
|
|
17035
17197
|
};
|
|
17036
|
-
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. */
|
|
17198
|
+
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
17037
17199
|
409: {
|
|
17038
17200
|
headers: {
|
|
17201
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
17202
|
+
"Retry-After"?: number;
|
|
17039
17203
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17040
17204
|
[name: string]: unknown;
|
|
17041
17205
|
};
|
|
@@ -17188,6 +17352,8 @@ interface operations {
|
|
|
17188
17352
|
/** @description Community created. */
|
|
17189
17353
|
201: {
|
|
17190
17354
|
headers: {
|
|
17355
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
17356
|
+
"Idempotent-Replay"?: "true";
|
|
17191
17357
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17192
17358
|
[name: string]: unknown;
|
|
17193
17359
|
};
|
|
@@ -17235,9 +17401,11 @@ interface operations {
|
|
|
17235
17401
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
17236
17402
|
};
|
|
17237
17403
|
};
|
|
17238
|
-
/** @description Community slug already taken in this workspace, the supplied `app_id` is already connected to a community, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). */
|
|
17404
|
+
/** @description Community slug already taken in this workspace, the supplied `app_id` is already connected to a community, or `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
17239
17405
|
409: {
|
|
17240
17406
|
headers: {
|
|
17407
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
17408
|
+
"Retry-After"?: number;
|
|
17241
17409
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17242
17410
|
[name: string]: unknown;
|
|
17243
17411
|
};
|
|
@@ -17567,6 +17735,8 @@ interface operations {
|
|
|
17567
17735
|
/** @description Action recorded (flag_id=null audit row); side-effect applied. */
|
|
17568
17736
|
201: {
|
|
17569
17737
|
headers: {
|
|
17738
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
17739
|
+
"Idempotent-Replay"?: "true";
|
|
17570
17740
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17571
17741
|
[name: string]: unknown;
|
|
17572
17742
|
};
|
|
@@ -17604,6 +17774,18 @@ interface operations {
|
|
|
17604
17774
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
17605
17775
|
};
|
|
17606
17776
|
};
|
|
17777
|
+
/** @description Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
17778
|
+
409: {
|
|
17779
|
+
headers: {
|
|
17780
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
17781
|
+
"Retry-After"?: number;
|
|
17782
|
+
"X-Request-Id": components["headers"]["RequestId"];
|
|
17783
|
+
[name: string]: unknown;
|
|
17784
|
+
};
|
|
17785
|
+
content: {
|
|
17786
|
+
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
17787
|
+
};
|
|
17788
|
+
};
|
|
17607
17789
|
};
|
|
17608
17790
|
};
|
|
17609
17791
|
ModerationAdminController_shadowBan: {
|
|
@@ -17629,6 +17811,8 @@ interface operations {
|
|
|
17629
17811
|
/** @description Shadow ban applied. */
|
|
17630
17812
|
200: {
|
|
17631
17813
|
headers: {
|
|
17814
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
17815
|
+
"Idempotent-Replay"?: "true";
|
|
17632
17816
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17633
17817
|
[name: string]: unknown;
|
|
17634
17818
|
};
|
|
@@ -17666,9 +17850,11 @@ interface operations {
|
|
|
17666
17850
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
17667
17851
|
};
|
|
17668
17852
|
};
|
|
17669
|
-
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. */
|
|
17853
|
+
/** @description `IDEMPOTENCY_KEY_REUSE` — the supplied Idempotency-Key was already used with a different request body. Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
17670
17854
|
409: {
|
|
17671
17855
|
headers: {
|
|
17856
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
17857
|
+
"Retry-After"?: number;
|
|
17672
17858
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
17673
17859
|
[name: string]: unknown;
|
|
17674
17860
|
};
|
|
@@ -18098,6 +18284,8 @@ interface operations {
|
|
|
18098
18284
|
/** @description Action recorded; target status updated where applicable. Returns the updated flag and the audit row. */
|
|
18099
18285
|
201: {
|
|
18100
18286
|
headers: {
|
|
18287
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
18288
|
+
"Idempotent-Replay"?: "true";
|
|
18101
18289
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18102
18290
|
[name: string]: unknown;
|
|
18103
18291
|
};
|
|
@@ -18135,9 +18323,11 @@ interface operations {
|
|
|
18135
18323
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
18136
18324
|
};
|
|
18137
18325
|
};
|
|
18138
|
-
/** @description FLAG_ALREADY_CLOSED — the flag is already actioned/dismissed and the requested action is punitive (hide/remove/warn/ban); reversals (unhide/restore/dismiss) stay legal on a closed flag. Also `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). */
|
|
18326
|
+
/** @description FLAG_ALREADY_CLOSED — the flag is already actioned/dismissed and the requested action is punitive (hide/remove/warn/ban); reversals (unhide/restore/dismiss) stay legal on a closed flag. Also `IDEMPOTENCY_KEY_REUSE` (same Idempotency-Key, different body). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
18139
18327
|
409: {
|
|
18140
18328
|
headers: {
|
|
18329
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
18330
|
+
"Retry-After"?: number;
|
|
18141
18331
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18142
18332
|
[name: string]: unknown;
|
|
18143
18333
|
};
|
|
@@ -18296,6 +18486,8 @@ interface operations {
|
|
|
18296
18486
|
responses: {
|
|
18297
18487
|
201: {
|
|
18298
18488
|
headers: {
|
|
18489
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
18490
|
+
"Idempotent-Replay"?: "true";
|
|
18299
18491
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18300
18492
|
[name: string]: unknown;
|
|
18301
18493
|
};
|
|
@@ -18343,9 +18535,11 @@ interface operations {
|
|
|
18343
18535
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
18344
18536
|
};
|
|
18345
18537
|
};
|
|
18346
|
-
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
18538
|
+
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
18347
18539
|
409: {
|
|
18348
18540
|
headers: {
|
|
18541
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
18542
|
+
"Retry-After"?: number;
|
|
18349
18543
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18350
18544
|
[name: string]: unknown;
|
|
18351
18545
|
};
|
|
@@ -18520,6 +18714,8 @@ interface operations {
|
|
|
18520
18714
|
responses: {
|
|
18521
18715
|
200: {
|
|
18522
18716
|
headers: {
|
|
18717
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
18718
|
+
"Idempotent-Replay"?: "true";
|
|
18523
18719
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18524
18720
|
[name: string]: unknown;
|
|
18525
18721
|
};
|
|
@@ -18567,9 +18763,11 @@ interface operations {
|
|
|
18567
18763
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
18568
18764
|
};
|
|
18569
18765
|
};
|
|
18570
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
18766
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
18571
18767
|
409: {
|
|
18572
18768
|
headers: {
|
|
18769
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
18770
|
+
"Retry-After"?: number;
|
|
18573
18771
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18574
18772
|
[name: string]: unknown;
|
|
18575
18773
|
};
|
|
@@ -18613,6 +18811,8 @@ interface operations {
|
|
|
18613
18811
|
responses: {
|
|
18614
18812
|
200: {
|
|
18615
18813
|
headers: {
|
|
18814
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
18815
|
+
"Idempotent-Replay"?: "true";
|
|
18616
18816
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18617
18817
|
[name: string]: unknown;
|
|
18618
18818
|
};
|
|
@@ -18660,9 +18860,11 @@ interface operations {
|
|
|
18660
18860
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
18661
18861
|
};
|
|
18662
18862
|
};
|
|
18663
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
18863
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
18664
18864
|
409: {
|
|
18665
18865
|
headers: {
|
|
18866
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
18867
|
+
"Retry-After"?: number;
|
|
18666
18868
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18667
18869
|
[name: string]: unknown;
|
|
18668
18870
|
};
|
|
@@ -18697,6 +18899,8 @@ interface operations {
|
|
|
18697
18899
|
/** @description The attempt, successful or not. */
|
|
18698
18900
|
200: {
|
|
18699
18901
|
headers: {
|
|
18902
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
18903
|
+
"Idempotent-Replay"?: "true";
|
|
18700
18904
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18701
18905
|
[name: string]: unknown;
|
|
18702
18906
|
};
|
|
@@ -18744,9 +18948,11 @@ interface operations {
|
|
|
18744
18948
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
18745
18949
|
};
|
|
18746
18950
|
};
|
|
18747
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
18951
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
18748
18952
|
409: {
|
|
18749
18953
|
headers: {
|
|
18954
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
18955
|
+
"Retry-After"?: number;
|
|
18750
18956
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18751
18957
|
[name: string]: unknown;
|
|
18752
18958
|
};
|
|
@@ -18818,11 +19024,13 @@ interface operations {
|
|
|
18818
19024
|
type?: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
18819
19025
|
/** @description Only events sent (or queued) to this endpoint. */
|
|
18820
19026
|
endpoint_id?: string;
|
|
18821
|
-
|
|
19027
|
+
/** @description Only events in this delivery status. */
|
|
19028
|
+
status?: components["schemas"]["WebhookEventStatus"];
|
|
18822
19029
|
/** @description Only events created at or after this instant. */
|
|
18823
19030
|
created_after?: string;
|
|
18824
19031
|
/** @description Only events created before this instant. */
|
|
18825
19032
|
created_before?: string;
|
|
19033
|
+
/** @description Page size. */
|
|
18826
19034
|
limit?: number;
|
|
18827
19035
|
/** @description The previous page's `pagination.next_cursor`. */
|
|
18828
19036
|
cursor?: string;
|
|
@@ -18980,6 +19188,8 @@ interface operations {
|
|
|
18980
19188
|
responses: {
|
|
18981
19189
|
200: {
|
|
18982
19190
|
headers: {
|
|
19191
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
19192
|
+
"Idempotent-Replay"?: "true";
|
|
18983
19193
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
18984
19194
|
[name: string]: unknown;
|
|
18985
19195
|
};
|
|
@@ -19027,9 +19237,11 @@ interface operations {
|
|
|
19027
19237
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19028
19238
|
};
|
|
19029
19239
|
};
|
|
19030
|
-
/** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
19240
|
+
/** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
19031
19241
|
409: {
|
|
19032
19242
|
headers: {
|
|
19243
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
19244
|
+
"Retry-After"?: number;
|
|
19033
19245
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19034
19246
|
[name: string]: unknown;
|
|
19035
19247
|
};
|
|
@@ -19180,6 +19392,8 @@ interface operations {
|
|
|
19180
19392
|
responses: {
|
|
19181
19393
|
201: {
|
|
19182
19394
|
headers: {
|
|
19395
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
19396
|
+
"Idempotent-Replay"?: "true";
|
|
19183
19397
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19184
19398
|
[name: string]: unknown;
|
|
19185
19399
|
};
|
|
@@ -19227,9 +19441,11 @@ interface operations {
|
|
|
19227
19441
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19228
19442
|
};
|
|
19229
19443
|
};
|
|
19230
|
-
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
19444
|
+
/** @description Already 10 endpoints (`WEBHOOK_ENDPOINT_LIMIT`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
19231
19445
|
409: {
|
|
19232
19446
|
headers: {
|
|
19447
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
19448
|
+
"Retry-After"?: number;
|
|
19233
19449
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19234
19450
|
[name: string]: unknown;
|
|
19235
19451
|
};
|
|
@@ -19398,6 +19614,8 @@ interface operations {
|
|
|
19398
19614
|
responses: {
|
|
19399
19615
|
200: {
|
|
19400
19616
|
headers: {
|
|
19617
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
19618
|
+
"Idempotent-Replay"?: "true";
|
|
19401
19619
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19402
19620
|
[name: string]: unknown;
|
|
19403
19621
|
};
|
|
@@ -19445,9 +19663,11 @@ interface operations {
|
|
|
19445
19663
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19446
19664
|
};
|
|
19447
19665
|
};
|
|
19448
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
19666
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
19449
19667
|
409: {
|
|
19450
19668
|
headers: {
|
|
19669
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
19670
|
+
"Retry-After"?: number;
|
|
19451
19671
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19452
19672
|
[name: string]: unknown;
|
|
19453
19673
|
};
|
|
@@ -19489,6 +19709,8 @@ interface operations {
|
|
|
19489
19709
|
responses: {
|
|
19490
19710
|
200: {
|
|
19491
19711
|
headers: {
|
|
19712
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
19713
|
+
"Idempotent-Replay"?: "true";
|
|
19492
19714
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19493
19715
|
[name: string]: unknown;
|
|
19494
19716
|
};
|
|
@@ -19536,9 +19758,11 @@ interface operations {
|
|
|
19536
19758
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19537
19759
|
};
|
|
19538
19760
|
};
|
|
19539
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
19761
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
19540
19762
|
409: {
|
|
19541
19763
|
headers: {
|
|
19764
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
19765
|
+
"Retry-After"?: number;
|
|
19542
19766
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19543
19767
|
[name: string]: unknown;
|
|
19544
19768
|
};
|
|
@@ -19571,6 +19795,8 @@ interface operations {
|
|
|
19571
19795
|
/** @description The attempt, successful or not. */
|
|
19572
19796
|
200: {
|
|
19573
19797
|
headers: {
|
|
19798
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
19799
|
+
"Idempotent-Replay"?: "true";
|
|
19574
19800
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19575
19801
|
[name: string]: unknown;
|
|
19576
19802
|
};
|
|
@@ -19618,9 +19844,11 @@ interface operations {
|
|
|
19618
19844
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19619
19845
|
};
|
|
19620
19846
|
};
|
|
19621
|
-
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
19847
|
+
/** @description Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
19622
19848
|
409: {
|
|
19623
19849
|
headers: {
|
|
19850
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
19851
|
+
"Retry-After"?: number;
|
|
19624
19852
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19625
19853
|
[name: string]: unknown;
|
|
19626
19854
|
};
|
|
@@ -19690,11 +19918,13 @@ interface operations {
|
|
|
19690
19918
|
type?: ("post.created" | "post.updated" | "post.deleted" | "post.reaction.created" | "repost.created" | "comment.created" | "comment.updated" | "comment.deleted" | "comment.reaction.created" | "edge.follow.created" | "edge.follow.deleted" | "edge.follow.requested" | "edge.follow.request_approved" | "flag.created" | "flag.updated" | "moderation.action.applied" | "actor.updated" | "dm.message.created" | "tag.created" | "asset.ready" | "asset.failed")[];
|
|
19691
19919
|
/** @description Only events sent (or queued) to this endpoint. */
|
|
19692
19920
|
endpoint_id?: string;
|
|
19693
|
-
|
|
19921
|
+
/** @description Only events in this delivery status. */
|
|
19922
|
+
status?: components["schemas"]["WebhookEventStatus"];
|
|
19694
19923
|
/** @description Only events created at or after this instant. */
|
|
19695
19924
|
created_after?: string;
|
|
19696
19925
|
/** @description Only events created before this instant. */
|
|
19697
19926
|
created_before?: string;
|
|
19927
|
+
/** @description Page size. */
|
|
19698
19928
|
limit?: number;
|
|
19699
19929
|
/** @description The previous page's `pagination.next_cursor`. */
|
|
19700
19930
|
cursor?: string;
|
|
@@ -19846,6 +20076,8 @@ interface operations {
|
|
|
19846
20076
|
responses: {
|
|
19847
20077
|
200: {
|
|
19848
20078
|
headers: {
|
|
20079
|
+
/** @description `true` when this response is a replay of an earlier request with the same `Idempotency-Key`. */
|
|
20080
|
+
"Idempotent-Replay"?: "true";
|
|
19849
20081
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19850
20082
|
[name: string]: unknown;
|
|
19851
20083
|
};
|
|
@@ -19893,9 +20125,11 @@ interface operations {
|
|
|
19893
20125
|
"application/json": components["schemas"]["ErrorResponseDto"];
|
|
19894
20126
|
};
|
|
19895
20127
|
};
|
|
19896
|
-
/** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). */
|
|
20128
|
+
/** @description `endpoint_id` is switched off or does not receive this event type (`WEBHOOK_ENDPOINT_NOT_SUBSCRIBED`), or Idempotency-Key reused with a different body (`IDEMPOTENCY_KEY_REUSE`). Idempotency: `IDEMPOTENCY_KEY_REUSE` when this `Idempotency-Key` was already used with a different body or route; `IDEMPOTENCY_IN_PROGRESS` while another request with the same key is still running (retry after `Retry-After` seconds, with the same key). */
|
|
19897
20129
|
409: {
|
|
19898
20130
|
headers: {
|
|
20131
|
+
/** @description Seconds to wait before retrying with the same key (sent with `IDEMPOTENCY_IN_PROGRESS`). */
|
|
20132
|
+
"Retry-After"?: number;
|
|
19899
20133
|
"X-Request-Id": components["headers"]["RequestId"];
|
|
19900
20134
|
[name: string]: unknown;
|
|
19901
20135
|
};
|