{"openapi":"3.1.0","info":{"title":"DarlingHub REST API","version":"1.0.0","description":"Listing advertising fees only. No booking, escrow, tips, custodial balance or payments between members. All mutation requests require the exact APP_URL Origin header; anonymous rate limiting also applies. Admin requires enrolled MFA. Development simulations are explicitly marked and never accept real money."},"servers":[{"url":"/api/v1"}],"paths":{"/config":{"get":{"operationId":"get__config","summary":"Runtime mode and brand assets","tags":["config"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/site-config":{"get":{"operationId":"get__site_config","summary":"Public site configuration. `homeLocationChips` is the admin-ordered list (max 16) of {label{th,en,zh,ko}, target{kind: province|location, id}}; `locationChips` is the same list resolved to active targets as {kind, id, slug, path, label}, where path is locale-free (`provinces/{slug}` or `location/{slug}`)","tags":["site-config"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/activities":{"get":{"operationId":"get__activities","summary":"MVP V1: approved public data only; lists support page and documented filters","tags":["activities"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/activities/{slug}":{"get":{"operationId":"get__activities_slug_","summary":"MVP V1: approved public data only; lists support page and documented filters","tags":["activities"],"security":[],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/reference":{"get":{"operationId":"get__directory_reference","summary":"MVP V1: approved public data only; lists support page and documented filters","tags":["directory"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings":{"get":{"operationId":"get__directory_listings","summary":"MVP V1: approved public data only; lists support page and documented filters","tags":["directory"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__directory_listings","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{slug}":{"get":{"operationId":"get__directory_listings_slug_","summary":"MVP V1: approved public data only; lists support page and documented filters","tags":["directory"],"security":[],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/reviews":{"get":{"operationId":"get__directory_reviews","summary":"MVP V1: approved public data only; lists support page and documented filters","tags":["directory"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__directory_reviews","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/products":{"get":{"operationId":"get__commerce_products","summary":"Active catalog: ?catalog=public returns the whole public price list (signed-out visitors included); otherwise only products the account type may buy; ?kind= filters. Catalog edits never change existing invoice snapshots.","tags":["commerce"],"security":[],"parameters":[{"name":"catalog","in":"query","schema":{"enum":["public"]}},{"name":"kind","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{id}/contact":{"post":{"operationId":"post__directory_listings_id_contact","summary":"Public approved target interaction; empty JSON body and same-origin required","tags":["directory"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{id}/view":{"post":{"operationId":"post__directory_listings_id_view","summary":"Public approved target interaction; empty JSON body and same-origin required","tags":["directory"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}/contact":{"post":{"operationId":"post__profiles_id_contact","summary":"Public approved target interaction; empty JSON body and same-origin required","tags":["profiles"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/account":{"get":{"operationId":"get__directory_account","summary":"MVP V1: current user's records only","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/my-reviews":{"get":{"operationId":"get__directory_my_reviews","summary":"MVP V1: current user's records only","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/advertisements":{"get":{"operationId":"get__directory_advertisements","summary":"MVP V1: current user's records only","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__directory_advertisements","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/statistics/{id}":{"get":{"operationId":"get__directory_statistics_id_","summary":"MVP V1: current user's records only","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders":{"get":{"operationId":"get__commerce_orders","summary":"MVP V1: current user's records only","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__commerce_orders","summary":"Create an immutable invoice: {productId, target:{type,id}, placement?, idempotencyKey, paymentMethod:ADMIN|USDT}. Price, duration, rights, wallet, token and USDT rate are snapped server-side. Missing paymentMethod is accepted only in explicit loopback mock mode. ADMIN expires after 24h; USDT after 30min.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders/{id}":{"get":{"operationId":"get__commerce_orders_id_","summary":"MVP V1: current user's records only","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{id}/submit":{"post":{"operationId":"post__directory_listings_id_submit","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{id}/publish":{"post":{"operationId":"post__directory_listings_id_publish","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{id}/invitations":{"post":{"operationId":"post__directory_listings_id_invitations","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/memberships/{id}/respond":{"post":{"operationId":"post__directory_memberships_id_respond","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/memberships/{id}/revoke":{"post":{"operationId":"post__directory_memberships_id_revoke","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/quote":{"post":{"operationId":"post__commerce_quote","summary":"Owner-authorized action. Payment methods and server-side production gates apply to checkout.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders/{id}/simulate":{"post":{"operationId":"post__commerce_orders_id_simulate","summary":"Development only: mock order settlement requires both mock flags, loopback APP_URL and a mock invoice. Always rejected for live invoices.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/listings/{id}":{"patch":{"operationId":"patch__directory_listings_id_","summary":"MVP V1: owner or explicit agency consent; optimistic updatedAt required","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/memberships/{id}/profile":{"patch":{"operationId":"patch__directory_memberships_id_profile","summary":"MVP V1: owner or explicit agency consent; optimistic updatedAt required","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"get__directory_memberships_id_profile","summary":"Agency owner's delegated editor; checks current consent, package and quota","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/directory":{"get":{"operationId":"get__admin_directory","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/reviews":{"get":{"operationId":"get__admin_reviews","summary":"Administrator (MFA) review audit/takedown view, newest first; reviews publish at creation. Each item carries `openReports`; reported=true lists only reviews with an open report; status filters as before","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"reported","in":"query","required":false,"schema":{"type":"string","enum":["true","false"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/reference":{"get":{"operationId":"get__admin_reference","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/activities":{"get":{"operationId":"get__admin_activities","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__admin_activities","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/directory/media":{"get":{"operationId":"get__admin_directory_media","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/site-config":{"get":{"operationId":"get__admin_site_config","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__admin_site_config","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce":{"get":{"operationId":"get__admin_commerce","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/ads":{"get":{"operationId":"get__admin_ads","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__admin_ads","summary":"Admin + MFA creates ads; requires reason","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/mvp-overview":{"get":{"operationId":"get__admin_mvp_overview","summary":"MVP V1: administrator with MFA required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/directory/{id}/review":{"post":{"operationId":"post__admin_directory_id_review","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/directory/{id}/verification":{"post":{"operationId":"post__admin_directory_id_verification","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/reviews/{id}/review":{"post":{"operationId":"post__admin_reviews_id_review","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/locations":{"post":{"operationId":"post__admin_locations","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/categories":{"post":{"operationId":"post__admin_categories","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/provinces":{"post":{"operationId":"post__admin_provinces","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/products":{"post":{"operationId":"post__admin_commerce_products","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/rules":{"post":{"operationId":"post__admin_commerce_rules","summary":"MVP V1: audited administrator action; reason required, existing record requires updatedAt","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/locations/{id}":{"patch":{"operationId":"patch__admin_locations_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/categories/{id}":{"patch":{"operationId":"patch__admin_categories_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/provinces/{id}":{"patch":{"operationId":"patch__admin_provinces_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/activities/{id}":{"patch":{"operationId":"patch__admin_activities_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/directory/media/{id}":{"patch":{"operationId":"patch__admin_directory_media_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/products/{id}":{"patch":{"operationId":"patch__admin_commerce_products_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/rules/{id}":{"patch":{"operationId":"patch__admin_commerce_rules_id_","summary":"MVP V1: administrator with MFA and audit reason; no arbitrary settings","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/reviews/{id}/evidence":{"get":{"operationId":"get__admin_reviews_id_evidence","summary":"Private review evidence: administrator MFA and audited reason query required","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/media":{"post":{"operationId":"post__directory_media","summary":"Owner image upload; signature/malware validation, metadata removal and manual content approval","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file","kind"],"properties":{"file":{"type":"string","format":"binary"},"listingId":{"type":"string"},"kind":{"enum":["GALLERY","LOGO","BANNER","SITE","ACTIVITY","AD"]}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/media/{id}":{"get":{"operationId":"get__directory_media_id_","summary":"Authorized private image or approved image currently used by public content","tags":["directory"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/review-photos":{"post":{"operationId":"post__review_photos","summary":"Member review photo draft (JPEG/PNG/WebP ≤ 8 MiB, ≥ 100 px); signature and malware checks, EXIF removal, watermark; attach with photoIds + photoConsent on POST /directory/reviews within 24 hours","tags":["review-photos"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"additionalProperties":false,"properties":{"file":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/review-photos/{id}":{"get":{"operationId":"get__review_photos_id_","summary":"Approved photo of a currently public review, or the author's own/ADMIN+MFA evidence; private S3 URLs expire after 60 seconds","tags":["review-photos"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__review_photos_id_","summary":"Author removes a draft (no body) or an attached photo (JSON {updatedAt} of the review); files kept for the retention period","tags":["review-photos"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/review-photos/{id}/thumb":{"get":{"operationId":"get__review_photos_id_thumb","summary":"Thumbnail with the same per-request visibility check as the full photo","tags":["review-photos"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/ads/{id}/view":{"post":{"operationId":"post__ads_id_view","summary":"Record anonymous advertisement impression for a currently eligible advertisement","tags":["ads"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/consent":{"get":{"operationId":"get__consent","summary":"Current optional analytics consent","tags":["consent"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__consent","summary":"Set or withdraw optional analytics consent; signed-in consent record persisted","tags":["consent"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/analytics":{"post":{"operationId":"post__analytics","summary":"Allowlisted anonymous page events only after consent; rejects extra data","tags":["analytics"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"get":{"operationId":"get__analytics","summary":"Own profile views/favorites and package-gated daily aggregates","tags":["analytics"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/content/{slug}":{"get":{"operationId":"get__content_slug_","summary":"Approved plain-text content overrides, locale query th, en, zh or ko; legal remains draft","tags":["content"],"security":[],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/ads/{id}":{"patch":{"operationId":"patch__admin_ads_id_","summary":"Edit one existing advertisement with reason and before/after audit","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/networks/{id}":{"patch":{"operationId":"patch__admin_networks_id_","summary":"Configure EVM network; live enablement requires owner environment approval","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/support/{id}":{"patch":{"operationId":"patch__admin_support_id_","summary":"Update support ticket status with reason and audit","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/register":{"post":{"operationId":"post__auth_register","summary":"Start email signup (age 20+ attestation). Emails a browser-bound 6-digit code and always answers {sent,resendAfterSeconds}, whether or not the address has an account; no account or session exists until the code is entered at /auth/email/verify {code}","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Register"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/login":{"post":{"operationId":"post__auth_login","summary":"Create a database session; admins must complete MFA","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Login"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/me":{"get":{"operationId":"get__auth_me","summary":"Current safe account or null","tags":["auth"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/options":{"get":{"operationId":"get__auth_options","summary":"Configured sign-in methods; disabled providers are never simulated","tags":["auth"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/methods":{"get":{"operationId":"get__auth_methods","summary":"Current account's linked sign-in providers; no provider tokens","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/phone/request":{"post":{"operationId":"post__auth_phone_request","summary":"Send browser-bound OTP. {phone,mode:register|login,locale,registration?:{accountType,acceptTerms:true,ageConfirmed:true}}. Registration needs consent. No email or password required.","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/phone/verify":{"post":{"operationId":"post__auth_phone_verify","summary":"Consume current browser's OTP {code}. Returns safe user and MFA requirement; session is HttpOnly and not in JSON.","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/social/google/start":{"post":{"operationId":"post__auth_social_google_start","summary":"Start register/login/link. Registration needs terms and age consent; linking requires a recent authenticated session. Fixed callback and browser-bound state.","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/social/google/callback":{"get":{"operationId":"get__auth_social_google_callback","summary":"Single-use OAuth callback. Validates provider identity, never auto-links by email; redirects to MFA if required.","tags":["auth"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/social/facebook/start":{"post":{"operationId":"post__auth_social_facebook_start","summary":"Start register/login/link. Registration needs terms and age consent; linking requires a recent authenticated session. Fixed callback and browser-bound state.","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/social/facebook/callback":{"get":{"operationId":"get__auth_social_facebook_callback","summary":"Single-use OAuth callback. Validates provider identity, never auto-links by email; redirects to MFA if required.","tags":["auth"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/logout":{"post":{"operationId":"post__auth_logout","summary":"Account action: logout","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/request-email":{"post":{"operationId":"post__auth_request_email","summary":"Account action: request-email","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/verify-email":{"post":{"operationId":"post__auth_verify_email","summary":"Account action: verify-email","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/request-phone":{"post":{"operationId":"post__auth_request_phone","summary":"Account action: request-phone","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/verify-phone":{"post":{"operationId":"post__auth_verify_phone","summary":"Account action: verify-phone","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/forgot-password":{"post":{"operationId":"post__auth_forgot_password","summary":"Account action: forgot-password","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/reset-password":{"post":{"operationId":"post__auth_reset_password","summary":"Account action: reset-password","tags":["auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/mfa/setup":{"post":{"operationId":"post__auth_mfa_setup","summary":"Account action: mfa/setup","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/mfa/enable":{"post":{"operationId":"post__auth_mfa_enable","summary":"Account action: mfa/enable","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/auth/mfa/verify":{"post":{"operationId":"post__auth_mfa_verify","summary":"Account action: mfa/verify","tags":["auth"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/provinces":{"get":{"operationId":"get__provinces","summary":"Read provinces; only approved public content","tags":["provinces"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/packages":{"get":{"operationId":"get__packages","summary":"Read packages; only approved public content","tags":["packages"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/shops":{"get":{"operationId":"get__shops","summary":"Read shops; only approved public content","tags":["shops"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__shops","summary":"Submit a lawful wellness shop for review","tags":["shops"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/forum":{"get":{"operationId":"get__forum","summary":"Read forum; only approved public content","tags":["forum"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__forum","summary":"Submit new topic for review","tags":["forum"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/ads":{"get":{"operationId":"get__ads","summary":"Read ads; only approved public content","tags":["ads"],"security":[],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles":{"get":{"operationId":"get__profiles","summary":"Read approved public profiles. Default (relevance) order is tier 1 Boost (newest first) → tier 2 recommended (VIP profile promotion / legacy featured) → everyone else; every item carries boolean `boosted` (SUPER STAR = tier 1) and boolean `isOnline` (false only for member VIP viewers, who also see offline profiles outside the home page). With rotation=home (online profiles only, for every viewer) the response is {items, total, page:1, pageSize, pinnedCount, nextRotationAt}: all pinned Boost profiles first (homeSlot PINNED, safety cap 40) followed by up to 10 rotating recommended profiles (homeSlot ROTATION, 10-minute window)","tags":["profiles"],"security":[],"parameters":[{"name":"rotation","in":"query","required":false,"schema":{"type":"string","enum":["home"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__profiles","summary":"Create a private provider draft; verification required before submission and publication","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/explore/search":{"get":{"operationId":"get__explore_search","summary":"V2 search. Response {launch_zone{mode, status UNRESTRICTED|LIVE|COMING_SOON (display only, never delists)}, sponsored_slots[] (page 1 only; each {slot, placement SUPER_STAR_PIN|FEATURED_ROTATION|LOCATION_SPOTLIGHT|CATEGORY_SPOTLIGHT|BOOST, badge_label \"Sponsored\", ends_at, entitlement_id, profile}), organic_results{items,total,page,pageSize,ranking{order, paymentFactor:false, signals, weights}}}. Organic results are ranked without payment (relevance, area-level distance, freshness, verification, reputation; admin weights) and carry no paid flag; both lists use the same filters and viewer visibility. Accepts the /profiles filters (rotation, ids and featured are ignored). VIP Discovery members may add hasReviews=true, updatedWithin=7|30 and withPrice=true; for anyone else those filters are silently ignored. Serving Sponsored slots records one anonymous PROMOTION_IMPRESSION per entitlement","tags":["explore"],"security":[],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100}},{"name":"province","in":"query","required":false,"schema":{"type":"string"}},{"name":"locationId","in":"query","required":false,"schema":{"type":"string"}},{"name":"categoryId","in":"query","required":false,"schema":{"type":"string"}},{"name":"sort","in":"query","required":false,"schema":{"enum":["relevance","recent","updated","newest","popular"]}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1}},{"name":"hasReviews","in":"query","required":false,"schema":{"enum":["true"]}},{"name":"updatedWithin","in":"query","required":false,"schema":{"enum":["7","30"]}},{"name":"withPrice","in":"query","required":false,"schema":{"enum":["true"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/search-settings":{"get":{"operationId":"get__admin_search_settings","summary":"Administrator (MFA): organic ranking weights {weights, defaults, paymentFactor:false} and launch zones {mode ALL_ACTIVE|LISTED, provinceIds, locationIds}","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__admin_search_settings","summary":"Administrator (MFA): {weights?, launchZones?, reason} — organic weights are integers 0–10 (at least one above 0, never a payment factor); LISTED launch zones need at least one active province/location. Every change is audited with the reason","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/stories":{"get":{"operationId":"get__stories","summary":"Read current approved public stories, newest first, as {items, total}. Without profileId only online profiles appear (home/explore rails); with profileId a member VIP also sees an offline profile's stories. showcase=superstar keeps SUPER STAR (tier 1 Boost) profiles, showcase=star everyone else. Each item's profile carries boolean `superstar` (same rule as a profile's `boosted`)","tags":["stories"],"security":[],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},{"name":"profileId","in":"query","required":false,"schema":{"type":"string"}},{"name":"showcase","in":"query","required":false,"schema":{"type":"string","enum":["superstar","star"]}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/stories/{id}/media":{"get":{"operationId":"get__stories_id_media","summary":"Story media bytes for a currently visible story (owner and staff also see their own/queued items); supports Range","tags":["stories"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/stories/{id}/poster":{"get":{"operationId":"get__stories_id_poster","summary":"Story poster image for a currently visible story","tags":["stories"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{slug}":{"get":{"operationId":"get__profiles_slug_","summary":"Read approved active public profile with verified identity; new MVP listings publish free","tags":["profiles"],"security":[],"parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/forum/{id}":{"get":{"operationId":"get__forum_id_","summary":"Read approved topic and approved replies","tags":["forum"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}":{"patch":{"operationId":"patch__profiles_id_","summary":"Edit own profile; invalidates approval and public visibility","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}/preview":{"get":{"operationId":"get__profiles_id_preview","summary":"Owner-only preview","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}/submit":{"post":{"operationId":"post__profiles_id_submit","summary":"Submit a draft for mandatory manual review","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}/status":{"post":{"operationId":"post__profiles_id_status","summary":"Owner pause/archive/activate; all server gates are rechecked","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}/online":{"post":{"operationId":"post__profiles_id_online","summary":"Owner-declared ready-to-work switch; offline hides the profile publicly without re-review. Not real-time presence","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnlineInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/directory/memberships/{id}/online":{"post":{"operationId":"post__directory_memberships_id_online","summary":"Consented agency switches an ACTIVE member profile online/offline without re-review; the owner is notified","tags":["directory"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnlineInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/profiles/{id}/boost":{"post":{"operationId":"post__profiles_id_boost","summary":"Use one current paid snapshot boost; repeat during active boost is idempotent; expiry capped by paid coverage","tags":["profiles"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/profile/{id}/restore":{"post":{"operationId":"post__moderation_profile_id_restore","summary":"Independent staff restores suspended/archived listing to changes-requested review; never activates it","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/verification":{"get":{"operationId":"get__verification","summary":"Own private verification status and document IDs/dates only; no file URLs or storage keys","tags":["verification"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__verification","summary":"Create a private MANUAL_SELFIE draft for a profile owner. Requires one verified sign-in channel and age 20+. Upload one photo holding a darlinghub.vip paper and identity card via /media kind identity, then submit separately. Customers cannot use this workflow.","tags":["verification"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/verification/status":{"post":{"operationId":"post__verification_status","summary":"Read current manual review status, or poll an existing historical vendor case; never approves a publisher automatically","tags":["verification"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/provider/verification/status":{"post":{"operationId":"post__provider_verification_status","summary":"Alias for owner identity polling","tags":["provider"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/verification/submit":{"post":{"operationId":"post__verification_submit","summary":"Submit current manual draft only when it has a current unexpired private photo. Freezes uploads and queues administrator review. No automatic public listing.","tags":["verification"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/verification/documents/{id}/remove":{"post":{"operationId":"post__verification_documents_id_remove","summary":"Expire your current unsubmitted manual identity photo. Submitted evidence is frozen; private storage is removed by the retention worker.","tags":["verification"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/dashboard":{"get":{"operationId":"get__dashboard","summary":"Own profile, payments, subscriptions and statistics","tags":["dashboard"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/account":{"patch":{"operationId":"patch__account","summary":"Edit own privacy, notifications, name and locale","tags":["account"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/account/delete":{"post":{"operationId":"post__account_delete","summary":"Password-confirmed closure, session revoke and scheduled erasure","tags":["account"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/account/sessions":{"get":{"operationId":"get__account_sessions","summary":"Own session list, without bearer tokens","tags":["account"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/account/sessions/{id}":{"delete":{"operationId":"delete__account_sessions_id_","summary":"Revoke own session","tags":["account"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/account/login-history":{"get":{"operationId":"get__account_login_history","summary":"Own security history","tags":["account"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/payments":{"get":{"operationId":"get__payments","summary":"Own listing fee payment intents","tags":["payments"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__payments","summary":"Retired (410). Create orders through the current /commerce/orders catalog instead. Historical payment records remain readable.","tags":["payments"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/payments/{id}":{"get":{"operationId":"get__payments_id_","summary":"Own payment state, confirmations and subscription","tags":["payments"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/payments/{id}/transaction":{"post":{"operationId":"post__payments_id_transaction","summary":"Attach a transaction hash; never trusts client transfer details","tags":["payments"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/payments/{id}/refresh":{"post":{"operationId":"post__payments_id_refresh","summary":"Idempotently verify provider receipt and attempt activation","tags":["payments"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/payments/{id}/simulate":{"post":{"operationId":"post__payments_id_simulate","summary":"Development-only receipt scenario; never real funds","tags":["payments"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimulationInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/media":{"post":{"operationId":"post__media","summary":"Upload image/video to quarantine, scan and transform before manual moderation","tags":["media"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","required":["file","kind"],"properties":{"file":{"type":"string","format":"binary"},"kind":{"type":"string","enum":["profile","identity"]},"profileId":{"type":"string"}}}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/media/{id}":{"get":{"operationId":"get__media_id_","summary":"Public approved media or owner/staff access; private S3 URLs expire after 60 seconds","tags":["media"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/favorites":{"get":{"operationId":"get__favorites","summary":"Own favorites; object-level authorization enforced","tags":["favorites"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__favorites","summary":"Save an active public profile","tags":["favorites"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/messages":{"get":{"operationId":"get__messages","summary":"Own messages; object-level authorization enforced","tags":["messages"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__messages","summary":"Verified user creates a private conversation","tags":["messages"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/reports":{"get":{"operationId":"get__reports","summary":"Own reports; object-level authorization enforced","tags":["reports"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__reports","summary":"Report profile, conversation or content","tags":["reports"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/notifications":{"get":{"operationId":"get__notifications","summary":"Own notifications; object-level authorization enforced","tags":["notifications"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/favorites/{id}":{"delete":{"operationId":"delete__favorites_id_","summary":"Remove own favorite","tags":["favorites"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/messages/{id}":{"get":{"operationId":"get__messages_id_","summary":"Only thread members may read messages","tags":["messages"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__messages_id_","summary":"Send encrypted message, subject to block/privacy/rate rules","tags":["messages"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/blocks":{"post":{"operationId":"post__blocks","summary":"Block another account","tags":["blocks"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/notifications/{id}":{"patch":{"operationId":"patch__notifications_id_","summary":"Mark own notification read","tags":["notifications"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/forum/{id}/replies":{"post":{"operationId":"post__forum_id_replies","summary":"Submit reply for review","tags":["forum"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/ads/{id}/click":{"post":{"operationId":"post__ads_id_click","summary":"Record active ad click; return approved HTTPS destination","tags":["ads"],"security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/support":{"post":{"operationId":"post__support","summary":"Submit support ticket","tags":["support"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation":{"get":{"operationId":"get__moderation","summary":"Moderator/admin queues (no raw identity documents)","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/{type}/{id}":{"post":{"operationId":"post__moderation_type_id_","summary":"Review identity, profile, media, report, topic, reply or shop","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"type","in":"path","required":true,"schema":{"type":"string"}},{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModerationInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/identity/{id}/claim":{"post":{"operationId":"post__moderation_identity_id_claim","summary":"Claim a pending review and enter UNDER_REVIEW; only admin may take another staff claim","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/profile/{id}/claim":{"post":{"operationId":"post__moderation_profile_id_claim","summary":"Claim a pending review and enter UNDER_REVIEW; only admin may take another staff claim","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/profile/{id}/tags":{"post":{"operationId":"post__moderation_profile_id_tags","summary":"Replace approved search tags with audited staff labels; empty list clears tags","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovedTagsInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/reported-messages/{id}":{"get":{"operationId":"get__moderation_reported_messages_id_","summary":"Read messages only for an open report; audited access reason in the POST body {reason} or the URI-encoded X-Access-Reason header on GET (never in the URL)","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__moderation_reported_messages_id_","summary":"Read messages only for an open report; audited access reason in the POST body {reason} or the URI-encoded X-Access-Reason header on GET (never in the URL)","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReasonInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderation/identity-document/{id}":{"get":{"operationId":"get__moderation_identity_document_id_","summary":"Requires kyc:read permission; audited access reason in the POST body {reason} or the URI-encoded X-Access-Reason header on GET (never in the URL); encrypted KYC file audited on read","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__moderation_identity_document_id_","summary":"Requires kyc:read permission; audited access reason in the POST body {reason} or the URI-encoded X-Access-Reason header on GET (never in the URL); encrypted KYC file audited on read","tags":["moderation"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessReasonInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/reviews":{"post":{"operationId":"post__reviews","summary":"V2 alias of POST /directory/reviews: structured review (three 1–5 dimensions, overall = rounded average), published at once after automatic checks","tags":["reviews"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/reviews/{id}/dispute":{"post":{"operationId":"post__reviews_id_dispute","summary":"Reviewed profile owner, managing agency owner or listing owner disputes a public review (one OPEN per review, rate limited); the review stays public while OPEN; audited REVIEW_DISPUTE_OPENED and staff notified","tags":["reviews"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewDisputeInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/reviews/disputes":{"get":{"operationId":"get__reviews_disputes","summary":"Disputes the signed-in user filed, newest first, with status and decision reason","tags":["reviews"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderator/queue":{"get":{"operationId":"get__moderator_queue","summary":"ADMIN or MODERATOR with MFA: identities, profiles, media, reports, stories, pending businesses, open review disputes, reported reviews (plus legacy queues)","tags":["moderator"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/moderator/decision":{"post":{"operationId":"post__moderator_decision","summary":"ADMIN or MODERATOR with MFA: one decision dispatched to the queue's existing action (same validation, permissions, versioning and audit). Moderators may decide businesses, hide/restore reviews and photos and decide disputes; review deletion stays ADMIN","tags":["moderator"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModeratorDecisionInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin":{"get":{"operationId":"get__admin","summary":"Admin + MFA required; safe operations dashboard/export","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/audit":{"get":{"operationId":"get__admin_audit","summary":"Admin + MFA required; safe operations dashboard/export","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/security":{"get":{"operationId":"get__admin_security","summary":"Admin + MFA required; safe operations dashboard/export","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/export":{"get":{"operationId":"get__admin_export","summary":"Admin + MFA required; safe operations dashboard/export","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/packages/{id}":{"patch":{"operationId":"patch__admin_packages_id_","summary":"Admin + MFA edits packages; requires reason; audit before/after","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/users/{id}":{"patch":{"operationId":"patch__admin_users_id_","summary":"Admin + MFA edits users; requires reason; audit before/after","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/wallets":{"post":{"operationId":"post__admin_wallets","summary":"Admin + MFA creates wallets; requires reason","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/refunds":{"post":{"operationId":"post__admin_refunds","summary":"Admin + MFA creates refunds; requires reason","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/settings":{"patch":{"operationId":"patch__admin_settings","summary":"Edit approved content settings only; environment/secret/payment flags cannot be changed here","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/payments/{id}/review":{"post":{"operationId":"post__admin_payments_id_review","summary":"Manual review still validates exact receipt and independent publication gates","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/refunds/{id}/approve":{"post":{"operationId":"post__admin_refunds_id_approve","summary":"Two distinct admins approve a manual refund; no transfer is signed","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm":{"get":{"operationId":"get__admin_crm","summary":"Admin + MFA: paginated contacts and filtered counts, up to 10 open tasks overdue/due in the next 7 days, and 20 recent proposal deals. Unknown query parameters are rejected.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":""},"description":"Case-insensitive search of contact name, company, email or phone; whitespace is trimmed."},{"name":"kind","in":"query","required":false,"schema":{"type":"string","enum":["MEMBER","ADVERTISER","BOTH"]}},{"name":"ownerId","in":"query","required":false,"schema":{"type":"string","minLength":1,"maxLength":100},"description":"Filter by assigned administrator ID. Omit to include every owner and unassigned contacts."},{"name":"archived","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"},"description":"Select archived or nonarchived contacts; only lowercase literal true/false is accepted."},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":10000,"default":1}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":50,"default":20}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/members":{"get":{"operationId":"get__admin_crm_members","summary":"Admin + MFA: search active customer/provider accounts to link to CRM; q, at most 20 narrow records","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":""},"description":"Search member name or email. Returns up to 20 records and total count. q is the only accepted query parameter."}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/contacts/{id}":{"get":{"operationId":"get__admin_crm_contacts_id_","summary":"Admin + MFA: contact; up to 100 notes/tasks/deals each, 30 audit events, and 20 linked member payments/support tickets each. No authentication, KYC secrets or private conversations.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"patch":{"operationId":"patch__admin_crm_contacts_id_","summary":"Admin + MFA: update with reason and expected updatedAt; stale records return 409. Contacts archive/unarchive; notes are append-only.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmContactPatchInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/contacts":{"post":{"operationId":"post__admin_crm_contacts","summary":"Admin + MFA: create CRM record with active admin recheck and atomic audit; reason required except note body, no external communications or financial transfer","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmContactCreateInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/notes":{"post":{"operationId":"post__admin_crm_notes","summary":"Admin + MFA: create CRM record with active admin recheck and atomic audit; reason required except note body, no external communications or financial transfer","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmNoteCreateInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/tasks":{"post":{"operationId":"post__admin_crm_tasks","summary":"Admin + MFA: create CRM record with active admin recheck and atomic audit; reason required except note body, no external communications or financial transfer","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmTaskCreateInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/tasks/{id}":{"patch":{"operationId":"patch__admin_crm_tasks_id_","summary":"Admin + MFA: update with reason and expected updatedAt; stale records return 409. Contacts archive/unarchive; notes are append-only.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmTaskPatchInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/deals":{"post":{"operationId":"post__admin_crm_deals","summary":"Admin + MFA: create CRM record with active admin recheck and atomic audit; reason required except note body, no external communications or financial transfer","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmDealCreateInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/crm/deals/{id}":{"patch":{"operationId":"patch__admin_crm_deals_id_","summary":"Admin + MFA: update with reason and expected updatedAt; stale records return 409. Contacts archive/unarchive; notes are append-only.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrmDealPatchInput"}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/checkout":{"get":{"operationId":"get__commerce_checkout","summary":"Available ADMIN / USDT payment methods, configured admin contact links, public network/rate and local-only simulation flag. Never includes provider credentials.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders/{id}/notify-payment":{"post":{"operationId":"post__commerce_orders_id_notify_payment","summary":"Owner: {note} records an ADMIN payment claim; grants no rights. Send statement evidence directly to the configured admin channel. Authenticated and rate limited.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders/{id}/transaction":{"post":{"operationId":"post__commerce_orders_id_transaction","summary":"Owner: {transactionHash} submits one unique USDT transaction hash. TRON accepts 64 hex characters; EVM also permits 0x. On-chain verification independently checks network, official TRON USDT contract, recipient, exact amount, execution, time and confirmations. Invalid/late evidence remains under review with no entitlement.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders/{id}/refresh":{"post":{"operationId":"post__commerce_orders_id_refresh","summary":"Owner: independently recheck USDT settlement (60s provider lease). Rate limited. Confirmed receipts and entitlement grants are idempotent.","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/orders/{id}/settle":{"post":{"operationId":"post__admin_commerce_orders_id_settle","summary":"ADMIN + MFA only: {reference, receivedAmountMinor, receivedAt, note}. Requires actual statement review, exact THB amount, unique reference, payment inside invoice window, a submitted ADMIN claim, and a different payer. Atomically records payment, grants rights, audits and notifies. Cannot bypass USDT verification.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/orders/{id}/review":{"post":{"operationId":"post__admin_commerce_orders_id_review","summary":"ADMIN + MFA: {note,recheck?}. Holds an unconfirmed submitted payment for review. recheck:true releases a USDT hold to independent chain verification; never manually grants USDT rights. Audited; finalized payments are locked.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/admin/commerce/orders/{id}/refresh":{"post":{"operationId":"post__admin_commerce_orders_id_refresh","summary":"ADMIN + MFA: recheck USDT through the same independent chain verifier. Manual holds require an audited review release first.","tags":["admin"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/commerce/orders/{id}/cancel":{"post":{"operationId":"post__commerce_orders_id_cancel","summary":"V2: the buyer cancels their own unpaid (PENDING, not expired) order; optional body {reason} (3-500 chars); audited COMMERCE_ORDER_CANCELLED; paid orders are never reversed here. Order DTOs carry a derived lifecycle PENDING|PAID|ACTIVE|EXPIRED|CANCELLED|FAILED and nullable paymentGatewayRef, receiptUrl, taxInvoiceData","tags":["commerce"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/promotions/events":{"post":{"operationId":"post__promotions_events","summary":"V2 promotion result: {name: PROMOTION_IMPRESSION|PROMOTION_CLICK, entitlementId? , profileId?} for a Sponsored card; anonymous counter attributed to the current paid promotion (rate limited, no viewer data stored)","tags":["promotions"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/vip/saved-searches":{"get":{"operationId":"get__vip_saved_searches","summary":"VIP Discovery: the member's saved searches (readable after VIP ends) with limit, canSave and alerts flags","tags":["vip"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"post":{"operationId":"post__vip_saved_searches","summary":"VIP Discovery (active VIP required): {name, query, alertsEnabled?}; query keeps allowed Explore filters only; at most 10 per member","tags":["vip"],"security":[{"sessionCookie":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/vip/saved-searches/{id}":{"patch":{"operationId":"patch__vip_saved_searches_id_","summary":"VIP Discovery: rename or toggle alerts {name?, alertsEnabled?}; alerts need the VIP alerts right","tags":["vip"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}},"delete":{"operationId":"delete__vip_saved_searches_id_","summary":"Delete one of the member's saved searches (allowed after VIP ends)","tags":["vip"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/vip/compare":{"get":{"operationId":"get__vip_compare","summary":"VIP Discovery (active VIP required): up to 3 profiles side by side (?ids=a,b,c), public profile fields only, under the viewer's normal visibility","tags":["vip"],"security":[{"sessionCookie":[]}],"parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}},"/analytics/provider":{"get":{"operationId":"get__analytics_provider","summary":"Provider dashboard: views -> saves -> contact clicks -> promotion results (impressions, clicks per paid promotion); daily series only with an active Provider Pro (advanced statistics)","tags":["analytics"],"security":[{"sessionCookie":[]}],"parameters":[],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"201":{"description":"Resource created"},"202":{"description":"Processing queued"},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"403":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}}}}},"components":{"securitySchemes":{"sessionCookie":{"type":"apiKey","in":"cookie","name":"bkk_session","description":"HttpOnly Secure SameSite=Lax database-backed opaque session"}},"responses":{"Error":{"description":"Structured validation, authentication, authorization, rate or availability error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"CrmContactCreateInput":{"type":"object","additionalProperties":false,"required":["name","kind","reason"],"properties":{"name":{"type":"string","minLength":2,"maxLength":150,"description":"Trimmed contact name."},"company":{"type":["string","null"],"minLength":1,"maxLength":150,"description":"Trimmed company name; null clears it."},"email":{"type":["string","null"],"format":"email","maxLength":254,"description":"Trimmed and lowercased by the server; null clears it."},"phone":{"type":["string","null"],"pattern":"^\\+?\\d[\\d ().-]{5,29}$","description":"Trimmed contact telephone number; null clears it."},"kind":{"type":"string","enum":["MEMBER","ADVERTISER","BOTH"]},"userId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"Optional link to one active CUSTOMER or PROVIDER account. Once non-null, this link cannot be changed or removed. An account can belong to only one CRM contact."},"ownerId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"An active administrator's ID, or null to leave unassigned."},"archived":{"type":"boolean","description":"Contacts start unarchived when omitted. An archived contact can only be restored with an archived:false patch and no other changed field."},"reason":{"type":"string","minLength":5,"maxLength":1000,"description":"Trimmed reason recorded in the audit log. Do not include credentials or unnecessary personal information."}}},"CrmContactPatchInput":{"type":"object","additionalProperties":false,"required":["updatedAt","reason"],"minProperties":3,"description":"Supply at least one changed field. An existing member link is immutable. Archived contacts only accept archived:false with updatedAt and reason; edit other fields after restoring them.","properties":{"name":{"type":"string","minLength":2,"maxLength":150,"description":"Trimmed contact name."},"company":{"type":["string","null"],"minLength":1,"maxLength":150,"description":"Trimmed company name; null clears it."},"email":{"type":["string","null"],"format":"email","maxLength":254,"description":"Trimmed and lowercased by the server; null clears it."},"phone":{"type":["string","null"],"pattern":"^\\+?\\d[\\d ().-]{5,29}$","description":"Trimmed contact telephone number; null clears it."},"kind":{"type":"string","enum":["MEMBER","ADVERTISER","BOTH"]},"userId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"Optional link to one active CUSTOMER or PROVIDER account. Once non-null, this link cannot be changed or removed. An account can belong to only one CRM contact."},"ownerId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"An active administrator's ID, or null to leave unassigned."},"archived":{"type":"boolean","description":"Contacts start unarchived when omitted. An archived contact can only be restored with an archived:false patch and no other changed field."},"updatedAt":{"type":"string","format":"date-time","description":"Exact updatedAt from the current record. Stale versions return 409; reload before retrying."},"reason":{"type":"string","minLength":5,"maxLength":1000,"description":"Trimmed reason recorded in the audit log. Do not include credentials or unnecessary personal information."}}},"CrmNoteCreateInput":{"type":"object","additionalProperties":false,"required":["contactId","body"],"description":"Append-only note for a nonarchived contact. Author and audit reason are assigned by the server; no reason or authorId input is accepted.","properties":{"contactId":{"type":"string","minLength":1,"maxLength":100},"body":{"type":"string","minLength":2,"maxLength":5000,"description":"Trimmed note text."}}},"CrmTaskCreateInput":{"type":"object","additionalProperties":false,"required":["contactId","title","dueAt","reason"],"description":"Create a follow-up for a nonarchived contact. CreatedById and completion timestamps are assigned by the server.","properties":{"contactId":{"type":"string","minLength":1,"maxLength":100},"title":{"type":"string","minLength":2,"maxLength":200,"description":"Trimmed follow-up title."},"dueAt":{"type":"string","format":"date-time","description":"ISO 8601 date-time with Z or a numeric offset. The resulting UTC year must be between 2000 and 2100 inclusive."},"ownerId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"An active administrator's ID, or null to leave unassigned."},"completed":{"type":"boolean","description":"True marks completion using server time; false reopens the task. Omitted on creation means incomplete. The response uses completedAt, never this input field."},"reason":{"type":"string","minLength":5,"maxLength":1000,"description":"Trimmed reason recorded in the audit log. Do not include credentials or unnecessary personal information."}}},"CrmTaskPatchInput":{"type":"object","additionalProperties":false,"required":["updatedAt","reason"],"minProperties":3,"description":"Supply at least one changed field. The parent contact must be nonarchived. Contact reassignment and completedAt input are not accepted.","properties":{"title":{"type":"string","minLength":2,"maxLength":200,"description":"Trimmed follow-up title."},"dueAt":{"type":"string","format":"date-time","description":"ISO 8601 date-time with Z or a numeric offset. The resulting UTC year must be between 2000 and 2100 inclusive."},"ownerId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"An active administrator's ID, or null to leave unassigned."},"completed":{"type":"boolean","description":"True marks completion using server time; false reopens the task. Omitted on creation means incomplete. The response uses completedAt, never this input field."},"updatedAt":{"type":"string","format":"date-time","description":"Exact updatedAt from the current record. Stale versions return 409; reload before retrying."},"reason":{"type":"string","minLength":5,"maxLength":1000,"description":"Trimmed reason recorded in the audit log. Do not include credentials or unnecessary personal information."}}},"CrmDealCreateInput":{"type":"object","additionalProperties":false,"required":["contactId","title","amount","currency","stage","reason"],"description":"Create a proposal for a nonarchived contact. This does not collect funds, issue documents, or publish an advertisement.","properties":{"contactId":{"type":"string","minLength":1,"maxLength":100},"title":{"type":"string","minLength":2,"maxLength":200,"description":"Trimmed proposal title."},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,9})(\\.\\d{1,2})?$","description":"Nonnegative exact decimal string, at most 10 integer and 2 fractional digits (0 through 9999999999.99). JSON numbers, exponents, and extra precision are rejected. This is a proposal value, not a received payment.","examples":["0.00","1250.25"]},"currency":{"type":"string","enum":["THB","USD","USDT"]},"stage":{"type":"string","enum":["NEW","CONTACTED","PROPOSAL","WON","LOST"]},"expectedCloseAt":{"type":["string","null"],"format":"date-time","description":"ISO 8601 date-time with Z or a numeric offset. The resulting UTC year must be between 2000 and 2100 inclusive."},"renewalAt":{"type":["string","null"],"format":"date-time","description":"ISO 8601 date-time with Z or a numeric offset. The resulting UTC year must be between 2000 and 2100 inclusive."},"ownerId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"An active administrator's ID, or null to leave unassigned."},"reason":{"type":"string","minLength":5,"maxLength":1000,"description":"Trimmed reason recorded in the audit log. Do not include credentials or unnecessary personal information."}}},"CrmDealPatchInput":{"type":"object","additionalProperties":false,"required":["updatedAt","reason"],"minProperties":3,"description":"Supply at least one changed field. The parent contact must be nonarchived; contactId cannot be changed. Nullable dates/ownerId accept null to clear their values.","properties":{"title":{"type":"string","minLength":2,"maxLength":200,"description":"Trimmed proposal title."},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,9})(\\.\\d{1,2})?$","description":"Nonnegative exact decimal string, at most 10 integer and 2 fractional digits (0 through 9999999999.99). JSON numbers, exponents, and extra precision are rejected. This is a proposal value, not a received payment.","examples":["0.00","1250.25"]},"currency":{"type":"string","enum":["THB","USD","USDT"]},"stage":{"type":"string","enum":["NEW","CONTACTED","PROPOSAL","WON","LOST"]},"expectedCloseAt":{"type":["string","null"],"format":"date-time","description":"ISO 8601 date-time with Z or a numeric offset. The resulting UTC year must be between 2000 and 2100 inclusive."},"renewalAt":{"type":["string","null"],"format":"date-time","description":"ISO 8601 date-time with Z or a numeric offset. The resulting UTC year must be between 2000 and 2100 inclusive."},"ownerId":{"type":["string","null"],"minLength":1,"maxLength":100,"description":"An active administrator's ID, or null to leave unassigned."},"updatedAt":{"type":"string","format":"date-time","description":"Exact updatedAt from the current record. Stale versions return 409; reload before retrying."},"reason":{"type":"string","minLength":5,"maxLength":1000,"description":"Trimmed reason recorded in the audit log. Do not include credentials or unnecessary personal information."}}},"EmptyInput":{"type":"object","additionalProperties":false},"ApprovedTagsInput":{"type":"object","additionalProperties":false,"required":["labels","reason"],"properties":{"labels":{"type":"array","maxItems":15,"items":{"type":"string","minLength":1,"maxLength":40},"description":"NFKC normalized, lowercase, trimmed plain-text labels; duplicates removed"},"reason":{"type":"string","minLength":5,"maxLength":1000}}},"OnlineInput":{"type":"object","additionalProperties":false,"required":["online"],"properties":{"online":{"type":"boolean"}}},"ConsentInput":{"type":"object","additionalProperties":false,"required":["analytics"],"properties":{"analytics":{"type":"boolean"}}},"AnalyticsInput":{"type":"object","additionalProperties":false,"required":["name"],"properties":{"name":{"enum":["LANDING_VIEW","SEARCH_VIEW","PROFILE_VIEW","CHECKOUT_STARTED"]},"profileId":{"type":"string"}}},"Response":{"type":"object","required":["data"],"properties":{"data":{}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{},"eventId":{"type":"string"}}}}},"Register":{"type":"object","required":["email","password","name","role","acceptTerms","ageConfirmed"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string","minLength":12},"name":{"type":"string"},"role":{"enum":["CUSTOMER","PROVIDER"]},"accountType":{"enum":["MEMBER","PROFILE_OWNER","AGENCY","BUSINESS"]},"locale":{"enum":["th","en","zh","ko"]},"acceptTerms":{"const":true},"ageConfirmed":{"const":true}}},"Login":{"type":"object","required":["email","password"],"properties":{"email":{"type":"string","format":"email"},"password":{"type":"string"},"totp":{"type":"string","pattern":"^[0-9]{6}$"}}},"ProfileInput":{"type":"object","required":["displayName","slug","about","provinceId","area","languages"],"properties":{"displayName":{"type":"string","minLength":2,"maxLength":60},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9-]{2,59}$"},"about":{"type":"string","minLength":30,"maxLength":3000},"provinceId":{"type":"string"},"area":{"type":"string"},"languages":{"type":"array","items":{"type":"string"}},"skills":{"type":"array","items":{"type":"string"}},"experience":{"type":"string"},"availability":{"enum":["AVAILABLE","BUSY","UNAVAILABLE"]},"contactPreference":{"enum":["PUBLIC","IN_APP"]},"publicContacts":{"type":"array","maxItems":5,"items":{"type":"object","required":["label","url"],"properties":{"label":{"type":"string"},"url":{"type":"string","format":"uri","pattern":"^https://"}}}},"contactConsent":{"type":"boolean"},"locationId":{"type":["string","null"]},"categoryId":{"type":["string","null"]}}},"VerificationInput":{"type":"object","required":["legalName","birthDate","consent"],"properties":{"legalName":{"type":"string"},"birthDate":{"type":"string","format":"date"},"consent":{"const":true}}},"PaymentInput":{"type":"object","required":["profileId","packageId"],"properties":{"profileId":{"type":"string"},"packageId":{"type":"string"},"network":{"type":"string"}}},"SimulationInput":{"type":"object","required":["scenario"],"properties":{"scenario":{"enum":["confirmed","confirming","underpaid","overpaid","wrong-network","wrong-contract","wrong-recipient","old-transaction"]}}},"MessageInput":{"type":"object","required":["body"],"properties":{"recipientId":{"type":"string"},"body":{"type":"string","minLength":1,"maxLength":3000}}},"ModerationInput":{"type":"object","required":["decision","reason"],"properties":{"decision":{"enum":["APPROVED","REJECTED","CHANGES_REQUESTED","SUSPENDED"]},"reason":{"type":"string","minLength":5,"maxLength":1000},"assignedTo":{"type":"string"},"notes":{"type":"string"}}},"ReviewInput":{"type":"object","additionalProperties":false,"required":["infoAccuracy","communicationRespect","freshnessAvailability","body","publishConsent"],"description":"Exactly one of profileId / listingId. The stored overall rating is the rounded average of the three dimensions.","properties":{"profileId":{"type":"string"},"listingId":{"type":"string"},"infoAccuracy":{"type":"integer","minimum":1,"maximum":5},"communicationRespect":{"type":"integer","minimum":1,"maximum":5},"freshnessAvailability":{"type":"integer","minimum":1,"maximum":5},"body":{"type":"string","minLength":10,"maxLength":3000},"publishConsent":{"const":true},"evidence":{"type":"string","minLength":10,"maxLength":5000},"photoIds":{"type":"array","maxItems":4,"items":{"type":"string"}},"photoConsent":{"type":"boolean"}}},"ReviewDisputeInput":{"type":"object","additionalProperties":false,"required":["reasonCode","statement"],"properties":{"reasonCode":{"enum":["INACCURATE_INFO","NO_REAL_INTERACTION","HARASSMENT","PRIVACY","OTHER"]},"statement":{"type":"string","minLength":20,"maxLength":2000}}},"ModeratorDecisionInput":{"type":"object","additionalProperties":false,"required":["queue","id","decision","reason"],"properties":{"queue":{"enum":["identity","profile","media","report","story","business","review","reviewDispute"]},"id":{"type":"string"},"decision":{"type":"string","description":"The target queue's own decision values (review: APPROVED|HIDDEN, admin also REJECTED|DELETED; reviewDispute: UPHELD|REJECTED; business: APPROVED|CHANGES_REQUESTED|REJECTED|SUSPENDED; story: APPROVED|REJECTED; report: CLAIM|DISMISS|WARN|HIDE|SUSPEND|REMOVE)"},"reason":{"type":"string","minLength":5,"maxLength":1000},"updatedAt":{"type":"string","format":"date-time","description":"Required by the versioned queues (report, story, business, review, reviewDispute)"}}},"AccessReasonInput":{"type":"object","additionalProperties":false,"required":["reason"],"properties":{"reason":{"type":"string","minLength":5,"maxLength":1000}}}}}}