diff --git a/api-reference/client/app/get-health.mdx b/api-reference/client/app/get-health.mdx deleted file mode 100644 index 6dfc06f..0000000 --- a/api-reference/client/app/get-health.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/ ---- \ No newline at end of file diff --git a/api-reference/client/openapi.json b/api-reference/client/openapi.json index 1bbc557..322c1fe 100644 --- a/api-reference/client/openapi.json +++ b/api-reference/client/openapi.json @@ -1 +1 @@ -{"openapi":"3.0.2","paths":{"/api/v1/":{"get":{"summary":"Get health","tags":["app"],"parameters":[],"operationId":"app.getHealth","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"createdAt":{"type":"string"}},"required":["status","createdAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/organization/":{"get":{"summary":"Get organization","tags":["organization"],"parameters":[],"operationId":"organization.getOrganization","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"createdById":{"type":"string"},"promotionCodeId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"defaultPaymentMethodFilled":{"default":false,"type":"boolean"},"billingAddressFilled":{"default":false,"type":"boolean"},"apiAccess":{"default":true,"type":"boolean"},"ref":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"teams":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","nullable":true},"organizationId":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","name","organizationId","createdById","createdAt","updatedAt"]}},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"externalId":{"type":"string"},"email":{"type":"string"},"emailVerified":{"type":"string","format":"date-time","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"role":{"type":"string","enum":["ADMIN","CUSTOMER"]},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","externalId","email","role","createdAt","updatedAt"]},"subscription":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"couponId":{"type":"string","nullable":true},"promotionCodeId":{"type":"string","nullable":true},"stripeSubscriptionId":{"type":"string"},"stripeSubscriptionItems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"number"}},"required":["id","price","quantity"]},"nullable":true},"status":{"type":"string","enum":["trialing","active","canceled","incomplete","incomplete_expired","past_due","unpaid","paused"]},"metadata":{"type":"object","properties":{},"nullable":true},"cancelAtPeriodEnd":{"type":"boolean"},"created":{"type":"string","format":"date-time","nullable":true},"currentPeriodStart":{"type":"string","format":"date-time","nullable":true},"currentPeriodEnd":{"type":"string","format":"date-time","nullable":true},"endedAt":{"type":"string","format":"date-time","nullable":true},"cancelAt":{"type":"string","format":"date-time","nullable":true},"canceledAt":{"type":"string","format":"date-time","nullable":true},"trialStart":{"type":"string","format":"date-time","nullable":true},"trialEnd":{"type":"string","format":"date-time","nullable":true},"defaultMaxMonthlyPosts":{"type":"number"},"defaultMaxDailyPosts":{"type":"number"},"discountStart":{"type":"string","format":"date-time","nullable":true},"discountEnd":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"teamPlans":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"teamId":{"type":"string"},"stripePriceId":{"type":"string"},"tier":{"type":"string","enum":["PRO"]},"maxMonthlyPosts":{"type":"number"},"maxDailyPosts":{"type":"number"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","subscriptionId","teamId","stripePriceId","tier","maxMonthlyPosts","maxDailyPosts","createdAt","updatedAt"]}},"coupon":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"amountOff":{"type":"number","nullable":true},"percentOff":{"type":"number","nullable":true},"duration":{"type":"string","enum":["forever","once","repeating"]},"durationInMonths":{"type":"number","nullable":true},"maxRedemptions":{"type":"number","nullable":true},"valid":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"promotionCodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"couponId":{"type":"string"},"code":{"type":"string"},"active":{"type":"boolean"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"maxRedemptions":{"type":"number","nullable":true},"firstTimeTransaction":{"type":"boolean"},"minimumAmount":{"type":"number","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","couponId","code","active","firstTimeTransaction","createdAt","updatedAt"]}}},"required":["id","duration","valid","createdAt","updatedAt","promotionCodes"],"nullable":true},"promotionCode":{"type":"object","properties":{"id":{"type":"string"},"couponId":{"type":"string"},"code":{"type":"string"},"active":{"type":"boolean"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"maxRedemptions":{"type":"number","nullable":true},"firstTimeTransaction":{"type":"boolean"},"minimumAmount":{"type":"number","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"coupon":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"amountOff":{"type":"number","nullable":true},"percentOff":{"type":"number","nullable":true},"duration":{"type":"string","enum":["forever","once","repeating"]},"durationInMonths":{"type":"number","nullable":true},"maxRedemptions":{"type":"number","nullable":true},"valid":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","duration","valid","createdAt","updatedAt"]}},"required":["id","couponId","code","active","firstTimeTransaction","createdAt","updatedAt","coupon"],"nullable":true}},"required":["id","organizationId","stripeSubscriptionId","status","cancelAtPeriodEnd","created","currentPeriodStart","currentPeriodEnd","defaultMaxMonthlyPosts","defaultMaxDailyPosts","createdAt","updatedAt","teamPlans"],"nullable":true},"promotionCode":{"type":"object","properties":{"id":{"type":"string"},"couponId":{"type":"string"},"code":{"type":"string"},"active":{"type":"boolean"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"maxRedemptions":{"type":"number","nullable":true},"firstTimeTransaction":{"type":"boolean"},"minimumAmount":{"type":"number","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"coupon":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"amountOff":{"type":"number","nullable":true},"percentOff":{"type":"number","nullable":true},"duration":{"type":"string","enum":["forever","once","repeating"]},"durationInMonths":{"type":"number","nullable":true},"maxRedemptions":{"type":"number","nullable":true},"valid":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","duration","valid","createdAt","updatedAt"]}},"required":["id","couponId","code","active","firstTimeTransaction","createdAt","updatedAt","coupon"],"nullable":true}},"required":["id","createdById","createdAt","updatedAt","teams","createdBy"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/team/{id}":{"get":{"summary":"Get team","tags":["team"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"team.getTeam","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","nullable":true},"organizationId":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"organization":{"type":"object","properties":{"id":{"type":"string"},"createdById":{"type":"string"},"promotionCodeId":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"defaultPaymentMethodFilled":{"default":false,"type":"boolean"},"billingAddressFilled":{"default":false,"type":"boolean"},"apiAccess":{"default":true,"type":"boolean"},"ref":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","createdById","createdAt","updatedAt"]},"createdBy":{"type":"object","properties":{"id":{"type":"string"},"externalId":{"type":"string"},"email":{"type":"string"},"emailVerified":{"type":"string","format":"date-time","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"role":{"type":"string","enum":["ADMIN","CUSTOMER"]},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","externalId","email","role","createdAt","updatedAt"]},"bots":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","nullable":true},"teamId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","name","teamId","createdAt","updatedAt"]}},"socialAccounts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"teamId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userUsername":{"type":"string","nullable":true},"userDisplayName":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"nullable":true}},"required":["id"]},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","teamId","createdAt","updatedAt"]}},"usage":{"type":"object","properties":{"monthlyPosts":{"type":"number"}},"required":["monthlyPosts"]},"bio":{"type":"object","properties":{"id":{"type":"string"},"username":{"type":"string"},"name":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"avatarUrl":{"type":"string","nullable":true},"socials":{"type":"object","additionalProperties":{"type":"string","format":"uri","maxLength":2048,"nullable":true},"nullable":true},"teamId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"bioId":{"type":"string"},"name":{"type":"string"},"link":{"type":"string"},"icon":{"type":"string","nullable":true},"enabled":{"type":"boolean"},"order":{"type":"number","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"analytics":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"count":{"type":"number"},"bioItemId":{"type":"string"},"deviceType":{"type":"object","additionalProperties":{"type":"number"}},"country":{"type":"object","additionalProperties":{"type":"number"}},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","count","bioItemId","deviceType","country","createdAt","updatedAt"]}}},"required":["id","bioId","name","link","enabled","createdAt","updatedAt","analytics"]}}},"required":["id","username","name","description","avatarUrl","socials","teamId","createdAt","updatedAt","items"],"nullable":true},"teamPlan":{"type":"object","properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"teamId":{"type":"string"},"stripePriceId":{"type":"string"},"tier":{"type":"string","enum":["PRO"]},"maxMonthlyPosts":{"type":"number"},"maxDailyPosts":{"type":"number"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"subscription":{"type":"object","properties":{"id":{"type":"string"},"organizationId":{"type":"string"},"couponId":{"type":"string","nullable":true},"promotionCodeId":{"type":"string","nullable":true},"stripeSubscriptionId":{"type":"string"},"stripeSubscriptionItems":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"price":{"type":"string"},"quantity":{"type":"number"}},"required":["id","price","quantity"]},"nullable":true},"status":{"type":"string","enum":["trialing","active","canceled","incomplete","incomplete_expired","past_due","unpaid","paused"]},"metadata":{"type":"object","properties":{},"nullable":true},"cancelAtPeriodEnd":{"type":"boolean"},"created":{"type":"string","format":"date-time","nullable":true},"currentPeriodStart":{"type":"string","format":"date-time","nullable":true},"currentPeriodEnd":{"type":"string","format":"date-time","nullable":true},"endedAt":{"type":"string","format":"date-time","nullable":true},"cancelAt":{"type":"string","format":"date-time","nullable":true},"canceledAt":{"type":"string","format":"date-time","nullable":true},"trialStart":{"type":"string","format":"date-time","nullable":true},"trialEnd":{"type":"string","format":"date-time","nullable":true},"defaultMaxMonthlyPosts":{"type":"number"},"defaultMaxDailyPosts":{"type":"number"},"discountStart":{"type":"string","format":"date-time","nullable":true},"discountEnd":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","organizationId","stripeSubscriptionId","status","cancelAtPeriodEnd","created","currentPeriodStart","currentPeriodEnd","defaultMaxMonthlyPosts","defaultMaxDailyPosts","createdAt","updatedAt"],"nullable":true}},"required":["id","subscriptionId","teamId","stripePriceId","tier","maxMonthlyPosts","maxDailyPosts","createdAt","updatedAt"],"nullable":true}},"required":["id","name","organizationId","createdById","createdAt","updatedAt","organization","createdBy","bots","socialAccounts","usage"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"patch":{"summary":"Update team","tags":["team"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"team.updateTeam","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":3,"maxLength":80},"avatarUrl":{"type":"string","nullable":true}}}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","nullable":true},"organizationId":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","name","organizationId","createdById","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"delete":{"summary":"Delete team","tags":["team"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"team.deleteTeam","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","nullable":true},"organizationId":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","name","organizationId","createdById","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/team/":{"post":{"summary":"Create new team","tags":["team"],"parameters":[],"operationId":"team.createTeam","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":3,"maxLength":80},"tier":{"type":"string","enum":["FREE","PRO"]},"avatarUrl":{"type":"string","nullable":true}},"required":["name","tier"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarUrl":{"type":"string","nullable":true},"organizationId":{"type":"string"},"createdById":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","name","organizationId","createdById","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/social-account/connect":{"post":{"summary":"Generate OAuth URL","tags":["socialAccount"],"parameters":[],"operationId":"socialAccount.connect","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","DISCORD","SLACK","MASTODON"]},"teamId":{"type":"string"},"redirectUrl":{"type":"string","format":"uri"},"serverUrl":{"type":"string","format":"uri","description":"Mastodon only"}},"required":["type","teamId","redirectUrl"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","description":"OAuth URL - Redirect user to this URL to connect social account"}},"required":["url"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/social-account/disconnect":{"delete":{"summary":"Disconnect social account from team","tags":["socialAccount"],"parameters":[],"operationId":"socialAccount.disconnect","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","DISCORD","SLACK","MASTODON"]},"teamId":{"type":"string"}},"required":["type","teamId"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"teamId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userUsername":{"type":"string","nullable":true},"userDisplayName":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"nullable":true}},"required":["id"]},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","teamId","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/social-account/set-channel":{"post":{"summary":"Set channel for social account","tags":["socialAccount"],"parameters":[],"operationId":"socialAccount.setChannel","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["FACEBOOK","INSTAGRAM","LINKEDIN","YOUTUBE"]},"teamId":{"type":"string"},"channelId":{"type":"string"}},"required":["type","teamId","channelId"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"teamId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userUsername":{"type":"string","nullable":true},"userDisplayName":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"nullable":true}},"required":["id"]},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","teamId","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/social-account/refresh-channels":{"post":{"summary":"Refresh channels for social account","tags":["socialAccount"],"parameters":[],"operationId":"socialAccount.refreshChannels","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["DISCORD","SLACK","REDDIT","PINTEREST"]},"teamId":{"type":"string"}},"required":["type","teamId"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"teamId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userUsername":{"type":"string","nullable":true},"userDisplayName":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"nullable":true}},"required":["id"]},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","teamId","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/upload/":{"get":{"summary":"Get upload list","tags":["upload"],"parameters":[{"name":"teamId","in":"query","required":true,"schema":{"type":"string"}}],"operationId":"upload.getList","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"posts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string"},"uploadId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["postId","uploadId","createdAt","updatedAt"]}}},"required":["id","teamId","type","createdAt","updatedAt","posts"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"post":{"description":"Upload a file. This is the only endpoint that uses multipart/form-data.","summary":"Create upload","tags":["upload"],"parameters":[],"operationId":"upload.create","requestBody":{"description":"Body","content":{"multipart/form-data":{"schema":{"type":"object","properties":{"teamId":{"type":"string"},"file":{"nullable":true,"type":"string","format":"binary"}},"required":["teamId"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","type","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"delete":{"summary":"Delete many uploads","tags":["upload"],"parameters":[],"operationId":"upload.deleteMany","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"},"minItems":1}},"required":["ids"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","type","createdAt","updatedAt"]}}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/upload/{id}":{"get":{"summary":"Get upload","tags":["upload"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"upload.get","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","type","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"delete":{"summary":"Delete upload","tags":["upload"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"upload.delete","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","type","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/post/{id}":{"get":{"summary":"Get post","tags":["post"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"post.get","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"title":{"type":"string"},"postDate":{"type":"string","format":"date-time","nullable":true},"postedDate":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","enum":["DRAFT","SCHEDULED","POSTED","ERROR","DELETED","PROCESSING"]},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}},"error":{"type":"string","nullable":true},"errors":{"type":"object","properties":{"TWITTER":{"type":"string","nullable":true},"PINTEREST":{"type":"string","nullable":true},"FACEBOOK":{"type":"string","nullable":true},"INSTAGRAM":{"type":"string","nullable":true},"TIKTOK":{"type":"string","nullable":true},"LINKEDIN":{"type":"string","nullable":true},"REDDIT":{"type":"string","nullable":true},"DISCORD":{"type":"string","nullable":true},"SLACK":{"type":"string","nullable":true},"YOUTUBE":{"type":"string","nullable":true},"MASTODON":{"type":"string","nullable":true},"THREADS":{"type":"string","nullable":true}},"nullable":true},"externalData":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"FACEBOOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"postId":{"type":"string","nullable":true},"videoId":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"REDDIT":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"subreddit_name":{"type":"string","nullable":true}},"nullable":true},"DISCORD":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"SLACK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"YOUTUBE":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"MASTODON":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true}},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"uploads":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string"},"uploadId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"upload":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","type","createdAt","updatedAt"]}},"required":["postId","uploadId","createdAt","updatedAt","upload"]}},"socialAccounts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string"},"socialAccountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"socialAccount":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"teamId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userUsername":{"type":"string","nullable":true},"userDisplayName":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"nullable":true}},"required":["id"]},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","teamId","createdAt","updatedAt"]}},"required":["postId","socialAccountId","createdAt","updatedAt","socialAccount"]}}},"required":["id","teamId","title","postDate","status","data","createdAt","updatedAt","uploads","socialAccounts"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"patch":{"summary":"Update post","tags":["post"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"post.update","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1},"postDate":{"type":"string"},"status":{"type":"string","enum":["DRAFT","SCHEDULED"]},"socialAccountTypes":{"type":"array","items":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"minItems":1},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}}}}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"title":{"type":"string"},"postDate":{"type":"string","format":"date-time","nullable":true},"postedDate":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","enum":["DRAFT","SCHEDULED","POSTED","ERROR","DELETED","PROCESSING"]},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}},"error":{"type":"string","nullable":true},"errors":{"type":"object","properties":{"TWITTER":{"type":"string","nullable":true},"PINTEREST":{"type":"string","nullable":true},"FACEBOOK":{"type":"string","nullable":true},"INSTAGRAM":{"type":"string","nullable":true},"TIKTOK":{"type":"string","nullable":true},"LINKEDIN":{"type":"string","nullable":true},"REDDIT":{"type":"string","nullable":true},"DISCORD":{"type":"string","nullable":true},"SLACK":{"type":"string","nullable":true},"YOUTUBE":{"type":"string","nullable":true},"MASTODON":{"type":"string","nullable":true},"THREADS":{"type":"string","nullable":true}},"nullable":true},"externalData":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"FACEBOOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"postId":{"type":"string","nullable":true},"videoId":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"REDDIT":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"subreddit_name":{"type":"string","nullable":true}},"nullable":true},"DISCORD":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"SLACK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"YOUTUBE":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"MASTODON":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true}},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","title","postDate","status","data","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"delete":{"summary":"Delete post","tags":["post"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"operationId":"post.delete","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"title":{"type":"string"},"postDate":{"type":"string","format":"date-time","nullable":true},"postedDate":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","enum":["DRAFT","SCHEDULED","POSTED","ERROR","DELETED","PROCESSING"]},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}},"error":{"type":"string","nullable":true},"errors":{"type":"object","properties":{"TWITTER":{"type":"string","nullable":true},"PINTEREST":{"type":"string","nullable":true},"FACEBOOK":{"type":"string","nullable":true},"INSTAGRAM":{"type":"string","nullable":true},"TIKTOK":{"type":"string","nullable":true},"LINKEDIN":{"type":"string","nullable":true},"REDDIT":{"type":"string","nullable":true},"DISCORD":{"type":"string","nullable":true},"SLACK":{"type":"string","nullable":true},"YOUTUBE":{"type":"string","nullable":true},"MASTODON":{"type":"string","nullable":true},"THREADS":{"type":"string","nullable":true}},"nullable":true},"externalData":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"FACEBOOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"postId":{"type":"string","nullable":true},"videoId":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"REDDIT":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"subreddit_name":{"type":"string","nullable":true}},"nullable":true},"DISCORD":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"SLACK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"YOUTUBE":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"MASTODON":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true}},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","title","postDate","status","data","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}},"/api/v1/post/":{"get":{"summary":"Get post list","tags":["post"],"parameters":[{"name":"teamId","in":"query","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","schema":{"type":"string","enum":["DRAFT","SCHEDULED","POSTED","ERROR","DELETED","PROCESSING"],"nullable":true}},{"name":"orderBy","in":"query","schema":{"type":"string","enum":["createdAt","updatedAt","postDate","postedDate","deletedAt"],"nullable":true}},{"name":"order","in":"query","schema":{"type":"string","enum":["ASC","DESC"],"nullable":true}},{"name":"q","in":"query","schema":{"type":"string","nullable":true}},{"name":"platforms","in":"query","schema":{"type":"array","items":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"nullable":true}},{"name":"offset","in":"query","schema":{"default":0,"type":"number","nullable":true}},{"name":"limit","in":"query","schema":{"default":10,"type":"number","nullable":true}}],"operationId":"post.getList","responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"title":{"type":"string"},"postDate":{"type":"string","format":"date-time","nullable":true},"postedDate":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","enum":["DRAFT","SCHEDULED","POSTED","ERROR","DELETED","PROCESSING"]},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}},"error":{"type":"string","nullable":true},"errors":{"type":"object","properties":{"TWITTER":{"type":"string","nullable":true},"PINTEREST":{"type":"string","nullable":true},"FACEBOOK":{"type":"string","nullable":true},"INSTAGRAM":{"type":"string","nullable":true},"TIKTOK":{"type":"string","nullable":true},"LINKEDIN":{"type":"string","nullable":true},"REDDIT":{"type":"string","nullable":true},"DISCORD":{"type":"string","nullable":true},"SLACK":{"type":"string","nullable":true},"YOUTUBE":{"type":"string","nullable":true},"MASTODON":{"type":"string","nullable":true},"THREADS":{"type":"string","nullable":true}},"nullable":true},"externalData":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"FACEBOOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"postId":{"type":"string","nullable":true},"videoId":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"REDDIT":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"subreddit_name":{"type":"string","nullable":true}},"nullable":true},"DISCORD":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"SLACK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"YOUTUBE":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"MASTODON":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true}},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"uploads":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string"},"uploadId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"upload":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"expiresAt":{"type":"string","format":"date-time","nullable":true},"iconUrl":{"type":"string","format":"uri","nullable":true},"thumbnailUrl":{"type":"string","format":"uri","nullable":true},"url":{"type":"string","format":"uri","nullable":true},"iconPath":{"type":"string","nullable":true},"thumbnailPath":{"type":"string","nullable":true},"path":{"type":"string","nullable":true},"type":{"type":"string","enum":["image","video"]},"width":{"type":"number","nullable":true},"height":{"type":"number","nullable":true},"fileSize":{"type":"number","nullable":true},"videoLength":{"type":"number","nullable":true},"mime":{"type":"string","nullable":true},"ext":{"type":"string","nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","type","createdAt","updatedAt"]}},"required":["postId","uploadId","createdAt","updatedAt","upload"]}},"socialAccounts":{"type":"array","items":{"type":"object","properties":{"postId":{"type":"string"},"socialAccountId":{"type":"string"},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true},"socialAccount":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"teamId":{"type":"string"},"username":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"externalId":{"type":"string","nullable":true},"userUsername":{"type":"string","nullable":true},"userDisplayName":{"type":"string","nullable":true},"userId":{"type":"string","nullable":true},"channels":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"webhook":{"type":"object","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string","nullable":true},"avatar":{"type":"string","nullable":true},"url":{"type":"string","nullable":true}},"nullable":true}},"required":["id"]},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","teamId","createdAt","updatedAt"]}},"required":["postId","socialAccountId","createdAt","updatedAt","socialAccount"]}}},"required":["id","teamId","title","postDate","status","data","createdAt","updatedAt","uploads","socialAccounts"]}},"total":{"type":"number"}},"required":["items","total"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}},"post":{"summary":"Create post","tags":["post"],"parameters":[],"operationId":"post.create","requestBody":{"description":"Body","content":{"application/json":{"schema":{"type":"object","properties":{"teamId":{"type":"string"},"title":{"type":"string","minLength":1},"postDate":{"type":"string"},"status":{"type":"string","enum":["DRAFT","SCHEDULED"]},"socialAccountTypes":{"type":"array","items":{"type":"string","enum":["TIKTOK","YOUTUBE","INSTAGRAM","FACEBOOK","TWITTER","THREADS","LINKEDIN","PINTEREST","REDDIT","MASTODON","DISCORD","SLACK"]},"minItems":1},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}}},"required":["teamId","title","postDate","status","socialAccountTypes","data"]}}}},"responses":{"200":{"description":"200","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"teamId":{"type":"string"},"title":{"type":"string"},"postDate":{"type":"string","format":"date-time","nullable":true},"postedDate":{"type":"string","format":"date-time","nullable":true},"status":{"type":"string","enum":["DRAFT","SCHEDULED","POSTED","ERROR","DELETED","PROCESSING"]},"data":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"boardName":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the Pin will link to."},"altText":{"type":"string","nullable":true,"description":"The alt text for the image. This is used by screen readers and when the image can't be loaded."},"note":{"type":"string","nullable":true,"description":"A note about the Pin. This is not visible to the public."},"dominantColor":{"type":"string","nullable":true,"description":"The dominant color of the image. This is used to display the image before it's loaded."}},"required":["boardName"],"nullable":true},"FACEBOOK":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"type":{"default":"POST","type":"string","enum":["POST","REEL","STORY"]},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["SELF_ONLY","PUBLIC_TO_EVERYONE","MUTUAL_FOLLOW_FRIENDS","FOLLOWER_OF_CREATOR"],"nullable":true},"isBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is a paid partnership to promote a third-party business."},"isOrganicBrandContent":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if this video is promoting the creator's own business."},"disableComments":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make comments on this post."},"disableDuet":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Stitches using this post."},"disableStitch":{"default":false,"type":"boolean","nullable":true,"description":"If set to true, other TikTok users will not be allowed to make Duets using this post."}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"text":{"type":"string"},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["CONNECTIONS","PUBLIC","LOGGED_IN","CONTAINER"],"nullable":true},"hideFromFeed":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post shouldn't be displayed in the main feed."},"disableReshare":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is not allowed to be reshared."}},"required":["text"],"nullable":true},"YOUTUBE":{"type":"object","properties":{"type":{"default":"SHORT","type":"string","enum":["VIDEO","SHORT"]},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"text":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"privacy":{"type":"string","enum":["PRIVATE","PUBLIC","UNLISTED"],"nullable":true},"madeForKids":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the video is made for kids."}},"nullable":true},"REDDIT":{"type":"object","properties":{"sr":{"type":"string","description":"Subreddit name. Example: r/subredditName or u/username"},"text":{"type":"string"},"description":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"link":{"type":"string","nullable":true,"description":"The URL to which the post will link to."},"nsfw":{"default":false,"type":"boolean","nullable":true,"description":"Set to true if the post is NSFW."}},"required":["sr","text"],"nullable":true},"DISCORD":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"SLACK":{"type":"object","properties":{"channelId":{"type":"string"},"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"username":{"type":"string","nullable":true,"description":"The username to display as the author of the message."},"avatarUrl":{"type":"string","nullable":true,"description":"Avatar url to display as the author of the message."}},"required":["channelId"],"nullable":true},"MASTODON":{"type":"object","properties":{"text":{"type":"string","nullable":true},"uploadIds":{"type":"array","items":{"type":"string"},"nullable":true},"privacy":{"type":"string","enum":["PUBLIC","UNLISTED","PRIVATE","DIRECT"],"nullable":true},"spoiler":{"type":"string","nullable":true}},"nullable":true}}},"error":{"type":"string","nullable":true},"errors":{"type":"object","properties":{"TWITTER":{"type":"string","nullable":true},"PINTEREST":{"type":"string","nullable":true},"FACEBOOK":{"type":"string","nullable":true},"INSTAGRAM":{"type":"string","nullable":true},"TIKTOK":{"type":"string","nullable":true},"LINKEDIN":{"type":"string","nullable":true},"REDDIT":{"type":"string","nullable":true},"DISCORD":{"type":"string","nullable":true},"SLACK":{"type":"string","nullable":true},"YOUTUBE":{"type":"string","nullable":true},"MASTODON":{"type":"string","nullable":true},"THREADS":{"type":"string","nullable":true}},"nullable":true},"externalData":{"type":"object","properties":{"TWITTER":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"PINTEREST":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"FACEBOOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"postId":{"type":"string","nullable":true},"videoId":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"INSTAGRAM":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"TIKTOK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"LINKEDIN":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"REDDIT":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"subreddit_name":{"type":"string","nullable":true}},"nullable":true},"DISCORD":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"SLACK":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true},"channelId":{"type":"string","nullable":true}},"nullable":true},"YOUTUBE":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"MASTODON":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true},"THREADS":{"type":"object","properties":{"id":{"type":"string","nullable":true},"permalink":{"type":"string","nullable":true}},"nullable":true}},"nullable":true},"createdAt":{"type":"string","format":"date-time","nullable":true},"updatedAt":{"type":"string","format":"date-time","nullable":true},"deletedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","teamId","title","postDate","status","data","createdAt","updatedAt"]}}}},"400":{"description":"400","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"}]},"nullable":true}},"required":["message"]},"nullable":true}},"required":["message"]}}}},"401":{"description":"401","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"403":{"description":"403","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"404":{"description":"404","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"429":{"description":"429","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}},"500":{"description":"500","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"]}}}}}}}},"info":{"title":"bundle.social API","description":"The purpose of this API is to provide an easy way to create & schedule social media posts.","version":"1.0.0","contact":{"email":"contact@bundle.social"},"termsOfService":"https://bundle.social/terms"},"servers":[{"url":"https://api.bundle.social"},{"url":"http://localhost:3001"}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","name":"x-api-key","in":"header"}}},"security":[{"ApiKeyAuth":[]}]} \ No newline at end of file +error code: 502 \ No newline at end of file diff --git a/api-reference/client/organization/get-organization.mdx b/api-reference/client/organization/get-organization.mdx deleted file mode 100644 index 668cfda..0000000 --- a/api-reference/client/organization/get-organization.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/organization/ ---- \ No newline at end of file diff --git a/api-reference/client/post/create-post.mdx b/api-reference/client/post/create-post.mdx deleted file mode 100644 index 518d181..0000000 --- a/api-reference/client/post/create-post.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: post /api/v1/post/ ---- \ No newline at end of file diff --git a/api-reference/client/post/delete-post.mdx b/api-reference/client/post/delete-post.mdx deleted file mode 100644 index 2322e70..0000000 --- a/api-reference/client/post/delete-post.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: delete /api/v1/post/{id} ---- \ No newline at end of file diff --git a/api-reference/client/post/get-post-list.mdx b/api-reference/client/post/get-post-list.mdx deleted file mode 100644 index 791721c..0000000 --- a/api-reference/client/post/get-post-list.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/post/ ---- \ No newline at end of file diff --git a/api-reference/client/post/get-post.mdx b/api-reference/client/post/get-post.mdx deleted file mode 100644 index e7251e2..0000000 --- a/api-reference/client/post/get-post.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/post/{id} ---- \ No newline at end of file diff --git a/api-reference/client/post/update-post.mdx b/api-reference/client/post/update-post.mdx deleted file mode 100644 index d2d9128..0000000 --- a/api-reference/client/post/update-post.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: patch /api/v1/post/{id} ---- \ No newline at end of file diff --git a/api-reference/client/socialaccount/disconnect-social-account-from-team.mdx b/api-reference/client/socialaccount/disconnect-social-account-from-team.mdx deleted file mode 100644 index c2cce97..0000000 --- a/api-reference/client/socialaccount/disconnect-social-account-from-team.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: delete /api/v1/social-account/disconnect ---- \ No newline at end of file diff --git a/api-reference/client/socialaccount/generate-oauth-url.mdx b/api-reference/client/socialaccount/generate-oauth-url.mdx deleted file mode 100644 index 5f29927..0000000 --- a/api-reference/client/socialaccount/generate-oauth-url.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: post /api/v1/social-account/connect ---- \ No newline at end of file diff --git a/api-reference/client/socialaccount/refresh-channels-for-social-account.mdx b/api-reference/client/socialaccount/refresh-channels-for-social-account.mdx deleted file mode 100644 index f966cf5..0000000 --- a/api-reference/client/socialaccount/refresh-channels-for-social-account.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: post /api/v1/social-account/refresh-channels ---- \ No newline at end of file diff --git a/api-reference/client/socialaccount/set-channel-for-social-account.mdx b/api-reference/client/socialaccount/set-channel-for-social-account.mdx deleted file mode 100644 index 9eafedc..0000000 --- a/api-reference/client/socialaccount/set-channel-for-social-account.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: post /api/v1/social-account/set-channel ---- \ No newline at end of file diff --git a/api-reference/client/team/create-new-team.mdx b/api-reference/client/team/create-new-team.mdx deleted file mode 100644 index 42cc085..0000000 --- a/api-reference/client/team/create-new-team.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: post /api/v1/team/ ---- \ No newline at end of file diff --git a/api-reference/client/team/delete-team.mdx b/api-reference/client/team/delete-team.mdx deleted file mode 100644 index d81b389..0000000 --- a/api-reference/client/team/delete-team.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: delete /api/v1/team/{id} ---- \ No newline at end of file diff --git a/api-reference/client/team/get-team.mdx b/api-reference/client/team/get-team.mdx deleted file mode 100644 index 477eb49..0000000 --- a/api-reference/client/team/get-team.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/team/{id} ---- \ No newline at end of file diff --git a/api-reference/client/team/update-team.mdx b/api-reference/client/team/update-team.mdx deleted file mode 100644 index 95660c2..0000000 --- a/api-reference/client/team/update-team.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: patch /api/v1/team/{id} ---- \ No newline at end of file diff --git a/api-reference/client/upload/create-upload.mdx b/api-reference/client/upload/create-upload.mdx deleted file mode 100644 index 79892a1..0000000 --- a/api-reference/client/upload/create-upload.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: post /api/v1/upload/ ---- \ No newline at end of file diff --git a/api-reference/client/upload/delete-many-uploads.mdx b/api-reference/client/upload/delete-many-uploads.mdx deleted file mode 100644 index 1500e48..0000000 --- a/api-reference/client/upload/delete-many-uploads.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: delete /api/v1/upload/ ---- \ No newline at end of file diff --git a/api-reference/client/upload/delete-upload.mdx b/api-reference/client/upload/delete-upload.mdx deleted file mode 100644 index 18d4dc5..0000000 --- a/api-reference/client/upload/delete-upload.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: delete /api/v1/upload/{id} ---- \ No newline at end of file diff --git a/api-reference/client/upload/get-upload-list.mdx b/api-reference/client/upload/get-upload-list.mdx deleted file mode 100644 index 1dbcdd9..0000000 --- a/api-reference/client/upload/get-upload-list.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/upload/ ---- \ No newline at end of file diff --git a/api-reference/client/upload/get-upload.mdx b/api-reference/client/upload/get-upload.mdx deleted file mode 100644 index 9361b42..0000000 --- a/api-reference/client/upload/get-upload.mdx +++ /dev/null @@ -1,3 +0,0 @@ ---- -openapi: get /api/v1/upload/{id} ---- \ No newline at end of file