{"openapi":"3.0.0","paths":{"/v1":{"get":{"operationId":"getServiceInfo","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceInfoDto"}}}}},"summary":"","tags":["App"]}},"/v1/billing-profiles":{"get":{"operationId":"listBillingProfiles","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BillingProfileDto"}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfiles"]},"post":{"operationId":"createBillingProfile","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfiles"]}},"/v1/billing-profiles/{billingProfileId}":{"patch":{"operationId":"updateBillingProfile","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfiles"]}},"/v1/billing-profiles/{billingProfileId}/billing-details":{"put":{"operationId":"saveBillingDetails","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingDetailsInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfiles"]}},"/v1/billing-profiles/{billingProfileId}/default":{"post":{"operationId":"setDefaultBillingProfile","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfiles"]}},"/v1/billing-profiles/{billingProfileId}/archive":{"post":{"operationId":"archiveBillingProfile","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfiles"]}},"/v1/checkout-sessions/{providerSessionId}":{"get":{"operationId":"resolveCheckoutSession","parameters":[{"name":"providerSessionId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionResolutionDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CheckoutSession"]}},"/v1/projects/{projectId}/billing-profile":{"patch":{"operationId":"assignProjectBillingProfile","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileAssignmentInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectBillingProfile"]}},"/v1/projects/{projectId}/billing-region-demand":{"post":{"operationId":"recordBillingRegionDemand","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingRegionDemandInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingRegionDemandResultDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectBillingRegionDemand"]}},"/v1/projects/{projectId}/checkout-sessions":{"post":{"operationId":"createCheckoutSession","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutSessionDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectCheckout"]}},"/v1/billing-overview":{"get":{"operationId":"getBillingOverview","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingOverviewDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingOverview"]}},"/v1/billing-profiles/{billingProfileId}/invoices":{"get":{"operationId":"listBillingProfileInvoices","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"cursor","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInvoicePageDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfileFinancialPortal"]}},"/v1/billing-profiles/{billingProfileId}/invoices/{invoiceReference}/link":{"get":{"operationId":"getBillingProfileInvoiceLink","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"invoiceReference","required":true,"in":"path","schema":{"type":"string"}},{"name":"document","required":true,"in":"query","schema":{"enum":["hosted","pdf"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedBillingLinkDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UuidParameterErrorDto"},{"$ref":"#/components/schemas/InvoiceReferenceInvalidErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfileFinancialPortal"]}},"/v1/billing-profiles/{billingProfileId}/portal-sessions":{"post":{"operationId":"createBillingPortalSession","parameters":[{"name":"billingProfileId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingPortalSessionInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedBillingLinkDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BillingProfileFinancialPortal"]}},"/v1/projects/{projectId}/subscription":{"get":{"operationId":"getProjectSubscription","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectSubscriptionDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscription"]}},"/v1/projects/{projectId}/subscription/start-over":{"post":{"operationId":"startOverPendingSubscription","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionStartOverInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionStartOverResultDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscription"]}},"/v1/projects/{projectId}/invoices":{"get":{"operationId":"listProjectInvoices","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"cursor","required":false,"in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingInvoicePageDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscription"]}},"/v1/projects/{projectId}/invoices/{invoiceReference}/link":{"get":{"operationId":"getProjectInvoiceLink","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"invoiceReference","required":true,"in":"path","schema":{"type":"string"}},{"name":"document","required":true,"in":"query","schema":{"enum":["hosted","pdf"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HostedBillingLinkDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UuidParameterErrorDto"},{"$ref":"#/components/schemas/InvoiceReferenceInvalidErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscription"]}},"/v1/projects/{projectId}/subscription/downgrade-preflights":{"post":{"operationId":"createDowngradePreflight","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowngradePreflightInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowngradePreflightDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectDowngradePreflight"]}},"/v1/projects/{projectId}/subscription/downgrade-preflights/{preflightId}":{"get":{"operationId":"getDowngradePreflight","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"preflightId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowngradePreflightDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectDowngradePreflight"]}},"/v1/projects/{projectId}/subscription/changes":{"post":{"operationId":"createSubscriptionPlanChange","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPlanChangeInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionChangeDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscriptionChange"]}},"/v1/projects/{projectId}/subscription/trial-end":{"post":{"operationId":"endSubscriptionTrial","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionChangeDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscriptionChange"]}},"/v1/projects/{projectId}/subscription/cancellation":{"post":{"operationId":"cancelSubscriptionAtPeriodEnd","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionChangeDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscriptionChange"]}},"/v1/projects/{projectId}/subscription/cancellation-reversal":{"post":{"operationId":"reverseSubscriptionCancellation","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionChangeDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscriptionChange"]}},"/v1/projects/{projectId}/subscription/changes/{changeId}/cancel":{"post":{"operationId":"cancelSubscriptionChange","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"changeId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionChangeDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscriptionChange"]}},"/v1/projects/{projectId}/subscription/changes/{changeId}/continue":{"post":{"operationId":"continueSubscriptionChange","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"changeId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionChangeDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectSubscriptionChange"]}},"/v1/customer-accounts":{"post":{"operationId":"createCustomerAccount","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCustomerAccountInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountCreatedDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccounts"]}},"/v1/customer-accounts/{customerAccountId}":{"patch":{"operationId":"updateCustomerAccount","parameters":[{"name":"customerAccountId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCustomerAccountInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccounts"]}},"/v1/customer-accounts/{customerAccountId}/name":{"patch":{"operationId":"renameCustomerAccount","parameters":[{"name":"customerAccountId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameCustomerAccountInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccounts"]}},"/v1/customer-accounts/{customerAccountId}/logo":{"put":{"operationId":"uploadCustomerAccountLogo","parameters":[{"name":"customerAccountId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/octet-stream":{"schema":{"type":"string","format":"binary"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccounts"]},"delete":{"operationId":"removeCustomerAccountLogo","parameters":[{"name":"customerAccountId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccounts"]}},"/v1/customer-accounts/{customerAccountId}/closure-requests":{"post":{"operationId":"requestCustomerAccountClosure","parameters":[{"name":"customerAccountId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountClosureRequestDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccounts"]}},"/v1/customer-account/team":{"get":{"operationId":"getCustomerAccountTeam","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountTeamDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/team/invitations":{"post":{"operationId":"inviteCustomerAccountTeamMember","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteTeamMemberInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountTeamInvitationDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamInvitationConflictErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/team/invitations/{invitationId}/resend":{"post":{"operationId":"resendCustomerAccountInvitation","parameters":[{"name":"invitationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountTeamInvitationDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/team/invitations/{invitationId}/reinvite":{"post":{"operationId":"reinviteExpiredCustomerAccountInvitation","parameters":[{"name":"invitationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountTeamInvitationDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/team/invitations/{invitationId}":{"delete":{"operationId":"revokeCustomerAccountInvitation","parameters":[{"name":"invitationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/team/members/{membershipId}":{"patch":{"operationId":"updateCustomerAccountMemberRoles","parameters":[{"name":"membershipId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamMemberRolesInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountTeamMemberDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]},"delete":{"operationId":"removeCustomerAccountMember","parameters":[{"name":"membershipId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/team/members/{membershipId}/reactivate":{"post":{"operationId":"reactivateCustomerAccountMember","parameters":[{"name":"membershipId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerAccountTeamMemberDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/customer-account/leave":{"post":{"operationId":"leaveCustomerAccount","parameters":[],"responses":{"204":{"description":""},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CustomerAccountTeam"]}},"/v1/projects/{projectId}/evaluation":{"get":{"operationId":"getProjectEvaluation","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectEvaluationStateDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Evaluations"]},"post":{"operationId":"startNoCardTrial","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartNoCardTrialInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectEvaluationStateDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Evaluations"]}},"/v1/projects/{projectId}/product-access":{"get":{"operationId":"getProjectProductAccess","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAccessDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProductAccess"]}},"/v1/projects/{projectId}/product-access/summary":{"get":{"operationId":"getProjectAccessSummary","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAccessSummaryDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProductAccess"]}},"/v1/customer-account/documentation-access":{"get":{"operationId":"getDocumentationAccess","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentationAccessDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["DocumentationAccess"]}},"/v1/projects/{projectId}/break-glass":{"post":{"operationId":"issueProjectBreakGlassToken","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreakGlassInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedBreakGlassTokenDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreakGlassErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BreakGlass"]}},"/v1/projects/{projectId}/break-glass/eligibility":{"get":{"operationId":"getProjectBreakGlassEligibility","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BreakGlassEligibilityDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BreakGlass"]}},"/v1/projects/{projectId}/break-glass/events":{"get":{"operationId":"listProjectBreakGlassEvents","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BreakGlassEventDto"}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["BreakGlass"]}},"/v1/entitlements/keys":{"get":{"operationId":"readEntitlementKeyManifest","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementKeyManifestDto"}}}}},"summary":"","tags":["Entitlements"]}},"/v1/entitlements/activate":{"post":{"operationId":"activateEntitlement","parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/EntitlementActivationInputDto"}],"not":{"required":["bindingToken","emergencyToken"]}}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementActivationResponseDto"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementActivationConflictErrorDto"}}}},"422":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}},"503":{"description":"A Vendure operator suspended runtime refusals during an incident. License Guard treats the answer as an unreachable service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeUnavailableErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Entitlements"]}},"/v1/entitlements/downgrade-attestations":{"post":{"operationId":"submitDowngradeAttestation","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowngradeAttestationSubmissionDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DowngradePreflightDto"}}}},"503":{"description":"A Vendure operator suspended runtime refusals during an incident. License Guard treats the answer as an unreachable service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeUnavailableErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Entitlements"]}},"/v1/entitlements/heartbeat":{"post":{"operationId":"heartbeatEntitlement","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementHeartbeatInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementHeartbeatResponseDto"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}},"409":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}},"422":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}},"503":{"description":"A Vendure operator suspended runtime refusals during an incident. License Guard treats the answer as an unreachable service.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeUnavailableErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Entitlements"]}},"/v1/entitlements/runtime-report":{"post":{"operationId":"submitRuntimeReport","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeReportInputDto"}}}},"responses":{"204":{"description":"Console replaced the stored report of the Installation."},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuntimeReportInvalidErrorDto"}}}},"401":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}},"422":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementRuntimeErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Entitlements"]}},"/v1/projects/{projectId}/credentials":{"get":{"operationId":"listEnvironmentCredentials","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnvironmentCredentialDto"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["EnvironmentCredentials"]},"post":{"operationId":"issueEnvironmentCredential","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"Idempotency-Key","in":"header","description":"Repeats an issue command without creating another Environment Credential. A replay returns the first credential identifier without a secret.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCredentialInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewEnvironmentCredentialDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CredentialIdempotencyKeyInvalidErrorDto"},{"$ref":"#/components/schemas/UuidParameterErrorDto"}]}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"409":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/CredentialAlreadyExistsErrorDto"},{"$ref":"#/components/schemas/CredentialIdempotentReplayErrorDto"},{"$ref":"#/components/schemas/CredentialPaidSubscriptionRequiredErrorDto"}]}}}},"422":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialIdempotencyMismatchErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["EnvironmentCredentials"]}},"/v1/projects/{projectId}/credentials/{credentialId}/rename":{"post":{"operationId":"renameEnvironmentCredential","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"credentialId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCredentialRenameInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCredentialDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["EnvironmentCredentials"]}},"/v1/projects/{projectId}/credentials/{credentialId}/rotate":{"post":{"operationId":"rotateEnvironmentCredential","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"credentialId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedEnvironmentCredentialDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["EnvironmentCredentials"]}},"/v1/projects/{projectId}/credentials/{credentialId}/revoke":{"post":{"operationId":"revokeEnvironmentCredential","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"credentialId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnvironmentCredentialDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["EnvironmentCredentials"]}},"/v1/projects/{projectId}/installations":{"get":{"operationId":"getProjectInstallations","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectInstallationsDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Installations"]}},"/v1/projects/{projectId}/registry-access":{"get":{"operationId":"getRegistryAccess","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryAccessConfigurationDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccess"]}},"/v1/projects/{projectId}/registry-access/metrics":{"get":{"operationId":"getRegistryAccessMetrics","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryAccessMetricsDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccess"]}},"/v1/projects/{projectId}/registry-access-tokens":{"get":{"operationId":"listRegistryAccessTokens","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RegistryAccessTokenListItemDto"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccessTokens"]},"post":{"operationId":"createRegistryAccessToken","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryAccessTokenInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedRegistryAccessTokenDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccessTokens"]}},"/v1/projects/{projectId}/registry-access-tokens/history":{"get":{"operationId":"listRegistryAccessTokenHistory","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/RegistryAccessTokenHistoryEntryDto"}}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccessTokens"]}},"/v1/projects/{projectId}/registry-access-tokens/{tokenId}/rotate":{"post":{"operationId":"rotateRegistryAccessToken","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"tokenId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedRegistryAccessTokenDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccessTokens"]}},"/v1/projects/{projectId}/registry-access-tokens/{tokenId}/revoke":{"post":{"operationId":"revokeRegistryAccessToken","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"tokenId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryAccessTokenDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccessTokens"]}},"/v1/projects/{projectId}/registry-access-tokens/{tokenId}/rename":{"post":{"operationId":"renameRegistryAccessToken","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"tokenId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryAccessTokenRenameInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegistryAccessTokenDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["RegistryAccessTokens"]}},"/v1/me":{"get":{"operationId":"getViewer","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewerDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Me"]},"patch":{"operationId":"updateProfile","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProfileInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewerUserDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Me"]}},"/v1/me/sign-out":{"post":{"operationId":"signOut","parameters":[],"responses":{"204":{"description":""},"400":{"description":"`auth.sign_out_unsupported` when the token has no WorkOS session."}},"security":[{"bearer":[]}],"summary":"","tags":["Me"]}},"/v1/auth/session/introspect":{"post":{"description":"Cloud verifies the caller WorkOS session JWT with a bearer token and no request body. No Customer Account is required or resolved. No WorkOS session API call or write occurs. expiresAt is the JWT exp claim rounded down to integer Unix seconds.","operationId":"introspectWorkosSession","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionIntrospectionDto"}}}},"401":{"description":"`auth.token_missing`, `auth.token_invalid` (including absent or empty sid and foreign credentials), `auth.token_expired`, `auth.wrong_client`, or `auth.session_ended`.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["auth.token_missing","auth.token_invalid","auth.token_expired","auth.wrong_client","auth.session_ended"]},"message":{"type":"string"}}}}}},"503":{"description":"`auth.authority_unavailable` when session verification cannot complete, including a database outage.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["auth.authority_unavailable"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["SessionIntrospection"]}},"/v1/auth/cli/authorizations":{"post":{"operationId":"resolveCliAuthorization","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CliAuthorizationInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CliAuthorizationDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CliAuth"]}},"/v1/auth/cli/introspect":{"post":{"operationId":"introspectCliSession","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CliSessionIntrospectionDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CliAuth"]}},"/v1/me/cli-sessions":{"get":{"operationId":"listCliSessions","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CliSessionDto"}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CliSessions"]}},"/v1/me/cli-sessions/{sessionId}":{"delete":{"operationId":"endCliSession","parameters":[{"name":"sessionId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"204":{"description":""},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}},"404":{"description":"`cli_session.not_found` for an unknown or ended session, and for a session of another user."}},"security":[{"bearer":[]}],"summary":"","tags":["CliSessions"]}},"/v1/catalog":{"get":{"operationId":"getCatalog","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Catalog"]}},"/v1/customer-account/cloud-access":{"get":{"operationId":"getAccountCloudAccess","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountCloudAccessDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["AccountCloudAccess"]}},"/v1/projects/{projectId}/cloud-access":{"get":{"operationId":"getProjectCloudAccess","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudAccessDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CloudAccess"]}},"/v1/projects/{projectId}/cloud-project":{"get":{"operationId":"getProjectCloudProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudProjectLinkDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CloudProjectLink"]},"put":{"operationId":"linkProjectCloudProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudProjectLinkInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudProjectLinkDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["CloudProjectLink"]}},"/v1/notifications":{"get":{"operationId":"listNotifications","parameters":[{"name":"projectId","required":false,"in":"query","schema":{"format":"uuid","type":"string"}},{"name":"unread","required":false,"in":"query","schema":{"type":"boolean"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationListDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Notifications"]}},"/v1/notifications/unread-count":{"get":{"operationId":"getNotificationUnreadCount","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationUnreadCountDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Notifications"]}},"/v1/notifications/read":{"post":{"operationId":"markNotificationsRead","parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkNotificationsReadInputDto"}}}},"responses":{"204":{"description":""},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Notifications"]}},"/v1/notifications/{notificationId}/read":{"post":{"operationId":"markNotificationRead","parameters":[{"name":"notificationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Notifications"]}},"/v1/customer-account/notification-preferences":{"get":{"operationId":"listNotificationPreferences","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPreferenceListDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["NotificationPreferences"]},"put":{"operationId":"updateNotificationPreference","parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateNotificationPreferenceInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPreferenceListDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}}},"security":[{"bearer":[]}],"summary":"","tags":["NotificationPreferences"]}},"/v1/catalog/plugins":{"get":{"operationId":"listCatalogPlugins","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PluginSummaryDto"}}}}}},"summary":"","tags":["PluginCatalog"]}},"/v1/catalog/plugins/{slug}":{"get":{"operationId":"getCatalogPlugin","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginDetailDto"}}}}},"summary":"","tags":["PluginCatalog"]}},"/v1/catalog/plugins/{slug}/changelog":{"get":{"operationId":"getCatalogPluginChangelog","parameters":[{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginChangelogDto"}}}}},"summary":"","tags":["PluginCatalog"]}},"/v1/projects/{projectId}/plugins":{"get":{"operationId":"listProjectPlugins","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectPluginListDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectProductAccess"]}},"/v1/projects/{projectId}/plugins/{slug}":{"get":{"operationId":"getProjectPlugin","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginDetailDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectProductAccess"]}},"/v1/projects/{projectId}/plugins/{slug}/changelog":{"get":{"operationId":"getProjectPluginChangelog","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"slug","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PluginChangelogDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectProductAccess"]}},"/v1/projects/{projectId}/changelog":{"get":{"operationId":"getProjectChangelog","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectChangelogDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectProductAccess"]}},"/v1/project-links":{"post":{"operationId":"createProjectLink","parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkCreateInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkRequestDto"}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"summary":"","tags":["ProjectLinks"]}},"/v1/project-links/{linkId}":{"get":{"operationId":"getProjectLink","parameters":[{"name":"linkId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkStatusDto"}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"summary":"","tags":["ProjectLinks"]}},"/v1/project-links/{linkId}/poll":{"post":{"operationId":"pollProjectLink","parameters":[{"name":"linkId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkPollInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkPollResultDto"}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"summary":"","tags":["ProjectLinks"]}},"/v1/project-links/{linkId}/approve":{"post":{"operationId":"approveProjectLink","parameters":[{"name":"linkId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkApprovalInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkDecisionDto"}}}},"403":{"description":"`auth.impersonation_refused` when Vendure support runs this command during an impersonated session. Other codes, such as `auth.permission_denied`, keep their meaning.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ImpersonationRefusedErrorDto"},{"$ref":"#/components/schemas/ForbiddenErrorDto"}]}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectLinks"]}},"/v1/project-links/{linkId}/deny":{"post":{"operationId":"denyProjectLink","parameters":[{"name":"linkId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkDenialInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkDecisionDto"}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectLinks"]}},"/v1/projects/{projectId}/link":{"post":{"operationId":"linkProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkCreateInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectLinkManifestDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectLinkManifest"]}},"/v1/projects/{projectId}/link/telemetry-installations/{installationId}":{"delete":{"operationId":"detachProjectTelemetry","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}},{"name":"installationId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"204":{"description":""}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectLinkManifest"]}},"/v1/projects":{"get":{"operationId":"listProjects","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectDto"}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]},"post":{"operationId":"createProject","parameters":[{"name":"Idempotency-Key","in":"header","description":"Repeats a create command safely. The same key and name return the first Project.","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectNameInputDto"}}}},"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"503":{"description":"`console.maintenance` while Vendure Console is closed before launch.","content":{"application/json":{"schema":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["console.maintenance"]},"message":{"type":"string"}}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/editions":{"get":{"operationId":"listProjectEditions","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProjectEditionDto"}}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/{projectId}/activity":{"get":{"operationId":"getProjectActivity","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}},{"name":"cursor","required":false,"in":"query","schema":{"type":"string"}},{"name":"search","required":false,"in":"query","schema":{"type":"string","maxLength":200}},{"name":"actor","required":false,"in":"query","schema":{"type":"string","maxLength":200}},{"name":"type","required":false,"in":"query","schema":{"enum":["project","project_link","evaluation","product_access","subscription","environment_credential","installation","registry_token"],"type":"string"}},{"name":"project","required":false,"in":"query","schema":{"type":"string","maxLength":200}},{"name":"from","required":false,"in":"query","description":"ISO 8601. Entries at or after this time.","schema":{"type":"string","format":"date-time"}},{"name":"to","required":false,"in":"query","description":"ISO 8601. Entries before this time.","schema":{"type":"string","format":"date-time"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectActivityPageDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/{projectId}":{"get":{"operationId":"getProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]},"patch":{"operationId":"renameProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectNameInputDto"}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/{projectId}/archive-blockers":{"get":{"operationId":"getProjectArchiveBlockers","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectArchiveBlockersDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/{projectId}/archive":{"post":{"operationId":"archiveProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/{projectId}/reactivate":{"post":{"operationId":"reactivateProject","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"format":"uuid","type":"string"}}],"responses":{"201":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"400":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UuidParameterErrorDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["Projects"]}},"/v1/projects/{projectId}/customer-account":{"get":{"description":"Names the Customer Account that owns the Project when the user can read the Project there. An unknown Project and a Project that the user cannot read both answer `404 project.not_found`.","operationId":"getProjectCustomerAccount","parameters":[{"name":"projectId","required":true,"in":"path","schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectCustomerAccountDto"}}}}},"security":[{"bearer":[]}],"summary":"","tags":["ProjectCustomerAccount"]}}},"info":{"title":"Vendure Console API","description":"REST API for the Vendure Console applications.","version":"1.0.0","contact":{}},"tags":[],"servers":[],"components":{"securitySchemes":{"bearer":{"scheme":"bearer","bearerFormat":"JWT","type":"http"}},"schemas":{"AuthenticationInfoDto":{"type":"object","properties":{"provider":{"type":"string","enum":["workos"]},"clientId":{"type":"string"},"apiHostname":{"type":"string"}},"required":["provider","clientId","apiHostname"]},"ServiceInfoDto":{"type":"object","properties":{"service":{"type":"string"},"protocol":{"type":"string"},"phase":{"type":"string","enum":["foundation"]},"authentication":{"$ref":"#/components/schemas/AuthenticationInfoDto"}},"required":["service","protocol","phase","authentication"]},"AdminCustomerAccountSuspensionStateDto":{"type":"object","properties":{"suspendedAt":{"type":"string","format":"date-time"},"reasonCode":{"type":"string","enum":["fraud","legal","security"]},"explanation":{"type":"string","description":"The operator explanation. The customer never sees it."}},"required":["suspendedAt","reasonCode","explanation"]},"AdminOutstandingSuspensionEffectsDto":{"type":"object","properties":{"registryAccessTokens":{"type":"number","description":"Access Tokens of the account that are not revoked.","minimum":0},"environmentCredentials":{"type":"number","description":"Environment Credentials of the account that are not revoked.","minimum":0},"renewingStripeSubscriptions":{"type":"number","description":"Active Stripe-backed Subscriptions that still renew. A scheduled cancellation leaves this count when the Stripe webhook arrives.","minimum":0}},"required":["registryAccessTokens","environmentCredentials","renewingStripeSubscriptions"]},"AdminCustomerAccountSuspensionDto":{"type":"object","properties":{"suspension":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminCustomerAccountSuspensionStateDto"}]},"outstanding":{"description":"The suspension effects that did not complete. Null while the account is not suspended. Repeat the suspension to complete them.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminOutstandingSuspensionEffectsDto"}]}},"required":["suspension","outstanding"]},"SuspendCustomerAccountInputDto":{"type":"object","properties":{"reasonCode":{"type":"string","enum":["fraud","legal","security"]},"explanation":{"type":"string","description":"Why Vendure suspends the Customer Account. It reaches the audit record.","maxLength":1000,"minLength":1}},"required":["reasonCode","explanation"]},"AdminSuspensionEffectResultDto":{"type":"object","properties":{"status":{"type":"string","enum":["completed","failed"]},"changed":{"type":"number","description":"The records that this run of the command changed.","minimum":0}},"required":["status","changed"]},"AdminSuspensionEffectsDto":{"type":"object","properties":{"registryAccessTokens":{"$ref":"#/components/schemas/AdminSuspensionEffectResultDto"},"environmentCredentials":{"$ref":"#/components/schemas/AdminSuspensionEffectResultDto"},"stripeSubscriptions":{"$ref":"#/components/schemas/AdminSuspensionEffectResultDto"}},"required":["registryAccessTokens","environmentCredentials","stripeSubscriptions"]},"AdminCustomerAccountSuspensionResultDto":{"type":"object","properties":{"suspension":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminCustomerAccountSuspensionStateDto"}]},"outstanding":{"description":"The suspension effects that did not complete. Null while the account is not suspended. Repeat the suspension to complete them.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminOutstandingSuspensionEffectsDto"}]},"effects":{"$ref":"#/components/schemas/AdminSuspensionEffectsDto"}},"required":["suspension","outstanding","effects"]},"ReinstateCustomerAccountInputDto":{"type":"object","properties":{"explanation":{"type":"string","description":"Why Vendure ends the suspension. It reaches the audit record.","maxLength":1000,"minLength":1}},"required":["explanation"]},"BillingCardDto":{"type":"object","properties":{"brand":{"type":"string","description":"Stripe card brand, for example visa or mastercard"},"last4":{"type":"string","description":"The last four digits of the card number","example":"4242"},"expMonth":{"type":"number","minimum":1,"maximum":12},"expYear":{"type":"number","example":2030}},"required":["brand","last4","expMonth","expYear"]},"BillingPaymentMethodDto":{"type":"object","properties":{"type":{"type":"string","description":"Stripe payment method type, for example card or sepa_debit"},"card":{"description":"The card display facts. Null for another type than card.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BillingCardDto"}]}},"required":["type","card"]},"BillingAddressDto":{"type":"object","properties":{"line1":{"type":"string","nullable":true},"line2":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code","nullable":true}},"required":["line1","line2","city","postalCode","state","country"]},"BillingTaxIdDto":{"type":"object","properties":{"type":{"type":"string","description":"Stripe tax ID type, for example eu_vat","example":"eu_vat"},"value":{"type":"string","description":"The number as Stripe writes it, for example ATU12345678"},"viesResult":{"type":"string","description":"VIES result of an EU VAT area number. Null for the other types. The Console shows the VIES notice for invalid and unavailable.","enum":["valid","invalid","unavailable",null],"nullable":true},"providerAttached":{"type":"boolean","description":"True when the API wrote the tax ID to the Stripe Customer. An EU VAT number without a valid VIES result stays in the Console."}},"required":["type","value","viesResult","providerAttached"]},"BillingDetailsDto":{"type":"object","properties":{"name":{"type":"string","description":"Legal billing name from Stripe. The display name stays a Console label.","nullable":true},"email":{"type":"string","nullable":true},"address":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BillingAddressDto"}]},"taxIds":{"description":"At most one tax ID.","type":"array","items":{"$ref":"#/components/schemas/BillingTaxIdDto"}},"poNumber":{"type":"string","nullable":true},"syncedAt":{"type":"string","description":"The last time the API wrote the owned details to the Stripe Customer.","format":"date-time","nullable":true},"driftDetectedAt":{"type":"string","description":"Set while the Stripe Customer holds a name, address, or tax ID that differs from these values.","format":"date-time","nullable":true}},"required":["name","email","address","taxIds","poNumber","syncedAt","driftDetectedAt"]},"BusinessDeclarationDto":{"type":"object","properties":{"version":{"type":"string","description":"The business declaration version that the user accepted."},"acceptedAt":{"type":"string","format":"date-time"}},"required":["version","acceptedAt"]},"BillingProfileDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"isDefault":{"type":"boolean"},"currency":{"type":"string","enum":["EUR","USD",null],"nullable":true},"providerCustomerReady":{"type":"boolean"},"providerSyncStatus":{"type":"string","enum":["not_created","creating","synced","failed"]},"hasDefaultPaymentMethod":{"type":"boolean","description":"True when the Stripe Customer, or one of its current Subscriptions, has a default payment method"},"defaultPaymentMethod":{"description":"The default payment method that the latest Customer refresh read, or null when Stripe holds none","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BillingPaymentMethodDto"}]},"taxStatus":{"type":"string","enum":["unknown","validating","valid","attention","blocked","exception"]},"taxStatusReason":{"type":"string","nullable":true},"taxCheckedAt":{"type":"string","format":"date-time","nullable":true},"billingDetails":{"$ref":"#/components/schemas/BillingDetailsDto"},"businessDeclaration":{"description":"The latest business declaration of the Billing Profile, or null when it has none. The first billing details save requires one.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BusinessDeclarationDto"}]}},"required":["id","displayName","state","isDefault","currency","providerCustomerReady","providerSyncStatus","hasDefaultPaymentMethod","defaultPaymentMethod","taxStatus","taxStatusReason","taxCheckedAt","billingDetails","businessDeclaration"]},"BillingProfileInputDto":{"type":"object","properties":{"displayName":{"type":"string","maxLength":120,"minLength":1}},"required":["displayName"]},"UuidParameterErrorDto":{"type":"object","properties":{"statusCode":{"type":"number","enum":[400]},"error":{"type":"string","enum":["Bad Request"]},"message":{"type":"string","example":"Validation failed (uuid v 4 is expected)"}},"required":["statusCode","error","message"]},"ImpersonationRefusedErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["auth.impersonation_refused"]},"message":{"type":"string"}},"required":["code","message"]},"ForbiddenErrorDto":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"]},"BillingDetailsAddressInputDto":{"type":"object","properties":{"line1":{"type":"string","maxLength":200},"line2":{"type":"string","maxLength":200,"nullable":true},"city":{"type":"string","maxLength":100},"postalCode":{"type":"string","maxLength":20},"state":{"type":"string","maxLength":100,"nullable":true},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country code. It sets the Billing Profile currency.","example":"AT"}},"required":["line1","city","postalCode","country"]},"BillingDetailsInputDto":{"type":"object","properties":{"legalName":{"type":"string","description":"Legal billing name","maxLength":200},"address":{"$ref":"#/components/schemas/BillingDetailsAddressInputDto"},"taxId":{"type":"string","description":"Tax ID of the address country, with or without separators. The API sets the Stripe type from the country.","maxLength":50,"nullable":true},"poNumber":{"type":"string","maxLength":140,"nullable":true},"businessDeclarationVersion":{"type":"string","description":"The business declaration version that the user accepted. Required while the Billing Profile has no business declaration, and ignored after."}},"required":["legalName","address"]},"AdminCustomerAccountSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"AdminBillingProfileSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"currency":{"type":"string","enum":["EUR","USD"]},"providerSyncStatus":{"type":"string","enum":["not_created","creating","synced","failed"]},"hasDefaultPaymentMethod":{"type":"boolean","description":"True when the Stripe Customer, or one of its current Subscriptions, has a default payment method"},"taxStatus":{"type":"string","enum":["unknown","validating","valid","attention","blocked","exception"]},"taxStatusReason":{"type":"string","nullable":true},"taxCheckedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","displayName","state","providerSyncStatus","hasDefaultPaymentMethod","taxStatus","taxStatusReason","taxCheckedAt"]},"AdminSubscriptionReconciliationDto":{"type":"object","properties":{"status":{"type":"string","enum":["not_applicable","pending","in_sync","mismatch","failed"]},"lastReconciledAt":{"type":"string","format":"date-time","nullable":true}},"required":["status","lastReconciledAt"]},"AdminCapabilityProfileDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"number","minimum":1}},"required":["id","version"]},"AdminProjectListSubscriptionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider":{"type":"string","enum":["stripe","operator"]},"offerCode":{"type":"string"},"lifecycle":{"type":"string","enum":["pending","active","ended"]},"collection":{"type":"string","enum":["not_applicable","current","overdue","uncollectible"]},"renewal":{"type":"string","enum":["automatic","ends_at_period_end"]},"effectiveAt":{"type":"string","format":"date-time","nullable":true},"endsAt":{"type":"string","format":"date-time","nullable":true},"externalReference":{"type":"string","nullable":true},"reconciliation":{"$ref":"#/components/schemas/AdminSubscriptionReconciliationDto"},"capabilityProfile":{"$ref":"#/components/schemas/AdminCapabilityProfileDto"},"amount":{"type":"number","minimum":1,"nullable":true},"currency":{"type":"string","enum":["EUR","USD"]},"commitmentEndsAt":{"type":"string","format":"date-time","nullable":true},"renewsAt":{"type":"string","format":"date-time","nullable":true},"cureStartedAt":{"type":"string","format":"date-time","nullable":true},"registryAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"runtimeAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"provenance":{"type":"string","enum":["enterprise_agreement","migrated_legacy"]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","provider","offerCode","lifecycle","collection","renewal","effectiveAt","endsAt","externalReference","reconciliation"]},"AdminProjectSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"partner_demo for the demo Project of a partner. The launch metrics count no partner_demo record."},"customerAccount":{"$ref":"#/components/schemas/AdminCustomerAccountSummaryDto"},"billingProfile":{"description":"Absent when the caller cannot read billing.","allOf":[{"$ref":"#/components/schemas/AdminBillingProfileSummaryDto"}]},"currentSubscription":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminProjectListSubscriptionDto"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","name","state","kind","customerAccount","currentSubscription","createdAt"]},"AdminProjectPageDto":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AdminProjectSummaryDto"}},"totalItems":{"type":"number","minimum":0,"description":"The count of Projects that match the search."}},"required":["items","totalItems"]},"AdminProjectDetailSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"provenance":{"type":"string","enum":["migrated_legacy",null],"nullable":true,"description":"migrated_legacy when the legacy migration owns the record. Null otherwise."},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"partner_demo for the demo Project of a partner. The launch metrics count no partner_demo record."},"linkedAt":{"type":"string","description":"Time of the first successful Project Link. Null for a Project without a successful link.","format":"date-time","nullable":true},"customerAccount":{"$ref":"#/components/schemas/AdminCustomerAccountSummaryDto"}},"required":["id","name","state","provenance","kind","linkedAt","customerAccount"]},"AdminBillingProfileDetailDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"currency":{"type":"string","enum":["EUR","USD"]},"providerSyncStatus":{"type":"string","enum":["not_created","creating","synced","failed"]},"hasDefaultPaymentMethod":{"type":"boolean","description":"True when the Stripe Customer, or one of its current Subscriptions, has a default payment method"},"taxStatus":{"type":"string","enum":["unknown","validating","valid","attention","blocked","exception"]},"taxStatusReason":{"type":"string","nullable":true},"taxCheckedAt":{"type":"string","format":"date-time","nullable":true},"stripeDashboardUrl":{"type":"string","nullable":true}},"required":["id","displayName","state","providerSyncStatus","hasDefaultPaymentMethod","taxStatus","taxStatusReason","taxCheckedAt","stripeDashboardUrl"]},"AdminProviderReferencesDto":{"type":"object","properties":{"productId":{"type":"string","nullable":true},"priceId":{"type":"string","nullable":true},"subscriptionId":{"type":"string","nullable":true},"subscriptionItemId":{"type":"string","nullable":true}},"required":["productId","priceId","subscriptionId","subscriptionItemId"]},"AdminPendingSubscriptionChangeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["upgrade","downgrade","commitment_change","cancellation","cancellation_reversal","trial_end","trial_extension"]},"state":{"type":"string","enum":["requested","blocked","provider_pending","scheduled"]},"targetOfferCode":{"type":"string","nullable":true},"targetPurchaseOption":{"type":"string","enum":["annual","monthly"],"nullable":true},"effectiveAt":{"type":"string","format":"date-time","nullable":true},"requestedAt":{"type":"string","format":"date-time"},"hostedSessionAt":{"type":"string","description":"The time of the last hosted Stripe page. Null when Billing sent the change.","format":"date-time","nullable":true}},"required":["id","kind","state","targetOfferCode","targetPurchaseOption","effectiveAt","requestedAt","hostedSessionAt"]},"AdminSubscriptionDetailDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider":{"type":"string","enum":["stripe","operator"]},"offerCode":{"type":"string"},"capabilityProfile":{"$ref":"#/components/schemas/AdminCapabilityProfileDto"},"lifecycle":{"type":"string","enum":["pending","active","ended"]},"collection":{"type":"string","enum":["not_applicable","current","overdue","uncollectible"]},"renewal":{"type":"string","enum":["automatic","ends_at_period_end"]},"amount":{"type":"number","minimum":1,"nullable":true},"currency":{"type":"string","enum":["EUR","USD"]},"effectiveAt":{"type":"string","format":"date-time","nullable":true},"commitmentEndsAt":{"type":"string","format":"date-time","nullable":true},"renewsAt":{"type":"string","format":"date-time","nullable":true},"endsAt":{"type":"string","format":"date-time","nullable":true},"cureStartedAt":{"type":"string","format":"date-time","nullable":true},"registryAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"runtimeAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"provenance":{"type":"string","enum":["enterprise_agreement","migrated_legacy"]},"externalReference":{"type":"string","nullable":true},"reconciliation":{"$ref":"#/components/schemas/AdminSubscriptionReconciliationDto"},"createdAt":{"type":"string","format":"date-time"},"purchaseOption":{"type":"string","enum":["annual","monthly",null],"nullable":true},"providerReferences":{"$ref":"#/components/schemas/AdminProviderReferencesDto"},"stripeDashboardUrl":{"type":"string","nullable":true},"pendingChange":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminPendingSubscriptionChangeDto"}]}},"required":["id","provider","offerCode","capabilityProfile","lifecycle","collection","renewal","amount","effectiveAt","commitmentEndsAt","renewsAt","endsAt","cureStartedAt","registryAccessEndsAt","runtimeAccessEndsAt","externalReference","reconciliation","createdAt","purchaseOption","providerReferences","stripeDashboardUrl","pendingChange"]},"AdminEffectiveProductAccessDto":{"type":"object","properties":{"source":{"type":"string","enum":["override","subscription","evaluation","none"]},"sourceIds":{"type":"array","items":{"type":"string"}},"capabilityProfile":{"$ref":"#/components/schemas/AdminCapabilityProfileDto"},"capabilities":{"type":"array","items":{"type":"string"}},"environmentScope":{"type":"string","enum":["all","non_production"]},"validFrom":{"type":"string","format":"date-time"},"validUntil":{"type":"string","format":"date-time"},"generation":{"type":"number","minimum":1}},"required":["source","sourceIds","capabilityProfile","capabilities","environmentScope","validFrom","validUntil","generation"]},"AdminProductAccessControlDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"reasonCode":{"type":"string","enum":["commercial","customer_success","fraud","legal","security"]},"explanation":{"type":"string"},"sourceReference":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"createdByUserId":{"type":"string"},"permission":{"type":"string"},"capabilities":{"type":"array","items":{"type":"string"}},"profileId":{"type":"string","nullable":true},"profileVersion":{"type":"number","nullable":true},"environmentScope":{"type":"string","enum":["all","non_production"]},"denyAll":{"type":"boolean"}},"required":["id","reasonCode","explanation","sourceReference","startsAt","endsAt","revokedAt","createdByUserId","permission","capabilities"]},"AdminProductAccessDto":{"type":"object","properties":{"effective":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminEffectiveProductAccessDto"}]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/AdminProductAccessControlDto"}},"restrictions":{"type":"array","items":{"$ref":"#/components/schemas/AdminProductAccessControlDto"}}},"required":["effective","overrides","restrictions"]},"AdminMemberIdentityDto":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true}},"required":["email","firstName","lastName"]},"AdminOperatorIdentityDto":{"type":"object","properties":{"displayName":{"type":"string","nullable":true},"email":{"type":"string"}},"required":["displayName","email"]},"AdminAuditRecordDto":{"type":"object","properties":{"id":{"type":"string"},"actorType":{"type":"string","enum":["user","system","access_token"]},"actorId":{"type":"string"},"action":{"type":"string"},"targetType":{"type":"string"},"targetId":{"type":"string"},"source":{"type":"string"},"before":{"type":"object","additionalProperties":true,"nullable":true},"after":{"type":"object","additionalProperties":true,"nullable":true},"metadata":{"type":"object","additionalProperties":true},"impersonatorEmail":{"type":"string","description":"The Vendure team member who acted through an impersonated session of the actor. Null when the actor acted in person.","nullable":true},"actorIdentity":{"description":"The member identity of a customer actor. Null for another actor, for an unknown identity, or when the operator does not have console-admin:customer-accounts:read.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminMemberIdentityDto"}]},"actorOperator":{"description":"The identity of an operator actor. Null for another actor, for an unknown operator, or when the operator does not have console-admin:operators:read or console-admin:operators:suspend.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminOperatorIdentityDto"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","actorType","actorId","action","targetType","targetId","source","before","after","metadata","impersonatorEmail","actorIdentity","actorOperator","createdAt"]},"AdminStripeWebhookEventDto":{"type":"object","properties":{"providerEventId":{"type":"string"},"eventType":{"type":"string"},"state":{"type":"string","enum":["pending","applied","ignored","failed","quarantined"]},"attemptCount":{"type":"number"},"safeError":{"type":"string","nullable":true},"providerCreatedAt":{"type":"string","format":"date-time"}},"required":["providerEventId","eventType","state","attemptCount","safeError","providerCreatedAt"]},"AdminProjectDetailDto":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/AdminProjectDetailSummaryDto"},"billingProfile":{"$ref":"#/components/schemas/AdminBillingProfileDetailDto"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/AdminSubscriptionDetailDto"}},"productAccess":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminProductAccessDto"}]},"audit":{"type":"array","items":{"$ref":"#/components/schemas/AdminAuditRecordDto"}},"webhooks":{"type":"array","items":{"$ref":"#/components/schemas/AdminStripeWebhookEventDto"}}},"required":["project","billingProfile","subscriptions","productAccess","audit","webhooks"]},"AdminCommandResultDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"}},"required":["id"]},"CreateOperatorSubscriptionInputDto":{"type":"object","properties":{"offerCode":{"type":"string","enum":["starter","growth","scale","enterprise"]},"provenance":{"type":"string","enum":["enterprise_agreement","migrated_legacy"]},"externalReference":{"type":"string","maxLength":240,"minLength":1},"effectiveAt":{"type":"string","format":"date-time"},"commitmentEndsAt":{"type":"string","format":"date-time","nullable":true},"renewsAt":{"type":"string","format":"date-time","nullable":true},"endsAt":{"type":"string","format":"date-time","nullable":true},"replaceCurrent":{"type":"boolean"}},"required":["offerCode","provenance","externalReference","effectiveAt"]},"CommercialActionExplanationDto":{"type":"object","properties":{"explanation":{"type":"string","maxLength":1000,"minLength":1}},"required":["explanation"]},"AdminSubscriptionReconcileResultDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"result":{"type":"string","enum":["in_sync","updated","mismatch"],"description":"in_sync: Console already matched Stripe. updated: Console took the changed fields from Stripe. mismatch: Stripe differs in fields that Console does not take over."},"fields":{"type":"array","description":"Names of the changed fields (updated) or the differing fields (mismatch).","items":{"type":"string","enum":["lifecycle","collection","renewal","renewsAt","endsAt","reconciliationStatus","subscription_id","console_subscription_id","product_id","price_id","currency","amount"]}}},"required":["id","result","fields"]},"AdminCatalogEditionDto":{"type":"object","properties":{"offerCode":{"type":"string","enum":["starter","growth","scale"]},"purchaseOption":{"type":"string","enum":["annual","monthly"]}},"required":["offerCode","purchaseOption"]},"AdminSubscriptionStripePriceDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"priceId":{"type":"string","description":"The Stripe Price that the Subscription item bills now."},"productId":{"type":"string"},"amount":{"type":"number","description":"The charged amount per period, in minor units, without tax."},"currency":{"type":"string","enum":["EUR","USD"]},"catalogEdition":{"nullable":true,"description":"The edition whose catalog Price this is. Null for a custom Price.","type":"object","allOf":[{"$ref":"#/components/schemas/AdminCatalogEditionDto"}]}},"required":["id","priceId","productId","amount","currency","catalogEdition"]},"AcceptStripePriceInputDto":{"type":"object","properties":{"offerCode":{"type":"string","enum":["starter","growth","scale"],"description":"The edition sets the Capabilities. The Price does not."},"purchaseOption":{"type":"string","enum":["annual","monthly"]},"providerPriceId":{"type":"string","maxLength":240,"minLength":1,"description":"The Stripe Price that the operator saw. A different current Price refuses the command."},"explanation":{"type":"string","maxLength":1000,"minLength":1}},"required":["offerCode","purchaseOption","providerPriceId","explanation"]},"AcceptStripePriceResultDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"priceKind":{"type":"string","enum":["catalog","custom"],"description":"catalog: the catalog Price of the selected edition. custom: any other Price."},"replay":{"type":"string","enum":["applied","quarantined","failed"],"description":"The Stripe read after the command. applied: Console took the current Stripe facts. quarantined: another difference remains. failed: the scheduled reconciliation retries the read."}},"required":["id","priceKind","replay"]},"CheckoutSessionResolutionDto":{"type":"object","properties":{"checkoutAttemptId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"}},"required":["checkoutAttemptId","projectId"]},"BillingProfileAssignmentInputDto":{"type":"object","properties":{"billingProfileId":{"type":"string","format":"uuid"}},"required":["billingProfileId"]},"BillingRegionDemandInputDto":{"type":"object","properties":{"countryCode":{"type":"string","description":"An ineligible ISO 3166-1 alpha-2 country code"}},"required":["countryCode"]},"BillingRegionDemandResultDto":{"type":"object","properties":{"recorded":{"type":"boolean","enum":[true]}},"required":["recorded"]},"CheckoutSessionInputDto":{"type":"object","properties":{"billingProfileId":{"type":"string","format":"uuid"},"offerCode":{"type":"string","enum":["starter","growth","scale"]},"purchaseOption":{"type":"string","enum":["annual","monthly"]},"origin":{"type":"string","enum":["signup","plan"],"description":"The Console surface that starts Checkout. A signup success return continues to the welcome step. Defaults to plan."}},"required":["billingProfileId","offerCode","purchaseOption"]},"CheckoutSessionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"subscriptionId":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["creating","open"]},"url":{"type":"string","format":"uri","nullable":true},"expiresAt":{"format":"date-time","type":"string"},"trial":{"type":"boolean","description":"Whether the Session starts a free trial before the first paid period"}},"required":["id","subscriptionId","state","url","expiresAt","trial"]},"BillingProjectSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"state":{"type":"string","enum":["active","archived"]}},"required":["id","name","state"]},"BillingOverviewProfileDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"isDefault":{"type":"boolean"},"currency":{"type":"string","enum":["EUR","USD",null],"nullable":true},"providerCustomerReady":{"type":"boolean"},"providerSyncStatus":{"type":"string","enum":["not_created","creating","synced","failed"]},"hasDefaultPaymentMethod":{"type":"boolean","description":"True when the Stripe Customer, or one of its current Subscriptions, has a default payment method"},"defaultPaymentMethod":{"description":"The default payment method that the latest Customer refresh read, or null when Stripe holds none","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BillingPaymentMethodDto"}]},"taxStatus":{"type":"string","enum":["unknown","validating","valid","attention","blocked","exception"]},"taxStatusReason":{"type":"string","nullable":true},"taxCheckedAt":{"type":"string","format":"date-time","nullable":true},"billingDetails":{"$ref":"#/components/schemas/BillingDetailsDto"},"businessDeclaration":{"description":"The latest business declaration of the Billing Profile, or null when it has none. The first billing details save requires one.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BusinessDeclarationDto"}]},"projects":{"type":"array","items":{"$ref":"#/components/schemas/BillingProjectSummaryDto"}}},"required":["id","displayName","state","isDefault","currency","providerCustomerReady","providerSyncStatus","hasDefaultPaymentMethod","defaultPaymentMethod","taxStatus","taxStatusReason","taxCheckedAt","billingDetails","businessDeclaration","projects"]},"BillingOverviewDto":{"type":"object","properties":{"profiles":{"type":"array","items":{"$ref":"#/components/schemas/BillingOverviewProfileDto"}}},"required":["profiles"]},"BillingInvoiceDto":{"type":"object","properties":{"reference":{"type":"string","description":"Opaque invoice key for invoice links. Not for display."},"number":{"type":"string","nullable":true,"description":"The invoice number on the invoice document. Null until the invoice is final."},"project":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BillingProjectSummaryDto"}]},"plans":{"description":"Offer codes of the catalog plans on the invoice lines. Empty when no line has a catalog plan or the provider returned a partial line list.","type":"array","items":{"type":"string"}},"amount":{"type":"number"},"currency":{"type":"string","enum":["EUR","USD"]},"status":{"type":"string","enum":["draft","open","paid","uncollectible","void"]},"issuedAt":{"type":"string","format":"date-time"},"reconciliationRequired":{"type":"boolean"}},"required":["reference","number","project","plans","amount","currency","status","issuedAt","reconciliationRequired"]},"BillingInvoicePageDto":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/BillingInvoiceDto"}},"nextCursor":{"type":"string","nullable":true}},"required":["items","nextCursor"]},"InvoiceReferenceInvalidErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["billing.invoice_reference_invalid"]},"message":{"type":"string"}},"required":["code","message"]},"HostedBillingLinkDto":{"type":"object","properties":{"url":{"type":"string","format":"uri"}},"required":["url"]},"BillingPortalSessionInputDto":{"type":"object","properties":{"flow":{"type":"string","enum":["payment_method"]}},"required":["flow"]},"ProjectSubscriptionBillingProfileDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"currency":{"type":"string","enum":["EUR","USD",null],"nullable":true},"providerCustomerReady":{"type":"boolean"},"hasDefaultPaymentMethod":{"type":"boolean"},"defaultPaymentMethod":{"description":"The default payment method that the latest Customer refresh read, or null when Stripe holds none","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/BillingPaymentMethodDto"}]},"taxStatus":{"type":"string","enum":["unknown","validating","valid","attention","blocked","exception"]},"taxStatusReason":{"type":"string","nullable":true}},"required":["id","displayName","state","currency","providerCustomerReady","hasDefaultPaymentMethod","defaultPaymentMethod","taxStatus","taxStatusReason"]},"ProjectSubscriptionTrialDto":{"type":"object","properties":{"endsAt":{"type":"string","format":"date-time","description":"Trial end, which is the first charge date"},"firstChargeAmount":{"type":"number","description":"Minor units of the first charge at the trial end"},"firstChargeCurrency":{"type":"string","enum":["EUR","USD"]}},"required":["endsAt","firstChargeAmount","firstChargeCurrency"]},"ProjectSubscriptionTermsDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"offerCode":{"type":"string"},"purchaseOption":{"type":"string","enum":["annual","monthly",null],"nullable":true},"amount":{"type":"number","nullable":true},"currency":{"type":"string","enum":["EUR","USD",null],"nullable":true},"provider":{"type":"string","enum":["stripe","operator"]},"operatorProvenance":{"type":"string","enum":["enterprise_agreement","migrated_legacy",null],"nullable":true},"lifecycle":{"type":"string","enum":["pending","active","ended"]},"collection":{"type":"string","enum":["not_applicable","current","overdue","uncollectible"]},"renewal":{"type":"string","enum":["automatic","ends_at_period_end"]},"startedAt":{"type":"string","format":"date-time","nullable":true},"commitmentEndsAt":{"type":"string","format":"date-time","nullable":true},"nextPaymentAt":{"type":"string","format":"date-time","nullable":true},"renewsAt":{"type":"string","format":"date-time","nullable":true},"endsAt":{"type":"string","format":"date-time","nullable":true},"annualSwitchCommitmentEndsAt":{"type":"string","format":"date-time","nullable":true,"description":"The commitment end of a monthly-to-annual change that applies now. Null unless the Subscription is an active, monthly, Stripe-backed Subscription with a current period end"},"accessPhase":{"type":"string","enum":["paid","cure","runtime_grace","none"]},"scheduledStartsAt":{"type":"string","format":"date-time","nullable":true,"description":"The start of an operator agreement that gives access later, null otherwise"},"cureStartedAt":{"type":"string","format":"date-time","nullable":true},"registryAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"runtimeAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"trial":{"nullable":true,"description":"The trial of a trialing Subscription, null otherwise","type":"object","allOf":[{"$ref":"#/components/schemas/ProjectSubscriptionTrialDto"}]}},"required":["id","offerCode","purchaseOption","amount","currency","provider","operatorProvenance","lifecycle","collection","renewal","startedAt","commitmentEndsAt","nextPaymentAt","renewsAt","endsAt","annualSwitchCommitmentEndsAt","accessPhase","scheduledStartsAt","cureStartedAt","registryAccessEndsAt","runtimeAccessEndsAt","trial"]},"ProjectPendingSubscriptionChangeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["upgrade","downgrade","commitment_change","cancellation","cancellation_reversal","trial_end","trial_extension"]},"state":{"type":"string","enum":["requested","blocked","provider_pending","scheduled"]},"targetOfferCode":{"type":"string","nullable":true},"targetPurchaseOption":{"type":"string","enum":["annual","monthly"],"nullable":true},"effectiveAt":{"type":"string","format":"date-time","nullable":true},"preflightId":{"type":"string","format":"uuid","nullable":true},"hostedConfirmation":{"type":"boolean","description":"Whether the change waits for the customer on a hosted Stripe page."}},"required":["id","kind","state","targetOfferCode","targetPurchaseOption","effectiveAt","preflightId","hostedConfirmation"]},"SubscriptionPaymentActionDto":{"type":"object","properties":{"kind":{"type":"string","enum":["retry_first_payment","confirm_first_payment","pay_cure_invoice"]},"invoice":{"$ref":"#/components/schemas/BillingInvoiceDto"}},"required":["kind","invoice"]},"BillingActionAvailabilityDto":{"type":"object","properties":{"allowed":{"type":"boolean"},"denialReason":{"type":"string","nullable":true}},"required":["allowed","denialReason"]},"ProjectSubscriptionAllowedActionsDto":{"type":"object","properties":{"manageBillingDetails":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"managePaymentMethod":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"viewInvoices":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"changePlan":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"endTrial":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"cancelSubscription":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"reverseCancellation":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"},"cancelPendingChange":{"$ref":"#/components/schemas/BillingActionAvailabilityDto"}},"required":["manageBillingDetails","managePaymentMethod","viewInvoices","changePlan","endTrial","cancelSubscription","reverseCancellation","cancelPendingChange"]},"ProjectSubscriptionDto":{"type":"object","properties":{"project":{"$ref":"#/components/schemas/BillingProjectSummaryDto"},"billingProfile":{"$ref":"#/components/schemas/ProjectSubscriptionBillingProfileDto"},"subscription":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/ProjectSubscriptionTermsDto"}]},"pendingChange":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/ProjectPendingSubscriptionChangeDto"}]},"paymentAction":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/SubscriptionPaymentActionDto"}]},"activeProductionInstallations":{"description":"Credential labels of the production Installations that are active now: a live credential, a live Runtime Binding, and a heartbeat inside the Installations stale window. Console stores no fact about the Capabilities an Installation uses.","type":"array","items":{"type":"string"}},"allowedActions":{"$ref":"#/components/schemas/ProjectSubscriptionAllowedActionsDto"}},"required":["project","billingProfile","subscription","pendingChange","paymentAction","activeProductionInstallations","allowedActions"]},"SubscriptionStartOverInputDto":{"type":"object","properties":{"subscriptionId":{"type":"string","format":"uuid"}},"required":["subscriptionId"]},"SubscriptionStartOverResultDto":{"type":"object","properties":{"ended":{"type":"boolean","description":"Always true after the pending Subscription ends.","enum":[true]}},"required":["ended"]},"DowngradePreflightInputDto":{"type":"object","properties":{"targetOfferCode":{"type":"string","enum":["starter","growth","scale"]}},"required":["targetOfferCode"]},"DowngradePreflightRemediationDto":{"type":"object","properties":{"checkId":{"type":"string"},"moduleId":{"type":"string"},"capability":{"type":"string"},"blockerKind":{"type":"string","enum":["removed_module_configured","dependency_required","unsafe_queued_work","replacement_infrastructure_missing","module_check_failed"]},"code":{"type":"string"},"summary":{"type":"string"},"documentationUrl":{"type":"string"}},"required":["checkId","moduleId","capability","blockerKind","code","summary"]},"DowngradePreflightDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"targetProfile":{"type":"object","additionalProperties":true},"removedCapabilities":{"type":"array","items":{"type":"string"}},"requiredInstallationIds":{"type":"array","items":{"type":"string"}},"phase":{"type":"string","enum":["advisory","final"]},"status":{"type":"string","enum":["collecting","passed","blocked","expired"]},"renewalAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"evaluatedAt":{"type":"string","format":"date-time","nullable":true},"missingInstallationIds":{"type":"array","items":{"type":"string"}},"remediation":{"type":"array","items":{"$ref":"#/components/schemas/DowngradePreflightRemediationDto"}}},"required":["id","projectId","targetProfile","removedCapabilities","requiredInstallationIds","phase","status","renewalAt","expiresAt","evaluatedAt","missingInstallationIds","remediation"]},"SubscriptionPlanChangeInputDto":{"type":"object","properties":{"offerCode":{"type":"string","enum":["starter","growth","scale"]},"purchaseOption":{"type":"string","enum":["annual","monthly"]},"preflightId":{"type":"string","format":"uuid"},"resumeRenewal":{"type":"boolean"},"confirmPendingDowngradeReplacement":{"type":"boolean"}},"required":["offerCode","purchaseOption","resumeRenewal"]},"SubscriptionChangeTargetDto":{"type":"object","properties":{"offerCode":{"type":"string","enum":["starter","growth","scale"]},"purchaseOption":{"type":"string","enum":["annual","monthly"]}},"required":["offerCode","purchaseOption"]},"SubscriptionChangeDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"kind":{"type":"string","enum":["upgrade","downgrade","commitment_change","cancellation","cancellation_reversal","trial_end","trial_extension"]},"state":{"type":"string","enum":["requested","blocked","provider_pending","scheduled","applied","failed","canceled"]},"effectiveAt":{"type":"string","format":"date-time","nullable":true},"target":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/SubscriptionChangeTargetDto"}]},"url":{"type":"string","format":"uri","nullable":true},"preflight":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/DowngradePreflightDto"}]}},"required":["id","kind","state","effectiveAt","target","url","preflight"]},"ConsoleAdminEvaluationExtensionInputDto":{"type":"object","properties":{"reason":{"type":"string","maxLength":500,"minLength":1}},"required":["reason"]},"AdminEvaluationExtensionResultDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"offerCode":{"type":"string"},"capabilityProfile":{"$ref":"#/components/schemas/AdminCapabilityProfileDto"},"status":{"type":"string","enum":["active","expired"]},"environmentScope":{"type":"string","enum":["non_production"]},"startedAt":{"type":"string","format":"date-time"},"initialExpiresAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"extendedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","projectId","offerCode","capabilityProfile","status","environmentScope","startedAt","initialExpiresAt","expiresAt","extendedAt"]},"ConsoleAdminOperatorDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"email":{"type":"string"},"displayName":{"type":"string","nullable":true},"permissions":{"type":"array","items":{"type":"string"}},"authorizedAt":{"type":"string","description":"Time when the API verified the WorkOS bearer and local suspension state.","format":"date-time"}},"required":["id","email","displayName","permissions","authorizedAt"]},"ConsoleAdminOperatorAccessDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workosUserId":{"type":"string","description":"Stable WorkOS user identifier."},"email":{"type":"string"},"displayName":{"type":"string","nullable":true},"state":{"type":"string","enum":["active","disabled"]},"suspendedAt":{"type":"string","format":"date-time","nullable":true},"suspensionReason":{"type":"string","nullable":true},"roles":{"description":"Most recently verified WorkOS JWT roles.","type":"array","items":{"type":"string"}},"permissions":{"description":"Most recently verified WorkOS JWT permissions.","type":"array","items":{"type":"string"}},"accessCheckedAt":{"type":"string","format":"date-time","nullable":true},"lastSignedInAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","workosUserId","email","displayName","state","suspendedAt","suspensionReason","roles","permissions","accessCheckedAt","lastSignedInAt"]},"ConsoleAdminSuspensionInputDto":{"type":"object","properties":{"reason":{"type":"string","maxLength":1000,"minLength":1}},"required":["reason"]},"AdminGrowthWeekDto":{"type":"object","properties":{"weekStart":{"type":"string","format":"date","description":"The Monday of the week, as YYYY-MM-DD."},"accounts":{"type":"number","description":"Customer Accounts created in the week."},"projects":{"type":"number","description":"Projects created in the week."},"evaluationsStarted":{"type":"number","description":"Evaluations started in the week."},"evaluationsConverted":{"type":"number","description":"Evaluations converted to a paid Subscription in the week."}},"required":["weekStart","accounts","projects","evaluationsStarted","evaluationsConverted"]},"AdminGrowthMetricsDto":{"type":"object","properties":{"weeks":{"description":"The last 12 ISO weeks, oldest first. The last week is the current week.","type":"array","items":{"$ref":"#/components/schemas/AdminGrowthWeekDto"}}},"required":["weeks"]},"AdminLegacyMigrationReportSummaryDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The migration run identifier."},"evidence":{"type":"string","enum":["rehearsal","production"],"description":"The evidence kind that the operator selected for the run."},"mode":{"type":"string","enum":["import","verify"]},"operatorId":{"type":"string","description":"The operator identifier recorded for the run."},"generatedAt":{"type":"string","format":"date-time"},"exportedAt":{"type":"string","format":"date-time","description":"The legacy snapshot time of the export."},"exportFileHash":{"type":"string","description":"SHA-256 digest of the exact export file."},"passed":{"type":"boolean","description":"True when database verification matched, the Role step had no pending change or failure, and nothing rolled back."},"rolledBack":{"type":"boolean","description":"True when a failed comparison rolled back the import."}},"required":["id","evidence","mode","operatorId","generatedAt","exportedAt","exportFileHash","passed","rolledBack"]},"AdminLegacyMigrationReportListDto":{"type":"object","properties":{"reports":{"description":"Recorded reports, latest first, at most 100.","type":"array","items":{"$ref":"#/components/schemas/AdminLegacyMigrationReportSummaryDto"}},"truncated":{"type":"boolean","description":"True when older reports exist than the list holds."}},"required":["reports","truncated"]},"AdminLegacyMigrationCategoryDto":{"type":"object","properties":{"category":{"type":"string","enum":["subscriptions","subscriptionDependencies","productAccess","projectMappings","accessTokens","registryGrants"]},"recordType":{"type":"string"},"diagnostic":{"type":"string","enum":["project","credentials_and_registry"],"description":"The Console Admin page that diagnoses a mismatch for each mapped Project."},"expectedCount":{"type":"number","minimum":0},"actualCount":{"type":"number","minimum":0},"expectedHash":{"type":"string","description":"Aggregate SHA-256 digest of the expected normalized rows."},"actualHash":{"type":"string","description":"Aggregate SHA-256 digest of the persisted normalized rows."},"matches":{"type":"boolean"},"state":{"type":"string","enum":["reconciled","missing","mismatched"]},"reason":{"type":"string","nullable":true,"description":"A safe diagnostic reason from the counts. Null when the category reconciled."}},"required":["category","recordType","diagnostic","expectedCount","actualCount","expectedHash","actualHash","matches","state","reason"]},"AdminLegacyMigrationRecordDto":{"type":"object","properties":{"recordType":{"type":"string","enum":["customer_account","project","subscription","access_token","registry_grant","runtime_binding"]},"legacyId":{"type":"string","nullable":true,"description":"The preserved legacy identifier."},"consoleId":{"type":"string","nullable":true,"description":"The Console identifier. Null when no Console record exists for it."},"customerAccountId":{"type":"string","nullable":true,"format":"uuid"},"projectId":{"type":"string","nullable":true,"format":"uuid"},"reference":{"type":"string","nullable":true,"description":"A second identifier: the WorkOS organization, Project key, or runtime instance."},"note":{"type":"string","nullable":true}},"required":["recordType","legacyId","consoleId","customerAccountId","projectId","reference","note"]},"AdminLegacyMigrationRoleStepDto":{"type":"object","properties":{"workosOrganizationId":{"type":"string"},"pendingChanges":{"type":"number","minimum":0},"addedChanges":{"type":"number","minimum":0},"missingRoles":{"type":"array","items":{"type":"string"}},"error":{"type":"string","nullable":true,"description":"The WorkOS error class name."}},"required":["workosOrganizationId","pendingChanges","addedChanges","missingRoles","error"]},"AdminLegacyMigrationReportDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The migration run identifier."},"evidence":{"type":"string","enum":["rehearsal","production"],"description":"The evidence kind that the operator selected for the run."},"mode":{"type":"string","enum":["import","verify"]},"operatorId":{"type":"string","description":"The operator identifier recorded for the run."},"generatedAt":{"type":"string","format":"date-time"},"exportedAt":{"type":"string","format":"date-time","description":"The legacy snapshot time of the export."},"exportFileHash":{"type":"string","description":"SHA-256 digest of the exact export file."},"passed":{"type":"boolean","description":"True when database verification matched, the Role step had no pending change or failure, and nothing rolled back."},"rolledBack":{"type":"boolean","description":"True when a failed comparison rolled back the import."},"exportHash":{"type":"string","description":"SHA-256 digest of the validated, normalized export document."},"databaseMatches":{"type":"boolean","description":"True when every database verification category matched."},"categories":{"type":"array","items":{"$ref":"#/components/schemas/AdminLegacyMigrationCategoryDto"}},"records":{"type":"array","items":{"$ref":"#/components/schemas/AdminLegacyMigrationRecordDto"}},"roles":{"description":"The WorkOS Role step for each migrated organization. Empty when the import rolled back.","type":"array","items":{"$ref":"#/components/schemas/AdminLegacyMigrationRoleStepDto"}}},"required":["id","evidence","mode","operatorId","generatedAt","exportedAt","exportFileHash","passed","rolledBack","exportHash","databaseMatches","categories","records","roles"]},"AdminAttentionBillingProfileDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"taxStatusReason":{"type":"string","nullable":true}},"required":["id","displayName","taxStatusReason"]},"AdminCustomerAccountOverviewDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"workosOrganizationId":{"type":"string","description":"WorkOS organization that owns this Customer Account."},"organizationState":{"type":"string","enum":["active","deleted"]},"provenance":{"type":"string","enum":["migrated_legacy",null],"nullable":true,"description":"migrated_legacy when the legacy migration owns the record. Null otherwise."},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"partner_demo for the demo account of a partner. The launch metrics count no partner_demo record."},"suspension":{"description":"The suspension of the Customer Account. Null while it is not suspended.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminCustomerAccountSuspensionStateDto"}]},"projectCount":{"type":"number","minimum":0},"membershipCount":{"type":"number","minimum":0},"createdAt":{"type":"string","format":"date-time"},"attentionBillingProfiles":{"description":"The active Billing Profiles with the tax status attention. Present only with the taxStatus filter.","type":"array","items":{"$ref":"#/components/schemas/AdminAttentionBillingProfileDto"}}},"required":["id","name","workosOrganizationId","organizationState","provenance","kind","suspension","projectCount","membershipCount","createdAt"]},"AdminCustomerAccountPageDto":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/AdminCustomerAccountOverviewDto"}},"totalItems":{"type":"number","minimum":0,"description":"The count of Customer Accounts that match the search and the filter."}},"required":["items","totalItems"]},"PreProvisionCustomerAccountInputDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why the operator runs the command. It reaches the audit record.","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","description":"Support ticket, incident, or contract reference behind the command.","maxLength":240,"minLength":1},"workosOrganizationId":{"type":"string","description":"Existing WorkOS organization of the migrated customer.","example":"org_01HXYZ","maxLength":240},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"The kind of the new Customer Account. A partner_demo account is no migration."}},"required":["reason","sourceReference","workosOrganizationId","kind"]},"RecordKindInputDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why the operator runs the command. It reaches the audit record.","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","description":"Support ticket, incident, or contract reference behind the command.","maxLength":240,"minLength":1},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"partner_demo marks the record as a partner demo. customer marks it back."}},"required":["reason","sourceReference","kind"]},"AdminRecordKindDto":{"type":"object","properties":{"kind":{"type":"string","enum":["customer","partner_demo"]}},"required":["kind"]},"AdminCustomerAccountMembershipDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"workosMembershipId":{"type":"string"},"workosUserId":{"type":"string"},"status":{"type":"string","enum":["active","inactive","pending","deleted"]},"roleSlugs":{"type":"array","items":{"type":"string"}},"permissions":{"type":"array","items":{"type":"string"}},"workosUpdatedAt":{"type":"string","format":"date-time","nullable":true},"lastWorkosEventId":{"type":"string","nullable":true},"lastWorkosEventCreatedAt":{"type":"string","format":"date-time","nullable":true},"lastReconciledAt":{"type":"string","format":"date-time","nullable":true},"identity":{"description":"The name and email of the member. Null when the identity is unknown.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminMemberIdentityDto"}]}},"required":["id","workosMembershipId","workosUserId","status","roleSlugs","permissions","workosUpdatedAt","lastWorkosEventId","lastWorkosEventCreatedAt","lastReconciledAt","identity"]},"AdminCustomerAccountSubscriptionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"provider":{"type":"string","enum":["stripe","operator"]},"offerCode":{"type":"string"},"lifecycle":{"type":"string","enum":["pending","active","ended"]},"collection":{"type":"string","enum":["not_applicable","current","overdue","uncollectible"]},"renewal":{"type":"string","enum":["automatic","ends_at_period_end"]},"effectiveAt":{"type":"string","format":"date-time","nullable":true},"endsAt":{"type":"string","format":"date-time","nullable":true},"externalReference":{"type":"string","nullable":true},"reconciliation":{"$ref":"#/components/schemas/AdminSubscriptionReconciliationDto"},"projectId":{"type":"string","format":"uuid"}},"required":["id","provider","offerCode","lifecycle","collection","renewal","effectiveAt","endsAt","externalReference","reconciliation","projectId"]},"AdminEvaluationDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"projectName":{"type":"string"},"projectState":{"type":"string","enum":["active","archived"]},"customerAccountId":{"type":"string","format":"uuid"},"subscriptionId":{"type":"string","description":"Subscription whose Stripe trial started the Evaluation.","format":"uuid","nullable":true},"offerCode":{"type":"string"},"capabilityProfile":{"$ref":"#/components/schemas/AdminCapabilityProfileDto"},"status":{"type":"string","description":"`converted` applies from the first paid invoice of the Subscription, also before the expiry.","enum":["active","expired","converted"]},"startedAt":{"type":"string","format":"date-time"},"initialExpiresAt":{"type":"string","description":"For the trial of a Subscription: the Stripe trial end and the first charge date.","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"extendedAt":{"type":"string","format":"date-time","nullable":true},"extendedByUserId":{"type":"string","nullable":true},"extensionReason":{"type":"string","nullable":true},"convertedAt":{"type":"string","description":"The time of the first paid invoice that converted the Evaluation.","format":"date-time","nullable":true},"extendable":{"type":"boolean","description":"Server-derived eligibility of the one-time Evaluation extension."},"extensionDenialReason":{"type":"string","description":"Rule that refuses the extension. Absent while the extension is available.","enum":["project_inactive","already_extended","extension_window_elapsed","subscription_not_trialing","trial_cancellation_scheduled","subscription_change_pending"]},"extensionExpiresAt":{"type":"string","description":"The expiry that the extension sets, and for the trial of a Subscription the new Stripe trial end. Null while the extension is not available.","format":"date-time","nullable":true}},"required":["id","projectId","projectName","projectState","customerAccountId","subscriptionId","offerCode","capabilityProfile","status","startedAt","initialExpiresAt","expiresAt","extendedAt","extendedByUserId","extensionReason","convertedAt","extendable","extensionExpiresAt"]},"AdminCustomerAccountProjectDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"partner_demo for the demo Project of a partner. The launch metrics count no partner_demo record."},"billingProfileId":{"type":"string","format":"uuid"},"currentSubscription":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminCustomerAccountSubscriptionDto"}]},"currentEvaluation":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminEvaluationDto"}]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","name","state","kind","billingProfileId","currentSubscription","currentEvaluation","createdAt"]},"AdminCustomerAccountBillingProfileDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"displayName":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"currency":{"type":"string","enum":["EUR","USD"]},"providerSyncStatus":{"type":"string","enum":["not_created","creating","synced","failed"]},"hasDefaultPaymentMethod":{"type":"boolean","description":"True when the Stripe Customer, or one of its current Subscriptions, has a default payment method"},"taxStatus":{"type":"string","enum":["unknown","validating","valid","attention","blocked","exception"]},"taxStatusReason":{"type":"string","nullable":true},"taxCheckedAt":{"type":"string","format":"date-time","nullable":true},"isDefault":{"type":"boolean"},"billingDetails":{"$ref":"#/components/schemas/BillingDetailsDto"},"stripeCustomerId":{"type":"string","nullable":true}},"required":["id","displayName","state","providerSyncStatus","hasDefaultPaymentMethod","taxStatus","taxStatusReason","taxCheckedAt","isDefault","billingDetails","stripeCustomerId"]},"AdminWorkosProjectionEventDto":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string"},"outcome":{"type":"string","enum":["processing","processed","ignored","failed"]},"error":{"type":"string","nullable":true},"attemptCount":{"type":"number","minimum":1},"eventCreatedAt":{"type":"string","format":"date-time"},"receivedAt":{"type":"string","format":"date-time"},"processedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","type","outcome","error","attemptCount","eventCreatedAt","receivedAt","processedAt"]},"AdminWorkosProjectionEventSummaryDto":{"type":"object","properties":{"processed":{"type":"number","minimum":0},"ignored":{"type":"number","minimum":0},"failed":{"type":"number","minimum":0},"latestReceivedAt":{"type":"string","format":"date-time","nullable":true},"recent":{"type":"array","items":{"$ref":"#/components/schemas/AdminWorkosProjectionEventDto"}}},"required":["processed","ignored","failed","latestReceivedAt","recent"]},"AdminWorkosReconciliationFailureDto":{"type":"object","properties":{"operation":{"type":"string"},"workosUserId":{"type":"string","nullable":true},"error":{"type":"string"},"failedAt":{"type":"string","format":"date-time"},"resolvedAt":{"type":"string","format":"date-time","nullable":true}},"required":["operation","workosUserId","error","failedAt","resolvedAt"]},"AdminWorkosDiagnosticsDto":{"type":"object","properties":{"organizationId":{"type":"string"},"workosUpdatedAt":{"type":"string","format":"date-time","nullable":true},"lastWorkosEventId":{"type":"string","nullable":true},"lastWorkosEventCreatedAt":{"type":"string","format":"date-time","nullable":true},"lastReconciledAt":{"type":"string","format":"date-time","nullable":true},"lastReconciliationError":{"type":"string","nullable":true},"lastReconciliationFailedAt":{"type":"string","format":"date-time","nullable":true},"events":{"$ref":"#/components/schemas/AdminWorkosProjectionEventSummaryDto"},"reconciliationFailures":{"type":"array","items":{"$ref":"#/components/schemas/AdminWorkosReconciliationFailureDto"}}},"required":["organizationId","workosUpdatedAt","lastWorkosEventId","lastWorkosEventCreatedAt","lastReconciledAt","lastReconciliationError","lastReconciliationFailedAt","events","reconciliationFailures"]},"AdminCustomerAccountDetailDto":{"type":"object","properties":{"account":{"$ref":"#/components/schemas/AdminCustomerAccountOverviewDto"},"logoUrl":{"type":"string","description":"Signed read URL of the logo that the customer uploaded.","format":"uri","nullable":true},"memberships":{"type":"array","items":{"$ref":"#/components/schemas/AdminCustomerAccountMembershipDto"}},"projects":{"type":"array","items":{"$ref":"#/components/schemas/AdminCustomerAccountProjectDto"}},"billingProfiles":{"type":"array","items":{"$ref":"#/components/schemas/AdminCustomerAccountBillingProfileDto"}},"evaluations":{"type":"array","items":{"$ref":"#/components/schemas/AdminEvaluationDto"}},"workos":{"$ref":"#/components/schemas/AdminWorkosDiagnosticsDto"}},"required":["account","logoUrl","memberships","projects","billingProfiles","evaluations","workos"]},"CreateCustomerAccountInputDto":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"minLength":1},"termsAccepted":{"type":"boolean"},"termsVersion":{"type":"string"},"signup":{"type":"boolean","description":"True for the Customer Account of a signup. One signup runs for each user, so a second request returns the Customer Account of the first one."}},"required":["name","termsAccepted","termsVersion"]},"CustomerAccountCreatedDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"avatarColor":{"type":"string","description":"The chosen avatar color. Null means the Console app derives one from the id.","enum":["slate","sky","blue","green","amber","red",null],"nullable":true},"logoUrl":{"type":"string","description":"Signed read URL of the uploaded logo. It stays valid for at least one hour.","format":"uri","nullable":true},"termsVersion":{"type":"string","nullable":true},"termsAcceptedAt":{"type":"string","format":"date-time","nullable":true},"suspended":{"type":"boolean","description":"True while Vendure suspends the Customer Account. Members can read, and the API refuses each write with `customer_account.suspended`. Only the Viewer read sets it."},"organizationId":{"type":"string"}},"required":["id","name","avatarColor","logoUrl","organizationId"]},"UpdateCustomerAccountInputDto":{"type":"object","properties":{"avatarColor":{"type":"string","enum":["slate","sky","blue","green","amber","red",null],"nullable":true}},"required":["avatarColor"]},"CustomerAccountDto":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatarColor":{"type":"string","description":"The chosen avatar color. Null means the Console app derives one from the id.","enum":["slate","sky","blue","green","amber","red",null],"nullable":true},"logoUrl":{"type":"string","description":"Signed read URL of the uploaded logo. It stays valid for at least one hour.","format":"uri","nullable":true},"termsVersion":{"type":"string","nullable":true},"termsAcceptedAt":{"type":"string","format":"date-time","nullable":true},"suspended":{"type":"boolean","description":"True while Vendure suspends the Customer Account. Members can read, and the API refuses each write with `customer_account.suspended`. Only the Viewer read sets it."}},"required":["id","name","avatarColor","logoUrl"]},"RenameCustomerAccountInputDto":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"minLength":1}},"required":["name"]},"CustomerAccountClosureRequestDto":{"type":"object","properties":{"status":{"type":"string","enum":["requested"]},"requestedAt":{"type":"string","format":"date-time"}},"required":["status","requestedAt"]},"CustomerAccountTeamMemberDto":{"type":"object","properties":{"id":{"type":"string"},"userId":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"status":{"type":"string","enum":["active","inactive","pending"]},"roleSlugs":{"type":"array","items":{"type":"string"}},"externallyManaged":{"type":"boolean","description":"True when a directory sync connection manages the Membership and its Roles."}},"required":["id","userId","email","firstName","lastName","status","roleSlugs","externallyManaged"]},"CustomerAccountTeamInvitationDto":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"state":{"type":"string","enum":["pending","expired"]},"roleSlugs":{"type":"array","items":{"type":"string"}},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","email","state","roleSlugs","expiresAt","createdAt"]},"CustomerAccountTeamDto":{"type":"object","properties":{"members":{"type":"array","items":{"$ref":"#/components/schemas/CustomerAccountTeamMemberDto"}},"invitations":{"type":"array","items":{"$ref":"#/components/schemas/CustomerAccountTeamInvitationDto"}},"assignableRoles":{"type":"array","items":{"type":"string"}}},"required":["members","invitations","assignableRoles"]},"InviteTeamMemberInputDto":{"type":"object","properties":{"email":{"type":"string"},"roleSlugs":{"minItems":1,"type":"array","items":{"type":"string"}}},"required":["email","roleSlugs"]},"TeamInvitationConflictErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["customer_account.invitee_already_member","customer_account.invitation_already_pending","customer_account.team_command_rejected"]},"message":{"type":"string"}},"required":["code","message"]},"UpdateTeamMemberRolesInputDto":{"type":"object","properties":{"roleSlugs":{"minItems":1,"type":"array","items":{"type":"string"}}},"required":["roleSlugs"]},"EvaluationCapabilityProfileDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"number"}},"required":["id","version"]},"EvaluationDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"offerCode":{"type":"string"},"capabilityProfile":{"$ref":"#/components/schemas/EvaluationCapabilityProfileDto"},"status":{"type":"string","enum":["active","expired"]},"environmentScope":{"type":"string","enum":["non_production"]},"startedAt":{"type":"string","format":"date-time"},"initialExpiresAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"extendedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","projectId","offerCode","capabilityProfile","status","environmentScope","startedAt","initialExpiresAt","expiresAt","extendedAt"]},"ProjectEvaluationStateDto":{"type":"object","properties":{"evaluation":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/EvaluationDto"}]},"startState":{"type":"string","enum":["available","already_active","project_inactive","account_evaluation_active","free_window_used"],"description":"`available` means that the free trial is open to this Project. A Starter or Growth trial starts without a payment method. A Scale trial starts at Stripe Checkout."},"offerCodes":{"type":"array","description":"Always empty. The Console starts a no-card Starter or Growth trial, and Stripe Checkout starts a Scale trial.","items":{"type":"string","enum":["starter","growth","scale"]}}},"required":["evaluation","startState","offerCodes"]},"StartNoCardTrialInputDto":{"type":"object","properties":{"offerCode":{"type":"string","enum":["starter","growth"]}},"required":["offerCode"]},"AdminProductAccessProjectDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"customerAccountId":{"type":"string","format":"uuid"},"name":{"type":"string"},"state":{"type":"string","enum":["active","archived"]},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"partner_demo for the demo Project of a partner. The support view of the Project reads it without the billing Permission."}},"required":["id","customerAccountId","name","state","kind"]},"AdminProductAccessInspectionDto":{"type":"object","properties":{"entitlement":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminEffectiveProductAccessDto"}]},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/AdminProductAccessControlDto"}},"project":{"$ref":"#/components/schemas/AdminProductAccessProjectDto"},"restrictions":{"type":"array","items":{"$ref":"#/components/schemas/AdminProductAccessControlDto"}}},"required":["entitlement","overrides","project","restrictions"]},"CreateProductAccessOverrideInputDto":{"type":"object","properties":{"offerCode":{"type":"string","maxLength":80},"capabilities":{"type":"array","items":{"type":"string"}},"environmentScope":{"type":"string","enum":["all","non_production"]},"reasonCode":{"type":"string","enum":["commercial","customer_success"]},"explanation":{"type":"string","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","maxLength":240,"minLength":1},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"}},"required":["reasonCode","explanation","sourceReference","startsAt","endsAt"]},"CreateProductAccessRestrictionInputDto":{"type":"object","properties":{"denyAll":{"type":"boolean"},"capabilities":{"type":"array","items":{"type":"string"}},"reasonCode":{"type":"string","enum":["fraud","legal","security"]},"explanation":{"type":"string","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","maxLength":240,"minLength":1},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time","nullable":true}},"required":["denyAll","capabilities","reasonCode","explanation","sourceReference","startsAt"]},"ProductAccessDto":{"type":"object","properties":{"source":{"type":"string","enum":["override","subscription","evaluation","none"]},"capabilities":{"type":"array","items":{"type":"string"}},"capabilityProfileId":{"type":"string","nullable":true},"capabilityProfileVersion":{"type":"number","nullable":true},"validFrom":{"type":"string","format":"date-time","nullable":true},"validUntil":{"type":"string","format":"date-time","nullable":true},"environmentScope":{"type":"string","enum":["all","non_production",null],"nullable":true},"cloudBetaState":{"type":"string","enum":["paid_subscriber","evaluation","no_product_access"]}},"required":["source","capabilities","capabilityProfileId","capabilityProfileVersion","validFrom","validUntil","environmentScope","cloudBetaState"]},"CapabilityProfileRefDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"number"}},"required":["id","version"]},"ProductAccessOverrideStateDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"offerCode":{"type":"string","nullable":true},"capabilities":{"type":"array","items":{"type":"string"}},"endsAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","offerCode","capabilities","endsAt"]},"ProductAccessEvaluationStateDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"offerCode":{"type":"string"},"status":{"type":"string","enum":["active","expired"]},"startedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","offerCode","status","startedAt","expiresAt"]},"ProductAccessSubscriptionStateDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"offerCode":{"type":"string"},"provider":{"type":"string","enum":["stripe","operator"]},"lifecycle":{"type":"string","enum":["pending","active","ended"]},"collection":{"type":"string","enum":["not_applicable","current","overdue","uncollectible"]},"accessPhase":{"type":"string","enum":["paid","cure","runtime_grace","none"]},"scheduledStartsAt":{"type":"string","format":"date-time","nullable":true,"description":"The start of an operator agreement that gives access later, null otherwise"},"renewal":{"type":"string","enum":["automatic","ends_at_period_end"]},"startedAt":{"type":"string","format":"date-time","nullable":true},"currentPeriodEndsAt":{"type":"string","format":"date-time","nullable":true},"endsAt":{"type":"string","format":"date-time","nullable":true},"cureStartedAt":{"type":"string","format":"date-time","nullable":true},"registryAccessEndsAt":{"type":"string","format":"date-time","nullable":true},"runtimeAccessEndsAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","offerCode","provider","lifecycle","collection","accessPhase","scheduledStartsAt","renewal","startedAt","currentPeriodEndsAt","endsAt","cureStartedAt","registryAccessEndsAt","runtimeAccessEndsAt"]},"PluginAccessDecisionDto":{"type":"object","properties":{"pluginId":{"type":"string"},"slug":{"type":"string"},"included":{"type":"boolean"},"requiredOfferCode":{"type":"string","nullable":true},"missingCapabilities":{"type":"array","items":{"type":"string"}}},"required":["pluginId","slug","included","requiredOfferCode","missingCapabilities"]},"ProductAccessSummaryDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"resolvedAt":{"type":"string","format":"date-time"},"source":{"type":"string","enum":["override","subscription","evaluation","none"]},"offerCode":{"type":"string","nullable":true},"capabilityProfile":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/CapabilityProfileRefDto"}]},"capabilities":{"type":"array","items":{"type":"string"}},"environmentScope":{"type":"string","enum":["all","non_production"]},"generation":{"type":"number"},"validFrom":{"type":"string","format":"date-time","nullable":true},"validUntil":{"type":"string","format":"date-time","nullable":true},"baseSource":{"type":"string","enum":["subscription","evaluation","none"]},"accessEndsAt":{"type":"string","format":"date-time","nullable":true},"allAccessRestricted":{"type":"boolean"},"hadAccess":{"type":"boolean","description":"True when a trial, a Subscription, or an override gave this Project access at some time up to now."},"overrides":{"type":"array","items":{"$ref":"#/components/schemas/ProductAccessOverrideStateDto"}},"evaluation":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/ProductAccessEvaluationStateDto"}]},"subscription":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/ProductAccessSubscriptionStateDto"}]},"cureEndsAt":{"type":"string","format":"date-time","nullable":true},"graceEndsAt":{"type":"string","format":"date-time","nullable":true},"plugins":{"type":"array","items":{"$ref":"#/components/schemas/PluginAccessDecisionDto"}},"cloudBeta":{"type":"string","enum":["included","evaluation","none"]}},"required":["projectId","resolvedAt","source","offerCode","capabilityProfile","capabilities","environmentScope","generation","validFrom","validUntil","baseSource","accessEndsAt","allAccessRestricted","hadAccess","overrides","evaluation","subscription","cureEndsAt","graceEndsAt","plugins","cloudBeta"]},"DevelopmentSkillsAccessDto":{"type":"object","properties":{"eligible":{"type":"boolean","description":"True when the caller can read development skills."},"reason":{"type":"string","enum":["eligible","no-active-project","no-development-permission","no-linked-project"],"description":"The first unmet condition, in this order: an active Project, the development Permission, a linked Project."},"qualifyingProjectIds":{"description":"Active linked Projects that qualify the caller, in ascending order. Empty when not eligible.","type":"array","items":{"type":"string","format":"uuid"}}},"required":["eligible","reason","qualifyingProjectIds"]},"DocumentationAccessDto":{"type":"object","properties":{"customerAccountId":{"type":"string","format":"uuid"},"capabilities":{"description":"Unique permitted Capability keys in ascending order.","type":"array","items":{"type":"string"}},"developmentSkills":{"description":"Free development skills access. Capabilities do not change it.","allOf":[{"$ref":"#/components/schemas/DevelopmentSkillsAccessDto"}]},"resolvedAt":{"type":"string","format":"date-time","description":"Calculation time. This answer grants no cache lease."}},"required":["customerAccountId","capabilities","developmentSkills","resolvedAt"]},"LegalEvidenceIpErasureInputDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why the operator runs the command. It reaches the audit record.","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","description":"Support ticket, incident, or contract reference behind the command.","maxLength":240,"minLength":1},"workosUserId":{"type":"string","description":"WorkOS user whose rows the erasure changes. Without it, the erasure changes every row of the Customer Account.","maxLength":240}},"required":["reason","sourceReference"]},"LegalEvidenceIpErasureDto":{"type":"object","properties":{"erased":{"type":"number","description":"Rows whose IP address and IP country the command erased."}},"required":["erased"]},"BreakGlassInputDto":{"type":"object","properties":{"credentialId":{"type":"string","description":"Environment Credential of the installation that cannot start.","format":"uuid"},"reason":{"type":"string","description":"Why the member issues the token. It reaches the audit record.","maxLength":1000,"minLength":1},"lifetimeHours":{"type":"integer","description":"Lifetime of the token in whole hours.","maximum":72,"minimum":1}},"required":["credentialId","reason","lifetimeHours"]},"IssuedBreakGlassTokenDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"environment":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"token":{"type":"string","description":"The signed break-glass token. The API discloses it in this response only."}},"required":["id","environment","expiresAt","token"]},"BreakGlassErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["emergency_token.already_issued","emergency_token.credential_revoked","emergency_token.limit_reached","emergency_token.plan_required","emergency_token.project_inactive"]},"message":{"type":"string"}},"required":["code","message"]},"BreakGlassEligibilityDto":{"type":"object","properties":{"eligible":{"type":"boolean","description":"True while the Project is on a paid plan. A member can issue a break-glass token only then."}},"required":["eligible"]},"BreakGlassEventDto":{"type":"object","properties":{"id":{"type":"string"},"recordedAt":{"type":"string","format":"date-time"},"action":{"type":"string","enum":["issued","revoked"]},"actorDisplay":{"type":"string","description":"Name of the member, or `Vendure support` for every Vendure operator."},"reason":{"type":"string","description":"Reason that the member gave. Null for a command of a Vendure operator.","nullable":true},"environment":{"type":"string","nullable":true},"expiresAt":{"type":"string","format":"date-time","nullable":true},"activations":{"type":"integer","description":"Activations that the token of the event completed until now.","minimum":0}},"required":["id","recordedAt","action","actorDisplay","reason","environment","expiresAt","activations"]},"AdminEntitlementRuntimeStatusDto":{"type":"object","properties":{"refusalsSuspended":{"type":"boolean","description":"True while ENTITLEMENT_RUNTIME_REFUSALS_SUSPENDED is on. The runtime entitlement routes then answer each refusal with 503."}},"required":["refusalsSuspended"]},"EntitlementKeyManifestDto":{"type":"object","properties":{"manifest":{"type":"string","description":"Signed key manifest. It is a JWT with the vendure-entitlement-key-manifest+jwt type that the platform profile root key signs."}},"required":["manifest"]},"EntitlementActivationInputDto":{"type":"object","properties":{"bindingToken":{"type":"string","minLength":1,"description":"Current Runtime Binding token for a same-Installation grant refresh. Mutually exclusive with emergencyToken."},"emergencyToken":{"type":"string","description":"Signed break-glass token that a Vendure operator issued for this Project environment and Installation. It replaces a live Runtime Binding and grants no Capability. Mutually exclusive with bindingToken."},"activationKey":{"type":"string","minLength":43,"maxLength":256,"description":"Random value of at least 256 bits that the runtime stored before this call. Console stores its SHA-256 digest on a new Runtime Binding. An activation without bindingToken with the same key resumes that binding until its first heartbeat or refresh. Console checks only the length. A refresh ignores it."}}},"ActiveEntitlementVerdictDto":{"type":"object","properties":{"verdict":{"type":"string","enum":["active"]},"validUntil":{"type":"string","format":"date-time"},"accessSource":{"type":"string","enum":["subscription","evaluation","override"],"description":"Product Access behind the answer, for display. Absent when no source names it."},"accessEndsAt":{"type":"string","format":"date-time","nullable":true,"description":"End of the source named above, or null when that source records no end."},"accessRenews":{"type":"boolean","description":"True while a paid Subscription renews. False when the access ends at accessEndsAt."}},"required":["verdict","validUntil","accessEndsAt","accessRenews"]},"BoundRuntimeVerdictDto":{"type":"object","properties":{"verdict":{"type":"string","enum":["bound"]},"token":{"type":"string"},"instanceId":{"type":"string","format":"uuid"},"expiresAt":{"type":"string","format":"date-time"}},"required":["verdict","token","instanceId","expiresAt"]},"CapabilityProfileReferenceDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"number","minimum":1}},"required":["id","version"]},"DowngradePreflightRequestDto":{"type":"object","properties":{"evidenceVersion":{"type":"number","enum":[1]},"requestId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"targetProfile":{"$ref":"#/components/schemas/CapabilityProfileReferenceDto"},"removedCapabilities":{"type":"array","items":{"type":"string"}},"requestedAt":{"type":"string","format":"date-time"},"collectBy":{"type":"string","format":"date-time"}},"required":["evidenceVersion","requestId","projectId","targetProfile","removedCapabilities","requestedAt","collectBy"]},"EntitlementActivationResponseDto":{"type":"object","properties":{"grant":{"type":"string"},"entitlement":{"$ref":"#/components/schemas/ActiveEntitlementVerdictDto"},"binding":{"$ref":"#/components/schemas/BoundRuntimeVerdictDto"},"downgradePreflights":{"type":"array","items":{"$ref":"#/components/schemas/DowngradePreflightRequestDto"}}},"required":["grant","entitlement","binding"]},"EntitlementRuntimeErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.missing","credential.invalid","binding.signature_invalid","binding.expired","binding.already_active","binding.split_detected","binding.locked","entitlement.unavailable","binding.version_unsupported","binding.claims_invalid","binding.environment_mismatch","emergency_token.invalid","emergency_token.expired","emergency_token.revoked","emergency_token.exhausted"]},"message":{"type":"string"}},"required":["code","message"]},"EntitlementActivationConflictErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.missing","credential.invalid","binding.signature_invalid","binding.expired","binding.already_active","binding.split_detected","binding.locked","entitlement.unavailable","binding.version_unsupported","binding.claims_invalid","binding.environment_mismatch","emergency_token.invalid","emergency_token.expired","emergency_token.revoked","emergency_token.exhausted"]},"message":{"type":"string"},"bindingExpiresAt":{"type":"string","format":"date-time","description":"Present with binding.already_active: when the token of the held Runtime Binding ends."}},"required":["code","message"]},"EntitlementRuntimeUnavailableErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["service_unavailable"]},"message":{"type":"string"}},"required":["code","message"]},"DowngradeAttestationRemediationDto":{"type":"object","properties":{"code":{"type":"string"},"summary":{"type":"string"},"documentationUrl":{"type":"string","format":"uri"}},"required":["code","summary"]},"DowngradeReadinessCheckDto":{"type":"object","properties":{"id":{"type":"string"},"version":{"type":"number","minimum":1},"moduleId":{"type":"string"},"capability":{"type":"string"},"decision":{"type":"string","enum":["passed","warning","blocked"]},"blockerKind":{"type":"string","enum":["removed_module_configured","dependency_required","unsafe_queued_work","replacement_infrastructure_missing","module_check_failed"]},"dependencies":{"type":"array","items":{"type":"string"}},"safeAggregate":{"type":"object","additionalProperties":false},"remediation":{"$ref":"#/components/schemas/DowngradeAttestationRemediationDto"}},"required":["id","version","moduleId","capability","decision","dependencies"]},"DowngradeCapabilityModuleDto":{"type":"object","properties":{"moduleId":{"type":"string"},"moduleVersion":{"type":"string"},"configuredCapabilities":{"type":"array","items":{"type":"string"}},"checks":{"type":"array","items":{"$ref":"#/components/schemas/DowngradeReadinessCheckDto"}}},"required":["moduleId","moduleVersion","configuredCapabilities","checks"]},"DowngradeAttestationEvidenceDto":{"type":"object","properties":{"evidenceVersion":{"type":"number","enum":[1]},"attestationId":{"type":"string","format":"uuid"},"requestId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"environment":{"type":"string","enum":["development","staging","production"]},"installationId":{"type":"string","format":"uuid"},"collectedAt":{"type":"string","format":"date-time"},"modules":{"type":"array","items":{"$ref":"#/components/schemas/DowngradeCapabilityModuleDto"}}},"required":["evidenceVersion","attestationId","requestId","projectId","environment","installationId","collectedAt","modules"]},"DowngradeAttestationSubmissionDto":{"type":"object","properties":{"bindingToken":{"type":"string"},"evidence":{"$ref":"#/components/schemas/DowngradeAttestationEvidenceDto"}},"required":["bindingToken","evidence"]},"EntitlementHeartbeatInputDto":{"type":"object","properties":{"bindingToken":{"type":"string"}},"required":["bindingToken"]},"EntitlementHeartbeatResponseDto":{"type":"object","properties":{"entitlement":{"$ref":"#/components/schemas/ActiveEntitlementVerdictDto"},"binding":{"$ref":"#/components/schemas/BoundRuntimeVerdictDto"},"downgradePreflights":{"type":"array","items":{"$ref":"#/components/schemas/DowngradePreflightRequestDto"}}},"required":["entitlement","binding"]},"RuntimeReportRuntimeDto":{"type":"object","properties":{"node":{"type":"string","example":"v22.11.0","description":"The Node.js version: `process.version`."}},"required":["node"]},"RuntimeReportPlatformDto":{"type":"object","properties":{"edition":{"type":"string","example":"@vendure-platform/starter","description":"Package name of the installed edition facade. It must be a key of packages."},"channel":{"type":"string","example":"stable","pattern":"^[a-z][a-z0-9-]{0,31}$","description":"Release channel of the installed Packages, for example stable or major."},"packages":{"type":"object","additionalProperties":{"type":"string"},"example":{"@vendure-platform/starter":"1.4.0","@vendure-platform/quote-management":"1.4.0"},"description":"Installed exact version of each @vendure-platform Package, by Package name. 1 to 200 entries."},"vendureCore":{"type":"string","example":"3.5.0","description":"Installed exact version of @vendure/core."}},"required":["edition","channel","packages","vendureCore"]},"RuntimeReportInputDto":{"type":"object","properties":{"bindingToken":{"type":"string","description":"The current Runtime Binding token of the Installation."},"reportedAt":{"type":"string","format":"date-time","description":"Time the runtime made the report, in ISO 8601 with a time zone."},"runtime":{"$ref":"#/components/schemas/RuntimeReportRuntimeDto"},"platform":{"$ref":"#/components/schemas/RuntimeReportPlatformDto"}},"required":["bindingToken","reportedAt","runtime","platform"]},"RuntimeReportInvalidErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["runtime_report.invalid"]},"message":{"type":"string","description":"Names the first field that is not valid."}},"required":["code","message"]},"EnvironmentCredentialDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"environment":{"type":"string","description":"Credential environment. Supported values are `development` and `production`. A migrated compatibility record keeps its original label. The field carries a string rather than an enum to hold those migrated labels, so a new environment label needs no schema change and no consumer gets a compile-time exhaustiveness check on this field."},"label":{"type":"string","description":"Display label of this credential. A record without a stored label shows a generated one."},"issuedByUserId":{"type":"string","description":"Opaque WorkOS user identifier of the user who issued this credential.","nullable":true},"generation":{"type":"number","minimum":1},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","projectId","environment","label","issuedByUserId","generation","createdAt","rotatedAt","revokedAt","lastUsedAt"]},"CredentialIdempotencyKeyInvalidErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.idempotency_key_invalid"]},"message":{"type":"string"}},"required":["code","message"]},"CredentialAlreadyExistsErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.already_exists"]},"message":{"type":"string"}},"required":["code","message"]},"CredentialIdempotentReplayErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.idempotent_replay"]},"message":{"type":"string"},"credentialId":{"type":"string","format":"uuid"}},"required":["code","message","credentialId"]},"CredentialPaidSubscriptionRequiredErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.paid_subscription_required"]},"message":{"type":"string"}},"required":["code","message"]},"EnvironmentCredentialInputDto":{"type":"object","properties":{"environment":{"type":"string","enum":["development","production"],"description":"Environment of the new credential. Migrated records keep their original label."},"label":{"type":"string","description":"Display label that identifies this credential. Without a label, the API generates one.","maxLength":120},"machineName":{"type":"string","description":"Host name of the machine that holds the credential. The generated label uses it. A request with a label ignores it.","maxLength":253}},"required":["environment"]},"SameMachineCredentialDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"label":{"type":"string","description":"Display label of the credential."},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","label","createdAt","lastUsedAt"]},"NewEnvironmentCredentialDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"environment":{"type":"string","description":"Credential environment. Supported values are `development` and `production`. A migrated compatibility record keeps its original label. The field carries a string rather than an enum to hold those migrated labels, so a new environment label needs no schema change and no consumer gets a compile-time exhaustiveness check on this field."},"label":{"type":"string","description":"Display label of this credential. A record without a stored label shows a generated one."},"issuedByUserId":{"type":"string","description":"Opaque WorkOS user identifier of the user who issued this credential.","nullable":true},"generation":{"type":"number","minimum":1},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"credential":{"type":"string","description":"Returned once. Store this value in a secret store."},"sameMachineCredentials":{"description":"Other active development credentials of this Project that the same user issued with the same machine name. The API cannot tell whether they belong to the same machine, so it never revokes them. A client can name them so the user revokes a credential that the user no longer uses. Empty when the request sent no machine name or the credential is a production credential.","type":"array","items":{"$ref":"#/components/schemas/SameMachineCredentialDto"}}},"required":["id","projectId","environment","label","issuedByUserId","generation","createdAt","rotatedAt","revokedAt","lastUsedAt","credential","sameMachineCredentials"]},"CredentialIdempotencyMismatchErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.idempotency_mismatch"]},"message":{"type":"string"}},"required":["code","message"]},"EnvironmentCredentialRenameInputDto":{"type":"object","properties":{"label":{"type":"string","description":"New display label that identifies this credential.","minLength":1,"maxLength":120}},"required":["label"]},"IssuedEnvironmentCredentialDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"environment":{"type":"string","description":"Credential environment. Supported values are `development` and `production`. A migrated compatibility record keeps its original label. The field carries a string rather than an enum to hold those migrated labels, so a new environment label needs no schema change and no consumer gets a compile-time exhaustiveness check on this field."},"label":{"type":"string","description":"Display label of this credential. A record without a stored label shows a generated one."},"issuedByUserId":{"type":"string","description":"Opaque WorkOS user identifier of the user who issued this credential.","nullable":true},"generation":{"type":"number","minimum":1},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"credential":{"type":"string","description":"Returned once. Store this value in a secret store."}},"required":["id","projectId","environment","label","issuedByUserId","generation","createdAt","rotatedAt","revokedAt","lastUsedAt","credential"]},"AdminEnvironmentCredentialDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"environment":{"type":"string","description":"Migrated records keep the `staging` label. The issue command refuses it.","enum":["development","staging","production"]},"label":{"type":"string","description":"Display label of this credential. A record without a stored label shows a generated one."},"issuedByUserId":{"type":"string","description":"Opaque WorkOS user identifier of the user who issued this credential.","nullable":true},"generation":{"type":"number","description":"Rises with each rotation.","minimum":1},"state":{"type":"string","description":"An Environment Credential has no expiry. Revocation is the only end.","enum":["active","revoked"]},"issuable":{"type":"boolean","description":"False for a migrated environment label."},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","description":"Last successful entitlement request with this credential.","format":"date-time","nullable":true}},"required":["id","projectId","environment","label","issuedByUserId","generation","state","issuable","createdAt","rotatedAt","revokedAt","lastUsedAt"]},"AdminProjectCredentialsDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"customerAccountId":{"type":"string","format":"uuid"},"projectName":{"type":"string"},"projectState":{"type":"string","enum":["active","archived"]},"credentials":{"type":"array","items":{"$ref":"#/components/schemas/AdminEnvironmentCredentialDto"}}},"required":["projectId","customerAccountId","projectName","projectState","credentials"]},"OperatorCommandInputDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why the operator runs the command. It reaches the audit record.","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","description":"Support ticket, incident, or contract reference behind the command.","maxLength":240,"minLength":1}},"required":["reason","sourceReference"]},"InstallationActivationErrorDto":{"type":"object","properties":{"code":{"type":"string","enum":["credential.invalid","binding.already_active","binding.locked","emergency_token.invalid","emergency_token.expired","emergency_token.revoked","emergency_token.exhausted","entitlement.unavailable","internal_error"],"description":"Stable error code from the latest activation attempt."},"occurredAt":{"type":"string","format":"date-time"},"guidance":{"type":"string","description":"Customer recovery guidance for this activation error."}},"required":["code","occurredAt","guidance"]},"InstallationPlatformDto":{"type":"object","properties":{"version":{"type":"string","description":"The Platform release: the installed version of the edition facade."},"edition":{"type":"string","description":"Package name of the installed edition facade."},"channel":{"type":"string","description":"The release channel that the runtime reported."},"vendureCore":{"type":"string","description":"Installed version of @vendure/core."},"node":{"type":"string","description":"Node.js version of the runtime."},"reportedAt":{"type":"string","format":"date-time","description":"Time the runtime made the report."},"latestVersion":{"type":"string","nullable":true,"description":"The release of the edition facade that the catalog serves to the Project: stable, or the major channel with Prerelease Preview."},"releasesBehind":{"type":"number","nullable":true,"description":"Platform releases between version and latestVersion. 0 is up to date. Null when the catalog does not serve the edition."}},"required":["version","edition","channel","vendureCore","node","reportedAt","latestVersion","releasesBehind"]},"InstallationDto":{"type":"object","properties":{"label":{"type":"string","description":"Stable display label built from the environment and the shortened instance."},"status":{"type":"string","enum":["never_connected","active","stale","offline","split_locked","revoked"],"description":"Server-derived status of this Installation."},"firstSeenAt":{"type":"string","format":"date-time"},"lastSeenAt":{"type":"string","format":"date-time"},"platform":{"nullable":true,"description":"The latest runtime report. Null when the Installation sent none: the version is unknown.","type":"object","allOf":[{"$ref":"#/components/schemas/InstallationPlatformDto"}]}},"required":["label","status","firstSeenAt","lastSeenAt","platform"]},"InstallationEnvironmentDto":{"type":"object","properties":{"environment":{"type":"string","description":"Environment label. A migrated compatibility record keeps its original environment label."},"issuable":{"type":"boolean","description":"The environment accepts a new Environment Credential. Production needs the Product Access that the runtime needs for production: a paid Subscription, also in payment cure and runtime grace, or a Product Access Override that covers all environments. A trial and a non-production override cover development only."},"status":{"type":"string","enum":["never_connected","active","stale","offline","split_locked","revoked"],"description":"Server-derived customer status. The Console app computes no freshness threshold."},"guidance":{"type":"string","description":"Customer recovery guidance for the status. It names customer commands only."},"schedulerCheck":{"type":"boolean","description":"The guidance asks the customer to check the worker and the scheduler plugin. Only a late production Installation sets it. The Console app shows the License Guard scheduler link for it."},"lastActivationError":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/InstallationActivationErrorDto"}]},"credential":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/EnvironmentCredentialDto"}]},"installation":{"nullable":true,"description":"The Installation that decides the status and the guidance of this row.","type":"object","allOf":[{"$ref":"#/components/schemas/InstallationDto"}]},"installations":{"description":"Listed Installations. A development credential lists each live Installation that reported in the last 24 hours, most recent first. Another environment lists its one current Installation.","type":"array","items":{"$ref":"#/components/schemas/InstallationDto"}}},"required":["environment","issuable","status","guidance","schedulerCheck","lastActivationError","credential","installation","installations"]},"ProjectInstallationsDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"environments":{"type":"array","items":{"$ref":"#/components/schemas/InstallationEnvironmentDto"}}},"required":["projectId","environments"]},"AdminInstallationPlatformDto":{"type":"object","properties":{"version":{"type":"string","description":"The Platform release: the installed version of the edition facade."},"edition":{"type":"string","description":"Package name of the installed edition facade."},"channel":{"type":"string","description":"The release channel that the runtime reported."},"vendureCore":{"type":"string","description":"Installed version of @vendure/core."},"node":{"type":"string","description":"Node.js version of the runtime."},"reportedAt":{"type":"string","format":"date-time","description":"Time the runtime made the report."},"receivedAt":{"type":"string","format":"date-time","description":"Time Console stored the report."}},"required":["version","edition","channel","vendureCore","node","reportedAt","receivedAt"]},"AdminInstallationVersionDto":{"type":"object","properties":{"runtimeBindingId":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"projectName":{"type":"string"},"customerAccountId":{"type":"string","format":"uuid"},"environment":{"type":"string","enum":["development","staging","production"]},"instanceId":{"type":"string","format":"uuid"},"status":{"type":"string","enum":["active","split_locked"]},"lastSeenAt":{"type":"string","format":"date-time"},"platform":{"nullable":true,"description":"The latest runtime report. Null when the Installation sent none.","type":"object","allOf":[{"$ref":"#/components/schemas/AdminInstallationPlatformDto"}]}},"required":["runtimeBindingId","projectId","projectName","customerAccountId","environment","instanceId","status","lastSeenAt","platform"]},"AdminInstallationVersionListDto":{"type":"object","properties":{"installations":{"description":"Live Installations, oldest reported Platform release first. An Installation without a report comes last.","type":"array","items":{"$ref":"#/components/schemas/AdminInstallationVersionDto"}},"truncated":{"type":"boolean","description":"True when more Installations match than the list holds."}},"required":["installations","truncated"]},"AdminRuntimeBindingDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"credentialId":{"type":"string","format":"uuid"},"credentialGeneration":{"type":"number","minimum":1},"environment":{"type":"string","enum":["development","staging","production"]},"instanceId":{"type":"string","format":"uuid"},"health":{"type":"string","description":"Operator health. `stale` and `split_locked` hold the active slot of the Environment Credential and accept a rebind.","enum":["active","stale","split_locked","revoked"]},"recoverable":{"type":"boolean","description":"True when a rebind command can end this Runtime Binding."},"diagnosis":{"type":"string","description":"Operator-facing explanation of the health."},"boundAt":{"type":"string","format":"date-time"},"lastSeenAt":{"type":"string","format":"date-time"},"tokenExpiresAt":{"type":"string","format":"date-time"},"splitDetectedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"revokedReason":{"type":"string","nullable":true}},"required":["id","projectId","credentialId","credentialGeneration","environment","instanceId","health","recoverable","diagnosis","boundAt","lastSeenAt","tokenExpiresAt","splitDetectedAt","revokedAt","revokedReason"]},"AdminEmergencyTokenDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"credentialId":{"type":"string","format":"uuid"},"environment":{"type":"string","enum":["development","staging","production"]},"instanceId":{"type":"string","description":"The one Installation that this token may bind.","format":"uuid"},"state":{"type":"string","enum":["active","expired","exhausted","revoked"]},"issuedByOperatorId":{"type":"string","description":"Null when a member of the Customer Account issued the token.","format":"uuid","nullable":true},"issuedByUserId":{"type":"string","description":"Console user that issued the token from the Installations page. Null when a Vendure operator issued it.","nullable":true},"issuedReason":{"type":"string"},"issuedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"maxUses":{"type":"number","description":"Use limit of the token. Null when a member of the Customer Account issued the token, which has no use limit.","minimum":1,"nullable":true},"useCount":{"type":"number","minimum":0},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"revokedByOperatorId":{"type":"string","format":"uuid","nullable":true}},"required":["id","projectId","credentialId","environment","instanceId","state","issuedByOperatorId","issuedByUserId","issuedReason","issuedAt","expiresAt","maxUses","useCount","lastUsedAt","revokedAt","revokedByOperatorId"]},"AdminRuntimeCredentialBindingsDto":{"type":"object","properties":{"credential":{"$ref":"#/components/schemas/AdminEnvironmentCredentialDto"},"bindings":{"type":"array","items":{"$ref":"#/components/schemas/AdminRuntimeBindingDto"}},"emergencyTokens":{"type":"array","items":{"$ref":"#/components/schemas/AdminEmergencyTokenDto"}}},"required":["credential","bindings","emergencyTokens"]},"AdminRuntimeEventDto":{"type":"object","properties":{"id":{"type":"string"},"recordedAt":{"type":"string","format":"date-time"},"action":{"type":"string"},"actorType":{"type":"string","enum":["user","system","access_token"]},"actorId":{"type":"string"},"source":{"type":"string"},"targetType":{"type":"string"},"targetId":{"type":"string"},"outcome":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"sourceReference":{"type":"string","nullable":true}},"required":["id","recordedAt","action","actorType","actorId","source","targetType","targetId","outcome","reason","sourceReference"]},"AdminRuntimeRecoveryDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"customerAccountId":{"type":"string","format":"uuid"},"projectName":{"type":"string"},"projectState":{"type":"string","enum":["active","archived"]},"credentials":{"type":"array","items":{"$ref":"#/components/schemas/AdminRuntimeCredentialBindingsDto"}},"events":{"description":"Newest audit records that produced this state. The read drops every client address and user agent.","type":"array","items":{"$ref":"#/components/schemas/AdminRuntimeEventDto"}}},"required":["projectId","customerAccountId","projectName","projectState","credentials","events"]},"RuntimeRebindInputDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why the operator runs the command. It reaches the audit record.","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","description":"Support ticket, incident, or contract reference behind the command.","maxLength":240,"minLength":1},"environment":{"type":"string","description":"Environment of the named Runtime Binding. A mismatch refuses the command.","enum":["development","staging","production"]},"instanceId":{"type":"string","description":"Installation of the named Runtime Binding. A mismatch refuses the command.","format":"uuid"}},"required":["reason","sourceReference","environment","instanceId"]},"AdminIssuedEmergencyTokenDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"credentialId":{"type":"string","format":"uuid"},"environment":{"type":"string","enum":["development","staging","production"]},"instanceId":{"type":"string","description":"The one Installation that this token may bind.","format":"uuid"},"state":{"type":"string","enum":["active","expired","exhausted","revoked"]},"issuedByOperatorId":{"type":"string","description":"Null when a member of the Customer Account issued the token.","format":"uuid","nullable":true},"issuedByUserId":{"type":"string","description":"Console user that issued the token from the Installations page. Null when a Vendure operator issued it.","nullable":true},"issuedReason":{"type":"string"},"issuedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"maxUses":{"type":"number","description":"Use limit of the token. Null when a member of the Customer Account issued the token, which has no use limit.","minimum":1,"nullable":true},"useCount":{"type":"number","minimum":0},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"revokedByOperatorId":{"type":"string","format":"uuid","nullable":true},"token":{"type":"string","description":"The signed break-glass token. The API discloses it in this response only."},"notified":{"type":"boolean","description":"False when the operator notification could not be delivered."}},"required":["id","projectId","credentialId","environment","instanceId","state","issuedByOperatorId","issuedByUserId","issuedReason","issuedAt","expiresAt","maxUses","useCount","lastUsedAt","revokedAt","revokedByOperatorId","token","notified"]},"RegistryAccessPlanDto":{"type":"object","properties":{"offerCode":{"type":"string","description":"Product Offer code, for example `growth`."},"trial":{"type":"boolean","description":"True while an evaluation supplies the Product Access."}},"required":["offerCode","trial"]},"RegistryPackageAccessDto":{"type":"object","properties":{"packageSelector":{"type":"string","description":"Exact Package name, or the Package pattern of a Registry Access Grant."},"sources":{"type":"array","items":{"type":"string","enum":["standard","registry_access_grant"]}},"latestVersion":{"type":"string","nullable":true,"description":"Highest exact version of the Project's channel: stable, or the major channel with Prerelease Preview. A grant-only Package has no exact version."},"grantVersionRanges":{"description":"Semantic-version ranges of the Registry Access Grants for this selector. Empty without a grant.","type":"array","items":{"type":"string"}},"accessExpiresAt":{"type":"string","format":"date-time","nullable":true,"description":"Earliest end of the access. `null` means the access has no end."}},"required":["packageSelector","sources","latestVersion","grantVersionRanges","accessExpiresAt"]},"RegistryAccessConfigurationDto":{"type":"object","properties":{"registryUrl":{"type":"string","description":"Public Registry origin for the npm, pnpm, and Bun clients."},"scope":{"type":"string","description":"npm scope that the Registry distributes."},"productAccess":{"type":"string","enum":["active","none"],"description":"`active` when the Project is active and its Product Access grants at least one unexpired Capability. An empty Package list with `active` access means that no Package matching those Capabilities is published."},"productAccessRenews":{"type":"boolean","description":"True when a paid Subscription that renews automatically supplies the Product Access. The standard `accessExpiresAt` of a Package is then the end of the billing period, not the end of the access."},"plan":{"nullable":true,"description":"The trial or plan that supplies the standard Package access. Null without Product Access and for an override that names no Product Offer.","type":"object","allOf":[{"$ref":"#/components/schemas/RegistryAccessPlanDto"}]},"packages":{"type":"array","items":{"$ref":"#/components/schemas/RegistryPackageAccessDto"}}},"required":["registryUrl","scope","productAccess","productAccessRenews","plan","packages"]},"RegistryAccessMetricsDayDto":{"type":"object","properties":{"date":{"type":"string","format":"date","description":"UTC calendar day as `YYYY-MM-DD`."},"served":{"type":"number","description":"Registry requests that got a 2xx or 3xx response."},"denied":{"type":"number","description":"Registry requests that got any other response."}},"required":["date","served","denied"]},"RegistryAccessMetricsDto":{"type":"object","properties":{"days":{"description":"One entry for each UTC day of the last 7 days, the current day included, oldest first. A day without a request reports zero.","type":"array","items":{"$ref":"#/components/schemas/RegistryAccessMetricsDayDto"}}},"required":["days"]},"PackageCatalogImportRepositoryDto":{"type":"object","properties":{"owner":{"type":"string","description":"GitHub account that owns the publishing repository."},"name":{"type":"string","description":"Repository name that produced the publish."}},"required":["owner","name"]},"PackageCatalogImportPackageDto":{"type":"object","properties":{"packageName":{"type":"string","description":"Published npm Package name."},"version":{"type":"string","description":"Published semantic version."},"upstreamTarballPath":{"type":"string","description":"Registry path of the published tarball."},"releaseClass":{"type":"string","enum":["entitlement-aware","legacy"]},"publicationState":{"type":"string","enum":["published","unpublished"]},"repositoryDirectory":{"type":"string","description":"Repository-relative directory of the Package."},"manifest":{"type":"object","description":"The vendurePlugin field of the published package.json.","additionalProperties":true}},"required":["packageName","version","upstreamTarballPath","releaseClass","publicationState","repositoryDirectory","manifest"]},"PackageCatalogImportInputDto":{"type":"object","properties":{"repository":{"$ref":"#/components/schemas/PackageCatalogImportRepositoryDto"},"packages":{"description":"Every Package the publish produced. One call carries one publish.","type":"array","items":{"$ref":"#/components/schemas/PackageCatalogImportPackageDto"}}},"required":["repository","packages"]},"ImportedPackageDto":{"type":"object","properties":{"packageName":{"type":"string"},"version":{"type":"string"},"kind":{"type":"string","enum":["plugin","facade","kernel","tooling"]},"slug":{"type":"string"},"outcome":{"type":"string","description":"created when the import wrote the release, unchanged when it already held it.","enum":["created","unchanged"]}},"required":["packageName","version","kind","slug","outcome"]},"PackageCatalogImportResultDto":{"type":"object","properties":{"packagesCreated":{"type":"number"},"versionsCreated":{"type":"number"},"versionsUnchanged":{"type":"number","description":"Releases the catalog already held. A retried publish."},"entriesCreated":{"type":"number"},"packages":{"type":"array","items":{"$ref":"#/components/schemas/ImportedPackageDto"}}},"required":["packagesCreated","versionsCreated","versionsUnchanged","entriesCreated","packages"]},"RegistryAccessActorDto":{"type":"object","properties":{"name":{"type":"string","description":"Member name, or the email address of a member without a name. A user that left the Customer Account, Vendure support, the npm CLI, and the Vendure system have a fixed label."},"email":{"type":"string","nullable":true,"description":"Email address of a current member. Null for every other actor."}},"required":["name","email"]},"RegistryAccessTokenListItemDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"name":{"type":"string"},"prefix":{"type":"string","description":"First eight token characters, for display and lookup."},"generation":{"type":"number","minimum":1},"state":{"type":"string","enum":["active","expired","revoked"]},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"createdBy":{"$ref":"#/components/schemas/RegistryAccessActorDto"}},"required":["id","projectId","name","prefix","generation","state","expiresAt","createdAt","rotatedAt","revokedAt","lastUsedAt","createdBy"]},"RegistryAccessTokenHistoryEntryDto":{"type":"object","properties":{"id":{"type":"string","description":"Audit record identifier of the lifecycle change."},"tokenId":{"type":"string","format":"uuid"},"tokenName":{"type":"string","description":"Token name at the time of the change."},"prefix":{"type":"string","description":"Display prefix at the time of the change."},"generation":{"type":"number","minimum":1},"action":{"type":"string","enum":["created","rotated","renamed","revoked"]},"actor":{"$ref":"#/components/schemas/RegistryAccessActorDto"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","tokenId","tokenName","prefix","generation","action","actor","createdAt"]},"RegistryAccessTokenInputDto":{"type":"object","properties":{"name":{"type":"string","description":"Display name. Unique among the Project tokens that are not revoked, compared without case."},"expiresAt":{"type":"string","format":"date-time","description":"Expiry time. Defaults to 365 days from creation. A shorter customer-selected expiry is accepted."}},"required":["name"]},"IssuedRegistryAccessTokenDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"name":{"type":"string"},"prefix":{"type":"string","description":"First eight token characters, for display and lookup."},"generation":{"type":"number","minimum":1},"state":{"type":"string","enum":["active","expired","revoked"]},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"token":{"type":"string","description":"Returned once. Store this value in a secret store."}},"required":["id","projectId","name","prefix","generation","state","expiresAt","createdAt","rotatedAt","revokedAt","lastUsedAt","token"]},"RegistryAccessTokenDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"name":{"type":"string"},"prefix":{"type":"string","description":"First eight token characters, for display and lookup."},"generation":{"type":"number","minimum":1},"state":{"type":"string","enum":["active","expired","revoked"]},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","projectId","name","prefix","generation","state","expiresAt","createdAt","rotatedAt","revokedAt","lastUsedAt"]},"RegistryAccessTokenRenameInputDto":{"type":"object","properties":{"name":{"type":"string"}},"required":["name"]},"AdminPrereleasePreviewDto":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Whether the Project has preview access to prerelease Package Versions."},"changedAt":{"type":"string","description":"Time of the last change. Null until the first operator command.","format":"date-time","nullable":true},"changedByOperatorId":{"type":"string","description":"Operator of the last change. Null until the first operator command.","format":"uuid","nullable":true},"changedByOperator":{"description":"Identity of the operator of the last change. Null until the first operator command, for an unknown operator, or when the operator does not have console-admin:operators:read or console-admin:operators:suspend.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminOperatorIdentityDto"}]}},"required":["enabled","changedAt","changedByOperatorId","changedByOperator"]},"AdminRegistryAccessTokenDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"name":{"type":"string"},"prefix":{"type":"string","description":"Eight-character display prefix. Never the secret."},"generation":{"type":"number","minimum":1},"state":{"type":"string","enum":["active","expired","revoked"]},"expiresAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"rotatedAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"lastUsedAt":{"type":"string","format":"date-time","nullable":true},"createdByUserId":{"type":"string"},"migrationSource":{"type":"string","description":"Legacy system that imported the token, or null for a native token.","nullable":true}},"required":["id","projectId","name","prefix","generation","state","expiresAt","createdAt","rotatedAt","revokedAt","lastUsedAt","createdByUserId","migrationSource"]},"AdminRegistryAccessTokenHistoryDto":{"type":"object","properties":{"id":{"type":"string"},"tokenId":{"type":"string","format":"uuid"},"tokenName":{"type":"string","description":"Token name at the recorded moment."},"prefix":{"type":"string","description":"Display prefix at the recorded moment."},"generation":{"type":"number","minimum":1},"action":{"type":"string","enum":["created","rotated","renamed","revoked"]},"actorType":{"type":"string","enum":["user","system","access_token"]},"actorId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"required":["id","tokenId","tokenName","prefix","generation","action","actorType","actorId","createdAt"]},"AdminRegistryAccessGrantDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"packagePattern":{"type":"string","description":"Exact Package name or a scope pattern."},"versionRange":{"type":"string","description":"Semantic-version range."},"source":{"type":"string","description":"Origin of the grant, for example `migration:vendure-io`."},"reason":{"type":"string"},"state":{"type":"string","enum":["pending","active","expired","revoked"]},"imported":{"type":"boolean","description":"True when a migration import created the grant."},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time","nullable":true},"revokedAt":{"type":"string","format":"date-time","nullable":true},"createdAt":{"type":"string","format":"date-time"},"createdByUserId":{"type":"string"}},"required":["id","packagePattern","versionRange","source","reason","state","imported","startsAt","endsAt","revokedAt","createdAt","createdByUserId"]},"AdminRegistryPackageAccessDto":{"type":"object","properties":{"packageSelector":{"type":"string"},"sources":{"type":"array","items":{"type":"string","enum":["standard","registry_access_grant"]}},"versionSelectors":{"type":"array","items":{"type":"string"}},"latestVersion":{"type":"string","nullable":true},"accessExpiresAt":{"type":"string","format":"date-time","nullable":true},"decidedBy":{"type":"string","description":"Access source that produced this Package decision.","enum":["product_access","registry_access_grant","both"]}},"required":["packageSelector","sources","versionSelectors","latestVersion","accessExpiresAt","decidedBy"]},"AdminRegistryProductAccessDto":{"type":"object","properties":{"source":{"type":"string","enum":["override","subscription","evaluation","none"]},"generation":{"type":"number","minimum":0},"capabilities":{"type":"array","items":{"type":"string"}},"validFrom":{"type":"string","format":"date-time","nullable":true},"validUntil":{"type":"string","format":"date-time","nullable":true}},"required":["source","generation","capabilities","validFrom","validUntil"]},"AdminRegistryAccessRestrictionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"denyAll":{"type":"boolean"},"capabilities":{"type":"array","items":{"type":"string"}},"reasonCode":{"type":"string","enum":["fraud","legal","security"]},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time","nullable":true}},"required":["id","denyAll","capabilities","reasonCode","startsAt","endsAt"]},"AdminRegistryAccessDecisionDto":{"type":"object","properties":{"code":{"type":"string","description":"Source that produced the current Package decision of the Project.","enum":["product_access","registry_access_grant","product_access_and_grant","project_inactive","no_product_access","product_access_expired","product_access_restricted","no_package_access"]},"detail":{"type":"string"},"productAccess":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminRegistryProductAccessDto"}]},"restrictions":{"type":"array","items":{"$ref":"#/components/schemas/AdminRegistryAccessRestrictionDto"}}},"required":["code","detail","productAccess","restrictions"]},"AdminRegistryAccessEvidenceDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"requestId":{"type":"string"},"requestedAt":{"type":"string","format":"date-time"},"tokenId":{"type":"string","format":"uuid","nullable":true},"packageName":{"type":"string","nullable":true},"requestedVersion":{"type":"string","nullable":true},"outcome":{"type":"string","enum":["allowed","denied"]},"statusCode":{"type":"number"},"upstreamStatusCode":{"type":"number","nullable":true},"denialCode":{"type":"string","description":"Stable denial reason, or null when the Registry served the request.","enum":["unauthenticated","no_registry_access","package_not_visible","method_not_supported","concurrency_saturated","upstream_invalid","authorization_unavailable","upstream_timeout","other"],"nullable":true}},"required":["id","requestId","requestedAt","tokenId","packageName","requestedVersion","outcome","statusCode","upstreamStatusCode","denialCode"]},"AdminRegistryAccessInspectionDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"customerAccountId":{"type":"string","format":"uuid"},"projectName":{"type":"string"},"projectState":{"type":"string","enum":["active","archived"]},"prereleasePreview":{"$ref":"#/components/schemas/AdminPrereleasePreviewDto"},"registryUrl":{"type":"string"},"scope":{"type":"string"},"tokens":{"type":"array","items":{"$ref":"#/components/schemas/AdminRegistryAccessTokenDto"}},"history":{"type":"array","items":{"$ref":"#/components/schemas/AdminRegistryAccessTokenHistoryDto"}},"grants":{"type":"array","items":{"$ref":"#/components/schemas/AdminRegistryAccessGrantDto"}},"packages":{"type":"array","items":{"$ref":"#/components/schemas/AdminRegistryPackageAccessDto"}},"decision":{"$ref":"#/components/schemas/AdminRegistryAccessDecisionDto"},"events":{"type":"array","items":{"$ref":"#/components/schemas/AdminRegistryAccessEvidenceDto"}}},"required":["projectId","customerAccountId","projectName","projectState","prereleasePreview","registryUrl","scope","tokens","history","grants","packages","decision","events"]},"AdminAuditOperatorDto":{"type":"object","properties":{"displayName":{"type":"string","nullable":true},"email":{"type":"string"},"id":{"type":"string","format":"uuid"}},"required":["displayName","email","id"]},"ViewerUserDto":{"type":"object","properties":{"id":{"type":"string"},"email":{"type":"string"},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true}},"required":["id","email","firstName","lastName"]},"ViewerAdministratorDto":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"}},"required":["name","email"]},"ViewerMembershipChoiceDto":{"type":"object","properties":{"organizationId":{"type":"string"},"customerAccountId":{"type":"string","format":"uuid","nullable":true},"name":{"type":"string"},"status":{"type":"string","enum":["active","inactive","pending"]},"roleSlugs":{"type":"array","items":{"type":"string"}},"externallyManaged":{"type":"boolean","description":"True when a directory sync connection manages the Membership and its Roles."},"avatarColor":{"type":"string","enum":["slate","sky","blue","green","amber","red",null],"nullable":true},"logoUrl":{"type":"string","description":"Signed read URL of the uploaded logo. Null unless the Membership is active.","format":"uri","nullable":true},"administrators":{"type":"array","items":{"$ref":"#/components/schemas/ViewerAdministratorDto"}}},"required":["organizationId","customerAccountId","name","status","roleSlugs","externallyManaged","avatarColor","logoUrl"]},"ViewerInvitationDto":{"type":"object","properties":{"name":{"type":"string","description":"Name of the inviting Customer Account."},"administrators":{"type":"array","items":{"$ref":"#/components/schemas/ViewerAdministratorDto"}}},"required":["name","administrators"]},"ViewerImpersonatorDto":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"ViewerDto":{"type":"object","properties":{"user":{"$ref":"#/components/schemas/ViewerUserDto"},"memberships":{"type":"array","items":{"$ref":"#/components/schemas/ViewerMembershipChoiceDto"}},"customerAccount":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/CustomerAccountDto"}]},"roles":{"type":"array","items":{"type":"string"}},"permissions":{"type":"array","items":{"type":"string"}},"invitations":{"description":"Pending Invitations to the verified email address. Empty unless the user has no Membership.","type":"array","items":{"$ref":"#/components/schemas/ViewerInvitationDto"}},"askForInvitation":{"type":"boolean","description":"True when a user without a Membership or Invitation has a verified email address in a verified domain of a migrated Customer Account. It grants no access and names no account or person."},"impersonator":{"description":"The Vendure team member who impersonates the user. The API reads it from the signed `act` claim. Null for a normal session.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/ViewerImpersonatorDto"}]}},"required":["user","memberships","customerAccount","roles","permissions","invitations","askForInvitation","impersonator"]},"UpdateProfileInputDto":{"type":"object","properties":{"firstName":{"type":"string","maxLength":120},"lastName":{"type":"string","maxLength":120}}},"SessionImpersonatorDto":{"type":"object","properties":{"email":{"type":"string"}},"required":["email"]},"SessionIntrospectionDto":{"type":"object","properties":{"active":{"type":"boolean","enum":[true]},"sessionId":{"type":"string"},"userId":{"type":"string"},"organizationId":{"type":"string","nullable":true},"impersonator":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/SessionImpersonatorDto"}]},"expiresAt":{"type":"integer","description":"JWT exp claim rounded down to integer Unix seconds since 1970-01-01T00:00:00Z."}},"required":["active","sessionId","userId","organizationId","impersonator","expiresAt"]},"CliAuthorizationInputDto":{"type":"object","properties":{"client":{"type":"string","enum":["create","cli"]},"redirectUri":{"type":"string","description":"Loopback callback the command line tool listens on."},"state":{"type":"string"},"codeChallenge":{"type":"string"},"codeChallengeMethod":{"type":"string","enum":["S256"]},"decision":{"type":"string","enum":["approved","denied"]}},"required":["client","redirectUri","state","codeChallenge","codeChallengeMethod","decision"]},"CliAuthorizationDto":{"type":"object","properties":{"redirectTo":{"type":"string","description":"Loopback address that carries the outcome back to the tool."}},"required":["redirectTo"]},"CliSessionIntrospectionDto":{"type":"object","properties":{"active":{"type":"boolean","description":"Always true. A rejected session answers a typed error status instead.","enum":[true]},"workosUserId":{"type":"string","description":"WorkOS user the browser approval recorded."},"workosOrganizationId":{"type":"string","description":"WorkOS organization this session is bound to."},"roleSlugs":{"description":"Every Role slug of the current Membership. An unknown slug grants nothing.","type":"array","items":{"type":"string"}},"expiresAt":{"type":"string","description":"When the presented access token stops verifying.","format":"date-time"}},"required":["active","workosUserId","workosOrganizationId","roleSlugs","expiresAt"]},"CliSessionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"client":{"type":"string","enum":["create","cli"],"description":"The tool that started the login."},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":"string","description":"The last refresh or request. Null until one uses the session. The API records it once a minute at most.","format":"date-time","nullable":true},"expiresAt":{"type":"string","description":"When the refresh token expires and the session ends.","format":"date-time"}},"required":["id","client","createdAt","lastUsedAt","expiresAt"]},"CatalogCapabilityDto":{"type":"object","properties":{"key":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"}},"required":["key","name","description"]},"CatalogPriceAmountsDto":{"type":"object","properties":{"EUR":{"type":"number","description":"Minor units of one payment period"},"USD":{"type":"number","description":"Minor units of one payment period"}},"required":["EUR","USD"]},"CatalogOfferPriceDto":{"type":"object","properties":{"purchaseOption":{"type":"string","enum":["annual","monthly"]},"interval":{"type":"string","enum":["year","month"]},"taxBehavior":{"type":"string","enum":["exclusive"]},"amounts":{"$ref":"#/components/schemas/CatalogPriceAmountsDto"}},"required":["purchaseOption","interval","taxBehavior","amounts"]},"CatalogOfferDto":{"type":"object","properties":{"code":{"type":"string"},"displayName":{"type":"string"},"description":{"type":"string"},"capabilityCount":{"type":"number","description":"Number of Capabilities the offer grants"},"headlineCapabilities":{"description":"The Capabilities this offer adds to the offer below it","type":"array","items":{"$ref":"#/components/schemas/CatalogCapabilityDto"}},"prices":{"description":"One entry for each purchase option the offer sells","type":"array","items":{"$ref":"#/components/schemas/CatalogOfferPriceDto"}}},"required":["code","displayName","description","capabilityCount","headlineCapabilities","prices"]},"CatalogRegionDto":{"type":"object","properties":{"code":{"type":"string","description":"ISO 3166-1 alpha-2 country code","example":"AT"},"currency":{"type":"string","enum":["EUR","USD"]},"taxIdType":{"type":"string","description":"The Stripe tax ID type that the billing details accept for this country. Null means that the country accepts no tax ID.","enum":["ae_trn","au_abn","br_cnpj","ca_bn","eu_vat","gb_vat","il_vat","in_gst","is_vat","jp_cn","kr_brn","mx_rfc","no_vat","nz_gst","rs_pib","tr_tin","us_ein","za_vat",null],"nullable":true},"taxIdName":{"type":"string","description":"The name of the tax ID that the billing details accept for this country, for example \"VAT number\" or \"EIN\". Null when the country has no tax ID format.","example":"VAT number","nullable":true},"taxIdExample":{"type":"string","description":"An example tax ID in the format that the billing details accept for this country. Null when the country has no tax ID format.","example":"ATU12345678","nullable":true},"postalCodeRequired":{"type":"boolean","description":"Whether a billing address in this country needs a postal code. False for a country without postal codes."}},"required":["code","currency","taxIdType","taxIdName","taxIdExample","postalCodeRequired"]},"CatalogTrialDto":{"type":"object","properties":{"eligible":{"type":"boolean","description":"Whether the current Customer Account can still start its one free trial"},"days":{"type":"number","description":"Length of the no-card free trial in days"},"checkoutTrialDays":{"type":"number","description":"Length of the free trial in days that Stripe Checkout grants to the other offers"},"noCardOfferCodes":{"type":"array","description":"Product Offers whose trial starts in the Console without a payment method. Stripe Checkout grants no trial for these offers.","items":{"type":"string","enum":["starter","growth"]}}},"required":["eligible","days","checkoutTrialDays","noCardOfferCodes"]},"CatalogDto":{"type":"object","properties":{"offers":{"type":"array","items":{"$ref":"#/components/schemas/CatalogOfferDto"}},"regions":{"description":"The billing regions Checkout accepts, and the currency each region buys in","type":"array","items":{"$ref":"#/components/schemas/CatalogRegionDto"}},"salesOnlyRegions":{"description":"ISO 3166-1 alpha-2 codes of the countries that Checkout refuses but Vendure sales sells to. The Console lists them in the country selector with a link to sales","example":["CH","LI","MC","UA"],"type":"array","items":{"type":"string"}},"purchasesEnabled":{"type":"boolean","description":"Whether this environment sells self-serve. Checkout refuses while it is false"},"trial":{"description":"The one free trial window of the current Customer Account","allOf":[{"$ref":"#/components/schemas/CatalogTrialDto"}]}},"required":["offers","regions","salesOnlyRegions","purchasesEnabled","trial"]},"AccountCloudAccessDto":{"type":"object","properties":{"activation":{"type":"string","enum":["enabled","disabled"],"description":"The Cloud activation switch of this environment."},"admitted":{"type":"boolean","description":"Whether Vendure admitted the Customer Account to the Cloud beta."},"available":{"type":"boolean","description":"Whether the Console shows the Cloud settings of the Customer Account: the switch is enabled and the Customer Account is admitted."}},"required":["activation","admitted","available"]},"CloudAccessDto":{"type":"object","properties":{"activation":{"type":"string","enum":["enabled","disabled"],"description":"The Cloud activation switch of this environment."},"admitted":{"type":"boolean","description":"Whether Vendure admitted the Customer Account to the Cloud beta."},"projectEligible":{"type":"boolean","description":"Whether the Project is active and has a paid Subscription."},"canActivate":{"type":"boolean","description":"Whether the caller can start new Cloud onboarding for the Project. The API enforces the same decision on each activation command."},"refusal":{"type":"string","enum":["activation_disabled","not_admitted","project_not_eligible","permission_missing"],"nullable":true,"description":"The first missing condition. Null when canActivate is true."}},"required":["activation","admitted","projectEligible","canActivate","refusal"]},"AdminCloudBetaAdmissionDto":{"type":"object","properties":{"admitted":{"type":"boolean","description":"Whether the Customer Account is admitted to the Cloud beta."},"changedAt":{"type":"string","description":"Time of the last change. Null until the first operator command.","format":"date-time","nullable":true},"changedByOperatorId":{"type":"string","description":"Operator of the last change. Null until the first operator command.","format":"uuid","nullable":true},"changedByOperator":{"description":"Identity of the operator of the last change. Null until the first operator command, for an unknown operator, or when the operator does not have console-admin:operators:read or console-admin:operators:suspend.","nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/AdminOperatorIdentityDto"}]}},"required":["admitted","changedAt","changedByOperatorId","changedByOperator"]},"CloudProjectLinkDto":{"type":"object","properties":{"cloudProjectId":{"type":"string","format":"uuid","nullable":true,"description":"The Cloud project of the Project. Null until the Console creates it."}},"required":["cloudProjectId"]},"CloudProjectLinkInputDto":{"type":"object","properties":{"cloudProjectId":{"type":"string","format":"uuid","description":"The Cloud project for the Project."}},"required":["cloudProjectId"]},"NotificationProjectDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string","description":"Name of the Project when Console created the notification."}},"required":["id","name"]},"NotificationPluginDto":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"}},"required":["slug","name"]},"NotificationReleaseDto":{"type":"object","properties":{"version":{"type":"string"},"prerelease":{"type":"boolean"},"projects":{"description":"The Projects of the Customer Account that the catalog serves this release to.","type":"array","items":{"$ref":"#/components/schemas/NotificationProjectDto"}},"plugins":{"description":"The included Plugins that changed in this release. Empty when no included Plugin changed.","type":"array","items":{"$ref":"#/components/schemas/NotificationPluginDto"}},"unavailable":{"description":"Included Plugins whose changelog was not available when Console created the notification.","type":"array","items":{"$ref":"#/components/schemas/NotificationPluginDto"}}},"required":["version","prerelease","projects","plugins","unavailable"]},"NotificationDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"type":{"type":"string","enum":["platform.release_published","platform.prerelease_published","project.trial_email"]},"customerAccountId":{"type":"string","format":"uuid"},"customerAccountName":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"readAt":{"type":"string","format":"date-time","nullable":true},"release":{"nullable":true,"type":"object","allOf":[{"$ref":"#/components/schemas/NotificationReleaseDto"}]}},"required":["id","type","customerAccountId","customerAccountName","createdAt","readAt","release"]},"NotificationListDto":{"type":"object","properties":{"notifications":{"description":"The newest 100 notifications of the signed-in person, newest first.","type":"array","items":{"$ref":"#/components/schemas/NotificationDto"}}},"required":["notifications"]},"NotificationUnreadCountDto":{"type":"object","properties":{"count":{"type":"number","minimum":0}},"required":["count"]},"MarkNotificationsReadInputDto":{"type":"object","properties":{"projectId":{"type":"string","description":"Marks only the notifications that name this Project.","format":"uuid"}}},"NotificationTransportSettingDto":{"type":"object","properties":{"transport":{"type":"string","enum":["in_app","email"]},"enabled":{"type":"boolean"},"locked":{"type":"boolean","description":"True when the member cannot change this setting."}},"required":["transport","enabled","locked"]},"NotificationPreferenceDto":{"type":"object","properties":{"type":{"type":"string","enum":["platform.release_published","platform.prerelease_published","project.trial_email"]},"label":{"type":"string"},"description":{"type":"string"},"transports":{"type":"array","items":{"$ref":"#/components/schemas/NotificationTransportSettingDto"}}},"required":["type","label","description","transports"]},"NotificationPreferenceListDto":{"type":"object","properties":{"preferences":{"type":"array","items":{"$ref":"#/components/schemas/NotificationPreferenceDto"}}},"required":["preferences"]},"UpdateNotificationPreferenceInputDto":{"type":"object","properties":{"type":{"type":"string","enum":["platform.release_published","platform.prerelease_published","project.trial_email"]},"transport":{"type":"string","enum":["in_app","email"]},"enabled":{"type":"boolean"}},"required":["type","transport","enabled"]},"PluginSummaryDto":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":"string"},"category":{"type":"string","enum":["b2b","commerce","platform","search","edition","tooling"]},"requiredCapabilities":{"type":"array","items":{"type":"string"}},"offerCodes":{"type":"array","items":{"type":"string"}},"requiredOfferCode":{"type":"string","nullable":true}},"required":["id","slug","name","tagline","category","requiredCapabilities","offerCodes","requiredOfferCode"]},"PluginDetailDto":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":"string"},"category":{"type":"string","enum":["b2b","commerce","platform","search","edition","tooling"]},"requiredCapabilities":{"type":"array","items":{"type":"string"}},"offerCodes":{"type":"array","items":{"type":"string"}},"requiredOfferCode":{"type":"string","nullable":true},"description":{"type":"string"},"benefits":{"type":"array","items":{"type":"string"}},"useGuidance":{"type":"string"},"documentationUrl":{"type":"string"},"repositoryUrl":{"type":"string"},"packages":{"type":"array","items":{"type":"string"}}},"required":["id","slug","name","tagline","category","requiredCapabilities","offerCodes","requiredOfferCode","description","benefits","useGuidance","documentationUrl","repositoryUrl","packages"]},"PluginChangelogDto":{"type":"object","properties":{"pluginId":{"type":"string"},"slug":{"type":"string"},"available":{"type":"boolean","description":"False while the tarball of the served Package Version cannot be read."},"version":{"type":"string","nullable":true},"prerelease":{"type":"boolean","description":"True when the served Package Version is a prerelease. False while unavailable."},"tag":{"type":"string","nullable":true},"sourceCommit":{"type":"string","nullable":true},"content":{"type":"string","description":"The customer release notes, one section for each release. Empty when the served Package Version has none. Null while unavailable.","nullable":true},"synchronizedAt":{"type":"string","format":"date-time","nullable":true}},"required":["pluginId","slug","available","version","prerelease","tag","sourceCommit","content","synchronizedAt"]},"ProjectPluginDto":{"type":"object","properties":{"id":{"type":"string"},"slug":{"type":"string"},"name":{"type":"string"},"tagline":{"type":"string"},"category":{"type":"string","enum":["b2b","commerce","platform","search","edition","tooling"]},"requiredCapabilities":{"type":"array","items":{"type":"string"}},"offerCodes":{"type":"array","items":{"type":"string"}},"requiredOfferCode":{"type":"string","nullable":true},"included":{"type":"boolean"},"missingCapabilities":{"type":"array","items":{"type":"string"}},"packageName":{"type":"string","description":"Package that installs this Plugin on its own."},"version":{"type":"string","description":"Package Version that the catalog serves to this Project."},"prerelease":{"type":"boolean","description":"True when the served Package Version is a prerelease."}},"required":["id","slug","name","tagline","category","requiredCapabilities","offerCodes","requiredOfferCode","included","missingCapabilities","packageName","version","prerelease"]},"ProjectPluginListDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"offerCode":{"type":"string","nullable":true},"capabilities":{"type":"array","items":{"type":"string"}},"facadePackageName":{"type":"string","description":"Edition Package that installs every Plugin of the Product Offer. It is the supported install path. Null while no facade for the offer is imported.","nullable":true},"plugins":{"type":"array","items":{"$ref":"#/components/schemas/ProjectPluginDto"}}},"required":["projectId","offerCode","capabilities","facadePackageName","plugins"]},"ChangelogReleasePluginDto":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"content":{"type":"string","description":"Markdown notes of this Plugin for the release."}},"required":["slug","name","content"]},"ChangelogReleaseDto":{"type":"object","properties":{"version":{"type":"string"},"prerelease":{"type":"boolean","description":"True when the release version is a prerelease."},"date":{"type":"string","format":"date","nullable":true},"plugins":{"type":"array","items":{"$ref":"#/components/schemas/ChangelogReleasePluginDto"}}},"required":["version","prerelease","date","plugins"]},"UnavailableChangelogDto":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"}},"required":["slug","name"]},"ProjectChangelogDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"releases":{"description":"The newest 50 releases, newest first. A release with no Plugin notes counts toward the limit. A release holds only the Plugins that Plugin Access includes and that changed in it.","type":"array","items":{"$ref":"#/components/schemas/ChangelogReleaseDto"}},"unavailable":{"description":"Included Plugins whose changelog is not available at this time. The cause is a failed or unfinished tarball read, or a Package Version without a stored tarball.","type":"array","items":{"$ref":"#/components/schemas/UnavailableChangelogDto"}}},"required":["projectId","releases","unavailable"]},"ProjectLinkCreateInputDto":{"type":"object","properties":{"telemetryInstallationId":{"type":"string","description":"Vendure Framework telemetry installation ID of the local application. A successful link attributes the telemetry of this installation to the Project.","format":"uuid"}}},"ProjectLinkRequestDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["pending","approved","denied","expired"]},"protocolVersion":{"type":"number","enum":[1]},"expiresAt":{"type":"string","format":"date-time"},"pollingSecret":{"type":"string"},"verificationPath":{"type":"string"},"supports":{"type":"array","description":"What a decision on this link can also settle. A requester that reads no capability runs the link on its own.","items":{"type":"string","enum":["cli-auth"]}}},"required":["id","state","protocolVersion","expiresAt","pollingSecret","verificationPath","supports"]},"ProjectLinkStatusDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["pending","approved","denied","expired"]},"protocolVersion":{"type":"number","enum":[1]},"expiresAt":{"type":"string","format":"date-time"}},"required":["id","state","protocolVersion","expiresAt"]},"ProjectLinkPollInputDto":{"type":"object","properties":{"pollingSecret":{"type":"string"}},"required":["pollingSecret"]},"ProjectLinkManifestProjectDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"}},"required":["id","name"]},"ProjectLinkManifestAccountDto":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"]},"ProjectLinkManifestLinkDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"protocolVersion":{"type":"number","enum":[1]}},"required":["id","protocolVersion"]},"ProjectLinkManifestDto":{"type":"object","properties":{"schemaVersion":{"type":"number","enum":[1]},"project":{"$ref":"#/components/schemas/ProjectLinkManifestProjectDto"},"account":{"$ref":"#/components/schemas/ProjectLinkManifestAccountDto"},"link":{"$ref":"#/components/schemas/ProjectLinkManifestLinkDto"}},"required":["schemaVersion","project","account","link"]},"ProjectLinkPollResultDto":{"type":"object","properties":{"state":{"type":"string","enum":["pending","approved","denied","expired"]},"expiresAt":{"type":"string","format":"date-time"},"manifest":{"$ref":"#/components/schemas/ProjectLinkManifestDto"}},"required":["state","expiresAt"]},"CliAuthorizationRequestDto":{"type":"object","properties":{"client":{"type":"string","enum":["create","cli"]},"redirectUri":{"type":"string","description":"Loopback callback the command line tool listens on."},"state":{"type":"string"},"codeChallenge":{"type":"string"},"codeChallengeMethod":{"type":"string","enum":["S256"]}},"required":["client","redirectUri","state","codeChallenge","codeChallengeMethod"]},"ProjectLinkApprovalInputDto":{"type":"object","properties":{"projectId":{"type":"string","format":"uuid"},"cliAuth":{"$ref":"#/components/schemas/CliAuthorizationRequestDto"}},"required":["projectId"]},"ProjectLinkDecisionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"state":{"type":"string","enum":["pending","approved","denied","expired"]},"protocolVersion":{"type":"number","enum":[1]},"expiresAt":{"type":"string","format":"date-time"},"redirectTo":{"type":"string","description":"Where the browser goes when the decision also settled a command line login."}},"required":["id","state","protocolVersion","expiresAt"]},"ProjectLinkDenialInputDto":{"type":"object","properties":{"cliAuth":{"$ref":"#/components/schemas/CliAuthorizationRequestDto"}}},"ProjectDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"billingProfileId":{"type":"string","format":"uuid"},"name":{"type":"string"},"slug":{"type":"string","description":"A stable identifier from the creation name that is unique within the Customer Account and does not change on rename.","example":"my-b2b-shop"},"state":{"type":"string","enum":["active","archived"]},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"archivedAt":{"type":"string","format":"date-time","nullable":true},"prereleasePreviewEnabled":{"type":"boolean","description":"Whether Vendure gave this Project preview access to prerelease Package Versions. Only a Vendure operator changes it."},"provenance":{"type":"string","enum":["migrated_legacy",null],"nullable":true},"hasActiveV2RuntimeBinding":{"type":"boolean","description":"Whether this Project has a Runtime Binding with active status in Console."},"linkedAt":{"type":"string","description":"Time of the first successful Project Link. Null for a Project without a successful link.","format":"date-time","nullable":true},"firstBootedAt":{"type":"string","description":"Time of the first Runtime Binding, which is the first entitled boot. Null for a Project that never booted.","format":"date-time","nullable":true}},"required":["id","billingProfileId","name","slug","state","createdAt","updatedAt","archivedAt","prereleasePreviewEnabled","provenance","hasActiveV2RuntimeBinding","linkedAt","firstBootedAt"]},"ProjectEditionDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"edition":{"type":"string","enum":["starter","growth","scale","enterprise",null],"nullable":true,"description":"Product Offer behind the current access, or null when no offer supplies it."},"source":{"type":"string","enum":["override","subscription","evaluation","none"]}},"required":["id","name","edition","source"]},"ProjectActivityDto":{"type":"object","properties":{"id":{"type":"string"},"action":{"type":"string","enum":["project.created","project.renamed","project.archived","project.reactivated","project_link.approved","evaluation.started","evaluation.extended","evaluation.expired","product_access.changed","subscription.paid_activation","subscription.cancellation_scheduled","subscription.cancellation_withdrawn","credential.issued","credential.rotated","credential.revoked","credential.renamed","installation.connected","installation.disconnected","installation.revoked","registry_token.created","registry_token.renamed","registry_token.rotated","registry_token.revoked","project.prerelease_preview_enabled","project.prerelease_preview_disabled"]},"actorDisplay":{"type":"string"},"summary":{"type":"string"},"targetType":{"type":"string","enum":["project","project_link","evaluation","product_access","subscription","environment_credential","installation","registry_token"]},"createdAt":{"type":"string","format":"date-time"}},"required":["id","action","actorDisplay","summary","targetType","createdAt"]},"ProjectActivityPageDto":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ProjectActivityDto"}},"nextCursor":{"type":"string","nullable":true}},"required":["items","nextCursor"]},"ProjectNameInputDto":{"type":"object","properties":{"name":{"type":"string","maxLength":120,"minLength":1}},"required":["name"]},"ProjectArchiveBlockersDto":{"type":"object","properties":{"blockers":{"type":"array","description":"The active Project Lifecycle Dependency kinds that block the archive, in name order. Empty when the Project can be archived.","items":{"type":"string","enum":["evaluation","subscription","credential","runtime_binding","cloud_activation"]}}},"required":["blockers"]},"ProjectCustomerAccountDto":{"type":"object","properties":{"customerAccountId":{"type":"string","format":"uuid"},"organizationId":{"type":"string","description":"The WorkOS organization of the Customer Account."}},"required":["customerAccountId","organizationId"]},"CreateOperatorProjectInputDto":{"type":"object","properties":{"reason":{"type":"string","description":"Why the operator runs the command. It reaches the audit record.","maxLength":1000,"minLength":1},"sourceReference":{"type":"string","description":"Support ticket, incident, or contract reference behind the command.","maxLength":240,"minLength":1},"name":{"type":"string","maxLength":120,"minLength":1},"kind":{"type":"string","enum":["customer","partner_demo"],"description":"The kind of the new Project. Without it, the Project takes the account kind."}},"required":["reason","sourceReference","name"]},"AdminCreatedProjectDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"slug":{"type":"string"},"state":{"type":"string","enum":["active","archived"]}},"required":["id","name","slug","state"]}}}}