Documentation
¶
Overview ¶
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.8.0 DO NOT EDIT.
Index ¶
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- type AcceptSuggestionJSONRequestBody
- type AcceptedSuggestion
- type AcceptedSuggestionSource
- type AccessToken
- type AccessTokenCreate
- type AccessTokenSecret
- type Account
- type AccountId
- type AccountInvite
- type AccountKind
- type AccountPreferences
- type AccountPreferencesWeekStart
- type AccountStatus
- type AccountSummary
- type AccountSummaryKind
- type AccountSummaryStatus
- type AccountWeekStart
- type AccountsWithoutProvider
- type ActivityEntry
- type ActivityEntryActorType
- type ActivityPage
- type Actor
- type ActorType
- type AddCommentJSONBody
- type AddCommentJSONRequestBody
- type AddCommentParams
- type AddOperatorJSONRequestBody
- type AddressConfirm
- type AddressRequest
- type AddressRequested
- type AdminTenant
- type AdminTenantId
- type AdminTenantPage
- type AdminTenantStatus
- type AgreeToTermsJSONRequestBody
- type AiArrivalProposalsChoice
- type AiAsk
- type AiBudgetState
- type AiBudgetStateState
- type AiClassifyJSONRequestBody
- type AiFieldsAsk
- type AiFieldsAskFields
- type AiGenerateTemplateJSONRequestBody
- type AiGenerateTemplateParams
- type AiJurisdiction
- type AiMinJurisdiction
- type AiOptOutBasis
- type AiPersonOptOut
- type AiPersonOptOutChoice
- type AiProvider
- type AiProviderConfiguration
- type AiProviderKind
- type AiSource
- type AiSourceChoice
- type AiSourceChoiceSources
- type AiSourceKind
- type AiSourceMinJurisdictionLock
- type AiSourceMinJurisdictionOrigin
- type AiSourcePersonOptOutLock
- type AiSourcePersonOptOutOrigin
- type AiSourceSourcesLock
- type AiSourceSourcesOrigin
- type AiSources
- type AiSuggestFieldsJSONRequestBody
- type AiSummarizeContainerJSONRequestBody
- type AiSummarizeJSONRequestBody
- type AiSummarizeThreadJSONRequestBody
- type AiTranslateJSONRequestBody
- type AiTranslateRequest
- type AiTranslation
- type AiTranslationSource
- type AnswerAlexaJSONBody
- type AnswerAlexaJSONRequestBody
- type ArchiveContainerParams
- type ArchiveWorkItemParams
- type AskWorkspaceJSONRequestBody
- type AskWorkspaceParams
- type AssignWorkItemJSONRequestBody
- type AssignWorkItemParams
- type Assignment
- type AuditActor
- type AuditActorType
- type AuditAnchoring
- type AuditAnchoringConfiguration
- type AuditChange
- type AuditContext
- type AuditContextChannel
- type AuditEntry
- type AuditEntryOutcome
- type AuditEntrySeverity
- type AuditExport
- type AuditExportFormat
- type AuditTarget
- type AuthenticatorReplacement
- type AuthenticatorReplacementConfirmation
- type AuthorizeMailboxJSONRequestBody
- type AuthorizeMailboxParams
- type AuthorizeOauthClientJSONRequestBody
- type AutoAssignCandidate
- type AutoAssignCandidateKind
- type AutoAssignOutcome
- type AutoAssignPolicy
- type AutoAssignStrategy
- type AutoAssignWorkItemParams
- type AutomationActionField
- type AutomationActionFieldKind
- type AutomationRule
- type AutomationRuleCreate
- type AutomationRuleCreateOnError
- type AutomationRuleOnError
- type AutomationRulePage
- type AutomationRuleUpdate
- type AutomationRuleUpdateOnError
- type AvatarInput
- type BackupArchive
- type BackupArchiveChecksumStatus
- type BackupArchiveMode
- type BackupArchiveScopeKind
- type BackupRetention
- type BackupRun
- type BackupRunMode
- type BackupRunStatus
- type BackupRunTrial
- type BackupRunTrialFailure
- type BackupRunTrigger
- type BackupSchedule
- type BackupScheduleMode
- type BackupScheduleNotifyOn
- type BackupScheduleScopeKind
- type BackupScheduleUpdate
- type BackupScheduleUpdateMode
- type BackupScheduleUpdateNotifyOn
- type BackupStart
- type BackupStartMode
- type BackupTarget
- type BackupTargetCreate
- type BackupTargetCreateEncryptionMode
- type BackupTargetEncryptionMode
- type BackupTargetKind
- type BackupTargetProbe
- type BackupTargetScope
- type Bucket
- type BucketCreate
- type BucketDeletion
- type BucketId
- type BucketUpdate
- type BulkOperation
- type BulkOperationOp
- type BulkResult
- type BulkUpdateWorkItemsJSONBody
- type BulkUpdateWorkItemsJSONRequestBody
- type BulkUpdateWorkItemsParams
- type CalendarFeed
- type CalendarFeedCreate
- type CalendarFeedSecret
- type CancelInstanceIdentityProviderWithdrawalParams
- type CancelJobParams
- type Capabilities
- type CapabilitiesSupportedLocalesDirection
- type CapabilitiesSupportedLocalesWeekStart
- type CapabilitiesTenancyMode
- type CapabilitiesWorkspacePermissions
- type ChangeInstallationPresetJSONRequestBody
- type ChangeInstallationPresetParams
- type ChangePasswordJSONRequestBody
- type ChangePasswordParams
- type ChangePlanJSONRequestBody
- type ChangePlanParams
- type ChangePresetJSONRequestBody
- type ChangePresetParams
- type CheckMailboxParams
- type CheckPasswordJSONRequestBody
- type CheckPasswordParams
- type ChooseAiSourceJSONRequestBody
- type ClearCoverParams
- type ClearDueDateParams
- type CollectionFigure
- type CollectionFigureKind
- type CollectionHandle
- type CollectionId
- type Comment
- type CommentId
- type CommentJumbleEntryJSONRequestBody
- type CommentJumbleEntryParams
- type CommentKind
- type CommentPage
- type CompleteLinkJSONRequestBody
- type CompleteMailboxAuthorizationJSONRequestBody
- type CompleteMailboxAuthorizationParams
- type CompleteOidcSignInJSONRequestBody
- type CompletePasskeyEnrollmentJSONRequestBody
- type CompletePasskeyRegistrationJSONRequestBody
- type CompletePasskeySignInJSONRequestBody
- type CompleteProviderConnectJSONRequestBody
- type CompleteSignInJSONRequestBody
- type CompleteWorkItemJSONBody
- type CompleteWorkItemJSONRequestBody
- type CompleteWorkItemParams
- type Completion
- type CompletionPolicy
- type ConfigureAiProviderJSONRequestBody
- type ConfigureAuditAnchoringJSONRequestBody
- type ConfigureFirstIdentityProviderJSONRequestBody
- type ConfigureFirstIdentityProviderParams
- type ConfigureIdentityProviderJSONRequestBody
- type ConfigureIdentityProviderParams
- type ConfigureInstanceAiProviderJSONRequestBody
- type ConfigureInstanceIdentityProviderJSONRequestBody
- type ConfigureInstanceIdentityProviderParams
- type ConfirmAddressJSONRequestBody
- type ConfirmAuthenticatorReplacementJSONRequestBody
- type ConfirmMediaUploadParams
- type ConfirmTotpJSONRequestBody
- type ConnectMailboxJSONRequestBody
- type ConnectMailboxParams
- type ConnectedIdentity
- type ConsentGrant
- type ConsentPurpose
- type ConsentRecord
- type ConsentRecordSource
- type ConsentRegisterEntry
- type ConsentRegisterEntrySource
- type ConsentWithdrawal
- type Container
- type ContainerCreate
- type ContainerCreatePreset
- type ContainerId
- type ContainerMilestone
- type ContainerPage
- type ContainerPolicies
- type ContainerType
- type ContainerTypeFilter
- type ContainerUpdate
- type ConvertJumbleEntryJSONRequestBody
- type ConvertJumbleEntryParams
- type Cover
- type CoverInput
- type CoverInputKind
- type CoverKind
- type CreateAccessTokenJSONRequestBody
- type CreateAccessTokenParams
- type CreateBackupScheduleJSONRequestBody
- type CreateBackupTargetJSONRequestBody
- type CreateBucketJSONRequestBody
- type CreateCalendarFeedJSONRequestBody
- type CreateCalendarFeedParams
- type CreateContainerJSONRequestBody
- type CreateContainerParams
- type CreateDataSubjectRequestJSONRequestBody
- type CreateDataSubjectRequestParams
- type CreateGroupJSONRequestBody
- type CreateGroupParams
- type CreateIdentityProviderJSONRequestBody
- type CreateIdentityProviderParams
- type CreateInstallationPresetJSONRequestBody
- type CreateInstanceAiProviderJSONRequestBody
- type CreateInstanceBackupTargetJSONRequestBody
- type CreateInstanceBackupTargetParams
- type CreateInstanceIdentityProviderJSONRequestBody
- type CreateInstanceIdentityProviderParams
- type CreateLabelJSONRequestBody
- type CreateManagedAccountJSONRequestBody
- type CreateManagedAccountParams
- type CreatePlanJSONRequestBody
- type CreatePlanParams
- type CreatePlatformSubscriptionJSONRequestBody
- type CreatePlatformSubscriptionParams
- type CreateReminderJSONRequestBody
- type CreateReminderParams
- type CreateRetentionPolicyJSONRequestBody
- type CreateRuleJSONRequestBody
- type CreateRuleParams
- type CreateSavedViewJSONRequestBody
- type CreateSavedViewParams
- type CreateServiceAccountJSONRequestBody
- type CreateServiceAccountParams
- type CreateTemplateJSONRequestBody
- type CreateTemplateParams
- type CreateWebhookSubscriptionJSONRequestBody
- type CreateWebhookSubscriptionParams
- type CreateWorkItemJSONRequestBody
- type CreateWorkItemParams
- type Cursor
- type CustomFieldDefinition
- type CustomFieldDefinitionCreate
- type CustomFieldDefinitionUpdate
- type CustomFieldId
- type CustomFieldKey
- type CustomFieldKind
- type CustomFieldValue
- type DataSubjectRequest
- type DataSubjectRequestCreate
- type DataSubjectRequestExtension
- type DataSubjectRequestExtensionReason
- type DataSubjectRequestKeptLegalBasis
- type DataSubjectRequestKind
- type DataSubjectRequestScope
- type DataSubjectRequestStatus
- type DataSubjectRequestUpdate
- type DefineCustomFieldJSONRequestBody
- type DefineCustomFieldParams
- type DegradedFeature
- type DeleteBucketParams
- type DeleteCommentParams
- type DeleteCustomFieldParams
- type DeleteGroupParams
- type DeleteInstanceBackupTargetParams
- type DeleteLabelParams
- type DeleteReminderParams
- type DeleteSavedViewParams
- type DeleteTemplateParams
- type DeliverAddressedMailMultipartBody
- type DeliverAddressedMailMultipartRequestBody
- type DeliverAddressedMailParams
- type DeliveryId
- type DependencyHealth
- type DependencyHealthCircuitState
- type DeprecatedField
- type DescribeRuleJSONRequestBody
- type DescribeRuleParams
- type DeviceId
- type DisableRuleParams
- type DisableTotpJSONRequestBody
- type DisableTotpParams
- type DismissJumbleEntryParams
- type DownloadMediaContentParams
- type DroppedReference
- type DroppedReferenceKind
- type DueDateInput
- type DuplicateResult
- type DuplicateWorkItemJSONBody
- type DuplicateWorkItemJSONRequestBody
- type DuplicateWorkItemParams
- type DuplicatesByTitleQuery
- type EditCommentApplicationMergePatchPlusJSONBody
- type EditCommentApplicationMergePatchPlusJSONRequestBody
- type EditCommentParams
- type EffectiveStructure
- type EffectiveStructurePreset
- type ElevateSessionParams
- type EmptyTrashParams
- type EnableRuleParams
- type EncryptionKeyUsage
- type EncryptionStatus
- type EncryptionStoreCount
- type EncryptionStoreCountStore
- type EnrollTotpJSONRequestBody
- type EntriesText
- type EntryHidden
- type ErasureCaseRecord
- type ErasureKept
- type ErasureKeptHoldScopeKind
- type ErasureMode
- type ErasurePreview
- type ErasureReapplyRequest
- type ErasureReapplyResult
- type ErasureReapplyResultErasuresOutcome
- type EventType
- type ExchangeOauthCodeFormdataRequestBody
- type ExchangeOauthCodeJSONRequestBody
- type Expand
- type ExportAuditTrailJSONRequestBody
- type ExportItemsJSONRequestBody
- type ExportItemsParams
- type ExportTenantJSONRequestBody
- type ExportViewJSONRequestBody
- type ExportViewParams
- type ExtendDataSubjectRequestJSONRequestBody
- type ExtendDataSubjectRequestParams
- type FeedId
- type FilterNode
- type FilterNodeOp
- type FindDuplicatesByTitleJSONRequestBody
- type ForgetPasswordJSONRequestBody
- type GetWorkItemParams
- type GiveConsentJSONRequestBody
- type GrantMembershipJSONRequestBody
- type GrantMembershipParams
- type Group
- type GroupCreate
- type GroupDetail
- type GroupId
- type GroupPage
- type GroupUpdate
- type HealthReport
- type HealthReportMigrationStatus
- type HealthReportRole
- type HealthStatus
- type HealthWarning
- type HealthWarningSeverity
- type HttpRequestCall
- type HttpRequestCallMethod
- type HttpRequestJSONRequestBody
- type HubId
- type HubPrivacy
- type IdempotencyKey
- type IdentityProvider
- type IdentityProviderConfiguration
- type IdentityProviderInstallationLock
- type IdentityProviderKind
- type IdentityProviderPreset
- type IdentityProviderProvisioning
- type IdentityProviderScope
- type IfMatch
- type ImportEntriesJSONRequestBody
- type ImportEntriesParams
- type ImportId
- type ImportKind
- type ImportRequest
- type ImportRun
- type ImportRunStatus
- type InboundTriggerToken
- type IncludeArchived
- type InspectInvitationJSONRequestBody
- type InstallationDefaults
- type InstallationDefaultsWeekStart
- type InstallationPreset
- type InstallationPresetCreate
- type InstallationPresetCreatePreset
- type InstallationPresetUpdate
- type InstallationPresetUpdatePreset
- type InstallationSetUp
- type InstanceJournalEntry
- type InstanceJournalPage
- type InstanceOverview
- type InstanceReach
- type InstanceSetting
- type InstanceSettingKind
- type InstanceSettingWorkspaceMay
- type InstanceSettings
- type InstantiateTemplateJSONRequestBody
- type InstantiateTemplateParams
- type InvalidParamFormatError
- type InvitationInspection
- type InvitationRedemption
- type InvitationSummary
- type InviteAccountJSONRequestBody
- type InviteAccountParams
- type InvitedAccount
- type InvitedAccountKind
- type InvitedAccountStatus
- type InvitedAccountWeekStart
- type IssueStartPasswordParams
- type ItemAccess
- type ItemAttachments
- type ItemExport
- type ItemExportDocument
- type ItemExportFormat
- type ItemId
- type ItemLabels
- type ItemMembers
- type ItemQuery
- type ItemQueryCount
- type ItemQueryGroup
- type ItemQueryResult
- type ItemSearchPage
- type ItemSearchQuery
- type ItemType
- type Job
- type JobId
- type JobRef
- type JobStatus
- type JumbleDestination
- type JumbleDestinationPage
- type JumbleEntry
- type JumbleEntryChannel
- type JumbleEntryComment
- type JumbleEntryConvert
- type JumbleEntryConvertType
- type JumbleEntryMeantForKind
- type JumbleEntryPage
- type JumbleEntryStatus
- type JumbleEntrySubmit
- type JumbleEntrySubmitChannel
- type JumbleIntakeAccepted
- type JumbleIntakeDelivery
- type JumbleIntakeToken
- type Kudos
- type KudosFrom
- type Label
- type LabelCreate
- type LabelId
- type LabelUpdate
- type LegalHold
- type LegalHoldCreate
- type LegalHoldCreateScopeKind
- type LegalHoldRecord
- type LegalHoldRecordScopeKind
- type LegalHoldRelease
- type LegalHoldReplaceRequest
- type LegalHoldReplaceResult
- type LegalHoldReplaceResultHoldsOutcome
- type LegalHoldScopeKind
- type LegalLinks
- type LegalLinksTermsSetBy
- type LegalPolicySettings
- type LimitExceeded
- type LinkCompletion
- type ListAccessTokensParams
- type ListActivityParams
- type ListAttachmentsParams
- type ListAuditEntriesParams
- type ListAuditEntriesParamsOutcome
- type ListBackupsAtTargetParams
- type ListCommentsParams
- type ListConsentsParams
- type ListContainersParams
- type ListCustomFieldsParams
- type ListDataSubjectRequestsParams
- type ListGroupsParams
- type ListInstanceJournalParams
- type ListJumbleDestinationsParams
- type ListJumbleEntriesParams
- type ListJumbleEntriesParamsChannel
- type ListJumbleEntriesParamsStatus
- type ListLabelsParams
- type ListLegalHoldsParams
- type ListMembershipsParams
- type ListPlatformDeliveriesParams
- type ListPlatformDeliveriesParamsStatus
- type ListPlatformEventsParams
- type ListRetentionPoliciesParams
- type ListRuleRunsParams
- type ListRuleRunsParamsStatus
- type ListRuleRunsParamsTrigger
- type ListRulesParams
- type ListSavedViewsParams
- type ListSuggestionsParams
- type ListTemplatesParams
- type ListTrashParams
- type ListWebhookDeliveriesParams
- type ListWebhookDeliveriesParamsStatus
- type ListWorkItemsParams
- type LocateOidcFlowJSONRequestBody
- type Lookalike
- type LookalikePage
- type MailDelivered
- type MailDeliveredOutcome
- type MailReason
- type MailReceipt
- type MailReceiptList
- type MailReceiptOutcome
- type MailSenderRoute
- type MailSenders
- type MailSendersLevel
- type MailSettings
- type Mailbox
- type MailboxAuth
- type MailboxAuthorization
- type MailboxAuthorizationAnswer
- type MailboxAuthorizationRequest
- type MailboxConnection
- type MailboxConnectionProtocol
- type MailboxList
- type MailboxOAuthProvider
- type MailboxPreset
- type MailboxPresetProtocol
- type MailboxProtocol
- type MakeEntriesJSONRequestBody
- type MakeEntriesParams
- type ManagedAccountCreate
- type ManagedAccountCreated
- type MediaId
- type MediaObject
- type MediaObjectStatus
- type MediaObjectUsage
- type MediaPage
- type MediaTransfer
- type MediaTransferMethod
- type MediaUploadRequest
- type MediaUploadRequestUsage
- type Membership
- type MembershipGrant
- type MembershipId
- type MembershipPage
- type MembershipRole
- type MembershipScope
- type MfaChallenge
- type MfaChallengeMethods
- type MfaDisable
- type MiddlewareFunc
- type MoveContainerJSONBody
- type MoveContainerJSONRequestBody
- type MoveContainerParams
- type MoveResult
- type MoveTenantPlanJSONRequestBody
- type MoveTenantPlanParams
- type MoveWorkItemJSONBody
- type MoveWorkItemJSONRequestBody
- type MoveWorkItemParams
- type NotificationPreference
- type NotificationPreferenceList
- type NotificationPreferenceUpdate
- type OauthAuthorization
- type OauthAuthorizationCodeChallengeMethod
- type OauthClient
- type OauthClientCreate
- type OauthClientId
- type OauthClientSecret
- type OauthClientSummary
- type OauthCode
- type OauthGrant
- type OauthGrantId
- type OauthStandardTokens
- type OauthTokenForm
- type OauthTokenRequest
- type OauthTokenRequestGrantType
- type OfferIdentityProviderJSONRequestBody
- type OfferIdentityProviderParams
- type OfferedAiModel
- type OfferedAiModelConfiguration
- type OfferedAiModelSummary
- type OidcAuthorization
- type OidcCallback
- type OidcLocate
- type OidcLocated
- type OidcStart
- type OpenPrivateHubJSONRequestBody
- type OpenPrivateHubParams
- type OpenTenantPasswordJSONRequestBody
- type OpenTenantPasswordParams
- type Operator
- type OperatorAdd
- type OperatorKind
- type OwnAccountUpdate
- type OwnAiBudget
- type OwnAiPosition
- type PageInfo
- type PageSize
- type ParentId
- type Passkey
- type PasskeyAssertion
- type PasskeyAssertionOptions
- type PasskeyAssertionOptionsPublicKeyUserVerification
- type PasskeyCreationOptions
- type PasskeyCreationOptionsAttestation
- type PasskeyCreationOptionsAuthenticatorSelectionResidentKey
- type PasskeyCreationOptionsAuthenticatorSelectionUserVerification
- type PasskeyCreationOptionsPubKeyCredParamsAlg
- type PasskeyCreationOptionsPubKeyCredParamsType
- type PasskeyDescriptor
- type PasskeyDescriptorType
- type PasskeyEnrolled
- type PasskeyEnrollment
- type PasskeyEnrollmentStart
- type PasskeyId
- type PasskeyList
- type PasskeyListCannotAddReason
- type PasskeyListCannotRemoveReason
- type PasskeyRegistered
- type PasskeyRegistration
- type PasskeyRegistrationOptions
- type PasskeyRename
- type PasskeySignInOptions
- type PasskeySignInOptionsPublicKeyUserVerification
- type PasskeyTransport
- type PasswordChange
- type PasswordCheck
- type PasswordCheckResult
- type PasswordForgot
- type PasswordOpening
- type PasswordOpeningRequest
- type PasswordPolicySettings
- type PasswordReset
- type PasswordRules
- type PasswordViolation
- type PlaceLegalHoldJSONRequestBody
- type Plan
- type PlanChange
- type PlanCreate
- type PlanFeature
- type PlatformDelivery
- type PlatformDeliveryPage
- type PlatformDeliveryStatus
- type PlatformEvent
- type PlatformEventPage
- type PlatformSubscription
- type PlatformSubscriptionCreate
- type PlatformSubscriptionSecret
- type PlatformSubscriptionSecretState
- type PlatformSubscriptionState
- type PlatformSubscriptionUpdate
- type PlatformSubscriptionUpdateState
- type PolicyLock
- type PolicySource
- type PollTriggerEventsParams
- type Preset
- type PresetCreate
- type PresetCreateOrigin
- type PresetId
- type PresetKey
- type PresetOrigin
- type PresetUpdate
- type PreviewContainerStructureJSONRequestBody
- type PreviewErasureParams
- type PrivateHubAccess
- type PrivateHubAccessRequest
- type PrivateHubSummary
- type Problem
- type ProcessingRestriction
- type ProcessingState
- type ProcessingStateStatus
- type ProviderConnectAuthorization
- type ProviderConnectReturn
- type ProviderConnectStart
- type ProviderId
- type ProviderOffer
- type ProviderStepUpAuthorization
- type ProviderSummary
- type ProviderSummaryScope
- type ProviderWithdrawal
- type ProvisionTenantJSONRequestBody
- type ProvisionTenantParams
- type ProvisionedTenant
- type ProvisionedTenantStatus
- type PurgeSummary
- type PurgeWorkItemParams
- type QueryField
- type QueryFieldKind
- type QueryItemsJSONRequestBody
- type QueryTenantsJSONRequestBody
- type QuotaSource
- type QuotaStanding
- type QuotaStandingQuota
- type ReadUsageParams
- type ReapplyErasuresJSONRequestBody
- type ReapplyErasuresParams
- type RecoveryCodes
- type Recurrence
- type RecurrenceInput
- type RecurrenceMode
- type RedeemInvitationJSONRequestBody
- type RefreshSessionJSONRequestBody
- type RegenerateRecoveryCodesParams
- type RegisterOauthClientJSONRequestBody
- type RegisterOauthClientParams
- type ReleaseLegalHoldJSONRequestBody
- type Reminder
- type ReminderChannel
- type ReminderId
- type ReminderInput
- type ReminderState
- type ReminderUpdate
- type RemoveIdentityProviderParams
- type RemoveInstanceIdentityProviderParams
- type RemoveOwnPasskeyParams
- type RemoveRecurrenceParams
- type RenameContainerApplicationMergePatchPlusJSONRequestBody
- type RenameContainerParams
- type RenameOwnPasskeyJSONRequestBody
- type RenewInvitationParams
- type ReopenWorkItemParams
- type ReorderBucketJSONBody
- type ReorderBucketJSONRequestBody
- type ReorderBucketParams
- type ReorderContainerJSONBody
- type ReorderContainerJSONRequestBody
- type ReorderContainerParams
- type ReorderWorkItemJSONBody
- type ReorderWorkItemJSONRequestBody
- type ReorderWorkItemParams
- type ReplaceLegalHoldsJSONRequestBody
- type ReplayRuleRunParams
- type RequestAddressJSONRequestBody
- type RequestMediaUploadJSONRequestBody
- type RequestMediaUploadParams
- type RequestTenantDeletionJSONRequestBody
- type RequestTenantDeletionParams
- type RequiredHeaderError
- type RequiredParamError
- type ResealAccepted
- type ResetPasswordJSONRequestBody
- type RestoreContainerParams
- type RestoreLabelParams
- type RestoreReport
- type RestoreRequest
- type RestoreRequestConflictRule
- type RestoreRequestMode
- type RestoreRun
- type RestoreRunConflictRule
- type RestoreRunMode
- type RestoreRunStatus
- type RestoreWorkItemParams
- type RestrictProcessingJSONRequestBody
- type RetentionDataKind
- type RetentionPolicy
- type RetentionPolicyAction
- type RetentionPolicyNotifyRecipients
- type RetentionPolicyScopeKind
- type RetentionPolicyThenAction
- type RetentionPolicyUpdate
- type RetentionPolicyUpdateAction
- type RetentionPolicyUpdateNotifyRecipients
- type RetentionPolicyUpdateThenAction
- type RetentionState
- type RetentionStateBlockedBy
- type RevokeMembershipParams
- type RoleDescription
- type RoleDescriptionPermissions
- type RoleItemAccess
- type RotateInboundTriggerParams
- type RotateJumbleIntakeParams
- type RotatePlatformSubscriptionSecretParams
- type RotateWebhookSecretJSONRequestBody
- type RotateWebhookSecretParams
- type RuleAction
- type RuleActionResult
- type RuleActionResultStatus
- type RuleCondition
- type RuleConditionResult
- type RuleDescription
- type RuleFinding
- type RuleFindingLevel
- type RuleId
- type RuleRun
- type RuleRunAccepted
- type RuleRunPage
- type RuleRunStatus
- type RuleRunTrigger
- type RuleScope
- type RuleScopeType
- type RuleTest
- type RuleTestAction
- type RuleTestEvent
- type RuleTestResult
- type RuleThrottle
- type RuleTrigger
- type RuleTriggerAnchor
- type RuleTriggerKind
- type SaveMailSettingsJSONRequestBody
- type SaveMailSettingsParams
- type SavePresetJSONRequestBody
- type SaveVoiceSettingsJSONRequestBody
- type SaveVoiceSettingsParams
- type SavedView
- type SavedViewCreate
- type SavedViewCreateScopeType
- type SavedViewCreateSharing
- type SavedViewScopeType
- type SavedViewShare
- type SavedViewShareSharing
- type SavedViewSharing
- type SavedViewUpdate
- type SearchItemsJSONRequestBody
- type SearchMode
- type SearchReindex
- type SendWebhookJSONRequestBody
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) AcceptSuggestion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AcknowledgeAiPosition(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddComment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AddOperator(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AgreeToTerms(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiClassify(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiGenerateTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiSuggestFields(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiSummarize(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiSummarizeContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiSummarizeThread(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AiTranslate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AnswerAlexa(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ArchiveContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ArchiveWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AskWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AssignWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AttachMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AuthorizeMailbox(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AuthorizeOauthClient(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) AutoAssignWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) BulkUpdateWorkItems(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelInstanceIdentityProviderWithdrawal(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelJob(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CancelTenantDeletion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangeInstallationPreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangePlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChangePreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckMailbox(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CheckRules(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ChooseAiSource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ClearCover(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ClearDueDate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CloseStarter(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CloseTenantPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CommentJumbleEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteLink(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteMailboxAuthorization(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteOidcSignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompletePasskeyEnrollment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompletePasskeyRegistration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompletePasskeySignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteProviderConnect(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteSignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CompleteWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureAiProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureAuditAnchoring(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureFirstIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureInstanceAiProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfigureInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmAddress(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmAuthenticatorReplacement(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmMediaUpload(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConfirmTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConnectMailbox(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ConvertJumbleEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CountAccountsWithoutProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateAccessToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateBackupSchedule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateBackupTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateBucket(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateCalendarFeed(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateDataSubjectRequest(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateInstallationPreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateInstanceAiProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateInstanceBackupTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateManagedAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreatePlatformSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateReminder(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateRetentionPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSavedView(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateServiceAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateWebhookSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DefineCustomField(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteBackupSchedule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteBackupTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteBucket(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteComment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteCustomField(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteInstanceBackupTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteOauthClient(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeletePlatformSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteReminder(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteRetentionPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteSavedView(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteWebhookSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeliverAddressedMail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeliverMail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DescribeRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DetachMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DisableRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DisableTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DismissJumbleEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DismissSuggestion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DownloadMediaContent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DuplicateWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EditComment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ElevateSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EmptyTrash(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EnableRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) EnrollTotp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExchangeOauthCode(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExportAuditTrail(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExportItems(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExportTenant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExportView(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ExtendDataSubjectRequest(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) FindDuplicatesByTitle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ForgetPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ForgetSyncDevice(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetBackupRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCalendarFeedDocument(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetCapabilities(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealthReport(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetImport(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetJob(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetJumbleEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetMedia(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetOwnAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRecurrence(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRestoreRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetRuleRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSavedView(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSignInRules(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetWebhookSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GiveConsent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GiveKudos(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GrantMembership(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) HttpRequest(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ImportEntries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) InspectInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) InstantiateTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) InviteAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) IssueStartPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAccessTokens(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListActivity(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAttachments(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAuditEntries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListBackupSchedules(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListBackupTargets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListBackupsAtTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListBuckets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCalendarFeeds(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListComments(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListConsents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListContainers(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListCustomFields(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListDataSubjectRequests(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListEmergencyNotices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListIdentityProviderPresets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListIdentityProviders(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListInstallationPresets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListInstanceAiProviders(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListInstanceBackupTargets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListInstanceIdentityProviders(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListInstanceJournal(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListJumbleDestinations(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListJumbleEntries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListLabels(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListLegalHolds(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMailReceipts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMailboxes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMemberships(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListNotificationPreferences(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOauthClients(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOauthGrants(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOperators(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOwnIdentities(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListOwnPasskeys(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPlans(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPlatformDeliveries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPlatformEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPlatformSubscriptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPresets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPrivateHubAccesses(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListPrivateHubs(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListReminders(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRetentionPolicies(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRuleRuns(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListRules(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSavedViews(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListServiceAccounts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSuggestions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSyncDevices(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTemplates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTenants(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListTrash(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWebhookDeliveries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWebhookSubscriptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListWorkItems(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) LocateOidcFlow(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MakeEntries(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MoveContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MoveTenantPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) MoveWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OfferIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenPrivateHub(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) OpenTenantPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PlaceLegalHold(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PollTriggerEvents(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewContainerStructure(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewErasure(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PreviewRetentionPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ProvisionTenant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PurgeWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueryItems(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) QueryTenants(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadAiBudgetState(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadAiProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadAiSource(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadEncryptionStatus(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadInstanceOverview(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadInstanceSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadKudos(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadOauthClient(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadOwnAiPosition(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadPlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadPlatformSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadQuotas(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadTenant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadUsage(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReadWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReapplyErasures(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RedeemInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RedeliverPlatformSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RefreshSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RegenerateRecoveryCodes(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RegisterOauthClient(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReindexSearch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReleaseLegalHold(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveAiProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveInstanceAiProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveMailbox(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveMember(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveOperator(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveOwnAvatar(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveOwnPasskey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemovePlan(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveRecurrence(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenameContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenameOwnPasskey(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RenewInvitation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReopenWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReorderBucket(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReorderContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReorderWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReplaceLegalHolds(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReplayRuleRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ReplayWebhookDelivery(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestAddress(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestMediaUpload(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RequestTenantDeletion(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResealSecrets(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResetPassword(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RestoreContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RestoreLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RestoreWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RestrictProcessing(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ResumeTenant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RetainItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeAccessToken(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeAllSessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeCalendarFeed(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeMembership(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeOauthGrant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeOtherSessions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RevokeSession(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RotateInboundTrigger(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RotateJumbleIntake(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RotatePlatformSubscriptionSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RotateWebhookSecret(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SaveMailSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SavePreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SaveVoiceSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SearchItems(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SendWebhook(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetAiArrivalProposals(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetAiPersonOptOut(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetCollectionHandle(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetContainerStructure(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetCover(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetCustomField(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetDueDate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetHubPrivacy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetNotificationPreference(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetOwnAiBudget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetOwnAvatar(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetPasswordAndSignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetRecurrence(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetUpInstallation(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SetWorkspaceStructure(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ShareSavedView(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ShowAlexaModel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ShowMailSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ShowVoiceSettings(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SkipOccurrence(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartAuthenticatorReplacement(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartBackup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartInboundRun(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartJumbleIntake(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartOidcSignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartPasskeyEnrollment(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartPasskeyRegistration(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartPasskeySignIn(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartPasskeyStepUp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartProviderConnect(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartProviderStepUp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StartRestore(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StepUp(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) StreamChanges(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SubmitJumbleEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SuggestDecomposition(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SuggestDuplicates(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SuggestFromJumbleEntry(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SuspendTenant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SyncPull(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SyncPush(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) SyncSnapshot(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TakeBackKudos(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TestBackupTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TestInstanceBackupTarget(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TestRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TrashContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TrashWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TriggerRuleManually(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) TryVoiceSentence(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnarchiveContainer(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnarchiveWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UnassignWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateAccountPreferences(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateBackupSchedule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateBucket(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateContainerPolicies(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateCustomField(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateDataSubjectRequest(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateLabel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateOwnAccount(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdatePlatformSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateReminder(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateRetentionPolicy(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateRule(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateSavedView(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateTemplate(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateTenant(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateTenantQuotas(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateWebhookSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateWorkItem(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateWorkspace(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UploadMediaContent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) VerifyAuditChain(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) VerifyBackup(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WithdrawConsent(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WithdrawInstallationPreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WithdrawInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WithdrawPreset(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) WriteInstanceSettings(w http.ResponseWriter, r *http.Request)
- type ServiceAccountCreate
- type Session
- type SessionElevation
- type SessionId
- type SessionPolicySettings
- type SessionRefresh
- type SessionSignedInWith
- type SessionTokens
- type SessionTokensTokenType
- type SetAiArrivalProposalsJSONRequestBody
- type SetAiPersonOptOutJSONRequestBody
- type SetCollectionHandleJSONRequestBody
- type SetCollectionHandleParams
- type SetContainerStructureJSONRequestBody
- type SetContainerStructureParams
- type SetCoverJSONRequestBody
- type SetCoverParams
- type SetCustomFieldJSONRequestBody
- type SetCustomFieldParams
- type SetDueDateJSONRequestBody
- type SetDueDateParams
- type SetHubPrivacyJSONRequestBody
- type SetHubPrivacyParams
- type SetNotificationPreferenceJSONRequestBody
- type SetOwnAiBudgetJSONRequestBody
- type SetOwnAvatarJSONRequestBody
- type SetPasswordAndSignInJSONRequestBody
- type SetRecurrenceJSONRequestBody
- type SetRecurrenceParams
- type SetUpInstallationJSONRequestBody
- type SetWorkspaceStructureJSONRequestBody
- type SetWorkspaceStructureParams
- type ShareSavedViewJSONRequestBody
- type ShareSavedViewParams
- type ShowAlexaModelParams
- type ShowAlexaModelParamsLocale
- type SignIn
- type SignInCompletion
- type SignInJSONRequestBody
- type SignInMethod
- type SignInPasswordChange
- type SignInPolicy
- type SignInPolicyChange
- type SignInPolicyChangeMfaRequiredFor
- type SignInPolicyChangeRotationFrom
- type SignInPolicyFlag
- type SignInPolicyMethods
- type SignInPolicyNumber
- type SignInPolicyText
- type SignInRules
- type SkipOccurrenceParams
- type SortTerm
- type SortTermDir
- type SortTermNulls
- type StartAuthenticatorReplacementParams
- type StartBackupJSONRequestBody
- type StartInboundRunJSONBody
- type StartInboundRunJSONRequestBody
- type StartJumbleIntakeJSONRequestBody
- type StartOidcSignInJSONRequestBody
- type StartPasskeyEnrollmentJSONRequestBody
- type StartPasskeyRegistrationParams
- type StartPasswordIssued
- type StartProviderConnectJSONRequestBody
- type StartProviderConnectParams
- type StartRestoreJSONRequestBody
- type StdHTTPServerOptions
- type StepUpGrant
- type StepUpGrantMethod
- type StepUpJSONRequestBody
- type StepUpRequest
- type StepUpToken
- type StreamChangesParams
- type StructureChange
- type StructureChangeNarrowing
- type StructureChangePreset
- type StructureCounts
- type StructureCountsClip
- type StructureCountsClipReason
- type StructureCountsFigure
- type StructureLevel
- type StructureLevelFields
- type StructureLock
- type StructureLockOrigin
- type StructurePreview
- type StructurePreviewViews
- type StructureSettingName
- type StructureSettings
- type StructureSettingsAutomation
- type StructureSettingsCapture
- type StructureSettingsCelebration
- type StructureViews
- type StructureViewsDefault
- type StructureViewsOffered
- type SubmitJumbleEntryJSONRequestBody
- type SubmitJumbleEntryParams
- type SuggestDecompositionParams
- type SuggestFromJumbleEntryParams
- type Suggestion
- type SuggestionAcceptance
- type SuggestionId
- type SuggestionKind
- type SuggestionPage
- type SuggestionSource
- type SuggestionStatus
- type SuggestionTargetType
- type SyncChange
- type SyncChangeOp
- type SyncDevice
- type SyncMutation
- type SyncMutationKind
- type SyncMutationResult
- type SyncMutationResultResult
- type SyncMutationSet
- type SyncPullJSONRequestBody
- type SyncPullRequest
- type SyncPullRequestScopesDepth
- type SyncPullResponse
- type SyncPushJSONRequestBody
- type SyncPushRequest
- type SyncPushResponse
- type SyncSnapshotJSONRequestBody
- type SyncSnapshotRequest
- type SyncSnapshotRequestScopesDepth
- type Template
- type TemplateGeneration
- type TemplateId
- type TemplateInput
- type TemplateInstance
- type TemplateInstantiation
- type TemplateNode
- type TemplatePage
- type TemplateScope
- type TemplateUpdate
- type TenantDeletionRequest
- type TenantDeletionScheduled
- type TenantExportRequest
- type TenantPlanMove
- type TenantPlanMoved
- type TenantProvision
- type TenantQuery
- type TenantQueryStatus
- type TenantQuotas
- type TenantUpdate
- type TermsAgreement
- type TermsInForce
- type TermsInForceSetBy
- type TestRuleJSONRequestBody
- type TokenId
- type TooManyValuesForParamError
- type TotpConfirmation
- type TotpConfirmed
- type TotpEnrollment
- type TotpEnrollmentStart
- type TrashContainerParams
- type TrashEntry
- type TrashEntryHeldBy
- type TrashEntryKind
- type TrashPage
- type TrashWorkItemParams
- type TriggerEvent
- type TriggerEventPage
- type TriggerRuleManuallyParams
- type TryVoiceSentenceJSONRequestBody
- type UnarchiveContainerParams
- type UnarchiveWorkItemParams
- type UnassignWorkItemParams
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateAccountPreferencesApplicationMergePatchPlusJSONRequestBody
- type UpdateBackupScheduleApplicationMergePatchPlusJSONRequestBody
- type UpdateBackupScheduleParams
- type UpdateBucketApplicationMergePatchPlusJSONRequestBody
- type UpdateBucketParams
- type UpdateContainerPoliciesJSONRequestBody
- type UpdateContainerPoliciesParams
- type UpdateCustomFieldApplicationMergePatchPlusJSONRequestBody
- type UpdateCustomFieldParams
- type UpdateDataSubjectRequestApplicationMergePatchPlusJSONRequestBody
- type UpdateGroupApplicationMergePatchPlusJSONRequestBody
- type UpdateGroupParams
- type UpdateLabelApplicationMergePatchPlusJSONRequestBody
- type UpdateLabelParams
- type UpdateOwnAccountApplicationMergePatchPlusJSONRequestBody
- type UpdatePlatformSubscriptionApplicationMergePatchPlusJSONRequestBody
- type UpdatePlatformSubscriptionParams
- type UpdateReminderApplicationMergePatchPlusJSONRequestBody
- type UpdateReminderParams
- type UpdateRetentionPolicyApplicationMergePatchPlusJSONRequestBody
- type UpdateRetentionPolicyParams
- type UpdateRuleApplicationMergePatchPlusJSONRequestBody
- type UpdateSavedViewApplicationMergePatchPlusJSONRequestBody
- type UpdateSavedViewParams
- type UpdateTemplateApplicationMergePatchPlusJSONRequestBody
- type UpdateTemplateParams
- type UpdateTenantJSONRequestBody
- type UpdateTenantParams
- type UpdateTenantQuotasApplicationMergePatchPlusJSONRequestBody
- type UpdateWebhookSubscriptionApplicationMergePatchPlusJSONRequestBody
- type UpdateWebhookSubscriptionParams
- type UpdateWorkItemApplicationMergePatchPlusJSONRequestBody
- type UpdateWorkItemParams
- type UpdateWorkspaceApplicationMergePatchPlusJSONRequestBody
- type UpdateWorkspaceParams
- type UploadMediaContentParams
- type UsageDay
- type UsageMetric
- type UsageMetricAggregate
- type UsageMetricDay
- type UsageMetricName
- type UsagePage
- type VerifyAuditChainJSONBody
- type VerifyAuditChainJSONRequestBody
- type ViewExport
- type ViewExportDocument
- type ViewExportFormat
- type ViewId
- type VoiceAlias
- type VoiceInterpretation
- type VoicePlace
- type VoiceSettings
- type VoiceTry
- type WebhookDelivery
- type WebhookDeliveryPage
- type WebhookDeliveryStatus
- type WebhookId
- type WebhookScope
- type WebhookScopeType
- type WebhookSecretRotation
- type WebhookSend
- type WebhookSubscription
- type WebhookSubscriptionCreate
- type WebhookSubscriptionSecret
- type WebhookSubscriptionSecretState
- type WebhookSubscriptionState
- type WebhookSubscriptionUpdate
- type WebhookSubscriptionUpdateState
- type WithdrawConsentJSONRequestBody
- type WithdrawInstallationPresetParams
- type WithdrawInstanceIdentityProviderJSONRequestBody
- type WithdrawInstanceIdentityProviderParams
- type WithdrawPresetParams
- type WorkItem
- type WorkItemCreate
- type WorkItemPage
- type WorkItemUpdate
- type Workspace
- type WorkspaceDefaultWeekStart
- type WorkspaceHost
- type WorkspaceHostState
- type WorkspacePasswordOpening
- type WorkspaceQuestion
- type WorkspaceStatus
- type WorkspaceStructure
- type WorkspaceStructureChange
- type WorkspaceStructureChangeDefaultPreset
- type WorkspaceStructureChangePreset
- type WorkspaceStructureDefaultPreset
- type WorkspaceStructurePreset
- type WorkspaceUpdate
- type WorkspaceUsage
- type WriteInstanceSettingsJSONRequestBody
- type WriteInstanceSettingsParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type AcceptSuggestionJSONRequestBody ¶
type AcceptSuggestionJSONRequestBody = SuggestionAcceptance
AcceptSuggestionJSONRequestBody defines body for AcceptSuggestion for application/json ContentType.
type AcceptedSuggestion ¶
type AcceptedSuggestion struct {
CreatedAt time.Time `json:"created_at"`
// CreatedId What accepting created, where it created one thing; absent where it changed an entry or created several.
CreatedId *openapi_types.UUID `json:"created_id,omitempty"`
// CreatedIds The entries accepting an `ENTRIES` proposal created, in the proposal's order — what an undo trashes. Absent for every other kind.
CreatedIds *[]openapi_types.UUID `json:"created_ids,omitempty"`
// DecidedAt When it was accepted or dismissed.
DecidedAt *time.Time `json:"decided_at,omitempty"`
// DecidedBy Who accepted or dismissed it. A suggestion is decided by a person.
DecidedBy *openapi_types.UUID `json:"decided_by,omitempty"`
// DroppedNodes How many parts of the provider's answer the narrowing dropped before the payload was stored, so that a client can say the draft is not the whole answer. For `TEMPLATE` it is the nodes the collection's profile refused under their parent, each counted with its subtree; zero for every other kind, whose narrowing drops what it drops without a count. Absent on a row written before the count existed, which reads as zero.
DroppedNodes *int `json:"dropped_nodes,omitempty"`
Id openapi_types.UUID `json:"id"`
// Kind What accepting does, which is the only thing a kind has to say. `FIELDS` proposes values for the target entry; `DECOMPOSITION` proposes a tree of entries under it. A summary and a classification are `FIELDS` suggestions whose payload happens to be notes or labels — they are not kinds of their own, because accepting them is the same act.
// `TEMPLATE` proposes a template for the collection it targets: its payload is a `TemplateInput`, and accepting it is `CreateTemplate` performed by the accepting person.
// `RULE` proposes an automation rule drafted from a sentence, about the account that asked; accepting it is `CreateRule` performed by that person, so the rule is stored switched off.
// `ANSWER` is a proposed answer to a question, about the account that asked. Like `DUPLICATES` nothing accepts it — it performs no action — and `:dismiss` closes it. `ENTRIES` proposes entries for a collection, made from a piece of text the person pasted, about the account that asked; accepting creates the entries taken — all, or some — with `CreateWorkItem` performed by that person.
// `DUPLICATES` is the one kind nothing accepts. It says which entries look like this one, and what to do about that is a person's decision through the ordinary use cases — `:accept` refuses it and `:dismiss` closes it. It is also the one kind no prompt produced, so its `prompt_id` and `prompt_version` are empty and its `model` names the embedding model whose vectors were compared.
Kind SuggestionKind `json:"kind"`
// Model The model that answered, as the provider named it — not as it was configured.
Model string `json:"model"`
// Payload What was proposed, in the shape the kind fixes. For `FIELDS` it is the fields of the target entry, and about a jumble entry it may also carry `subtasks` — the titles the material implied, which accepting creates under the converted entry rather than setting on it. For `DECOMPOSITION` it is a tree of entries proposed under the target. For `DUPLICATES` it is `duplicates`: the entries that look like this one, nearest first, each with the identifier and the similarity that put it there — identifiers only, so what a reader sees of them is what they could have read anyway. For `TEMPLATE` it is a `TemplateInput` for the target collection. For `RULE` it is part of an `AutomationRuleCreate` — `scope`, `trigger`, `conditions`, `actions` — and `not_drafted`, what of the sentence could not be drafted: entries with `part` (words quoted from the sentence) or `code` and `params` (a message code). For `ANSWER` it is `answer` (the proposed answer, at most 2000 characters), `source_ids` (at most five entries it rests on, each one the asker could read when asked) and, where the question is a filter, `filter`: an object of `place_id` and `place_type` (`HUB` or `COLLECTION`), `is_completed`, `due` (`overdue`, `today`, `next_7_days` or `this_month`), `assignee_id` and `label_ids`, each present only where implied. For `ENTRIES` it is `collection_id`, `type` — the level the entries are created at — and `entries`, each with a `key` and a `title`, and `notes`, `amount` (text) or `due_date` (`YYYY-MM-DD`) only where the collection carries them. It is data, never an instruction, and nothing acts on it until somebody accepts.
Payload map[string]interface{} `json:"payload"`
// ProducedAt When the provider answered, which is not when the record was written.
ProducedAt time.Time `json:"produced_at"`
PromptId string `json:"prompt_id"`
// PromptVersion Which version of the prompt produced this. Prompt files are versioned in their names and the old ones stay, so this resolves to the actual words a year later.
PromptVersion string `json:"prompt_version"`
// Source Where the proposal came from. One value today, and a field rather than an assumption: a suggestion whose origin is not recorded is one nobody can tell from a person's own draft.
Source AcceptedSuggestionSource `json:"source"`
// Status `DISMISSED` is a state and not a deletion, so "what was proposed and turned down" has an answer; the retention engine ages both decided states out by rule.
Status SuggestionStatus `json:"status"`
TargetId openapi_types.UUID `json:"target_id"`
// TargetType What the suggestion is about. `CONTAINER` is a collection rather than an entry: a summary of how it stands is about the collection, and nothing accepts one — a collection has nowhere to put a status summary, so it is read and dismissed. `ACCOUNT` is the person who asked, for a draft of something that does not exist yet — a rule, or entries made from pasted text — or for an answer to their question: only that account lists, accepts or dismisses it.
TargetType SuggestionTargetType `json:"target_type"`
// Version The optimistic lock, as everywhere else.
Version int `json:"version"`
}
AcceptedSuggestion The suggestion as accepting left it, and the identifier of what accepting created where it created one thing — a template, a rule. Answered by `:accept` only.
type AcceptedSuggestionSource ¶
type AcceptedSuggestionSource string
AcceptedSuggestionSource Where the proposal came from. One value today, and a field rather than an assumption: a suggestion whose origin is not recorded is one nobody can tell from a person's own draft.
const (
AcceptedSuggestionSourceAI AcceptedSuggestionSource = "AI"
)
Defines values for AcceptedSuggestionSource.
func (AcceptedSuggestionSource) Valid ¶
func (e AcceptedSuggestionSource) Valid() bool
Valid indicates whether the value is a known member of the AcceptedSuggestionSource enum.
type AccessToken ¶
type AccessToken struct {
// AccountId Whose credential it is, and therefore whose rights bound it.
AccountId openapi_types.UUID `json:"account_id"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
// LastUsedAt When a request last presented it, to the minute rather than to the request - the value exists so an owner can spot a credential nobody uses, and writing it on every call would be a write per request.
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
Name string `json:"name"`
// RevokedAt When it was withdrawn. Separate from the expiry on purpose: "it ran out" and "somebody pulled it" are different answers.
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Scopes The second bound on what the token may do, on top of the role its holder carries. Both have to allow an operation.
Scopes []string `json:"scopes"`
}
AccessToken A minted credential as it is listed afterwards. The token itself is not a member: it exists in the answer to the call that minted it and nowhere else.
type AccessTokenCreate ¶
type AccessTokenCreate struct {
// AccountId Whose token. Omitted means the caller's own. A service account's needs the member management permission; another person's is refused, whatever the role.
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
// ExpiresAt Mandatory, in the future, and at most a year out. There is no default - a caller has to choose.
ExpiresAt time.Time `json:"expires_at"`
// Name What this token is for, in the owner's own words. It is what they will read in a year when deciding whether it is still needed.
Name string `json:"name"`
// Scopes Requested explicitly, never defaulted to everything. Each has to be one the installation declares; one it does not is refused as a field error naming it.
Scopes []string `json:"scopes"`
}
AccessTokenCreate defines model for AccessTokenCreate.
type AccessTokenSecret ¶
type AccessTokenSecret struct {
// AccountId Whose credential it is, and therefore whose rights bound it.
AccountId openapi_types.UUID `json:"account_id"`
CreatedAt time.Time `json:"created_at"`
ExpiresAt time.Time `json:"expires_at"`
Id openapi_types.UUID `json:"id"`
// LastUsedAt When a request last presented it, to the minute rather than to the request - the value exists so an owner can spot a credential nobody uses, and writing it on every call would be a write per request.
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
Name string `json:"name"`
// RevokedAt When it was withdrawn. Separate from the expiry on purpose: "it ran out" and "somebody pulled it" are different answers.
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Scopes The second bound on what the token may do, on top of the role its holder carries. Both have to allow an operation.
Scopes []string `json:"scopes"`
// Token The credential, in clear, for the only time. Store it or lose it: what is kept is a hash, and nothing can turn that back into this.
Token string `json:"token"`
}
AccessTokenSecret defines model for AccessTokenSecret.
type Account ¶
type Account struct {
// AuthenticatorAppRemovable Whether turning the authenticator app off would be accepted now, answered on `GET /accounts/me` and on nothing else: the app is armed, and either the workspace's rule does not require a second factor of this person or a passkey or security key remains.
AuthenticatorAppRemovable *bool `json:"authenticator_app_removable,omitempty"`
// AvatarMediaId The picture the person shows beside their name, a media object any member of the workspace may read (`GET /media/{mediaId}`). Absent or null means the initials of the name are the avatar.
AvatarMediaId *openapi_types.UUID `json:"avatar_media_id,omitempty"`
// Celebrations Whether the moments are marked for this person - a small celebration when work is completed. Absent or null means the default, which is on.
Celebrations *bool `json:"celebrations,omitempty"`
DisplayName string `json:"display_name"`
Email *openapi_types.Email `json:"email,omitempty"`
// HasAccess Whether this account holds a role anywhere in the workspace - on the workspace, a hub, a collection or one entry, directly or through a group - answered on `GET /accounts/me` and on nothing else. False is a person an administrator still has to give access to, such as somebody a sign-in provider brought in with nothing: a screen says so instead of an empty workspace. It is also the condition for creating a private hub of one's own, so where it is false no hub can be created; a person whose only role is on their own private hub, or on one shared entry, holds access.
HasAccess *bool `json:"has_access,omitempty"`
// HasAuthenticatorApp Whether an *armed* authenticator app stands on this account, answered on `GET /accounts/me` and on nothing else. An enrolment begun and never confirmed counts as none, the same reading the sign-in path takes.
HasAuthenticatorApp *bool `json:"has_authenticator_app,omitempty"`
// HasPassword Whether this account holds a password, answered on `GET /accounts/me` and on nothing else. An account that signs in only through a provider holds none: a screen does not offer it a password change, and no step-up asks it for one.
HasPassword *bool `json:"has_password,omitempty"`
// HasSecondFactor Whether a second factor stands on this account - an armed authenticator app, or a passkey or security key of this workspace's address - answered on `GET /accounts/me` and on nothing else. An enrolment begun and never confirmed counts as none. Whether the app itself is armed is `has_authenticator_app`.
// Until this was answered, nothing in the contract said it, and a screen could not tell an account with no authenticator from one whose recovery codes had all been spent. That is how the security screen came to offer two actions the server refuses - "make new recovery codes" and "turn it off" - under a red banner saying none were left.
HasSecondFactor *bool `json:"has_second_factor,omitempty"`
Id openapi_types.UUID `json:"id"`
Kind AccountKind `json:"kind"`
Locale *string `json:"locale,omitempty"`
// OnboardingCompletedAt When the person finished or skipped the first-run tour. Absent or null means the tour has not been taken - or was asked for again.
OnboardingCompletedAt *time.Time `json:"onboarding_completed_at,omitempty"`
// RecoveryCodesRemaining How many of the ten recovery codes are still usable, answered on `GET /accounts/me` and on nothing else. **Present exactly when `has_second_factor` is true**, and then zero is answered as zero, because there zero is the number to act on. Absent where there is nothing to count: an account holding no second factor, or an installation wired without one. Its codes are not "zero left" - they are a thing that does not exist yet, and a screen told zero sends somebody to make codes the server would refuse to make.
// The same number rides along with a sign-in, where nobody can act on it; here it is beside the account, which is where the screen that makes new ones is.
RecoveryCodesRemaining *int `json:"recovery_codes_remaining,omitempty"`
// SecondFactorRequired Whether the workspace's sign-in rule in force demands a second factor of this person, answered on `GET /accounts/me` and on nothing else. The same reading signing in and turning the factor off make, so a screen can say "your workspace requires it" instead of offering a control the server would refuse.
SecondFactorRequired *bool `json:"second_factor_required,omitempty"`
// SignInName What a managed account signs in with instead of an address: unique in the workspace, stored folded (compatibility form, lower case). Absent on an account that signs in with its address.
SignInName *string `json:"sign_in_name,omitempty"`
// Status `RESTRICTED` is Art. 18 GDPR as a technical state: the account works and its content
// stays, and what stops is this system deciding anything about the person by machine.
// `ANONYMIZED` is an erasure carried out in the mode that keeps the authorship - the row
// stays so that the workspace's own content is still readable, and everything of the
// person's in it is gone.
Status AccountStatus `json:"status"`
TimeZone *string `json:"time_zone,omitempty"`
WeekStart *AccountWeekStart `json:"week_start,omitempty"`
}
Account defines model for Account.
type AccountInvite ¶
type AccountInvite struct {
DisplayName *string `json:"display_name,omitempty"`
Email openapi_types.Email `json:"email"`
}
AccountInvite defines model for AccountInvite.
type AccountKind ¶
type AccountKind string
AccountKind defines model for Account.Kind.
const ( AccountKindSERVICEACCOUNT AccountKind = "SERVICE_ACCOUNT" AccountKindUSER AccountKind = "USER" )
Defines values for AccountKind.
func (AccountKind) Valid ¶
func (e AccountKind) Valid() bool
Valid indicates whether the value is a known member of the AccountKind enum.
type AccountPreferences ¶
type AccountPreferences struct {
// Celebrations Whether the moments are marked. `null` clears it; the default is on.
Celebrations *bool `json:"celebrations,omitempty"`
Locale *string `json:"locale,omitempty"`
// OnboardingCompletedAt When the tour ended or was skipped, written by the client. `null` clears it, which is how the tour is asked for again.
OnboardingCompletedAt *time.Time `json:"onboarding_completed_at,omitempty"`
TimeZone *string `json:"time_zone,omitempty"`
WeekStart *AccountPreferencesWeekStart `json:"week_start,omitempty"`
}
AccountPreferences Every field is optional, and an empty string clears the preference rather than setting it to nothing — the workspace default applies again. The two the client writes for itself clear the same way, with `null`: `celebrations` back to the default, which is on; `onboarding_completed_at` back to "not taken", which runs the tour again.
type AccountPreferencesWeekStart ¶
type AccountPreferencesWeekStart string
AccountPreferencesWeekStart defines model for AccountPreferences.WeekStart.
const ( AccountPreferencesWeekStartLessThannil AccountPreferencesWeekStart = "<nil>" AccountPreferencesWeekStartMONDAY AccountPreferencesWeekStart = "MONDAY" AccountPreferencesWeekStartSATURDAY AccountPreferencesWeekStart = "SATURDAY" AccountPreferencesWeekStartSUNDAY AccountPreferencesWeekStart = "SUNDAY" )
Defines values for AccountPreferencesWeekStart.
func (AccountPreferencesWeekStart) Valid ¶
func (e AccountPreferencesWeekStart) Valid() bool
Valid indicates whether the value is a known member of the AccountPreferencesWeekStart enum.
type AccountStatus ¶
type AccountStatus string
AccountStatus `RESTRICTED` is Art. 18 GDPR as a technical state: the account works and its content stays, and what stops is this system deciding anything about the person by machine. `ANONYMIZED` is an erasure carried out in the mode that keeps the authorship - the row stays so that the workspace's own content is still readable, and everything of the person's in it is gone.
const ( AccountStatusACTIVE AccountStatus = "ACTIVE" AccountStatusANONYMIZED AccountStatus = "ANONYMIZED" AccountStatusDISABLED AccountStatus = "DISABLED" AccountStatusINVITED AccountStatus = "INVITED" AccountStatusRESTRICTED AccountStatus = "RESTRICTED" )
Defines values for AccountStatus.
func (AccountStatus) Valid ¶
func (e AccountStatus) Valid() bool
Valid indicates whether the value is a known member of the AccountStatus enum.
type AccountSummary ¶
type AccountSummary struct {
// AvatarMediaId The picture the person shows beside their name, readable through `GET /media/{mediaId}` by any member. Absent or null means the initials of the name are the avatar.
AvatarMediaId *openapi_types.UUID `json:"avatar_media_id,omitempty"`
// DisplayName An erased account carries the marker its erasure wrote here, so a reader sees that somebody acted without learning who they were.
DisplayName string `json:"display_name"`
// HasAddress False for an account that has no mail address - a managed account - so a screen can say that a reminder by mail does not reach this person, instead of letting it fail silently. The address itself is not answered here.
HasAddress *bool `json:"has_address,omitempty"`
Id openapi_types.UUID `json:"id"`
Kind AccountSummaryKind `json:"kind"`
// Managed True for a managed account: a sign-in name and no address. Only such an account takes a new start password or an address; an erased account has no address either and is not managed.
Managed *bool `json:"managed,omitempty"`
Status AccountSummaryStatus `json:"status"`
}
AccountSummary An account as another member of the same tenant may see it: enough to render a name where a record carries an identifier, and nothing else. Deliberately not `Account` - that carries the email and the caller's own preferences, which are a different permission.
type AccountSummaryKind ¶
type AccountSummaryKind string
AccountSummaryKind defines model for AccountSummary.Kind.
const ( AccountSummaryKindSERVICEACCOUNT AccountSummaryKind = "SERVICE_ACCOUNT" AccountSummaryKindUSER AccountSummaryKind = "USER" )
Defines values for AccountSummaryKind.
func (AccountSummaryKind) Valid ¶
func (e AccountSummaryKind) Valid() bool
Valid indicates whether the value is a known member of the AccountSummaryKind enum.
type AccountSummaryStatus ¶
type AccountSummaryStatus string
AccountSummaryStatus defines model for AccountSummary.Status.
const ( AccountSummaryStatusACTIVE AccountSummaryStatus = "ACTIVE" AccountSummaryStatusANONYMIZED AccountSummaryStatus = "ANONYMIZED" AccountSummaryStatusDISABLED AccountSummaryStatus = "DISABLED" AccountSummaryStatusINVITED AccountSummaryStatus = "INVITED" AccountSummaryStatusRESTRICTED AccountSummaryStatus = "RESTRICTED" )
Defines values for AccountSummaryStatus.
func (AccountSummaryStatus) Valid ¶
func (e AccountSummaryStatus) Valid() bool
Valid indicates whether the value is a known member of the AccountSummaryStatus enum.
type AccountWeekStart ¶
type AccountWeekStart string
AccountWeekStart defines model for Account.WeekStart.
const ( AccountWeekStartLessThannil AccountWeekStart = "<nil>" AccountWeekStartMONDAY AccountWeekStart = "MONDAY" AccountWeekStartSATURDAY AccountWeekStart = "SATURDAY" AccountWeekStartSUNDAY AccountWeekStart = "SUNDAY" )
Defines values for AccountWeekStart.
func (AccountWeekStart) Valid ¶
func (e AccountWeekStart) Valid() bool
Valid indicates whether the value is a known member of the AccountWeekStart enum.
type AccountsWithoutProvider ¶
type AccountsWithoutProvider struct {
// Count The active people - service accounts and invitations aside - without an identity at any provider that is a way in here now.
Count int `json:"count"`
}
AccountsWithoutProvider How many active people of the workspace no provider switched on there signs in. A number, never a list.
type ActivityEntry ¶
type ActivityEntry struct {
// Actor Who did it. The label is not here: the account is one request away and this record is deleted with its entry, so there is nothing for a copy of somebody's name to outlive.
Actor struct {
Id *openapi_types.UUID `json:"id"`
Type ActivityEntryActorType `json:"type"`
} `json:"actor"`
// ChangeSet The fields that moved, keyed by field name. A field the history keeps the values of carries `from` and `to` - each present only where there was a value on that side - and one it does not carries `changed: true`: a note is a page of text and its history is that somebody edited it. Empty where the step moved no field at all, and empty for every step of an activity's compact history.
ChangeSet map[string]interface{} `json:"change_set"`
// Code The message the client renders, from locales/*.json - activity.item_completed and the rest. A code rather than a sentence, so that one history reads in whichever language each client is set to.
Code string `json:"code"`
Id openapi_types.UUID `json:"id"`
ItemId openapi_types.UUID `json:"item_id"`
OccurredAt time.Time `json:"occurred_at"`
}
ActivityEntry One step of an entry's history. Append-only: nothing edits one, and what removes one is the deletion of the entry it belongs to.
type ActivityEntryActorType ¶
type ActivityEntryActorType string
ActivityEntryActorType defines model for ActivityEntry.Actor.Type.
const ( ActivityEntryActorTypeAIAGENT ActivityEntryActorType = "AI_AGENT" ActivityEntryActorTypeAUTOMATION ActivityEntryActorType = "AUTOMATION" ActivityEntryActorTypeSERVICEACCOUNT ActivityEntryActorType = "SERVICE_ACCOUNT" ActivityEntryActorTypeSYSTEM ActivityEntryActorType = "SYSTEM" ActivityEntryActorTypeUSER ActivityEntryActorType = "USER" )
Defines values for ActivityEntryActorType.
func (ActivityEntryActorType) Valid ¶
func (e ActivityEntryActorType) Valid() bool
Valid indicates whether the value is a known member of the ActivityEntryActorType enum.
type ActivityPage ¶
type ActivityPage struct {
Data []ActivityEntry `json:"data"`
Page PageInfo `json:"page"`
}
ActivityPage defines model for ActivityPage.
type Actor ¶
type Actor struct {
Id *openapi_types.UUID `json:"id"`
Type ActorType `json:"type"`
}
Actor Who did something. The label is not here: the account is one request away (`GET /accounts/{accountId}`) and the records that carry an actor are deleted with the thing they are about, so there is nothing for a copy of somebody's name to outlive. An identifier is absent where an account is: an automation and the system act without one, and the kind is what says so. `ActivityEntry.actor` is the same shape written inline - it keeps its own spelling rather than being pointed here, because changing it would rename a generated type for no behavioural gain.
type ActorType ¶
type ActorType string
ActorType defines model for Actor.Type.
type AddCommentJSONBody ¶
type AddCommentJSONBody struct {
Body string `json:"body"`
ParentCommentId *openapi_types.UUID `json:"parent_comment_id,omitempty"`
}
AddCommentJSONBody defines parameters for AddComment.
type AddCommentJSONRequestBody ¶
type AddCommentJSONRequestBody AddCommentJSONBody
AddCommentJSONRequestBody defines body for AddComment for application/json ContentType.
type AddCommentParams ¶
type AddCommentParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
AddCommentParams defines parameters for AddComment.
type AddOperatorJSONRequestBody ¶
type AddOperatorJSONRequestBody = OperatorAdd
AddOperatorJSONRequestBody defines body for AddOperator for application/json ContentType.
type AddressConfirm ¶
type AddressConfirm struct {
// Token The token from the confirmation mail. It dies on use.
Token string `json:"token"`
}
AddressConfirm defines model for AddressConfirm.
type AddressRequest ¶
type AddressRequest struct {
Email openapi_types.Email `json:"email"`
}
AddressRequest defines model for AddressRequest.
type AddressRequested ¶
type AddressRequested struct {
// ExpiresAt Until when the link in the mail confirms the address.
ExpiresAt time.Time `json:"expires_at"`
}
AddressRequested defines model for AddressRequested.
type AdminTenant ¶
type AdminTenant struct {
CreatedAt time.Time `json:"created_at"`
DefaultLocale *string `json:"default_locale,omitempty"`
DefaultTimeZone *string `json:"default_time_zone,omitempty"`
DisplayName string `json:"display_name"`
// ExternalReference The purchase platform's own reference, where it set one.
ExternalReference *string `json:"external_reference,omitempty"`
Id openapi_types.UUID `json:"id"`
// LegalHold Whether a legal hold is in force in the workspace. While one is, a deletion request is refused, and a workspace already pending deletion stays pending until the last hold is lifted. Only the state: which hold, on what and why stay the workspace's.
LegalHold *bool `json:"legal_hold,omitempty"`
// PasswordOpening The operator's opening of the password while it is in force, null otherwise - an opening past its end is answered as none, whatever the row still holds.
PasswordOpening *PasswordOpening `json:"password_opening,omitempty"`
// Plan The short name of the workspace's plan, null for none.
Plan *string `json:"plan,omitempty"`
// PurgeAfter Set while a deletion request stands - when the grace runs out.
PurgeAfter *time.Time `json:"purge_after,omitempty"`
// PurgeStartedAt Set once the hard delete has begun removing the workspace. From then on its deletion can no longer be called off.
PurgeStartedAt *time.Time `json:"purge_started_at,omitempty"`
Slug string `json:"slug"`
Status AdminTenantStatus `json:"status"`
// Version The workspace's version: it grows with every change to the workspace, by the control plane or by its own administrators. A move names it to refuse a stale one.
Version *int `json:"version,omitempty"`
}
AdminTenant defines model for AdminTenant.
type AdminTenantId ¶
type AdminTenantId = openapi_types.UUID
AdminTenantId defines model for AdminTenantId.
type AdminTenantPage ¶
type AdminTenantPage struct {
Data []AdminTenant `json:"data"`
Page PageInfo `json:"page"`
}
AdminTenantPage defines model for AdminTenantPage.
type AdminTenantStatus ¶
type AdminTenantStatus string
AdminTenantStatus defines model for AdminTenant.Status.
const ( AdminTenantStatusACTIVE AdminTenantStatus = "ACTIVE" AdminTenantStatusPENDINGDELETION AdminTenantStatus = "PENDING_DELETION" AdminTenantStatusSUSPENDED AdminTenantStatus = "SUSPENDED" )
Defines values for AdminTenantStatus.
func (AdminTenantStatus) Valid ¶
func (e AdminTenantStatus) Valid() bool
Valid indicates whether the value is a known member of the AdminTenantStatus enum.
type AgreeToTermsJSONRequestBody ¶
type AgreeToTermsJSONRequestBody = TermsAgreement
AgreeToTermsJSONRequestBody defines body for AgreeToTerms for application/json ContentType.
type AiArrivalProposalsChoice ¶
type AiArrivalProposalsChoice struct {
// Prepare True prepares a proposal for each new jumble entry; false waits for somebody to ask.
Prepare bool `json:"prepare"`
}
AiArrivalProposalsChoice defines model for AiArrivalProposalsChoice.
type AiAsk ¶
type AiAsk struct {
// Apply Apply the answer as soon as it arrives instead of proposing it. **False unless it is said**, and deliberately: a result is a suggestion, and applying one without a person reading it is a decision somebody configures rather than one that happens by not thinking about it.
// An applied answer is not a shortcut past anything. The suggestion is recorded with its provenance first, the acceptance is audited as its own act, and the change goes through the use case that owns it with the caller's own rights — it is the same path with nobody pausing in the middle.
Apply *bool `json:"apply,omitempty"`
}
AiAsk How to ask, which is one question — propose, or apply.
type AiBudgetState ¶
type AiBudgetState struct {
// RenewsAt When the day's budget has room again - the workspace's next midnight. Null for `OFF`.
RenewsAt *time.Time `json:"renews_at,omitempty"`
State AiBudgetStateState `json:"state"`
}
AiBudgetState defines model for AiBudgetState.
type AiBudgetStateState ¶
type AiBudgetStateState string
AiBudgetStateState defines model for AiBudgetState.State.
const ( AiBudgetStateStateNEARLYSPENT AiBudgetStateState = "NEARLY_SPENT" AiBudgetStateStateOFF AiBudgetStateState = "OFF" AiBudgetStateStateOK AiBudgetStateState = "OK" AiBudgetStateStateSPENT AiBudgetStateState = "SPENT" )
Defines values for AiBudgetStateState.
func (AiBudgetStateState) Valid ¶
func (e AiBudgetStateState) Valid() bool
Valid indicates whether the value is a known member of the AiBudgetStateState enum.
type AiClassifyJSONRequestBody ¶
type AiClassifyJSONRequestBody = AiAsk
AiClassifyJSONRequestBody defines body for AiClassify for application/json ContentType.
type AiFieldsAsk ¶
type AiFieldsAsk struct {
// Apply As `AiAsk.apply`.
Apply *bool `json:"apply,omitempty"`
// Fields The fields to propose. The answer keeps only these; one that proposes none of them ends the job with `ai.nothing_to_change`.
Fields *[]AiFieldsAskFields `json:"fields,omitempty"`
}
AiFieldsAsk How to ask for an entry's fields: propose or apply, as every ask, and which of the three fields to propose. Absent `fields` asks for all three.
type AiFieldsAskFields ¶
type AiFieldsAskFields string
AiFieldsAskFields defines model for AiFieldsAsk.Fields.
const ( DueDate AiFieldsAskFields = "due_date" Notes AiFieldsAskFields = "notes" Title AiFieldsAskFields = "title" )
Defines values for AiFieldsAskFields.
func (AiFieldsAskFields) Valid ¶
func (e AiFieldsAskFields) Valid() bool
Valid indicates whether the value is a known member of the AiFieldsAskFields enum.
type AiGenerateTemplateJSONRequestBody ¶
type AiGenerateTemplateJSONRequestBody = TemplateGeneration
AiGenerateTemplateJSONRequestBody defines body for AiGenerateTemplate for application/json ContentType.
type AiGenerateTemplateParams ¶
type AiGenerateTemplateParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
AiGenerateTemplateParams defines parameters for AiGenerateTemplate.
type AiJurisdiction ¶
type AiJurisdiction string
AiJurisdiction Where the provider processes what is sent to it, as the operator declares it. It is a declaration rather than something this software can verify, and it exists so that the decision is documented rather than made by accident. `SELF_HOSTED` is a model this installation runs itself - no transfer to anybody. `EEA` and `ADEQUACY` are transfers Art. 45 covers. `THIRD_COUNTRY` is everything else and needs the operator's confirmation in the installation's configuration; the adequacy decision or the standard contractual clauses, and the transfer impact assessment, remain the operator's obligation.
const ( AiJurisdictionADEQUACY AiJurisdiction = "ADEQUACY" AiJurisdictionEEA AiJurisdiction = "EEA" AiJurisdictionSELFHOSTED AiJurisdiction = "SELF_HOSTED" AiJurisdictionTHIRDCOUNTRY AiJurisdiction = "THIRD_COUNTRY" )
Defines values for AiJurisdiction.
func (AiJurisdiction) Valid ¶
func (e AiJurisdiction) Valid() bool
Valid indicates whether the value is a known member of the AiJurisdiction enum.
type AiMinJurisdiction ¶
type AiMinJurisdiction string
AiMinJurisdiction The least a workspace's own model must declare about where it processes content, further right being stricter.
const ( AiMinJurisdictionADEQUACY AiMinJurisdiction = "ADEQUACY" AiMinJurisdictionANY AiMinJurisdiction = "ANY" AiMinJurisdictionEEA AiMinJurisdiction = "EEA" AiMinJurisdictionSELFHOSTED AiMinJurisdiction = "SELF_HOSTED" )
Defines values for AiMinJurisdiction.
func (AiMinJurisdiction) Valid ¶
func (e AiMinJurisdiction) Valid() bool
Valid indicates whether the value is a known member of the AiMinJurisdiction enum.
type AiOptOutBasis ¶
type AiOptOutBasis string
AiOptOutBasis The legal basis a workspace names for making AI part of everybody's work.
const ( EMPLOYMENTCONTRACT AiOptOutBasis = "EMPLOYMENT_CONTRACT" LEGALOBLIGATION AiOptOutBasis = "LEGAL_OBLIGATION" WORKSAGREEMENT AiOptOutBasis = "WORKS_AGREEMENT" )
Defines values for AiOptOutBasis.
func (AiOptOutBasis) Valid ¶
func (e AiOptOutBasis) Valid() bool
Valid indicates whether the value is a known member of the AiOptOutBasis enum.
type AiPersonOptOut ¶
type AiPersonOptOut string
AiPersonOptOut `OFFERED`: each person may keep their own content out of AI. `NOT_OFFERED`: AI is part of everybody's work, on the legal basis the workspace named.
const ( AiPersonOptOutNOTOFFERED AiPersonOptOut = "NOT_OFFERED" AiPersonOptOutOFFERED AiPersonOptOut = "OFFERED" )
Defines values for AiPersonOptOut.
func (AiPersonOptOut) Valid ¶
func (e AiPersonOptOut) Valid() bool
Valid indicates whether the value is a known member of the AiPersonOptOut enum.
type AiPersonOptOutChoice ¶
type AiPersonOptOutChoice struct {
// Basis The legal basis a workspace names for making AI part of everybody's work.
Basis *AiOptOutBasis `json:"basis,omitempty"`
// Contact Whom people may ask about it - a name, a role or an address. Optional; without one, people are told to ask an administrator of this workspace.
Contact *string `json:"contact,omitempty"`
// PersonOptOut `OFFERED`: each person may keep their own content out of AI. `NOT_OFFERED`: AI is part of everybody's work, on the legal basis the workspace named.
PersonOptOut AiPersonOptOut `json:"person_opt_out"`
}
AiPersonOptOutChoice defines model for AiPersonOptOutChoice.
type AiProvider ¶
type AiProvider struct {
// BaseUrl The endpoint the adapter calls. Absent for `NOOP`. Every call to it goes through the guarded client, so an address inside this installation's own network is refused wherever it was typed.
BaseUrl *string `json:"base_url,omitempty"`
// CompletionModel The model a suggestion is asked of. Empty means this provider does not complete.
CompletionModel *string `json:"completion_model,omitempty"`
CreatedAt time.Time `json:"created_at"`
// EmbeddingModel The model a vector is asked of. Empty means this provider does not embed. The index holds 1536 dimensions: a model that produces fewer is stored exactly, padded, and one that produces more is refused at the first embedding rather than stored truncated. The two Ollama embedding models in common use produce 768 and 1024 and are taken; a model above 1536 cannot be used.
EmbeddingModel *string `json:"embedding_model,omitempty"`
// HasApiKey Whether a key is stored, which is the whole of what this surface says about one. The key itself is sealed on the way in and answered by nothing afterwards - so this is the only way an operator can tell "configured with a key" from "configured without one", and a setup screen that could not tell them apart would have to ask for the key again to find out.
HasApiKey bool `json:"has_api_key"`
// Jurisdiction Where the provider processes what is sent to it, as the operator declares it. It is a declaration rather than something this software can verify, and it exists so that the decision is documented rather than made by accident.
// `SELF_HOSTED` is a model this installation runs itself - no transfer to anybody. `EEA` and `ADEQUACY` are transfers Art. 45 covers. `THIRD_COUNTRY` is everything else and needs the operator's confirmation in the installation's configuration; the adequacy decision or the standard contractual clauses, and the transfer impact assessment, remain the operator's obligation.
Jurisdiction AiJurisdiction `json:"jurisdiction"`
// Kind Which adapter answers. `OPENAI_COMPATIBLE` covers OpenAI, Azure, Mistral, vLLM and LiteLLM, which agree on a wire format; `OLLAMA` is a local model; `NOOP` calls nothing and is what an installation has until somebody chooses otherwise.
Kind AiProviderKind `json:"kind"`
// ProcessingAllowed Whether this workspace's content may be sent to the provider at all (`ai_processing_allowed`). Checked before every call, and false by default - configuring a provider is not the same act as consenting to use it.
ProcessingAllowed bool `json:"processing_allowed"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Version The optimistic lock, as everywhere else.
Version int `json:"version"`
}
AiProvider How this workspace uses AI, if it does. The API key is not a member: it is sealed at configuration time and opened only by the adapter that makes the call.
type AiProviderConfiguration ¶
type AiProviderConfiguration struct {
// ApiKey Sealed on the way in and answered by nothing afterwards. Omit it on a later write to keep the key already stored; send an empty string to clear it, which is what a local provider that needs none wants.
ApiKey *string `json:"api_key,omitempty"`
// BaseUrl Required for every kind but `NOOP`, which calls nothing.
BaseUrl *string `json:"base_url,omitempty"`
CompletionModel *string `json:"completion_model,omitempty"`
EmbeddingModel *string `json:"embedding_model,omitempty"`
// Jurisdiction Where the provider processes what is sent to it, as the operator declares it. It is a declaration rather than something this software can verify, and it exists so that the decision is documented rather than made by accident.
// `SELF_HOSTED` is a model this installation runs itself - no transfer to anybody. `EEA` and `ADEQUACY` are transfers Art. 45 covers. `THIRD_COUNTRY` is everything else and needs the operator's confirmation in the installation's configuration; the adequacy decision or the standard contractual clauses, and the transfer impact assessment, remain the operator's obligation.
Jurisdiction AiJurisdiction `json:"jurisdiction"`
// Kind Which adapter answers. `OPENAI_COMPATIBLE` covers OpenAI, Azure, Mistral, vLLM and LiteLLM, which agree on a wire format; `OLLAMA` is a local model; `NOOP` calls nothing and is what an installation has until somebody chooses otherwise.
Kind AiProviderKind `json:"kind"`
// ProcessingAllowed Defaults to false. Configuring a provider and consenting to send this workspace's content to it are two decisions, and a default that ran them together would make the second one by accident.
ProcessingAllowed *bool `json:"processing_allowed,omitempty"`
}
AiProviderConfiguration The provider, set whole. A half-changed provider is one nobody can reason about, and the endpoint, the models and the key have to agree with each other.
type AiProviderKind ¶
type AiProviderKind string
AiProviderKind Which adapter answers. `OPENAI_COMPATIBLE` covers OpenAI, Azure, Mistral, vLLM and LiteLLM, which agree on a wire format; `OLLAMA` is a local model; `NOOP` calls nothing and is what an installation has until somebody chooses otherwise.
const ( NOOP AiProviderKind = "NOOP" OLLAMA AiProviderKind = "OLLAMA" OPENAICOMPATIBLE AiProviderKind = "OPENAI_COMPATIBLE" )
Defines values for AiProviderKind.
func (AiProviderKind) Valid ¶
func (e AiProviderKind) Valid() bool
Valid indicates whether the value is a known member of the AiProviderKind enum.
type AiSource ¶
type AiSource struct {
// InstallationSources What the levels above the workspace allow - the installation and the workspace's plan together - which is what the workspace may narrow.
InstallationSources AiSources `json:"installation_sources"`
// KeepingOutCount How many people keep their own content out now, or whose objection stops taking effect under `NOT_OFFERED`. A number, never who: the consent register names them.
KeepingOutCount int `json:"keeping_out_count"`
// MinJurisdiction The least a workspace's own model must declare about where it processes content, further right being stricter.
MinJurisdiction AiMinJurisdiction `json:"min_jurisdiction"`
MinJurisdictionLock *AiSourceMinJurisdictionLock `json:"min_jurisdiction_lock,omitempty"`
MinJurisdictionOrigin AiSourceMinJurisdictionOrigin `json:"min_jurisdiction_origin"`
// Narrowing Which sources a workspace may use: none, only a model the installation offers, only its own (the default), or either.
Narrowing *AiSources `json:"narrowing,omitempty"`
// Offered The models the installation offers, where it allows them at all: name, processor and jurisdiction, never an address, a model name or a key.
Offered []OfferedAiModelSummary `json:"offered"`
// OfferedModelId The offered model chosen. Absent with any other source - and absent while the source is `OFFERED` once the installation withdrew the model chosen: then nothing answers until the workspace chooses again.
OfferedModelId *openapi_types.UUID `json:"offered_model_id,omitempty"`
// PersonOptOut `OFFERED`: each person may keep their own content out of AI. `NOT_OFFERED`: AI is part of everybody's work, on the legal basis the workspace named.
PersonOptOut AiPersonOptOut `json:"person_opt_out"`
// PersonOptOutBasis The legal basis a workspace names for making AI part of everybody's work.
PersonOptOutBasis *AiOptOutBasis `json:"person_opt_out_basis,omitempty"`
// PersonOptOutContact Whom people may ask about the basis. Absent for an administrator of this workspace.
PersonOptOutContact *string `json:"person_opt_out_contact,omitempty"`
// PersonOptOutLock Present where a level above holds the workspace at `OFFERED`: then only the installation or the plan can change it.
PersonOptOutLock *AiSourcePersonOptOutLock `json:"person_opt_out_lock,omitempty"`
PersonOptOutOrigin AiSourcePersonOptOutOrigin `json:"person_opt_out_origin"`
// PersonOptOutSince When the workspace made AI part of everybody's work. Absent with `OFFERED`.
PersonOptOutSince *time.Time `json:"person_opt_out_since,omitempty"`
// PrepareOnArrival Whether AI prepares a proposal for each new jumble entry as it arrives (`PUT /ai-arrival-proposals`). Off by default.
PrepareOnArrival bool `json:"prepare_on_arrival"`
// SearchRebuilding True while search by meaning is being rebuilt for the model now in use. Search by words keeps working meanwhile.
SearchRebuilding *bool `json:"search_rebuilding,omitempty"`
// Source Which source answers a workspace.
Source AiSourceKind `json:"source"`
// Sources Which sources a workspace may use: none, only a model the installation offers, only its own (the default), or either.
Sources AiSources `json:"sources"`
// SourcesLock Present where a level above locked what the workspace may use.
SourcesLock *AiSourceSourcesLock `json:"sources_lock,omitempty"`
SourcesOrigin AiSourceSourcesOrigin `json:"sources_origin"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
AiSource defines model for AiSource.
type AiSourceChoice ¶
type AiSourceChoice struct {
// OfferedModelId The offered model, with `OFFERED` only.
OfferedModelId *openapi_types.UUID `json:"offered_model_id,omitempty"`
// Source Which source answers a workspace.
Source AiSourceKind `json:"source"`
// Sources This workspace's own narrowing of what it may use: a value narrows, `INHERIT` takes what the installation allows, absent keeps it.
Sources *AiSourceChoiceSources `json:"sources,omitempty"`
}
AiSourceChoice defines model for AiSourceChoice.
type AiSourceChoiceSources ¶
type AiSourceChoiceSources string
AiSourceChoiceSources This workspace's own narrowing of what it may use: a value narrows, `INHERIT` takes what the installation allows, absent keeps it.
const ( AiSourceChoiceSourcesEITHER AiSourceChoiceSources = "EITHER" AiSourceChoiceSourcesINHERIT AiSourceChoiceSources = "INHERIT" AiSourceChoiceSourcesNONE AiSourceChoiceSources = "NONE" AiSourceChoiceSourcesOFFERED AiSourceChoiceSources = "OFFERED" AiSourceChoiceSourcesOWN AiSourceChoiceSources = "OWN" )
Defines values for AiSourceChoiceSources.
func (AiSourceChoiceSources) Valid ¶
func (e AiSourceChoiceSources) Valid() bool
Valid indicates whether the value is a known member of the AiSourceChoiceSources enum.
type AiSourceKind ¶
type AiSourceKind string
AiSourceKind Which source answers a workspace.
const ( AiSourceKindNONE AiSourceKind = "NONE" AiSourceKindOFFERED AiSourceKind = "OFFERED" AiSourceKindOWN AiSourceKind = "OWN" )
Defines values for AiSourceKind.
func (AiSourceKind) Valid ¶
func (e AiSourceKind) Valid() bool
Valid indicates whether the value is a known member of the AiSourceKind enum.
type AiSourceMinJurisdictionLock ¶
type AiSourceMinJurisdictionLock string
AiSourceMinJurisdictionLock defines model for AiSource.MinJurisdictionLock.
const ( AiSourceMinJurisdictionLockINSTANCE AiSourceMinJurisdictionLock = "INSTANCE" AiSourceMinJurisdictionLockPLAN AiSourceMinJurisdictionLock = "PLAN" )
Defines values for AiSourceMinJurisdictionLock.
func (AiSourceMinJurisdictionLock) Valid ¶
func (e AiSourceMinJurisdictionLock) Valid() bool
Valid indicates whether the value is a known member of the AiSourceMinJurisdictionLock enum.
type AiSourceMinJurisdictionOrigin ¶
type AiSourceMinJurisdictionOrigin string
AiSourceMinJurisdictionOrigin defines model for AiSource.MinJurisdictionOrigin.
const ( AiSourceMinJurisdictionOriginDEFAULT AiSourceMinJurisdictionOrigin = "DEFAULT" AiSourceMinJurisdictionOriginINSTANCE AiSourceMinJurisdictionOrigin = "INSTANCE" AiSourceMinJurisdictionOriginPLAN AiSourceMinJurisdictionOrigin = "PLAN" AiSourceMinJurisdictionOriginWORKSPACE AiSourceMinJurisdictionOrigin = "WORKSPACE" )
Defines values for AiSourceMinJurisdictionOrigin.
func (AiSourceMinJurisdictionOrigin) Valid ¶
func (e AiSourceMinJurisdictionOrigin) Valid() bool
Valid indicates whether the value is a known member of the AiSourceMinJurisdictionOrigin enum.
type AiSourcePersonOptOutLock ¶
type AiSourcePersonOptOutLock string
AiSourcePersonOptOutLock Present where a level above holds the workspace at `OFFERED`: then only the installation or the plan can change it.
const ( AiSourcePersonOptOutLockINSTANCE AiSourcePersonOptOutLock = "INSTANCE" AiSourcePersonOptOutLockPLAN AiSourcePersonOptOutLock = "PLAN" )
Defines values for AiSourcePersonOptOutLock.
func (AiSourcePersonOptOutLock) Valid ¶
func (e AiSourcePersonOptOutLock) Valid() bool
Valid indicates whether the value is a known member of the AiSourcePersonOptOutLock enum.
type AiSourcePersonOptOutOrigin ¶
type AiSourcePersonOptOutOrigin string
AiSourcePersonOptOutOrigin defines model for AiSource.PersonOptOutOrigin.
const ( AiSourcePersonOptOutOriginDEFAULT AiSourcePersonOptOutOrigin = "DEFAULT" AiSourcePersonOptOutOriginINSTANCE AiSourcePersonOptOutOrigin = "INSTANCE" AiSourcePersonOptOutOriginPLAN AiSourcePersonOptOutOrigin = "PLAN" AiSourcePersonOptOutOriginWORKSPACE AiSourcePersonOptOutOrigin = "WORKSPACE" )
Defines values for AiSourcePersonOptOutOrigin.
func (AiSourcePersonOptOutOrigin) Valid ¶
func (e AiSourcePersonOptOutOrigin) Valid() bool
Valid indicates whether the value is a known member of the AiSourcePersonOptOutOrigin enum.
type AiSourceSourcesLock ¶
type AiSourceSourcesLock string
AiSourceSourcesLock Present where a level above locked what the workspace may use.
const ( AiSourceSourcesLockINSTANCE AiSourceSourcesLock = "INSTANCE" AiSourceSourcesLockPLAN AiSourceSourcesLock = "PLAN" )
Defines values for AiSourceSourcesLock.
func (AiSourceSourcesLock) Valid ¶
func (e AiSourceSourcesLock) Valid() bool
Valid indicates whether the value is a known member of the AiSourceSourcesLock enum.
type AiSourceSourcesOrigin ¶
type AiSourceSourcesOrigin string
AiSourceSourcesOrigin defines model for AiSource.SourcesOrigin.
const ( AiSourceSourcesOriginDEFAULT AiSourceSourcesOrigin = "DEFAULT" AiSourceSourcesOriginINSTANCE AiSourceSourcesOrigin = "INSTANCE" AiSourceSourcesOriginPLAN AiSourceSourcesOrigin = "PLAN" AiSourceSourcesOriginWORKSPACE AiSourceSourcesOrigin = "WORKSPACE" )
Defines values for AiSourceSourcesOrigin.
func (AiSourceSourcesOrigin) Valid ¶
func (e AiSourceSourcesOrigin) Valid() bool
Valid indicates whether the value is a known member of the AiSourceSourcesOrigin enum.
type AiSources ¶
type AiSources string
AiSources Which sources a workspace may use: none, only a model the installation offers, only its own (the default), or either.
type AiSuggestFieldsJSONRequestBody ¶
type AiSuggestFieldsJSONRequestBody = AiFieldsAsk
AiSuggestFieldsJSONRequestBody defines body for AiSuggestFields for application/json ContentType.
type AiSummarizeContainerJSONRequestBody ¶
type AiSummarizeContainerJSONRequestBody = AiAsk
AiSummarizeContainerJSONRequestBody defines body for AiSummarizeContainer for application/json ContentType.
type AiSummarizeJSONRequestBody ¶
type AiSummarizeJSONRequestBody = AiAsk
AiSummarizeJSONRequestBody defines body for AiSummarize for application/json ContentType.
type AiSummarizeThreadJSONRequestBody ¶
type AiSummarizeThreadJSONRequestBody = AiAsk
AiSummarizeThreadJSONRequestBody defines body for AiSummarizeThread for application/json ContentType.
type AiTranslateJSONRequestBody ¶
type AiTranslateJSONRequestBody = AiTranslateRequest
AiTranslateJSONRequestBody defines body for AiTranslate for application/json ContentType.
type AiTranslateRequest ¶
type AiTranslateRequest struct {
// TargetLocale BCP 47 (`de`, `pt-BR`). Absent, the caller's own locale — the account's, else the request's — which is the language they read anything in. A tag the installation has no catalogue for is fine: the provider translates into languages the product does not render.
TargetLocale *string `json:"target_locale,omitempty"`
}
AiTranslateRequest Which language to read the entry in.
type AiTranslation ¶
type AiTranslation struct {
Model string `json:"model"`
// Notes Empty where the entry has no notes.
Notes string `json:"notes"`
ProducedAt time.Time `json:"produced_at"`
PromptId string `json:"prompt_id"`
PromptVersion string `json:"prompt_version"`
Source AiTranslationSource `json:"source"`
// SourceLanguage The entry's `content_language`, which is what the provider was told the source is; null where the entry states none.
SourceLanguage *string `json:"source_language,omitempty"`
TargetLocale string `json:"target_locale"`
Title string `json:"title"`
}
AiTranslation The entry's title and notes as the provider rendered them in the target language, with the provenance every AI output carries. Not a record: it has no id, no status and nothing to accept, because it is not stored anywhere.
type AiTranslationSource ¶
type AiTranslationSource string
AiTranslationSource defines model for AiTranslation.Source.
const (
AiTranslationSourceAI AiTranslationSource = "AI"
)
Defines values for AiTranslationSource.
func (AiTranslationSource) Valid ¶
func (e AiTranslationSource) Valid() bool
Valid indicates whether the value is a known member of the AiTranslationSource enum.
type AnswerAlexaJSONBody ¶
type AnswerAlexaJSONBody map[string]interface{}
AnswerAlexaJSONBody defines parameters for AnswerAlexa.
type AnswerAlexaJSONRequestBody ¶
type AnswerAlexaJSONRequestBody AnswerAlexaJSONBody
AnswerAlexaJSONRequestBody defines body for AnswerAlexa for application/json ContentType.
type ArchiveContainerParams ¶
type ArchiveContainerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ArchiveContainerParams defines parameters for ArchiveContainer.
type ArchiveWorkItemParams ¶
type ArchiveWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ArchiveWorkItemParams defines parameters for ArchiveWorkItem.
type AskWorkspaceJSONRequestBody ¶
type AskWorkspaceJSONRequestBody = WorkspaceQuestion
AskWorkspaceJSONRequestBody defines body for AskWorkspace for application/json ContentType.
type AskWorkspaceParams ¶
type AskWorkspaceParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
AskWorkspaceParams defines parameters for AskWorkspace.
type AssignWorkItemJSONRequestBody ¶
type AssignWorkItemJSONRequestBody = Assignment
AssignWorkItemJSONRequestBody defines body for AssignWorkItem for application/json ContentType.
type AssignWorkItemParams ¶
type AssignWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
AssignWorkItemParams defines parameters for AssignWorkItem.
type Assignment ¶
type Assignment struct {
// AccountId The account to assign. It has to hold a membership on the path above the entry; one that does not is refused with the same answer as an account that does not exist.
AccountId openapi_types.UUID `json:"account_id"`
}
Assignment Who the entry is assigned to.
type AuditActor ¶
type AuditActor struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
// OnBehalfOf The run_as principal for automation and agents
OnBehalfOf *openapi_types.UUID `json:"on_behalf_of,omitempty"`
Type *AuditActorType `json:"type,omitempty"`
}
AuditActor Who acted, as the entry recorded them. The label is the one that was valid at the time and is stored denormalised: an entry that only pointed at a foreign key would become unreadable the moment the account was deleted, and a trail that loses its meaning through a deletion does not do its job.
type AuditActorType ¶
type AuditActorType string
AuditActorType defines model for AuditActor.Type.
const ( AuditActorTypeAIAGENT AuditActorType = "AI_AGENT" AuditActorTypeAUTOMATION AuditActorType = "AUTOMATION" AuditActorTypeSERVICEACCOUNT AuditActorType = "SERVICE_ACCOUNT" AuditActorTypeSYSTEM AuditActorType = "SYSTEM" AuditActorTypeUSER AuditActorType = "USER" )
Defines values for AuditActorType.
func (AuditActorType) Valid ¶
func (e AuditActorType) Valid() bool
Valid indicates whether the value is a known member of the AuditActorType enum.
type AuditAnchoring ¶
type AuditAnchoring struct {
ConfiguredAt time.Time `json:"configured_at"`
ConfiguredBy *openapi_types.UUID `json:"configured_by,omitempty"`
// TargetId The target anchoring writes to, or null where it is off.
TargetId *openapi_types.UUID `json:"target_id,omitempty"`
}
AuditAnchoring defines model for AuditAnchoring.
type AuditAnchoringConfiguration ¶
type AuditAnchoringConfiguration struct {
// TargetId The workspace's backup target the daily anchor is written to; null switches anchoring off.
TargetId *openapi_types.UUID `json:"target_id"`
}
AuditAnchoringConfiguration defines model for AuditAnchoringConfiguration.
type AuditChange ¶
type AuditChange struct {
Changed *bool `json:"changed,omitempty"`
Field *string `json:"field,omitempty"`
From interface{} `json:"from,omitempty"`
FromHash *string `json:"from_hash,omitempty"`
To interface{} `json:"to,omitempty"`
ToHash *string `json:"to_hash,omitempty"`
}
AuditChange One changed field, masked per its classification. An `OPEN` field carries `from` and `to`; a `SENSITIVE` one carries `changed` and the two hashes instead, which makes two entries comparable without either being readable; a `SECRET` one is not here at all. A hash is keyed with a secret of the installation and bound to the workspace, and names its scheme as a prefix (`hmac-sha256:`): two hashes are comparable only when both carry the same scheme and come from the same workspace on an installation whose secret did not change between them. A hash without a prefix was written by an earlier version and is never equal to a prefixed one, whatever the value.
type AuditContext ¶
type AuditContext struct {
ApiClient *string `json:"api_client,omitempty"`
Channel *AuditContextChannel `json:"channel,omitempty"`
IpPrefix *string `json:"ip_prefix,omitempty"`
RequestId *string `json:"request_id,omitempty"`
// RuleId The automation rule that acted
RuleId *openapi_types.UUID `json:"rule_id,omitempty"`
TraceId *string `json:"trace_id,omitempty"`
UserAgentClass *string `json:"user_agent_class,omitempty"`
}
AuditContext The request the entry belongs to. The address is truncated where the entry is written - IPv4 /24, IPv6 /48 - and the user agent is reduced to a class, because the trail is evidence about actions rather than a second analytics dataset.
type AuditContextChannel ¶
type AuditContextChannel string
AuditContextChannel defines model for AuditContext.Channel.
const ( AuditContextChannelAUTOMATION AuditContextChannel = "AUTOMATION" AuditContextChannelMCP AuditContextChannel = "MCP" AuditContextChannelREST AuditContextChannel = "REST" AuditContextChannelSYNC AuditContextChannel = "SYNC" AuditContextChannelSYSTEM AuditContextChannel = "SYSTEM" )
Defines values for AuditContextChannel.
func (AuditContextChannel) Valid ¶
func (e AuditContextChannel) Valid() bool
Valid indicates whether the value is a known member of the AuditContextChannel enum.
type AuditEntry ¶
type AuditEntry struct {
Action string `json:"action"`
// Actor Who acted, as the entry recorded them. The label is the one that was valid at the time and
// is stored denormalised: an entry that only pointed at a foreign key would become
// unreadable the moment the account was deleted, and a trail that loses its meaning through
// a deletion does not do its job.
Actor AuditActor `json:"actor"`
Changes *[]AuditChange `json:"changes,omitempty"`
// Context The request the entry belongs to. The address is truncated where the entry is
// written - IPv4 /24, IPv6 /48 - and the user agent is reduced to a class, because the trail
// is evidence about actions rather than a second analytics dataset.
Context *AuditContext `json:"context,omitempty"`
Hash *string `json:"hash,omitempty"`
Id openapi_types.UUID `json:"id"`
LegalBasis *string `json:"legal_basis,omitempty"`
OccurredAt time.Time `json:"occurred_at"`
Outcome AuditEntryOutcome `json:"outcome"`
Seq *int `json:"seq,omitempty"`
Severity *AuditEntrySeverity `json:"severity,omitempty"`
// Target The object the entry is about.
Target *AuditTarget `json:"target,omitempty"`
}
AuditEntry Deliberately contains no user content (titles, notes, comments), so that the audit stays unaffected by deletion obligations on content.
type AuditEntryOutcome ¶
type AuditEntryOutcome string
AuditEntryOutcome defines model for AuditEntry.Outcome.
const ( AuditEntryOutcomeDENIED AuditEntryOutcome = "DENIED" AuditEntryOutcomeFAILED AuditEntryOutcome = "FAILED" AuditEntryOutcomeSUCCESS AuditEntryOutcome = "SUCCESS" )
Defines values for AuditEntryOutcome.
func (AuditEntryOutcome) Valid ¶
func (e AuditEntryOutcome) Valid() bool
Valid indicates whether the value is a known member of the AuditEntryOutcome enum.
type AuditEntrySeverity ¶
type AuditEntrySeverity string
AuditEntrySeverity defines model for AuditEntry.Severity.
const ( CRITICAL AuditEntrySeverity = "CRITICAL" INFO AuditEntrySeverity = "INFO" NOTICE AuditEntrySeverity = "NOTICE" WARNING AuditEntrySeverity = "WARNING" )
Defines values for AuditEntrySeverity.
func (AuditEntrySeverity) Valid ¶
func (e AuditEntrySeverity) Valid() bool
Valid indicates whether the value is a known member of the AuditEntrySeverity enum.
type AuditExport ¶
type AuditExport struct {
// Format JSON Lines keeps the entry as it is - the nested actor, target, context and changes - and
// is what a second system reads. CSV flattens it for a spreadsheet, and what does not fit a
// column travels as JSON inside one.
Format *AuditExportFormat `json:"format,omitempty"`
From time.Time `json:"from"`
// TargetId The backup target the archive is written to.
TargetId openapi_types.UUID `json:"target_id"`
To time.Time `json:"to"`
}
AuditExport A period, a format, and where the archive goes. There is no filter beyond the period on purpose: an export is evidence about an interval, and one that had been narrowed by action or actor before it was signed would be evidence about somebody's selection.
type AuditExportFormat ¶
type AuditExportFormat string
AuditExportFormat JSON Lines keeps the entry as it is - the nested actor, target, context and changes - and is what a second system reads. CSV flattens it for a spreadsheet, and what does not fit a column travels as JSON inside one.
const ( AuditExportFormatCSV AuditExportFormat = "CSV" AuditExportFormatJSONL AuditExportFormat = "JSONL" )
Defines values for AuditExportFormat.
func (AuditExportFormat) Valid ¶
func (e AuditExportFormat) Valid() bool
Valid indicates whether the value is a known member of the AuditExportFormat enum.
type AuditTarget ¶
type AuditTarget struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
Type *string `json:"type,omitempty"`
}
AuditTarget The object the entry is about.
type AuthenticatorReplacement ¶
type AuthenticatorReplacement struct {
// ExpiresAt Until when the replacement can be confirmed; after that it lapses unarmed.
ExpiresAt time.Time `json:"expires_at"`
// OtpauthUri What a QR image is rendered from - the rendering is the client's job.
OtpauthUri string `json:"otpauth_uri"`
// Secret Base32, for typing by hand where no camera reaches the QR.
Secret string `json:"secret"`
}
AuthenticatorReplacement The new secret's single showing. Nothing is armed yet: the factor in force and its recovery codes keep working until the replacement is confirmed.
type AuthenticatorReplacementConfirmation ¶
type AuthenticatorReplacementConfirmation struct {
// Code The current code of the new authenticator.
Code string `json:"code"`
}
AuthenticatorReplacementConfirmation defines model for AuthenticatorReplacementConfirmation.
type AuthorizeMailboxJSONRequestBody ¶
type AuthorizeMailboxJSONRequestBody = MailboxAuthorizationRequest
AuthorizeMailboxJSONRequestBody defines body for AuthorizeMailbox for application/json ContentType.
type AuthorizeMailboxParams ¶
type AuthorizeMailboxParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
AuthorizeMailboxParams defines parameters for AuthorizeMailbox.
type AuthorizeOauthClientJSONRequestBody ¶
type AuthorizeOauthClientJSONRequestBody = OauthAuthorization
AuthorizeOauthClientJSONRequestBody defines body for AuthorizeOauthClient for application/json ContentType.
type AutoAssignCandidate ¶
type AutoAssignCandidate struct {
Id openapi_types.UUID `json:"id"`
Kind AutoAssignCandidateKind `json:"kind"`
}
AutoAssignCandidate defines model for AutoAssignCandidate.
type AutoAssignCandidateKind ¶
type AutoAssignCandidateKind string
AutoAssignCandidateKind defines model for AutoAssignCandidate.Kind.
const ( AutoAssignCandidateKindACCOUNT AutoAssignCandidateKind = "ACCOUNT" AutoAssignCandidateKindGROUP AutoAssignCandidateKind = "GROUP" )
Defines values for AutoAssignCandidateKind.
func (AutoAssignCandidateKind) Valid ¶
func (e AutoAssignCandidateKind) Valid() bool
Valid indicates whether the value is a known member of the AutoAssignCandidateKind enum.
type AutoAssignOutcome ¶
type AutoAssignOutcome struct {
Assigned bool `json:"assigned"`
Code *string `json:"code,omitempty"`
// Strategy How a candidate is picked. FIXED always assigns the one configured account. RANDOM_MEMBER draws uniformly from the candidate accounts. RANDOM_GROUP_MEMBER draws a group first and one of its members second, so each group carries an equal share of the work regardless of its size. ROUND_ROBIN walks the candidate list in order. LEAST_LOADED picks the candidate with the fewest open entries. /meta/capabilities returns the valid values.
Strategy AutoAssignStrategy `json:"strategy"`
}
AutoAssignOutcome What one run of automatic assignment did. assigned says whether anybody got the entry; strategy is the policy's strategy that ran; code is the stable reason when nobody did - items.auto_assign_no_candidate when no candidate was eligible.
type AutoAssignPolicy ¶
type AutoAssignPolicy struct {
// Candidates The pool the strategy draws from, in the order that matters to ROUND_ROBIN. FIXED takes exactly one ACCOUNT; RANDOM_GROUP_MEMBER takes GROUP candidates; every other strategy takes ACCOUNT candidates.
Candidates []AutoAssignCandidate `json:"candidates"`
// Enabled Whether the policy applies itself to everything created in the collection. A policy that is not enabled is applied only to a create that asks with auto_assign.
Enabled *bool `json:"enabled,omitempty"`
// Strategy How a candidate is picked. FIXED always assigns the one configured account. RANDOM_MEMBER draws uniformly from the candidate accounts. RANDOM_GROUP_MEMBER draws a group first and one of its members second, so each group carries an equal share of the work regardless of its size. ROUND_ROBIN walks the candidate list in order. LEAST_LOADED picks the candidate with the fewest open entries. /meta/capabilities returns the valid values.
Strategy AutoAssignStrategy `json:"strategy"`
}
AutoAssignPolicy A collection's rule for handing out what is created in it. An enabled policy applies itself to everything created in the collection; one that is not enabled waits to be asked for, with auto_assign on the create request. The rotation state of ROUND_ROBIN is the server's bookkeeping and is not in this document.
type AutoAssignStrategy ¶
type AutoAssignStrategy string
AutoAssignStrategy How a candidate is picked. FIXED always assigns the one configured account. RANDOM_MEMBER draws uniformly from the candidate accounts. RANDOM_GROUP_MEMBER draws a group first and one of its members second, so each group carries an equal share of the work regardless of its size. ROUND_ROBIN walks the candidate list in order. LEAST_LOADED picks the candidate with the fewest open entries. /meta/capabilities returns the valid values.
const ( FIXED AutoAssignStrategy = "FIXED" LEASTLOADED AutoAssignStrategy = "LEAST_LOADED" RANDOMGROUPMEMBER AutoAssignStrategy = "RANDOM_GROUP_MEMBER" RANDOMMEMBER AutoAssignStrategy = "RANDOM_MEMBER" ROUNDROBIN AutoAssignStrategy = "ROUND_ROBIN" )
Defines values for AutoAssignStrategy.
func (AutoAssignStrategy) Valid ¶
func (e AutoAssignStrategy) Valid() bool
Valid indicates whether the value is a known member of the AutoAssignStrategy enum.
type AutoAssignWorkItemParams ¶
type AutoAssignWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
AutoAssignWorkItemParams defines parameters for AutoAssignWorkItem.
type AutomationActionField ¶
type AutomationActionField struct {
// Description Protocol documentation, in English, as the descriptions in this document are - never display text.
Description *string `json:"description,omitempty"`
// Enum The closed set of values the field takes, where it takes one.
Enum *[]string `json:"enum,omitempty"`
// Format The shape of a string field where a form draws it better than as text, in the vocabulary of this document's own `format` keyword: `date-time` for an RFC 3339 instant. Absent for a string that is just a string; a client tolerates a value it does not know and draws the field as text.
Format *string `json:"format,omitempty"`
Kind AutomationActionFieldKind `json:"kind"`
Name string `json:"name"`
Required bool `json:"required"`
// Rule Whether a rule sets this field. `false` for the caller's plumbing - the identifier a client minted for offline work, the version it last read for If-Match, a reserved switch - which a person typing a call supplies and a rule never does, because a run has no version it read and mints nothing. A rule editor hides such a field; the call still accepts it. Absent means `true`.
Rule *bool `json:"rule,omitempty"`
}
AutomationActionField One declared parameter of an automation action, as the use case behind the kind declares it. `kind` is the catalogue's own vocabulary: `id` and `id_list` name entries of this workspace, and an editor offers a picker for them; `object`, `list` and `any` are documents whose shape another declaration decides, and an editor takes them as JSON.
type AutomationActionFieldKind ¶
type AutomationActionFieldKind string
AutomationActionFieldKind defines model for AutomationActionField.Kind.
const ( AutomationActionFieldKindAny AutomationActionFieldKind = "any" AutomationActionFieldKindBoolean AutomationActionFieldKind = "boolean" AutomationActionFieldKindId AutomationActionFieldKind = "id" AutomationActionFieldKindIdList AutomationActionFieldKind = "id_list" AutomationActionFieldKindInteger AutomationActionFieldKind = "integer" AutomationActionFieldKindList AutomationActionFieldKind = "list" AutomationActionFieldKindObject AutomationActionFieldKind = "object" AutomationActionFieldKindString AutomationActionFieldKind = "string" )
Defines values for AutomationActionFieldKind.
func (AutomationActionFieldKind) Valid ¶
func (e AutomationActionFieldKind) Valid() bool
Valid indicates whether the value is a known member of the AutomationActionFieldKind enum.
type AutomationRule ¶
type AutomationRule struct {
Actions []RuleAction `json:"actions"`
// CheckedAt When the check last ran over this rule, and absent for a rule it never has — or for one edited since: an edit leaves the rule unchecked and its findings empty, because they described the definition the check read, not this one.
CheckedAt *time.Time `json:"checked_at,omitempty"`
// Conditions Up to twenty, evaluated in order, and all of them have to hold for the rule to act. An empty list is a rule with no conditions, which runs on every match; an empty *expression* is not a condition at all and is refused as the empty field it is.
Conditions []RuleCondition `json:"conditions"`
CreatedAt time.Time `json:"created_at"`
CreatedBy openapi_types.UUID `json:"created_by"`
// Enabled Switched off when the rule is written. `:enable` and `:disable` are what move it, so that the trail says which of the two somebody did.
Enabled bool `json:"enabled"`
// FailureCount Consecutive failed runs. A run of them disables the rule by itself, and enabling it by hand clears the count.
FailureCount int `json:"failure_count"`
// Findings What the last check found: every reference of the rule resolved against what exists now. Empty for a rule with nothing wrong, and empty for a rule that has never been checked - `checked_at` tells the two apart. A `BROKEN` finding is one the check acted on: the rule is switched off. An `ATTENTION` finding is information.
Findings *[]RuleFinding `json:"findings,omitempty"`
Id openapi_types.UUID `json:"id"`
// InboundRotatedAt When an `INBOUND_WEBHOOK` rule's address was last minted, and absent for a rule that has none. The moment and nothing else: a prefix or a masked value beside it would be a credential whose guessing space has been narrowed for whoever reads the listing.
InboundRotatedAt *time.Time `json:"inbound_rotated_at,omitempty"`
// LastRun The rule's most recent run — when it started and how it ended — read beside the rule so that a list of rules says it without a page of runs per rule. Absent for a rule that never ran. Not part of the definition: a write ignores it.
LastRun *struct {
At time.Time `json:"at"`
// Status How a run ended. `RUNNING` is a run in flight or one whose process died - the engine writes it when the run starts, so a row left in it is a crash rather than a state anything reaches deliberately. `WAITING` is a run parked on a `WAIT` action: its results so far are written, a scheduled job holds the resume point, and no worker is held while the delay passes.
Status RuleRunStatus `json:"status"`
} `json:"last_run,omitempty"`
Name string `json:"name"`
// NextRunAt When a `SCHEDULE` rule next fires. Absent for every other kind, and for a schedule whose recurrence is exhausted - such a rule stays, visible and editable, and fires no more.
NextRunAt *time.Time `json:"next_run_at,omitempty"`
OnError AutomationRuleOnError `json:"on_error"`
// RunAs The account the rule acts as. It can never do more than that account may, which is why the writer has to hold those rights too.
RunAs openapi_types.UUID `json:"run_as"`
// Scope Where the rule applies: the whole workspace, one hub, or one collection. Descendants are included by the ordinary rule rather than by a flag: a permission held at a hub applies downwards, and a rule scoped to a hub sees what happens in its collections.
Scope RuleScope `json:"scope"`
// Throttle What bounds a storm. Both are optional, and both are stored rather than enforced here: the engine that runs a rule is what observes them.
Throttle *RuleThrottle `json:"throttle,omitempty"`
// Trigger What starts a run. Six kinds, each with the fields its kind needs and no others - a trigger carrying a cron expression and an event type would be a rule nobody can read.
Trigger RuleTrigger `json:"trigger"`
UpdatedAt time.Time `json:"updated_at"`
Version int `json:"version"`
}
AutomationRule defines model for AutomationRule.
type AutomationRuleCreate ¶
type AutomationRuleCreate struct {
Actions []RuleAction `json:"actions"`
Conditions *[]RuleCondition `json:"conditions,omitempty"`
Name string `json:"name"`
OnError *AutomationRuleCreateOnError `json:"on_error,omitempty"`
RunAs openapi_types.UUID `json:"run_as"`
// Scope Where the rule applies: the whole workspace, one hub, or one collection. Descendants are included by the ordinary rule rather than by a flag: a permission held at a hub applies downwards, and a rule scoped to a hub sees what happens in its collections.
Scope RuleScope `json:"scope"`
// Throttle What bounds a storm. Both are optional, and both are stored rather than enforced here: the engine that runs a rule is what observes them.
Throttle *RuleThrottle `json:"throttle,omitempty"`
// Trigger What starts a run. Six kinds, each with the fields its kind needs and no others - a trigger carrying a cron expression and an event type would be a rule nobody can read.
Trigger RuleTrigger `json:"trigger"`
}
AutomationRuleCreate defines model for AutomationRuleCreate.
type AutomationRuleCreateOnError ¶
type AutomationRuleCreateOnError string
AutomationRuleCreateOnError defines model for AutomationRuleCreate.OnError.
const ( AutomationRuleCreateOnErrorCONTINUE AutomationRuleCreateOnError = "CONTINUE" AutomationRuleCreateOnErrorRETRY AutomationRuleCreateOnError = "RETRY" AutomationRuleCreateOnErrorSTOP AutomationRuleCreateOnError = "STOP" )
Defines values for AutomationRuleCreateOnError.
func (AutomationRuleCreateOnError) Valid ¶
func (e AutomationRuleCreateOnError) Valid() bool
Valid indicates whether the value is a known member of the AutomationRuleCreateOnError enum.
type AutomationRuleOnError ¶
type AutomationRuleOnError string
AutomationRuleOnError defines model for AutomationRule.OnError.
const ( AutomationRuleOnErrorCONTINUE AutomationRuleOnError = "CONTINUE" AutomationRuleOnErrorRETRY AutomationRuleOnError = "RETRY" AutomationRuleOnErrorSTOP AutomationRuleOnError = "STOP" )
Defines values for AutomationRuleOnError.
func (AutomationRuleOnError) Valid ¶
func (e AutomationRuleOnError) Valid() bool
Valid indicates whether the value is a known member of the AutomationRuleOnError enum.
type AutomationRulePage ¶
type AutomationRulePage struct {
Data []AutomationRule `json:"data"`
Page PageInfo `json:"page"`
}
AutomationRulePage defines model for AutomationRulePage.
type AutomationRuleUpdate ¶
type AutomationRuleUpdate struct {
Actions *[]RuleAction `json:"actions,omitempty"`
Conditions *[]RuleCondition `json:"conditions,omitempty"`
// ExpectedVersion The version last read. A mismatch is a conflict rather than an overwrite.
ExpectedVersion *int `json:"expected_version,omitempty"`
Name *string `json:"name,omitempty"`
OnError *AutomationRuleUpdateOnError `json:"on_error,omitempty"`
RunAs *openapi_types.UUID `json:"run_as,omitempty"`
// Scope Where the rule applies: the whole workspace, one hub, or one collection. Descendants are included by the ordinary rule rather than by a flag: a permission held at a hub applies downwards, and a rule scoped to a hub sees what happens in its collections.
Scope *RuleScope `json:"scope,omitempty"`
// Throttle What bounds a storm. Both are optional, and both are stored rather than enforced here: the engine that runs a rule is what observes them.
Throttle *RuleThrottle `json:"throttle,omitempty"`
// Trigger What starts a run. Six kinds, each with the fields its kind needs and no others - a trigger carrying a cron expression and an event type would be a rule nobody can read.
Trigger *RuleTrigger `json:"trigger,omitempty"`
}
AutomationRuleUpdate An omitted field is left alone. `enabled` is deliberately absent: it moves through `:enable` and `:disable`, which are audited as the decisions they are.
type AutomationRuleUpdateOnError ¶
type AutomationRuleUpdateOnError string
AutomationRuleUpdateOnError defines model for AutomationRuleUpdate.OnError.
const ( AutomationRuleUpdateOnErrorCONTINUE AutomationRuleUpdateOnError = "CONTINUE" AutomationRuleUpdateOnErrorRETRY AutomationRuleUpdateOnError = "RETRY" AutomationRuleUpdateOnErrorSTOP AutomationRuleUpdateOnError = "STOP" )
Defines values for AutomationRuleUpdateOnError.
func (AutomationRuleUpdateOnError) Valid ¶
func (e AutomationRuleUpdateOnError) Valid() bool
Valid indicates whether the value is a known member of the AutomationRuleUpdateOnError enum.
type AvatarInput ¶
type AvatarInput struct {
// MediaId A confirmed media object the caller staged with usage `AVATAR`.
MediaId openapi_types.UUID `json:"media_id"`
}
AvatarInput defines model for AvatarInput.
type BackupArchive ¶
type BackupArchive struct {
// ArchiveId The manifest's own identifier - not what a restore names.
ArchiveId *string `json:"archive_id,omitempty"`
ChecksumStatus *BackupArchiveChecksumStatus `json:"checksum_status,omitempty"`
// Complete Whether the run that wrote it finished - whether `checksums.txt` is there. An archive without one is not damaged; it is a run still going or one that died, and the difference matters to whoever is deciding what to restore from.
Complete *bool `json:"complete,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Encrypted *bool `json:"encrypted,omitempty"`
EncryptionKeyId *string `json:"encryption_key_id,omitempty"`
ExpiresAt *time.Time `json:"expires_at,omitempty"`
ItemCount *int `json:"item_count,omitempty"`
MediaCount *int `json:"media_count,omitempty"`
Mode *BackupArchiveMode `json:"mode,omitempty"`
ParentArchiveId *string `json:"parent_archive_id,omitempty"`
// Path Where the archive lies at the target, and what `RestoreRequest.archive_id` takes.
Path *string `json:"path,omitempty"`
ProductVersion *string `json:"product_version,omitempty"`
SchemaVersion *string `json:"schema_version,omitempty"`
Scope *struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Kind *BackupArchiveScopeKind `json:"kind,omitempty"`
Label *string `json:"label,omitempty"`
} `json:"scope,omitempty"`
SizeBytes *int `json:"size_bytes,omitempty"`
}
BackupArchive Read from the manifest at the target, not from the database.
type BackupArchiveChecksumStatus ¶
type BackupArchiveChecksumStatus string
BackupArchiveChecksumStatus defines model for BackupArchive.ChecksumStatus.
const ( BackupArchiveChecksumStatusMISMATCH BackupArchiveChecksumStatus = "MISMATCH" BackupArchiveChecksumStatusOK BackupArchiveChecksumStatus = "OK" BackupArchiveChecksumStatusUNVERIFIED BackupArchiveChecksumStatus = "UNVERIFIED" )
Defines values for BackupArchiveChecksumStatus.
func (BackupArchiveChecksumStatus) Valid ¶
func (e BackupArchiveChecksumStatus) Valid() bool
Valid indicates whether the value is a known member of the BackupArchiveChecksumStatus enum.
type BackupArchiveMode ¶
type BackupArchiveMode string
BackupArchiveMode defines model for BackupArchive.Mode.
const ( BackupArchiveModeFULL BackupArchiveMode = "FULL" BackupArchiveModeINCREMENTAL BackupArchiveMode = "INCREMENTAL" )
Defines values for BackupArchiveMode.
func (BackupArchiveMode) Valid ¶
func (e BackupArchiveMode) Valid() bool
Valid indicates whether the value is a known member of the BackupArchiveMode enum.
type BackupArchiveScopeKind ¶
type BackupArchiveScopeKind string
BackupArchiveScopeKind defines model for BackupArchive.Scope.Kind.
const ( BackupArchiveScopeKindCOLLECTION BackupArchiveScopeKind = "COLLECTION" BackupArchiveScopeKindHUB BackupArchiveScopeKind = "HUB" BackupArchiveScopeKindINSTANCE BackupArchiveScopeKind = "INSTANCE" BackupArchiveScopeKindTENANT BackupArchiveScopeKind = "TENANT" )
Defines values for BackupArchiveScopeKind.
func (BackupArchiveScopeKind) Valid ¶
func (e BackupArchiveScopeKind) Valid() bool
Valid indicates whether the value is a known member of the BackupArchiveScopeKind enum.
type BackupRetention ¶
type BackupRetention struct {
KeepDaily *int `json:"keep_daily,omitempty"`
KeepLast *int `json:"keep_last,omitempty"`
KeepMonthly *int `json:"keep_monthly,omitempty"`
KeepWeekly *int `json:"keep_weekly,omitempty"`
KeepYearly *int `json:"keep_yearly,omitempty"`
MinKeep *int `json:"min_keep,omitempty"`
}
BackupRetention The generation principle. `min_keep` prevents no backup being left at all.
type BackupRun ¶
type BackupRun struct {
// ArchivePath Where the archive lies at the target
ArchivePath *string `json:"archive_path,omitempty"`
// ErrorCode The message code of the failure, never a message and never free text.
ErrorCode *string `json:"error_code,omitempty"`
// ExpiresAt When the generation plan expects this archive to go. Null while nothing has decided.
ExpiresAt *time.Time `json:"expires_at,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id openapi_types.UUID `json:"id"`
ItemCount *int `json:"item_count,omitempty"`
MediaCount *int `json:"media_count,omitempty"`
Mode BackupRunMode `json:"mode"`
// ParentRunId The archive this one continues, on an incremental run.
ParentRunId *openapi_types.UUID `json:"parent_run_id,omitempty"`
ScheduleId *openapi_types.UUID `json:"schedule_id,omitempty"`
SizeBytes *int `json:"size_bytes,omitempty"`
// SnapshotAt The instant the archive represents, taken from the database's own clock.
SnapshotAt *time.Time `json:"snapshot_at,omitempty"`
StartedAt time.Time `json:"started_at"`
Status BackupRunStatus `json:"status"`
TargetId openapi_types.UUID `json:"target_id"`
// TrialRestore What the trial restore found: after a scheduled `FULL` run whose schedule has `trial_restore` on, the same job reads the archive back as an `INSPECT` restore - every member read, every checksum verified, every encrypted member decrypted with the key the schedule names - and records the difference report against the workspace here. Null where no trial ran. A trial that fails fails the run, with `backup.trial_restore_failed` as its `error_code` and the failure recorded here.
TrialRestore *BackupRunTrial `json:"trial_restore,omitempty"`
Trigger BackupRunTrigger `json:"trigger"`
VerifiedAt *time.Time `json:"verified_at,omitempty"`
VerifyOk *bool `json:"verify_ok,omitempty"`
}
BackupRun One run of a backup. Its `id` is also the archive's id in the manifest at the target, which is what lets `:verify` and a restore name the same thing a caller already holds.
type BackupRunMode ¶
type BackupRunMode string
BackupRunMode defines model for BackupRun.Mode.
const ( BackupRunModeFULL BackupRunMode = "FULL" BackupRunModeINCREMENTAL BackupRunMode = "INCREMENTAL" )
Defines values for BackupRunMode.
func (BackupRunMode) Valid ¶
func (e BackupRunMode) Valid() bool
Valid indicates whether the value is a known member of the BackupRunMode enum.
type BackupRunStatus ¶
type BackupRunStatus string
BackupRunStatus defines model for BackupRun.Status.
const ( BackupRunStatusCANCELLED BackupRunStatus = "CANCELLED" BackupRunStatusEXPIRED BackupRunStatus = "EXPIRED" BackupRunStatusFAILED BackupRunStatus = "FAILED" BackupRunStatusRUNNING BackupRunStatus = "RUNNING" BackupRunStatusSUCCEEDED BackupRunStatus = "SUCCEEDED" )
Defines values for BackupRunStatus.
func (BackupRunStatus) Valid ¶
func (e BackupRunStatus) Valid() bool
Valid indicates whether the value is a known member of the BackupRunStatus enum.
type BackupRunTrial ¶
type BackupRunTrial struct {
// Failure What could not be read back, on a run that failed its trial.
Failure *BackupRunTrialFailure `json:"failure,omitempty"`
InspectedAt time.Time `json:"inspected_at"`
// Report What a restore did, or - on a dry run - what it would do. The same shape either way, so that the report a caller approved and the report they get back are comparable.
Report *RestoreReport `json:"report,omitempty"`
}
BackupRunTrial defines model for BackupRunTrial.
type BackupRunTrialFailure ¶
type BackupRunTrialFailure struct {
// Code The reader's message code.
Code string `json:"code"`
// Member The member at the target where it stopped.
Member *string `json:"member,omitempty"`
}
BackupRunTrialFailure defines model for BackupRunTrialFailure.
type BackupRunTrigger ¶
type BackupRunTrigger string
BackupRunTrigger defines model for BackupRun.Trigger.
const ( BackupRunTriggerAPI BackupRunTrigger = "API" BackupRunTriggerMANUAL BackupRunTrigger = "MANUAL" BackupRunTriggerPREDELETE BackupRunTrigger = "PRE_DELETE" BackupRunTriggerPRERESTORE BackupRunTrigger = "PRE_RESTORE" BackupRunTriggerSCHEDULE BackupRunTrigger = "SCHEDULE" )
Defines values for BackupRunTrigger.
func (BackupRunTrigger) Valid ¶
func (e BackupRunTrigger) Valid() bool
Valid indicates whether the value is a known member of the BackupRunTrigger enum.
type BackupSchedule ¶
type BackupSchedule struct {
Enabled *bool `json:"enabled,omitempty"`
FullRrule *string `json:"full_rrule,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
IncludeAudit *bool `json:"include_audit,omitempty"`
IncludeMedia *bool `json:"include_media,omitempty"`
Mode *BackupScheduleMode `json:"mode,omitempty"`
NextRunAt *time.Time `json:"next_run_at,omitempty"`
NotifyOn *[]BackupScheduleNotifyOn `json:"notify_on,omitempty"`
// Retention The generation principle. `min_keep` prevents no backup being left at all.
Retention *BackupRetention `json:"retention,omitempty"`
Rrule string `json:"rrule"`
Scope struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Kind *BackupScheduleScopeKind `json:"kind,omitempty"`
} `json:"scope"`
TargetId openapi_types.UUID `json:"target_id"`
Timezone *string `json:"timezone,omitempty"`
// TrialRestore Follow every `FULL` run with an `INSPECT` restore of the archive it wrote, in the same job, and store the difference report on the run. A trial that fails fails the run - an archive the product cannot read back is not a backup - and `notify_on` covers it as it covers any failure. On for a new schedule; schedules made before this field existed keep it off, and say so.
TrialRestore *bool `json:"trial_restore,omitempty"`
}
BackupSchedule defines model for BackupSchedule.
type BackupScheduleMode ¶
type BackupScheduleMode string
BackupScheduleMode defines model for BackupSchedule.Mode.
const ( BackupScheduleModeFULL BackupScheduleMode = "FULL" BackupScheduleModeINCREMENTAL BackupScheduleMode = "INCREMENTAL" )
Defines values for BackupScheduleMode.
func (BackupScheduleMode) Valid ¶
func (e BackupScheduleMode) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleMode enum.
type BackupScheduleNotifyOn ¶
type BackupScheduleNotifyOn string
BackupScheduleNotifyOn defines model for BackupSchedule.NotifyOn.
const ( BackupScheduleNotifyOnFAILURE BackupScheduleNotifyOn = "FAILURE" BackupScheduleNotifyOnFIRSTSUCCESSAFTERFAILURE BackupScheduleNotifyOn = "FIRST_SUCCESS_AFTER_FAILURE" BackupScheduleNotifyOnSUCCESS BackupScheduleNotifyOn = "SUCCESS" )
Defines values for BackupScheduleNotifyOn.
func (BackupScheduleNotifyOn) Valid ¶
func (e BackupScheduleNotifyOn) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleNotifyOn enum.
type BackupScheduleScopeKind ¶
type BackupScheduleScopeKind string
BackupScheduleScopeKind defines model for BackupSchedule.Scope.Kind.
const ( BackupScheduleScopeKindCOLLECTION BackupScheduleScopeKind = "COLLECTION" BackupScheduleScopeKindHUB BackupScheduleScopeKind = "HUB" BackupScheduleScopeKindINSTANCE BackupScheduleScopeKind = "INSTANCE" BackupScheduleScopeKindTENANT BackupScheduleScopeKind = "TENANT" )
Defines values for BackupScheduleScopeKind.
func (BackupScheduleScopeKind) Valid ¶
func (e BackupScheduleScopeKind) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleScopeKind enum.
type BackupScheduleUpdate ¶
type BackupScheduleUpdate struct {
// Enabled Off keeps the rule and owes nothing: `next_run_at` is cleared, and switching it back on computes the next moment afresh rather than resuming a missed one.
Enabled *bool `json:"enabled,omitempty"`
FullRrule *string `json:"full_rrule,omitempty"`
IncludeAudit *bool `json:"include_audit,omitempty"`
IncludeMedia *bool `json:"include_media,omitempty"`
Mode *BackupScheduleUpdateMode `json:"mode,omitempty"`
NotifyOn *[]BackupScheduleUpdateNotifyOn `json:"notify_on,omitempty"`
// Retention The generation principle. `min_keep` prevents no backup being left at all.
Retention *BackupRetention `json:"retention,omitempty"`
Rrule *string `json:"rrule,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TrialRestore *bool `json:"trial_restore,omitempty"`
}
BackupScheduleUpdate Every field optional; an omitted one is left alone. The target and the scope are not among them: a schedule that moved either would be a different schedule under an old identifier, and the archives already at the target would disagree with it.
type BackupScheduleUpdateMode ¶
type BackupScheduleUpdateMode string
BackupScheduleUpdateMode defines model for BackupScheduleUpdate.Mode.
const ( BackupScheduleUpdateModeFULL BackupScheduleUpdateMode = "FULL" BackupScheduleUpdateModeINCREMENTAL BackupScheduleUpdateMode = "INCREMENTAL" )
Defines values for BackupScheduleUpdateMode.
func (BackupScheduleUpdateMode) Valid ¶
func (e BackupScheduleUpdateMode) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleUpdateMode enum.
type BackupScheduleUpdateNotifyOn ¶
type BackupScheduleUpdateNotifyOn string
BackupScheduleUpdateNotifyOn defines model for BackupScheduleUpdate.NotifyOn.
const ( BackupScheduleUpdateNotifyOnFAILURE BackupScheduleUpdateNotifyOn = "FAILURE" BackupScheduleUpdateNotifyOnFIRSTSUCCESSAFTERFAILURE BackupScheduleUpdateNotifyOn = "FIRST_SUCCESS_AFTER_FAILURE" BackupScheduleUpdateNotifyOnSUCCESS BackupScheduleUpdateNotifyOn = "SUCCESS" )
Defines values for BackupScheduleUpdateNotifyOn.
func (BackupScheduleUpdateNotifyOn) Valid ¶
func (e BackupScheduleUpdateNotifyOn) Valid() bool
Valid indicates whether the value is a known member of the BackupScheduleUpdateNotifyOn enum.
type BackupStart ¶
type BackupStart struct {
IncludeAudit *bool `json:"include_audit,omitempty"`
IncludeMedia *bool `json:"include_media,omitempty"`
// Mode FULL by default, and deliberately: a run somebody asked for by hand is usually asked for because something is about to happen, and an incremental that turns out to have no parent at the target is the wrong thing to discover then. An INCREMENTAL with no parent is refused rather than quietly promoted.
Mode *BackupStartMode `json:"mode,omitempty"`
TargetId openapi_types.UUID `json:"target_id"`
}
BackupStart A backup asked for by hand rather than by a schedule.
type BackupStartMode ¶
type BackupStartMode string
BackupStartMode FULL by default, and deliberately: a run somebody asked for by hand is usually asked for because something is about to happen, and an incremental that turns out to have no parent at the target is the wrong thing to discover then. An INCREMENTAL with no parent is refused rather than quietly promoted.
const ( BackupStartModeFULL BackupStartMode = "FULL" BackupStartModeINCREMENTAL BackupStartMode = "INCREMENTAL" )
Defines values for BackupStartMode.
func (BackupStartMode) Valid ¶
func (e BackupStartMode) Valid() bool
Valid indicates whether the value is a known member of the BackupStartMode enum.
type BackupTarget ¶
type BackupTarget struct {
// Config Endpoint, bucket, path, region - without credentials.
Config *map[string]interface{} `json:"config,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
EncryptionKeyId *string `json:"encryption_key_id,omitempty"`
EncryptionMode BackupTargetEncryptionMode `json:"encryption_mode"`
Id openapi_types.UUID `json:"id"`
Kind BackupTargetKind `json:"kind"`
LastTestAt *time.Time `json:"last_test_at,omitempty"`
LastTestOk *bool `json:"last_test_ok,omitempty"`
Name string `json:"name"`
// RegionNote Data residency; relevant for third-country targets
RegionNote *string `json:"region_note,omitempty"`
Scope *BackupTargetScope `json:"scope,omitempty"`
// Warnings e.g. backup.target_unencrypted, backup.target_plaintext_protocol
Warnings *[]string `json:"warnings,omitempty"`
}
BackupTarget defines model for BackupTarget.
type BackupTargetCreate ¶
type BackupTargetCreate struct {
Config map[string]interface{} `json:"config"`
// Credentials Only on create/update; stored encrypted and never returned.
Credentials *map[string]interface{} `json:"credentials,omitempty"`
EncryptionMode *BackupTargetCreateEncryptionMode `json:"encryption_mode,omitempty"`
// EncryptionPassphrase Not stored. Without this value the archive is irrecoverably unreadable - the
// caller must keep it safe.
EncryptionPassphrase *string `json:"encryption_passphrase,omitempty"`
// InsecureAcknowledged Mandatory for `FTP` or unencrypted storage (encryption_mode NONE).
InsecureAcknowledged *bool `json:"insecure_acknowledged,omitempty"`
Kind BackupTargetKind `json:"kind"`
Name string `json:"name"`
}
BackupTargetCreate defines model for BackupTargetCreate.
type BackupTargetCreateEncryptionMode ¶
type BackupTargetCreateEncryptionMode string
BackupTargetCreateEncryptionMode defines model for BackupTargetCreate.EncryptionMode.
const ( BackupTargetCreateEncryptionModeAES256GCM BackupTargetCreateEncryptionMode = "AES256_GCM" BackupTargetCreateEncryptionModeNONE BackupTargetCreateEncryptionMode = "NONE" )
Defines values for BackupTargetCreateEncryptionMode.
func (BackupTargetCreateEncryptionMode) Valid ¶
func (e BackupTargetCreateEncryptionMode) Valid() bool
Valid indicates whether the value is a known member of the BackupTargetCreateEncryptionMode enum.
type BackupTargetEncryptionMode ¶
type BackupTargetEncryptionMode string
BackupTargetEncryptionMode defines model for BackupTarget.EncryptionMode.
const ( BackupTargetEncryptionModeAES256GCM BackupTargetEncryptionMode = "AES256_GCM" BackupTargetEncryptionModeNONE BackupTargetEncryptionMode = "NONE" )
Defines values for BackupTargetEncryptionMode.
func (BackupTargetEncryptionMode) Valid ¶
func (e BackupTargetEncryptionMode) Valid() bool
Valid indicates whether the value is a known member of the BackupTargetEncryptionMode enum.
type BackupTargetKind ¶
type BackupTargetKind string
BackupTargetKind defines model for BackupTargetKind.
const ( AZUREBLOB BackupTargetKind = "AZURE_BLOB" FTP BackupTargetKind = "FTP" FTPS BackupTargetKind = "FTPS" GCS BackupTargetKind = "GCS" HTTPPUT BackupTargetKind = "HTTP_PUT" LOCAL BackupTargetKind = "LOCAL" RCLONE BackupTargetKind = "RCLONE" S3 BackupTargetKind = "S3" SFTP BackupTargetKind = "SFTP" SMB BackupTargetKind = "SMB" WEBDAV BackupTargetKind = "WEBDAV" )
Defines values for BackupTargetKind.
func (BackupTargetKind) Valid ¶
func (e BackupTargetKind) Valid() bool
Valid indicates whether the value is a known member of the BackupTargetKind enum.
type BackupTargetProbe ¶
type BackupTargetProbe struct {
// ErrorCode A message code, never the driver's message.
ErrorCode *string `json:"error_code"`
// FreeBytes How much room is left, or `null` where the protocol cannot say. A bucket cannot say at all.
FreeBytes *int `json:"free_bytes"`
LatencyMs float32 `json:"latency_ms"`
Ok bool `json:"ok"`
// Writable Whether the write half worked. A target that can be read and not written is a permissions mistake somebody can act on, and it is the common one.
Writable bool `json:"writable"`
}
BackupTargetProbe What a write-read-delete against the target found. A target that could not be reached is a result rather than an error: it is what the caller asked to find out.
type BackupTargetScope ¶
type BackupTargetScope string
BackupTargetScope defines model for BackupTarget.Scope.
const ( BackupTargetScopeINSTANCE BackupTargetScope = "INSTANCE" BackupTargetScopeTENANT BackupTargetScope = "TENANT" )
Defines values for BackupTargetScope.
func (BackupTargetScope) Valid ¶
func (e BackupTargetScope) Valid() bool
Valid indicates whether the value is a known member of the BackupTargetScope enum.
type Bucket ¶
type Bucket struct {
CollectionId openapi_types.UUID `json:"collection_id"`
// ColorToken Always present, as null when unset - like wip_limit. A board renders both, and a field that appeared only once somebody had set it is one a client cannot read unconditionally.
ColorToken *string `json:"color_token"`
Id openapi_types.UUID `json:"id"`
IsDoneBucket bool `json:"is_done_bucket"`
Name string `json:"name"`
// OrderKey The rank on the board - a fractional index rather than a number.
OrderKey string `json:"order_key"`
// Version The optimistic lock, returned as the ETag and sent back as If-Match.
Version int `json:"version"`
// WipLimit How many entries the people using this board agreed to have in the column at once. Advisory: nothing refuses the drop that exceeds it, because the requirement is that the column turns red rather than that the work becomes impossible. Null is no limit.
WipLimit *int `json:"wip_limit"`
}
Bucket A column of a collection's board - the "list" of the requirements. It belongs to exactly one collection, and its name is unique there, compared without regard to case or accents.
type BucketCreate ¶
type BucketCreate struct {
BeforeBucketId *openapi_types.UUID `json:"before_bucket_id,omitempty"`
// ColorToken One of the ten label colours: slate, blue, teal, green, lime, amber, orange, red, magenta or violet. Any other name is refused with `buckets.color_token_unknown`; a value stored before that check is kept until it is changed. Null or the empty string means no colour.
ColorToken *string `json:"color_token,omitempty"`
IsDoneBucket *bool `json:"is_done_bucket,omitempty"`
Name string `json:"name"`
WipLimit *int `json:"wip_limit,omitempty"`
}
BucketCreate defines model for BucketCreate.
type BucketDeletion ¶
type BucketDeletion struct {
BucketId openapi_types.UUID `json:"bucket_id"`
// MovedItems How many entries were moved.
MovedItems int `json:"moved_items"`
// TargetBucketId The column the entries moved to - the leftmost remaining one. Null when this was the last column on the board, in which case the entries now carry none.
TargetBucketId *openapi_types.UUID `json:"target_bucket_id"`
}
BucketDeletion What became of the entries that were in a deleted column. Reported rather than left to be discovered: a board that silently reassigned a person's cards would be indistinguishable from one that lost them.
type BucketUpdate ¶
type BucketUpdate struct {
// ColorToken One of the ten label colours: slate, blue, teal, green, lime, amber, orange, red, magenta or violet. Any other name is refused with `buckets.color_token_unknown`; a value stored before that check is kept until it is changed. Null or the empty string clears it.
ColorToken *string `json:"color_token,omitempty"`
IsDoneBucket *bool `json:"is_done_bucket,omitempty"`
Name *string `json:"name,omitempty"`
// WipLimit Null and 0 both remove the limit. Zero is not a limit anybody could satisfy, so nothing is lost by reading it that way, and it saves a client from a second field beside the number.
WipLimit *int `json:"wip_limit,omitempty"`
}
BucketUpdate JSON Merge Patch; null deletes a field.
type BulkOperation ¶
type BulkOperation struct {
// ItemId The entry the operation is about. Required by every operation except CREATE_ITEM, which has no entry yet.
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
// Op The operation. Each one is the same operation the route of the same name performs - CREATE_ITEM is POST /items, MOVE_ITEM is POST /items/{itemId}:move, ADD_LABEL is PUT /items/{itemId}/labels/{labelId}, and so on - so what a bulk may do is what a caller may do one entry at a time, never more.
Op BulkOperationOp `json:"op"`
// Payload What the single-entry operation takes in its body, by the field names it takes there. A field the operation does not know is refused by name rather than ignored.
Payload *map[string]interface{} `json:"payload,omitempty"`
}
BulkOperation One operation of a bulk: which of the single-entry operations to carry out, on which entry, with the body that operation takes on its own.
type BulkOperationOp ¶
type BulkOperationOp string
BulkOperationOp The operation. Each one is the same operation the route of the same name performs - CREATE_ITEM is POST /items, MOVE_ITEM is POST /items/{itemId}:move, ADD_LABEL is PUT /items/{itemId}/labels/{labelId}, and so on - so what a bulk may do is what a caller may do one entry at a time, never more.
const ( ADDLABEL BulkOperationOp = "ADD_LABEL" ASSIGN BulkOperationOp = "ASSIGN" COMPLETEITEM BulkOperationOp = "COMPLETE_ITEM" CREATEITEM BulkOperationOp = "CREATE_ITEM" MOVEITEM BulkOperationOp = "MOVE_ITEM" REMOVELABEL BulkOperationOp = "REMOVE_LABEL" REOPENITEM BulkOperationOp = "REOPEN_ITEM" RESTOREITEM BulkOperationOp = "RESTORE_ITEM" TRASHITEM BulkOperationOp = "TRASH_ITEM" UPDATEITEM BulkOperationOp = "UPDATE_ITEM" )
Defines values for BulkOperationOp.
func (BulkOperationOp) Valid ¶
func (e BulkOperationOp) Valid() bool
Valid indicates whether the value is a known member of the BulkOperationOp enum.
type BulkResult ¶
type BulkResult struct {
// Index The position of the operation in the request, counted from zero.
Index int `json:"index"`
Item *WorkItem `json:"item,omitempty"`
Problem *Problem `json:"problem,omitempty"`
// Status The status this operation would have answered on its own: 200 or 201 for one that was applied, the refusal's status for one that failed, and 409 for an operation of an atomic bulk that was rolled back because another one failed.
Status int `json:"status"`
}
BulkResult What one operation of a bulk did. Exactly one of `item` and `problem` is present, except for an operation that never ran because an atomic bulk was rolled back - which carries neither and says so by its status.
type BulkUpdateWorkItemsJSONBody ¶
type BulkUpdateWorkItemsJSONBody struct {
// Atomic All or nothing. Without it a bulk applies what it can and reports the rest.
Atomic *bool `json:"atomic,omitempty"`
Operations []BulkOperation `json:"operations"`
}
BulkUpdateWorkItemsJSONBody defines parameters for BulkUpdateWorkItems.
type BulkUpdateWorkItemsJSONRequestBody ¶
type BulkUpdateWorkItemsJSONRequestBody BulkUpdateWorkItemsJSONBody
BulkUpdateWorkItemsJSONRequestBody defines body for BulkUpdateWorkItems for application/json ContentType.
type BulkUpdateWorkItemsParams ¶
type BulkUpdateWorkItemsParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
BulkUpdateWorkItemsParams defines parameters for BulkUpdateWorkItems.
type CalendarFeed ¶
type CalendarFeed struct {
// AccountId The owner, whose authorisation the feed reads with at every fetch.
AccountId openapi_types.UUID `json:"account_id"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
// RevokedAt When the token stopped working. Kept rather than deleted, so that "this token was revoked on Tuesday" is answerable.
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// ViewId The view the feed serves, or null once that view has been deleted. Null rather than the row going with it: a feed is the subscriber's and a view is the workspace's, so a deleted view leaves a feed that serves nothing and says so.
ViewId *openapi_types.UUID `json:"view_id,omitempty"`
}
CalendarFeed One subscription: a token its owner holds, over one saved view, revocable. The token itself is not a member - it exists in the answer to the call that minted it and nowhere else afterwards.
type CalendarFeedCreate ¶
type CalendarFeedCreate struct {
// ViewId The saved view to serve. It has to be one the caller may read.
ViewId openapi_types.UUID `json:"view_id"`
}
CalendarFeedCreate defines model for CalendarFeedCreate.
type CalendarFeedSecret ¶
type CalendarFeedSecret struct {
// AccountId The owner, whose authorisation the feed reads with at every fetch.
AccountId openapi_types.UUID `json:"account_id"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
// RevokedAt When the token stopped working. Kept rather than deleted, so that "this token was revoked on Tuesday" is answerable.
RevokedAt *time.Time `json:"revoked_at,omitempty"`
// Token The credential, in clear, for the only time. Store it or lose it: what is kept is a hash, and nothing can turn that back into this.
Token string `json:"token"`
// Url The address to hand a calendar client, which is the token in its place. It carries the credential, so it is treated as one - not pasted into a chat, not put in a ticket.
Url string `json:"url"`
// ViewId The view the feed serves, or null once that view has been deleted. Null rather than the row going with it: a feed is the subscriber's and a view is the workspace's, so a deleted view leaves a feed that serves nothing and says so.
ViewId *openapi_types.UUID `json:"view_id,omitempty"`
}
CalendarFeedSecret defines model for CalendarFeedSecret.
type CancelInstanceIdentityProviderWithdrawalParams ¶
type CancelInstanceIdentityProviderWithdrawalParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CancelInstanceIdentityProviderWithdrawalParams defines parameters for CancelInstanceIdentityProviderWithdrawal.
type CancelJobParams ¶
type CancelJobParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CancelJobParams defines parameters for CancelJob.
type Capabilities ¶
type Capabilities struct {
// AccountLink The provider's account page, where the workspace's owners and administrators manage what they are on: the installation's address, or the plan's where it sets one and the installation does not lock it. Answered only to whoever holds `STRUCTURE` on the workspace itself, and only where one is set; absent for everybody else. A client shows it beside "Not included in your plan" and at a reached limit, under its own label - the address is the operator's, never a price or an offer.
AccountLink *string `json:"account_link,omitempty"`
ApiVersion *string `json:"api_version,omitempty"`
// AutoAssignStrategies The values an auto-assign policy's `strategy` may take, for the reason the completion policies are listed.
AutoAssignStrategies *[]AutoAssignStrategy `json:"auto_assign_strategies,omitempty"`
// Automation The vocabulary a rule is written in, and what a rule editor is built from rather than from a list compiled into it - a client with its own would be wrong on the installation that has one more.
Automation *struct {
// ActionFields For every kind in `actions`, the parameters its use case declares - the same fields the MCP tool schema for that use case is derived from, and derived here from the same declaration rather than written a second time. A rule editor builds an action's form from this rather than from a schema compiled into it: a client with its own would be wrong on the installation whose use case grew a field. Always present, and a kind with no parameters maps to an empty array. What a rule may leave out is not said here: a rule supplies some parameters and the run supplies the rest, so `required` describes the call, not the rule.
ActionFields *map[string][]AutomationActionField `json:"action_fields,omitempty"`
// ActionSummaries For every kind in `actions`, the one sentence its use case declares - the same sentence the MCP tool for it carries, derived from the same declaration. A rule editor's catalogue says it under the kind's name, so that every kind the installation serves is readable without a copy of the sentences compiled into a client. Protocol documentation in English, as every description in this document is; a client that lacks it shows the name alone. Always present.
ActionSummaries *map[string]string `json:"action_summaries,omitempty"`
// Actions Every use case a rule may perform, as `RuleAction.kind` names it - one name per use case, in SCREAMING_SNAKE_CASE, sorted. The engine's own flow kinds `WAIT`, `BRANCH` and `STOP` are not in it: they are control structures rather than use cases and are in no catalogue, so a client names those three itself.
Actions *[]string `json:"actions,omitempty"`
// Triggers Every way a rule may be started, as `RuleTrigger.kind` names them.
Triggers *[]string `json:"triggers,omitempty"`
} `json:"automation,omitempty"`
// CompletionPolicies The values a collection's `completion_policy` may take, in the domain's order. A policies form is built from this list rather than from a copy of the enum: the schema says which values exist, this says which this installation serves.
CompletionPolicies *[]CompletionPolicy `json:"completion_policies,omitempty"`
// Deprecations Every request field this contract has marked `deprecated`, with the operations that take it, since when, and the major version it goes away with. Read from the contract itself, so the list and the specification cannot disagree. A request that sends one of them is answered with the `Deprecation` header (RFC 9745) - and with `Sunset` (RFC 8594) once a date is set.
Deprecations *[]DeprecatedField `json:"deprecations,omitempty"`
EventTypes *[]string `json:"event_types,omitempty"`
// Features Which optional parts of this installation are configured - what it *can* do, not what the build implements. A client decides from this whether to offer an action at all: offering "send by email" where there is no SMTP server, or "summarise this" where no AI provider is configured, is a dead end the manifest can prevent.
// The keys are open, and a key that is absent is not a promise in either direction - it is a part of the product that has not been asked to describe itself yet. The ones answered today are `mail`, `storage`, `tracing`, `web_ui`, `backup_encryption`, `backup_targets`, `ai_suggestions`, `semantic_search`, `natural_ordering`, `sign_in_rules`, `search_filter`, `structure`, `structure_enforced`, `setup_open` and `mail_domain` (the operator's receiving domain is set, so a workspace's mail intake has an address there).
// `setup_open` is `true` exactly while the installation has no workspace and nobody in its operator register: then `POST /auth/installation:set-up` is offered, and a client shows the setup in place of the sign-in.
// Two of them describe this version rather than its configuration, and every installation of it answers them `true`: `sign_in_rules` (`GET /auth/sign-in-rules` is served) and `search_filter` (`POST /search` takes a `filter`, and answers one without `words`). They are here for a client that also talks to an older server, which does not answer them: it can tell rather than probe.
// `structure`, a property of this version as well, says that `/presets` is served, that every container read answers its `structure` and `GET /tenant` the workspace's, and that both can be written (`PATCH /containers/{containerId}/structure`, `PATCH /tenant/structure`). It does not say that entries already obey `levels` and `fields`; a client offers only what they allow either way.
// `ai_suggestions` and `semantic_search` are the same two names `degraded_features` uses in `/meta/health`, so a client reading either learns about one feature. Both are answered for the caller's workspace rather than for the installation, because an AI provider is configured per workspace; an anonymous caller, who can neither search nor ask, reads `false` for both, and so does a person who keeps their own content out of AI - no AI action is offered to them. `semantic_search` needs the store *and* a provider that embeds: a database carrying pgvector with nobody to produce vectors searches lexically, which is complete but is not the feature.
// `natural_ordering` says whether names sort under the ICU root collation here - the same order on every installation, `Ä` beside `A` - or under the database's own locale where PostgreSQL was built without ICU. Names sort either way; a client that orders a list itself with `Intl.Collator` reads here whether the server already ordered it the same way.
Features *map[string]bool `json:"features,omitempty"`
// Instance What this caller may do at the level above the workspaces. Caller-scoped, like `ai_suggestions` and `backup_targets` beside it: an anonymous read answers `reachable: false`, and the answer changes with the actor.
// **This is what decides whether a client draws a way into `/instance` at all.** Hubtask does not draw a control somebody may not use and then refuse it: what the installation permits is read, never compiled in, and a capability that is refused outright is absent rather than disabled.
Instance *InstanceReach `json:"instance,omitempty"`
ItemTypes *[]struct {
AllowedChildTypes *[]ItemType `json:"allowed_child_types,omitempty"`
Capabilities *[]string `json:"capabilities,omitempty"`
MaxDepth *int `json:"max_depth,omitempty"`
// Type Extensible; /meta/capabilities returns the valid values.
Type *ItemType `json:"type,omitempty"`
} `json:"item_types,omitempty"`
// Legal The four links this installation is obliged to show, resolved for the caller's workspace or - where the caller has none - for the installation itself.
// Here as well as on `GET /auth/sign-in-rules`, and not by duplication: that route is what a signed-out card reads, and a footer inside the application needs the same four without asking a sign-in route for them. A link the installation never set is **absent**, not empty: a private installation owes nobody an imprint, and four links pointing nowhere are worse than none.
Legal *LegalLinks `json:"legal,omitempty"`
Limits *map[string]interface{} `json:"limits,omitempty"`
// NotIncluded The features the caller's workspace's plan leaves out, in the order of `PlanFeature`; empty where the workspace is on no plan or its plan leaves out nothing. Caller-scoped like `workspace_permissions`: absent for an anonymous caller.
// A feature that is left out rests: automation rules run nowhere, webhooks deliver nothing, the workspace's own sign-in providers sign nobody in. Nothing is deleted, everything stays readable, and it works again from the moment the plan includes it. Creating, changing, switching on, running or sending is refused with `403 plan.not_included`, the feature as its parameter; switching off, pausing, rotating a secret and deleting stay. A client draws "Not included in your plan" in place of the refused controls. `automation_actions` already leaves out the actions of a feature named here.
NotIncluded *[]PlanFeature `json:"not_included,omitempty"`
// NotificationCategories The categories a person can be told about, and the rows a notification-preference form has. A closed set in a check constraint rather than an enum in this document, so that a client reads it here instead of compiling it in; `INVITATION` is in the list and is the one no preference switches off.
NotificationCategories *[]string `json:"notification_categories,omitempty"`
// NotificationChannels The channels this installation delivers on. `EMAIL` today; a client tolerates a value it does not know.
NotificationChannels *[]string `json:"notification_channels,omitempty"`
// PrivateHubOffered Whether the caller may create a private hub of their own now, the way `POST /containers` with `private: true` decides it without `STRUCTURE`: a person - never a service account - who holds a role anywhere in the workspace, where the workspace allows private hubs and holds more than one person. Recording nothing, like `workspace_permissions`, and caller-scoped like it: absent for an anonymous caller.
// It lets a client offer a hub of one's own to somebody who may not shape the workspace, including somebody whose roles sit only on hubs, collections or entries and who cannot read `GET /tenant`. Whoever holds `STRUCTURE` on the workspace creates shared hubs whatever this says.
PrivateHubOffered *bool `json:"private_hub_offered,omitempty"`
ProductVersion *string `json:"product_version,omitempty"`
// QueryFields What `POST /items:query` accepts. A client builds its filter editor from this rather than from a hard-coded list, because the set grows with the installation's features - a field whose use case this version does not have is not in it, and filtering on it is refused rather than silently matching nothing.
QueryFields *[]QueryField `json:"query_fields,omitempty"`
// RetentionDataKinds The classes of data a retention rule may name, and what this build can do to each. A client builds its rule editor from this rather than from a table compiled into it: a new kind is configurable through the API as soon as the server knows it, and a client with its own list would be the one place that still needed a code change.
// `actions` is empty for a kind this build names and nothing removes yet. That is not the same as a kind that does not exist, and it is why the entry is answered at all: a rule for one of those is refused with a code that says which of the two it is.
RetentionDataKinds *[]RetentionDataKind `json:"retention_data_kinds,omitempty"`
// Roles The role matrix as this installation enforces it. A client decides from this which actions to offer, rather than from a table compiled into it: two cells of the matrix are qualifiers no permission name can carry - a contributor writes only what is assigned to them, and a guest may comment on an entry without being able to change it - and a client that does not know them offers buttons the server refuses.
Roles *[]RoleDescription `json:"roles,omitempty"`
// SupportedLocales The locales this installation has a catalogue for, in the order it serves them - the source language first - with the metadata a client needs before it has rendered anything. Derived from the catalogue files present, the embedded ones and an operator's `HUBTASK_LOCALE_DIR`, so adding a language is a file and not a release. A locale is what the account's language picker offers and what `Accept-Language` is negotiated against; a language absent here still renders, in the source language, and is still an entry's `content_language`.
SupportedLocales *[]struct {
// DecimalSeparator The character between the integer and the fraction where the locale is spoken - `.` or `,`. What a client that formats before `Intl` is available, or a form that parses what somebody typed, reads; a client with `Intl` formats with it.
DecimalSeparator string `json:"decimal_separator"`
// Direction The writing direction of the locale's script, which is what a client sets `dir` from. `rtl` for Arabic, Hebrew, Persian, Urdu and the other right-to-left scripts; the interface's layout is the client's business, the flag is the server's.
Direction CapabilitiesSupportedLocalesDirection `json:"direction"`
// Locale BCP 47, as the file is named - `en`, `de`, `pt-BR`, `zh-Hans`.
Locale string `json:"locale"`
// WeekStart The first day of the week where the locale is spoken, per CLDR, in the same vocabulary as the account's own `week_start` so that a client compares the two without translating. The account's value overrides it where set.
WeekStart CapabilitiesSupportedLocalesWeekStart `json:"week_start"`
} `json:"supported_locales,omitempty"`
TenancyMode *CapabilitiesTenancyMode `json:"tenancy_mode,omitempty"`
// TextLanguages The languages this installation can index the text of, as BCP-47 tags, and what a client's language picker for `content_language` is built from. It is the installation's answer rather than the product's: the mapping from a tag to a text search configuration is in the database, and which of those configurations exist is what its PostgreSQL was built with. A language that is not in this list is not refused - an entry declaring one is stored and matched word by word, which is the same treatment a script without word boundaries gets.
TextLanguages *[]string `json:"text_languages,omitempty"`
// TokenScopes Every scope a personal access token or an authorized app may be granted here, sorted. It is the union of what this build's use cases declare plus the one capability scope no operation owns, and it is answered for the same reason the role matrix is: a client that offers a scope list of its own is a client that is wrong on somebody's installation, and asking for a scope this installation does not declare is refused as a field error naming it (`access.token_scope_unknown`).
// Anonymous callers read it too. What a token may be asked for is not a secret, and the screen that mints one is behind a session anyway.
TokenScopes *[]string `json:"token_scopes,omitempty"`
ViewLayouts *[]string `json:"view_layouts,omitempty"`
// WorkspacePermissions The columns of the role matrix the caller holds on the workspace itself, from every membership they hold there - their own and their groups' - decided as every request is decided, and recording nothing: asking is not an attempt. Caller-scoped like `instance`: absent for an anonymous caller, empty for somebody whose roles sit only on hubs, collections or entries.
// It answers what a client offers at the level of the workspace before anybody presses anything - the administration (`STRUCTURE` or `READ_CONFIGURATION`), the jumble (`READ`), capturing into it (`WRITE_ITEMS`), its intake address (`AUTOMATION`) - rather than a client probing a route that refuses. It says nothing about a hub, a collection or an entry, where roles granted there add to these, and nothing about the presenting credential: a token's scopes bound it further.
WorkspacePermissions *[]CapabilitiesWorkspacePermissions `json:"workspace_permissions,omitempty"`
}
Capabilities Self-description; clients configure themselves from this.
type CapabilitiesSupportedLocalesDirection ¶
type CapabilitiesSupportedLocalesDirection string
CapabilitiesSupportedLocalesDirection The writing direction of the locale's script, which is what a client sets `dir` from. `rtl` for Arabic, Hebrew, Persian, Urdu and the other right-to-left scripts; the interface's layout is the client's business, the flag is the server's.
const ( Ltr CapabilitiesSupportedLocalesDirection = "ltr" Rtl CapabilitiesSupportedLocalesDirection = "rtl" )
Defines values for CapabilitiesSupportedLocalesDirection.
func (CapabilitiesSupportedLocalesDirection) Valid ¶
func (e CapabilitiesSupportedLocalesDirection) Valid() bool
Valid indicates whether the value is a known member of the CapabilitiesSupportedLocalesDirection enum.
type CapabilitiesSupportedLocalesWeekStart ¶
type CapabilitiesSupportedLocalesWeekStart string
CapabilitiesSupportedLocalesWeekStart The first day of the week where the locale is spoken, per CLDR, in the same vocabulary as the account's own `week_start` so that a client compares the two without translating. The account's value overrides it where set.
const ( CapabilitiesSupportedLocalesWeekStartMONDAY CapabilitiesSupportedLocalesWeekStart = "MONDAY" CapabilitiesSupportedLocalesWeekStartSATURDAY CapabilitiesSupportedLocalesWeekStart = "SATURDAY" CapabilitiesSupportedLocalesWeekStartSUNDAY CapabilitiesSupportedLocalesWeekStart = "SUNDAY" )
Defines values for CapabilitiesSupportedLocalesWeekStart.
func (CapabilitiesSupportedLocalesWeekStart) Valid ¶
func (e CapabilitiesSupportedLocalesWeekStart) Valid() bool
Valid indicates whether the value is a known member of the CapabilitiesSupportedLocalesWeekStart enum.
type CapabilitiesTenancyMode ¶
type CapabilitiesTenancyMode string
CapabilitiesTenancyMode defines model for Capabilities.TenancyMode.
const ( Multi CapabilitiesTenancyMode = "multi" Single CapabilitiesTenancyMode = "single" )
Defines values for CapabilitiesTenancyMode.
func (CapabilitiesTenancyMode) Valid ¶
func (e CapabilitiesTenancyMode) Valid() bool
Valid indicates whether the value is a known member of the CapabilitiesTenancyMode enum.
type CapabilitiesWorkspacePermissions ¶
type CapabilitiesWorkspacePermissions string
CapabilitiesWorkspacePermissions defines model for Capabilities.WorkspacePermissions.
const ( CapabilitiesWorkspacePermissionsAUDITREAD CapabilitiesWorkspacePermissions = "AUDIT_READ" CapabilitiesWorkspacePermissionsAUTOMATION CapabilitiesWorkspacePermissions = "AUTOMATION" CapabilitiesWorkspacePermissionsDELETECONTAINER CapabilitiesWorkspacePermissions = "DELETE_CONTAINER" CapabilitiesWorkspacePermissionsMANAGEMEMBERS CapabilitiesWorkspacePermissions = "MANAGE_MEMBERS" CapabilitiesWorkspacePermissionsREAD CapabilitiesWorkspacePermissions = "READ" CapabilitiesWorkspacePermissionsREADCONFIGURATION CapabilitiesWorkspacePermissions = "READ_CONFIGURATION" CapabilitiesWorkspacePermissionsSTRUCTURE CapabilitiesWorkspacePermissions = "STRUCTURE" CapabilitiesWorkspacePermissionsWRITEITEMS CapabilitiesWorkspacePermissions = "WRITE_ITEMS" )
Defines values for CapabilitiesWorkspacePermissions.
func (CapabilitiesWorkspacePermissions) Valid ¶
func (e CapabilitiesWorkspacePermissions) Valid() bool
Valid indicates whether the value is a known member of the CapabilitiesWorkspacePermissions enum.
type ChangeInstallationPresetJSONRequestBody ¶
type ChangeInstallationPresetJSONRequestBody = InstallationPresetUpdate
ChangeInstallationPresetJSONRequestBody defines body for ChangeInstallationPreset for application/json ContentType.
type ChangeInstallationPresetParams ¶
type ChangeInstallationPresetParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ChangeInstallationPresetParams defines parameters for ChangeInstallationPreset.
type ChangePasswordJSONRequestBody ¶
type ChangePasswordJSONRequestBody = PasswordChange
ChangePasswordJSONRequestBody defines body for ChangePassword for application/json ContentType.
type ChangePasswordParams ¶
type ChangePasswordParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
ChangePasswordParams defines parameters for ChangePassword.
type ChangePlanJSONRequestBody ¶
type ChangePlanJSONRequestBody = PlanChange
ChangePlanJSONRequestBody defines body for ChangePlan for application/json ContentType.
type ChangePlanParams ¶
type ChangePlanParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ChangePlanParams defines parameters for ChangePlan.
type ChangePresetJSONRequestBody ¶
type ChangePresetJSONRequestBody = PresetUpdate
ChangePresetJSONRequestBody defines body for ChangePreset for application/json ContentType.
type ChangePresetParams ¶
type ChangePresetParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ChangePresetParams defines parameters for ChangePreset.
type CheckMailboxParams ¶
type CheckMailboxParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CheckMailboxParams defines parameters for CheckMailbox.
type CheckPasswordJSONRequestBody ¶
type CheckPasswordJSONRequestBody = PasswordCheck
CheckPasswordJSONRequestBody defines body for CheckPassword for application/json ContentType.
type CheckPasswordParams ¶
type CheckPasswordParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CheckPasswordParams defines parameters for CheckPassword.
type ChooseAiSourceJSONRequestBody ¶
type ChooseAiSourceJSONRequestBody = AiSourceChoice
ChooseAiSourceJSONRequestBody defines body for ChooseAiSource for application/json ContentType.
type ClearCoverParams ¶
type ClearCoverParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ClearCoverParams defines parameters for ClearCover.
type ClearDueDateParams ¶
type ClearDueDateParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ClearDueDateParams defines parameters for ClearDueDate.
type CollectionFigure ¶
type CollectionFigure struct {
// AverageSeconds FLOW - the average time those entries took from their first column to their last: from the moment each was created to the moment it was completed, in seconds. Null where none was completed.
AverageSeconds *float64 `json:"average_seconds,omitempty"`
// Completed FLOW - entries at the top level completed in the seven days up to the moment of counting, archived ones included.
Completed *int `json:"completed,omitempty"`
// Days RHYTHM - the dates of the reader's week on which something was completed.
Days *[]openapi_types.Date `json:"days,omitempty"`
// Done PROGRESS - completed leaves, archived ones counted as they stand.
Done *int `json:"done,omitempty"`
// Due DUE - open entries, at any level whose fields carry a due date, due by the end of the reader's day: a timed date before the day ends, an all-day date on or before the reader's date.
Due *int `json:"due,omitempty"`
Kind CollectionFigureKind `json:"kind"`
// Open OPEN and FIELD_SUM - open entries directly under the collection, archived ones left out.
Open *int `json:"open,omitempty"`
// OverLimit FLOW - the board's columns that hold more open entries than their limit. Reported, never enforced.
OverLimit *int `json:"over_limit,omitempty"`
// Sum FIELD_SUM - the sum of the number field over those entries; absent or null where the field is not a live number field the entries carry.
Sum *float64 `json:"sum,omitempty"`
// Summed FIELD_SUM - how many of those entries carry a value.
Summed *int `json:"summed,omitempty"`
Today openapi_types.Date `json:"today"`
// Total PROGRESS - all leaves.
Total *int `json:"total,omitempty"`
Unavailable *bool `json:"unavailable,omitempty"`
// WeekStart RHYTHM - the first date of that week.
WeekStart *openapi_types.Date `json:"week_start,omitempty"`
}
CollectionFigure What counts in a collection, as numbers and dates: the client phrases them. Every figure counts the collection's entries - never a person's - leaving out trashed ones and those its structure hides. `today` is the reader's date the figure was counted for. Where the count could not be made, `unavailable` is true and nothing else is answered.
type CollectionFigureKind ¶
type CollectionFigureKind string
CollectionFigureKind defines model for CollectionFigure.Kind.
const ( CollectionFigureKindDUE CollectionFigureKind = "DUE" CollectionFigureKindFIELDSUM CollectionFigureKind = "FIELD_SUM" CollectionFigureKindFLOW CollectionFigureKind = "FLOW" CollectionFigureKindOPEN CollectionFigureKind = "OPEN" CollectionFigureKindPROGRESS CollectionFigureKind = "PROGRESS" CollectionFigureKindRHYTHM CollectionFigureKind = "RHYTHM" )
Defines values for CollectionFigureKind.
func (CollectionFigureKind) Valid ¶
func (e CollectionFigureKind) Valid() bool
Valid indicates whether the value is a known member of the CollectionFigureKind enum.
type CollectionHandle ¶
type CollectionHandle struct {
CollectionId *openapi_types.UUID `json:"collection_id,omitempty"`
Handle string `json:"handle"`
}
CollectionHandle defines model for CollectionHandle.
type CollectionId ¶
type CollectionId = openapi_types.UUID
CollectionId defines model for CollectionId.
type Comment ¶
type Comment struct {
AuthorId openapi_types.UUID `json:"author_id"`
// Body Null exactly when deleted_at is set: a deleted comment still answers with its identifier, author and timestamps, so a reply does not dangle - but its text is gone, not hidden.
Body *string `json:"body"`
CreatedAt time.Time `json:"created_at"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
EditedAt *time.Time `json:"edited_at,omitempty"`
Id openapi_types.UUID `json:"id"`
ItemId openapi_types.UUID `json:"item_id"`
// Kind `USER` is what somebody wrote. `SYSTEM` is what the server filed on their behalf: the
// displaced version of a free-text field that lost a merge, whose
// body is the text that lost and whose heading is `system_code` with `system_params` -
// a client renders "Diverging version from Anna, 14 Aug 09:12" from the code and the
// author, never from a sentence the server wrote. A system comment cannot be edited.
Kind *CommentKind `json:"kind,omitempty"`
ParentCommentId *openapi_types.UUID `json:"parent_comment_id,omitempty"`
// SystemCode The message code of a system comment's heading, such as `sync.displaced_version`; null for what somebody wrote.
SystemCode *string `json:"system_code,omitempty"`
// SystemParams The parameters of the heading - for a displaced version, the field, the device and the reading.
SystemParams *map[string]string `json:"system_params,omitempty"`
Version int `json:"version"`
}
Comment defines model for Comment.
type CommentJumbleEntryJSONRequestBody ¶
type CommentJumbleEntryJSONRequestBody = JumbleEntryComment
CommentJumbleEntryJSONRequestBody defines body for CommentJumbleEntry for application/json ContentType.
type CommentJumbleEntryParams ¶
type CommentJumbleEntryParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CommentJumbleEntryParams defines parameters for CommentJumbleEntry.
type CommentKind ¶
type CommentKind string
CommentKind `USER` is what somebody wrote. `SYSTEM` is what the server filed on their behalf: the displaced version of a free-text field that lost a merge, whose body is the text that lost and whose heading is `system_code` with `system_params` - a client renders "Diverging version from Anna, 14 Aug 09:12" from the code and the author, never from a sentence the server wrote. A system comment cannot be edited.
const ( CommentKindSYSTEM CommentKind = "SYSTEM" CommentKindUSER CommentKind = "USER" )
Defines values for CommentKind.
func (CommentKind) Valid ¶
func (e CommentKind) Valid() bool
Valid indicates whether the value is a known member of the CommentKind enum.
type CommentPage ¶
CommentPage defines model for CommentPage.
type CompleteLinkJSONRequestBody ¶
type CompleteLinkJSONRequestBody = LinkCompletion
CompleteLinkJSONRequestBody defines body for CompleteLink for application/json ContentType.
type CompleteMailboxAuthorizationJSONRequestBody ¶
type CompleteMailboxAuthorizationJSONRequestBody = MailboxAuthorizationAnswer
CompleteMailboxAuthorizationJSONRequestBody defines body for CompleteMailboxAuthorization for application/json ContentType.
type CompleteMailboxAuthorizationParams ¶
type CompleteMailboxAuthorizationParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CompleteMailboxAuthorizationParams defines parameters for CompleteMailboxAuthorization.
type CompleteOidcSignInJSONRequestBody ¶
type CompleteOidcSignInJSONRequestBody = OidcCallback
CompleteOidcSignInJSONRequestBody defines body for CompleteOidcSignIn for application/json ContentType.
type CompletePasskeyEnrollmentJSONRequestBody ¶
type CompletePasskeyEnrollmentJSONRequestBody = PasskeyEnrollment
CompletePasskeyEnrollmentJSONRequestBody defines body for CompletePasskeyEnrollment for application/json ContentType.
type CompletePasskeyRegistrationJSONRequestBody ¶
type CompletePasskeyRegistrationJSONRequestBody = PasskeyRegistration
CompletePasskeyRegistrationJSONRequestBody defines body for CompletePasskeyRegistration for application/json ContentType.
type CompletePasskeySignInJSONRequestBody ¶
type CompletePasskeySignInJSONRequestBody = PasskeyAssertion
CompletePasskeySignInJSONRequestBody defines body for CompletePasskeySignIn for application/json ContentType.
type CompleteProviderConnectJSONRequestBody ¶
type CompleteProviderConnectJSONRequestBody = ProviderConnectReturn
CompleteProviderConnectJSONRequestBody defines body for CompleteProviderConnect for application/json ContentType.
type CompleteSignInJSONRequestBody ¶
type CompleteSignInJSONRequestBody = SignInCompletion
CompleteSignInJSONRequestBody defines body for CompleteSignIn for application/json ContentType.
type CompleteWorkItemJSONBody ¶
type CompleteWorkItemJSONBody struct {
CascadeChildren *bool `json:"cascade_children,omitempty"`
}
CompleteWorkItemJSONBody defines parameters for CompleteWorkItem.
type CompleteWorkItemJSONRequestBody ¶
type CompleteWorkItemJSONRequestBody CompleteWorkItemJSONBody
CompleteWorkItemJSONRequestBody defines body for CompleteWorkItem for application/json ContentType.
type CompleteWorkItemParams ¶
type CompleteWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CompleteWorkItemParams defines parameters for CompleteWorkItem.
type Completion ¶
type Completion struct {
CompletedAt *time.Time `json:"completed_at,omitempty"`
CompletedBy *openapi_types.UUID `json:"completed_by,omitempty"`
IsCompleted *bool `json:"is_completed,omitempty"`
}
Completion defines model for Completion.
type CompletionPolicy ¶
type CompletionPolicy string
CompletionPolicy Whether a child's completion propagates upwards. MANUAL leaves the parent alone; ROLLUP completes it when its last open child is completed and reopens it when any child is reopened. /meta/capabilities returns the valid values.
const ( CompletionPolicyMANUAL CompletionPolicy = "MANUAL" CompletionPolicyROLLUP CompletionPolicy = "ROLLUP" )
Defines values for CompletionPolicy.
func (CompletionPolicy) Valid ¶
func (e CompletionPolicy) Valid() bool
Valid indicates whether the value is a known member of the CompletionPolicy enum.
type ConfigureAiProviderJSONRequestBody ¶
type ConfigureAiProviderJSONRequestBody = AiProviderConfiguration
ConfigureAiProviderJSONRequestBody defines body for ConfigureAiProvider for application/json ContentType.
type ConfigureAuditAnchoringJSONRequestBody ¶
type ConfigureAuditAnchoringJSONRequestBody = AuditAnchoringConfiguration
ConfigureAuditAnchoringJSONRequestBody defines body for ConfigureAuditAnchoring for application/json ContentType.
type ConfigureFirstIdentityProviderJSONRequestBody ¶
type ConfigureFirstIdentityProviderJSONRequestBody = IdentityProviderConfiguration
ConfigureFirstIdentityProviderJSONRequestBody defines body for ConfigureFirstIdentityProvider for application/json ContentType.
type ConfigureFirstIdentityProviderParams ¶
type ConfigureFirstIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
ConfigureFirstIdentityProviderParams defines parameters for ConfigureFirstIdentityProvider.
type ConfigureIdentityProviderJSONRequestBody ¶
type ConfigureIdentityProviderJSONRequestBody = IdentityProviderConfiguration
ConfigureIdentityProviderJSONRequestBody defines body for ConfigureIdentityProvider for application/json ContentType.
type ConfigureIdentityProviderParams ¶
type ConfigureIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
ConfigureIdentityProviderParams defines parameters for ConfigureIdentityProvider.
type ConfigureInstanceAiProviderJSONRequestBody ¶
type ConfigureInstanceAiProviderJSONRequestBody = OfferedAiModelConfiguration
ConfigureInstanceAiProviderJSONRequestBody defines body for ConfigureInstanceAiProvider for application/json ContentType.
type ConfigureInstanceIdentityProviderJSONRequestBody ¶
type ConfigureInstanceIdentityProviderJSONRequestBody = IdentityProviderConfiguration
ConfigureInstanceIdentityProviderJSONRequestBody defines body for ConfigureInstanceIdentityProvider for application/json ContentType.
type ConfigureInstanceIdentityProviderParams ¶
type ConfigureInstanceIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
ConfigureInstanceIdentityProviderParams defines parameters for ConfigureInstanceIdentityProvider.
type ConfirmAddressJSONRequestBody ¶
type ConfirmAddressJSONRequestBody = AddressConfirm
ConfirmAddressJSONRequestBody defines body for ConfirmAddress for application/json ContentType.
type ConfirmAuthenticatorReplacementJSONRequestBody ¶
type ConfirmAuthenticatorReplacementJSONRequestBody = AuthenticatorReplacementConfirmation
ConfirmAuthenticatorReplacementJSONRequestBody defines body for ConfirmAuthenticatorReplacement for application/json ContentType.
type ConfirmMediaUploadParams ¶
type ConfirmMediaUploadParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ConfirmMediaUploadParams defines parameters for ConfirmMediaUpload.
type ConfirmTotpJSONRequestBody ¶
type ConfirmTotpJSONRequestBody = TotpConfirmation
ConfirmTotpJSONRequestBody defines body for ConfirmTotp for application/json ContentType.
type ConnectMailboxJSONRequestBody ¶
type ConnectMailboxJSONRequestBody = MailboxConnection
ConnectMailboxJSONRequestBody defines body for ConnectMailbox for application/json ContentType.
type ConnectMailboxParams ¶
type ConnectMailboxParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ConnectMailboxParams defines parameters for ConnectMailbox.
type ConnectedIdentity ¶
type ConnectedIdentity struct {
// LinkedAt When the identity was connected.
LinkedAt time.Time `json:"linked_at"`
ProviderId openapi_types.UUID `json:"provider_id"`
// ProviderName The provider's name, as the sign-in button shows it.
ProviderName string `json:"provider_name"`
}
ConnectedIdentity One provider identity connected to the caller's account.
type ConsentGrant ¶
type ConsentGrant struct {
// AccountId Whose consent - only ever the caller's own.
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
// Purpose The optional processing a consent covers. Open rather than an enum, because a purpose is configuration - what an installation offers, not what this contract fixes.
Purpose ConsentPurpose `json:"purpose"`
}
ConsentGrant defines model for ConsentGrant.
type ConsentPurpose ¶
type ConsentPurpose = string
ConsentPurpose The optional processing a consent covers. Open rather than an enum, because a purpose is configuration - what an installation offers, not what this contract fixes.
type ConsentRecord ¶
type ConsentRecord struct {
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
Granted bool `json:"granted"`
GrantedAt *time.Time `json:"granted_at,omitempty"`
Id openapi_types.UUID `json:"id"`
// Purpose The optional processing a consent covers. Open rather than an enum, because a purpose is configuration - what an installation offers, not what this contract fixes.
Purpose ConsentPurpose `json:"purpose"`
RevokedAt *time.Time `json:"revoked_at,omitempty"`
Source *ConsentRecordSource `json:"source,omitempty"`
}
ConsentRecord defines model for ConsentRecord.
type ConsentRecordSource ¶
type ConsentRecordSource string
ConsentRecordSource defines model for ConsentRecord.Source.
const ( ConsentRecordSourceConfig ConsentRecordSource = "config" ConsentRecordSourceLessThannil ConsentRecordSource = "<nil>" ConsentRecordSourceTenantAdmin ConsentRecordSource = "tenant_admin" ConsentRecordSourceUser ConsentRecordSource = "user" )
Defines values for ConsentRecordSource.
func (ConsentRecordSource) Valid ¶
func (e ConsentRecordSource) Valid() bool
Valid indicates whether the value is a known member of the ConsentRecordSource enum.
type ConsentRegisterEntry ¶
type ConsentRegisterEntry struct {
AccountId openapi_types.UUID `json:"account_id"`
DisplayName string `json:"display_name"`
// Since When the withdrawal standing now was recorded.
Since time.Time `json:"since"`
// Source Whether the person or an administrator on their behalf recorded it.
Source *ConsentRegisterEntrySource `json:"source,omitempty"`
}
ConsentRegisterEntry defines model for ConsentRegisterEntry.
type ConsentRegisterEntrySource ¶
type ConsentRegisterEntrySource string
ConsentRegisterEntrySource Whether the person or an administrator on their behalf recorded it.
const ( ConsentRegisterEntrySourceConfig ConsentRegisterEntrySource = "config" ConsentRegisterEntrySourceTenantAdmin ConsentRegisterEntrySource = "tenant_admin" ConsentRegisterEntrySourceUser ConsentRegisterEntrySource = "user" )
Defines values for ConsentRegisterEntrySource.
func (ConsentRegisterEntrySource) Valid ¶
func (e ConsentRegisterEntrySource) Valid() bool
Valid indicates whether the value is a known member of the ConsentRegisterEntrySource enum.
type ConsentWithdrawal ¶
type ConsentWithdrawal struct {
// AccountId Whose consent. Omitted means the caller's own.
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
// Purpose The optional processing a consent covers. Open rather than an enum, because a purpose is configuration - what an installation offers, not what this contract fixes.
Purpose ConsentPurpose `json:"purpose"`
Reason *string `json:"reason,omitempty"`
}
ConsentWithdrawal defines model for ConsentWithdrawal.
type Container ¶
type Container struct {
ArchivedAt *time.Time `json:"archived_at,omitempty"`
// ClippedByLevels On the answer to a change of the structure only: the settings whose value in force differs from what the layers say because of the levels in force - `counts`, when `PROGRESS` meets a collection of one level and is shown as `OPEN`. Empty where none.
ClippedByLevels *[]StructureSettingName `json:"clipped_by_levels,omitempty"`
ColorToken *string `json:"color_token,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
Description *string `json:"description,omitempty"`
// EffectiveArchived Whether this container is read-only: archived itself, or sitting in an archived hub (I-C3). archived_at says which of the two - it is null for a collection that only inherits it.
EffectiveArchived *bool `json:"effective_archived,omitempty"`
// Figure What counts in this collection, counted at the read for the reader (their day and week). On a collection's read only; absent on a hub, on a trashed collection, and where what counts is `NONE` or not yet counted by this server (`FLOW`).
Figure *CollectionFigure `json:"figure,omitempty"`
// Handle A collection's short name, null on a hub: the word a mail subject ("#einkauf"), a plus address and a ticket key ("EINKAUF-42") use for it. Given when the collection is made, derived from its name and unique in the workspace; a rename keeps it.
Handle *string `json:"handle,omitempty"`
Icon *string `json:"icon,omitempty"`
Id openapi_types.UUID `json:"id"`
// KeptByLock On the answer to a change of the structure only: the locks that kept a value the chosen preset would have changed. Empty where none did.
KeptByLock *[]string `json:"kept_by_lock,omitempty"`
// Milestone The last time every entry of this collection, or of every collection in this hub, was finished. Recorded by the completion that left nothing open and kept when entries are added afterwards; a later finish moves it. Absent until the first.
Milestone *ContainerMilestone `json:"milestone,omitempty"`
Name string `json:"name"`
OrderKey *string `json:"order_key,omitempty"`
ParentId *openapi_types.UUID `json:"parent_id,omitempty"`
// Policies How a collection works, as opposed to what it is called. Two keys, and no more: a key nothing reads would be a promise nothing keeps. This document is replaced whole (PUT): a key that is not sent falls back to its default - MANUAL for the completion policy, no automatic assignment for auto_assign.
Policies *ContainerPolicies `json:"policies,omitempty"`
// Private Whether this hub is private: reached only by people holding a role on it or below it, not by the workspace's own roles - its owners and administrators included. Always false on a collection, which shares its hub's privacy.
Private *bool `json:"private,omitempty"`
// Structure How much structure this hub or collection has, setting by setting, with where each value comes from and which are locked. Answered by every read of the container, by its creation and by a change of its structure; the answer to another change may leave it out.
Structure *EffectiveStructure `json:"structure,omitempty"`
Type ContainerType `json:"type"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
Container defines model for Container.
type ContainerCreate ¶
type ContainerCreate struct {
// ColorToken One of the ten label colours: slate, blue, teal, green, lime, amber, orange, red, magenta or violet. Any other name is refused with `containers.color_token_unknown`; a value stored before that check is kept until it is changed. Null or the empty string means no colour.
ColorToken *string `json:"color_token,omitempty"`
Description *string `json:"description,omitempty"`
Icon *string `json:"icon,omitempty"`
Name string `json:"name"`
ParentId *openapi_types.UUID `json:"parent_id,omitempty"`
// Preset The preset the new hub or collection starts from; its values are copied. A collection given its hub's preset, or none, follows its hub instead and stores nothing of its own. A hub given none starts from the workspace's default preset where one is set. A collection whose structure offers the board starts with the columns to do, in progress and done, named in the workspace's language; where the board is its default view, the column in progress is limited to three.
Preset *ContainerCreatePreset `json:"preset,omitempty"`
// PresetId A saved preset to start from instead - the workspace's, the installation's or the caller's own; any other is refused with `presets.unknown`. Naming it beside `preset` is refused with `presets.both_named`.
PresetId *openapi_types.UUID `json:"preset_id,omitempty"`
// Private Makes the new hub private: reached only by people holding a role on it or below it, not by the workspace's owners and administrators. Any person holding a role anywhere in the workspace may create one, without the right to create shared hubs, and becomes its owner. A service account may not. Refused on a collection (`containers.private_only_hubs`).
Private *bool `json:"private,omitempty"`
Type ContainerType `json:"type"`
}
ContainerCreate defines model for ContainerCreate.
type ContainerCreatePreset ¶
type ContainerCreatePreset string
ContainerCreatePreset The preset the new hub or collection starts from; its values are copied. A collection given its hub's preset, or none, follows its hub instead and stores nothing of its own. A hub given none starts from the workspace's default preset where one is set. A collection whose structure offers the board starts with the columns to do, in progress and done, named in the workspace's language; where the board is its default view, the column in progress is limited to three.
const ( ContainerCreatePresetFLOW ContainerCreatePreset = "FLOW" ContainerCreatePresetLIST ContainerCreatePreset = "LIST" ContainerCreatePresetLessThannil ContainerCreatePreset = "<nil>" ContainerCreatePresetPROJECT ContainerCreatePreset = "PROJECT" ContainerCreatePresetTASKS ContainerCreatePreset = "TASKS" )
Defines values for ContainerCreatePreset.
func (ContainerCreatePreset) Valid ¶
func (e ContainerCreatePreset) Valid() bool
Valid indicates whether the value is a known member of the ContainerCreatePreset enum.
type ContainerMilestone ¶
type ContainerMilestone struct {
// ReachedAt When the completion that left nothing open reached the server.
ReachedAt time.Time `json:"reached_at"`
}
ContainerMilestone defines model for ContainerMilestone.
type ContainerPage ¶
ContainerPage defines model for ContainerPage.
type ContainerPolicies ¶
type ContainerPolicies struct {
// AutoAssign How what is created in this collection is handed out, absent (or null) for not at all. Sending null - or omitting the key - removes the policy.
AutoAssign *AutoAssignPolicy `json:"auto_assign,omitempty"`
// CompletionPolicy Whether a child's completion propagates upwards. MANUAL leaves the parent alone; ROLLUP completes it when its last open child is completed and reopens it when any child is reopened. /meta/capabilities returns the valid values.
CompletionPolicy *CompletionPolicy `json:"completion_policy,omitempty"`
}
ContainerPolicies How a collection works, as opposed to what it is called. Two keys, and no more: a key nothing reads would be a promise nothing keeps. This document is replaced whole (PUT): a key that is not sent falls back to its default - MANUAL for the completion policy, no automatic assignment for auto_assign.
type ContainerType ¶
type ContainerType string
ContainerType defines model for ContainerType.
const ( ContainerTypeCOLLECTION ContainerType = "COLLECTION" ContainerTypeHUB ContainerType = "HUB" )
Defines values for ContainerType.
func (ContainerType) Valid ¶
func (e ContainerType) Valid() bool
Valid indicates whether the value is a known member of the ContainerType enum.
type ContainerTypeFilter ¶
type ContainerTypeFilter = ContainerType
ContainerTypeFilter defines model for ContainerTypeFilter.
type ContainerUpdate ¶
type ContainerUpdate struct {
// ColorToken One of the ten label colours: slate, blue, teal, green, lime, amber, orange, red, magenta or violet. Any other name is refused with `containers.color_token_unknown`; a value stored before that check is kept until it is changed. Null or the empty string clears it.
ColorToken *string `json:"color_token,omitempty"`
Description *string `json:"description,omitempty"`
Icon *string `json:"icon,omitempty"`
Name *string `json:"name,omitempty"`
}
ContainerUpdate defines model for ContainerUpdate.
type ConvertJumbleEntryJSONRequestBody ¶
type ConvertJumbleEntryJSONRequestBody = JumbleEntryConvert
ConvertJumbleEntryJSONRequestBody defines body for ConvertJumbleEntry for application/json ContentType.
type ConvertJumbleEntryParams ¶
type ConvertJumbleEntryParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ConvertJumbleEntryParams defines parameters for ConvertJumbleEntry.
type Cover ¶
type Cover struct {
ColorToken *string `json:"color_token,omitempty"`
Kind *CoverKind `json:"kind,omitempty"`
MediaId *openapi_types.UUID `json:"media_id,omitempty"`
}
Cover defines model for Cover.
type CoverInput ¶
type CoverInput struct {
ColorToken *string `json:"color_token,omitempty"`
Kind CoverInputKind `json:"kind"`
MediaId *openapi_types.UUID `json:"media_id,omitempty"`
}
CoverInput What the cover shall be: a colour token from the design system's vocabulary, or an image by its media identifier - exactly one of the two, matching the kind.
type CoverInputKind ¶
type CoverInputKind string
CoverInputKind defines model for CoverInput.Kind.
const ( CoverInputKindCOLOR CoverInputKind = "COLOR" CoverInputKindIMAGE CoverInputKind = "IMAGE" )
Defines values for CoverInputKind.
func (CoverInputKind) Valid ¶
func (e CoverInputKind) Valid() bool
Valid indicates whether the value is a known member of the CoverInputKind enum.
type CoverKind ¶
type CoverKind string
CoverKind defines model for Cover.Kind.
Defines values for CoverKind.
type CreateAccessTokenJSONRequestBody ¶
type CreateAccessTokenJSONRequestBody = AccessTokenCreate
CreateAccessTokenJSONRequestBody defines body for CreateAccessToken for application/json ContentType.
type CreateAccessTokenParams ¶
type CreateAccessTokenParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CreateAccessTokenParams defines parameters for CreateAccessToken.
type CreateBackupScheduleJSONRequestBody ¶
type CreateBackupScheduleJSONRequestBody = BackupSchedule
CreateBackupScheduleJSONRequestBody defines body for CreateBackupSchedule for application/json ContentType.
type CreateBackupTargetJSONRequestBody ¶
type CreateBackupTargetJSONRequestBody = BackupTargetCreate
CreateBackupTargetJSONRequestBody defines body for CreateBackupTarget for application/json ContentType.
type CreateBucketJSONRequestBody ¶
type CreateBucketJSONRequestBody = BucketCreate
CreateBucketJSONRequestBody defines body for CreateBucket for application/json ContentType.
type CreateCalendarFeedJSONRequestBody ¶
type CreateCalendarFeedJSONRequestBody = CalendarFeedCreate
CreateCalendarFeedJSONRequestBody defines body for CreateCalendarFeed for application/json ContentType.
type CreateCalendarFeedParams ¶
type CreateCalendarFeedParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateCalendarFeedParams defines parameters for CreateCalendarFeed.
type CreateContainerJSONRequestBody ¶
type CreateContainerJSONRequestBody = ContainerCreate
CreateContainerJSONRequestBody defines body for CreateContainer for application/json ContentType.
type CreateContainerParams ¶
type CreateContainerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateContainerParams defines parameters for CreateContainer.
type CreateDataSubjectRequestJSONRequestBody ¶
type CreateDataSubjectRequestJSONRequestBody = DataSubjectRequestCreate
CreateDataSubjectRequestJSONRequestBody defines body for CreateDataSubjectRequest for application/json ContentType.
type CreateDataSubjectRequestParams ¶
type CreateDataSubjectRequestParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateDataSubjectRequestParams defines parameters for CreateDataSubjectRequest.
type CreateGroupJSONRequestBody ¶
type CreateGroupJSONRequestBody = GroupCreate
CreateGroupJSONRequestBody defines body for CreateGroup for application/json ContentType.
type CreateGroupParams ¶
type CreateGroupParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateGroupParams defines parameters for CreateGroup.
type CreateIdentityProviderJSONRequestBody ¶
type CreateIdentityProviderJSONRequestBody = IdentityProviderConfiguration
CreateIdentityProviderJSONRequestBody defines body for CreateIdentityProvider for application/json ContentType.
type CreateIdentityProviderParams ¶
type CreateIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CreateIdentityProviderParams defines parameters for CreateIdentityProvider.
type CreateInstallationPresetJSONRequestBody ¶
type CreateInstallationPresetJSONRequestBody = InstallationPresetCreate
CreateInstallationPresetJSONRequestBody defines body for CreateInstallationPreset for application/json ContentType.
type CreateInstanceAiProviderJSONRequestBody ¶
type CreateInstanceAiProviderJSONRequestBody = OfferedAiModelConfiguration
CreateInstanceAiProviderJSONRequestBody defines body for CreateInstanceAiProvider for application/json ContentType.
type CreateInstanceBackupTargetJSONRequestBody ¶
type CreateInstanceBackupTargetJSONRequestBody = BackupTargetCreate
CreateInstanceBackupTargetJSONRequestBody defines body for CreateInstanceBackupTarget for application/json ContentType.
type CreateInstanceBackupTargetParams ¶
type CreateInstanceBackupTargetParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CreateInstanceBackupTargetParams defines parameters for CreateInstanceBackupTarget.
type CreateInstanceIdentityProviderJSONRequestBody ¶
type CreateInstanceIdentityProviderJSONRequestBody = IdentityProviderConfiguration
CreateInstanceIdentityProviderJSONRequestBody defines body for CreateInstanceIdentityProvider for application/json ContentType.
type CreateInstanceIdentityProviderParams ¶
type CreateInstanceIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CreateInstanceIdentityProviderParams defines parameters for CreateInstanceIdentityProvider.
type CreateLabelJSONRequestBody ¶
type CreateLabelJSONRequestBody = LabelCreate
CreateLabelJSONRequestBody defines body for CreateLabel for application/json ContentType.
type CreateManagedAccountJSONRequestBody ¶
type CreateManagedAccountJSONRequestBody = ManagedAccountCreate
CreateManagedAccountJSONRequestBody defines body for CreateManagedAccount for application/json ContentType.
type CreateManagedAccountParams ¶
type CreateManagedAccountParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CreateManagedAccountParams defines parameters for CreateManagedAccount.
type CreatePlanJSONRequestBody ¶
type CreatePlanJSONRequestBody = PlanCreate
CreatePlanJSONRequestBody defines body for CreatePlan for application/json ContentType.
type CreatePlanParams ¶
type CreatePlanParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreatePlanParams defines parameters for CreatePlan.
type CreatePlatformSubscriptionJSONRequestBody ¶
type CreatePlatformSubscriptionJSONRequestBody = PlatformSubscriptionCreate
CreatePlatformSubscriptionJSONRequestBody defines body for CreatePlatformSubscription for application/json ContentType.
type CreatePlatformSubscriptionParams ¶
type CreatePlatformSubscriptionParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
CreatePlatformSubscriptionParams defines parameters for CreatePlatformSubscription.
type CreateReminderJSONRequestBody ¶
type CreateReminderJSONRequestBody = ReminderInput
CreateReminderJSONRequestBody defines body for CreateReminder for application/json ContentType.
type CreateReminderParams ¶
type CreateReminderParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateReminderParams defines parameters for CreateReminder.
type CreateRetentionPolicyJSONRequestBody ¶
type CreateRetentionPolicyJSONRequestBody = RetentionPolicy
CreateRetentionPolicyJSONRequestBody defines body for CreateRetentionPolicy for application/json ContentType.
type CreateRuleJSONRequestBody ¶
type CreateRuleJSONRequestBody = AutomationRuleCreate
CreateRuleJSONRequestBody defines body for CreateRule for application/json ContentType.
type CreateRuleParams ¶
type CreateRuleParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateRuleParams defines parameters for CreateRule.
type CreateSavedViewJSONRequestBody ¶
type CreateSavedViewJSONRequestBody = SavedViewCreate
CreateSavedViewJSONRequestBody defines body for CreateSavedView for application/json ContentType.
type CreateSavedViewParams ¶
type CreateSavedViewParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateSavedViewParams defines parameters for CreateSavedView.
type CreateServiceAccountJSONRequestBody ¶
type CreateServiceAccountJSONRequestBody = ServiceAccountCreate
CreateServiceAccountJSONRequestBody defines body for CreateServiceAccount for application/json ContentType.
type CreateServiceAccountParams ¶
type CreateServiceAccountParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateServiceAccountParams defines parameters for CreateServiceAccount.
type CreateTemplateJSONRequestBody ¶
type CreateTemplateJSONRequestBody = TemplateInput
CreateTemplateJSONRequestBody defines body for CreateTemplate for application/json ContentType.
type CreateTemplateParams ¶
type CreateTemplateParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateTemplateParams defines parameters for CreateTemplate.
type CreateWebhookSubscriptionJSONRequestBody ¶
type CreateWebhookSubscriptionJSONRequestBody = WebhookSubscriptionCreate
CreateWebhookSubscriptionJSONRequestBody defines body for CreateWebhookSubscription for application/json ContentType.
type CreateWebhookSubscriptionParams ¶
type CreateWebhookSubscriptionParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateWebhookSubscriptionParams defines parameters for CreateWebhookSubscription.
type CreateWorkItemJSONRequestBody ¶
type CreateWorkItemJSONRequestBody = WorkItemCreate
CreateWorkItemJSONRequestBody defines body for CreateWorkItem for application/json ContentType.
type CreateWorkItemParams ¶
type CreateWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
CreateWorkItemParams defines parameters for CreateWorkItem.
type CustomFieldDefinition ¶
type CustomFieldDefinition struct {
// AppliesTo The item types that carry the field, bounded by the CUSTOM_FIELDS capability. Never empty - a definition no type carries is one nothing could ever hold.
AppliesTo []ItemType `json:"applies_to"`
// CollectionId The collection the definition belongs to, or null for the whole workspace. Always present: absent would say this server does not know about scopes, which is a different statement from "this one is workspace-wide".
CollectionId *openapi_types.UUID `json:"collection_id"`
CreatedAt *time.Time `json:"created_at,omitempty"`
Id openapi_types.UUID `json:"id"`
// IsRequired Whether the field has to hold a value. Enforced when the field is written, not retroactively: making a field required does not make the entries that predate it invalid.
IsRequired bool `json:"is_required"`
// Key The identifier the value is stored under, unique in its scope and fixed once defined. An identifier rather than a label: it appears in `custom_fields.<key>` filters, and a key that could be renamed would orphan every value stored under it.
Key string `json:"key"`
// Kind What a value for the field looks like: one of eight kinds, and the server validates a value against its field's kind.
Kind CustomFieldKind `json:"kind"`
// Options The permitted values of a SELECT or a MULTI_SELECT, and empty for every other kind. Values rather than labels: what a person sees is the client's to render.
Options []string `json:"options"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Version The optimistic lock, returned as the ETag and sent back as If-Match.
Version int `json:"version"`
}
CustomFieldDefinition One field a workspace or a collection adds to its entries. The values live on the entry itself, in `custom_fields`; this is what says which keys exist, what they may hold and which types carry them.
type CustomFieldDefinitionCreate ¶
type CustomFieldDefinitionCreate struct {
// AppliesTo Omitted means TASK alone, which is the column's default.
AppliesTo *[]ItemType `json:"applies_to,omitempty"`
// CollectionId Omitted or null defines the field for the whole workspace.
CollectionId *openapi_types.UUID `json:"collection_id,omitempty"`
IsRequired *bool `json:"is_required,omitempty"`
Key string `json:"key"`
// Kind What a value for the field looks like: one of eight kinds, and the server validates a value against its field's kind.
Kind CustomFieldKind `json:"kind"`
Options *[]string `json:"options,omitempty"`
}
CustomFieldDefinitionCreate defines model for CustomFieldDefinitionCreate.
type CustomFieldDefinitionUpdate ¶
type CustomFieldDefinitionUpdate struct {
AppliesTo *[]ItemType `json:"applies_to,omitempty"`
IsRequired *bool `json:"is_required,omitempty"`
Options *[]string `json:"options,omitempty"`
}
CustomFieldDefinitionUpdate JSON Merge Patch. The key and the kind are not in it: a key that moved would orphan every value stored under it, and a kind that changed would reinterpret them.
type CustomFieldId ¶
type CustomFieldId = openapi_types.UUID
CustomFieldId defines model for CustomFieldId.
type CustomFieldKind ¶
type CustomFieldKind string
CustomFieldKind What a value for the field looks like: one of eight kinds, and the server validates a value against its field's kind.
const ( CustomFieldKindBOOL CustomFieldKind = "BOOL" CustomFieldKindDATE CustomFieldKind = "DATE" CustomFieldKindMULTISELECT CustomFieldKind = "MULTI_SELECT" CustomFieldKindNUMBER CustomFieldKind = "NUMBER" CustomFieldKindSELECT CustomFieldKind = "SELECT" CustomFieldKindTEXT CustomFieldKind = "TEXT" CustomFieldKindURL CustomFieldKind = "URL" CustomFieldKindUSER CustomFieldKind = "USER" )
Defines values for CustomFieldKind.
func (CustomFieldKind) Valid ¶
func (e CustomFieldKind) Valid() bool
Valid indicates whether the value is a known member of the CustomFieldKind enum.
type CustomFieldValue ¶
type CustomFieldValue struct {
// Value The value, shaped by the definition's kind: a string for TEXT, SELECT and URL, a number for NUMBER, a boolean for BOOL, an ISO-8601 date for DATE, an account identifier for USER, and an array of strings for MULTI_SELECT. Null clears the key.
Value interface{} `json:"value"`
}
CustomFieldValue One value for one key. `value` is required and may be null, which clears the key - the two are different requests, and a body that left the field out would be neither.
type DataSubjectRequest ¶
type DataSubjectRequest struct {
CompletedAt *time.Time `json:"completed_at,omitempty"`
// DueAt The deadline in force. One calendar month from the day of receipt, to the end of that day in the workspace's time zone, unless the caller named another; the extended deadline once the case was extended.
DueAt time.Time `json:"due_at"`
// ErasureMode `ANONYMIZE` keeps the authorship as a former user and the workspace's content with it;
// `FULL_DELETE` takes the person's own contributions too. The choice rests with the
// controller, because tenant data touches third parties' rights.
//
// A case that names neither is started as `ANONYMIZE` — the workspace default. It is the
// answer that preserves the rights of
// the people who are not asking: a task somebody else depends on, a comment in a thread that
// stops making sense without it. A controller who owes maximal erasure names `FULL_DELETE`
// on the case, and does so knowingly.
ErasureMode *ErasureMode `json:"erasure_mode,omitempty"`
// ExtendableUntil The latest day the deadline can be extended to, in the workspace's time zone. Present only while an extension can succeed: the case is open, not yet extended, and before its deadline.
ExtendableUntil *openapi_types.Date `json:"extendable_until,omitempty"`
// ExtensionReason Why the deadline is extended: the request's complexity, or the number of requests the controller is handling.
ExtensionReason *DataSubjectRequestExtensionReason `json:"extension_reason,omitempty"`
HandledBy *openapi_types.UUID `json:"handled_by,omitempty"`
Id openapi_types.UUID `json:"id"`
// InformedOn The day the controller informed the person of the extension.
InformedOn *openapi_types.Date `json:"informed_on,omitempty"`
// Kept What legal holds kept from this erasure, one entry per hold. Present only on an erasure a hold kept part of: such a case is `COMPLETED` and partly completed - the rest was erased - until each part's `erased_at` says the rest went after its hold was lifted.
Kept *[]ErasureKept `json:"kept,omitempty"`
// KeptLegalBasis Why what a hold keeps is not erased: the establishment, exercise or defence of legal claims (Art. 17(3)(e) GDPR). Present exactly when `kept` is.
KeptLegalBasis *DataSubjectRequestKeptLegalBasis `json:"kept_legal_basis,omitempty"`
// Kind The right that was exercised. `RECTIFICATION` needs no special path - a correction is an
// ordinary write - and is a tracked case all the same, because the deadline is somebody's
// responsibility either way.
Kind DataSubjectRequestKind `json:"kind"`
Notes *string `json:"notes,omitempty"`
// OriginalDueAt The deadline before the extension, present once the case was extended.
OriginalDueAt *time.Time `json:"original_due_at,omitempty"`
// ReceivedAt When the request was received: the moment it was recorded for one received that day, the start of the day of receipt for one received earlier.
ReceivedAt time.Time `json:"received_at"`
// ReceivedOn The day the request was received, in the workspace's time zone.
ReceivedOn *openapi_types.Date `json:"received_on,omitempty"`
RejectionReason *string `json:"rejection_reason,omitempty"`
// ResultArchive Where the export was written at the backup target, once an access or portability case has produced one.
ResultArchive *string `json:"result_archive,omitempty"`
ResultTargetId *openapi_types.UUID `json:"result_target_id,omitempty"`
// Scope How far the case reaches. `TENANT` is this workspace, which is what a controller answering
// for their own workspace means. `INSTALLATION` is every workspace of this installation in
// which the person is a member - the one operation in this system that legitimately crosses
// the tenant boundary, and it needs the `admin:tenants` scope, is audited in every workspace
// it touches, and is the provider's path rather than a tenant's. An `ERASURE` is never
// installation-wide: each workspace's owner carries it out, and the case is refused with
// `privacy.installation_erasure_refused`.
Scope *DataSubjectRequestScope `json:"scope,omitempty"`
Status DataSubjectRequestStatus `json:"status"`
// SubjectAccountId The account the case is about, and null once a full deletion has taken it.
SubjectAccountId *openapi_types.UUID `json:"subject_account_id,omitempty"`
// SubjectEmail Who asked, for a request that has no account behind it.
SubjectEmail *string `json:"subject_email,omitempty"`
}
DataSubjectRequest defines model for DataSubjectRequest.
type DataSubjectRequestCreate ¶
type DataSubjectRequestCreate struct {
// DueAt The deadline, when it is not one calendar month from the day of receipt. One that has already passed is recorded, and the case is overdue; one before the day of receipt is refused.
DueAt *time.Time `json:"due_at,omitempty"`
// Kind The right that was exercised. `RECTIFICATION` needs no special path - a correction is an
// ordinary write - and is a tracked case all the same, because the deadline is somebody's
// responsibility either way.
Kind DataSubjectRequestKind `json:"kind"`
Notes *string `json:"notes,omitempty"`
// ReceivedOn The day the request reached the controller, in the workspace's time zone. Today when absent; a later day is refused.
ReceivedOn *openapi_types.Date `json:"received_on,omitempty"`
// Scope How far the case reaches. `TENANT` is this workspace, which is what a controller answering
// for their own workspace means. `INSTALLATION` is every workspace of this installation in
// which the person is a member - the one operation in this system that legitimately crosses
// the tenant boundary, and it needs the `admin:tenants` scope, is audited in every workspace
// it touches, and is the provider's path rather than a tenant's. An `ERASURE` is never
// installation-wide: each workspace's owner carries it out, and the case is refused with
// `privacy.installation_erasure_refused`.
Scope *DataSubjectRequestScope `json:"scope,omitempty"`
SubjectAccountId *openapi_types.UUID `json:"subject_account_id,omitempty"`
SubjectEmail *openapi_types.Email `json:"subject_email,omitempty"`
// TargetId The backup target an access or portability export is written to. Required before such a case can start; a copy of somebody's data has to be put somewhere, and this system writes archives to configured targets rather than to a directory it chose itself.
TargetId *openapi_types.UUID `json:"target_id,omitempty"`
}
DataSubjectRequestCreate defines model for DataSubjectRequestCreate.
type DataSubjectRequestExtension ¶
type DataSubjectRequestExtension struct {
// DueOn The new deadline as a day; the case is due by the end of it in the workspace's time zone. Later than the current deadline, and at most three months after the day the request was received.
DueOn openapi_types.Date `json:"due_on"`
// InformedOn The day the controller informed the person of the extension and its reason: not before the day the request was received, not after today.
InformedOn openapi_types.Date `json:"informed_on"`
// Reason Why the deadline is extended: the request's complexity, or the number of requests the controller is handling.
Reason DataSubjectRequestExtensionReason `json:"reason"`
}
DataSubjectRequestExtension defines model for DataSubjectRequestExtension.
type DataSubjectRequestExtensionReason ¶
type DataSubjectRequestExtensionReason string
DataSubjectRequestExtensionReason Why the deadline is extended: the request's complexity, or the number of requests the controller is handling.
const ( COMPLEXITY DataSubjectRequestExtensionReason = "COMPLEXITY" NUMBEROFREQUESTS DataSubjectRequestExtensionReason = "NUMBER_OF_REQUESTS" )
Defines values for DataSubjectRequestExtensionReason.
func (DataSubjectRequestExtensionReason) Valid ¶
func (e DataSubjectRequestExtensionReason) Valid() bool
Valid indicates whether the value is a known member of the DataSubjectRequestExtensionReason enum.
type DataSubjectRequestKeptLegalBasis ¶
type DataSubjectRequestKeptLegalBasis string
DataSubjectRequestKeptLegalBasis Why what a hold keeps is not erased: the establishment, exercise or defence of legal claims (Art. 17(3)(e) GDPR). Present exactly when `kept` is.
const (
ART173E DataSubjectRequestKeptLegalBasis = "ART_17_3_E"
)
Defines values for DataSubjectRequestKeptLegalBasis.
func (DataSubjectRequestKeptLegalBasis) Valid ¶
func (e DataSubjectRequestKeptLegalBasis) Valid() bool
Valid indicates whether the value is a known member of the DataSubjectRequestKeptLegalBasis enum.
type DataSubjectRequestKind ¶
type DataSubjectRequestKind string
DataSubjectRequestKind The right that was exercised. `RECTIFICATION` needs no special path - a correction is an ordinary write - and is a tracked case all the same, because the deadline is somebody's responsibility either way.
const ( ACCESS DataSubjectRequestKind = "ACCESS" ERASURE DataSubjectRequestKind = "ERASURE" OBJECTION DataSubjectRequestKind = "OBJECTION" PORTABILITY DataSubjectRequestKind = "PORTABILITY" RECTIFICATION DataSubjectRequestKind = "RECTIFICATION" RESTRICTION DataSubjectRequestKind = "RESTRICTION" )
Defines values for DataSubjectRequestKind.
func (DataSubjectRequestKind) Valid ¶
func (e DataSubjectRequestKind) Valid() bool
Valid indicates whether the value is a known member of the DataSubjectRequestKind enum.
type DataSubjectRequestScope ¶
type DataSubjectRequestScope string
DataSubjectRequestScope How far the case reaches. `TENANT` is this workspace, which is what a controller answering for their own workspace means. `INSTALLATION` is every workspace of this installation in which the person is a member - the one operation in this system that legitimately crosses the tenant boundary, and it needs the `admin:tenants` scope, is audited in every workspace it touches, and is the provider's path rather than a tenant's. An `ERASURE` is never installation-wide: each workspace's owner carries it out, and the case is refused with `privacy.installation_erasure_refused`.
const ( DataSubjectRequestScopeINSTALLATION DataSubjectRequestScope = "INSTALLATION" DataSubjectRequestScopeTENANT DataSubjectRequestScope = "TENANT" )
Defines values for DataSubjectRequestScope.
func (DataSubjectRequestScope) Valid ¶
func (e DataSubjectRequestScope) Valid() bool
Valid indicates whether the value is a known member of the DataSubjectRequestScope enum.
type DataSubjectRequestStatus ¶
type DataSubjectRequestStatus string
DataSubjectRequestStatus defines model for DataSubjectRequestStatus.
const ( DataSubjectRequestStatusCOMPLETED DataSubjectRequestStatus = "COMPLETED" DataSubjectRequestStatusINPROGRESS DataSubjectRequestStatus = "IN_PROGRESS" DataSubjectRequestStatusRECEIVED DataSubjectRequestStatus = "RECEIVED" DataSubjectRequestStatusREJECTED DataSubjectRequestStatus = "REJECTED" )
Defines values for DataSubjectRequestStatus.
func (DataSubjectRequestStatus) Valid ¶
func (e DataSubjectRequestStatus) Valid() bool
Valid indicates whether the value is a known member of the DataSubjectRequestStatus enum.
type DataSubjectRequestUpdate ¶
type DataSubjectRequestUpdate struct {
// ErasureMode `ANONYMIZE` keeps the authorship as a former user and the workspace's content with it;
// `FULL_DELETE` takes the person's own contributions too. The choice rests with the
// controller, because tenant data touches third parties' rights.
//
// A case that names neither is started as `ANONYMIZE` — the workspace default. It is the
// answer that preserves the rights of
// the people who are not asking: a task somebody else depends on, a comment in a thread that
// stops making sense without it. A controller who owes maximal erasure names `FULL_DELETE`
// on the case, and does so knowingly.
ErasureMode *ErasureMode `json:"erasure_mode,omitempty"`
HandledBy *openapi_types.UUID `json:"handled_by,omitempty"`
Notes *string `json:"notes,omitempty"`
// RejectionReason Required when the case is rejected. A refusal without a reason is not an answer.
RejectionReason *string `json:"rejection_reason,omitempty"`
Status *DataSubjectRequestStatus `json:"status,omitempty"`
TargetId *openapi_types.UUID `json:"target_id,omitempty"`
}
DataSubjectRequestUpdate defines model for DataSubjectRequestUpdate.
type DefineCustomFieldJSONRequestBody ¶
type DefineCustomFieldJSONRequestBody = CustomFieldDefinitionCreate
DefineCustomFieldJSONRequestBody defines body for DefineCustomField for application/json ContentType.
type DefineCustomFieldParams ¶
type DefineCustomFieldParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
DefineCustomFieldParams defines parameters for DefineCustomField.
type DegradedFeature ¶
type DegradedFeature struct {
Feature string `json:"feature"`
ReasonCode string `json:"reason_code"`
Since time.Time `json:"since"`
}
DegradedFeature defines model for DegradedFeature.
type DeleteBucketParams ¶
type DeleteBucketParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteBucketParams defines parameters for DeleteBucket.
type DeleteCommentParams ¶
type DeleteCommentParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteCommentParams defines parameters for DeleteComment.
type DeleteCustomFieldParams ¶
type DeleteCustomFieldParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteCustomFieldParams defines parameters for DeleteCustomField.
type DeleteGroupParams ¶
type DeleteGroupParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
DeleteGroupParams defines parameters for DeleteGroup.
type DeleteInstanceBackupTargetParams ¶
type DeleteInstanceBackupTargetParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
DeleteInstanceBackupTargetParams defines parameters for DeleteInstanceBackupTarget.
type DeleteLabelParams ¶
type DeleteLabelParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteLabelParams defines parameters for DeleteLabel.
type DeleteReminderParams ¶
type DeleteReminderParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteReminderParams defines parameters for DeleteReminder.
type DeleteSavedViewParams ¶
type DeleteSavedViewParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteSavedViewParams defines parameters for DeleteSavedView.
type DeleteTemplateParams ¶
type DeleteTemplateParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
DeleteTemplateParams defines parameters for DeleteTemplate.
type DeliverAddressedMailMultipartBody ¶
type DeliverAddressedMailMultipartBody struct {
BodyMime *string `json:"body-mime,omitempty"`
Recipient *string `json:"recipient,omitempty"`
}
DeliverAddressedMailMultipartBody defines parameters for DeliverAddressedMail.
type DeliverAddressedMailMultipartRequestBody ¶
type DeliverAddressedMailMultipartRequestBody DeliverAddressedMailMultipartBody
DeliverAddressedMailMultipartRequestBody defines body for DeliverAddressedMail for multipart/form-data ContentType.
type DeliverAddressedMailParams ¶
type DeliverAddressedMailParams struct {
// Recipient The envelope recipient, where the inbound service passes it.
Recipient *string `form:"recipient,omitempty" json:"recipient,omitempty"`
}
DeliverAddressedMailParams defines parameters for DeliverAddressedMail.
type DependencyHealth ¶
type DependencyHealth struct {
CircuitState *DependencyHealthCircuitState `json:"circuit_state,omitempty"`
// Impact The features affected during a disruption.
Impact *[]string `json:"impact,omitempty"`
// LastErrorCode A stable error code, not free text and not a third-party message.
LastErrorCode *string `json:"last_error_code,omitempty"`
LatencyMs *float32 `json:"latency_ms,omitempty"`
Name string `json:"name"`
// Required A mandatory dependency; only PostgreSQL is mandatory.
Required bool `json:"required"`
// Since The time of the last state change.
Since *time.Time `json:"since,omitempty"`
Status HealthStatus `json:"status"`
}
DependencyHealth defines model for DependencyHealth.
type DependencyHealthCircuitState ¶
type DependencyHealthCircuitState string
DependencyHealthCircuitState defines model for DependencyHealth.CircuitState.
const ( DependencyHealthCircuitStateClosed DependencyHealthCircuitState = "closed" DependencyHealthCircuitStateHalfOpen DependencyHealthCircuitState = "half_open" DependencyHealthCircuitStateLessThannil DependencyHealthCircuitState = "<nil>" DependencyHealthCircuitStateOpen DependencyHealthCircuitState = "open" )
Defines values for DependencyHealthCircuitState.
func (DependencyHealthCircuitState) Valid ¶
func (e DependencyHealthCircuitState) Valid() bool
Valid indicates whether the value is a known member of the DependencyHealthCircuitState enum.
type DeprecatedField ¶
type DeprecatedField struct {
// Field The field in the request body.
Field string `json:"field"`
Method string `json:"method"`
OperationId string `json:"operation_id"`
// Path The operation's path as the specification writes it.
Path string `json:"path"`
// RemovedIn The major version of the contract it goes away with.
RemovedIn string `json:"removed_in"`
// ReplacedBy What takes its place: the `operationId` of an operation, or the name of a header.
ReplacedBy []string `json:"replaced_by"`
// Since When it was marked deprecated.
Since openapi_types.Date `json:"since"`
// Sunset The day it stops being accepted, once one is set. Null until then.
Sunset *openapi_types.Date `json:"sunset,omitempty"`
}
DeprecatedField One deprecated request field, and when it goes. Identifiers only: what replaces it is named, and the field's description in the specification says the rest.
type DescribeRuleJSONRequestBody ¶
type DescribeRuleJSONRequestBody = RuleDescription
DescribeRuleJSONRequestBody defines body for DescribeRule for application/json ContentType.
type DescribeRuleParams ¶
type DescribeRuleParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
DescribeRuleParams defines parameters for DescribeRule.
type DisableRuleParams ¶
type DisableRuleParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
DisableRuleParams defines parameters for DisableRule.
type DisableTotpJSONRequestBody ¶
type DisableTotpJSONRequestBody = MfaDisable
DisableTotpJSONRequestBody defines body for DisableTotp for application/json ContentType.
type DisableTotpParams ¶
type DisableTotpParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
DisableTotpParams defines parameters for DisableTotp.
type DismissJumbleEntryParams ¶
type DismissJumbleEntryParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
DismissJumbleEntryParams defines parameters for DismissJumbleEntry.
type DownloadMediaContentParams ¶
type DownloadMediaContentParams struct {
// Token The capability: a signed, expiring token minted by requestMediaUpload or getMedia. The URL is the credential, exactly as a presigned object-storage URL is - which is why these two operations carry no bearer requirement.
Token string `form:"token" json:"token"`
}
DownloadMediaContentParams defines parameters for DownloadMediaContent.
type DroppedReference ¶
type DroppedReference struct {
// Code A stable message code saying why.
Code string `json:"code"`
// Id The reference that could not be carried over: an identifier for a label, a column or an account, and the key itself for a custom field, which has no identifier in a collection that does not define it. For `NOTES` and `DUE_DATE`, which a template's node carries as values rather than references, the identifier of the entry created without them - never the value itself.
Id string `json:"id"`
// ItemId The entry that lost it. A move carries a whole subtree, so one operation can drop references from several entries at once.
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
Kind DroppedReferenceKind `json:"kind"`
}
DroppedReference defines model for DroppedReference.
type DroppedReferenceKind ¶
type DroppedReferenceKind string
DroppedReferenceKind defines model for DroppedReference.Kind.
const ( DroppedReferenceKindASSIGNEE DroppedReferenceKind = "ASSIGNEE" DroppedReferenceKindATTACHMENT DroppedReferenceKind = "ATTACHMENT" DroppedReferenceKindBUCKET DroppedReferenceKind = "BUCKET" DroppedReferenceKindCUSTOMFIELD DroppedReferenceKind = "CUSTOM_FIELD" DroppedReferenceKindDUEDATE DroppedReferenceKind = "DUE_DATE" DroppedReferenceKindLABEL DroppedReferenceKind = "LABEL" DroppedReferenceKindMEMBER DroppedReferenceKind = "MEMBER" DroppedReferenceKindNOTES DroppedReferenceKind = "NOTES" )
Defines values for DroppedReferenceKind.
func (DroppedReferenceKind) Valid ¶
func (e DroppedReferenceKind) Valid() bool
Valid indicates whether the value is a known member of the DroppedReferenceKind enum.
type DueDateInput ¶
type DueDateInput struct {
DueAt time.Time `json:"due_at"`
DueDateOnly *bool `json:"due_date_only,omitempty"`
// DueTimeZone An IANA time zone, such as Europe/Berlin. Anything else is refused.
DueTimeZone *string `json:"due_time_zone,omitempty"`
}
DueDateInput What the due date shall be. The instant is required; the flag and the zone qualify it and cannot be stored without it. An all-day due date carries due_date_only true and is read as a date in due_time_zone - the stored instant answers identically to every reader, and nothing the server emits renders it as a moment.
type DuplicateResult ¶
type DuplicateResult struct {
// Copied How many entries the copy consists of, the copied entry itself included.
Copied int `json:"copied"`
// DroppedReferences Labels, buckets, members or custom fields the destination collection could not resolve and that the copy therefore does not carry (invariant I-W6: unresolvable references are reported back, never silently dropped). Always present; empty when nothing was lost.
DroppedReferences []DroppedReference `json:"dropped_references"`
Item WorkItem `json:"item"`
}
DuplicateResult What a duplicate produced: the copy, what it could not carry over, and how big it was.
type DuplicateWorkItemJSONBody ¶
type DuplicateWorkItemJSONBody struct {
// IncludeSubtree Whether everything below the entry is copied with it. Omitted copies the entry alone, and its children stay where they are.
IncludeSubtree *bool `json:"include_subtree,omitempty"`
// TargetCollectionId The destination collection. May be omitted when target_parent_id is given: an entry's collection is the one its parent is in.
TargetCollectionId *openapi_types.UUID `json:"target_collection_id,omitempty"`
// TargetParentId The entry the copy sits under. Null puts it at the top level of a collection, which then has to be named by target_collection_id; omitted puts the copy beside the original.
TargetParentId *openapi_types.UUID `json:"target_parent_id,omitempty"`
// Title The title of the copy. Omitted keeps the original's.
Title *string `json:"title,omitempty"`
}
DuplicateWorkItemJSONBody defines parameters for DuplicateWorkItem.
type DuplicateWorkItemJSONRequestBody ¶
type DuplicateWorkItemJSONRequestBody DuplicateWorkItemJSONBody
DuplicateWorkItemJSONRequestBody defines body for DuplicateWorkItem for application/json ContentType.
type DuplicateWorkItemParams ¶
type DuplicateWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
DuplicateWorkItemParams defines parameters for DuplicateWorkItem.
type DuplicatesByTitleQuery ¶
type DuplicatesByTitleQuery struct {
// Title The words of the title being typed. Checked like a title is when an entry is created.
Title string `json:"title"`
}
DuplicatesByTitleQuery defines model for DuplicatesByTitleQuery.
type EditCommentApplicationMergePatchPlusJSONBody ¶
type EditCommentApplicationMergePatchPlusJSONBody struct {
Body string `json:"body"`
}
EditCommentApplicationMergePatchPlusJSONBody defines parameters for EditComment.
type EditCommentApplicationMergePatchPlusJSONRequestBody ¶
type EditCommentApplicationMergePatchPlusJSONRequestBody EditCommentApplicationMergePatchPlusJSONBody
EditCommentApplicationMergePatchPlusJSONRequestBody defines body for EditComment for application/merge-patch+json ContentType.
type EditCommentParams ¶
type EditCommentParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
EditCommentParams defines parameters for EditComment.
type EffectiveStructure ¶
type EffectiveStructure struct {
// CountsClipped Present where the layers say `PROGRESS` and the levels in force are one: `counts` is then `OPEN`, a list never showing a percentage. `from` is what the layers say; `sources.counts` still names where it was set.
CountsClipped *StructureCountsClip `json:"counts_clipped,omitempty"`
// Locks The locks in force, keyed by a setting (`views`) or by one capability of one type (`fields.TASK.DUE_DATE`). Empty where nothing is locked.
Locks map[string]StructureLock `json:"locks"`
Preset *EffectiveStructurePreset `json:"preset"`
// PresetId The saved preset the nearest layer's values were copied from, where it was one; `preset` is then null. Provenance only: the preset may have been changed or withdrawn since.
PresetId *openapi_types.UUID `json:"preset_id,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings StructureSettings `json:"settings"`
// Sources For each of the eight settings, the level its value comes from.
Sources map[string]PolicySource `json:"sources"`
}
EffectiveStructure The structure in force: every setting's value, where it came from (Hubtask's default, the installation, the workspace, the hub, this collection), and which settings are locked, by whom. A locked setting is answered with its value, not withheld; writing it is refused with `structure.setting_locked`. `preset` is where the nearest layer's values were copied from - provenance only.
type EffectiveStructurePreset ¶
type EffectiveStructurePreset string
EffectiveStructurePreset defines model for EffectiveStructure.Preset.
const ( EffectiveStructurePresetFLOW EffectiveStructurePreset = "FLOW" EffectiveStructurePresetLIST EffectiveStructurePreset = "LIST" EffectiveStructurePresetLessThannil EffectiveStructurePreset = "<nil>" EffectiveStructurePresetPROJECT EffectiveStructurePreset = "PROJECT" EffectiveStructurePresetTASKS EffectiveStructurePreset = "TASKS" )
Defines values for EffectiveStructurePreset.
func (EffectiveStructurePreset) Valid ¶
func (e EffectiveStructurePreset) Valid() bool
Valid indicates whether the value is a known member of the EffectiveStructurePreset enum.
type ElevateSessionParams ¶
type ElevateSessionParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
ElevateSessionParams defines parameters for ElevateSession.
type EmptyTrashParams ¶
type EmptyTrashParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
EmptyTrashParams defines parameters for EmptyTrash.
type EnableRuleParams ¶
type EnableRuleParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
EnableRuleParams defines parameters for EnableRule.
type EncryptionKeyUsage ¶
type EncryptionKeyUsage struct {
// Active Whether new values are sealed under it.
Active bool `json:"active"`
// InRing Whether the installation still holds the key. False with a count above zero is a value nothing can open until the key returns.
InRing bool `json:"in_ring"`
KeyId string `json:"key_id"`
// SealedValues How many stored values name this key, across every workspace and the installation's own sign-in providers and offered AI models, each counted once. Zero on a key that is not the active one is what says it may be removed from the ring.
SealedValues int64 `json:"sealed_values"`
// Stores The same count by the kind of value that holds it, so a key the ring no longer holds says what would stay unreadable. Kinds with no value under this key are absent; no entry names a workspace.
Stores []EncryptionStoreCount `json:"stores"`
}
EncryptionKeyUsage defines model for EncryptionKeyUsage.
type EncryptionStatus ¶
type EncryptionStatus struct {
// ActiveKeyId The key new values are sealed under - the first identifier in `HUBTASK_ENCRYPTION_KEYS`. Empty where the installation encrypts nothing.
ActiveKeyId string `json:"active_key_id"`
// Keys Every key the ring holds, the active one first and then its predecessors - followed by any key a stored value still names although the ring no longer holds it, which is the state an operator has to repair by putting the key back.
Keys []EncryptionKeyUsage `json:"keys"`
}
EncryptionStatus defines model for EncryptionStatus.
type EncryptionStoreCount ¶
type EncryptionStoreCount struct {
SealedValues int64 `json:"sealed_values"`
// Store The kind of value: second factors, sign-in provider secrets, webhook signing secrets, backup target credentials, AI provider keys, rule header secrets, header secrets of HTTP calls still waiting to be made or retried, and backup archives still kept, which a re-seal cannot move and which leave the count only as they expire. Further kinds may be added; a client names an unknown one generically.
Store EncryptionStoreCountStore `json:"store"`
}
EncryptionStoreCount defines model for EncryptionStoreCount.
type EncryptionStoreCountStore ¶
type EncryptionStoreCountStore string
EncryptionStoreCountStore The kind of value: second factors, sign-in provider secrets, webhook signing secrets, backup target credentials, AI provider keys, rule header secrets, header secrets of HTTP calls still waiting to be made or retried, and backup archives still kept, which a re-seal cannot move and which leave the count only as they expire. Further kinds may be added; a client names an unknown one generically.
const ( EncryptionStoreCountStoreAccountMfa EncryptionStoreCountStore = "account_mfa" EncryptionStoreCountStoreAiProvider EncryptionStoreCountStore = "ai_provider" EncryptionStoreCountStoreAutomationHttpJob EncryptionStoreCountStore = "automation_http_job" EncryptionStoreCountStoreAutomationRule EncryptionStoreCountStore = "automation_rule" EncryptionStoreCountStoreBackupArchive EncryptionStoreCountStore = "backup_archive" EncryptionStoreCountStoreBackupTarget EncryptionStoreCountStore = "backup_target" EncryptionStoreCountStoreIdentityProvider EncryptionStoreCountStore = "identity_provider" EncryptionStoreCountStoreWebhookSubscription EncryptionStoreCountStore = "webhook_subscription" )
Defines values for EncryptionStoreCountStore.
func (EncryptionStoreCountStore) Valid ¶
func (e EncryptionStoreCountStore) Valid() bool
Valid indicates whether the value is a known member of the EncryptionStoreCountStore enum.
type EnrollTotpJSONRequestBody ¶
type EnrollTotpJSONRequestBody = TotpEnrollmentStart
EnrollTotpJSONRequestBody defines body for EnrollTotp for application/json ContentType.
type EntriesText ¶
type EntriesText struct {
// Text What was pasted, in the caller's own words. It travels to the provider as content, never as instruction.
Text string `json:"text"`
}
EntriesText The text to turn into entries.
type EntryHidden ¶
type EntryHidden struct {
// Below How many live entries under this one the collection hides by their level, or by the level of an entry between them and this one - the work packages and activities under a task in a collection that offers only tasks. Zero for an entry that is itself hidden by its level, whose whole subtree is hidden with it, and where nothing below is hidden.
Below int `json:"below"`
// Capabilities The capabilities of the entry's type the installation carries and the collection does not offer, whether or not this entry holds a value for them. Writing one is refused with the detail `items.capability_hidden`.
Capabilities []string `json:"capabilities"`
// Level True when the collection does not offer the entry's level, or the level of an entry above it - an activity under a work package is hidden in a collection that offers tasks and activities but no work packages. Every write to the entry is refused with the detail `items.level_hidden`; trashing, restoring and archiving are not.
Level bool `json:"level"`
}
EntryHidden What the entry's collection does not show of it. A collection's structure (its levels and fields) may offer less than the entry holds; nothing is deleted when it does. The entry and every value stay stored, are answered here as they are, and writing them is refused with `capability_not_supported` until the collection offers them again.
Present on every read of an entry and in the answer of every write to one. Absent from the records of the synchronisation (`:pull`, `:snapshot`, the change stream and the answer of `:push`): a client holding the container's `structure` derives it, since a change of the structure would otherwise rewrite every entry under it.
type ErasureCaseRecord ¶
type ErasureCaseRecord struct {
CompletedAt time.Time `json:"completed_at"`
DueAt time.Time `json:"due_at"`
// ErasureMode `ANONYMIZE` keeps the authorship as a former user and the workspace's content with it;
// `FULL_DELETE` takes the person's own contributions too. The choice rests with the
// controller, because tenant data touches third parties' rights.
//
// A case that names neither is started as `ANONYMIZE` — the workspace default. It is the
// answer that preserves the rights of
// the people who are not asking: a task somebody else depends on, a comment in a thread that
// stops making sense without it. A controller who owes maximal erasure names `FULL_DELETE`
// on the case, and does so knowingly.
ErasureMode ErasureMode `json:"erasure_mode"`
// ExtensionReason Why the deadline is extended: the request's complexity, or the number of requests the controller is handling.
ExtensionReason *DataSubjectRequestExtensionReason `json:"extension_reason,omitempty"`
HandledBy *openapi_types.UUID `json:"handled_by,omitempty"`
Id openapi_types.UUID `json:"id"`
InformedOn *openapi_types.Date `json:"informed_on,omitempty"`
Notes *string `json:"notes,omitempty"`
OriginalDueAt *time.Time `json:"original_due_at,omitempty"`
ReceivedAt time.Time `json:"received_at"`
SubjectAccountId *openapi_types.UUID `json:"subject_account_id,omitempty"`
SubjectEmail *string `json:"subject_email,omitempty"`
}
ErasureCaseRecord One erasure case as it stood at the end of the archive. `subject_account_id` is the account the erasure was about - for a full deletion, the account it removed.
type ErasureKept ¶
type ErasureKept struct {
// Account The person's account itself is kept, restricted rather than erased.
Account bool `json:"account"`
// Assignments Entries that stay assigned to the person.
Assignments int `json:"assignments"`
// Blocked Why the rest could not be erased after the hold was lifted. Absent unless something stands in the way; the next pass tries again.
Blocked *struct {
Code string `json:"code"`
Params *map[string]string `json:"params,omitempty"`
} `json:"blocked,omitempty"`
// Comments The person's comments kept - ones a full deletion would remove, or that stay attributed to them by name.
Comments int `json:"comments"`
// Entries Entries the person created that stay attributed to them by name.
Entries int `json:"entries"`
// ErasedAt When the rest went, once this hold no longer kept it. Absent while it does.
ErasedAt *time.Time `json:"erased_at,omitempty"`
HoldId openapi_types.UUID `json:"hold_id"`
HoldScope struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Kind ErasureKeptHoldScopeKind `json:"kind"`
} `json:"hold_scope"`
// Intake Messages the person sent in by mail, kept with their address.
Intake int `json:"intake"`
}
ErasureKept What one legal hold keeps, or kept, of one erasure. Counts, never content.
type ErasureKeptHoldScopeKind ¶
type ErasureKeptHoldScopeKind string
ErasureKeptHoldScopeKind defines model for ErasureKept.HoldScope.Kind.
const ( ErasureKeptHoldScopeKindACCOUNT ErasureKeptHoldScopeKind = "ACCOUNT" ErasureKeptHoldScopeKindCONTAINER ErasureKeptHoldScopeKind = "CONTAINER" ErasureKeptHoldScopeKindITEM ErasureKeptHoldScopeKind = "ITEM" ErasureKeptHoldScopeKindTENANT ErasureKeptHoldScopeKind = "TENANT" )
Defines values for ErasureKeptHoldScopeKind.
func (ErasureKeptHoldScopeKind) Valid ¶
func (e ErasureKeptHoldScopeKind) Valid() bool
Valid indicates whether the value is a known member of the ErasureKeptHoldScopeKind enum.
type ErasureMode ¶
type ErasureMode string
ErasureMode `ANONYMIZE` keeps the authorship as a former user and the workspace's content with it; `FULL_DELETE` takes the person's own contributions too. The choice rests with the controller, because tenant data touches third parties' rights.
A case that names neither is started as `ANONYMIZE` — the workspace default. It is the answer that preserves the rights of the people who are not asking: a task somebody else depends on, a comment in a thread that stops making sense without it. A controller who owes maximal erasure names `FULL_DELETE` on the case, and does so knowingly.
const ( ErasureModeANONYMIZE ErasureMode = "ANONYMIZE" ErasureModeFULLDELETE ErasureMode = "FULL_DELETE" )
Defines values for ErasureMode.
func (ErasureMode) Valid ¶
func (e ErasureMode) Valid() bool
Valid indicates whether the value is a known member of the ErasureMode enum.
type ErasurePreview ¶
type ErasurePreview struct {
// Kept What each hold in force would keep; empty when no hold reaches this person.
Kept []ErasureKept `json:"kept"`
// Mode `ANONYMIZE` keeps the authorship as a former user and the workspace's content with it;
// `FULL_DELETE` takes the person's own contributions too. The choice rests with the
// controller, because tenant data touches third parties' rights.
//
// A case that names neither is started as `ANONYMIZE` — the workspace default. It is the
// answer that preserves the rights of
// the people who are not asking: a task somebody else depends on, a comment in a thread that
// stops making sense without it. A controller who owes maximal erasure names `FULL_DELETE`
// on the case, and does so knowingly.
Mode ErasureMode `json:"mode"`
}
ErasurePreview defines model for ErasurePreview.
type ErasureReapplyRequest ¶
type ErasureReapplyRequest struct {
Erasures []ErasureCaseRecord `json:"erasures"`
// RecoveryPoint The moment the installation was recovered to; recorded with each erasure.
RecoveryPoint time.Time `json:"recovery_point"`
}
ErasureReapplyRequest The erasure cases this workspace completed after the recovery point, as the cluster recovered to the end of the WAL archive holds them.
type ErasureReapplyResult ¶
type ErasureReapplyResult struct {
Erasures []struct {
// Code The message code behind ERASURE_BLOCKED or CASE_MISMATCH.
Code *string `json:"code,omitempty"`
Id openapi_types.UUID `json:"id"`
// Kept Whether a legal hold kept part of what the erasure would have removed.
Kept bool `json:"kept"`
// Outcome REAPPLIED when this run carried the erasure out and completed the case; ALREADY_COMPLETED when the case was already completed; SUBJECT_ABSENT when the recovered workspace has no such account - the case is completed with nothing to erase; ERASURE_BLOCKED when the erasure was refused, `code` saying why; CASE_REJECTED when the recovered workspace holds the case as rejected; CASE_MISMATCH when the case does not match what the recovered workspace holds or could have lost.
Outcome ErasureReapplyResultErasuresOutcome `json:"outcome"`
} `json:"erasures"`
}
ErasureReapplyResult defines model for ErasureReapplyResult.
type ErasureReapplyResultErasuresOutcome ¶
type ErasureReapplyResultErasuresOutcome string
ErasureReapplyResultErasuresOutcome REAPPLIED when this run carried the erasure out and completed the case; ALREADY_COMPLETED when the case was already completed; SUBJECT_ABSENT when the recovered workspace has no such account - the case is completed with nothing to erase; ERASURE_BLOCKED when the erasure was refused, `code` saying why; CASE_REJECTED when the recovered workspace holds the case as rejected; CASE_MISMATCH when the case does not match what the recovered workspace holds or could have lost.
const ( ALREADYCOMPLETED ErasureReapplyResultErasuresOutcome = "ALREADY_COMPLETED" CASEMISMATCH ErasureReapplyResultErasuresOutcome = "CASE_MISMATCH" CASEREJECTED ErasureReapplyResultErasuresOutcome = "CASE_REJECTED" ERASUREBLOCKED ErasureReapplyResultErasuresOutcome = "ERASURE_BLOCKED" REAPPLIED ErasureReapplyResultErasuresOutcome = "REAPPLIED" SUBJECTABSENT ErasureReapplyResultErasuresOutcome = "SUBJECT_ABSENT" )
Defines values for ErasureReapplyResultErasuresOutcome.
func (ErasureReapplyResultErasuresOutcome) Valid ¶
func (e ErasureReapplyResultErasuresOutcome) Valid() bool
Valid indicates whether the value is a known member of the ErasureReapplyResultErasuresOutcome enum.
type ExchangeOauthCodeFormdataRequestBody ¶
type ExchangeOauthCodeFormdataRequestBody = OauthTokenForm
ExchangeOauthCodeFormdataRequestBody defines body for ExchangeOauthCode for application/x-www-form-urlencoded ContentType.
type ExchangeOauthCodeJSONRequestBody ¶
type ExchangeOauthCodeJSONRequestBody = OauthTokenRequest
ExchangeOauthCodeJSONRequestBody defines body for ExchangeOauthCode for application/json ContentType.
type ExportAuditTrailJSONRequestBody ¶
type ExportAuditTrailJSONRequestBody = AuditExport
ExportAuditTrailJSONRequestBody defines body for ExportAuditTrail for application/json ContentType.
type ExportItemsJSONRequestBody ¶
type ExportItemsJSONRequestBody = ItemExport
ExportItemsJSONRequestBody defines body for ExportItems for application/json ContentType.
type ExportItemsParams ¶
type ExportItemsParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ExportItemsParams defines parameters for ExportItems.
type ExportTenantJSONRequestBody ¶
type ExportTenantJSONRequestBody = TenantExportRequest
ExportTenantJSONRequestBody defines body for ExportTenant for application/json ContentType.
type ExportViewJSONRequestBody ¶
type ExportViewJSONRequestBody = ViewExport
ExportViewJSONRequestBody defines body for ExportView for application/json ContentType.
type ExportViewParams ¶
type ExportViewParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ExportViewParams defines parameters for ExportView.
type ExtendDataSubjectRequestJSONRequestBody ¶
type ExtendDataSubjectRequestJSONRequestBody = DataSubjectRequestExtension
ExtendDataSubjectRequestJSONRequestBody defines body for ExtendDataSubjectRequest for application/json ContentType.
type ExtendDataSubjectRequestParams ¶
type ExtendDataSubjectRequestParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ExtendDataSubjectRequestParams defines parameters for ExtendDataSubjectRequest.
type FilterNode ¶
type FilterNode struct {
// Field On a leaf, the field to compare. One of the names `GET /meta/capabilities` lists under `query_fields`; anything else is `query.field_unknown`. Absent on a combination.
Field *string `json:"field,omitempty"`
// Nodes On a combination, the nodes it joins. `NOT` takes exactly one.
Nodes *[]FilterNode `json:"nodes,omitempty"`
Op FilterNodeOp `json:"op"`
// Value On a leaf, what to compare against - a scalar for most operators, an array for `IN`, `NOT_IN`, `CONTAINS_ANY`, `CONTAINS_ALL` and `BETWEEN` (two elements, the bounds), and absent for `IS_NULL`. A string beginning with `@` is a placeholder resolved on the server in the caller's time zone: `@me`, `@now`, `@today`, `@end_of_day`, `@start_of_week`, `@end_of_week`, `@start_of_month`, `@end_of_month`, each but `@me` optionally with a signed ISO 8601 offset (`@today+P3D`, `@start_of_week-P1W`). An end is the last instant of its period, so `LTE @end_of_month` means what it says. The week starts where the caller's account says, or where their locale does (`supported_locales[].week_start`) - Monday, Sunday or Saturday - so two colleagues reading one saved view may see two weeks, and each sees their own.
Value interface{} `json:"value,omitempty"`
}
FilterNode Either a leaf (`field`, `op`, `value`) or a combination (`op` of `AND`, `OR`, `NOT` with `nodes`). A node is one or the other: a combination carrying a `field`, or a leaf carrying `nodes`, is refused rather than half-read.
Combinations nest at most five deep and a filter holds at most fifty nodes in total - the bound that keeps a query's cost a function of the data rather than of the request.
type FilterNodeOp ¶
type FilterNodeOp string
FilterNodeOp defines model for FilterNode.Op.
const ( AND FilterNodeOp = "AND" BETWEEN FilterNodeOp = "BETWEEN" CONTAINS FilterNodeOp = "CONTAINS" CONTAINSALL FilterNodeOp = "CONTAINS_ALL" CONTAINSANY FilterNodeOp = "CONTAINS_ANY" EQ FilterNodeOp = "EQ" GT FilterNodeOp = "GT" GTE FilterNodeOp = "GTE" IN FilterNodeOp = "IN" ISNULL FilterNodeOp = "IS_NULL" LT FilterNodeOp = "LT" LTE FilterNodeOp = "LTE" MATCHES FilterNodeOp = "MATCHES" NEQ FilterNodeOp = "NEQ" NOT FilterNodeOp = "NOT" NOTIN FilterNodeOp = "NOT_IN" OR FilterNodeOp = "OR" STARTSWITH FilterNodeOp = "STARTS_WITH" )
Defines values for FilterNodeOp.
func (FilterNodeOp) Valid ¶
func (e FilterNodeOp) Valid() bool
Valid indicates whether the value is a known member of the FilterNodeOp enum.
type FindDuplicatesByTitleJSONRequestBody ¶
type FindDuplicatesByTitleJSONRequestBody = DuplicatesByTitleQuery
FindDuplicatesByTitleJSONRequestBody defines body for FindDuplicatesByTitle for application/json ContentType.
type ForgetPasswordJSONRequestBody ¶
type ForgetPasswordJSONRequestBody = PasswordForgot
ForgetPasswordJSONRequestBody defines body for ForgetPassword for application/json ContentType.
type GetWorkItemParams ¶
type GetWorkItemParams struct {
// Expand Relations to include, e.g. children:1, labels, assignee, cover. A relation this installation does not serve is refused by name rather than ignored: an entry that came back without its labels because they were not implemented is indistinguishable from one that carries none.
Expand *Expand `form:"expand,omitempty" json:"expand,omitempty"`
}
GetWorkItemParams defines parameters for GetWorkItem.
type GiveConsentJSONRequestBody ¶
type GiveConsentJSONRequestBody = ConsentGrant
GiveConsentJSONRequestBody defines body for GiveConsent for application/json ContentType.
type GrantMembershipJSONRequestBody ¶
type GrantMembershipJSONRequestBody = MembershipGrant
GrantMembershipJSONRequestBody defines body for GrantMembership for application/json ContentType.
type GrantMembershipParams ¶
type GrantMembershipParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
GrantMembershipParams defines parameters for GrantMembership.
type Group ¶
type Group struct {
Description *string `json:"description,omitempty"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
Version int `json:"version"`
}
Group defines model for Group.
type GroupCreate ¶
type GroupCreate struct {
Description *string `json:"description,omitempty"`
// Members Accounts to put in the group straight away.
Members *[]openapi_types.UUID `json:"members,omitempty"`
Name string `json:"name"`
}
GroupCreate defines model for GroupCreate.
type GroupDetail ¶
type GroupDetail struct {
Description *string `json:"description,omitempty"`
Id openapi_types.UUID `json:"id"`
Members []openapi_types.UUID `json:"members"`
// MembersChangeable Whether the reader may change who is in the group and delete it. A group passes on every role it holds, so this needs the right to manage members on the workspace and, for each role the group holds, a role of the reader's own at least as strong where it applies. False where a change would be refused; renaming is not affected.
MembersChangeable bool `json:"members_changeable"`
Name string `json:"name"`
Version int `json:"version"`
}
GroupDetail A group as `GET /groups/{groupId}` answers it: the group, and the accounts in it. The members are identifiers rather than names, for the reason every record that says who is — the name is one request away and a copy of it should not outlive the row.
type GroupUpdate ¶
type GroupUpdate struct {
Description *string `json:"description,omitempty"`
// Members The complete membership after the change; omitted leaves it as it is.
Members *[]openapi_types.UUID `json:"members,omitempty"`
Name *string `json:"name,omitempty"`
}
GroupUpdate defines model for GroupUpdate.
type HealthReport ¶
type HealthReport struct {
Backlogs *struct {
DeadLetterTotal *int `json:"dead_letter_total,omitempty"`
JobQueueDepth *int `json:"job_queue_depth,omitempty"`
OutboxLagSeconds *float32 `json:"outbox_lag_seconds,omitempty"`
OutboxPending *int `json:"outbox_pending,omitempty"`
WebhookRetryBacklog *int `json:"webhook_retry_backlog,omitempty"`
} `json:"backlogs,omitempty"`
DegradedFeatures *[]DegradedFeature `json:"degraded_features,omitempty"`
Dependencies *[]DependencyHealth `json:"dependencies,omitempty"`
Migration *struct {
Applied *int `json:"applied,omitempty"`
Expected *int `json:"expected,omitempty"`
Status *HealthReportMigrationStatus `json:"status,omitempty"`
} `json:"migration,omitempty"`
Role *[]HealthReportRole `json:"role,omitempty"`
Status HealthStatus `json:"status"`
Version string `json:"version"`
Warnings *[]HealthWarning `json:"warnings,omitempty"`
}
HealthReport Machine-readable self-diagnosis. `warnings` names what the installation is missing, without an error having occurred (a missing backup, missing SMTP with reminders enabled, expiring keys).
Only `status`, `version` and `degraded_features` are answered to every reader. `dependencies`, `migration`, `backlogs` and `warnings` are the installation's internals and are present only in the operator's answer - absent rather than empty, because an empty `dependencies` would read as "nothing is monitored" and that is a different statement. `version` is required because the public capability manifest already carries it.
type HealthReportMigrationStatus ¶
type HealthReportMigrationStatus string
HealthReportMigrationStatus defines model for HealthReport.Migration.Status.
const ( HealthReportMigrationStatusAhead HealthReportMigrationStatus = "ahead" HealthReportMigrationStatusBehind HealthReportMigrationStatus = "behind" HealthReportMigrationStatusOk HealthReportMigrationStatus = "ok" )
Defines values for HealthReportMigrationStatus.
func (HealthReportMigrationStatus) Valid ¶
func (e HealthReportMigrationStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthReportMigrationStatus enum.
type HealthReportRole ¶
type HealthReportRole string
HealthReportRole defines model for HealthReport.Role.
const ( HealthReportRoleApi HealthReportRole = "api" HealthReportRoleAutomation HealthReportRole = "automation" HealthReportRoleScheduler HealthReportRole = "scheduler" HealthReportRoleWorker HealthReportRole = "worker" )
Defines values for HealthReportRole.
func (HealthReportRole) Valid ¶
func (e HealthReportRole) Valid() bool
Valid indicates whether the value is a known member of the HealthReportRole enum.
type HealthStatus ¶
type HealthStatus string
HealthStatus defines model for HealthStatus.
const ( HealthStatusDegraded HealthStatus = "degraded" HealthStatusDisabled HealthStatus = "disabled" HealthStatusDown HealthStatus = "down" HealthStatusOk HealthStatus = "ok" )
Defines values for HealthStatus.
func (HealthStatus) Valid ¶
func (e HealthStatus) Valid() bool
Valid indicates whether the value is a known member of the HealthStatus enum.
type HealthWarning ¶
type HealthWarning struct {
// Code A message code, translatable on the client side.
Code string `json:"code"`
Params *map[string]interface{} `json:"params,omitempty"`
Severity HealthWarningSeverity `json:"severity"`
}
HealthWarning defines model for HealthWarning.
type HealthWarningSeverity ¶
type HealthWarningSeverity string
HealthWarningSeverity defines model for HealthWarning.Severity.
const ( Critical HealthWarningSeverity = "critical" Info HealthWarningSeverity = "info" Warn HealthWarningSeverity = "warn" )
Defines values for HealthWarningSeverity.
func (HealthWarningSeverity) Valid ¶
func (e HealthWarningSeverity) Valid() bool
Valid indicates whether the value is a known member of the HealthWarningSeverity enum.
type HttpRequestCall ¶
type HttpRequestCall struct {
// BodyTemplate A CEL expression producing the body, rendered against the run's event when the call is made. A static body is a string literal.
BodyTemplate *string `json:"body_template,omitempty"`
// EventId The event the body template reads. A rule leaves this out and the run supplies the event it is about.
EventId *openapi_types.UUID `json:"event_id,omitempty"`
// Headers Plain headers - a content type, an API version. Never a credential.
Headers *map[string]string `json:"headers,omitempty"`
Method HttpRequestCallMethod `json:"method"`
// SecretHeaderName The header the secret travels in, e.g. `Authorization`.
SecretHeaderName *string `json:"secret_header_name,omitempty"`
// SecretHeaderValue The secret itself. Answered as `***` ever after.
SecretHeaderValue *string `json:"secret_header_value,omitempty"`
// SignatureHeader When set, this header carries an HMAC-SHA256 over the body computed with the secret - the same `t=<ts>,v1=<hex>` shape a webhook signature has.
SignatureHeader *string `json:"signature_header,omitempty"`
// Url The address, http or https. Whether this installation is willing to dial it is the guard's decision at the call.
Url string `json:"url"`
}
HttpRequestCall One outbound HTTP call, as a rule's `HTTP_REQUEST` action carries it. The secret header is the one place a credential belongs - never the URL, never the plain headers - and it is sealed at rest and masked as `***` everywhere after creation; sending `***` back on a rule edit keeps the stored secret.
type HttpRequestCallMethod ¶
type HttpRequestCallMethod string
HttpRequestCallMethod defines model for HttpRequestCall.Method.
const ( HttpRequestCallMethodDELETE HttpRequestCallMethod = "DELETE" HttpRequestCallMethodGET HttpRequestCallMethod = "GET" HttpRequestCallMethodPATCH HttpRequestCallMethod = "PATCH" HttpRequestCallMethodPOST HttpRequestCallMethod = "POST" HttpRequestCallMethodPUT HttpRequestCallMethod = "PUT" )
Defines values for HttpRequestCallMethod.
func (HttpRequestCallMethod) Valid ¶
func (e HttpRequestCallMethod) Valid() bool
Valid indicates whether the value is a known member of the HttpRequestCallMethod enum.
type HttpRequestJSONRequestBody ¶
type HttpRequestJSONRequestBody = HttpRequestCall
HttpRequestJSONRequestBody defines body for HttpRequest for application/json ContentType.
type HubPrivacy ¶
type HubPrivacy struct {
// Private true to make the hub private, false to share it again.
Private bool `json:"private"`
}
HubPrivacy defines model for HubPrivacy.
type IdempotencyKey ¶
type IdempotencyKey = openapi_types.UUID
IdempotencyKey defines model for IdempotencyKey.
type IdentityProvider ¶
type IdentityProvider struct {
// AllowedDirectories The organisations this provider admits under `DOMAINS`, in the provider's own identifiers: a Microsoft tenant id, a Google Workspace domain.
// **This is what `DOMAINS` reads where the preset has a directory claim**, and `allowed_email_domains` is then not consulted at all. Both providers say why in their own documentation: an address is a name the provider reports, a directory is a fact it vouches for. Empty admits nobody, exactly as an empty domains list does.
// Under `INVITED_ONLY` a list narrows the mode: somebody from a directory not listed is not signed in on the provider's word. There an empty list narrows nothing.
AllowedDirectories []string `json:"allowed_directories"`
// AllowedEmailDomains The domains a verified address must be inside for this provider to admit it, under `DOMAINS` — **for a preset that has no directory claim**, which is `GENERIC` and only `GENERIC`. **Empty admits nobody** under that mode: the list is the mode, and a mode with no list lets no one in.
AllowedEmailDomains []string `json:"allowed_email_domains"`
// ClientId This installation's registration with the provider. Empty on a row of `scope` `installation` when a workspace reads it: the installation's registration is its operator's, and a workspace sees that provider by name, kind and admission rule only.
ClientId string `json:"client_id"`
CreatedAt time.Time `json:"created_at"`
// DisplayName The name on the button. The issuer's host where nobody set one, which discloses nothing new: pressing the button sends the person to exactly that host.
DisplayName string `json:"display_name"`
// Enabled Whether the row itself is switched on. For a workspace's own provider this is the switch; for one the installation offers it is the *installation's* - a workspace that wants it off switches `offered_here` instead.
Enabled bool `json:"enabled"`
Id openapi_types.UUID `json:"id"`
// InstallationLock For a row the installation offers: what the installation's lock on the ways to sign in does to it. `TURNS_ON` - the ways in are locked with providers among them and the row admits *Only people invited here*, so it is on in every workspace and no workspace can switch it off. `LEAVES_TO_WORKSPACE` - the ways in are locked so, but the row admits people by domain or anyone the provider knows, so it stays each workspace's own switch. `NONE` - no such lock stands, or the offer has ended. Absent from a workspace's own rows.
InstallationLock *IdentityProviderInstallationLock `json:"installation_lock,omitempty"`
// Issuer The provider's issuer identifier. Every ID token must name it exactly - a token whose `iss` differs is refused, which is the first check of the token.
Issuer string `json:"issuer"`
// Kind The preset a provider was configured from, which decides the mark its button draws `GENERIC` draws the letter tile - the honest answer rather than a borrowed logo. A stated kind the issuer does not belong to is refused: a Google mark over somebody else's issuer is borrowed trust on a sign-in screen.
Kind IdentityProviderKind `json:"kind"`
// NewcomerGroupId What somebody this provider brings in new gets instead of a role: membership of this group of the workspace, and with it whatever the group holds. Null when a role or nothing is set; set to null when the group is deleted.
NewcomerGroupId *openapi_types.UUID `json:"newcomer_group_id,omitempty"`
// NewcomerRole What somebody this provider brings in **new** gets: this role on the whole workspace. Null, with `newcomer_group_id` null too, is nothing - no access until an administrator gives it, which is the default and what a newcomer is told. Only under `DOMAINS` and `ANY`, the two modes that create accounts, and only on a workspace's own provider.
NewcomerRole *MembershipRole `json:"newcomer_role,omitempty"`
// OfferedHere Whether this provider is a way into **this** workspace. Always true for its own rows while they are enabled; for a row the installation offers, it is this workspace's own switch, and it is **false until somebody turns it on** — offering it is the installation's decision, taking it is the workspace's. False from the moment an announced withdrawal takes effect. True, whatever the workspace's own switch, where `installation_lock` is `TURNS_ON`.
OfferedHere *bool `json:"offered_here,omitempty"`
// OfferedWorkspaces For a row the installation offers, answered to the operator only: how many workspaces have it switched on. A number, never names - counted from the workspaces' own switches when it is read, and every live workspace where `installation_lock` is `TURNS_ON`. Absent from a workspace's listing.
OfferedWorkspaces *int `json:"offered_workspaces,omitempty"`
// Position The order the buttons are drawn in.
Position int `json:"position"`
// Provisioning Who this provider may admit, and what happens to whoever it admitted - the one axis with a security answer, because creating an account gives somebody an empty desk and claiming one gives them somebody else's.
// `INVITED_ONLY` admits anyone the provider vouched for and creates nothing: a verified address that meets no account here is refused. `DOMAINS` admits **only** addresses inside `allowed_email_domains`, and creates an account for one that meets none - so an empty list admits nobody, because the list is the mode. `ANY` admits every address the provider says it verified and creates what is missing, which is for a provider that *is* the workspace's directory.
// An address the provider did not vouch for is admitted by none of the three.
Provisioning IdentityProviderProvisioning `json:"provisioning"`
// Scope Which level this row belongs to. `installation` is offered to every workspace on this installation and is not any one of theirs to change - a settings screen shows it as inherited, without controls.
Scope IdentityProviderScope `json:"scope"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Version The optimistic lock, as everywhere else.
Version int `json:"version"`
// WithdrawAt For a row the installation offers: when the installation withdraws it. Null while it is offered without an end. Until that moment the provider keeps working; from it, it is a way in nowhere - and the connected identities stay, so cancelling the withdrawal restores sign-in. A workspace that switched it on reads this to say when it ends.
WithdrawAt *time.Time `json:"withdraw_at,omitempty"`
}
IdentityProvider One provider people can sign in through. The client secret is not a member: it is sealed at configuration time and read only by the token exchange.
type IdentityProviderConfiguration ¶
type IdentityProviderConfiguration struct {
// AllowedDirectories The organisations this provider admits under `DOMAINS`, in its own identifiers: Microsoft tenant ids, Google Workspace domains. Refused for a preset that has no such claim, because a list nothing consults is worse than no list. A personal account comes in only by invitation: the directory of personal Microsoft accounts (`9188040d-6c67-4c5b-b112-36a304b66dad`) is refused here under `DOMAINS` and `ANY` (`identity_provider.directory_personal`), and only narrows under `INVITED_ONLY`.
// **Required for a multi-directory issuer.** `login.microsoftonline.com/common/v2.0` with no directories named is every organisation in the world, and that is a decision rather than a default.
AllowedDirectories *[]string `json:"allowed_directories,omitempty"`
// AllowedEmailDomains Domains this provider admits under `DOMAINS`, for a preset with no directory claim. A domain here is a promise that the provider controls it - anything else hands somebody an account by asserting an address they do not own.
AllowedEmailDomains *[]string `json:"allowed_email_domains,omitempty"`
ClientId string `json:"client_id"`
// ClientSecret Sealed on the way in and never answered again. Required when adding a provider. Omitted on a replace it keeps the one that is sealed - there is no way to read it back, by design, and retyping it to change a name is how names stay wrong.
ClientSecret *string `json:"client_secret,omitempty"`
// DisplayName The name on the button. Absent is the issuer's host.
DisplayName *string `json:"display_name,omitempty"`
// Enabled **Deprecated**: a workspace switches a provider on or off in its list of ways to sign in - `POST /identity-providers/{providerId}:offer` - and nowhere else. On a workspace's own provider (`/identity-providers`, `/identity-provider`) a value that differs from the provider's is refused with `identity_provider.switch_in_list`; the same value, or none, is accepted and changes nothing, so a client that echoes the field keeps working. A workspace's new provider is created switched off. On the installation's (`/admin/identity-providers`) it says at creation whether the installation offers the provider, absent being `true`; afterwards an offer ends through `:withdraw` and a changed value is refused with `identity_provider.withdraw_instead`. Removed with the next major version of the contract.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Enabled *bool `json:"enabled,omitempty"`
Issuer string `json:"issuer"`
// Kind Absent is read from the issuer.
Kind *IdentityProviderKind `json:"kind,omitempty"`
// NewcomerGroupId What somebody this provider brings in new gets instead of a role: membership of this group of the workspace. The same refusals as `newcomer_role`, and a group that holds `OWNER` anywhere is refused like the role (`identity_provider.newcomers_owner`); a group this workspace does not have answers `groups.not_found`.
NewcomerGroupId *openapi_types.UUID `json:"newcomer_group_id,omitempty"`
// NewcomerRole What somebody this provider brings in new gets: this role on the whole workspace, granted in the same transaction that creates the account. Absent or null, with no group, is nothing - no access until an administrator gives it. One of a role or a group, never both (`identity_provider.newcomers_one`). Refused under `INVITED_ONLY`, which creates nobody (`identity_provider.newcomers_not_created`), on the installation's providers (`identity_provider.newcomers_installation`), and for `OWNER`, which is given to one person with a fresh proof of its own (`identity_provider.newcomers_owner`).
NewcomerRole *MembershipRole `json:"newcomer_role,omitempty"`
Position *int `json:"position,omitempty"`
// Provisioning Absent is the safe value rather than the permissive one: `INVITED_ONLY` for a public provider, `DOMAINS` for everything else.
Provisioning *IdentityProviderProvisioning `json:"provisioning,omitempty"`
}
IdentityProviderConfiguration The provider, set whole. Discovery is performed before anything is stored, so an issuer that cannot be reached or that disagrees with its own metadata is refused here rather than by the first person who tries to sign in.
type IdentityProviderInstallationLock ¶
type IdentityProviderInstallationLock string
IdentityProviderInstallationLock For a row the installation offers: what the installation's lock on the ways to sign in does to it. `TURNS_ON` - the ways in are locked with providers among them and the row admits *Only people invited here*, so it is on in every workspace and no workspace can switch it off. `LEAVES_TO_WORKSPACE` - the ways in are locked so, but the row admits people by domain or anyone the provider knows, so it stays each workspace's own switch. `NONE` - no such lock stands, or the offer has ended. Absent from a workspace's own rows.
const ( IdentityProviderInstallationLockLEAVESTOWORKSPACE IdentityProviderInstallationLock = "LEAVES_TO_WORKSPACE" IdentityProviderInstallationLockNONE IdentityProviderInstallationLock = "NONE" IdentityProviderInstallationLockTURNSON IdentityProviderInstallationLock = "TURNS_ON" )
Defines values for IdentityProviderInstallationLock.
func (IdentityProviderInstallationLock) Valid ¶
func (e IdentityProviderInstallationLock) Valid() bool
Valid indicates whether the value is a known member of the IdentityProviderInstallationLock enum.
type IdentityProviderKind ¶
type IdentityProviderKind string
IdentityProviderKind The preset a provider was configured from, which decides the mark its button draws `GENERIC` draws the letter tile - the honest answer rather than a borrowed logo. A stated kind the issuer does not belong to is refused: a Google mark over somebody else's issuer is borrowed trust on a sign-in screen.
const ( GENERIC IdentityProviderKind = "GENERIC" GOOGLE IdentityProviderKind = "GOOGLE" MICROSOFT IdentityProviderKind = "MICROSOFT" )
Defines values for IdentityProviderKind.
func (IdentityProviderKind) Valid ¶
func (e IdentityProviderKind) Valid() bool
Valid indicates whether the value is a known member of the IdentityProviderKind enum.
type IdentityProviderPreset ¶
type IdentityProviderPreset struct {
// AddressesVerified Whether this issuer's addresses are verified by construction. False is not an accusation - it is that this installation cannot know. Informational only: what keeps an address from handing over an account is the account's own proof, so `INVITED_ONLY` is available for every preset.
AddressesVerified bool `json:"addresses_verified"`
// DirectoryClaim The claim this provider names an organisation in: `tid` at Microsoft, `hd` at Google. Absent for a provider that has none, and that is what decides whether `DOMAINS` reads `allowed_directories` or `allowed_email_domains` — so a screen asks for the one the server will actually consult.
DirectoryClaim *string `json:"directory_claim,omitempty"`
// InstallationProvisioning The modes it permits when the installation offers it to every workspace. Narrower for a preset with no directory claim: offered everywhere, it may only admit the people each workspace invited.
InstallationProvisioning []IdentityProviderProvisioning `json:"installation_provisioning"`
// Instructions A message code, rendered with `redirect_uri` as its parameter. What an operator has to do at the provider for this to work.
Instructions string `json:"instructions"`
// Issuer The one issuer this provider has for every account, which a form fills in when the provider is chosen. Absent where each organisation has an issuer of its own.
Issuer *string `json:"issuer,omitempty"`
// Kind The preset a provider was configured from, which decides the mark its button draws `GENERIC` draws the letter tile - the honest answer rather than a borrowed logo. A stated kind the issuer does not belong to is refused: a Google mark over somebody else's issuer is borrowed trust on a sign-in screen.
Kind IdentityProviderKind `json:"kind"`
// Particular A message code for the one thing about this provider that is not like the others - Google's single issuer for every account there is, Microsoft's directory-specific issuer. Absent where there is none.
Particular *string `json:"particular,omitempty"`
// PersonalDirectories The directories this provider's personal accounts live in, in `directory_claim`'s identifiers, lower case. A provider whose mode creates accounts - anything but `INVITED_ONLY` - is refused one of them in `allowed_directories` (`identity_provider.directory_personal`), compared without regard to case or surrounding spaces; under `INVITED_ONLY` the list only narrows and may name one. Empty where the provider has no personal accounts.
PersonalDirectories []string `json:"personal_directories"`
// PersonalIssuerPaths The first path segments that make an issuer of this provider one that also serves personal accounts, such as `consumers` in `https://login.microsoftonline.com/consumers/v2.0`. An issuer whose first path segment is one of them is refused `ANY` (`identity_provider.provisioning_personal`), whatever `provisioning` lists. Empty where the provider has no such issuer.
PersonalIssuerPaths []string `json:"personal_issuer_paths"`
// Provisioning The modes this preset permits for a workspace's own provider, strictest first.
Provisioning []IdentityProviderProvisioning `json:"provisioning"`
// Public Whether anybody in the world can hold an account at this issuer - personal accounts, not only an organisation's. A public provider is never `ANY`, and that is not an operator's to relax; under `DOMAINS` it admits only the organisations named, which a personal account belongs to none of, so a personal account comes in only by invitation. A preset that is public only at some of its issuers is not marked public: Microsoft's `consumers` and `common` issuers, and the personal-account directory's own, are refused `ANY` when configured (`identity_provider.provisioning_personal`), so `provisioning` may list a mode such an issuer refuses; `personal_issuer_paths` names those issuers.
Public bool `json:"public"`
// RedirectUri This installation's own callback, which every registration form asks for. Nothing about it comes from a request.
RedirectUri string `json:"redirect_uri"`
// Scopes What the authorization request asks for, and what the registration must permit.
Scopes []string `json:"scopes"`
SharedIssuerPaths []string `json:"shared_issuer_paths"`
// SupportsTemplatedIssuer Whether this provider publishes a multi-directory issuer with a `{tenantid}` placeholder. Where it does, its shared endpoints can be configured, and naming the directories is then required rather than optional.
SupportsTemplatedIssuer bool `json:"supports_templated_issuer"`
}
IdentityProviderPreset What follows from which provider a workspace picked: the scopes its registration has to permit, whether it may sign in people nobody invited, the one thing about it that is not like the others, and the instructions for registering with it.
type IdentityProviderProvisioning ¶
type IdentityProviderProvisioning string
IdentityProviderProvisioning Who this provider may admit, and what happens to whoever it admitted - the one axis with a security answer, because creating an account gives somebody an empty desk and claiming one gives them somebody else's. `INVITED_ONLY` admits anyone the provider vouched for and creates nothing: a verified address that meets no account here is refused. `DOMAINS` admits **only** addresses inside `allowed_email_domains`, and creates an account for one that meets none - so an empty list admits nobody, because the list is the mode. `ANY` admits every address the provider says it verified and creates what is missing, which is for a provider that *is* the workspace's directory. An address the provider did not vouch for is admitted by none of the three.
const ( IdentityProviderProvisioningANY IdentityProviderProvisioning = "ANY" IdentityProviderProvisioningDOMAINS IdentityProviderProvisioning = "DOMAINS" IdentityProviderProvisioningINVITEDONLY IdentityProviderProvisioning = "INVITED_ONLY" )
Defines values for IdentityProviderProvisioning.
func (IdentityProviderProvisioning) Valid ¶
func (e IdentityProviderProvisioning) Valid() bool
Valid indicates whether the value is a known member of the IdentityProviderProvisioning enum.
type IdentityProviderScope ¶
type IdentityProviderScope string
IdentityProviderScope Which level this row belongs to. `installation` is offered to every workspace on this installation and is not any one of theirs to change - a settings screen shows it as inherited, without controls.
const ( IdentityProviderScopeInstallation IdentityProviderScope = "installation" IdentityProviderScopeWorkspace IdentityProviderScope = "workspace" )
Defines values for IdentityProviderScope.
func (IdentityProviderScope) Valid ¶
func (e IdentityProviderScope) Valid() bool
Valid indicates whether the value is a known member of the IdentityProviderScope enum.
type ImportEntriesJSONRequestBody ¶
type ImportEntriesJSONRequestBody = ImportRequest
ImportEntriesJSONRequestBody defines body for ImportEntries for application/json ContentType.
type ImportEntriesParams ¶
type ImportEntriesParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ImportEntriesParams defines parameters for ImportEntries.
type ImportKind ¶
type ImportKind string
ImportKind The system the file came from. `CSV` is a header row and one entry per line; `TRELLO` is a board's JSON export; `GOOGLE_TASKS` is Takeout's `Tasks.json`; `MICROSOFT_TODO` is the Graph API's JSON for the lists and their tasks. A kind this build does not serve is refused by name.
const ( ImportKindCSV ImportKind = "CSV" ImportKindGOOGLETASKS ImportKind = "GOOGLE_TASKS" ImportKindMICROSOFTTODO ImportKind = "MICROSOFT_TODO" ImportKindTRELLO ImportKind = "TRELLO" )
Defines values for ImportKind.
func (ImportKind) Valid ¶
func (e ImportKind) Valid() bool
Valid indicates whether the value is a known member of the ImportKind enum.
type ImportRequest ¶
type ImportRequest struct {
// CollectionId A collection of that hub to land the entries in, instead of new collections under the hub. Absent: the import creates collections.
CollectionId *openapi_types.UUID `json:"collection_id,omitempty"`
// HubId The hub the imported collections land under.
HubId openapi_types.UUID `json:"hub_id"`
// Kind The system the file came from. `CSV` is a header row and one entry per line; `TRELLO` is a board's JSON export; `GOOGLE_TASKS` is Takeout's `Tasks.json`; `MICROSOFT_TODO` is the Graph API's JSON for the lists and their tasks. A kind this build does not serve is refused by name.
Kind ImportKind `json:"kind"`
// Mapping For `CSV` only: which column carries which field, by header name, where the header does not already say - `title`, `notes`, `due`, `completed`, `labels`, `bucket`, `parent`. A column not mapped and not named like a field is ignored.
Mapping *map[string]string `json:"mapping,omitempty"`
// MediaId The uploaded file, staged with `usage: IMPORT` and confirmed.
MediaId openapi_types.UUID `json:"media_id"`
}
ImportRequest defines model for ImportRequest.
type ImportRun ¶
type ImportRun struct {
// CollectionId The collection the entries landed in, or null where the import created collections.
CollectionId *openapi_types.UUID `json:"collection_id,omitempty"`
CreatedAt time.Time `json:"created_at"`
ErrorCode *string `json:"error_code,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
HubId openapi_types.UUID `json:"hub_id"`
Id openapi_types.UUID `json:"id"`
// Kind The system the file came from. `CSV` is a header row and one entry per line; `TRELLO` is a board's JSON export; `GOOGLE_TASKS` is Takeout's `Tasks.json`; `MICROSOFT_TODO` is the Graph API's JSON for the lists and their tasks. A kind this build does not serve is refused by name.
Kind ImportKind `json:"kind"`
MediaId *openapi_types.UUID `json:"media_id,omitempty"`
// Refused The rows the converter could not read, by their number in the source and the code that says why. The rest of the file lands; a file that is not the kind it claims to be fails the import instead.
Refused *[]struct {
Code string `json:"code"`
Row int `json:"row"`
} `json:"refused,omitempty"`
// Report What landed, in the restore's shape; absent until the job has run.
Report *RestoreReport `json:"report,omitempty"`
Status ImportRunStatus `json:"status"`
}
ImportRun defines model for ImportRun.
type ImportRunStatus ¶
type ImportRunStatus string
ImportRunStatus defines model for ImportRun.Status.
const ( ImportRunStatusFAILED ImportRunStatus = "FAILED" ImportRunStatusPENDING ImportRunStatus = "PENDING" ImportRunStatusRUNNING ImportRunStatus = "RUNNING" ImportRunStatusSUCCEEDED ImportRunStatus = "SUCCEEDED" )
Defines values for ImportRunStatus.
func (ImportRunStatus) Valid ¶
func (e ImportRunStatus) Valid() bool
Valid indicates whether the value is a known member of the ImportRunStatus enum.
type InboundTriggerToken ¶
type InboundTriggerToken struct {
RotatedAt time.Time `json:"rotated_at"`
RuleId openapi_types.UUID `json:"rule_id"`
// Token The credential, prefixed `hbt_hook_`. The prefix is public by design, so that secret scanning finds a leaked URL before somebody else does.
Token string `json:"token"`
}
InboundTriggerToken A freshly minted inbound address. The token exists in this answer and nowhere else afterwards: it is stored hashed, and every later read of the rule shows only when it was minted.
type IncludeArchived ¶
type IncludeArchived = bool
IncludeArchived defines model for IncludeArchived.
type InspectInvitationJSONRequestBody ¶
type InspectInvitationJSONRequestBody = InvitationInspection
InspectInvitationJSONRequestBody defines body for InspectInvitation for application/json ContentType.
type InstallationDefaults ¶
type InstallationDefaults struct {
Locale *string `json:"locale,omitempty"`
TimeZone *string `json:"time_zone,omitempty"`
WeekStart *InstallationDefaultsWeekStart `json:"week_start,omitempty"`
}
InstallationDefaults What the installation set as the default language, time zone and week start, so a workspace's screen can show it beside the workspace's own. Only what the installation decided: a key it left open is absent, and an installation that decided nothing answers an empty object. The language and time zone are what a new workspace starts with; the week start applies wherever a workspace decided none.
type InstallationDefaultsWeekStart ¶
type InstallationDefaultsWeekStart string
InstallationDefaultsWeekStart defines model for InstallationDefaults.WeekStart.
const ( InstallationDefaultsWeekStartMONDAY InstallationDefaultsWeekStart = "MONDAY" InstallationDefaultsWeekStartSATURDAY InstallationDefaultsWeekStart = "SATURDAY" InstallationDefaultsWeekStartSUNDAY InstallationDefaultsWeekStart = "SUNDAY" )
Defines values for InstallationDefaultsWeekStart.
func (InstallationDefaultsWeekStart) Valid ¶
func (e InstallationDefaultsWeekStart) Valid() bool
Valid indicates whether the value is a known member of the InstallationDefaultsWeekStart enum.
type InstallationPreset ¶
type InstallationPreset struct {
Id openapi_types.UUID `json:"id"`
// IsDefault Whether a hub created without a preset starts from it, in a workspace that chose no default of its own. One preset at most.
IsDefault bool `json:"is_default"`
// Locks What the default fixes in every workspace: a whole setting (`views`) or one capability of one level (`fields.TASK.DUE_DATE`). Empty on every other preset.
Locks []string `json:"locks"`
// Name The operator's name for it, as every workspace sees it.
Name string `json:"name"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings StructureSettings `json:"settings"`
// Version The optimistic lock, the same value as the `ETag`.
Version int `json:"version"`
}
InstallationPreset A preset the installation offers every workspace: its eight settings, held to what the installation offers; whether it is the default a hub starts from where its workspace chose none; and, on the default, the settings it locks for every workspace.
type InstallationPresetCreate ¶
type InstallationPresetCreate struct {
// IsDefault Makes it the default; the former default stops being one and loses its locks.
IsDefault *bool `json:"is_default,omitempty"`
// Locks The settings the default locks; only with `is_default`.
Locks *[]string `json:"locks,omitempty"`
Name string `json:"name"`
// Preset One of Hubtask's presets the settings start from; Hubtask's default without one.
Preset *InstallationPresetCreatePreset `json:"preset,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings *StructureSettings `json:"settings,omitempty"`
}
InstallationPresetCreate defines model for InstallationPresetCreate.
type InstallationPresetCreatePreset ¶
type InstallationPresetCreatePreset string
InstallationPresetCreatePreset One of Hubtask's presets the settings start from; Hubtask's default without one.
const ( InstallationPresetCreatePresetFLOW InstallationPresetCreatePreset = "FLOW" InstallationPresetCreatePresetLIST InstallationPresetCreatePreset = "LIST" InstallationPresetCreatePresetPROJECT InstallationPresetCreatePreset = "PROJECT" InstallationPresetCreatePresetTASKS InstallationPresetCreatePreset = "TASKS" )
Defines values for InstallationPresetCreatePreset.
func (InstallationPresetCreatePreset) Valid ¶
func (e InstallationPresetCreatePreset) Valid() bool
Valid indicates whether the value is a known member of the InstallationPresetCreatePreset enum.
type InstallationPresetUpdate ¶
type InstallationPresetUpdate struct {
// IsDefault True makes it the default, lifting the former default's locks; false makes none the default and lifts its locks.
IsDefault *bool `json:"is_default,omitempty"`
// Locks The whole set of locks; refused on a preset that is not the default.
Locks *[]string `json:"locks,omitempty"`
Name *string `json:"name,omitempty"`
// Preset One of Hubtask's presets whose settings replace this one's.
Preset *InstallationPresetUpdatePreset `json:"preset,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings *StructureSettings `json:"settings,omitempty"`
}
InstallationPresetUpdate Applied in this order - the name, Hubtask's preset copied again, the settings, the default, the locks. A field left out is left as it is.
type InstallationPresetUpdatePreset ¶
type InstallationPresetUpdatePreset string
InstallationPresetUpdatePreset One of Hubtask's presets whose settings replace this one's.
const ( InstallationPresetUpdatePresetFLOW InstallationPresetUpdatePreset = "FLOW" InstallationPresetUpdatePresetLIST InstallationPresetUpdatePreset = "LIST" InstallationPresetUpdatePresetPROJECT InstallationPresetUpdatePreset = "PROJECT" InstallationPresetUpdatePresetTASKS InstallationPresetUpdatePreset = "TASKS" )
Defines values for InstallationPresetUpdatePreset.
func (InstallationPresetUpdatePreset) Valid ¶
func (e InstallationPresetUpdatePreset) Valid() bool
Valid indicates whether the value is a known member of the InstallationPresetUpdatePreset enum.
type InstallationSetUp ¶
type InstallationSetUp struct {
// Code The setup code the server printed at start. Case and the dashes between its groups do not matter.
Code string `json:"code"`
// DefaultLocale BCP 47; the installation's default when omitted.
DefaultLocale *string `json:"default_locale,omitempty"`
// DefaultTimeZone An IANA name; the installation's default when omitted.
DefaultTimeZone *string `json:"default_time_zone,omitempty"`
// DisplayName The workspace's name.
DisplayName string `json:"display_name"`
// OwnerDisplayName The owner's name; the address stands in when it is omitted.
OwnerDisplayName *string `json:"owner_display_name,omitempty"`
// OwnerEmail The owner's address. Nothing is sent to it.
OwnerEmail string `json:"owner_email"`
// Password The owner's password, under the product's password policy.
Password string `json:"password"`
// Slug Multi mode only, and required there: the subdomain the workspace answers on, 3-40 characters of lower-case letters, digits and hyphens. Refused in single mode.
Slug *string `json:"slug,omitempty"`
}
InstallationSetUp defines model for InstallationSetUp.
type InstanceJournalEntry ¶
type InstanceJournalEntry struct {
// Action `tenant.provisioned`, `tenant.suspended`, `tenant.hard_deleted`, `instance.settings_changed`, `instance.operator_added` and the rest. A code, rendered by the client.
Action string `json:"action"`
// ActorLabel The acting operator's own label - the installation's administrator, never a workspace's person.
ActorLabel *string `json:"actor_label,omitempty"`
// Details The counts and moments of the act, as the evidence entry recorded them. Never content: a journal carrying a title or a URL would be a journal carrying somebody's data into a place nothing ever deletes from.
Details *map[string]interface{} `json:"details,omitempty"`
Id openapi_types.UUID `json:"id"`
OccurredAt time.Time `json:"occurred_at"`
TenantId *openapi_types.UUID `json:"tenant_id,omitempty"`
TenantSlug *string `json:"tenant_slug,omitempty"`
}
InstanceJournalEntry One act the installation recorded. The workspace is named by a bare identifier and its slug: the row it names is usually gone, which is the reason the journal exists.
type InstanceJournalPage ¶
type InstanceJournalPage struct {
Data []InstanceJournalEntry `json:"data"`
Page PageInfo `json:"page"`
}
InstanceJournalPage defines model for InstanceJournalPage.
type InstanceOverview ¶
type InstanceOverview struct {
// AccountsActive Live people, which is what "how big is this installation" means.
AccountsActive int `json:"accounts_active"`
// AccountsTotal Including the invited and the suspended, and excluding the deleted - an account that was deleted is gone as far as anybody operating the installation is concerned.
AccountsTotal int `json:"accounts_total"`
WorkspacesActive int `json:"workspaces_active"`
// WorkspacesPendingDeletion Workspaces inside the grace period of a deletion request.
WorkspacesPendingDeletion int `json:"workspaces_pending_deletion"`
// WorkspacesServiceOnly Workspaces that hold no person, only service accounts - one made to hold a machine's credential, for instance. They are not customers, so the three workspace counts above leave them out; the list of workspaces shows them.
WorkspacesServiceOnly int `json:"workspaces_service_only"`
WorkspacesSuspended int `json:"workspaces_suspended"`
}
InstanceOverview The installation at a glance. Counts and states; the contents of a workspace are behind a database policy this answer does not reach through.
type InstanceReach ¶
type InstanceReach struct {
// Reachable Whether this account is in the operator register — the first of the two conditions on the instance area. The second is the elevation, which is a session's state and not the manifest's.
// On a private installation the register is empty and means *the workspace's owner*, so a single-workspace installation answers true to its owner and false to everybody else.
Reachable bool `json:"reachable"`
}
InstanceReach Whether the caller may reach the level above the workspaces, and nothing about anybody else. It answers about the account asking; it is not a directory of operators and cannot be asked about one.
type InstanceSetting ¶
type InstanceSetting struct {
// Kind What kind of value the key takes, so a client draws the control for it whether or not the key is decided: `COUNT` a whole number, `FLAG` true or false, `CHOICE` one of `options`, `CHOICES` a list drawn from `options`, `LINK` an `https` address, `TEXT` one short line (the terms' version), `LOCALE` a BCP 47 tag, `TIME_ZONE` an IANA zone.
Kind *InstanceSettingKind `json:"kind,omitempty"`
// Locked Whether a workspace may change it. Locked means the value applies and the workspace's control is switched off, with the reason and with who set it.
Locked bool `json:"locked"`
// Maximum For `COUNT`, the most the product applies. Absent where there is no bound.
Maximum *int `json:"maximum,omitempty"`
// Minimum For `COUNT`, the least value the product applies. A value past either bound is held at it, at every level. Where the least is `0`, it means off or unlimited for the keys that say so.
Minimum *int `json:"minimum,omitempty"`
// Options For `CHOICE` and `CHOICES`, the closed set of values, from the loosest to the strictest. Absent for the other kinds.
Options *[]interface{} `json:"options,omitempty"`
// Position The key's place within its area, from 0: the order a screen draws the keys in, which an object's own key order does not carry.
Position *int `json:"position,omitempty"`
// Set Whether the installation decided this one. False means each workspace decides it, and `value` is then absent — not zero, not empty, absent, because a zero is a decision.
Set bool `json:"set"`
// Value The value, of whatever kind the switch is - a number, a flag, a word or a list of words. Absent where `set` is false.
Value interface{} `json:"value,omitempty"`
// WorkspaceMay What an open key leaves a workspace free to do: `TIGHTEN` choose a stricter value, `RAISE` set a higher limit of its own, `REPLACE` set its own value. `PLAN_REPLACE` is the one key no workspace sets, the provider's account link: open, a plan may set its own. Absent where the key is never locked - a language, a time zone and a week start are defaults only - and wherever the lock binds nobody: the account link in single mode, and in a plan's own document.
WorkspaceMay *InstanceSettingWorkspaceMay `json:"workspace_may,omitempty"`
}
InstanceSetting One switch of the installation's level: whether it decided anything, what it set, and whether a workspace may tighten it. **Every switch is answered, decided or not.** A reader has to be able to see that a switch exists and that this installation has left it to each workspace — which is a different fact from the switch not existing, and the only way a screen can draw the whole level without keeping a list of its own that would be wrong the day one is added.
type InstanceSettingKind ¶
type InstanceSettingKind string
InstanceSettingKind What kind of value the key takes, so a client draws the control for it whether or not the key is decided: `COUNT` a whole number, `FLAG` true or false, `CHOICE` one of `options`, `CHOICES` a list drawn from `options`, `LINK` an `https` address, `TEXT` one short line (the terms' version), `LOCALE` a BCP 47 tag, `TIME_ZONE` an IANA zone.
const ( InstanceSettingKindCHOICE InstanceSettingKind = "CHOICE" InstanceSettingKindCHOICES InstanceSettingKind = "CHOICES" InstanceSettingKindCOUNT InstanceSettingKind = "COUNT" InstanceSettingKindFLAG InstanceSettingKind = "FLAG" InstanceSettingKindLINK InstanceSettingKind = "LINK" InstanceSettingKindLOCALE InstanceSettingKind = "LOCALE" InstanceSettingKindTEXT InstanceSettingKind = "TEXT" InstanceSettingKindTIMEZONE InstanceSettingKind = "TIME_ZONE" )
Defines values for InstanceSettingKind.
func (InstanceSettingKind) Valid ¶
func (e InstanceSettingKind) Valid() bool
Valid indicates whether the value is a known member of the InstanceSettingKind enum.
type InstanceSettingWorkspaceMay ¶
type InstanceSettingWorkspaceMay string
InstanceSettingWorkspaceMay What an open key leaves a workspace free to do: `TIGHTEN` choose a stricter value, `RAISE` set a higher limit of its own, `REPLACE` set its own value. `PLAN_REPLACE` is the one key no workspace sets, the provider's account link: open, a plan may set its own. Absent where the key is never locked - a language, a time zone and a week start are defaults only - and wherever the lock binds nobody: the account link in single mode, and in a plan's own document.
const ( PLANREPLACE InstanceSettingWorkspaceMay = "PLAN_REPLACE" RAISE InstanceSettingWorkspaceMay = "RAISE" REPLACE InstanceSettingWorkspaceMay = "REPLACE" TIGHTEN InstanceSettingWorkspaceMay = "TIGHTEN" )
Defines values for InstanceSettingWorkspaceMay.
func (InstanceSettingWorkspaceMay) Valid ¶
func (e InstanceSettingWorkspaceMay) Valid() bool
Valid indicates whether the value is a known member of the InstanceSettingWorkspaceMay enum.
type InstanceSettings ¶
type InstanceSettings struct {
// Ai Which AI a workspace may use. `sources` is `NONE`, `OFFERED` (only a model this installation offers), `OWN` (only the workspace's own, the default) or `EITHER`; `min_jurisdiction` is `ANY`, `ADEQUACY`, `EEA` or `SELF_HOSTED`, the least a workspace's own model must declare about where it processes content; `person_opt_out` is `OFFERED` only - each person may keep their own content out of AI - and with `locked` it holds every workspace there. `NOT_OFFERED` is refused here with `ai.opt_out_workspace_only`: only a workspace can make AI part of everybody's work, because only it can name the legal basis.
// A workspace may narrow `sources` where it is not locked, and may always choose no AI: a lock holds a workspace out of a source, never in one. No value here switches processing on - that is each workspace's own consent.
Ai *map[string]InstanceSetting `json:"ai,omitempty"`
// BlocklistFile The path to the operator's own list of refused passwords, read offline. Instance-only: the file is on the operator's disk, so there is nothing for a workspace to point at.
BlocklistFile *string `json:"blocklist_file,omitempty"`
// IsEnforcedFromFile Whether a file is the source. The writing routes refuse while it is, because a write through the API would be overwritten at the next start.
IsEnforcedFromFile *bool `json:"is_enforced_from_file,omitempty"`
// Legal The four links, by name, and `terms_version`, the version of the terms link. The version is locked exactly when `terms_url` is - its own `locked` is answered as the link's and ignored in a write - and it is refused without a terms link (`auth.terms_version_without_link`).
// And `account_url`, the provider's account page: an address where the workspace's owners and administrators manage what they are on. It is set here and per plan, never by a workspace; a plan's own replaces the installation's unless the installation locks it, and a plan cannot lock it (`admin.plan_account_link_not_lockable`). It reaches owners and administrators as `account_link` in `/meta/capabilities`, and never the sign-in rules.
Legal *map[string]InstanceSetting `json:"legal,omitempty"`
// Localisation `locale`, `time_zone` and `week_start`: what a new workspace starts with, and, for the week start, what a workspace that set none of its own inherits. `week_start` is `MONDAY`, `SATURDAY` or `SUNDAY`, the vocabulary of the account's own; the ISO numbers 1, 6 and 7 are accepted for those days.
// **A default, never a lock.** `locked` is always false here and a write that sets one is refused rather than partly obeyed — "eine Instanz gibt einen Standard, nie ein Schloss: ein Unternehmen, das nicht auf Deutsch arbeiten darf, weil der Betreiber es so eingestellt hat, ist ein Produktfehler".
Localisation *map[string]InstanceSetting `json:"localisation,omitempty"`
// Metering Whether the use per workspace and day is offered for billing (`GET /admin/usage`). Off by default. The counts are recorded either way; this switch only offers them.
Metering *bool `json:"metering,omitempty"`
// Quotas One ceiling per quota, by the quota's own name — the middle level of `Effective(product, instance, plan, workspace)`. A workspace that sets none of its own gets these; one that does still wins, unless the ceiling is locked.
// Unlike the other areas a lock here is meaningful, which is what "Tarif, Ausnahme je Bereich" will mean once there are plans. `0` is unlimited and is a decision; absent is "the installation decides nothing", and the product's own default applies.
Quotas *map[string]InstanceSetting `json:"quotas,omitempty"`
// SignIn The switches by name - the thirteen the password has, `mfa_required_for`, `methods`, the two session bounds, `managed_accounts` and `private_hubs`. `rotation_from` is deliberately not among them: it is an event a workspace raises for its own people, and an operator who wanted every account on the installation to change its password would be asking for a different feature with a different blast radius.
SignIn *map[string]InstanceSetting `json:"sign_in,omitempty"`
// Source Where the values in force came from - the database, or the path of the file enforcing them.
Source *string `json:"source,omitempty"`
// Version The level's version, the same value as the `ETag`. It moves with every save, and a write ignores it: the version a save was made on travels in `If-Match`.
Version *int `json:"version,omitempty"`
}
InstanceSettings The installation's own level: the sign-in switches, the legal links, the localisation defaults, the quota ceilings and which AI workspaces may use. **Every key of every area is answered**, decided or not, with `set` saying which. A reader has to be able to see that a setting exists and that this installation has left it to each workspace — a different fact from the setting not existing, and the only way a screen can draw the level without keeping a list that would be wrong the day one is added.
type InstantiateTemplateJSONRequestBody ¶
type InstantiateTemplateJSONRequestBody = TemplateInstantiation
InstantiateTemplateJSONRequestBody defines body for InstantiateTemplate for application/json ContentType.
type InstantiateTemplateParams ¶
type InstantiateTemplateParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
InstantiateTemplateParams defines parameters for InstantiateTemplate.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type InvitationInspection ¶
type InvitationInspection struct {
// Token The redemption token from the invitation. Read, not spent.
Token string `json:"token"`
}
InvitationInspection defines model for InvitationInspection.
type InvitationRedemption ¶
type InvitationRedemption struct {
// Password The first password, under the workspace's password policy.
Password string `json:"password"`
// TermsUrl The terms of use the person agreed to on the invitation card - the `terms_url` of `GET /auth/sign-in-rules` as it was shown. Required where terms of use are in force: without it the redemption is refused with `auth.terms_not_agreed`, and with a link or a version other than the ones in force with `auth.terms_changed`; neither spends the invitation. Ignored where no terms are in force.
TermsUrl *string `json:"terms_url,omitempty"`
// TermsVersion The version of those terms as it was shown, where the terms carry one.
TermsVersion *string `json:"terms_version,omitempty"`
// Token The redemption token from the invitation, shown once and usable once.
Token string `json:"token"`
}
InvitationRedemption defines model for InvitationRedemption.
type InvitationSummary ¶
type InvitationSummary struct {
// Email The address the invitation went to - the one a provider has to confirm.
Email string `json:"email"`
// WorkspaceName The display name of the workspace the person was invited to.
WorkspaceName string `json:"workspace_name"`
}
InvitationSummary What the invitation card names before anything is typed.
type InviteAccountJSONRequestBody ¶
type InviteAccountJSONRequestBody = AccountInvite
InviteAccountJSONRequestBody defines body for InviteAccount for application/json ContentType.
type InviteAccountParams ¶
type InviteAccountParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
InviteAccountParams defines parameters for InviteAccount.
type InvitedAccount ¶
type InvitedAccount struct {
// AuthenticatorAppRemovable Whether turning the authenticator app off would be accepted now, answered on `GET /accounts/me` and on nothing else: the app is armed, and either the workspace's rule does not require a second factor of this person or a passkey or security key remains.
AuthenticatorAppRemovable *bool `json:"authenticator_app_removable,omitempty"`
// AvatarMediaId The picture the person shows beside their name, a media object any member of the workspace may read (`GET /media/{mediaId}`). Absent or null means the initials of the name are the avatar.
AvatarMediaId *openapi_types.UUID `json:"avatar_media_id,omitempty"`
// Celebrations Whether the moments are marked for this person - a small celebration when work is completed. Absent or null means the default, which is on.
Celebrations *bool `json:"celebrations,omitempty"`
DisplayName string `json:"display_name"`
Email *openapi_types.Email `json:"email,omitempty"`
// HasAccess Whether this account holds a role anywhere in the workspace - on the workspace, a hub, a collection or one entry, directly or through a group - answered on `GET /accounts/me` and on nothing else. False is a person an administrator still has to give access to, such as somebody a sign-in provider brought in with nothing: a screen says so instead of an empty workspace. It is also the condition for creating a private hub of one's own, so where it is false no hub can be created; a person whose only role is on their own private hub, or on one shared entry, holds access.
HasAccess *bool `json:"has_access,omitempty"`
// HasAuthenticatorApp Whether an *armed* authenticator app stands on this account, answered on `GET /accounts/me` and on nothing else. An enrolment begun and never confirmed counts as none, the same reading the sign-in path takes.
HasAuthenticatorApp *bool `json:"has_authenticator_app,omitempty"`
// HasPassword Whether this account holds a password, answered on `GET /accounts/me` and on nothing else. An account that signs in only through a provider holds none: a screen does not offer it a password change, and no step-up asks it for one.
HasPassword *bool `json:"has_password,omitempty"`
// HasSecondFactor Whether a second factor stands on this account - an armed authenticator app, or a passkey or security key of this workspace's address - answered on `GET /accounts/me` and on nothing else. An enrolment begun and never confirmed counts as none. Whether the app itself is armed is `has_authenticator_app`.
// Until this was answered, nothing in the contract said it, and a screen could not tell an account with no authenticator from one whose recovery codes had all been spent. That is how the security screen came to offer two actions the server refuses - "make new recovery codes" and "turn it off" - under a red banner saying none were left.
HasSecondFactor *bool `json:"has_second_factor,omitempty"`
Id openapi_types.UUID `json:"id"`
// InvitationLink Present only where this installation sends no mail: the link that accepts the invitation, the same one a mail would carry. Shown here and never again - only its hash is kept. It works once, for fourteen days.
InvitationLink *string `json:"invitation_link,omitempty"`
Kind InvitedAccountKind `json:"kind"`
Locale *string `json:"locale,omitempty"`
// OnboardingCompletedAt When the person finished or skipped the first-run tour. Absent or null means the tour has not been taken - or was asked for again.
OnboardingCompletedAt *time.Time `json:"onboarding_completed_at,omitempty"`
// RecoveryCodesRemaining How many of the ten recovery codes are still usable, answered on `GET /accounts/me` and on nothing else. **Present exactly when `has_second_factor` is true**, and then zero is answered as zero, because there zero is the number to act on. Absent where there is nothing to count: an account holding no second factor, or an installation wired without one. Its codes are not "zero left" - they are a thing that does not exist yet, and a screen told zero sends somebody to make codes the server would refuse to make.
// The same number rides along with a sign-in, where nobody can act on it; here it is beside the account, which is where the screen that makes new ones is.
RecoveryCodesRemaining *int `json:"recovery_codes_remaining,omitempty"`
// SecondFactorRequired Whether the workspace's sign-in rule in force demands a second factor of this person, answered on `GET /accounts/me` and on nothing else. The same reading signing in and turning the factor off make, so a screen can say "your workspace requires it" instead of offering a control the server would refuse.
SecondFactorRequired *bool `json:"second_factor_required,omitempty"`
// SignInName What a managed account signs in with instead of an address: unique in the workspace, stored folded (compatibility form, lower case). Absent on an account that signs in with its address.
SignInName *string `json:"sign_in_name,omitempty"`
// Status `RESTRICTED` is Art. 18 GDPR as a technical state: the account works and its content
// stays, and what stops is this system deciding anything about the person by machine.
// `ANONYMIZED` is an erasure carried out in the mode that keeps the authorship - the row
// stays so that the workspace's own content is still readable, and everything of the
// person's in it is gone.
Status InvitedAccountStatus `json:"status"`
TimeZone *string `json:"time_zone,omitempty"`
WeekStart *InvitedAccountWeekStart `json:"week_start,omitempty"`
}
InvitedAccount defines model for InvitedAccount.
type InvitedAccountKind ¶
type InvitedAccountKind string
InvitedAccountKind defines model for InvitedAccount.Kind.
const ( InvitedAccountKindSERVICEACCOUNT InvitedAccountKind = "SERVICE_ACCOUNT" InvitedAccountKindUSER InvitedAccountKind = "USER" )
Defines values for InvitedAccountKind.
func (InvitedAccountKind) Valid ¶
func (e InvitedAccountKind) Valid() bool
Valid indicates whether the value is a known member of the InvitedAccountKind enum.
type InvitedAccountStatus ¶
type InvitedAccountStatus string
InvitedAccountStatus `RESTRICTED` is Art. 18 GDPR as a technical state: the account works and its content stays, and what stops is this system deciding anything about the person by machine. `ANONYMIZED` is an erasure carried out in the mode that keeps the authorship - the row stays so that the workspace's own content is still readable, and everything of the person's in it is gone.
const ( InvitedAccountStatusACTIVE InvitedAccountStatus = "ACTIVE" InvitedAccountStatusANONYMIZED InvitedAccountStatus = "ANONYMIZED" InvitedAccountStatusDISABLED InvitedAccountStatus = "DISABLED" InvitedAccountStatusINVITED InvitedAccountStatus = "INVITED" InvitedAccountStatusRESTRICTED InvitedAccountStatus = "RESTRICTED" )
Defines values for InvitedAccountStatus.
func (InvitedAccountStatus) Valid ¶
func (e InvitedAccountStatus) Valid() bool
Valid indicates whether the value is a known member of the InvitedAccountStatus enum.
type InvitedAccountWeekStart ¶
type InvitedAccountWeekStart string
InvitedAccountWeekStart defines model for InvitedAccount.WeekStart.
const ( InvitedAccountWeekStartLessThannil InvitedAccountWeekStart = "<nil>" InvitedAccountWeekStartMONDAY InvitedAccountWeekStart = "MONDAY" InvitedAccountWeekStartSATURDAY InvitedAccountWeekStart = "SATURDAY" InvitedAccountWeekStartSUNDAY InvitedAccountWeekStart = "SUNDAY" )
Defines values for InvitedAccountWeekStart.
func (InvitedAccountWeekStart) Valid ¶
func (e InvitedAccountWeekStart) Valid() bool
Valid indicates whether the value is a known member of the InvitedAccountWeekStart enum.
type IssueStartPasswordParams ¶
type IssueStartPasswordParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
IssueStartPasswordParams defines parameters for IssueStartPassword.
type ItemAccess ¶
type ItemAccess string
ItemAccess How far a role reaches into one entry. `ALL` is unqualified. `ASSIGNED` is only where the actor is the entry's assignee - which is what the matrix's "assigned only" cell means, and why a contributor's `create` is `ALL` while their `change` is not: a created entry is assigned to its creator, so the qualifier holds at every moment rather than being suspended for the one call that would break it. `NONE` is never, whatever the membership.
const ( ItemAccessALL ItemAccess = "ALL" ItemAccessASSIGNED ItemAccess = "ASSIGNED" ItemAccessNONE ItemAccess = "NONE" )
Defines values for ItemAccess.
func (ItemAccess) Valid ¶
func (e ItemAccess) Valid() bool
Valid indicates whether the value is a known member of the ItemAccess enum.
type ItemAttachments ¶
type ItemAttachments struct {
ItemId openapi_types.UUID `json:"item_id"`
MediaIds []openapi_types.UUID `json:"media_ids"`
}
ItemAttachments The attachments one entry carries. Returned by attaching and detaching rather than the entry itself, for the reason ItemMembers is: neither touches the entry's own row.
type ItemExport ¶
type ItemExport struct {
// Format CSV for a spreadsheet, JSON for a script, ICS for a calendar. ICS renders only the entries that have a due date, because an entry with no date is not a calendar entry.
Format ItemExportFormat `json:"format"`
Query ItemQuery `json:"query"`
// TimeZone The zone the dates are written in. Defaults to the caller's own. It decides how a timestamp reads, never which rows are selected.
TimeZone *string `json:"time_zone,omitempty"`
}
ItemExport What to render and how. The query decides which rows; the format decides what they become.
type ItemExportDocument ¶
type ItemExportDocument struct {
// Count How many rows are in this document.
Count int `json:"count"`
GeneratedAt time.Time `json:"generated_at"`
Rows []WorkItem `json:"rows"`
// Truncated True when the result reached max_export_rows. The same statement the Export-Truncated header makes, in the one format that can carry it in the body.
Truncated bool `json:"truncated"`
}
ItemExportDocument The JSON rendering - the query's rows, and what the export knows about itself.
type ItemExportFormat ¶
type ItemExportFormat string
ItemExportFormat CSV for a spreadsheet, JSON for a script, ICS for a calendar. ICS renders only the entries that have a due date, because an entry with no date is not a calendar entry.
const ( ItemExportFormatCSV ItemExportFormat = "CSV" ItemExportFormatICS ItemExportFormat = "ICS" ItemExportFormatJSON ItemExportFormat = "JSON" )
Defines values for ItemExportFormat.
func (ItemExportFormat) Valid ¶
func (e ItemExportFormat) Valid() bool
Valid indicates whether the value is a known member of the ItemExportFormat enum.
type ItemLabels ¶
type ItemLabels struct {
ItemId openapi_types.UUID `json:"item_id"`
LabelIds []openapi_types.UUID `json:"label_ids"`
}
ItemLabels The labels one entry carries. Returned by adding and removing rather than the entry itself, because neither touches the entry's own row: a label lives beside it, and an entry whose version had moved would tell a client its title had changed too.
type ItemMembers ¶
type ItemMembers struct {
ItemId openapi_types.UUID `json:"item_id"`
MemberIds []openapi_types.UUID `json:"member_ids"`
}
ItemMembers The members one entry carries. Returned by adding and removing rather than the entry itself, for the reason ItemLabels is: neither touches the entry's own row, and an entry whose version had moved would tell a client its title had changed too.
type ItemQuery ¶
type ItemQuery struct {
// Count `exact` counts the whole result with a second query and answers `total`; it is opt-in because it costs a second pass. `estimated` is not served and is refused by name rather than answered with a null total.
Count *ItemQueryCount `json:"count,omitempty"`
// Expand Relations to include, as on `GET /items`. `labels` and `counts` are served (`counts` here only: what each entry holds, counted for the whole page in one query); anything else is `items.expand_not_supported`.
Expand *[]string `json:"expand,omitempty"`
// Filter Either a leaf (`field`, `op`, `value`) or a combination (`op` of `AND`, `OR`, `NOT` with
// `nodes`). A node is one or the other: a combination carrying a `field`, or a leaf carrying
// `nodes`, is refused rather than half-read.
//
// Combinations nest at most five deep and a filter holds at most fifty nodes in total - the
// bound that keeps a query's cost a function of the data rather than of the request.
Filter *FilterNode `json:"filter,omitempty"`
// GroupBy The board projection: one group per distinct value, each with its own rows and its own cursor. A group's cursor continues that group and is sent back with the group's key as a filter.
GroupBy *struct {
Field string `json:"field"`
LimitPerGroup *int `json:"limit_per_group,omitempty"`
} `json:"group_by,omitempty"`
IncludeArchived *bool `json:"include_archived,omitempty"`
IncludeTrashed *bool `json:"include_trashed,omitempty"`
Page *struct {
Cursor *string `json:"cursor,omitempty"`
Size *int `json:"size,omitempty"`
} `json:"page,omitempty"`
// Scope Where to look. Exactly one of `container_id` and `item_id`, and it is required: an unanchored query is a scan of the whole tenant, and the permission is checked against this scope once for the whole result.
Scope struct {
// ContainerId A collection, or a hub - with `include_descendants`, a hub covers the items of every collection in it.
ContainerId *openapi_types.UUID `json:"container_id,omitempty"`
// IncludeDescendants False narrows the scope to one level: the entries directly in the collection, or the direct children of the entry. Ignored for a hub, whose items always sit at least one collection down.
IncludeDescendants *bool `json:"include_descendants,omitempty"`
// ItemId An entry, whose subtree is searched with `include_descendants`.
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
} `json:"scope"`
// Sort Ordered, most significant first, and always completed by `id ASC` so that a cursor is unambiguous. Defaults to the manual order (`order_key ASC`).
Sort *[]SortTerm `json:"sort,omitempty"`
}
ItemQuery defines model for ItemQuery.
type ItemQueryCount ¶
type ItemQueryCount string
ItemQueryCount `exact` counts the whole result with a second query and answers `total`; it is opt-in because it costs a second pass. `estimated` is not served and is refused by name rather than answered with a null total.
const ( ItemQueryCountEstimated ItemQueryCount = "estimated" ItemQueryCountExact ItemQueryCount = "exact" ItemQueryCountNone ItemQueryCount = "none" )
Defines values for ItemQueryCount.
func (ItemQueryCount) Valid ¶
func (e ItemQueryCount) Valid() bool
Valid indicates whether the value is a known member of the ItemQueryCount enum.
type ItemQueryGroup ¶
type ItemQueryGroup struct {
// Count How many entries the group holds in total, with `count=exact`.
Count *int `json:"count"`
Data []WorkItem `json:"data"`
// Key The grouping value, null for the entries that have none.
Key *string `json:"key"`
Page PageInfo `json:"page"`
}
ItemQueryGroup One column of a grouped result. Its `page` continues this group and nothing else: a client pages a column by asking again for that column - the key as a filter, this cursor as the cursor.
type ItemQueryResult ¶
type ItemQueryResult struct {
Data []WorkItem `json:"data"`
// Groups One entry per distinct value of the grouping field, in the field's own order with the group of entries that have no value last. Empty without `group_by`.
Groups []ItemQueryGroup `json:"groups"`
Page PageInfo `json:"page"`
// Total The size of the whole result with `count=exact`, null otherwise.
Total *int `json:"total"`
}
ItemQueryResult `data` carries the rows of an ungrouped query and `groups` those of a grouped one. Both are always present, so that a client reads them unconditionally; the one that does not apply is empty. `page` is the walk of an ungrouped query - a grouped one has no single walk, so it then reports no successor and each group carries its own.
type ItemSearchPage ¶
type ItemSearchPage struct {
Data []WorkItem `json:"data"`
// FoundByMeaning The hits on this page that share no word with `q` and were found because they are about the same subject. A client marks them, so that a reader is not left wondering why an entry without any of their words is listed. Empty where the search was by words only - `LEXICAL`, no words, or an installation without search by meaning.
FoundByMeaning *[]openapi_types.UUID `json:"found_by_meaning,omitempty"`
Page PageInfo `json:"page"`
}
ItemSearchPage One page of a search: the hits in rank order, and which of them were found by meaning alone.
type ItemSearchQuery ¶
type ItemSearchQuery struct {
// ContainerId The hub or collection to search in. Omitted searches everything the caller may see.
ContainerId *openapi_types.UUID `json:"container_id,omitempty"`
// Filter Narrows the search, in the grammar `POST /items:query` uses: the fields `/meta/capabilities` names, the operators each one permits, at most five levels of nesting and fifty nodes, and the same cost estimate capped at 50. An unknown field is `422 query.field_unknown`; too expensive a tree is `422 query.filter_too_expensive`, refused before it runs.
Filter *FilterNode `json:"filter,omitempty"`
IncludeArchived *bool `json:"include_archived,omitempty"`
IncludeTrashed *bool `json:"include_trashed,omitempty"`
// Language BCP-47. The language the *words* are in, not the entries: it decides how the query is read. Omitted takes the caller's locale.
Language *string `json:"language,omitempty"`
// Mode How much of the search to use.
// `AUTO` is the default and searches by words and, where the installation has it, by meaning. `LEXICAL` searches by words only: it asks no provider, spends no budget and waits on nothing, which is what a caller in a loop - an automation, an import, a client's own type-ahead - wants. There is deliberately no `SEMANTIC`: an installation may not have it, and a mode the server cannot promise is a mode that would have to fail.
Mode *SearchMode `json:"mode,omitempty"`
Page *struct {
Cursor *string `json:"cursor,omitempty"`
Size *int `json:"size,omitempty"`
} `json:"page,omitempty"`
// Q What to look for. Quoted phrases, `or` between words and a leading minus for exclusion work as they do in a web search box; anything else is read as words to find. Optional where a `filter` is sent: a filtered search with no words is a work list rather than a search, and it is ordered rather than ranked.
//
// **The last word is also matched as a beginning**, so that a search answers while it is still being typed: `Ann` finds *Anna's moments*, and `Momente Chall` finds an entry holding both. Only the last word, and only where it is one plain word - a quoted phrase, an exclusion and a word followed by a space are all finished, and are matched whole. A hit on a beginning ranks below one on a whole word, because it is weaker evidence that these are the words somebody meant.
Q *string `json:"q,omitempty"`
// Sort Only meaningful without `q`: with words there is a ranking and it is the ranking. Sent with words it is refused by `search.sort_with_words`, rather than being ignored. Without them it defaults to `due_at ASC NULLS LAST`, because a filtered workspace read with no words is a work list and a work list is ordered by when it is due. Always completed by `id ASC`, so a cursor is unambiguous.
Sort *[]SortTerm `json:"sort,omitempty"`
}
ItemSearchQuery One search of the whole workspace, or of one hub or collection. **At least one of `q` and `filter`** - a request with neither is refused by `search.words_required`, because "everything" is not a question this API answers. `filter` is the same grammar `POST /items:query` takes, with the same closed field vocabulary, the same operators and the same bounds. The difference between the two endpoints is not the grammar, it is the anchor: a query is anchored to a container because an unanchored one is a question authorisation cannot answer in one step, and a search is the one read where "where is this, anywhere" *is* the question - so it is read and then narrowed to what the caller may see, and its page may be short where a query's would be a refusal. **It searches by words and, where the installation can, by meaning.** The two are one ranked page with one cursor: a hit on the words somebody typed outranks one that is merely about the same subject, so an exact identifier is still found first, and an entry that shares no word with the query is found at all. `mode` says how much of that to use, and defaults to `AUTO` - the two halves where the installation has both. Semantic search is optional four times over: the database may not carry pgvector, the workspace may have configured no AI provider or not consented to it, and the provider may not answer in the second somebody is waiting. Every one of those is a **lexical search rather than an error**, which is why there is no `SEMANTIC` value to ask for - it would be a mode the server could not promise. `/meta/capabilities` answers `semantic_search` for a client that wants to say in its interface which it has.
type ItemType ¶
type ItemType string
ItemType Extensible; /meta/capabilities returns the valid values.
type Job ¶
type Job struct {
CreatedAt time.Time `json:"created_at"`
// ErrorCode The message code of the last failure, never a message and never free text. Set on a `FAILED` job, and on a job that is being retried.
ErrorCode *string `json:"error_code"`
// ErrorParams The parameters the sentence of `error_code` reads, where the job ended with a refusal that has some - an AI budget spent since the job was accepted carries `reason` (`budget_spent`) and `renews_at`, exactly as the same refusal does on a request. Absent otherwise.
ErrorParams *map[string]string `json:"error_params,omitempty"`
// FinishedAt When the job reached a terminal state. `null` while it has not.
FinishedAt *time.Time `json:"finished_at"`
JobId openapi_types.UUID `json:"job_id"`
// OutcomeCode How a `SUCCEEDED` job ended, as a message code, where its kind says more than that it finished - never a message and never free text. A question to the workspace's AI answers `ai.proposed` (the suggestion stands under `GET /suggestions`), `ai.nothing_to_change` (the model found nothing to propose), `ai.nothing_to_work_with` (nothing was left to describe when the job ran), or `ai.kept_out` / `ai.processing_restricted` (the person who asked keeps their content out since asking). Absent on every other job; a client treats a code it does not know as "finished".
OutcomeCode *string `json:"outcome_code,omitempty"`
// Progress How far along, between 0 and 1, or `null` from a job that cannot say. `null` is the honest answer rather than a number nobody computed - a client renders an indeterminate bar for it.
Progress *float32 `json:"progress"`
// ResultUrl Where what the job produced can be fetched, once there is something.
ResultUrl *string `json:"result_url"`
// Status What a caller sees of a job's life. Five states rather than the queue's six: a job the queue gave up on is `FAILED`, because "it did not work and will not be tried again" is the whole of what a caller can act on, and the dead letter is an operator's word for where the row went.
Status JobStatus `json:"status"`
}
Job Background work, as the caller who asked for it sees it. Deliberately narrow: the queue's row also carries the payload, the attempt count, the lease and the deduplication key, and all four are the queue's business rather than a caller's - a payload can name objects the caller may not resolve, and an attempt count invites a client to reason about a retry policy that is not part of the contract. Widening this later is additive; narrowing it would not be.
type JobRef ¶
type JobRef struct {
JobId openapi_types.UUID `json:"job_id"`
Progress *float32 `json:"progress,omitempty"`
ResultUrl *string `json:"result_url,omitempty"`
// Status What a caller sees of a job's life. Five states rather than the queue's six: a job the queue gave up on is `FAILED`, because "it did not work and will not be tried again" is the whole of what a caller can act on, and the dead letter is an operator's word for where the row went.
Status JobStatus `json:"status"`
}
JobRef The pointer a `202 Accepted` hands back. It is the same shape as `Job`, narrowed to what is knowable at the moment the work was accepted.
type JobStatus ¶
type JobStatus string
JobStatus What a caller sees of a job's life. Five states rather than the queue's six: a job the queue gave up on is `FAILED`, because "it did not work and will not be tried again" is the whole of what a caller can act on, and the dead letter is an operator's word for where the row went.
type JumbleDestination ¶
type JumbleDestination struct {
HubId openapi_types.UUID `json:"hub_id"`
HubName string `json:"hub_name"`
// HubPrivate Whether the hub is private - reached only by its own members.
HubPrivate bool `json:"hub_private"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
}
JumbleDestination One collection a jumble entry may become work in, with its hub.
type JumbleDestinationPage ¶
type JumbleDestinationPage struct {
Data []JumbleDestination `json:"data"`
Page PageInfo `json:"page"`
}
JumbleDestinationPage defines model for JumbleDestinationPage.
type JumbleEntry ¶
type JumbleEntry struct {
// ArrivalJobId Where the workspace prepares proposals on arrival: the job preparing one about this undecided entry while it runs, or that ended refused - follow it under `/jobs/{jobId}`. Absent once it proposed something (the proposal is under `GET /suggestions`), for a settled entry, and where nothing was prepared.
ArrivalJobId *openapi_types.UUID `json:"arrival_job_id,omitempty"`
// Attachments Media objects, stored through the media pipeline.
Attachments []openapi_types.UUID `json:"attachments"`
Channel JumbleEntryChannel `json:"channel"`
Id openapi_types.UUID `json:"id"`
// IntakeReason Why a message waits in the jumble or was dropped.
IntakeReason *MailReason `json:"intake_reason,omitempty"`
MeantForId *openapi_types.UUID `json:"meant_for_id,omitempty"`
// MeantForKind The place a mail named where it landed in the jumble instead - its sender was not admitted or may not write there, or the provider marked it as spam.
MeantForKind *JumbleEntryMeantForKind `json:"meant_for_kind,omitempty"`
RawBody *string `json:"raw_body,omitempty"`
RawSubject *string `json:"raw_subject,omitempty"`
ReceivedAt time.Time `json:"received_at"`
// Sender Who the transport says it came from. Data, never an identity: a From header authenticates nothing - the intake token does.
Sender *string `json:"sender,omitempty"`
// SettledAt When the entry stopped being NEW - a conversion or a dismissal.
SettledAt *time.Time `json:"settled_at,omitempty"`
// Status An entry is decided about exactly once. `DISMISSED` is a state, not a deletion - the entry stays readable and ages out by retention rule.
Status JumbleEntryStatus `json:"status"`
// TargetItemId The item a conversion produced. The other half of the provenance pair.
TargetItemId *openapi_types.UUID `json:"target_item_id,omitempty"`
}
JumbleEntry One arrival, as it came in. The raw content is data that arrived from outside: it is shown to a person and matched by rules as data, and it travels in no event, no log and no audit entry.
type JumbleEntryChannel ¶
type JumbleEntryChannel string
JumbleEntryChannel defines model for JumbleEntry.Channel.
const ( JumbleEntryChannelAPI JumbleEntryChannel = "API" JumbleEntryChannelEMAIL JumbleEntryChannel = "EMAIL" JumbleEntryChannelQUICKCAPTURE JumbleEntryChannel = "QUICK_CAPTURE" JumbleEntryChannelWEBHOOK JumbleEntryChannel = "WEBHOOK" )
Defines values for JumbleEntryChannel.
func (JumbleEntryChannel) Valid ¶
func (e JumbleEntryChannel) Valid() bool
Valid indicates whether the value is a known member of the JumbleEntryChannel enum.
type JumbleEntryComment ¶
type JumbleEntryComment struct {
// ItemId The entry to comment on. Defaults to the one the mail was meant for.
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
}
JumbleEntryComment defines model for JumbleEntryComment.
type JumbleEntryConvert ¶
type JumbleEntryConvert struct {
// BucketId The board column, when the destination has a board.
BucketId *openapi_types.UUID `json:"bucket_id,omitempty"`
// CollectionId The destination. The caller's rights there are checked by the item create.
CollectionId openapi_types.UUID `json:"collection_id"`
// Title The item's title. Defaults to the entry's subject, then to the first line of its body; required for an entry with no text.
Title *string `json:"title,omitempty"`
Type *JumbleEntryConvertType `json:"type,omitempty"`
}
JumbleEntryConvert Where the entry becomes work, and what the item is called.
type JumbleEntryConvertType ¶
type JumbleEntryConvertType string
JumbleEntryConvertType defines model for JumbleEntryConvert.Type.
const ( JumbleEntryConvertTypeACTIVITY JumbleEntryConvertType = "ACTIVITY" JumbleEntryConvertTypeTASK JumbleEntryConvertType = "TASK" JumbleEntryConvertTypeWORKPACKAGE JumbleEntryConvertType = "WORK_PACKAGE" )
Defines values for JumbleEntryConvertType.
func (JumbleEntryConvertType) Valid ¶
func (e JumbleEntryConvertType) Valid() bool
Valid indicates whether the value is a known member of the JumbleEntryConvertType enum.
type JumbleEntryMeantForKind ¶
type JumbleEntryMeantForKind string
JumbleEntryMeantForKind The place a mail named where it landed in the jumble instead - its sender was not admitted or may not write there, or the provider marked it as spam.
const ( JumbleEntryMeantForKindCOLLECTION JumbleEntryMeantForKind = "COLLECTION" JumbleEntryMeantForKindITEM JumbleEntryMeantForKind = "ITEM" )
Defines values for JumbleEntryMeantForKind.
func (JumbleEntryMeantForKind) Valid ¶
func (e JumbleEntryMeantForKind) Valid() bool
Valid indicates whether the value is a known member of the JumbleEntryMeantForKind enum.
type JumbleEntryPage ¶
type JumbleEntryPage struct {
Data []JumbleEntry `json:"data"`
Page PageInfo `json:"page"`
}
JumbleEntryPage defines model for JumbleEntryPage.
type JumbleEntryStatus ¶
type JumbleEntryStatus string
JumbleEntryStatus An entry is decided about exactly once. `DISMISSED` is a state, not a deletion - the entry stays readable and ages out by retention rule.
const ( JumbleEntryStatusDISMISSED JumbleEntryStatus = "DISMISSED" JumbleEntryStatusNEW JumbleEntryStatus = "NEW" JumbleEntryStatusPROCESSED JumbleEntryStatus = "PROCESSED" )
Defines values for JumbleEntryStatus.
func (JumbleEntryStatus) Valid ¶
func (e JumbleEntryStatus) Valid() bool
Valid indicates whether the value is a known member of the JumbleEntryStatus enum.
type JumbleEntrySubmit ¶
type JumbleEntrySubmit struct {
// Attachments Sealed media objects to carry.
Attachments *[]openapi_types.UUID `json:"attachments,omitempty"`
Channel *JumbleEntrySubmitChannel `json:"channel,omitempty"`
RawBody *string `json:"raw_body,omitempty"`
RawSubject *string `json:"raw_subject,omitempty"`
// Sender Optional provenance text, e.g. the capturing surface's own name.
Sender *string `json:"sender,omitempty"`
}
JumbleEntrySubmit A near-channel arrival. At least one of the three contents; `channel` defaults to `API`, and only the near channels may be claimed.
type JumbleEntrySubmitChannel ¶
type JumbleEntrySubmitChannel string
JumbleEntrySubmitChannel defines model for JumbleEntrySubmit.Channel.
const ( JumbleEntrySubmitChannelAPI JumbleEntrySubmitChannel = "API" JumbleEntrySubmitChannelQUICKCAPTURE JumbleEntrySubmitChannel = "QUICK_CAPTURE" )
Defines values for JumbleEntrySubmitChannel.
func (JumbleEntrySubmitChannel) Valid ¶
func (e JumbleEntrySubmitChannel) Valid() bool
Valid indicates whether the value is a known member of the JumbleEntrySubmitChannel enum.
type JumbleIntakeAccepted ¶
type JumbleIntakeAccepted struct {
// EntryId The entry the delivery became.
EntryId openapi_types.UUID `json:"entry_id"`
}
JumbleIntakeAccepted defines model for JumbleIntakeAccepted.
type JumbleIntakeDelivery ¶
type JumbleIntakeDelivery struct {
Body *string `json:"body,omitempty"`
// Sender Who the bridge says it came from. Data, never an identity.
Sender *string `json:"sender,omitempty"`
Subject *string `json:"subject,omitempty"`
}
JumbleIntakeDelivery The small shape the intake accepts. All fields optional, but not all empty.
type JumbleIntakeToken ¶
type JumbleIntakeToken struct {
RotatedAt time.Time `json:"rotated_at"`
// Token The whole credential. Post to `/jumble/inbound/{token}`.
Token string `json:"token"`
}
JumbleIntakeToken A freshly minted intake address. The token exists in this answer and nowhere else afterwards: it is stored hashed, and every later read shows only when it was minted.
type Kudos ¶
type Kudos struct {
// From The kudos the reader received on this entry, oldest first. Empty for everybody but the person they were given to.
From []KudosFrom `json:"from"`
// Given Whether the reader gave kudos to the entry's current completion. False on an open entry.
Given bool `json:"given"`
ItemId openapi_types.UUID `json:"item_id"`
}
Kudos defines model for Kudos.
type KudosFrom ¶
type KudosFrom struct {
AccountId openapi_types.UUID `json:"account_id"`
GivenAt time.Time `json:"given_at"`
}
KudosFrom defines model for KudosFrom.
type Label ¶
type Label struct {
CollectionId openapi_types.UUID `json:"collection_id"`
// ColorToken A theme token rather than a colour value, so clients render it in their own palette. Required: a label is rendered as a chip and nothing else.
ColorToken string `json:"color_token"`
// DeletedAt When the label was taken out of the vocabulary. Present only in a list read with `include_deleted`; a label in the vocabulary carries null or omits it.
DeletedAt *time.Time `json:"deleted_at,omitempty"`
// Description Always present, as null when unset.
Description *string `json:"description"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
// Version The optimistic lock, returned as the ETag and sent back as If-Match.
Version int `json:"version"`
}
Label A tag a collection defines and its entries carry. Defined on the collection rather than on the workspace: a label is a vocabulary the people working in one collection agree on, and a workspace-wide list would make every collection pay for every other's.
type LabelCreate ¶
type LabelCreate struct {
// ColorToken One of the ten label colours: slate, blue, teal, green, lime, amber, orange, red, magenta or violet. Any other name is refused with `labels.color_token_unknown`; a value stored before that check is kept until it is changed.
ColorToken string `json:"color_token"`
Description *string `json:"description,omitempty"`
Name string `json:"name"`
}
LabelCreate defines model for LabelCreate.
type LabelUpdate ¶
type LabelUpdate struct {
// ColorToken Cannot be cleared. A label is rendered as a chip and nothing else, so with no colour a client would have to invent one. One of the ten label colours, as on creation; any other name is refused with `labels.color_token_unknown`.
ColorToken *string `json:"color_token,omitempty"`
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
}
LabelUpdate JSON Merge Patch; null deletes a field.
type LegalHold ¶
type LegalHold struct {
Id *openapi_types.UUID `json:"id,omitempty"`
PlacedAt *time.Time `json:"placed_at,omitempty"`
PlacedBy *openapi_types.UUID `json:"placed_by,omitempty"`
// Reason Why, in the words of whoever placed it. Operator content rather than user content, and it never travels into a metric or an event - an auditor and an operator reading a blocked run are the only readers.
Reason string `json:"reason"`
ReleasedAt *time.Time `json:"released_at,omitempty"`
ReleasedBy *openapi_types.UUID `json:"released_by,omitempty"`
// ReleasedReason Why it was lifted. Present only on a hold that has been.
ReleasedReason *string `json:"released_reason,omitempty"`
Scope struct {
Id *openapi_types.UUID `json:"id,omitempty"`
// Kind What the hold covers. TENANT names nothing because it covers everything; CONTAINER and ITEM name what they hold, and the hold reaches everything below it.
Kind LegalHoldScopeKind `json:"kind"`
} `json:"scope"`
}
LegalHold An instruction not to delete something. The first thing every deletion path checks, and the one that overrides a workspace's own configured periods.
type LegalHoldCreate ¶
type LegalHoldCreate struct {
Reason string `json:"reason"`
// Scope What the hold covers. `TENANT` is the whole workspace and names nothing; `CONTAINER` a hub or collection and everything in it; `ITEM` an entry and what hangs off it; `ACCOUNT` a person - their account and the entries, comments and files they contributed, which an erasure of that person keeps and no deletion removes. Every other scope names something this workspace has, or the hold is refused with `lifecycle.hold_target_not_found`.
Scope struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Kind LegalHoldCreateScopeKind `json:"kind"`
} `json:"scope"`
}
LegalHoldCreate defines model for LegalHoldCreate.
type LegalHoldCreateScopeKind ¶
type LegalHoldCreateScopeKind string
LegalHoldCreateScopeKind defines model for LegalHoldCreate.Scope.Kind.
const ( LegalHoldCreateScopeKindACCOUNT LegalHoldCreateScopeKind = "ACCOUNT" LegalHoldCreateScopeKindCONTAINER LegalHoldCreateScopeKind = "CONTAINER" LegalHoldCreateScopeKindITEM LegalHoldCreateScopeKind = "ITEM" LegalHoldCreateScopeKindTENANT LegalHoldCreateScopeKind = "TENANT" )
Defines values for LegalHoldCreateScopeKind.
func (LegalHoldCreateScopeKind) Valid ¶
func (e LegalHoldCreateScopeKind) Valid() bool
Valid indicates whether the value is a known member of the LegalHoldCreateScopeKind enum.
type LegalHoldRecord ¶
type LegalHoldRecord struct {
Id openapi_types.UUID `json:"id"`
PlacedAt time.Time `json:"placed_at"`
PlacedBy openapi_types.UUID `json:"placed_by"`
Reason string `json:"reason"`
// ReleasedAt When it was released in the rewound period, if it was. The hold is placed in force all the same; this only puts it on the list of holds whose owner releases them again.
ReleasedAt *time.Time `json:"released_at,omitempty"`
Scope struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Kind LegalHoldRecordScopeKind `json:"kind"`
} `json:"scope"`
}
LegalHoldRecord One hold as it stood before the rewind.
type LegalHoldRecordScopeKind ¶
type LegalHoldRecordScopeKind string
LegalHoldRecordScopeKind defines model for LegalHoldRecord.Scope.Kind.
const ( LegalHoldRecordScopeKindACCOUNT LegalHoldRecordScopeKind = "ACCOUNT" LegalHoldRecordScopeKindCONTAINER LegalHoldRecordScopeKind = "CONTAINER" LegalHoldRecordScopeKindITEM LegalHoldRecordScopeKind = "ITEM" LegalHoldRecordScopeKindTENANT LegalHoldRecordScopeKind = "TENANT" )
Defines values for LegalHoldRecordScopeKind.
func (LegalHoldRecordScopeKind) Valid ¶
func (e LegalHoldRecordScopeKind) Valid() bool
Valid indicates whether the value is a known member of the LegalHoldRecordScopeKind enum.
type LegalHoldRelease ¶
type LegalHoldRelease struct {
// Reason Why the hold is being lifted. Required - "released" with no reason is an entry an auditor cannot act on.
Reason string `json:"reason"`
}
LegalHoldRelease defines model for LegalHoldRelease.
type LegalHoldReplaceRequest ¶
type LegalHoldReplaceRequest struct {
// Archive A workspace archive at one of the workspace's backup targets. The server reads the holds it carries and the holds its audit trail records as placed, if it includes the trail; what was placed after the archive was taken is not in it.
Archive *struct {
// Path The archive's path at the target, as the listing of the target's backups answers it.
Path string `json:"path"`
TargetId openapi_types.UUID `json:"target_id"`
} `json:"archive,omitempty"`
Holds *[]LegalHoldRecord `json:"holds,omitempty"`
// RecoveryPoint The moment the installation was recovered to; recorded with each hold placed.
RecoveryPoint time.Time `json:"recovery_point"`
}
LegalHoldReplaceRequest The holds come with the request, read from the cluster recovered to the end of the WAL archive, or from a workspace archive the server reads where that end is unusable. Exactly one of `holds` and `archive`.
type LegalHoldReplaceResult ¶
type LegalHoldReplaceResult struct {
// Archive Present when the holds were read from an archive: how far that source reaches. A hold placed between `snapshot_at` and the loss is not in it.
Archive *struct {
// AuditTrail Whether the archive includes the audit trail. Without it only the holds the archive's own copy of the workspace carries are in the answer.
AuditTrail bool `json:"audit_trail"`
Path string `json:"path"`
// SnapshotAt The moment the archive was taken, where the gap begins.
SnapshotAt time.Time `json:"snapshot_at"`
// UnreadableEntries Records of a hold, in the archive's copy or its trail, that name too little to place it again; left out.
UnreadableEntries int `json:"unreadable_entries"`
} `json:"archive,omitempty"`
Holds []struct {
Id openapi_types.UUID `json:"id"`
// Outcome PLACED when this run placed it, PRESENT when the workspace already had it.
Outcome LegalHoldReplaceResultHoldsOutcome `json:"outcome"`
// ReleasedInPeriod Whether it had been released in the rewound period - its owner releases it again.
ReleasedInPeriod bool `json:"released_in_period"`
// TargetPresent Whether what the hold names exists in the recovered workspace.
TargetPresent bool `json:"target_present"`
} `json:"holds"`
}
LegalHoldReplaceResult defines model for LegalHoldReplaceResult.
type LegalHoldReplaceResultHoldsOutcome ¶
type LegalHoldReplaceResultHoldsOutcome string
LegalHoldReplaceResultHoldsOutcome PLACED when this run placed it, PRESENT when the workspace already had it.
const ( PLACED LegalHoldReplaceResultHoldsOutcome = "PLACED" PRESENT LegalHoldReplaceResultHoldsOutcome = "PRESENT" )
Defines values for LegalHoldReplaceResultHoldsOutcome.
func (LegalHoldReplaceResultHoldsOutcome) Valid ¶
func (e LegalHoldReplaceResultHoldsOutcome) Valid() bool
Valid indicates whether the value is a known member of the LegalHoldReplaceResultHoldsOutcome enum.
type LegalHoldScopeKind ¶
type LegalHoldScopeKind string
LegalHoldScopeKind What the hold covers. TENANT names nothing because it covers everything; CONTAINER and ITEM name what they hold, and the hold reaches everything below it.
const ( LegalHoldScopeKindACCOUNT LegalHoldScopeKind = "ACCOUNT" LegalHoldScopeKindCONTAINER LegalHoldScopeKind = "CONTAINER" LegalHoldScopeKindITEM LegalHoldScopeKind = "ITEM" LegalHoldScopeKindTENANT LegalHoldScopeKind = "TENANT" )
Defines values for LegalHoldScopeKind.
func (LegalHoldScopeKind) Valid ¶
func (e LegalHoldScopeKind) Valid() bool
Valid indicates whether the value is a known member of the LegalHoldScopeKind enum.
type LegalLinks ¶
type LegalLinks struct {
AccessibilityUrl *string `json:"accessibility_url,omitempty"`
ImprintUrl *string `json:"imprint_url,omitempty"`
PrivacyUrl *string `json:"privacy_url,omitempty"`
// TermsSetBy Present with `terms_url`: whether the workspace or the installation set the terms, so that a screen can say whom to ask about them.
TermsSetBy *LegalLinksTermsSetBy `json:"terms_set_by,omitempty"`
TermsUrl *string `json:"terms_url,omitempty"`
// TermsVersion The version of the terms of use in force, from the level that set `terms_url`; absent where the terms carry none. Where `terms_url` is present, a person agrees to the terms when accepting an invitation and again at the first sign-in after the link or the version changed.
TermsVersion *string `json:"terms_version,omitempty"`
}
LegalLinks The links this installation's operator is obliged to show, resolved workspace -> instance -> nothing. A link that is set nowhere is **absent** rather than empty: a private installation owes nobody an imprint, and a footer of four links pointing nowhere is worse than no footer.
type LegalLinksTermsSetBy ¶
type LegalLinksTermsSetBy string
LegalLinksTermsSetBy Present with `terms_url`: whether the workspace or the installation set the terms, so that a screen can say whom to ask about them.
const ( LegalLinksTermsSetByINSTALLATION LegalLinksTermsSetBy = "INSTALLATION" LegalLinksTermsSetByWORKSPACE LegalLinksTermsSetBy = "WORKSPACE" )
Defines values for LegalLinksTermsSetBy.
func (LegalLinksTermsSetBy) Valid ¶
func (e LegalLinksTermsSetBy) Valid() bool
Valid indicates whether the value is a known member of the LegalLinksTermsSetBy enum.
type LegalPolicySettings ¶
type LegalPolicySettings struct {
AccessibilityUrl SignInPolicyText `json:"accessibility_url"`
ImprintUrl SignInPolicyText `json:"imprint_url"`
PrivacyUrl SignInPolicyText `json:"privacy_url"`
TermsUrl SignInPolicyText `json:"terms_url"`
// TermsVersion The version of the terms of use. It belongs to the terms link and resolves with it - from the same level, under the same lock: a workspace sets a version only beside a terms link of its own. Changing the link or the version asks every person to agree again at their next sign-in.
TermsVersion SignInPolicyText `json:"terms_version"`
}
LegalPolicySettings The four links, each with its own lock - B2C locks them, B2B leaves them open.
type LimitExceeded ¶
type LimitExceeded struct {
// Limit The limit in force.
Limit int64 `json:"limit"`
Quota string `json:"quota"`
// Used What the workspace holds.
Used int64 `json:"used"`
}
LimitExceeded defines model for LimitExceeded.
type LinkCompletion ¶
type LinkCompletion struct {
// Password The password of the account the provider's address matched.
Password string `json:"password"`
// PendingToken The `LINK` challenge's credential. It dies on use.
PendingToken string `json:"pending_token"`
}
LinkCompletion defines model for LinkCompletion.
type ListAccessTokensParams ¶
type ListAccessTokensParams struct {
// AccountId Whose tokens. Omitted means the caller's own. Naming a service account answers its tokens and needs the member management permission; naming another person is refused, whatever the role.
AccountId *openapi_types.UUID `form:"account_id,omitempty" json:"account_id,omitempty"`
}
ListAccessTokensParams defines parameters for ListAccessTokens.
type ListActivityParams ¶
type ListActivityParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListActivityParams defines parameters for ListActivity.
type ListAttachmentsParams ¶
type ListAttachmentsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListAttachmentsParams defines parameters for ListAttachments.
type ListAuditEntriesParams ¶
type ListAuditEntriesParams struct {
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
// Action A prefix filter, e.g. auth. or membership.role_changed
Action *string `form:"action,omitempty" json:"action,omitempty"`
ActorId *openapi_types.UUID `form:"actor_id,omitempty" json:"actor_id,omitempty"`
// TargetType The kind of object the entry is about, e.g. container or legal_hold
TargetType *string `form:"target_type,omitempty" json:"target_type,omitempty"`
// TargetId One object's whole history, whatever was done to it
TargetId *openapi_types.UUID `form:"target_id,omitempty" json:"target_id,omitempty"`
Outcome *ListAuditEntriesParamsOutcome `form:"outcome,omitempty" json:"outcome,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAuditEntriesParams defines parameters for ListAuditEntries.
type ListAuditEntriesParamsOutcome ¶
type ListAuditEntriesParamsOutcome string
ListAuditEntriesParamsOutcome defines parameters for ListAuditEntries.
const ( ListAuditEntriesParamsOutcomeDENIED ListAuditEntriesParamsOutcome = "DENIED" ListAuditEntriesParamsOutcomeFAILED ListAuditEntriesParamsOutcome = "FAILED" ListAuditEntriesParamsOutcomeSUCCESS ListAuditEntriesParamsOutcome = "SUCCESS" )
Defines values for ListAuditEntriesParamsOutcome.
func (ListAuditEntriesParamsOutcome) Valid ¶
func (e ListAuditEntriesParamsOutcome) Valid() bool
Valid indicates whether the value is a known member of the ListAuditEntriesParamsOutcome enum.
type ListBackupsAtTargetParams ¶
type ListBackupsAtTargetParams struct {
TenantId *openapi_types.UUID `form:"tenant_id,omitempty" json:"tenant_id,omitempty"`
// Refresh Bypass the cache and read again
Refresh *bool `form:"refresh,omitempty" json:"refresh,omitempty"`
}
ListBackupsAtTargetParams defines parameters for ListBackupsAtTarget.
type ListCommentsParams ¶
type ListCommentsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListCommentsParams defines parameters for ListComments.
type ListConsentsParams ¶
type ListConsentsParams struct {
Purpose ConsentPurpose `form:"purpose" json:"purpose"`
}
ListConsentsParams defines parameters for ListConsents.
type ListContainersParams ¶
type ListContainersParams struct {
Type *ContainerTypeFilter `form:"type,omitempty" json:"type,omitempty"`
ParentId *ParentId `form:"parent_id,omitempty" json:"parent_id,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
IncludeArchived *IncludeArchived `form:"include_archived,omitempty" json:"include_archived,omitempty"`
}
ListContainersParams defines parameters for ListContainers.
type ListCustomFieldsParams ¶
type ListCustomFieldsParams struct {
// CollectionId The collection whose definitions are wanted, together with the workspace-wide ones. Omitted answers the workspace-wide ones alone.
CollectionId *openapi_types.UUID `form:"collection_id,omitempty" json:"collection_id,omitempty"`
}
ListCustomFieldsParams defines parameters for ListCustomFields.
type ListDataSubjectRequestsParams ¶
type ListDataSubjectRequestsParams struct {
Status *DataSubjectRequestStatus `form:"status,omitempty" json:"status,omitempty"`
Kind *DataSubjectRequestKind `form:"kind,omitempty" json:"kind,omitempty"`
// DueWithinDays Only the requests whose deadline falls inside that many days, overdue ones included.
DueWithinDays *int `form:"due_within_days,omitempty" json:"due_within_days,omitempty"`
IncludeClosed *bool `form:"include_closed,omitempty" json:"include_closed,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *int `form:"size,omitempty" json:"size,omitempty"`
}
ListDataSubjectRequestsParams defines parameters for ListDataSubjectRequests.
type ListGroupsParams ¶
type ListGroupsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListGroupsParams defines parameters for ListGroups.
type ListInstanceJournalParams ¶
type ListInstanceJournalParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
// Action A prefix of the action, e.g. `tenant.` for every workspace's lifecycle or `tenant.suspended` for one act.
Action *string `form:"action,omitempty" json:"action,omitempty"`
// Workspace The address (slug) of the workspace the entries are about, as the journal kept it - also of one that is gone.
Workspace *string `form:"workspace,omitempty" json:"workspace,omitempty"`
}
ListInstanceJournalParams defines parameters for ListInstanceJournal.
type ListJumbleDestinationsParams ¶
type ListJumbleDestinationsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
// Size Collections scanned per page.
Size *int `form:"size,omitempty" json:"size,omitempty"`
}
ListJumbleDestinationsParams defines parameters for ListJumbleDestinations.
type ListJumbleEntriesParams ¶
type ListJumbleEntriesParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
// Status Narrow to one state. `NEW` is the inbox; `DISMISSED` ages out by rule.
Status *ListJumbleEntriesParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Channel Narrow to one way of arriving.
Channel *ListJumbleEntriesParamsChannel `form:"channel,omitempty" json:"channel,omitempty"`
}
ListJumbleEntriesParams defines parameters for ListJumbleEntries.
type ListJumbleEntriesParamsChannel ¶
type ListJumbleEntriesParamsChannel string
ListJumbleEntriesParamsChannel defines parameters for ListJumbleEntries.
const ( ListJumbleEntriesParamsChannelAPI ListJumbleEntriesParamsChannel = "API" ListJumbleEntriesParamsChannelEMAIL ListJumbleEntriesParamsChannel = "EMAIL" ListJumbleEntriesParamsChannelQUICKCAPTURE ListJumbleEntriesParamsChannel = "QUICK_CAPTURE" ListJumbleEntriesParamsChannelWEBHOOK ListJumbleEntriesParamsChannel = "WEBHOOK" )
Defines values for ListJumbleEntriesParamsChannel.
func (ListJumbleEntriesParamsChannel) Valid ¶
func (e ListJumbleEntriesParamsChannel) Valid() bool
Valid indicates whether the value is a known member of the ListJumbleEntriesParamsChannel enum.
type ListJumbleEntriesParamsStatus ¶
type ListJumbleEntriesParamsStatus string
ListJumbleEntriesParamsStatus defines parameters for ListJumbleEntries.
const ( ListJumbleEntriesParamsStatusDISMISSED ListJumbleEntriesParamsStatus = "DISMISSED" ListJumbleEntriesParamsStatusNEW ListJumbleEntriesParamsStatus = "NEW" ListJumbleEntriesParamsStatusPROCESSED ListJumbleEntriesParamsStatus = "PROCESSED" )
Defines values for ListJumbleEntriesParamsStatus.
func (ListJumbleEntriesParamsStatus) Valid ¶
func (e ListJumbleEntriesParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListJumbleEntriesParamsStatus enum.
type ListLabelsParams ¶
type ListLabelsParams struct {
// IncludeDeleted Also the labels taken out of the vocabulary, each with its `deleted_at`, so that a client can offer to bring one back. Without it a deleted label is not in the list.
IncludeDeleted *bool `form:"include_deleted,omitempty" json:"include_deleted,omitempty"`
}
ListLabelsParams defines parameters for ListLabels.
type ListLegalHoldsParams ¶
type ListLegalHoldsParams struct {
IncludeReleased *bool `form:"include_released,omitempty" json:"include_released,omitempty"`
}
ListLegalHoldsParams defines parameters for ListLegalHolds.
type ListMembershipsParams ¶
type ListMembershipsParams struct {
ScopeType MembershipScope `form:"scope_type" json:"scope_type"`
// ScopeId The hub, collection or entry. Omitted for the whole workspace, and only then.
ScopeId *openapi_types.UUID `form:"scope_id,omitempty" json:"scope_id,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListMembershipsParams defines parameters for ListMemberships.
type ListPlatformDeliveriesParams ¶
type ListPlatformDeliveriesParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
Status *ListPlatformDeliveriesParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
ListPlatformDeliveriesParams defines parameters for ListPlatformDeliveries.
type ListPlatformDeliveriesParamsStatus ¶
type ListPlatformDeliveriesParamsStatus string
ListPlatformDeliveriesParamsStatus defines parameters for ListPlatformDeliveries.
const ( ListPlatformDeliveriesParamsStatusDEADLETTER ListPlatformDeliveriesParamsStatus = "DEAD_LETTER" ListPlatformDeliveriesParamsStatusFAILED ListPlatformDeliveriesParamsStatus = "FAILED" ListPlatformDeliveriesParamsStatusPENDING ListPlatformDeliveriesParamsStatus = "PENDING" ListPlatformDeliveriesParamsStatusSUCCEEDED ListPlatformDeliveriesParamsStatus = "SUCCEEDED" )
Defines values for ListPlatformDeliveriesParamsStatus.
func (ListPlatformDeliveriesParamsStatus) Valid ¶
func (e ListPlatformDeliveriesParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListPlatformDeliveriesParamsStatus enum.
type ListPlatformEventsParams ¶
type ListPlatformEventsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListPlatformEventsParams defines parameters for ListPlatformEvents.
type ListRetentionPoliciesParams ¶
type ListRetentionPoliciesParams struct {
ContainerId *openapi_types.UUID `form:"container_id,omitempty" json:"container_id,omitempty"`
// Effective Only the rules actually in force, including inheritance
Effective *bool `form:"effective,omitempty" json:"effective,omitempty"`
}
ListRetentionPoliciesParams defines parameters for ListRetentionPolicies.
type ListRuleRunsParams ¶
type ListRuleRunsParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
// RuleId Narrow to one rule.
RuleId *openapi_types.UUID `form:"rule_id,omitempty" json:"rule_id,omitempty"`
// Status Narrow to one outcome. `FAILED` and `ABORTED_LOOP` are the two an operator usually wants; `THROTTLED` and `SKIPPED` are the ordinary answers of a rule that is working.
Status *ListRuleRunsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Trigger Narrow to one way of starting. "Did the schedule fire last night" and "did anybody press the button" are two questions about the same rule.
Trigger *ListRuleRunsParamsTrigger `form:"trigger,omitempty" json:"trigger,omitempty"`
// From The start of the window, inclusive, on `started_at`. Named as the audit trail names its window, so that a client that has learned one has learned both.
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
// To The end of the window, exclusive, on `started_at`. A window that ends before it starts is refused with the field named rather than answered empty.
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
}
ListRuleRunsParams defines parameters for ListRuleRuns.
type ListRuleRunsParamsStatus ¶
type ListRuleRunsParamsStatus string
ListRuleRunsParamsStatus defines parameters for ListRuleRuns.
const ( ListRuleRunsParamsStatusABORTEDLOOP ListRuleRunsParamsStatus = "ABORTED_LOOP" ListRuleRunsParamsStatusFAILED ListRuleRunsParamsStatus = "FAILED" ListRuleRunsParamsStatusRUNNING ListRuleRunsParamsStatus = "RUNNING" ListRuleRunsParamsStatusSKIPPED ListRuleRunsParamsStatus = "SKIPPED" ListRuleRunsParamsStatusSUCCEEDED ListRuleRunsParamsStatus = "SUCCEEDED" ListRuleRunsParamsStatusTHROTTLED ListRuleRunsParamsStatus = "THROTTLED" ListRuleRunsParamsStatusWAITING ListRuleRunsParamsStatus = "WAITING" )
Defines values for ListRuleRunsParamsStatus.
func (ListRuleRunsParamsStatus) Valid ¶
func (e ListRuleRunsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListRuleRunsParamsStatus enum.
type ListRuleRunsParamsTrigger ¶
type ListRuleRunsParamsTrigger string
ListRuleRunsParamsTrigger defines parameters for ListRuleRuns.
const ( ListRuleRunsParamsTriggerEVENT ListRuleRunsParamsTrigger = "EVENT" ListRuleRunsParamsTriggerINBOUNDWEBHOOK ListRuleRunsParamsTrigger = "INBOUND_WEBHOOK" ListRuleRunsParamsTriggerJUMBLEENTRY ListRuleRunsParamsTrigger = "JUMBLE_ENTRY" ListRuleRunsParamsTriggerMANUAL ListRuleRunsParamsTrigger = "MANUAL" ListRuleRunsParamsTriggerRELATIVEDATE ListRuleRunsParamsTrigger = "RELATIVE_DATE" ListRuleRunsParamsTriggerSCHEDULE ListRuleRunsParamsTrigger = "SCHEDULE" )
Defines values for ListRuleRunsParamsTrigger.
func (ListRuleRunsParamsTrigger) Valid ¶
func (e ListRuleRunsParamsTrigger) Valid() bool
Valid indicates whether the value is a known member of the ListRuleRunsParamsTrigger enum.
type ListRulesParams ¶
type ListRulesParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
// Enabled Narrow to the rules that are switched on, or to the ones that are not.
Enabled *bool `form:"enabled,omitempty" json:"enabled,omitempty"`
}
ListRulesParams defines parameters for ListRules.
type ListSavedViewsParams ¶
type ListSavedViewsParams struct {
// ContainerId The container whose shared views are wanted, together with the caller's own. Omitted answers the caller's own alone.
ContainerId *openapi_types.UUID `form:"container_id,omitempty" json:"container_id,omitempty"`
}
ListSavedViewsParams defines parameters for ListSavedViews.
type ListSuggestionsParams ¶
type ListSuggestionsParams struct {
TargetType SuggestionTargetType `form:"target_type" json:"target_type"`
TargetId openapi_types.UUID `form:"target_id" json:"target_id"`
// Status Narrows to one state. Absent answers what is still standing, `PROPOSED`.
Status *SuggestionStatus `form:"status,omitempty" json:"status,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListSuggestionsParams defines parameters for ListSuggestions.
type ListTemplatesParams ¶
type ListTemplatesParams struct {
// ContainerId The container whose templates are wanted, together with the ones above it.
ContainerId *openapi_types.UUID `form:"container_id,omitempty" json:"container_id,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListTemplatesParams defines parameters for ListTemplates.
type ListTrashParams ¶
type ListTrashParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ListTrashParams defines parameters for ListTrash.
type ListWebhookDeliveriesParams ¶
type ListWebhookDeliveriesParams struct {
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
// Status Narrow to one outcome - `DEAD_LETTER` is the one an operator usually wants.
Status *ListWebhookDeliveriesParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
ListWebhookDeliveriesParams defines parameters for ListWebhookDeliveries.
type ListWebhookDeliveriesParamsStatus ¶
type ListWebhookDeliveriesParamsStatus string
ListWebhookDeliveriesParamsStatus defines parameters for ListWebhookDeliveries.
const ( ListWebhookDeliveriesParamsStatusDEADLETTER ListWebhookDeliveriesParamsStatus = "DEAD_LETTER" ListWebhookDeliveriesParamsStatusFAILED ListWebhookDeliveriesParamsStatus = "FAILED" ListWebhookDeliveriesParamsStatusFILTERFAILED ListWebhookDeliveriesParamsStatus = "FILTER_FAILED" ListWebhookDeliveriesParamsStatusPENDING ListWebhookDeliveriesParamsStatus = "PENDING" ListWebhookDeliveriesParamsStatusSUCCEEDED ListWebhookDeliveriesParamsStatus = "SUCCEEDED" )
Defines values for ListWebhookDeliveriesParamsStatus.
func (ListWebhookDeliveriesParamsStatus) Valid ¶
func (e ListWebhookDeliveriesParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListWebhookDeliveriesParamsStatus enum.
type ListWorkItemsParams ¶
type ListWorkItemsParams struct {
CollectionId CollectionId `form:"collection_id" json:"collection_id"`
ParentId *ParentId `form:"parent_id,omitempty" json:"parent_id,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
IncludeArchived *IncludeArchived `form:"include_archived,omitempty" json:"include_archived,omitempty"`
// Expand Relations to include, e.g. children:1, labels, assignee, cover. A relation this installation does not serve is refused by name rather than ignored: an entry that came back without its labels because they were not implemented is indistinguishable from one that carries none.
Expand *Expand `form:"expand,omitempty" json:"expand,omitempty"`
}
ListWorkItemsParams defines parameters for ListWorkItems.
type LocateOidcFlowJSONRequestBody ¶
type LocateOidcFlowJSONRequestBody = OidcLocate
LocateOidcFlowJSONRequestBody defines body for LocateOidcFlow for application/json ContentType.
type Lookalike ¶
type Lookalike struct {
CollectionId openapi_types.UUID `json:"collection_id"`
ItemId openapi_types.UUID `json:"item_id"`
// Similarity How alike, between the threshold and 1, rounded to three places.
Similarity float32 `json:"similarity"`
// Title The entry's title, as the caller may read it.
Title string `json:"title"`
}
Lookalike defines model for Lookalike.
type LookalikePage ¶
type LookalikePage struct {
Items []Lookalike `json:"items"`
}
LookalikePage defines model for LookalikePage.
type MailDelivered ¶
type MailDelivered struct {
CommentId *openapi_types.UUID `json:"comment_id,omitempty"`
// Duplicate The message had been received before; nothing was done again.
Duplicate *bool `json:"duplicate,omitempty"`
// EntryId The jumble entry.
EntryId *openapi_types.UUID `json:"entry_id,omitempty"`
// ItemId The entry created or commented on.
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
Outcome MailDeliveredOutcome `json:"outcome"`
// Reason Why a message waits in the jumble or was dropped.
Reason *MailReason `json:"reason,omitempty"`
}
MailDelivered defines model for MailDelivered.
type MailDeliveredOutcome ¶
type MailDeliveredOutcome string
MailDeliveredOutcome defines model for MailDelivered.Outcome.
const ( MailDeliveredOutcomeCOMMENT MailDeliveredOutcome = "COMMENT" MailDeliveredOutcomeDISCARDED MailDeliveredOutcome = "DISCARDED" MailDeliveredOutcomeENTRY MailDeliveredOutcome = "ENTRY" MailDeliveredOutcomeJUMBLE MailDeliveredOutcome = "JUMBLE" )
Defines values for MailDeliveredOutcome.
func (MailDeliveredOutcome) Valid ¶
func (e MailDeliveredOutcome) Valid() bool
Valid indicates whether the value is a known member of the MailDeliveredOutcome enum.
type MailReason ¶
type MailReason string
MailReason Why a message waits in the jumble or was dropped.
const ( AUTOMATIC MailReason = "AUTOMATIC" NOROUTE MailReason = "NO_ROUTE" NOTPERMITTED MailReason = "NOT_PERMITTED" REFUSEDBYPLACE MailReason = "REFUSED_BY_PLACE" SENDERBLOCKED MailReason = "SENDER_BLOCKED" SENDERNOTALLOWED MailReason = "SENDER_NOT_ALLOWED" SPAM MailReason = "SPAM" TOOMANY MailReason = "TOO_MANY" UNKNOWNPLACE MailReason = "UNKNOWN_PLACE" UNPARSEABLE MailReason = "UNPARSEABLE" )
Defines values for MailReason.
func (MailReason) Valid ¶
func (e MailReason) Valid() bool
Valid indicates whether the value is a known member of the MailReason enum.
type MailReceipt ¶
type MailReceipt struct {
// Door inbound for the operator's service, or the connected mailbox's address.
Door string `json:"door"`
EntryId *openapi_types.UUID `json:"entry_id,omitempty"`
Id openapi_types.UUID `json:"id"`
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
Outcome MailReceiptOutcome `json:"outcome"`
// Reason Why a message waits in the jumble or was dropped.
Reason *MailReason `json:"reason,omitempty"`
ReceivedAt time.Time `json:"received_at"`
Sender string `json:"sender"`
Subject string `json:"subject"`
}
MailReceipt defines model for MailReceipt.
type MailReceiptList ¶
type MailReceiptList struct {
Receipts []MailReceipt `json:"receipts"`
}
MailReceiptList defines model for MailReceiptList.
type MailReceiptOutcome ¶
type MailReceiptOutcome string
MailReceiptOutcome defines model for MailReceipt.Outcome.
const ( MailReceiptOutcomeCOMMENT MailReceiptOutcome = "COMMENT" MailReceiptOutcomeDISCARDED MailReceiptOutcome = "DISCARDED" MailReceiptOutcomeENTRY MailReceiptOutcome = "ENTRY" MailReceiptOutcomeJUMBLE MailReceiptOutcome = "JUMBLE" )
Defines values for MailReceiptOutcome.
func (MailReceiptOutcome) Valid ¶
func (e MailReceiptOutcome) Valid() bool
Valid indicates whether the value is a known member of the MailReceiptOutcome enum.
type MailSenderRoute ¶
type MailSenderRoute struct {
CollectionId openapi_types.UUID `json:"collection_id"`
// Match An address or an @domain.
Match string `json:"match"`
}
MailSenderRoute defines model for MailSenderRoute.
type MailSenders ¶
type MailSenders struct {
// Allowed Addresses and @domains admitted under MEMBERS_AND_ALLOWED.
Allowed *[]string `json:"allowed,omitempty"`
// Blocked Addresses and @domains whose mail is dropped, before every level.
Blocked *[]string `json:"blocked,omitempty"`
// Level Who may write. MEMBERS write as themselves; under the other two a sender who is not a member writes through the account that saved the settings.
Level *MailSendersLevel `json:"level,omitempty"`
}
MailSenders defines model for MailSenders.
type MailSendersLevel ¶
type MailSendersLevel string
MailSendersLevel Who may write. MEMBERS write as themselves; under the other two a sender who is not a member writes through the account that saved the settings.
const ( ANYONE MailSendersLevel = "ANYONE" MEMBERS MailSendersLevel = "MEMBERS" MEMBERSANDALLOWED MailSendersLevel = "MEMBERS_AND_ALLOWED" )
Defines values for MailSendersLevel.
func (MailSendersLevel) Valid ¶
func (e MailSendersLevel) Valid() bool
Valid indicates whether the value is a known member of the MailSendersLevel enum.
type MailSettings ¶
type MailSettings struct {
// Address The workspace's own address there, name@domain.
Address *string `json:"address,omitempty"`
// DefaultCollectionId Where a message naming no place goes; absent for the jumble.
DefaultCollectionId *openapi_types.UUID `json:"default_collection_id,omitempty"`
// Domain The operator's receiving domain; absent where the installation has none.
Domain *string `json:"domain,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
// Name The workspace's name on the operator's receiving domain, unique on the installation.
Name *string `json:"name,omitempty"`
SenderRoutes *[]MailSenderRoute `json:"sender_routes,omitempty"`
Senders *MailSenders `json:"senders,omitempty"`
}
MailSettings defines model for MailSettings.
type Mailbox ¶
type Mailbox struct {
Address string `json:"address"`
// Auth How it signs in.
Auth MailboxAuth `json:"auth"`
CheckedAt *time.Time `json:"checked_at,omitempty"`
CreatedAt time.Time `json:"created_at"`
DoneFolder string `json:"done_folder"`
Enabled bool `json:"enabled"`
// Failing The reads have failed for an hour or longer.
Failing bool `json:"failing"`
// Failure What the last read failed with, as a message code: mail.mailbox_refused, mail.mailbox_unreachable, mail.mailbox_folder_missing, mail.intake_off, mail.oauth_revoked, mail.oauth_refused, mail.oauth_app_missing.
Failure *string `json:"failure,omitempty"`
Folder string `json:"folder"`
Host *string `json:"host,omitempty"`
Id openapi_types.UUID `json:"id"`
// OauthProvider google, microsoft or custom, for OAUTH.
OauthProvider *string `json:"oauth_provider,omitempty"`
PlusAddresses *bool `json:"plus_addresses,omitempty"`
Port *int `json:"port,omitempty"`
Preset *string `json:"preset,omitempty"`
Protocol MailboxProtocol `json:"protocol"`
SessionUrl *string `json:"session_url,omitempty"`
Username string `json:"username"`
}
Mailbox defines model for Mailbox.
type MailboxAuth ¶
type MailboxAuth string
MailboxAuth How it signs in.
const ( MailboxAuthOAUTH MailboxAuth = "OAUTH" MailboxAuthPASSWORD MailboxAuth = "PASSWORD" )
Defines values for MailboxAuth.
func (MailboxAuth) Valid ¶
func (e MailboxAuth) Valid() bool
Valid indicates whether the value is a known member of the MailboxAuth enum.
type MailboxAuthorization ¶
type MailboxAuthorization struct {
AuthorizeUrl string `json:"authorize_url"`
ExpiresAt time.Time `json:"expires_at"`
}
MailboxAuthorization defines model for MailboxAuthorization.
type MailboxAuthorizationAnswer ¶
type MailboxAuthorizationAnswer struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
State string `json:"state"`
}
MailboxAuthorizationAnswer defines model for MailboxAuthorizationAnswer.
type MailboxAuthorizationRequest ¶
type MailboxAuthorizationRequest struct {
// Address The mailbox's address, a hint for the provider; kept where the provider names none.
Address *string `json:"address,omitempty"`
// AuthorizeUrl custom: the authorization endpoint.
AuthorizeUrl *string `json:"authorize_url,omitempty"`
// ClientId An app of one's own; without it the installation's.
ClientId *string `json:"client_id,omitempty"`
// ClientSecret That app's secret; none for a public client. Stored sealed and never answered.
ClientSecret *string `json:"client_secret,omitempty"`
// Host custom: the IMAP server.
Host *string `json:"host,omitempty"`
Port *int `json:"port,omitempty"`
// Provider google, microsoft, or custom for any other provider.
Provider string `json:"provider"`
// Scopes custom: the scopes that grant IMAP access and a refresh token.
Scopes *[]string `json:"scopes,omitempty"`
// TokenUrl custom: the token endpoint.
TokenUrl *string `json:"token_url,omitempty"`
}
MailboxAuthorizationRequest defines model for MailboxAuthorizationRequest.
type MailboxConnection ¶
type MailboxConnection struct {
Address openapi_types.Email `json:"address"`
DoneFolder *string `json:"done_folder,omitempty"`
Folder *string `json:"folder,omitempty"`
Host *string `json:"host,omitempty"`
Port *int `json:"port,omitempty"`
Preset *string `json:"preset,omitempty"`
Protocol *MailboxConnectionProtocol `json:"protocol,omitempty"`
// Secret The password, app password or token. Stored sealed and never answered.
Secret *string `json:"secret,omitempty"`
SessionUrl *string `json:"session_url,omitempty"`
Username *string `json:"username,omitempty"`
}
MailboxConnection defines model for MailboxConnection.
type MailboxConnectionProtocol ¶
type MailboxConnectionProtocol string
MailboxConnectionProtocol defines model for MailboxConnection.Protocol.
const ( MailboxConnectionProtocolIMAP MailboxConnectionProtocol = "IMAP" MailboxConnectionProtocolJMAP MailboxConnectionProtocol = "JMAP" )
Defines values for MailboxConnectionProtocol.
func (MailboxConnectionProtocol) Valid ¶
func (e MailboxConnectionProtocol) Valid() bool
Valid indicates whether the value is a known member of the MailboxConnectionProtocol enum.
type MailboxList ¶
type MailboxList struct {
Mailboxes []Mailbox `json:"mailboxes"`
// OauthProviders The providers a mailbox connects to through their sign-in, and whether the installation brings an app for each. Empty where this installation connects no mailbox through OAuth.
OauthProviders *[]MailboxOAuthProvider `json:"oauth_providers,omitempty"`
// OauthRedirectUrl The redirect URI to register with an app of one's own.
OauthRedirectUrl *string `json:"oauth_redirect_url,omitempty"`
Presets []MailboxPreset `json:"presets"`
}
MailboxList defines model for MailboxList.
type MailboxOAuthProvider ¶
type MailboxOAuthProvider struct {
// Hint A message code saying what the provider asks for.
Hint string `json:"hint"`
// Installation The operator configured an app for this provider; connecting is one button.
Installation bool `json:"installation"`
// Key google, microsoft.
Key string `json:"key"`
}
MailboxOAuthProvider defines model for MailboxOAuthProvider.
type MailboxPreset ¶
type MailboxPreset struct {
// Hint A message code saying what the provider asks for first.
Hint string `json:"hint"`
// Key gmail, gmx, webde, ionos, fastmail.
Key string `json:"key"`
// PlusAddresses The provider delivers name+tag@ to name@, so a plus tag can name a place.
PlusAddresses bool `json:"plus_addresses"`
Protocol MailboxPresetProtocol `json:"protocol"`
}
MailboxPreset defines model for MailboxPreset.
type MailboxPresetProtocol ¶
type MailboxPresetProtocol string
MailboxPresetProtocol defines model for MailboxPreset.Protocol.
const ( MailboxPresetProtocolIMAP MailboxPresetProtocol = "IMAP" MailboxPresetProtocolJMAP MailboxPresetProtocol = "JMAP" )
Defines values for MailboxPresetProtocol.
func (MailboxPresetProtocol) Valid ¶
func (e MailboxPresetProtocol) Valid() bool
Valid indicates whether the value is a known member of the MailboxPresetProtocol enum.
type MailboxProtocol ¶
type MailboxProtocol string
MailboxProtocol defines model for Mailbox.Protocol.
const ( MailboxProtocolIMAP MailboxProtocol = "IMAP" MailboxProtocolJMAP MailboxProtocol = "JMAP" )
Defines values for MailboxProtocol.
func (MailboxProtocol) Valid ¶
func (e MailboxProtocol) Valid() bool
Valid indicates whether the value is a known member of the MailboxProtocol enum.
type MakeEntriesJSONRequestBody ¶
type MakeEntriesJSONRequestBody = EntriesText
MakeEntriesJSONRequestBody defines body for MakeEntries for application/json ContentType.
type MakeEntriesParams ¶
type MakeEntriesParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
MakeEntriesParams defines parameters for MakeEntries.
type ManagedAccountCreate ¶
type ManagedAccountCreate struct {
DisplayName string `json:"display_name"`
// Role `AUDITOR` is the one that is not a rung on the same ladder: it reads the audit trail and
// the configuration and no content at all. It exists because the
// alternative, in practice, is giving an auditor administrator rights - a permissions
// problem that arises precisely where evidence is being demanded. Somebody who needs both
// holds two memberships; the rights add up rather than the stronger one winning.
Role MembershipRole `json:"role"`
// ScopeId Absent for `TENANT`; the hub, collection or entry otherwise.
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
ScopeType MembershipScope `json:"scope_type"`
// SignInName 3 to 32 characters after folding (compatibility form, lower case, trimmed); no `@`, no whitespace and no control character. Unique in the workspace.
SignInName string `json:"sign_in_name"`
}
ManagedAccountCreate defines model for ManagedAccountCreate.
type ManagedAccountCreated ¶
type ManagedAccountCreated struct {
Account Account `json:"account"`
Membership Membership `json:"membership"`
// StartPassword Shown here and never again. The person types it once, with the sign-in name, and then chooses their own.
StartPassword string `json:"start_password"`
}
ManagedAccountCreated defines model for ManagedAccountCreated.
type MediaObject ¶
type MediaObject struct {
Checksum *string `json:"checksum,omitempty"`
// ContentType While PENDING, the claim the upload declared; once READY, the judged type - sniffed from the bytes, never the claim. Delivery decides from this.
ContentType string `json:"content_type"`
CreatedAt time.Time `json:"created_at"`
CreatedBy openapi_types.UUID `json:"created_by"`
// Download Where to fetch the bytes, present on a GET once the object is READY.
Download *MediaTransfer `json:"download,omitempty"`
// FileName The name the file arrived under, for the download - never a storage path.
FileName *string `json:"file_name,omitempty"`
Id openapi_types.UUID `json:"id"`
// RefCount How many covers, attachments and avatars point at the object. Zero and READY means the reconciliation job will remove it after its grace period; deletion by hand is only possible at zero.
RefCount int `json:"ref_count"`
// Size Declared while PENDING, measured once READY.
Size int64 `json:"size"`
// Status PENDING between staging and confirmation; READY once the bytes were read back, judged and sealed. Only READY objects can cover or be attached.
Status MediaObjectStatus `json:"status"`
// Upload Where to put the bytes, present in the answer that staged the upload and on a GET while the object is PENDING and the target has not expired.
Upload *MediaTransfer `json:"upload,omitempty"`
Usage MediaObjectUsage `json:"usage"`
}
MediaObject defines model for MediaObject.
type MediaObjectStatus ¶
type MediaObjectStatus string
MediaObjectStatus PENDING between staging and confirmation; READY once the bytes were read back, judged and sealed. Only READY objects can cover or be attached.
const ( MediaObjectStatusPENDING MediaObjectStatus = "PENDING" MediaObjectStatusREADY MediaObjectStatus = "READY" )
Defines values for MediaObjectStatus.
func (MediaObjectStatus) Valid ¶
func (e MediaObjectStatus) Valid() bool
Valid indicates whether the value is a known member of the MediaObjectStatus enum.
type MediaObjectUsage ¶
type MediaObjectUsage string
MediaObjectUsage defines model for MediaObject.Usage.
const ( MediaObjectUsageATTACHMENT MediaObjectUsage = "ATTACHMENT" MediaObjectUsageAVATAR MediaObjectUsage = "AVATAR" MediaObjectUsageCOVER MediaObjectUsage = "COVER" MediaObjectUsageIMPORT MediaObjectUsage = "IMPORT" )
Defines values for MediaObjectUsage.
func (MediaObjectUsage) Valid ¶
func (e MediaObjectUsage) Valid() bool
Valid indicates whether the value is a known member of the MediaObjectUsage enum.
type MediaPage ¶
type MediaPage struct {
Data []MediaObject `json:"data"`
Page PageInfo `json:"page"`
}
MediaPage defines model for MediaPage.
type MediaTransfer ¶
type MediaTransfer struct {
ExpiresAt time.Time `json:"expires_at"`
Method MediaTransferMethod `json:"method"`
Url string `json:"url"`
}
MediaTransfer One side of the byte transfer: the URL is the capability - a presigned object-storage URL, or this server's token-protected content route - and it expires.
type MediaTransferMethod ¶
type MediaTransferMethod string
MediaTransferMethod defines model for MediaTransfer.Method.
const ( MediaTransferMethodGET MediaTransferMethod = "GET" MediaTransferMethodPUT MediaTransferMethod = "PUT" )
Defines values for MediaTransferMethod.
func (MediaTransferMethod) Valid ¶
func (e MediaTransferMethod) Valid() bool
Valid indicates whether the value is a known member of the MediaTransferMethod enum.
type MediaUploadRequest ¶
type MediaUploadRequest struct {
// ContentType The claim. Reconciled against the bytes at confirmation; a lie about a renderable type is refused there.
ContentType *string `json:"content_type,omitempty"`
FileName *string `json:"file_name,omitempty"`
// Size The exact size in bytes. Bounded by the installation's upload limit.
Size int64 `json:"size"`
// Usage What the object is for. `IMPORT` stages a file for `POST /imports` and nothing else: an object staged as an import cannot become a cover or an attachment, and it is deleted when the import's job ends. `AVATAR` stages a picture for `PUT /accounts/me/avatar`, at most 5 MB.
Usage MediaUploadRequestUsage `json:"usage"`
}
MediaUploadRequest defines model for MediaUploadRequest.
type MediaUploadRequestUsage ¶
type MediaUploadRequestUsage string
MediaUploadRequestUsage What the object is for. `IMPORT` stages a file for `POST /imports` and nothing else: an object staged as an import cannot become a cover or an attachment, and it is deleted when the import's job ends. `AVATAR` stages a picture for `PUT /accounts/me/avatar`, at most 5 MB.
const ( MediaUploadRequestUsageATTACHMENT MediaUploadRequestUsage = "ATTACHMENT" MediaUploadRequestUsageAVATAR MediaUploadRequestUsage = "AVATAR" MediaUploadRequestUsageCOVER MediaUploadRequestUsage = "COVER" MediaUploadRequestUsageIMPORT MediaUploadRequestUsage = "IMPORT" )
Defines values for MediaUploadRequestUsage.
func (MediaUploadRequestUsage) Valid ¶
func (e MediaUploadRequestUsage) Valid() bool
Valid indicates whether the value is a known member of the MediaUploadRequestUsage enum.
type Membership ¶
type Membership struct {
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
GroupId *openapi_types.UUID `json:"group_id,omitempty"`
Id openapi_types.UUID `json:"id"`
// Role `AUDITOR` is the one that is not a rung on the same ladder: it reads the audit trail and
// the configuration and no content at all. It exists because the
// alternative, in practice, is giving an auditor administrator rights - a permissions
// problem that arises precisely where evidence is being demanded. Somebody who needs both
// holds two memberships; the rights add up rather than the stronger one winning.
Role MembershipRole `json:"role"`
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
ScopeType MembershipScope `json:"scope_type"`
}
Membership defines model for Membership.
type MembershipGrant ¶
type MembershipGrant struct {
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
GroupId *openapi_types.UUID `json:"group_id,omitempty"`
// Role `AUDITOR` is the one that is not a rung on the same ladder: it reads the audit trail and
// the configuration and no content at all. It exists because the
// alternative, in practice, is giving an auditor administrator rights - a permissions
// problem that arises precisely where evidence is being demanded. Somebody who needs both
// holds two memberships; the rights add up rather than the stronger one winning.
Role MembershipRole `json:"role"`
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
ScopeType MembershipScope `json:"scope_type"`
}
MembershipGrant Exactly one of `account_id` and `group_id`. Neither grants to nobody; both would leave no answer to whose right it is when one of the two is removed.
type MembershipId ¶
type MembershipId = openapi_types.UUID
MembershipId defines model for MembershipId.
type MembershipPage ¶
type MembershipPage struct {
Data []Membership `json:"data"`
// GrantableRoles The roles the caller may grant at this scope, strongest first: those at or below the
// strongest role they hold along it, where they may manage members there. Empty where
// every grant here would be refused, a token without `members:write` included. A client
// offers exactly these.
GrantableRoles []MembershipRole `json:"grantable_roles"`
Page PageInfo `json:"page"`
}
MembershipPage defines model for MembershipPage.
type MembershipRole ¶
type MembershipRole string
MembershipRole `AUDITOR` is the one that is not a rung on the same ladder: it reads the audit trail and the configuration and no content at all. It exists because the alternative, in practice, is giving an auditor administrator rights - a permissions problem that arises precisely where evidence is being demanded. Somebody who needs both holds two memberships; the rights add up rather than the stronger one winning.
const ( MembershipRoleADMIN MembershipRole = "ADMIN" MembershipRoleAUDITOR MembershipRole = "AUDITOR" MembershipRoleCONTRIBUTOR MembershipRole = "CONTRIBUTOR" MembershipRoleGUEST MembershipRole = "GUEST" MembershipRoleMEMBER MembershipRole = "MEMBER" MembershipRoleOWNER MembershipRole = "OWNER" MembershipRoleVIEWER MembershipRole = "VIEWER" )
Defines values for MembershipRole.
func (MembershipRole) Valid ¶
func (e MembershipRole) Valid() bool
Valid indicates whether the value is a known member of the MembershipRole enum.
type MembershipScope ¶
type MembershipScope string
MembershipScope defines model for MembershipScope.
const ( MembershipScopeCOLLECTION MembershipScope = "COLLECTION" MembershipScopeHUB MembershipScope = "HUB" MembershipScopeITEM MembershipScope = "ITEM" MembershipScopeTENANT MembershipScope = "TENANT" )
Defines values for MembershipScope.
func (MembershipScope) Valid ¶
func (e MembershipScope) Valid() bool
Valid indicates whether the value is a known member of the MembershipScope enum.
type MfaChallenge ¶
type MfaChallenge struct {
// Email Whose account the step is for, for the identity line on the card, where the person typed no address: with `LINK`, the account the provider's address matched - the person arrived from the provider; with the first step a provider's return or a connect link from the mail answers, for the same reason; and with every step a password reset answers - the person arrived from the link in the mail. A later step of the same sign-in may carry none: the card keeps the name it already shows. Absent after a password sign-in, whose first step the address was typed into.
Email *string `json:"email,omitempty"`
ExpiresAt time.Time `json:"expires_at"`
// Methods `TOTP` (the authenticator app), `PASSKEY` (a passkey or security key) and `RECOVERY` for an account holding a second factor, each where it can be given; `ENROLL` alone for somebody the workspace demands a factor of who holds none; `PASSWORD_CHANGE` alone for a password that was right and no longer meets the rule; `LINK` alone for a provider arrival that met an account with a password, completed at `/auth/sessions:link`; `TERMS` alone, after every other step, where the account has not agreed to the terms of use in force, completed at `/auth/sessions:agree-terms`. Each is a step the pending credential can complete and nothing else.
Methods []MfaChallengeMethods `json:"methods"`
// PasskeyOptions Present with `PASSKEY`: the options for `navigator.credentials.get()` that complete this step at `/auth/sessions:verify` - the account's passkeys and security keys, a challenge of the step's own. Presence on the device suffices here; the password came first.
PasskeyOptions *PasskeyAssertionOptions `json:"passkey_options,omitempty"`
// PasskeySetup With `ENROLL`: whether a passkey or a security key can be set up here instead of the authenticator app - only where the page runs at the workspace's own address.
PasskeySetup *bool `json:"passkey_setup,omitempty"`
// PasswordRules Present with `PASSWORD_CHANGE` and with no other step: the screen that asks for a new password needs the rule in the same answer, or the list under the field arrives a round trip after the field does.
PasswordRules *PasswordRules `json:"password_rules,omitempty"`
// PendingToken Presented at `/auth/sessions:verify` - or, for ENROLL, at the enrolment routes.
PendingToken string `json:"pending_token"`
// ProviderName Present with `LINK`: the name of the provider that will sign the person in once the account is proven.
ProviderName *string `json:"provider_name,omitempty"`
// Terms Present with `TERMS` and with no other step - the terms to agree to.
Terms *TermsInForce `json:"terms,omitempty"`
}
MfaChallenge The second step a two-step sign-in owes. The pending credential is a row with the session machinery's discipline - short-lived, single-use, revoked by the clock - and it can do nothing but complete this sign-in.
type MfaChallengeMethods ¶
type MfaChallengeMethods string
MfaChallengeMethods defines model for MfaChallenge.Methods.
const ( MfaChallengeMethodsENROLL MfaChallengeMethods = "ENROLL" MfaChallengeMethodsLINK MfaChallengeMethods = "LINK" MfaChallengeMethodsPASSKEY MfaChallengeMethods = "PASSKEY" MfaChallengeMethodsPASSWORDCHANGE MfaChallengeMethods = "PASSWORD_CHANGE" MfaChallengeMethodsRECOVERY MfaChallengeMethods = "RECOVERY" MfaChallengeMethodsTERMS MfaChallengeMethods = "TERMS" MfaChallengeMethodsTOTP MfaChallengeMethods = "TOTP" )
Defines values for MfaChallengeMethods.
func (MfaChallengeMethods) Valid ¶
func (e MfaChallengeMethods) Valid() bool
Valid indicates whether the value is a known member of the MfaChallengeMethods enum.
type MfaDisable ¶
type MfaDisable struct {
// Password **Deprecated**: the proof this route took before the step-up did. Still checked when sent without a step-up token, for one release; then removed.
// Deprecated: this property has been marked as deprecated upstream, but no `x-deprecated-reason` was set
Password *string `json:"password,omitempty"`
}
MfaDisable defines model for MfaDisable.
type MoveContainerJSONBody ¶
type MoveContainerJSONBody struct {
// BeforeContainerId The sibling to place this collection before at the destination. Null or omitted appends to the end of the level.
BeforeContainerId *openapi_types.UUID `json:"before_container_id,omitempty"`
// TargetParentId The hub the collection moves into. Naming the one it is in reorders it there.
TargetParentId openapi_types.UUID `json:"target_parent_id"`
}
MoveContainerJSONBody defines parameters for MoveContainer.
type MoveContainerJSONRequestBody ¶
type MoveContainerJSONRequestBody MoveContainerJSONBody
MoveContainerJSONRequestBody defines body for MoveContainer for application/json ContentType.
type MoveContainerParams ¶
type MoveContainerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
MoveContainerParams defines parameters for MoveContainer.
type MoveResult ¶
type MoveResult struct {
// DroppedReferences Labels, buckets, members or custom fields that could not be resolved in the destination collection and were therefore removed (invariant I-W6: unresolvable references are reported back, never silently dropped). Always present; empty when nothing was lost.
DroppedReferences []DroppedReference `json:"dropped_references"`
Item WorkItem `json:"item"`
}
MoveResult defines model for MoveResult.
type MoveTenantPlanJSONRequestBody ¶
type MoveTenantPlanJSONRequestBody = TenantPlanMove
MoveTenantPlanJSONRequestBody defines body for MoveTenantPlan for application/json ContentType.
type MoveTenantPlanParams ¶
type MoveTenantPlanParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
MoveTenantPlanParams defines parameters for MoveTenantPlan.
type MoveWorkItemJSONBody ¶
type MoveWorkItemJSONBody struct {
// BeforeItemId The sibling to place this item before at the destination. Null or omitted appends.
BeforeItemId *openapi_types.UUID `json:"before_item_id,omitempty"`
TargetBucketId *openapi_types.UUID `json:"target_bucket_id,omitempty"`
// TargetCollectionId The destination collection. May be omitted when target_parent_id is given: an item's collection is the one its parent is in.
TargetCollectionId *openapi_types.UUID `json:"target_collection_id,omitempty"`
// TargetParentId The item to move this one under. Null moves it to the top level of a collection, which then has to be named by target_collection_id.
TargetParentId *openapi_types.UUID `json:"target_parent_id,omitempty"`
}
MoveWorkItemJSONBody defines parameters for MoveWorkItem.
type MoveWorkItemJSONRequestBody ¶
type MoveWorkItemJSONRequestBody MoveWorkItemJSONBody
MoveWorkItemJSONRequestBody defines body for MoveWorkItem for application/json ContentType.
type MoveWorkItemParams ¶
type MoveWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
MoveWorkItemParams defines parameters for MoveWorkItem.
type NotificationPreference ¶
type NotificationPreference struct {
Category string `json:"category"`
Channel string `json:"channel"`
Enabled bool `json:"enabled"`
// IncludeTitle Whether an email of this category names the entry it is about.
IncludeTitle bool `json:"include_title"`
// IsDefault True when nobody has written this pair and the value is the installation's default. "Not stored" and "off" are different facts, and a form that showed the default as a choice somebody made would be lying about who made it.
IsDefault bool `json:"is_default"`
UpdatedAt *time.Time `json:"updated_at"`
}
NotificationPreference defines model for NotificationPreference.
type NotificationPreferenceList ¶
type NotificationPreferenceList struct {
Data []NotificationPreference `json:"data"`
}
NotificationPreferenceList defines model for NotificationPreferenceList.
type NotificationPreferenceUpdate ¶
type NotificationPreferenceUpdate struct {
Enabled bool `json:"enabled"`
IncludeTitle bool `json:"include_title"`
}
NotificationPreferenceUpdate defines model for NotificationPreferenceUpdate.
type OauthAuthorization ¶
type OauthAuthorization struct {
ClientId openapi_types.UUID `json:"client_id"`
// CodeChallenge BASE64URL(SHA256(code_verifier)), RFC 7636.
CodeChallenge string `json:"code_challenge"`
CodeChallengeMethod OauthAuthorizationCodeChallengeMethod `json:"code_challenge_method"`
RedirectUri string `json:"redirect_uri"`
// Scopes From this installation's own catalogue - the scopes descriptors already declare, no parallel vocabulary. The issued pair is bounded by them exactly as a PAT's is.
Scopes []string `json:"scopes"`
// State Echoed back untouched, for the client's own CSRF binding.
State *string `json:"state,omitempty"`
}
OauthAuthorization defines model for OauthAuthorization.
type OauthAuthorizationCodeChallengeMethod ¶
type OauthAuthorizationCodeChallengeMethod string
OauthAuthorizationCodeChallengeMethod defines model for OauthAuthorization.CodeChallengeMethod.
const (
S256 OauthAuthorizationCodeChallengeMethod = "S256"
)
Defines values for OauthAuthorizationCodeChallengeMethod.
func (OauthAuthorizationCodeChallengeMethod) Valid ¶
func (e OauthAuthorizationCodeChallengeMethod) Valid() bool
Valid indicates whether the value is a known member of the OauthAuthorizationCodeChallengeMethod enum.
type OauthClient ¶
type OauthClient struct {
Confidential bool `json:"confidential"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
RedirectUris []string `json:"redirect_uris"`
}
OauthClient defines model for OauthClient.
type OauthClientCreate ¶
type OauthClientCreate struct {
// Confidential True for an app that can keep a secret on a server; false for a native or single-page app, which gets none and must bring PKCE.
Confidential bool `json:"confidential"`
// Name What people read on the consent screen and in their grant list.
Name string `json:"name"`
// RedirectUris Matched exactly, byte for byte, at authorization and at exchange.
RedirectUris []string `json:"redirect_uris"`
}
OauthClientCreate defines model for OauthClientCreate.
type OauthClientId ¶
type OauthClientId = openapi_types.UUID
OauthClientId defines model for OauthClientId.
type OauthClientSecret ¶
type OauthClientSecret struct {
// ClientSecret The confidential client's credential, in clear, for the only time. Absent for a public client, which authenticates with PKCE alone.
ClientSecret *string `json:"client_secret,omitempty"`
Confidential bool `json:"confidential"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
RedirectUris []string `json:"redirect_uris"`
}
OauthClientSecret defines model for OauthClientSecret.
type OauthClientSummary ¶
type OauthClientSummary struct {
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
}
OauthClientSummary An app as the person being asked to allow it sees it: what it is called, and nothing else. `OauthClient` is the same row as its administrator sees it and carries the registered redirect URIs beside it.
type OauthCode ¶
type OauthCode struct {
// Code Single use, minutes of life, exchanged at /oauth/token.
Code string `json:"code"`
ExpiresAt time.Time `json:"expires_at"`
// State The authorization's state, echoed back untouched.
State *string `json:"state,omitempty"`
}
OauthCode defines model for OauthCode.
type OauthGrant ¶
type OauthGrant struct {
ClientId openapi_types.UUID `json:"client_id"`
ClientName string `json:"client_name"`
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
// LastUsedAt When a session under this grant last acted, to the minute.
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
Scopes []string `json:"scopes"`
}
OauthGrant defines model for OauthGrant.
type OauthGrantId ¶
type OauthGrantId = openapi_types.UUID
OauthGrantId defines model for OauthGrantId.
type OauthStandardTokens ¶
type OauthStandardTokens struct {
AccessToken string `json:"access_token"`
ExpiresIn int `json:"expires_in"`
RefreshToken string `json:"refresh_token"`
// TokenType Always Bearer.
TokenType string `json:"token_type"`
}
OauthStandardTokens defines model for OauthStandardTokens.
type OauthTokenForm ¶
type OauthTokenForm struct {
ClientId *string `json:"client_id,omitempty"`
ClientSecret *string `json:"client_secret,omitempty"`
Code *string `json:"code,omitempty"`
CodeVerifier *string `json:"code_verifier,omitempty"`
// GrantType authorization_code to exchange a code, refresh_token to refresh the pair.
GrantType string `json:"grant_type"`
RedirectUri *string `json:"redirect_uri,omitempty"`
RefreshToken *string `json:"refresh_token,omitempty"`
}
OauthTokenForm defines model for OauthTokenForm.
type OauthTokenRequest ¶
type OauthTokenRequest struct {
ClientId openapi_types.UUID `json:"client_id"`
// ClientSecret The confidential client's credential.
ClientSecret *string `json:"client_secret,omitempty"`
Code string `json:"code"`
// CodeVerifier RFC 7636's verifier. Mandatory for a public client.
CodeVerifier *string `json:"code_verifier,omitempty"`
GrantType OauthTokenRequestGrantType `json:"grant_type"`
// RedirectUri Has to repeat the authorization's, exactly.
RedirectUri string `json:"redirect_uri"`
}
OauthTokenRequest defines model for OauthTokenRequest.
type OauthTokenRequestGrantType ¶
type OauthTokenRequestGrantType string
OauthTokenRequestGrantType defines model for OauthTokenRequest.GrantType.
const (
AuthorizationCode OauthTokenRequestGrantType = "authorization_code"
)
Defines values for OauthTokenRequestGrantType.
func (OauthTokenRequestGrantType) Valid ¶
func (e OauthTokenRequestGrantType) Valid() bool
Valid indicates whether the value is a known member of the OauthTokenRequestGrantType enum.
type OfferIdentityProviderJSONRequestBody ¶
type OfferIdentityProviderJSONRequestBody = ProviderOffer
OfferIdentityProviderJSONRequestBody defines body for OfferIdentityProvider for application/json ContentType.
type OfferIdentityProviderParams ¶
type OfferIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
OfferIdentityProviderParams defines parameters for OfferIdentityProvider.
type OfferedAiModel ¶
type OfferedAiModel struct {
BaseUrl *string `json:"base_url,omitempty"`
CompletionModel *string `json:"completion_model,omitempty"`
CreatedAt time.Time `json:"created_at"`
DisplayName string `json:"display_name"`
EmbeddingModel *string `json:"embedding_model,omitempty"`
// HasApiKey Whether a key is stored. The key itself is answered by nothing.
HasApiKey bool `json:"has_api_key"`
Id openapi_types.UUID `json:"id"`
// Jurisdiction Where the provider processes what is sent to it, as the operator declares it. It is a declaration rather than something this software can verify, and it exists so that the decision is documented rather than made by accident.
// `SELF_HOSTED` is a model this installation runs itself - no transfer to anybody. `EEA` and `ADEQUACY` are transfers Art. 45 covers. `THIRD_COUNTRY` is everything else and needs the operator's confirmation in the installation's configuration; the adequacy decision or the standard contractual clauses, and the transfer impact assessment, remain the operator's obligation.
Jurisdiction AiJurisdiction `json:"jurisdiction"`
// Kind Which adapter answers. `OPENAI_COMPATIBLE` covers OpenAI, Azure, Mistral, vLLM and LiteLLM, which agree on a wire format; `OLLAMA` is a local model; `NOOP` calls nothing and is what an installation has until somebody chooses otherwise.
Kind AiProviderKind `json:"kind"`
Processor string `json:"processor"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
OfferedAiModel An AI model the installation offers every workspace, as the operator reads it. A workspace is answered only its name, processor and jurisdiction (`AiSource.offered`).
type OfferedAiModelConfiguration ¶
type OfferedAiModelConfiguration struct {
// ApiKey Sealed on the way in and answered by nothing afterwards. Omit it on a change to keep the key already stored; send an empty string to clear it.
ApiKey *string `json:"api_key,omitempty"`
BaseUrl string `json:"base_url"`
CompletionModel *string `json:"completion_model,omitempty"`
// DisplayName The name workspaces choose it by. Unique among offered models.
DisplayName string `json:"display_name"`
EmbeddingModel *string `json:"embedding_model,omitempty"`
// Jurisdiction Where the provider processes what is sent to it, as the operator declares it. It is a declaration rather than something this software can verify, and it exists so that the decision is documented rather than made by accident.
// `SELF_HOSTED` is a model this installation runs itself - no transfer to anybody. `EEA` and `ADEQUACY` are transfers Art. 45 covers. `THIRD_COUNTRY` is everything else and needs the operator's confirmation in the installation's configuration; the adequacy decision or the standard contractual clauses, and the transfer impact assessment, remain the operator's obligation.
Jurisdiction AiJurisdiction `json:"jurisdiction"`
// Kind Which adapter answers. `OPENAI_COMPATIBLE` covers OpenAI, Azure, Mistral, vLLM and LiteLLM, which agree on a wire format; `OLLAMA` is a local model; `NOOP` calls nothing and is what an installation has until somebody chooses otherwise.
Kind AiProviderKind `json:"kind"`
// Processor Who processes what is sent to it, as the operator declares it.
Processor string `json:"processor"`
}
OfferedAiModelConfiguration An offered model, set whole. Consent is not here: switching an offered model on is each workspace's own act.
type OfferedAiModelSummary ¶
type OfferedAiModelSummary struct {
DisplayName string `json:"display_name"`
Id openapi_types.UUID `json:"id"`
// Jurisdiction Where the provider processes what is sent to it, as the operator declares it. It is a declaration rather than something this software can verify, and it exists so that the decision is documented rather than made by accident.
// `SELF_HOSTED` is a model this installation runs itself - no transfer to anybody. `EEA` and `ADEQUACY` are transfers Art. 45 covers. `THIRD_COUNTRY` is everything else and needs the operator's confirmation in the installation's configuration; the adequacy decision or the standard contractual clauses, and the transfer impact assessment, remain the operator's obligation.
Jurisdiction AiJurisdiction `json:"jurisdiction"`
Processor string `json:"processor"`
}
OfferedAiModelSummary defines model for OfferedAiModelSummary.
type OidcAuthorization ¶
type OidcAuthorization struct {
// AuthorizationUrl The provider's authorization endpoint with this flow's parameters, including the PKCE challenge. The verifier that answers it stays on the server.
AuthorizationUrl string `json:"authorization_url"`
// ExpiresAt When this flow stops being answerable. Short, because a browser round trip is short.
ExpiresAt time.Time `json:"expires_at"`
// State The flow's handle, single use. It is presented back at the callback and dies there, spent or not - a replayed state is refused the way an unknown one is.
State string `json:"state"`
}
OidcAuthorization Where to send the browser, and the handle to finish with.
type OidcCallback ¶
type OidcCallback struct {
// Code The authorization code, exchanged once, at the provider's token endpoint.
Code string `json:"code"`
// State The handle `/auth/oidc:start` answered.
State string `json:"state"`
}
OidcCallback What the provider's redirect carried back.
type OidcLocate ¶
type OidcLocate struct {
// State The handle the start answered, as the provider carried it back.
State string `json:"state"`
}
OidcLocate The state a provider's return carried.
type OidcLocated ¶
type OidcLocated struct {
// BaseUrl The workspace's own address - its subdomain of this installation in multi-tenant operation - where the return is finished at `/auth/callback`.
BaseUrl string `json:"base_url"`
}
OidcLocated defines model for OidcLocated.
type OidcStart ¶
type OidcStart struct {
// ConnectToken The token of the link *Forgot your password?* mails where the workspace switched the password off - to connect the workspace's provider to an existing account. It is checked here - a standing link of this workspace, its account active and connected to no provider switched on here, the password still off - and **not spent**: the flow remembers which link it carries, the provider is asked for a **fresh** sign-in (`prompt=login`, `max_age=0`), and only an arrival that connects the provider spends it. An unknown, expired, spent or foreign link is refused with `auth.reset_failed`, the reset link's one sentence. It is not sent beside `invitation_token`, and it never travels to the provider.
ConnectToken *string `json:"connect_token,omitempty"`
// InvitationToken The redemption token of the invitation this sign-in accepts, when the person chose the provider on the invitation card. It is checked here - a standing invitation of this workspace, its account still invited - and **not spent**: the flow remembers which account it invites, and only an arrival that succeeds accepts it. It is the second proof that lets a provider activate the invited account even where the provider is not authoritative for the address, or the address is outside a domains or directories list - only for that account; the provider's verified address must still equal the invited one. An unknown, expired, spent or foreign token is refused with `auth.redemption_failed`, the one sentence the invitation's other half answers. The token never travels to the provider.
InvitationToken *string `json:"invitation_token,omitempty"`
// LoginHint An address to pass the provider as `login_hint`, so somebody who typed it here does not type it again. A hint and nothing more - it never decides which account is signed in, which is the ID token's `sub` and only that.
LoginHint *string `json:"login_hint,omitempty"`
// ProviderId Which way in to use, from `GET /auth/sign-in-rules`. Omitting it is allowed while the workspace has exactly one provider switched on; with a choice to make, not making it is refused rather than guessed.
ProviderId *openapi_types.UUID `json:"provider_id,omitempty"`
// TermsUrl With `invitation_token`: the terms of use the person agreed to on the invitation card, as `GET /auth/sign-in-rules` showed them. The flow keeps the agreement, and the arrival that activates the invited account stores it. Without it, or where the terms changed in the meantime, the arrival ends in the `TERMS` step instead of a session.
TermsUrl *string `json:"terms_url,omitempty"`
// TermsVersion The version of those terms as it was shown, where they carry one.
TermsVersion *string `json:"terms_version,omitempty"`
}
OidcStart What a sign-in through the identity provider needs to begin, which is almost nothing: the workspace comes from the subdomain or the tenant header, and the redirect URI is this installation's own. A caller with nothing to add may omit the body entirely.
type OpenPrivateHubJSONRequestBody ¶
type OpenPrivateHubJSONRequestBody = PrivateHubAccessRequest
OpenPrivateHubJSONRequestBody defines body for OpenPrivateHub for application/json ContentType.
type OpenPrivateHubParams ¶
type OpenPrivateHubParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
OpenPrivateHubParams defines parameters for OpenPrivateHub.
type OpenTenantPasswordJSONRequestBody ¶
type OpenTenantPasswordJSONRequestBody = PasswordOpeningRequest
OpenTenantPasswordJSONRequestBody defines body for OpenTenantPassword for application/json ContentType.
type OpenTenantPasswordParams ¶
type OpenTenantPasswordParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
OpenTenantPasswordParams defines parameters for OpenTenantPassword.
type Operator ¶
type Operator struct {
AccountId openapi_types.UUID `json:"account_id"`
AddedAt time.Time `json:"added_at"`
// AddedBy Who put them there. Absent for a row the installation seeded at its first start, which had nobody to name.
AddedBy *openapi_types.UUID `json:"added_by,omitempty"`
// AddedByName The name of who put them there, where that account still exists.
AddedByName *string `json:"added_by_name,omitempty"`
// DisplayName The account's name, as its workspace shows it.
DisplayName *string `json:"display_name,omitempty"`
// Email The address the account signs in with. Absent for a service account, which signs in nowhere, and for an account that signs in with a name instead.
Email *openapi_types.Email `json:"email,omitempty"`
// Kind A person, or a machine's account.
Kind *OperatorKind `json:"kind,omitempty"`
// SignInName The name an account without an address signs in with.
SignInName *string `json:"sign_in_name,omitempty"`
TenantId openapi_types.UUID `json:"tenant_id"`
// WorkspaceName The name of the workspace the account is in.
WorkspaceName *string `json:"workspace_name,omitempty"`
// WorkspaceSlug The short name of the workspace the account is in.
WorkspaceSlug *string `json:"workspace_slug,omitempty"`
}
Operator One row of the register: an account of some workspace that operates this installation.
type OperatorAdd ¶
type OperatorAdd struct {
AccountId *openapi_types.UUID `json:"account_id,omitempty"`
// Email The address the account signs in with, inside `workspace`.
Email *openapi_types.Email `json:"email,omitempty"`
// Workspace The workspace's address, with `email`.
Workspace *string `json:"workspace,omitempty"`
}
OperatorAdd One account, named either way. **By identifier** where the caller has one — a script, an automation. The workspace it lives in is read from it rather than named: a pair that could disagree is a pair somebody eventually gets wrong. **By workspace and address** otherwise, which is every screen. An account id is not something an operator can look up: `account` is behind row level security, so the control plane cannot list accounts across workspaces and therefore cannot show one. A workspace's address and the address somebody signs in with are what a person knows. The pair resolves through the register's own narrow door and answers one account or nothing — never a list, and never more than trying the identifier form already tells a caller. Exactly one of the two forms. Neither is refused as incomplete.
type OperatorKind ¶
type OperatorKind string
OperatorKind A person, or a machine's account.
const ( OperatorKindSERVICEACCOUNT OperatorKind = "SERVICE_ACCOUNT" OperatorKindUSER OperatorKind = "USER" )
Defines values for OperatorKind.
func (OperatorKind) Valid ¶
func (e OperatorKind) Valid() bool
Valid indicates whether the value is a known member of the OperatorKind enum.
type OwnAccountUpdate ¶
type OwnAccountUpdate struct {
DisplayName *string `json:"display_name,omitempty"`
}
OwnAccountUpdate What a person may change about their own account. A field left out is left as it is.
type OwnAiBudget ¶
type OwnAiBudget struct {
// OwnTokensPerDay Tokens a day for the workspace's own model; null for no budget.
OwnTokensPerDay *int64 `json:"own_tokens_per_day"`
}
OwnAiBudget defines model for OwnAiBudget.
type OwnAiPosition ¶
type OwnAiPosition struct {
// Basis The legal basis a workspace names for making AI part of everybody's work.
Basis *AiOptOutBasis `json:"basis,omitempty"`
// Contact Whom to ask about the basis. Absent for an administrator of this workspace.
Contact *string `json:"contact,omitempty"`
// InEffect Whether the caller's content is kept out now.
InEffect bool `json:"in_effect"`
// KeepingOut The caller's own choice - their newest `ai_processing` record is a withdrawal.
KeepingOut bool `json:"keeping_out"`
KeepingOutSince *time.Time `json:"keeping_out_since,omitempty"`
// NoticePending True once, until acknowledged: the workspace made AI part of everybody's work, so the caller's choice stopped taking effect.
NoticePending bool `json:"notice_pending"`
// PersonOptOut `OFFERED`: each person may keep their own content out of AI. `NOT_OFFERED`: AI is part of everybody's work, on the legal basis the workspace named.
PersonOptOut AiPersonOptOut `json:"person_opt_out"`
// Shown Whether there is anything here at all: AI answers this workspace and more than one person works in it. Alone, the workspace's decision is the person's own.
Shown bool `json:"shown"`
// Since Since when AI is part of everybody's work. Absent with `OFFERED`.
Since *time.Time `json:"since,omitempty"`
}
OwnAiPosition defines model for OwnAiPosition.
type PageInfo ¶
type PageInfo struct {
HasMore bool `json:"has_more"`
// NextCursor The cursor for the next page, null on the last one. Opaque and signed: it is produced by the server and is neither to be constructed nor parsed by a client.
NextCursor *string `json:"next_cursor"`
}
PageInfo defines model for PageInfo.
type Passkey ¶
type Passkey struct {
// CreatedAt When it was added.
CreatedAt time.Time `json:"created_at"`
Id openapi_types.UUID `json:"id"`
// LastUsedAt When it last signed in or gave a fresh proof; null until it has.
LastUsedAt *time.Time `json:"last_used_at"`
// Name The name the person gave it.
Name string `json:"name"`
// RpId The host it was made for. Where it is not the list's `rp_id` - the workspace moved to another address, or the account was restored into another workspace - it opens nothing here, counts as no second factor, and can always be removed. Null for one made before the host was recorded, which counts as this workspace's.
RpId *string `json:"rp_id"`
}
Passkey One passkey or security key of the caller's account.
type PasskeyAssertion ¶
type PasskeyAssertion struct {
// AuthenticatorData The response's `authenticatorData`.
AuthenticatorData string `json:"authenticator_data"`
// ClientDataJson The response's `clientDataJSON`.
ClientDataJson string `json:"client_data_json"`
// RawId The credential's `rawId`.
RawId string `json:"raw_id"`
// Signature The response's `signature`.
Signature string `json:"signature"`
// UserHandle The response's `userHandle`, which a passkey signing in without an identifier always gives.
UserHandle string `json:"user_handle"`
}
PasskeyAssertion What `navigator.credentials.get()` answered, base64url without padding.
type PasskeyAssertionOptions ¶
type PasskeyAssertionOptions struct {
ExpiresAt time.Time `json:"expires_at"`
PublicKey struct {
AllowCredentials []PasskeyDescriptor `json:"allowCredentials"`
// Challenge Thirty-two random bytes
Challenge string `json:"challenge"`
// RpId The workspace's host.
RpId string `json:"rpId"`
// Timeout Milliseconds.
Timeout int `json:"timeout"`
UserVerification PasskeyAssertionOptionsPublicKeyUserVerification `json:"userVerification"`
} `json:"public_key"`
}
PasskeyAssertionOptions The options for `navigator.credentials.get({ publicKey })` when a passkey or security key is the second factor or the fresh proof, in the WebAuthn JSON form.
type PasskeyAssertionOptionsPublicKeyUserVerification ¶
type PasskeyAssertionOptionsPublicKeyUserVerification string
PasskeyAssertionOptionsPublicKeyUserVerification defines model for PasskeyAssertionOptions.PublicKey.UserVerification.
const (
PasskeyAssertionOptionsPublicKeyUserVerificationPreferred PasskeyAssertionOptionsPublicKeyUserVerification = "preferred"
)
Defines values for PasskeyAssertionOptionsPublicKeyUserVerification.
func (PasskeyAssertionOptionsPublicKeyUserVerification) Valid ¶
func (e PasskeyAssertionOptionsPublicKeyUserVerification) Valid() bool
Valid indicates whether the value is a known member of the PasskeyAssertionOptionsPublicKeyUserVerification enum.
type PasskeyCreationOptions ¶
type PasskeyCreationOptions struct {
Attestation PasskeyCreationOptionsAttestation `json:"attestation"`
AuthenticatorSelection struct {
RequireResidentKey bool `json:"requireResidentKey"`
ResidentKey PasskeyCreationOptionsAuthenticatorSelectionResidentKey `json:"residentKey"`
UserVerification PasskeyCreationOptionsAuthenticatorSelectionUserVerification `json:"userVerification"`
} `json:"authenticatorSelection"`
// Challenge Thirty-two random bytes
Challenge string `json:"challenge"`
ExcludeCredentials []PasskeyDescriptor `json:"excludeCredentials"`
PubKeyCredParams []struct {
Alg PasskeyCreationOptionsPubKeyCredParamsAlg `json:"alg"`
Type PasskeyCreationOptionsPubKeyCredParamsType `json:"type"`
} `json:"pubKeyCredParams"`
Rp struct {
// Id The workspace's host.
Id string `json:"id"`
// Name The workspace's name.
Name string `json:"name"`
} `json:"rp"`
// Timeout Milliseconds.
Timeout int `json:"timeout"`
User struct {
DisplayName string `json:"displayName"`
// Id The account's opaque user handle
Id string `json:"id"`
// Name The account's address
Name string `json:"name"`
} `json:"user"`
}
PasskeyCreationOptions defines model for PasskeyCreationOptions.
type PasskeyCreationOptionsAttestation ¶
type PasskeyCreationOptionsAttestation string
PasskeyCreationOptionsAttestation defines model for PasskeyCreationOptions.Attestation.
const (
PasskeyCreationOptionsAttestationNone PasskeyCreationOptionsAttestation = "none"
)
Defines values for PasskeyCreationOptionsAttestation.
func (PasskeyCreationOptionsAttestation) Valid ¶
func (e PasskeyCreationOptionsAttestation) Valid() bool
Valid indicates whether the value is a known member of the PasskeyCreationOptionsAttestation enum.
type PasskeyCreationOptionsAuthenticatorSelectionResidentKey ¶
type PasskeyCreationOptionsAuthenticatorSelectionResidentKey string
PasskeyCreationOptionsAuthenticatorSelectionResidentKey defines model for PasskeyCreationOptions.AuthenticatorSelection.ResidentKey.
const (
PasskeyCreationOptionsAuthenticatorSelectionResidentKeyPreferred PasskeyCreationOptionsAuthenticatorSelectionResidentKey = "preferred"
)
Defines values for PasskeyCreationOptionsAuthenticatorSelectionResidentKey.
func (PasskeyCreationOptionsAuthenticatorSelectionResidentKey) Valid ¶
func (e PasskeyCreationOptionsAuthenticatorSelectionResidentKey) Valid() bool
Valid indicates whether the value is a known member of the PasskeyCreationOptionsAuthenticatorSelectionResidentKey enum.
type PasskeyCreationOptionsAuthenticatorSelectionUserVerification ¶
type PasskeyCreationOptionsAuthenticatorSelectionUserVerification string
PasskeyCreationOptionsAuthenticatorSelectionUserVerification defines model for PasskeyCreationOptions.AuthenticatorSelection.UserVerification.
const (
PasskeyCreationOptionsAuthenticatorSelectionUserVerificationPreferred PasskeyCreationOptionsAuthenticatorSelectionUserVerification = "preferred"
)
Defines values for PasskeyCreationOptionsAuthenticatorSelectionUserVerification.
func (PasskeyCreationOptionsAuthenticatorSelectionUserVerification) Valid ¶
func (e PasskeyCreationOptionsAuthenticatorSelectionUserVerification) Valid() bool
Valid indicates whether the value is a known member of the PasskeyCreationOptionsAuthenticatorSelectionUserVerification enum.
type PasskeyCreationOptionsPubKeyCredParamsAlg ¶
type PasskeyCreationOptionsPubKeyCredParamsAlg int
PasskeyCreationOptionsPubKeyCredParamsAlg defines model for PasskeyCreationOptions.PubKeyCredParams.Alg.
const ( Minus257 PasskeyCreationOptionsPubKeyCredParamsAlg = -257 Minus7 PasskeyCreationOptionsPubKeyCredParamsAlg = -7 Minus8 PasskeyCreationOptionsPubKeyCredParamsAlg = -8 )
Defines values for PasskeyCreationOptionsPubKeyCredParamsAlg.
func (PasskeyCreationOptionsPubKeyCredParamsAlg) Valid ¶
func (e PasskeyCreationOptionsPubKeyCredParamsAlg) Valid() bool
Valid indicates whether the value is a known member of the PasskeyCreationOptionsPubKeyCredParamsAlg enum.
type PasskeyCreationOptionsPubKeyCredParamsType ¶
type PasskeyCreationOptionsPubKeyCredParamsType string
PasskeyCreationOptionsPubKeyCredParamsType defines model for PasskeyCreationOptions.PubKeyCredParams.Type.
const (
PasskeyCreationOptionsPubKeyCredParamsTypePublicKey PasskeyCreationOptionsPubKeyCredParamsType = "public-key"
)
Defines values for PasskeyCreationOptionsPubKeyCredParamsType.
func (PasskeyCreationOptionsPubKeyCredParamsType) Valid ¶
func (e PasskeyCreationOptionsPubKeyCredParamsType) Valid() bool
Valid indicates whether the value is a known member of the PasskeyCreationOptionsPubKeyCredParamsType enum.
type PasskeyDescriptor ¶
type PasskeyDescriptor struct {
// Id A credential identifier
Id string `json:"id"`
Transports *[]PasskeyTransport `json:"transports,omitempty"`
Type PasskeyDescriptorType `json:"type"`
}
PasskeyDescriptor defines model for PasskeyDescriptor.
type PasskeyDescriptorType ¶
type PasskeyDescriptorType string
PasskeyDescriptorType defines model for PasskeyDescriptor.Type.
const (
PasskeyDescriptorTypePublicKey PasskeyDescriptorType = "public-key"
)
Defines values for PasskeyDescriptorType.
func (PasskeyDescriptorType) Valid ¶
func (e PasskeyDescriptorType) Valid() bool
Valid indicates whether the value is a known member of the PasskeyDescriptorType enum.
type PasskeyEnrolled ¶
type PasskeyEnrolled struct {
// Challenge The `PASSWORD_CHANGE` step, where the password must still be changed.
Challenge *MfaChallenge `json:"challenge,omitempty"`
// Passkey One passkey or security key of the caller's account.
Passkey Passkey `json:"passkey"`
// RecoveryCodes Present only where the account held no unused recovery code: ten single-use codes, shown this once and stored only as hashes.
RecoveryCodes *[]string `json:"recovery_codes,omitempty"`
// Tokens The pair, where nothing else is owed.
Tokens *SessionTokens `json:"tokens,omitempty"`
}
PasskeyEnrolled A passkey or security key set up during sign-in, and what the sign-in does next: the pair, or the `PASSWORD_CHANGE` step still owed.
type PasskeyEnrollment ¶
type PasskeyEnrollment struct {
AttestationObject string `json:"attestation_object"`
ClientDataJson string `json:"client_data_json"`
// Name What the person calls it.
Name string `json:"name"`
PendingToken string `json:"pending_token"`
RawId string `json:"raw_id"`
Transports *[]PasskeyTransport `json:"transports,omitempty"`
}
PasskeyEnrollment The `ENROLL` step's credential, what the ceremony answered, and the name.
type PasskeyEnrollmentStart ¶
type PasskeyEnrollmentStart struct {
// PendingToken The `ENROLL` step's credential.
PendingToken string `json:"pending_token"`
}
PasskeyEnrollmentStart defines model for PasskeyEnrollmentStart.
type PasskeyList ¶
type PasskeyList struct {
// CanAdd Whether starting to add another would be accepted now.
CanAdd bool `json:"can_add"`
// CanRemove Whether removing one of the passkeys of this workspace's address would be accepted now. False where it is the last second factor the account holds and the workspace's rule requires one of this person, and where the account holds nothing to give the fresh proof with. A passkey of another address can always be removed.
CanRemove bool `json:"can_remove"`
// CannotAddReason Present where `can_add` is false - the message code saying why.
CannotAddReason *PasskeyListCannotAddReason `json:"cannot_add_reason,omitempty"`
// CannotRemoveReason Present where `can_remove` is false - the message code saying why.
CannotRemoveReason *PasskeyListCannotRemoveReason `json:"cannot_remove_reason,omitempty"`
// Limit The most an account may hold.
Limit int `json:"limit"`
Passkeys []Passkey `json:"passkeys"`
// RpId The host this workspace's passkeys belong to; null where the installation has no public address. A page served at another host cannot add or use one.
RpId *string `json:"rp_id"`
}
PasskeyList defines model for PasskeyList.
type PasskeyListCannotAddReason ¶
type PasskeyListCannotAddReason string
PasskeyListCannotAddReason Present where `can_add` is false - the message code saying why.
const ( PasskeyListCannotAddReasonAuthPasskeyLimitReached PasskeyListCannotAddReason = "auth.passkey_limit_reached" PasskeyListCannotAddReasonAuthStepUpNoMethod PasskeyListCannotAddReason = "auth.step_up_no_method" )
Defines values for PasskeyListCannotAddReason.
func (PasskeyListCannotAddReason) Valid ¶
func (e PasskeyListCannotAddReason) Valid() bool
Valid indicates whether the value is a known member of the PasskeyListCannotAddReason enum.
type PasskeyListCannotRemoveReason ¶
type PasskeyListCannotRemoveReason string
PasskeyListCannotRemoveReason Present where `can_remove` is false - the message code saying why.
const ( PasskeyListCannotRemoveReasonAuthMfaRequiredByTenant PasskeyListCannotRemoveReason = "auth.mfa_required_by_tenant" PasskeyListCannotRemoveReasonAuthStepUpNoMethod PasskeyListCannotRemoveReason = "auth.step_up_no_method" )
Defines values for PasskeyListCannotRemoveReason.
func (PasskeyListCannotRemoveReason) Valid ¶
func (e PasskeyListCannotRemoveReason) Valid() bool
Valid indicates whether the value is a known member of the PasskeyListCannotRemoveReason enum.
type PasskeyRegistered ¶
type PasskeyRegistered struct {
// Passkey One passkey or security key of the caller's account.
Passkey Passkey `json:"passkey"`
// RecoveryCodes Present only where the account held no unused recovery code: ten single-use codes, shown this once and stored only as hashes.
RecoveryCodes *[]string `json:"recovery_codes,omitempty"`
}
PasskeyRegistered defines model for PasskeyRegistered.
type PasskeyRegistration ¶
type PasskeyRegistration struct {
// AttestationObject The response's `attestationObject`.
AttestationObject string `json:"attestation_object"`
// ClientDataJson The response's `clientDataJSON`.
ClientDataJson string `json:"client_data_json"`
// Name What the person calls it.
Name string `json:"name"`
// RawId The credential's `rawId`.
RawId string `json:"raw_id"`
// Transports The response's `getTransports()`, where the browser offers it.
Transports *[]PasskeyTransport `json:"transports,omitempty"`
}
PasskeyRegistration What `navigator.credentials.create()` answered, base64url without padding, and the name.
type PasskeyRegistrationOptions ¶
type PasskeyRegistrationOptions struct {
// ExpiresAt When the challenge stops being accepted.
ExpiresAt time.Time `json:"expires_at"`
PublicKey PasskeyCreationOptions `json:"public_key"`
}
PasskeyRegistrationOptions The options for `navigator.credentials.create({ publicKey })`, in the WebAuthn JSON form: every binary value is base64url without padding.
type PasskeyRename ¶
type PasskeyRename struct {
// Name What the person calls it, 1 to 64 characters.
Name string `json:"name"`
}
PasskeyRename defines model for PasskeyRename.
type PasskeySignInOptions ¶
type PasskeySignInOptions struct {
// ExpiresAt When the challenge stops being accepted.
ExpiresAt time.Time `json:"expires_at"`
PublicKey struct {
// Challenge Thirty-two random bytes
Challenge string `json:"challenge"`
// RpId The workspace's host.
RpId string `json:"rpId"`
// Timeout Milliseconds.
Timeout int `json:"timeout"`
UserVerification PasskeySignInOptionsPublicKeyUserVerification `json:"userVerification"`
} `json:"public_key"`
}
PasskeySignInOptions The options for `navigator.credentials.get({ publicKey })`, in the WebAuthn JSON form: every binary value is base64url without padding.
type PasskeySignInOptionsPublicKeyUserVerification ¶
type PasskeySignInOptionsPublicKeyUserVerification string
PasskeySignInOptionsPublicKeyUserVerification defines model for PasskeySignInOptions.PublicKey.UserVerification.
const (
Required PasskeySignInOptionsPublicKeyUserVerification = "required"
)
Defines values for PasskeySignInOptionsPublicKeyUserVerification.
func (PasskeySignInOptionsPublicKeyUserVerification) Valid ¶
func (e PasskeySignInOptionsPublicKeyUserVerification) Valid() bool
Valid indicates whether the value is a known member of the PasskeySignInOptionsPublicKeyUserVerification enum.
type PasskeyTransport ¶
type PasskeyTransport string
PasskeyTransport defines model for PasskeyTransport.
const ( Ble PasskeyTransport = "ble" Hybrid PasskeyTransport = "hybrid" Internal PasskeyTransport = "internal" Nfc PasskeyTransport = "nfc" SmartCard PasskeyTransport = "smart-card" Usb PasskeyTransport = "usb" )
Defines values for PasskeyTransport.
func (PasskeyTransport) Valid ¶
func (e PasskeyTransport) Valid() bool
Valid indicates whether the value is a known member of the PasskeyTransport enum.
type PasswordChange ¶
type PasswordChange struct {
// Password The new password, judged against this workspace's rule.
Password string `json:"password"`
}
PasswordChange defines model for PasswordChange.
type PasswordCheck ¶
type PasswordCheck struct {
// InvitationToken The token from an invitation mail.
InvitationToken *string `json:"invitation_token,omitempty"`
Password string `json:"password"`
// PendingToken The pending credential of a sign-in the change step interrupted.
PendingToken *string `json:"pending_token,omitempty"`
// ResetToken The token from a reset mail.
ResetToken *string `json:"reset_token,omitempty"`
}
PasswordCheck The candidate, and the proof that the caller is entitled to an answer about it. Exactly one proof is needed; a signed-in caller's bearer is one.
type PasswordCheckResult ¶
type PasswordCheckResult struct {
Violations []PasswordViolation `json:"violations"`
}
PasswordCheckResult defines model for PasswordCheckResult.
type PasswordForgot ¶
type PasswordForgot struct {
// Email The address to send the link to, if it holds an account.
Email openapi_types.Email `json:"email"`
}
PasswordForgot defines model for PasswordForgot.
type PasswordOpening ¶
type PasswordOpening struct {
Reason string `json:"reason"`
// Requester Who asked for it, as the operator entered it - a ticket reference, ideally.
Requester string `json:"requester"`
// Until When the opening ends on its own.
Until time.Time `json:"until"`
}
PasswordOpening An operator's opening of the password for one workspace: when it ends, who asked and why.
type PasswordOpeningRequest ¶
type PasswordOpeningRequest struct {
// Hours How long the opening stands, counted from now. A day unless said otherwise.
Hours *int `json:"hours,omitempty"`
// Reason Why the password is opened - what is wrong with the provider.
Reason string `json:"reason"`
// Requester Who asked for the opening. Free text the workspace's administrators read; a ticket reference rather than a person's name where the operator can.
Requester string `json:"requester"`
}
PasswordOpeningRequest defines model for PasswordOpeningRequest.
type PasswordPolicySettings ¶
type PasswordPolicySettings struct {
BreachCheck SignInPolicyFlag `json:"breach_check"`
CommonPasswords SignInPolicyFlag `json:"common_passwords"`
ContextWords SignInPolicyFlag `json:"context_words"`
// HistoryCount One numeric switch, at the levels that decide it. Zero is off for every one of them.
HistoryCount SignInPolicyNumber `json:"history_count"`
// MaxAgeDays One numeric switch, at the levels that decide it. Zero is off for every one of them.
MaxAgeDays SignInPolicyNumber `json:"max_age_days"`
// MaxRepeat One numeric switch, at the levels that decide it. Zero is off for every one of them.
MaxRepeat SignInPolicyNumber `json:"max_repeat"`
// MinAgeHours One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinAgeHours SignInPolicyNumber `json:"min_age_hours"`
// MinClasses One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinClasses SignInPolicyNumber `json:"min_classes"`
// MinDigits One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinDigits SignInPolicyNumber `json:"min_digits"`
// MinLength One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinLength SignInPolicyNumber `json:"min_length"`
// MinLowercase One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinLowercase SignInPolicyNumber `json:"min_lowercase"`
// MinSymbols One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinSymbols SignInPolicyNumber `json:"min_symbols"`
// MinUppercase One numeric switch, at the levels that decide it. Zero is off for every one of them.
MinUppercase SignInPolicyNumber `json:"min_uppercase"`
}
PasswordPolicySettings The thirteen switches about the password itself, each at its three levels.
type PasswordReset ¶
type PasswordReset struct {
// Password The new password, judged against this workspace's rule.
Password string `json:"password"`
// Token The token from the reset mail. It dies on use.
Token string `json:"token"`
}
PasswordReset defines model for PasswordReset.
type PasswordRules ¶
type PasswordRules struct {
// BreachCheck Whether a breach corpus is consulted, where one is configured.
BreachCheck bool `json:"breach_check"`
// CommonPasswords Whether an offline list is consulted - the embedded one, the operator's own file, or both. Which of them refused a password is deliberately not said: it would tell a guesser which corpus to avoid.
CommonPasswords bool `json:"common_passwords"`
// ContextWords Whether a password carrying the address, the person's name, the workspace's name or its host is refused. Compared after a fold that undoes case and the obvious substitutions, because `C0nt0so` is `contoso` to everybody except a naive comparison.
ContextWords bool `json:"context_words"`
// HistoryCount How many previous passwords are refused. 0 both where the switch is off and where the reader has no account - somebody with no password has no history, and a line under the field that can never be met is a line that only worries people.
HistoryCount int `json:"history_count"`
// MaxRepeat The longest run of one character allowed. **0 is off**, as it is for every other count here - one spelling for "this switch does nothing", rather than a nullable number beside twelve that are not.
MaxRepeat int `json:"max_repeat"`
// MinClasses How many of the four kinds have to appear at all. It cannot be expressed in the four counts - "one digit and one symbol" is not "two of four" - which is why both exist.
MinClasses int `json:"min_classes"`
// MinDigits Unicode category Nd. 0 is off.
MinDigits int `json:"min_digits"`
// MinLength The fewest characters, counted after NFKC.
MinLength int `json:"min_length"`
// MinLowercase Unicode category Ll. 0 is off.
MinLowercase int `json:"min_lowercase"`
// MinSymbols Everything that is none of the three above: punctuation, a mark, an emoji, and a letter of a script with no case. 0 is off.
MinSymbols int `json:"min_symbols"`
// MinUppercase Unicode category Lu. 0 is off.
MinUppercase int `json:"min_uppercase"`
// NotCurrent Whether "not the password you have now" applies - only where there is one.
NotCurrent bool `json:"not_current"`
}
PasswordRules What a password has to meet, as data rather than as a sentence. Each switch becomes a message code with parameters in the client, and the same codes travel in `field_errors[]` when a password is refused - so one fact has one sentence whether the client saw the refusal coming or the server sent it. Zero is off for every count. The rules a client can decide itself are the arithmetic ones; `common_passwords`, `breach_check`, `history_count` and `not_current` name what only the server can answer, and `/auth/password:check` is where it does.
type PasswordViolation ¶
type PasswordViolation struct {
// Params The parameters that rule's sentence takes.
Params *map[string]string `json:"params,omitempty"`
// Rule The rule's name, which is what the message code `auth.password_rule.<rule>` is held under and what the client keys its line on.
Rule string `json:"rule"`
}
PasswordViolation One rule the candidate breaks, as an identifier and its parameters.
type PlaceLegalHoldJSONRequestBody ¶
type PlaceLegalHoldJSONRequestBody = LegalHoldCreate
PlaceLegalHoldJSONRequestBody defines body for PlaceLegalHold for application/json ContentType.
type Plan ¶
type Plan struct {
Ai *map[string]InstanceSetting `json:"ai,omitempty"`
CreatedAt time.Time `json:"created_at"`
DisplayName string `json:"display_name"`
// LeftOut The features the plan leaves out. Each rests while left out - it stops running and keeps everything it holds - and comes back when included again. Export, deletion, access requests, language, time zone, accessibility and every door are no such feature.
LeftOut *[]PlanFeature `json:"left_out,omitempty"`
Legal *map[string]InstanceSetting `json:"legal,omitempty"`
// Name The short name, which never changes and is never reused.
Name string `json:"name"`
Quotas *map[string]InstanceSetting `json:"quotas,omitempty"`
SignIn *map[string]InstanceSetting `json:"sign_in,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
Version int `json:"version"`
// Workspaces How many workspaces are on the plan.
Workspaces int `json:"workspaces"`
}
Plan defines model for Plan.
type PlanChange ¶
type PlanChange struct {
Ai *map[string]InstanceSetting `json:"ai,omitempty"`
DisplayName string `json:"display_name"`
// LeftOut The features the plan leaves out. Each rests while left out - it stops running and keeps everything it holds - and comes back when included again. Export, deletion, access requests, language, time zone, accessibility and every door are no such feature.
LeftOut *[]PlanFeature `json:"left_out,omitempty"`
Legal *map[string]InstanceSetting `json:"legal,omitempty"`
Quotas *map[string]InstanceSetting `json:"quotas,omitempty"`
SignIn *map[string]InstanceSetting `json:"sign_in,omitempty"`
}
PlanChange What a plan decides, in the installation level's shape: each area maps a key to `{value, locked}`, and a key the plan does not name falls through to the installation. A lock here holds every workspace on the plan to the value ("Set by your plan").
type PlanCreate ¶
type PlanCreate struct {
Ai *map[string]InstanceSetting `json:"ai,omitempty"`
DisplayName string `json:"display_name"`
// LeftOut The features the plan leaves out. Each rests while left out - it stops running and keeps everything it holds - and comes back when included again. Export, deletion, access requests, language, time zone, accessibility and every door are no such feature.
LeftOut *[]PlanFeature `json:"left_out,omitempty"`
Legal *map[string]InstanceSetting `json:"legal,omitempty"`
// Name The short name, which never changes and is never reused.
Name string `json:"name"`
Quotas *map[string]InstanceSetting `json:"quotas,omitempty"`
SignIn *map[string]InstanceSetting `json:"sign_in,omitempty"`
}
PlanCreate A new plan - its short name and what it decides, as PlanChange.
type PlanFeature ¶
type PlanFeature string
PlanFeature defines model for PlanFeature.
const ( AUTOMATIONRULES PlanFeature = "AUTOMATION_RULES" OWNSIGNINPROVIDERS PlanFeature = "OWN_SIGN_IN_PROVIDERS" WEBHOOKS PlanFeature = "WEBHOOKS" )
Defines values for PlanFeature.
func (PlanFeature) Valid ¶
func (e PlanFeature) Valid() bool
Valid indicates whether the value is a known member of the PlanFeature enum.
type PlatformDelivery ¶
type PlatformDelivery struct {
// Attempt How many attempts were made, a redelivery's counting on.
Attempt int `json:"attempt"`
CreatedAt time.Time `json:"created_at"`
// ErrorCode A message code, never the target's response body.
ErrorCode *string `json:"error_code,omitempty"`
// EventId The event, as `X-Hubtask-Event-Id` carries it.
EventId openapi_types.UUID `json:"event_id"`
EventType string `json:"event_type"`
Id openapi_types.UUID `json:"id"`
NextAttemptAt *time.Time `json:"next_attempt_at,omitempty"`
ResponseStatus *int `json:"response_status,omitempty"`
Status PlatformDeliveryStatus `json:"status"`
SubscriptionId openapi_types.UUID `json:"subscription_id"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
PlatformDelivery One event sent to one subscription, across its attempts.
type PlatformDeliveryPage ¶
type PlatformDeliveryPage struct {
Data []PlatformDelivery `json:"data"`
Page PageInfo `json:"page"`
}
PlatformDeliveryPage defines model for PlatformDeliveryPage.
type PlatformDeliveryStatus ¶
type PlatformDeliveryStatus string
PlatformDeliveryStatus defines model for PlatformDelivery.Status.
const ( PlatformDeliveryStatusDEADLETTER PlatformDeliveryStatus = "DEAD_LETTER" PlatformDeliveryStatusFAILED PlatformDeliveryStatus = "FAILED" PlatformDeliveryStatusPENDING PlatformDeliveryStatus = "PENDING" PlatformDeliveryStatusSUCCEEDED PlatformDeliveryStatus = "SUCCEEDED" )
Defines values for PlatformDeliveryStatus.
func (PlatformDeliveryStatus) Valid ¶
func (e PlatformDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the PlatformDeliveryStatus enum.
type PlatformEvent ¶
type PlatformEvent map[string]interface{}
PlatformEvent One installation event: the CloudEvents 1.0 structured-JSON document a subscription is sent, unwrapped. `id` is what `X-Hubtask-Event-Id` names on the push side, so a platform deduplicates on it either way; `tenantid` is the workspace the event is about, and `data` carries its state as the schema of the event's `type` describes. Free-form here on purpose, for `TriggerEvent`'s reason: the document's shape is owned by the event schemas and the CloudEvents specification, and a second list of its properties here would drift.
type PlatformEventPage ¶
type PlatformEventPage struct {
Data []PlatformEvent `json:"data"`
Page PageInfo `json:"page"`
}
PlatformEventPage defines model for PlatformEventPage.
type PlatformSubscription ¶
type PlatformSubscription struct {
CreatedAt time.Time `json:"created_at"`
// DeadLetters The deliveries that ended without arriving and wait to be redelivered.
DeadLetters int `json:"dead_letters"`
// FromFile Decided by an enforcing instance file: changed there, and refused here. A subscription a seeding file wrote is the operator's.
FromFile bool `json:"from_file"`
Id openapi_types.UUID `json:"id"`
// LastDeliveryAt When an event last arrived; null before the first.
LastDeliveryAt *time.Time `json:"last_delivery_at,omitempty"`
// LastError A message code for the last failed attempt, never the target's own words.
LastError *string `json:"last_error,omitempty"`
// State Never switched off for being unreachable; a paused subscription is one the operator paused, and is sent nothing.
State PlatformSubscriptionState `json:"state"`
// TargetUrl Where each event is POSTed, through the guarded client.
TargetUrl string `json:"target_url"`
Version int `json:"version"`
}
PlatformSubscription One address the installation's events are pushed to. The signing secret is not a member: it is answered once, at creation and at each rotation, and stored sealed.
type PlatformSubscriptionCreate ¶
type PlatformSubscriptionCreate struct {
TargetUrl string `json:"target_url"`
}
PlatformSubscriptionCreate defines model for PlatformSubscriptionCreate.
type PlatformSubscriptionSecret ¶
type PlatformSubscriptionSecret struct {
CreatedAt time.Time `json:"created_at"`
// DeadLetters The deliveries that ended without arriving and wait to be redelivered.
DeadLetters int `json:"dead_letters"`
// FromFile Decided by an enforcing instance file: changed there, and refused here. A subscription a seeding file wrote is the operator's.
FromFile bool `json:"from_file"`
Id openapi_types.UUID `json:"id"`
// LastDeliveryAt When an event last arrived; null before the first.
LastDeliveryAt *time.Time `json:"last_delivery_at,omitempty"`
// LastError A message code for the last failed attempt, never the target's own words.
LastError *string `json:"last_error,omitempty"`
// Secret The signing secret, in clear, for the only time.
Secret string `json:"secret"`
// State Never switched off for being unreachable; a paused subscription is one the operator paused, and is sent nothing.
State PlatformSubscriptionSecretState `json:"state"`
// TargetUrl Where each event is POSTed, through the guarded client.
TargetUrl string `json:"target_url"`
Version int `json:"version"`
}
PlatformSubscriptionSecret defines model for PlatformSubscriptionSecret.
type PlatformSubscriptionSecretState ¶
type PlatformSubscriptionSecretState string
PlatformSubscriptionSecretState Never switched off for being unreachable; a paused subscription is one the operator paused, and is sent nothing.
const ( PlatformSubscriptionSecretStateACTIVE PlatformSubscriptionSecretState = "ACTIVE" PlatformSubscriptionSecretStatePAUSED PlatformSubscriptionSecretState = "PAUSED" )
Defines values for PlatformSubscriptionSecretState.
func (PlatformSubscriptionSecretState) Valid ¶
func (e PlatformSubscriptionSecretState) Valid() bool
Valid indicates whether the value is a known member of the PlatformSubscriptionSecretState enum.
type PlatformSubscriptionState ¶
type PlatformSubscriptionState string
PlatformSubscriptionState Never switched off for being unreachable; a paused subscription is one the operator paused, and is sent nothing.
const ( PlatformSubscriptionStateACTIVE PlatformSubscriptionState = "ACTIVE" PlatformSubscriptionStatePAUSED PlatformSubscriptionState = "PAUSED" )
Defines values for PlatformSubscriptionState.
func (PlatformSubscriptionState) Valid ¶
func (e PlatformSubscriptionState) Valid() bool
Valid indicates whether the value is a known member of the PlatformSubscriptionState enum.
type PlatformSubscriptionUpdate ¶
type PlatformSubscriptionUpdate struct {
State *PlatformSubscriptionUpdateState `json:"state,omitempty"`
TargetUrl *string `json:"target_url,omitempty"`
}
PlatformSubscriptionUpdate Every field optional; an omitted one is left alone.
type PlatformSubscriptionUpdateState ¶
type PlatformSubscriptionUpdateState string
PlatformSubscriptionUpdateState defines model for PlatformSubscriptionUpdate.State.
const ( PlatformSubscriptionUpdateStateACTIVE PlatformSubscriptionUpdateState = "ACTIVE" PlatformSubscriptionUpdateStateLessThannil PlatformSubscriptionUpdateState = "<nil>" PlatformSubscriptionUpdateStatePAUSED PlatformSubscriptionUpdateState = "PAUSED" )
Defines values for PlatformSubscriptionUpdateState.
func (PlatformSubscriptionUpdateState) Valid ¶
func (e PlatformSubscriptionUpdateState) Valid() bool
Valid indicates whether the value is a known member of the PlatformSubscriptionUpdateState enum.
type PolicyLock ¶
type PolicyLock string
PolicyLock Where a lock came from, or null where there is none. The origin is answered rather than a bare boolean because "ask your administrator" and "ask your provider" are different sentences, and a screen told the wrong one sends somebody to the wrong person.
const ( PolicyLockINSTANCE PolicyLock = "INSTANCE" PolicyLockLessThannil PolicyLock = "<nil>" PolicyLockPLAN PolicyLock = "PLAN" PolicyLockWORKSPACE PolicyLock = "WORKSPACE" )
Defines values for PolicyLock.
func (PolicyLock) Valid ¶
func (e PolicyLock) Valid() bool
Valid indicates whether the value is a known member of the PolicyLock enum.
type PolicySource ¶
type PolicySource string
PolicySource Where a value in force came from: Hubtask's own default, the installation, the plan, or this workspace. A screen says it beside every rule, so nobody meets a value without learning who set it - and says nothing about an installation that decided nothing, which is what a private installation is.
const ( PolicySourceCOLLECTION PolicySource = "COLLECTION" PolicySourceDEFAULT PolicySource = "DEFAULT" PolicySourceHUB PolicySource = "HUB" PolicySourceINSTANCE PolicySource = "INSTANCE" PolicySourcePLAN PolicySource = "PLAN" PolicySourceWORKSPACE PolicySource = "WORKSPACE" )
Defines values for PolicySource.
func (PolicySource) Valid ¶
func (e PolicySource) Valid() bool
Valid indicates whether the value is a known member of the PolicySource enum.
type PollTriggerEventsParams ¶
type PollTriggerEventsParams struct {
// Since Where the last poll stopped. Absent starts at the oldest event still inside the retention window, which is what lets a poller that has never called before catch up rather than begin with a gap it cannot see.
Since *string `form:"since,omitempty" json:"since,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
PollTriggerEventsParams defines parameters for PollTriggerEvents.
type Preset ¶
type Preset struct {
// Id A saved preset's id. Absent on one of Hubtask's.
Id *openapi_types.UUID `json:"id,omitempty"`
// Key One of Hubtask's presets. Absent on a saved one.
Key *PresetKey `json:"key,omitempty"`
// Name A saved preset's name. Absent on one of Hubtask's, which a client names.
Name *string `json:"name,omitempty"`
// Origin Where the preset comes from: Hubtask's, the installation's (offered in every workspace), the workspace's (offered to everyone in it), or the caller's own (offered to them alone).
Origin PresetOrigin `json:"origin"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings StructureSettings `json:"settings"`
// Version A saved preset's optimistic lock. Absent on one of Hubtask's.
Version *int `json:"version,omitempty"`
}
Preset A starting point for a hub or collection: values for all eight settings, held to what this installation offers. Choosing one copies its values; nothing follows a preset afterwards. One of Hubtask's carries its stable `key`, which a client translates; a saved one - the installation's, the workspace's or the caller's own - its `id`, the `name` given it and its `version`.
type PresetCreate ¶
type PresetCreate struct {
// ContainerId The hub or collection whose structure in force is saved.
ContainerId openapi_types.UUID `json:"container_id"`
Name string `json:"name"`
// Origin For the workspace, or for the caller alone.
Origin PresetCreateOrigin `json:"origin"`
}
PresetCreate defines model for PresetCreate.
type PresetCreateOrigin ¶
type PresetCreateOrigin string
PresetCreateOrigin For the workspace, or for the caller alone.
const ( PresetCreateOriginOWN PresetCreateOrigin = "OWN" PresetCreateOriginWORKSPACE PresetCreateOrigin = "WORKSPACE" )
Defines values for PresetCreateOrigin.
func (PresetCreateOrigin) Valid ¶
func (e PresetCreateOrigin) Valid() bool
Valid indicates whether the value is a known member of the PresetCreateOrigin enum.
type PresetKey ¶
type PresetKey string
PresetKey One of Hubtask's presets. Absent on a saved one.
type PresetOrigin ¶
type PresetOrigin string
PresetOrigin Where the preset comes from: Hubtask's, the installation's (offered in every workspace), the workspace's (offered to everyone in it), or the caller's own (offered to them alone).
const ( PresetOriginHUBTASK PresetOrigin = "HUBTASK" PresetOriginINSTALLATION PresetOrigin = "INSTALLATION" PresetOriginOWN PresetOrigin = "OWN" PresetOriginWORKSPACE PresetOrigin = "WORKSPACE" )
Defines values for PresetOrigin.
func (PresetOrigin) Valid ¶
func (e PresetOrigin) Valid() bool
Valid indicates whether the value is a known member of the PresetOrigin enum.
type PresetUpdate ¶
type PresetUpdate struct {
// ContainerId A hub or collection whose structure in force replaces the preset's settings.
ContainerId *openapi_types.UUID `json:"container_id,omitempty"`
Name *string `json:"name,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings *StructureSettings `json:"settings,omitempty"`
}
PresetUpdate Applied in this order - the name, the structure copied again, the settings.
type PreviewContainerStructureJSONRequestBody ¶
type PreviewContainerStructureJSONRequestBody = StructureChange
PreviewContainerStructureJSONRequestBody defines body for PreviewContainerStructure for application/json ContentType.
type PreviewErasureParams ¶
type PreviewErasureParams struct {
Mode *ErasureMode `form:"mode,omitempty" json:"mode,omitempty"`
}
PreviewErasureParams defines parameters for PreviewErasure.
type PrivateHubAccess ¶
type PrivateHubAccess struct {
EndsAt time.Time `json:"ends_at"`
HubId openapi_types.UUID `json:"hub_id"`
Id openapi_types.UUID `json:"id"`
OpenedAt time.Time `json:"opened_at"`
// OpenedBy The account that opened it; null once that account is gone.
OpenedBy *openapi_types.UUID `json:"opened_by"`
Reason string `json:"reason"`
}
PrivateHubAccess One opening of a private hub by the workspace's owner (the emergency access): who, when, until when, and why.
type PrivateHubAccessRequest ¶
type PrivateHubAccessRequest struct {
// Reason Why the hub is opened. Told to every member of the hub, and kept with the hub as their record of who opened it.
Reason string `json:"reason"`
}
PrivateHubAccessRequest defines model for PrivateHubAccessRequest.
type PrivateHubSummary ¶
type PrivateHubSummary struct {
// AttachmentBytes The bytes of the files attached to its entries.
AttachmentBytes int64 `json:"attachment_bytes"`
// Collections Collections in it, the trashed ones included.
Collections int `json:"collections"`
CreatedAt time.Time `json:"created_at"`
// EmergencyAccess The caller's emergency access to this hub. `offered` is true where the caller may open it now - the workspace's owner, holding nothing in the hub, with no access of theirs running; `open_until` is the end of the caller's running access, or null.
EmergencyAccess struct {
Offered bool `json:"offered"`
OpenUntil *time.Time `json:"open_until"`
} `json:"emergency_access"`
// Entries Entries in it, the trashed ones included.
Entries int `json:"entries"`
Id openapi_types.UUID `json:"id"`
// Owners The accounts holding OWNER on the hub itself. Empty for a hub nobody owns any more.
Owners []openapi_types.UUID `json:"owners"`
// PurgeOn The day a trashed hub is deleted for good, by the workspace's trash period.
PurgeOn *openapi_types.Date `json:"purge_on,omitempty"`
TrashedAt *time.Time `json:"trashed_at,omitempty"`
}
PrivateHubSummary A private hub as an administrator sees it: whose, how big, and when it goes if it is in the trash. Deliberately without a name.
type Problem ¶
type Problem struct {
// Code A stable, machine-readable error code (part of the contract).
//
// Examples: capability_not_supported, version_conflict, rate_limited
Code string `json:"code"`
// DetailCode The message code for localisation in the client.
DetailCode *string `json:"detail_code,omitempty"`
Docs *string `json:"docs,omitempty"`
FieldErrors *[]struct {
Code *string `json:"code,omitempty"`
Params *map[string]interface{} `json:"params,omitempty"`
Path *string `json:"path,omitempty"`
} `json:"field_errors,omitempty"`
Params *map[string]interface{} `json:"params,omitempty"`
RequestId *string `json:"request_id,omitempty"`
Status int `json:"status"`
Title *string `json:"title,omitempty"`
Type *string `json:"type,omitempty"`
}
Problem defines model for Problem.
type ProcessingRestriction ¶
type ProcessingRestriction struct {
// Reason Why, for the audit trail. The restriction is a decision somebody took.
Reason *string `json:"reason,omitempty"`
Restricted bool `json:"restricted"`
}
ProcessingRestriction defines model for ProcessingRestriction.
type ProcessingState ¶
type ProcessingState struct {
AccountId openapi_types.UUID `json:"account_id"`
// Status `INVITED` when lifting the restriction of an invitation nobody accepted gave the
// invitation back.
Status ProcessingStateStatus `json:"status"`
}
ProcessingState What the call set, rather than the person it was set on. A restriction touches nothing else about an account, and answering their name and address here would be answering more than the caller asked about.
type ProcessingStateStatus ¶
type ProcessingStateStatus string
ProcessingStateStatus `INVITED` when lifting the restriction of an invitation nobody accepted gave the invitation back.
const ( ProcessingStateStatusACTIVE ProcessingStateStatus = "ACTIVE" ProcessingStateStatusINVITED ProcessingStateStatus = "INVITED" ProcessingStateStatusRESTRICTED ProcessingStateStatus = "RESTRICTED" )
Defines values for ProcessingStateStatus.
func (ProcessingStateStatus) Valid ¶
func (e ProcessingStateStatus) Valid() bool
Valid indicates whether the value is a known member of the ProcessingStateStatus enum.
type ProviderConnectAuthorization ¶
type ProviderConnectAuthorization struct {
// AuthorizationUrl The provider's authorization endpoint with `prompt=login`, `max_age=0` and this flow's parameters. The verifier and the nonce stay on the server.
AuthorizationUrl string `json:"authorization_url"`
// ExpiresAt When the flow stops being answerable.
ExpiresAt time.Time `json:"expires_at"`
ProviderId openapi_types.UUID `json:"provider_id"`
ProviderName string `json:"provider_name"`
}
ProviderConnectAuthorization Where to send the browser to connect a provider, and which provider that is.
type ProviderConnectReturn ¶
type ProviderConnectReturn struct {
// AuthorizationCode The code the provider issued.
AuthorizationCode string `json:"authorization_code"`
// State The handle `POST /accounts/me/identities:connect` minted, as the provider echoed it.
State string `json:"state"`
}
ProviderConnectReturn defines model for ProviderConnectReturn.
type ProviderConnectStart ¶
type ProviderConnectStart struct {
// ProviderId Which provider to connect, from `GET /auth/sign-in-rules`.
ProviderId openapi_types.UUID `json:"provider_id"`
}
ProviderConnectStart defines model for ProviderConnectStart.
type ProviderOffer ¶
type ProviderOffer struct {
// Offered Whether this provider is a way into this workspace.
Offered bool `json:"offered"`
}
ProviderOffer defines model for ProviderOffer.
type ProviderStepUpAuthorization ¶
type ProviderStepUpAuthorization struct {
// AuthorizationUrl The provider's authorization endpoint with `prompt=login`, `max_age=0` and this flow's parameters. The verifier and the nonce stay on the server.
AuthorizationUrl string `json:"authorization_url"`
// ExpiresAt When the flow stops being answerable.
ExpiresAt time.Time `json:"expires_at"`
ProviderId openapi_types.UUID `json:"provider_id"`
// ProviderName The provider's name, as the sign-in button shows it.
ProviderName string `json:"provider_name"`
}
ProviderStepUpAuthorization Where to send the browser for a `PROVIDER` step-up, and which provider that is.
type ProviderSummary ¶
type ProviderSummary struct {
DisplayName string `json:"display_name"`
// Id What `/auth/oidc:start` is given to choose this provider.
Id string `json:"id"`
// Kind The preset it was configured from, which is what decides the mark that is drawn. `GENERIC` draws the letter tile, which is the honest answer for a provider with no published button guideline rather than a borrowed logo.
Kind string `json:"kind"`
// Scope Whether every workspace is offered it, or this one configured it.
Scope ProviderSummaryScope `json:"scope"`
}
ProviderSummary One way into this workspace, as a sign-in card needs it.
type ProviderSummaryScope ¶
type ProviderSummaryScope string
ProviderSummaryScope Whether every workspace is offered it, or this one configured it.
const ( ProviderSummaryScopeInstallation ProviderSummaryScope = "installation" ProviderSummaryScopeWorkspace ProviderSummaryScope = "workspace" )
Defines values for ProviderSummaryScope.
func (ProviderSummaryScope) Valid ¶
func (e ProviderSummaryScope) Valid() bool
Valid indicates whether the value is a known member of the ProviderSummaryScope enum.
type ProviderWithdrawal ¶
type ProviderWithdrawal struct {
// ConfirmCount Required for *Withdraw now*: the number of workspaces that have the provider switched on, as the operator read it before confirming.
ConfirmCount *int `json:"confirm_count,omitempty"`
// WithdrawAt When the offer ends. Absent is fourteen days from now; now or past is *Withdraw now*, and less than a day ahead asks for the count as *Withdraw now* does.
WithdrawAt *time.Time `json:"withdraw_at,omitempty"`
}
ProviderWithdrawal When an offered provider is withdrawn, and for *Withdraw now* the count confirmed.
type ProvisionTenantJSONRequestBody ¶
type ProvisionTenantJSONRequestBody = TenantProvision
ProvisionTenantJSONRequestBody defines body for ProvisionTenant for application/json ContentType.
type ProvisionTenantParams ¶
type ProvisionTenantParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ProvisionTenantParams defines parameters for ProvisionTenant.
type ProvisionedTenant ¶
type ProvisionedTenant struct {
CreatedAt time.Time `json:"created_at"`
DefaultHubId openapi_types.UUID `json:"default_hub_id"`
DefaultLocale *string `json:"default_locale,omitempty"`
DefaultTimeZone *string `json:"default_time_zone,omitempty"`
DisplayName string `json:"display_name"`
ExampleCollectionId openapi_types.UUID `json:"example_collection_id"`
// ExternalReference The purchase platform's own reference, where it set one.
ExternalReference *string `json:"external_reference,omitempty"`
Id openapi_types.UUID `json:"id"`
// LegalHold Whether a legal hold is in force in the workspace. While one is, a deletion request is refused, and a workspace already pending deletion stays pending until the last hold is lifted. Only the state: which hold, on what and why stay the workspace's.
LegalHold *bool `json:"legal_hold,omitempty"`
OwnerAccountId openapi_types.UUID `json:"owner_account_id"`
// OwnerRedemptionToken The owner's way in, shown for the only time: whoever the workspace is for redeems it, sets a password, and is signed in. Hand it to them; it cannot be read again.
OwnerRedemptionToken string `json:"owner_redemption_token"`
// PasswordOpening The operator's opening of the password while it is in force, null otherwise - an opening past its end is answered as none, whatever the row still holds.
PasswordOpening *PasswordOpening `json:"password_opening,omitempty"`
// Plan The short name of the workspace's plan, null for none.
Plan *string `json:"plan,omitempty"`
// PurgeAfter Set while a deletion request stands - when the grace runs out.
PurgeAfter *time.Time `json:"purge_after,omitempty"`
// PurgeStartedAt Set once the hard delete has begun removing the workspace. From then on its deletion can no longer be called off.
PurgeStartedAt *time.Time `json:"purge_started_at,omitempty"`
Slug string `json:"slug"`
Status ProvisionedTenantStatus `json:"status"`
// Version The workspace's version: it grows with every change to the workspace, by the control plane or by its own administrators. A move names it to refuse a stale one.
Version *int `json:"version,omitempty"`
}
ProvisionedTenant defines model for ProvisionedTenant.
type ProvisionedTenantStatus ¶
type ProvisionedTenantStatus string
ProvisionedTenantStatus defines model for ProvisionedTenant.Status.
const ( ProvisionedTenantStatusACTIVE ProvisionedTenantStatus = "ACTIVE" ProvisionedTenantStatusPENDINGDELETION ProvisionedTenantStatus = "PENDING_DELETION" ProvisionedTenantStatusSUSPENDED ProvisionedTenantStatus = "SUSPENDED" )
Defines values for ProvisionedTenantStatus.
func (ProvisionedTenantStatus) Valid ¶
func (e ProvisionedTenantStatus) Valid() bool
Valid indicates whether the value is a known member of the ProvisionedTenantStatus enum.
type PurgeSummary ¶
type PurgeSummary struct {
// Blocked What was kept, counted by reason - `legal_hold`, `tombstone_window`. An object rather than a total, so that a client can say why rather than only how many.
Blocked map[string]int `json:"blocked"`
// Matched How many rows the pass considered, whether or not they went.
Matched int `json:"matched"`
// Removed How many actually went.
Removed int `json:"removed"`
}
PurgeSummary What one pass of a removal did.
type PurgeWorkItemParams ¶
type PurgeWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
PurgeWorkItemParams defines parameters for PurgeWorkItem.
type QueryField ¶
type QueryField struct {
Field string `json:"field"`
Groupable bool `json:"groupable"`
// Kind What a value for this field looks like. `text` is free text a full-text operator reads, `id_set` a relation an entry has several of.
Kind QueryFieldKind `json:"kind"`
// Nullable Whether the field can be absent, and `IS_NULL` therefore means something.
Nullable bool `json:"nullable"`
// Operators The comparisons this field permits, exhaustively. Empty for a field that may only be ordered or grouped by.
Operators []string `json:"operators"`
Sortable bool `json:"sortable"`
// Values The permitted values, for a field of kind `enum`.
Values *[]string `json:"values,omitempty"`
}
QueryField One field `POST /items:query` accepts, and what may be asked of it.
type QueryFieldKind ¶
type QueryFieldKind string
QueryFieldKind What a value for this field looks like. `text` is free text a full-text operator reads, `id_set` a relation an entry has several of.
const ( QueryFieldKindBoolean QueryFieldKind = "boolean" QueryFieldKindEnum QueryFieldKind = "enum" QueryFieldKindId QueryFieldKind = "id" QueryFieldKindIdSet QueryFieldKind = "id_set" QueryFieldKindInteger QueryFieldKind = "integer" QueryFieldKindString QueryFieldKind = "string" QueryFieldKindText QueryFieldKind = "text" QueryFieldKindTimestamp QueryFieldKind = "timestamp" )
Defines values for QueryFieldKind.
func (QueryFieldKind) Valid ¶
func (e QueryFieldKind) Valid() bool
Valid indicates whether the value is a known member of the QueryFieldKind enum.
type QueryItemsJSONRequestBody ¶
type QueryItemsJSONRequestBody = ItemQuery
QueryItemsJSONRequestBody defines body for QueryItems for application/json ContentType.
type QueryTenantsJSONRequestBody ¶
type QueryTenantsJSONRequestBody = TenantQuery
QueryTenantsJSONRequestBody defines body for QueryTenants for application/json ContentType.
type QuotaSource ¶
type QuotaSource string
QuotaSource Which level set the ceiling in force: Hubtask's default for the mode, the installation, the workspace's plan, the operator's exception for this one workspace, or - for the workspace's own AI budget only - the workspace itself.
const ( QuotaSourceDEFAULT QuotaSource = "DEFAULT" QuotaSourceEXCEPTION QuotaSource = "EXCEPTION" QuotaSourceINSTANCE QuotaSource = "INSTANCE" QuotaSourcePLAN QuotaSource = "PLAN" QuotaSourceWORKSPACE QuotaSource = "WORKSPACE" )
Defines values for QuotaSource.
func (QuotaSource) Valid ¶
func (e QuotaSource) Valid() bool
Valid indicates whether the value is a known member of the QuotaSource enum.
type QuotaStanding ¶
type QuotaStanding struct {
// Configured True when the workspace carries its own ceiling rather than the mode's default.
Configured *bool `json:"configured,omitempty"`
// Limit The resolved ceiling. 0 means unlimited.
Limit int64 `json:"limit"`
// Lock Which level locked this ceiling - the installation, or the workspace's plan - or null. The operator's exception for one workspace still decides under either.
Lock *PolicyLock `json:"lock,omitempty"`
// Locked True when the installation locked this ceiling for every workspace, so it is set by the installation rather than offered as its default.
Locked *bool `json:"locked,omitempty"`
// Quota The AI rows are counted per day in the workspace's time zone: `ai_tokens_per_day` is the offered model's budget, `ai_own_tokens_per_day` the workspace's own model's, set by the workspace itself and unlimited unless it does, and `ai_arrival_proposals_per_day` how many jumble arrivals may be asked about on arrival - a number of entries, 200 by default.
Quota QuotaStandingQuota `json:"quota"`
// Ratio used / limit, null while either half is missing. The same number hubtask_tenant_quota_usage_ratio reports.
Ratio *float32 `json:"ratio,omitempty"`
// Source Which level set the ceiling in force: Hubtask's default for the mode, the installation, the workspace's plan, the operator's exception for this one workspace, or - for the workspace's own AI budget only - the workspace itself.
Source *QuotaSource `json:"source,omitempty"`
// Used The live count, where one exists; null where the limit is enforced elsewhere (the request rate lives in the limiter's own headers).
Used *int64 `json:"used,omitempty"`
}
QuotaStanding defines model for QuotaStanding.
type QuotaStandingQuota ¶
type QuotaStandingQuota string
QuotaStandingQuota The AI rows are counted per day in the workspace's time zone: `ai_tokens_per_day` is the offered model's budget, `ai_own_tokens_per_day` the workspace's own model's, set by the workspace itself and unlimited unless it does, and `ai_arrival_proposals_per_day` how many jumble arrivals may be asked about on arrival - a number of entries, 200 by default.
const ( Accounts QuotaStandingQuota = "accounts" AiArrivalProposalsPerDay QuotaStandingQuota = "ai_arrival_proposals_per_day" AiOwnTokensPerDay QuotaStandingQuota = "ai_own_tokens_per_day" AiTokensPerDay QuotaStandingQuota = "ai_tokens_per_day" ApiRequestsPerMinute QuotaStandingQuota = "api_requests_per_minute" AutomationRunsPerHour QuotaStandingQuota = "automation_runs_per_hour" ExportJobs QuotaStandingQuota = "export_jobs" Items QuotaStandingQuota = "items" MediaBytes QuotaStandingQuota = "media_bytes" WebhookTargets QuotaStandingQuota = "webhook_targets" )
Defines values for QuotaStandingQuota.
func (QuotaStandingQuota) Valid ¶
func (e QuotaStandingQuota) Valid() bool
Valid indicates whether the value is a known member of the QuotaStandingQuota enum.
type ReadUsageParams ¶
type ReadUsageParams struct {
From openapi_types.Date `form:"from" json:"from"`
To openapi_types.Date `form:"to" json:"to"`
Metric *UsageMetricName `form:"metric,omitempty" json:"metric,omitempty"`
Workspace *openapi_types.UUID `form:"workspace,omitempty" json:"workspace,omitempty"`
Cursor *Cursor `form:"cursor,omitempty" json:"cursor,omitempty"`
Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}
ReadUsageParams defines parameters for ReadUsage.
type ReapplyErasuresJSONRequestBody ¶
type ReapplyErasuresJSONRequestBody = ErasureReapplyRequest
ReapplyErasuresJSONRequestBody defines body for ReapplyErasures for application/json ContentType.
type ReapplyErasuresParams ¶
type ReapplyErasuresParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
ReapplyErasuresParams defines parameters for ReapplyErasures.
type RecoveryCodes ¶
type RecoveryCodes struct {
RecoveryCodes []string `json:"recovery_codes"`
}
RecoveryCodes The ten codes, shown once and stored only as hashes.
type Recurrence ¶
type Recurrence struct {
CreatedAt time.Time `json:"created_at"`
// EndsAt When the series stops. At most one of ends_at and max_count.
EndsAt *time.Time `json:"ends_at,omitempty"`
// HorizonDays How far ahead occurrences are materialised, in days. A rolling window rather than the whole series: a rule with no end would otherwise be an infinite list of entries.
HorizonDays int `json:"horizon_days"`
Id openapi_types.UUID `json:"id"`
// ItemId The entry the series belongs to - the one the occurrences are copied from.
ItemId openapi_types.UUID `json:"item_id"`
// LastMaterializedAt How far the materialisation has come. The server's own bookkeeping - a client reads it and never writes it.
LastMaterializedAt *time.Time `json:"last_materialized_at,omitempty"`
// MaxCount How many occurrences the series produces at most. At most one of the two.
MaxCount *int `json:"max_count,omitempty"`
// Mode ON_SCHEDULE puts the next occurrence in place at its time, whether or not the last one was done - a rent payment does not wait. ON_COMPLETION creates the next one only once its predecessor is completed - a task that means "again, two weeks after I last did it".
Mode RecurrenceMode `json:"mode"`
// Rrule An RFC 5545 recurrence rule, stored as it was given. The DTSTART is the entry's own due date rather than part of this string: a series is when this entry repeats, and two starts would be two answers to that.
Rrule string `json:"rrule"`
// TimeZone The IANA zone the rule is read in, required. Daylight saving is resolved through it and never through a UTC offset, which is what keeps 09:00 at 09:00 across a transition.
TimeZone string `json:"time_zone"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
Recurrence defines model for Recurrence.
type RecurrenceInput ¶
type RecurrenceInput struct {
EndsAt *time.Time `json:"ends_at,omitempty"`
HorizonDays *int `json:"horizon_days,omitempty"`
MaxCount *int `json:"max_count,omitempty"`
// Mode ON_SCHEDULE puts the next occurrence in place at its time, whether or not the last one was done - a rent payment does not wait. ON_COMPLETION creates the next one only once its predecessor is completed - a task that means "again, two weeks after I last did it".
Mode RecurrenceMode `json:"mode"`
Rrule string `json:"rrule"`
TimeZone string `json:"time_zone"`
}
RecurrenceInput defines model for RecurrenceInput.
type RecurrenceMode ¶
type RecurrenceMode string
RecurrenceMode ON_SCHEDULE puts the next occurrence in place at its time, whether or not the last one was done - a rent payment does not wait. ON_COMPLETION creates the next one only once its predecessor is completed - a task that means "again, two weeks after I last did it".
const ( ONCOMPLETION RecurrenceMode = "ON_COMPLETION" ONSCHEDULE RecurrenceMode = "ON_SCHEDULE" )
Defines values for RecurrenceMode.
func (RecurrenceMode) Valid ¶
func (e RecurrenceMode) Valid() bool
Valid indicates whether the value is a known member of the RecurrenceMode enum.
type RedeemInvitationJSONRequestBody ¶
type RedeemInvitationJSONRequestBody = InvitationRedemption
RedeemInvitationJSONRequestBody defines body for RedeemInvitation for application/json ContentType.
type RefreshSessionJSONRequestBody ¶
type RefreshSessionJSONRequestBody = SessionRefresh
RefreshSessionJSONRequestBody defines body for RefreshSession for application/json ContentType.
type RegenerateRecoveryCodesParams ¶
type RegenerateRecoveryCodesParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RegenerateRecoveryCodesParams defines parameters for RegenerateRecoveryCodes.
type RegisterOauthClientJSONRequestBody ¶
type RegisterOauthClientJSONRequestBody = OauthClientCreate
RegisterOauthClientJSONRequestBody defines body for RegisterOauthClient for application/json ContentType.
type RegisterOauthClientParams ¶
type RegisterOauthClientParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RegisterOauthClientParams defines parameters for RegisterOauthClient.
type ReleaseLegalHoldJSONRequestBody ¶
type ReleaseLegalHoldJSONRequestBody = LegalHoldRelease
ReleaseLegalHoldJSONRequestBody defines body for ReleaseLegalHold for application/json ContentType.
type Reminder ¶
type Reminder struct {
Channels []ReminderChannel `json:"channels"`
CreatedAt time.Time `json:"created_at"`
// FireAt The moment the server will fire at, and its value alone: for ABS the instant itself, for REL the due date plus the offset, recomputed whenever the due date moves. Null for a relative reminder whose entry has lost its due date - the reminder stays, because the date may come back and nobody asked for the reminder to go.
FireAt *time.Time `json:"fire_at,omitempty"`
Id openapi_types.UUID `json:"id"`
ItemId openapi_types.UUID `json:"item_id"`
// OffsetSpec REL:<ISO-8601 duration> counted from the entry's due date - negative for before it - or ABS:<RFC 3339 instant>, a fixed moment. Years and months are refused in a duration: they are calendar arithmetic rather than a length of time, and a reminder that meant two different things in two months would be a promise this offset cannot keep.
OffsetSpec string `json:"offset_spec"`
// Recipients Who is reminded. Empty means the assignee and the entry's members, resolved when the reminder fires rather than when it is written - so somebody added to the entry tomorrow is reached tomorrow.
Recipients []openapi_types.UUID `json:"recipients"`
// State Where the reminder stands, written by the server and never by a client: PENDING until it fires, SENT once it has, CANCELLED when it never will. Deleting a reminder removes it rather than cancelling it.
//
// LAPSED is the fourth, and only a restore produces it: a reminder whose moment passed while the data sat in an archive. Not CANCELLED, which would leave an auditor reading hundreds of cancellations nobody made, and not PENDING, which would have the scheduler send every one of them at once. To a device it means what a cancellation means - do not remind.
State ReminderState `json:"state"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
Reminder defines model for Reminder.
type ReminderChannel ¶
type ReminderChannel string
ReminderChannel What carries the reminder. EMAIL is the one channel this installation sends on; more may be added, and a client tolerates a value it does not know.
const (
ReminderChannelEMAIL ReminderChannel = "EMAIL"
)
Defines values for ReminderChannel.
func (ReminderChannel) Valid ¶
func (e ReminderChannel) Valid() bool
Valid indicates whether the value is a known member of the ReminderChannel enum.
type ReminderInput ¶
type ReminderInput struct {
// Channels Omitted means EMAIL, the one channel this installation sends on.
Channels *[]ReminderChannel `json:"channels,omitempty"`
OffsetSpec string `json:"offset_spec"`
// Recipients Omitted or empty means the assignee and the entry's members. Everybody named has to be able to reach the entry, exactly as an assignee has to.
Recipients *[]openapi_types.UUID `json:"recipients,omitempty"`
}
ReminderInput defines model for ReminderInput.
type ReminderState ¶
type ReminderState string
ReminderState Where the reminder stands, written by the server and never by a client: PENDING until it fires, SENT once it has, CANCELLED when it never will. Deleting a reminder removes it rather than cancelling it.
LAPSED is the fourth, and only a restore produces it: a reminder whose moment passed while the data sat in an archive. Not CANCELLED, which would leave an auditor reading hundreds of cancellations nobody made, and not PENDING, which would have the scheduler send every one of them at once. To a device it means what a cancellation means - do not remind.
const ( ReminderStateCANCELLED ReminderState = "CANCELLED" ReminderStateLAPSED ReminderState = "LAPSED" ReminderStatePENDING ReminderState = "PENDING" ReminderStateSENT ReminderState = "SENT" )
Defines values for ReminderState.
func (ReminderState) Valid ¶
func (e ReminderState) Valid() bool
Valid indicates whether the value is a known member of the ReminderState enum.
type ReminderUpdate ¶
type ReminderUpdate struct {
Channels *[]ReminderChannel `json:"channels,omitempty"`
OffsetSpec *string `json:"offset_spec,omitempty"`
Recipients *[]openapi_types.UUID `json:"recipients,omitempty"`
}
ReminderUpdate A merge patch. An absent member is not touched; a member that is sent replaces what is stored, lists included - channels and recipients are chosen whole.
type RemoveIdentityProviderParams ¶
type RemoveIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RemoveIdentityProviderParams defines parameters for RemoveIdentityProvider.
type RemoveInstanceIdentityProviderParams ¶
type RemoveInstanceIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RemoveInstanceIdentityProviderParams defines parameters for RemoveInstanceIdentityProvider.
type RemoveOwnPasskeyParams ¶
type RemoveOwnPasskeyParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RemoveOwnPasskeyParams defines parameters for RemoveOwnPasskey.
type RemoveRecurrenceParams ¶
type RemoveRecurrenceParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
RemoveRecurrenceParams defines parameters for RemoveRecurrence.
type RenameContainerApplicationMergePatchPlusJSONRequestBody ¶
type RenameContainerApplicationMergePatchPlusJSONRequestBody = ContainerUpdate
RenameContainerApplicationMergePatchPlusJSONRequestBody defines body for RenameContainer for application/merge-patch+json ContentType.
type RenameContainerParams ¶
type RenameContainerParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
RenameContainerParams defines parameters for RenameContainer.
type RenameOwnPasskeyJSONRequestBody ¶
type RenameOwnPasskeyJSONRequestBody = PasskeyRename
RenameOwnPasskeyJSONRequestBody defines body for RenameOwnPasskey for application/json ContentType.
type RenewInvitationParams ¶
type RenewInvitationParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RenewInvitationParams defines parameters for RenewInvitation.
type ReopenWorkItemParams ¶
type ReopenWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ReopenWorkItemParams defines parameters for ReopenWorkItem.
type ReorderBucketJSONBody ¶
type ReorderBucketJSONBody struct {
// BeforeBucketId The column this one goes to the left of. Absent is the right hand end.
BeforeBucketId *openapi_types.UUID `json:"before_bucket_id,omitempty"`
}
ReorderBucketJSONBody defines parameters for ReorderBucket.
type ReorderBucketJSONRequestBody ¶
type ReorderBucketJSONRequestBody ReorderBucketJSONBody
ReorderBucketJSONRequestBody defines body for ReorderBucket for application/json ContentType.
type ReorderBucketParams ¶
type ReorderBucketParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ReorderBucketParams defines parameters for ReorderBucket.
type ReorderContainerJSONBody ¶
type ReorderContainerJSONBody struct {
// BeforeContainerId The sibling to place this container before, at its own level. Null or omitted appends to the end of the level. A sibling that is not at this level is refused rather than treated as an append.
BeforeContainerId *openapi_types.UUID `json:"before_container_id,omitempty"`
}
ReorderContainerJSONBody defines parameters for ReorderContainer.
type ReorderContainerJSONRequestBody ¶
type ReorderContainerJSONRequestBody ReorderContainerJSONBody
ReorderContainerJSONRequestBody defines body for ReorderContainer for application/json ContentType.
type ReorderContainerParams ¶
type ReorderContainerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ReorderContainerParams defines parameters for ReorderContainer.
type ReorderWorkItemJSONBody ¶
type ReorderWorkItemJSONBody struct {
// BeforeItemId The sibling to place this item before. Null or omitted appends to the end of the level.
BeforeItemId *openapi_types.UUID `json:"before_item_id,omitempty"`
}
ReorderWorkItemJSONBody defines parameters for ReorderWorkItem.
type ReorderWorkItemJSONRequestBody ¶
type ReorderWorkItemJSONRequestBody ReorderWorkItemJSONBody
ReorderWorkItemJSONRequestBody defines body for ReorderWorkItem for application/json ContentType.
type ReorderWorkItemParams ¶
type ReorderWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ReorderWorkItemParams defines parameters for ReorderWorkItem.
type ReplaceLegalHoldsJSONRequestBody ¶
type ReplaceLegalHoldsJSONRequestBody = LegalHoldReplaceRequest
ReplaceLegalHoldsJSONRequestBody defines body for ReplaceLegalHolds for application/json ContentType.
type ReplayRuleRunParams ¶
type ReplayRuleRunParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
ReplayRuleRunParams defines parameters for ReplayRuleRun.
type RequestAddressJSONRequestBody ¶
type RequestAddressJSONRequestBody = AddressRequest
RequestAddressJSONRequestBody defines body for RequestAddress for application/json ContentType.
type RequestMediaUploadJSONRequestBody ¶
type RequestMediaUploadJSONRequestBody = MediaUploadRequest
RequestMediaUploadJSONRequestBody defines body for RequestMediaUpload for application/json ContentType.
type RequestMediaUploadParams ¶
type RequestMediaUploadParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RequestMediaUploadParams defines parameters for RequestMediaUpload.
type RequestTenantDeletionJSONRequestBody ¶
type RequestTenantDeletionJSONRequestBody = TenantDeletionRequest
RequestTenantDeletionJSONRequestBody defines body for RequestTenantDeletion for application/json ContentType.
type RequestTenantDeletionParams ¶
type RequestTenantDeletionParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RequestTenantDeletionParams defines parameters for RequestTenantDeletion.
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type ResealAccepted ¶
type ResealAccepted struct {
// ActiveKeyId The key the queued work will seal under.
ActiveKeyId string `json:"active_key_id"`
// QueuedTenants How many workspaces were given a re-sealing job.
QueuedTenants int `json:"queued_tenants"`
}
ResealAccepted defines model for ResealAccepted.
type ResetPasswordJSONRequestBody ¶
type ResetPasswordJSONRequestBody = PasswordReset
ResetPasswordJSONRequestBody defines body for ResetPassword for application/json ContentType.
type RestoreContainerParams ¶
type RestoreContainerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RestoreContainerParams defines parameters for RestoreContainer.
type RestoreLabelParams ¶
type RestoreLabelParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RestoreLabelParams defines parameters for RestoreLabel.
type RestoreReport ¶
type RestoreReport struct {
// Conflicts Collisions the conflict rule had to decide. It is the sum of the three ways one can be decided, and it is reported separately because "how much of this run is a decision I made in advance" is the question a dry run exists to answer.
Conflicts *int `json:"conflicts,omitempty"`
// Deleted Objects the archive holds that the deletion journal kept out.
Deleted *int `json:"deleted,omitempty"`
// Duplicated Objects imported beside the live one under a new identity.
Duplicated *int `json:"duplicated,omitempty"`
// Entities How many records each entity contributed.
Entities *map[string]int `json:"entities,omitempty"`
// Media Attachments transferred back into the object store.
Media *int `json:"media,omitempty"`
// New Objects the archive holds and the tenant does not.
New *int `json:"new,omitempty"`
// Overwritten Objects replaced by the archive's version.
Overwritten *int `json:"overwritten,omitempty"`
// Skipped Objects left as they are.
Skipped *int `json:"skipped,omitempty"`
// Withheld What the restore deliberately did not bring back, counted by reason - `deletion_journal`, `excluded_entity`, `media_missing`, `orphaned` (a row whose parent is in neither the archive nor the target), `legal_hold_kept` (a legal hold of the archive that a restore into a living workspace does not take, because the workspace keeps its own) - and, for an import, what the source carried that the product has no place for - `unmapped_members`. An object rather than a total, so that a client can say why.
Withheld *map[string]int `json:"withheld,omitempty"`
}
RestoreReport What a restore did, or - on a dry run - what it would do. The same shape either way, so that the report a caller approved and the report they get back are comparable.
type RestoreRequest ¶
type RestoreRequest struct {
// ArchiveId Where the archive lies at the target: the `path` of a `BackupArchive` as `GET /backup-targets/{targetId}/backups` lists it (and as `RestoreRun.source_archive` echoes it), not the `archive_id` beside it, which is the manifest's. A path rather than an identifier because a restore has to be possible when the database that recorded the run is gone. A path the target holds nothing at fails the run with `backup.archive_not_found`.
ArchiveId string `json:"archive_id"`
// Confirmation For destructive modes, the exact tenant name.
Confirmation *string `json:"confirmation,omitempty"`
ConflictRule *RestoreRequestConflictRule `json:"conflict_rule,omitempty"`
CreateSafetyBackup *bool `json:"create_safety_backup,omitempty"`
DecryptionPassphrase *string `json:"decryption_passphrase,omitempty"`
DryRun *bool `json:"dry_run,omitempty"`
Mode RestoreRequestMode `json:"mode"`
// Selection The selection for SELECTIVE - container and/or item IDs.
Selection *struct {
ContainerIds *[]openapi_types.UUID `json:"container_ids,omitempty"`
ItemIds *[]openapi_types.UUID `json:"item_ids,omitempty"`
} `json:"selection,omitempty"`
// StepUpToken The proof of a fresh, stronger authentication for a destructive mode: the token `POST /auth/step-up` answered. A destructive restore without one is refused rather than silently permitted.
StepUpToken *string `json:"step_up_token,omitempty"`
TargetId openapi_types.UUID `json:"target_id"`
// TargetTenantId The tenant being restored into. Required for every mode a workspace may ask for - `INSPECT`, `SELECTIVE`, `MERGE`, `REPLACE_TENANT` - and refused with `backup.restore_tenant_required` when missing; refused for `NEW_TENANT`, which mints its own, and `INSTANCE`, which crosses tenants and is the operator's.
TargetTenantId *openapi_types.UUID `json:"target_tenant_id,omitempty"`
}
RestoreRequest defines model for RestoreRequest.
type RestoreRequestConflictRule ¶
type RestoreRequestConflictRule string
RestoreRequestConflictRule defines model for RestoreRequest.ConflictRule.
const ( RestoreRequestConflictRuleDUPLICATE RestoreRequestConflictRule = "DUPLICATE" RestoreRequestConflictRuleOVERWRITE RestoreRequestConflictRule = "OVERWRITE" RestoreRequestConflictRuleSKIP RestoreRequestConflictRule = "SKIP" )
Defines values for RestoreRequestConflictRule.
func (RestoreRequestConflictRule) Valid ¶
func (e RestoreRequestConflictRule) Valid() bool
Valid indicates whether the value is a known member of the RestoreRequestConflictRule enum.
type RestoreRequestMode ¶
type RestoreRequestMode string
RestoreRequestMode defines model for RestoreRequest.Mode.
const ( RestoreRequestModeINSPECT RestoreRequestMode = "INSPECT" RestoreRequestModeINSTANCE RestoreRequestMode = "INSTANCE" RestoreRequestModeMERGE RestoreRequestMode = "MERGE" RestoreRequestModeNEWTENANT RestoreRequestMode = "NEW_TENANT" RestoreRequestModeREPLACETENANT RestoreRequestMode = "REPLACE_TENANT" RestoreRequestModeSELECTIVE RestoreRequestMode = "SELECTIVE" )
Defines values for RestoreRequestMode.
func (RestoreRequestMode) Valid ¶
func (e RestoreRequestMode) Valid() bool
Valid indicates whether the value is a known member of the RestoreRequestMode enum.
type RestoreRun ¶
type RestoreRun struct {
ConflictRule *RestoreRunConflictRule `json:"conflict_rule,omitempty"`
DryRun bool `json:"dry_run"`
// ErrorCode The message code of the failure, never a message and never free text.
ErrorCode *string `json:"error_code,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id openapi_types.UUID `json:"id"`
Mode RestoreRunMode `json:"mode"`
// Report What a restore did, or - on a dry run - what it would do. The same shape either way, so that the report a caller approved and the report they get back are comparable.
Report *RestoreReport `json:"report,omitempty"`
// SafetyBackupRunId The copy taken before a destructive mode, and the way back from it.
SafetyBackupRunId *openapi_types.UUID `json:"safety_backup_run_id,omitempty"`
// SourceArchive Where the archive lies at the target. A path rather than a run identifier, because a restore has to be possible when the database that recorded the run is gone.
SourceArchive string `json:"source_archive"`
StartedAt *time.Time `json:"started_at,omitempty"`
Status RestoreRunStatus `json:"status"`
TargetId openapi_types.UUID `json:"target_id"`
// TenantId The tenant being restored into.
TenantId *openapi_types.UUID `json:"tenant_id,omitempty"`
}
RestoreRun One restore, asked for or done. Its report is what a dry run produces and what the mode without `dry_run` is judged against.
type RestoreRunConflictRule ¶
type RestoreRunConflictRule string
RestoreRunConflictRule defines model for RestoreRun.ConflictRule.
const ( RestoreRunConflictRuleDUPLICATE RestoreRunConflictRule = "DUPLICATE" RestoreRunConflictRuleOVERWRITE RestoreRunConflictRule = "OVERWRITE" RestoreRunConflictRuleSKIP RestoreRunConflictRule = "SKIP" )
Defines values for RestoreRunConflictRule.
func (RestoreRunConflictRule) Valid ¶
func (e RestoreRunConflictRule) Valid() bool
Valid indicates whether the value is a known member of the RestoreRunConflictRule enum.
type RestoreRunMode ¶
type RestoreRunMode string
RestoreRunMode defines model for RestoreRun.Mode.
const ( RestoreRunModeINSPECT RestoreRunMode = "INSPECT" RestoreRunModeINSTANCE RestoreRunMode = "INSTANCE" RestoreRunModeMERGE RestoreRunMode = "MERGE" RestoreRunModeNEWTENANT RestoreRunMode = "NEW_TENANT" RestoreRunModeREPLACETENANT RestoreRunMode = "REPLACE_TENANT" RestoreRunModeSELECTIVE RestoreRunMode = "SELECTIVE" )
Defines values for RestoreRunMode.
func (RestoreRunMode) Valid ¶
func (e RestoreRunMode) Valid() bool
Valid indicates whether the value is a known member of the RestoreRunMode enum.
type RestoreRunStatus ¶
type RestoreRunStatus string
RestoreRunStatus defines model for RestoreRun.Status.
const ( RestoreRunStatusCANCELLED RestoreRunStatus = "CANCELLED" RestoreRunStatusFAILED RestoreRunStatus = "FAILED" RestoreRunStatusPENDING RestoreRunStatus = "PENDING" RestoreRunStatusRUNNING RestoreRunStatus = "RUNNING" RestoreRunStatusSUCCEEDED RestoreRunStatus = "SUCCEEDED" RestoreRunStatusVALIDATING RestoreRunStatus = "VALIDATING" )
Defines values for RestoreRunStatus.
func (RestoreRunStatus) Valid ¶
func (e RestoreRunStatus) Valid() bool
Valid indicates whether the value is a known member of the RestoreRunStatus enum.
type RestoreWorkItemParams ¶
type RestoreWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RestoreWorkItemParams defines parameters for RestoreWorkItem.
type RestrictProcessingJSONRequestBody ¶
type RestrictProcessingJSONRequestBody = ProcessingRestriction
RestrictProcessingJSONRequestBody defines body for RestrictProcessing for application/json ContentType.
type RetentionDataKind ¶
type RetentionDataKind struct {
// Actions What this build can do to this kind. Anything else is refused at configuration time, and an empty list is a kind the catalogue names and nothing removes yet.
Actions *[]string `json:"actions,omitempty"`
DataKind *string `json:"data_kind,omitempty"`
// DefaultDays The period a workspace starts with. Zero means the kind is off by default.
DefaultDays *int `json:"default_days,omitempty"`
// MaxDays The upper bound where the operator has set one, and null where there is none. Exceeding it needs a `justification`.
MaxDays *int `json:"max_days,omitempty"`
// MinDays What no rule may undercut.
MinDays *int `json:"min_days,omitempty"`
}
RetentionDataKind One class of data a retention rule may name, and what this build can do to it.
type RetentionPolicy ¶
type RetentionPolicy struct {
Action RetentionPolicyAction `json:"action"`
// Condition An optional CEL expression
Condition *string `json:"condition,omitempty"`
// DataKind One of the kinds `/meta/capabilities` lists under `retention_data_kinds`.
DataKind string `json:"data_kind"`
Enabled *bool `json:"enabled,omitempty"`
ExportTargetId *openapi_types.UUID `json:"export_target_id,omitempty"`
GraceDays *int `json:"grace_days,omitempty"`
Id *openapi_types.UUID `json:"id,omitempty"`
// InForce Whether this is the rule that would act in the container the listing was asked about (`container_id`). Absent from a listing that named no container: with nothing to be in force *in*, the question has no answer. The narrower rule wins, and a rule switched off in a collection lets the wider one through rather than stopping it.
InForce *bool `json:"in_force,omitempty"`
// Justification Mandatory when the upper bound is exceeded
Justification *string `json:"justification,omitempty"`
// LastFailure Present while the rule's condition could not be evaluated on an entry in the last pass that reached it: the rule then announced and removed nothing in that pass, and the workspace's other rules went on. Gone once a pass evaluates the condition without failing. `code` is the message code of what failed, `at` when.
LastFailure *struct {
At time.Time `json:"at"`
Code string `json:"code"`
} `json:"last_failure,omitempty"`
Notify *struct {
BeforeDays *int `json:"before_days,omitempty"`
Recipients *[]RetentionPolicyNotifyRecipients `json:"recipients,omitempty"`
} `json:"notify,omitempty"`
RetainDays int `json:"retain_days"`
Scope struct {
Id *openapi_types.UUID `json:"id,omitempty"`
Kind *RetentionPolicyScopeKind `json:"kind,omitempty"`
} `json:"scope"`
ThenAction *RetentionPolicyThenAction `json:"then_action,omitempty"`
ThenAfterDays *int `json:"then_after_days,omitempty"`
}
RetentionPolicy defines model for RetentionPolicy.
type RetentionPolicyAction ¶
type RetentionPolicyAction string
RetentionPolicyAction defines model for RetentionPolicy.Action.
const ( RetentionPolicyActionANONYMIZE RetentionPolicyAction = "ANONYMIZE" RetentionPolicyActionARCHIVE RetentionPolicyAction = "ARCHIVE" RetentionPolicyActionEXPORTTHENDELETE RetentionPolicyAction = "EXPORT_THEN_DELETE" RetentionPolicyActionHARDDELETE RetentionPolicyAction = "HARD_DELETE" RetentionPolicyActionNOTIFYONLY RetentionPolicyAction = "NOTIFY_ONLY" RetentionPolicyActionTRASH RetentionPolicyAction = "TRASH" )
Defines values for RetentionPolicyAction.
func (RetentionPolicyAction) Valid ¶
func (e RetentionPolicyAction) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyAction enum.
type RetentionPolicyNotifyRecipients ¶
type RetentionPolicyNotifyRecipients string
RetentionPolicyNotifyRecipients defines model for RetentionPolicy.Notify.Recipients.
const ( RetentionPolicyNotifyRecipientsCOLLECTIONADMINS RetentionPolicyNotifyRecipients = "COLLECTION_ADMINS" RetentionPolicyNotifyRecipientsITEMMEMBERS RetentionPolicyNotifyRecipients = "ITEM_MEMBERS" RetentionPolicyNotifyRecipientsTENANTADMINS RetentionPolicyNotifyRecipients = "TENANT_ADMINS" )
Defines values for RetentionPolicyNotifyRecipients.
func (RetentionPolicyNotifyRecipients) Valid ¶
func (e RetentionPolicyNotifyRecipients) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyNotifyRecipients enum.
type RetentionPolicyScopeKind ¶
type RetentionPolicyScopeKind string
RetentionPolicyScopeKind defines model for RetentionPolicy.Scope.Kind.
const ( RetentionPolicyScopeKindCOLLECTION RetentionPolicyScopeKind = "COLLECTION" RetentionPolicyScopeKindHUB RetentionPolicyScopeKind = "HUB" RetentionPolicyScopeKindTENANT RetentionPolicyScopeKind = "TENANT" )
Defines values for RetentionPolicyScopeKind.
func (RetentionPolicyScopeKind) Valid ¶
func (e RetentionPolicyScopeKind) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyScopeKind enum.
type RetentionPolicyThenAction ¶
type RetentionPolicyThenAction string
RetentionPolicyThenAction defines model for RetentionPolicy.ThenAction.
const ( RetentionPolicyThenActionANONYMIZE RetentionPolicyThenAction = "ANONYMIZE" RetentionPolicyThenActionARCHIVE RetentionPolicyThenAction = "ARCHIVE" RetentionPolicyThenActionEXPORTTHENDELETE RetentionPolicyThenAction = "EXPORT_THEN_DELETE" RetentionPolicyThenActionHARDDELETE RetentionPolicyThenAction = "HARD_DELETE" RetentionPolicyThenActionLessThannil RetentionPolicyThenAction = "<nil>" RetentionPolicyThenActionTRASH RetentionPolicyThenAction = "TRASH" )
Defines values for RetentionPolicyThenAction.
func (RetentionPolicyThenAction) Valid ¶
func (e RetentionPolicyThenAction) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyThenAction enum.
type RetentionPolicyUpdate ¶
type RetentionPolicyUpdate struct {
Action *RetentionPolicyUpdateAction `json:"action,omitempty"`
// Condition An optional CEL expression. Null clears it.
Condition *string `json:"condition,omitempty"`
Enabled *bool `json:"enabled,omitempty"`
ExportTargetId *openapi_types.UUID `json:"export_target_id,omitempty"`
GraceDays *int `json:"grace_days,omitempty"`
// Justification Why the period exceeds the kind's upper bound. Required whenever the period after the change does, and replaced rather than kept: a justification belongs to the period it justifies.
Justification *string `json:"justification,omitempty"`
Notify *struct {
BeforeDays *int `json:"before_days,omitempty"`
Recipients *[]RetentionPolicyUpdateNotifyRecipients `json:"recipients,omitempty"`
} `json:"notify,omitempty"`
RetainDays *int `json:"retain_days,omitempty"`
ThenAction *RetentionPolicyUpdateThenAction `json:"then_action,omitempty"`
ThenAfterDays *int `json:"then_after_days,omitempty"`
}
RetentionPolicyUpdate Every field optional; an omitted one is left alone. The kind and the scope are not among them: a rule that changed either would be a different rule under an old identifier.
type RetentionPolicyUpdateAction ¶
type RetentionPolicyUpdateAction string
RetentionPolicyUpdateAction defines model for RetentionPolicyUpdate.Action.
const ( RetentionPolicyUpdateActionANONYMIZE RetentionPolicyUpdateAction = "ANONYMIZE" RetentionPolicyUpdateActionARCHIVE RetentionPolicyUpdateAction = "ARCHIVE" RetentionPolicyUpdateActionEXPORTTHENDELETE RetentionPolicyUpdateAction = "EXPORT_THEN_DELETE" RetentionPolicyUpdateActionHARDDELETE RetentionPolicyUpdateAction = "HARD_DELETE" RetentionPolicyUpdateActionNOTIFYONLY RetentionPolicyUpdateAction = "NOTIFY_ONLY" RetentionPolicyUpdateActionTRASH RetentionPolicyUpdateAction = "TRASH" )
Defines values for RetentionPolicyUpdateAction.
func (RetentionPolicyUpdateAction) Valid ¶
func (e RetentionPolicyUpdateAction) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyUpdateAction enum.
type RetentionPolicyUpdateNotifyRecipients ¶
type RetentionPolicyUpdateNotifyRecipients string
RetentionPolicyUpdateNotifyRecipients defines model for RetentionPolicyUpdate.Notify.Recipients.
const ( RetentionPolicyUpdateNotifyRecipientsCOLLECTIONADMINS RetentionPolicyUpdateNotifyRecipients = "COLLECTION_ADMINS" RetentionPolicyUpdateNotifyRecipientsITEMMEMBERS RetentionPolicyUpdateNotifyRecipients = "ITEM_MEMBERS" RetentionPolicyUpdateNotifyRecipientsTENANTADMINS RetentionPolicyUpdateNotifyRecipients = "TENANT_ADMINS" )
Defines values for RetentionPolicyUpdateNotifyRecipients.
func (RetentionPolicyUpdateNotifyRecipients) Valid ¶
func (e RetentionPolicyUpdateNotifyRecipients) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyUpdateNotifyRecipients enum.
type RetentionPolicyUpdateThenAction ¶
type RetentionPolicyUpdateThenAction string
RetentionPolicyUpdateThenAction defines model for RetentionPolicyUpdate.ThenAction.
const ( RetentionPolicyUpdateThenActionANONYMIZE RetentionPolicyUpdateThenAction = "ANONYMIZE" RetentionPolicyUpdateThenActionARCHIVE RetentionPolicyUpdateThenAction = "ARCHIVE" RetentionPolicyUpdateThenActionEXPORTTHENDELETE RetentionPolicyUpdateThenAction = "EXPORT_THEN_DELETE" RetentionPolicyUpdateThenActionHARDDELETE RetentionPolicyUpdateThenAction = "HARD_DELETE" RetentionPolicyUpdateThenActionLessThannil RetentionPolicyUpdateThenAction = "<nil>" RetentionPolicyUpdateThenActionTRASH RetentionPolicyUpdateThenAction = "TRASH" )
Defines values for RetentionPolicyUpdateThenAction.
func (RetentionPolicyUpdateThenAction) Valid ¶
func (e RetentionPolicyUpdateThenAction) Valid() bool
Valid indicates whether the value is a known member of the RetentionPolicyUpdateThenAction enum.
type RetentionState ¶
type RetentionState struct {
Action *string `json:"action,omitempty"`
BlockedBy *RetentionStateBlockedBy `json:"blocked_by,omitempty"`
CanRetain *bool `json:"can_retain,omitempty"`
EffectiveAt *time.Time `json:"effective_at,omitempty"`
PolicyId *openapi_types.UUID `json:"policy_id,omitempty"`
}
RetentionState Visible on the object for as long as a retention rule applies.
type RetentionStateBlockedBy ¶
type RetentionStateBlockedBy string
RetentionStateBlockedBy defines model for RetentionState.BlockedBy.
const ( RetentionStateBlockedByLegalHold RetentionStateBlockedBy = "legal_hold" RetentionStateBlockedByLessThannil RetentionStateBlockedBy = "<nil>" RetentionStateBlockedByRestriction RetentionStateBlockedBy = "restriction" )
Defines values for RetentionStateBlockedBy.
func (RetentionStateBlockedBy) Valid ¶
func (e RetentionStateBlockedBy) Valid() bool
Valid indicates whether the value is a known member of the RetentionStateBlockedBy enum.
type RevokeMembershipParams ¶
type RevokeMembershipParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RevokeMembershipParams defines parameters for RevokeMembership.
type RoleDescription ¶
type RoleDescription struct {
// ItemAccess What a role does to a single entry, per kind of access. Every kind is answered, including the ones that are `NONE`: an absent one would leave a client guessing, and guessing wrong in the permissive direction is what this endpoint exists to prevent.
ItemAccess *RoleItemAccess `json:"item_access,omitempty"`
// Permissions The columns of the matrix this role carries unqualified.
// `AUDIT_READ` is the whole of the tenant's trail, and it is implied by nothing: an auditor holds it without holding `READ`, and a member holds `READ` without holding it. `READ_CONFIGURATION` is reading how the workspace is set up - the backup targets, the retention rules, the holds, the automation rules, the webhook subscriptions, never a secret any of them holds - and it was split out of `STRUCTURE` so that an auditor can read what a workspace does to its data without gaining the right to change it.
Permissions *[]RoleDescriptionPermissions `json:"permissions,omitempty"`
// Role `AUDITOR` is the one that is not a rung on the same ladder: it reads the audit trail and
// the configuration and no content at all. It exists because the
// alternative, in practice, is giving an auditor administrator rights - a permissions
// problem that arises precisely where evidence is being demanded. Somebody who needs both
// holds two memberships; the rights add up rather than the stronger one winning.
Role *MembershipRole `json:"role,omitempty"`
}
RoleDescription One row of the role matrix: the permissions the role carries, and what it may do to a single entry. Every cell is bounded by where the membership was granted. The role applies downwards from its scope - tenant, hub, collection, or one entry - so a role granted at `ITEM` scope reaches that entry and nothing else. That is what sharing an entry with a guest is; it needs no separate mechanism and is therefore not a property of the role.
type RoleDescriptionPermissions ¶
type RoleDescriptionPermissions string
RoleDescriptionPermissions defines model for RoleDescription.Permissions.
const ( RoleDescriptionPermissionsAUDITREAD RoleDescriptionPermissions = "AUDIT_READ" RoleDescriptionPermissionsAUTOMATION RoleDescriptionPermissions = "AUTOMATION" RoleDescriptionPermissionsDELETECONTAINER RoleDescriptionPermissions = "DELETE_CONTAINER" RoleDescriptionPermissionsMANAGEMEMBERS RoleDescriptionPermissions = "MANAGE_MEMBERS" RoleDescriptionPermissionsREAD RoleDescriptionPermissions = "READ" RoleDescriptionPermissionsREADCONFIGURATION RoleDescriptionPermissions = "READ_CONFIGURATION" RoleDescriptionPermissionsSTRUCTURE RoleDescriptionPermissions = "STRUCTURE" RoleDescriptionPermissionsWRITEITEMS RoleDescriptionPermissions = "WRITE_ITEMS" )
Defines values for RoleDescriptionPermissions.
func (RoleDescriptionPermissions) Valid ¶
func (e RoleDescriptionPermissions) Valid() bool
Valid indicates whether the value is a known member of the RoleDescriptionPermissions enum.
type RoleItemAccess ¶
type RoleItemAccess struct {
// Change How far a role reaches into one entry.
// `ALL` is unqualified. `ASSIGNED` is only where the actor is the entry's assignee - which is what the matrix's "assigned only" cell means, and why a contributor's `create` is `ALL` while their `change` is not: a created entry is assigned to its creator, so the qualifier holds at every moment rather than being suspended for the one call that would break it. `NONE` is never, whatever the membership.
Change *ItemAccess `json:"change,omitempty"`
// Comment How far a role reaches into one entry.
// `ALL` is unqualified. `ASSIGNED` is only where the actor is the entry's assignee - which is what the matrix's "assigned only" cell means, and why a contributor's `create` is `ALL` while their `change` is not: a created entry is assigned to its creator, so the qualifier holds at every moment rather than being suspended for the one call that would break it. `NONE` is never, whatever the membership.
Comment *ItemAccess `json:"comment,omitempty"`
// Create How far a role reaches into one entry.
// `ALL` is unqualified. `ASSIGNED` is only where the actor is the entry's assignee - which is what the matrix's "assigned only" cell means, and why a contributor's `create` is `ALL` while their `change` is not: a created entry is assigned to its creator, so the qualifier holds at every moment rather than being suspended for the one call that would break it. `NONE` is never, whatever the membership.
Create *ItemAccess `json:"create,omitempty"`
// Read How far a role reaches into one entry.
// `ALL` is unqualified. `ASSIGNED` is only where the actor is the entry's assignee - which is what the matrix's "assigned only" cell means, and why a contributor's `create` is `ALL` while their `change` is not: a created entry is assigned to its creator, so the qualifier holds at every moment rather than being suspended for the one call that would break it. `NONE` is never, whatever the membership.
Read *ItemAccess `json:"read,omitempty"`
}
RoleItemAccess What a role does to a single entry, per kind of access. Every kind is answered, including the ones that are `NONE`: an absent one would leave a client guessing, and guessing wrong in the permissive direction is what this endpoint exists to prevent.
type RotateInboundTriggerParams ¶
type RotateInboundTriggerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RotateInboundTriggerParams defines parameters for RotateInboundTrigger.
type RotateJumbleIntakeParams ¶
type RotateJumbleIntakeParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RotateJumbleIntakeParams defines parameters for RotateJumbleIntake.
type RotatePlatformSubscriptionSecretParams ¶
type RotatePlatformSubscriptionSecretParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
RotatePlatformSubscriptionSecretParams defines parameters for RotatePlatformSubscriptionSecret.
type RotateWebhookSecretJSONRequestBody ¶
type RotateWebhookSecretJSONRequestBody = WebhookSecretRotation
RotateWebhookSecretJSONRequestBody defines body for RotateWebhookSecret for application/json ContentType.
type RotateWebhookSecretParams ¶
type RotateWebhookSecretParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
RotateWebhookSecretParams defines parameters for RotateWebhookSecret.
type RuleAction ¶
type RuleAction struct {
// Kind `ADD_LABEL`, `ASSIGN`, `CREATE_ITEM`, … A kind this build does not serve is refused by name rather than stored to be ignored.
// `WAIT` takes `duration`, an unsigned ISO 8601 duration of at most a year: the run suspends and a job resumes it, so a rule that waits a day holds no worker and survives a restart. `BRANCH` takes `condition` and the nested lists `then` (required) and `else` (optional) - a nested list rather than a jump target, because "skip the next two" is a rule whose meaning changes when somebody inserts an action above it. `STOP` takes nothing and ends the run where it stands, with the actions after it `SKIPPED` and the run `SUCCEEDED`: stopping early is what the rule said to do.
// **A branch's arms are checked exactly as the top level is**, and both of them: the composition rule is about what a rule *may* do, so a rule whose `else` performs something its writer may not do is laundering the same rights the day the condition turns false.
Kind string `json:"kind"`
// Params The action's parameters. A key the use case behind the kind does not declare is refused, exactly as it would be on the call itself.
Params *map[string]interface{} `json:"params,omitempty"`
}
RuleAction One step of a run. The kind is a use case name in SCREAMING_SNAKE_CASE and the list grows with the catalogue rather than with a table somebody maintains, so a new use case becomes an action without anybody editing anything. Three kinds are the exception, and they are one on purpose: `WAIT`, `BRANCH` and `STOP` are not use cases at all but the engine's own control structures, so they are in no catalogue and there is nothing for MCP or a person to call. Their parameters are therefore checked where every other shape question about a rule is answered - by the rule itself, when it is written.
type RuleActionResult ¶
type RuleActionResult struct {
// ErrorCode The code the use case refused with, unchanged. A `run_as` account that may not do what the action asks shows the authoriser's own refusal here, which is what makes the run log answer "why did this not happen".
ErrorCode *string `json:"error_code,omitempty"`
// IdempotencyKey Derived from the rule, the occasion and the action's path, so a redelivered event re-runs into the stored result rather than acting twice. Absent on flow actions, which perform nothing there is to repeat.
IdempotencyKey *string `json:"idempotency_key,omitempty"`
Index int `json:"index"`
Kind string `json:"kind"`
// Matched How a `BRANCH`'s condition answered, present only on a `BRANCH` result. `true` means the `then` arm ran; `false` the `else` arm, which may be empty.
Matched *bool `json:"matched,omitempty"`
// Path Where the action sits in the rule: `"2"` is the third action, `"2/then/0"` the first action of that branch's `then` arm. The path is what shows which way a `BRANCH` went - the nested results carry the arm they belong to in their own name.
Path *string `json:"path,omitempty"`
// Status `SKIPPED` is an action the run never reached - `on_error: STOP` ended the run at an earlier failure, or a `STOP` action ended it deliberately. It is not the same as an action that ran and did nothing.
Status RuleActionResultStatus `json:"status"`
}
RuleActionResult One action's outcome, in the order the run reached them.
type RuleActionResultStatus ¶
type RuleActionResultStatus string
RuleActionResultStatus `SKIPPED` is an action the run never reached - `on_error: STOP` ended the run at an earlier failure, or a `STOP` action ended it deliberately. It is not the same as an action that ran and did nothing.
const ( RuleActionResultStatusFAILED RuleActionResultStatus = "FAILED" RuleActionResultStatusSKIPPED RuleActionResultStatus = "SKIPPED" RuleActionResultStatusSUCCEEDED RuleActionResultStatus = "SUCCEEDED" )
Defines values for RuleActionResultStatus.
func (RuleActionResultStatus) Valid ¶
func (e RuleActionResultStatus) Valid() bool
Valid indicates whether the value is a known member of the RuleActionResultStatus enum.
type RuleCondition ¶
type RuleCondition struct {
// Expr A CEL expression, compiled when the rule is written rather than when it runs: an expression that does not compile, or that names something this build does not publish, is a field error under its own index rather than a rule that fails silently at three in the morning.
Expr string `json:"expr"`
}
RuleCondition defines model for RuleCondition.
type RuleConditionResult ¶
type RuleConditionResult struct {
// ErrorCode Present when the condition could not be evaluated at all - a timeout, or a value the engine could not read. Distinct from `matched: false`, which is the condition working.
ErrorCode *string `json:"error_code,omitempty"`
Index int `json:"index"`
Matched bool `json:"matched"`
}
RuleConditionResult How one condition answered, in the order the rule declares them. A run that was skipped shows which condition stopped it, which is the question somebody asks first.
type RuleDescription ¶
type RuleDescription struct {
// Description What the rule should do, in the caller's own words. It travels to the provider as content, never as instruction.
Description string `json:"description"`
// Scope Where the rule applies: the whole workspace, one hub, or one collection. Descendants are included by the ordinary rule rather than by a flag: a permission held at a hub applies downwards, and a rule scoped to a hub sees what happens in its collections.
Scope RuleScope `json:"scope"`
}
RuleDescription What to ask for, and where the rule would apply.
type RuleFinding ¶
type RuleFinding struct {
Code string `json:"code"`
// Level `ATTENTION`: the rule runs, and one step would find nothing where it points. `BROKEN`: the rule cannot run, and the check has switched it off.
Level RuleFindingLevel `json:"level"`
Params *map[string]string `json:"params,omitempty"`
Path string `json:"path"`
}
RuleFinding One thing the check found about a rule. `path` is a JSON pointer into the rule's own document - `/trigger/event_type`, `/run_as`, `/conditions/1/expr`, `/actions/2/params/then/0/kind` - the same paths a write-time refusal's field errors carry, so an editor that points at a refused field points at a finding with the same code. `code` is a message code and `params` its parameters.
type RuleFindingLevel ¶
type RuleFindingLevel string
RuleFindingLevel `ATTENTION`: the rule runs, and one step would find nothing where it points. `BROKEN`: the rule cannot run, and the check has switched it off.
const ( RuleFindingLevelATTENTION RuleFindingLevel = "ATTENTION" RuleFindingLevelBROKEN RuleFindingLevel = "BROKEN" )
Defines values for RuleFindingLevel.
func (RuleFindingLevel) Valid ¶
func (e RuleFindingLevel) Valid() bool
Valid indicates whether the value is a known member of the RuleFindingLevel enum.
type RuleRun ¶
type RuleRun struct {
ActionResults []RuleActionResult `json:"action_results"`
// CausationDepth How far this run is from the act a person performed. A run at the limit is `ABORTED_LOOP` and did nothing: that is the loop protection.
CausationDepth int `json:"causation_depth"`
ConditionResults []RuleConditionResult `json:"condition_results"`
// ErrorCode Why the run as a whole ended badly, when it did.
ErrorCode *string `json:"error_code,omitempty"`
// EventId The event that started the run. Absent for a run nothing published started.
EventId *openapi_types.UUID `json:"event_id,omitempty"`
FinishedAt *time.Time `json:"finished_at,omitempty"`
Id openapi_types.UUID `json:"id"`
RuleId openapi_types.UUID `json:"rule_id"`
StartedAt time.Time `json:"started_at"`
// Status How a run ended. `RUNNING` is a run in flight or one whose process died - the engine writes it when the run starts, so a row left in it is a crash rather than a state anything reaches deliberately. `WAITING` is a run parked on a `WAIT` action: its results so far are written, a scheduled job holds the resume point, and no worker is held while the delay passes.
Status RuleRunStatus `json:"status"`
// SubjectId The entry the run is about when no event names it - a `RELATIVE_DATE` run measured from one entry's due date. Absent where the event carries the subject, which is where a reader should look for it.
SubjectId *openapi_types.UUID `json:"subject_id,omitempty"`
// Trigger Which of the rule's six ways of starting produced this run. On the run rather than read from the rule, because a rule can be edited from one kind into another and the log has to keep saying what actually happened.
Trigger RuleRunTrigger `json:"trigger"`
// TriggeredBy Who pulled the trigger, for the one kind a person pulls: `MANUAL`. Absent for every other kind - a schedule, a due date and an inbound delivery have no actor, and naming one would be inventing an author for something nobody did.
TriggeredBy *openapi_types.UUID `json:"triggered_by,omitempty"`
}
RuleRun defines model for RuleRun.
type RuleRunAccepted ¶
type RuleRunAccepted struct {
RuleId openapi_types.UUID `json:"rule_id"`
RunId openapi_types.UUID `json:"run_id"`
}
RuleRunAccepted A run that has been queued and has not started. The identifier is the one the run will carry, so a caller can watch for it - `GET /automation/runs/{runId}` answers `404` until a worker claims the job.
type RuleRunPage ¶
RuleRunPage defines model for RuleRunPage.
type RuleRunStatus ¶
type RuleRunStatus string
RuleRunStatus How a run ended. `RUNNING` is a run in flight or one whose process died - the engine writes it when the run starts, so a row left in it is a crash rather than a state anything reaches deliberately. `WAITING` is a run parked on a `WAIT` action: its results so far are written, a scheduled job holds the resume point, and no worker is held while the delay passes.
const ( RuleRunStatusABORTEDLOOP RuleRunStatus = "ABORTED_LOOP" RuleRunStatusFAILED RuleRunStatus = "FAILED" RuleRunStatusRUNNING RuleRunStatus = "RUNNING" RuleRunStatusSKIPPED RuleRunStatus = "SKIPPED" RuleRunStatusSUCCEEDED RuleRunStatus = "SUCCEEDED" RuleRunStatusTHROTTLED RuleRunStatus = "THROTTLED" RuleRunStatusWAITING RuleRunStatus = "WAITING" )
Defines values for RuleRunStatus.
func (RuleRunStatus) Valid ¶
func (e RuleRunStatus) Valid() bool
Valid indicates whether the value is a known member of the RuleRunStatus enum.
type RuleRunTrigger ¶
type RuleRunTrigger string
RuleRunTrigger Which of the rule's six ways of starting produced this run. On the run rather than read from the rule, because a rule can be edited from one kind into another and the log has to keep saying what actually happened.
const ( RuleRunTriggerEVENT RuleRunTrigger = "EVENT" RuleRunTriggerINBOUNDWEBHOOK RuleRunTrigger = "INBOUND_WEBHOOK" RuleRunTriggerJUMBLEENTRY RuleRunTrigger = "JUMBLE_ENTRY" RuleRunTriggerMANUAL RuleRunTrigger = "MANUAL" RuleRunTriggerRELATIVEDATE RuleRunTrigger = "RELATIVE_DATE" RuleRunTriggerSCHEDULE RuleRunTrigger = "SCHEDULE" )
Defines values for RuleRunTrigger.
func (RuleRunTrigger) Valid ¶
func (e RuleRunTrigger) Valid() bool
Valid indicates whether the value is a known member of the RuleRunTrigger enum.
type RuleScope ¶
type RuleScope struct {
// Id The hub or the collection. Absent for `TENANT`, and required for the others.
Id *openapi_types.UUID `json:"id,omitempty"`
Type RuleScopeType `json:"type"`
}
RuleScope Where the rule applies: the whole workspace, one hub, or one collection. Descendants are included by the ordinary rule rather than by a flag: a permission held at a hub applies downwards, and a rule scoped to a hub sees what happens in its collections.
type RuleScopeType ¶
type RuleScopeType string
RuleScopeType defines model for RuleScope.Type.
const ( RuleScopeTypeCOLLECTION RuleScopeType = "COLLECTION" RuleScopeTypeHUB RuleScopeType = "HUB" RuleScopeTypeTENANT RuleScopeType = "TENANT" )
Defines values for RuleScopeType.
func (RuleScopeType) Valid ¶
func (e RuleScopeType) Valid() bool
Valid indicates whether the value is a known member of the RuleScopeType enum.
type RuleTest ¶
type RuleTest struct {
// Payload The body an inbound delivery would have carried, as the CEL `payload` variable reads it. For testing an `INBOUND_WEBHOOK` rule's conditions.
Payload *map[string]interface{} `json:"payload,omitempty"`
Rule *AutomationRuleCreate `json:"rule,omitempty"`
// RuleId A stored rule to test.
RuleId *openapi_types.UUID `json:"rule_id,omitempty"`
// SampleEvent The sample event, as the CEL `event` variable will read it.
SampleEvent *RuleTestEvent `json:"sample_event,omitempty"`
}
RuleTest A dry run's input: exactly one of `rule_id` (a stored rule) and `rule` (a definition you are about to save), plus the sample event to evaluate it against.
type RuleTestAction ¶
type RuleTestAction struct {
// ErrorCode Present when a branch's condition could not be evaluated for the sample.
ErrorCode *string `json:"error_code,omitempty"`
Kind string `json:"kind"`
// Matched How a `BRANCH`'s condition answered the sample, present only on a branch.
Matched *bool `json:"matched,omitempty"`
Path string `json:"path"`
WouldRun bool `json:"would_run"`
}
RuleTestAction One action of the rule, with whether it would have run. Unlike a real run's log, both arms of every branch appear - the dry run answers "and what if it had not" as well.
type RuleTestEvent ¶
type RuleTestEvent struct {
// Payload The event's payload document.
Payload *map[string]interface{} `json:"payload,omitempty"`
// Subject What the event is about, e.g. `item/018f...`. Naming a real entry lets a condition that reads `item` resolve it - a read, never a write.
Subject *string `json:"subject,omitempty"`
// Type The event type, e.g. `de.hubtask.work.item.updated.v1`.
Type string `json:"type"`
}
RuleTestEvent The sample event, as the CEL `event` variable will read it.
type RuleTestResult ¶
type RuleTestResult struct {
Actions []RuleTestAction `json:"actions"`
ConditionResults []RuleConditionResult `json:"condition_results"`
// Matched Whether every condition held - whether a real run would have acted at all.
Matched bool `json:"matched"`
}
RuleTestResult defines model for RuleTestResult.
type RuleThrottle ¶
type RuleThrottle struct {
// DedupeKeyExpr An expression whose value collapses runs that mean the same thing - two events about one entry within the window are one run rather than two. Compiled with the conditions and by the same compiler; an empty one means no collapsing.
DedupeKeyExpr *string `json:"dedupe_key_expr,omitempty"`
MaxRunsPerHour *int `json:"max_runs_per_hour,omitempty"`
}
RuleThrottle What bounds a storm. Both are optional, and both are stored rather than enforced here: the engine that runs a rule is what observes them.
type RuleTrigger ¶
type RuleTrigger struct {
// Anchor `RELATIVE_DATE` only, and required there: which instant the offset is from.
Anchor *RuleTriggerAnchor `json:"anchor,omitempty"`
// ChangedFields `EVENT` only, optional. Narrows an `item.updated` trigger to the fields that moved, so that a rule about deadlines does not fire on a rename.
ChangedFields *[]string `json:"changed_fields,omitempty"`
// EventType `EVENT` only, and required there: the full type, `de.hubtask.work.item.overdue.v1`. One this build does not publish is refused by name.
EventType *string `json:"event_type,omitempty"`
Kind RuleTriggerKind `json:"kind"`
// Offset `RELATIVE_DATE` only, and required there: a signed ISO 8601 duration, `-PT24H` for "24 hours before".
Offset *string `json:"offset,omitempty"`
// Rrule `SCHEDULE` only, and required there: an RFC 5545 RRULE.
Rrule *string `json:"rrule,omitempty"`
// Timezone `SCHEDULE` only, and required there: an IANA zone. A schedule without one is a schedule that means something different in summer.
Timezone *string `json:"timezone,omitempty"`
}
RuleTrigger What starts a run. Six kinds, each with the fields its kind needs and no others - a trigger carrying a cron expression and an event type would be a rule nobody can read.
type RuleTriggerAnchor ¶
type RuleTriggerAnchor string
RuleTriggerAnchor `RELATIVE_DATE` only, and required there: which instant the offset is from.
const ( RuleTriggerAnchorCREATEDAT RuleTriggerAnchor = "CREATED_AT" RuleTriggerAnchorDUEDATE RuleTriggerAnchor = "DUE_DATE" )
Defines values for RuleTriggerAnchor.
func (RuleTriggerAnchor) Valid ¶
func (e RuleTriggerAnchor) Valid() bool
Valid indicates whether the value is a known member of the RuleTriggerAnchor enum.
type RuleTriggerKind ¶
type RuleTriggerKind string
RuleTriggerKind defines model for RuleTrigger.Kind.
const ( RuleTriggerKindEVENT RuleTriggerKind = "EVENT" RuleTriggerKindINBOUNDWEBHOOK RuleTriggerKind = "INBOUND_WEBHOOK" RuleTriggerKindJUMBLEENTRY RuleTriggerKind = "JUMBLE_ENTRY" RuleTriggerKindMANUAL RuleTriggerKind = "MANUAL" RuleTriggerKindRELATIVEDATE RuleTriggerKind = "RELATIVE_DATE" RuleTriggerKindSCHEDULE RuleTriggerKind = "SCHEDULE" )
Defines values for RuleTriggerKind.
func (RuleTriggerKind) Valid ¶
func (e RuleTriggerKind) Valid() bool
Valid indicates whether the value is a known member of the RuleTriggerKind enum.
type SaveMailSettingsJSONRequestBody ¶
type SaveMailSettingsJSONRequestBody = MailSettings
SaveMailSettingsJSONRequestBody defines body for SaveMailSettings for application/json ContentType.
type SaveMailSettingsParams ¶
type SaveMailSettingsParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SaveMailSettingsParams defines parameters for SaveMailSettings.
type SavePresetJSONRequestBody ¶
type SavePresetJSONRequestBody = PresetCreate
SavePresetJSONRequestBody defines body for SavePreset for application/json ContentType.
type SaveVoiceSettingsJSONRequestBody ¶
type SaveVoiceSettingsJSONRequestBody = VoiceSettings
SaveVoiceSettingsJSONRequestBody defines body for SaveVoiceSettings for application/json ContentType.
type SaveVoiceSettingsParams ¶
type SaveVoiceSettingsParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SaveVoiceSettingsParams defines parameters for SaveVoiceSettings.
type SavedView ¶
type SavedView struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Grouping map[string]interface{} `json:"grouping"`
Id openapi_types.UUID `json:"id"`
// Layout One of the declared set (/meta/capabilities, view_layouts). Stored and echoed, never consulted.
Layout string `json:"layout"`
Name string `json:"name"`
OwnerId openapi_types.UUID `json:"owner_id"`
// Query The query a view asks, in the shape the use case takes rather than the shape `POST /items:query` takes as a body: the anchor is flat - `scope_container_id` or `scope_item_id` - because the server flattens the request body's `scope` object before any use case sees it, and this document is read back as an input.
//
// It carries an anchor, because `POST /views/{viewId}:export` executes it. A view that stored only the question - a filter and an order, so that it could be asked anywhere - is a view nobody can export.
Query map[string]interface{} `json:"query"`
// ScopeId The container the scope names, the owner's account for ACCOUNT, and null for TENANT.
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
// ScopeType Where the view lives, which is who it can be shared with: a container's members, the workspace, or - for ACCOUNT - nobody but its owner.
ScopeType SavedViewScopeType `json:"scope_type"`
Sharing SavedViewSharing `json:"sharing"`
Version int `json:"version"`
VisibleFields []string `json:"visible_fields"`
}
SavedView A saved query with the layout it is drawn in. The server stores the query, validates it against the same catalogue as POST /items:query, and interprets neither the layout nor the visible fields - both are the client's vocabulary, echoed back exactly as stored.
type SavedViewCreate ¶
type SavedViewCreate struct {
Grouping *map[string]interface{} `json:"grouping,omitempty"`
Layout string `json:"layout"`
Name string `json:"name"`
// Query The query, anchored, in the use case's input shape - `scope_container_id`, not a nested `scope` object. See `SavedView.query`; both shapes are refused here rather than at the first export.
Query map[string]interface{} `json:"query"`
// ScopeId The container for HUB and COLLECTION. Omitted for TENANT, and for ACCOUNT - an account-scoped view is always the caller's own.
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
ScopeType SavedViewCreateScopeType `json:"scope_type"`
// Sharing SCOPE at creation asks the same permission :share does. PUBLIC_LINK is refused by name.
Sharing *SavedViewCreateSharing `json:"sharing,omitempty"`
VisibleFields *[]string `json:"visible_fields,omitempty"`
}
SavedViewCreate defines model for SavedViewCreate.
type SavedViewCreateScopeType ¶
type SavedViewCreateScopeType string
SavedViewCreateScopeType defines model for SavedViewCreate.ScopeType.
const ( SavedViewCreateScopeTypeACCOUNT SavedViewCreateScopeType = "ACCOUNT" SavedViewCreateScopeTypeCOLLECTION SavedViewCreateScopeType = "COLLECTION" SavedViewCreateScopeTypeHUB SavedViewCreateScopeType = "HUB" SavedViewCreateScopeTypeTENANT SavedViewCreateScopeType = "TENANT" )
Defines values for SavedViewCreateScopeType.
func (SavedViewCreateScopeType) Valid ¶
func (e SavedViewCreateScopeType) Valid() bool
Valid indicates whether the value is a known member of the SavedViewCreateScopeType enum.
type SavedViewCreateSharing ¶
type SavedViewCreateSharing string
SavedViewCreateSharing SCOPE at creation asks the same permission :share does. PUBLIC_LINK is refused by name.
const ( SavedViewCreateSharingPRIVATE SavedViewCreateSharing = "PRIVATE" SavedViewCreateSharingPUBLICLINK SavedViewCreateSharing = "PUBLIC_LINK" SavedViewCreateSharingSCOPE SavedViewCreateSharing = "SCOPE" )
Defines values for SavedViewCreateSharing.
func (SavedViewCreateSharing) Valid ¶
func (e SavedViewCreateSharing) Valid() bool
Valid indicates whether the value is a known member of the SavedViewCreateSharing enum.
type SavedViewScopeType ¶
type SavedViewScopeType string
SavedViewScopeType Where the view lives, which is who it can be shared with: a container's members, the workspace, or - for ACCOUNT - nobody but its owner.
const ( SavedViewScopeTypeACCOUNT SavedViewScopeType = "ACCOUNT" SavedViewScopeTypeCOLLECTION SavedViewScopeType = "COLLECTION" SavedViewScopeTypeHUB SavedViewScopeType = "HUB" SavedViewScopeTypeTENANT SavedViewScopeType = "TENANT" )
Defines values for SavedViewScopeType.
func (SavedViewScopeType) Valid ¶
func (e SavedViewScopeType) Valid() bool
Valid indicates whether the value is a known member of the SavedViewScopeType enum.
type SavedViewShare ¶
type SavedViewShare struct {
}
SavedViewShare defines model for SavedViewShare.
type SavedViewShareSharing ¶
type SavedViewShareSharing string
SavedViewShareSharing defines model for SavedViewShare.Sharing.
const ( )
Defines values for SavedViewShareSharing.
func (SavedViewShareSharing) Valid ¶
func (e SavedViewShareSharing) Valid() bool
Valid indicates whether the value is a known member of the SavedViewShareSharing enum.
type SavedViewSharing ¶
type SavedViewSharing string
SavedViewSharing defines model for SavedView.Sharing.
const ( SavedViewSharingPRIVATE SavedViewSharing = "PRIVATE" SavedViewSharingPUBLICLINK SavedViewSharing = "PUBLIC_LINK" SavedViewSharingSCOPE SavedViewSharing = "SCOPE" )
Defines values for SavedViewSharing.
func (SavedViewSharing) Valid ¶
func (e SavedViewSharing) Valid() bool
Valid indicates whether the value is a known member of the SavedViewSharing enum.
type SavedViewUpdate ¶
type SavedViewUpdate struct {
Grouping *map[string]interface{} `json:"grouping,omitempty"`
Layout *string `json:"layout,omitempty"`
Name *string `json:"name,omitempty"`
// Query The whole query, replaced. Anchored and in the use case's input shape, as at creation - see `SavedView.query`.
Query *map[string]interface{} `json:"query,omitempty"`
VisibleFields *[]string `json:"visible_fields,omitempty"`
}
SavedViewUpdate JSON Merge Patch; a field that is not sent is left alone. The scope and the sharing are not here - where a view lives is decided at creation, and sharing is :share.
type SearchItemsJSONRequestBody ¶
type SearchItemsJSONRequestBody = ItemSearchQuery
SearchItemsJSONRequestBody defines body for SearchItems for application/json ContentType.
type SearchMode ¶
type SearchMode string
SearchMode How much of the search to use. `AUTO` is the default and searches by words and, where the installation has it, by meaning. `LEXICAL` searches by words only: it asks no provider, spends no budget and waits on nothing, which is what a caller in a loop - an automation, an import, a client's own type-ahead - wants. There is deliberately no `SEMANTIC`: an installation may not have it, and a mode the server cannot promise is a mode that would have to fail.
const ( AUTO SearchMode = "AUTO" LEXICAL SearchMode = "LEXICAL" )
Defines values for SearchMode.
func (SearchMode) Valid ¶
func (e SearchMode) Valid() bool
Valid indicates whether the value is a known member of the SearchMode enum.
type SearchReindex ¶
type SearchReindex struct {
JobId openapi_types.UUID `json:"job_id"`
// Stale How many entries were indexed under a configuration that is not what the installation would use for them today - including the ones written before the configuration was recorded at all. Zero means the index is current, and the job finishes without rewriting anything.
Stale int64 `json:"stale"`
}
SearchReindex What a reindex answers - the job to watch, and how many rows it will rewrite.
type SendWebhookJSONRequestBody ¶
type SendWebhookJSONRequestBody = WebhookSend
SendWebhookJSONRequestBody defines body for SendWebhook for application/json ContentType.
type ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
http.Handler
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// GetOwnAccount The account the caller is signed in as
// (GET /accounts/me)
GetOwnAccount(w http.ResponseWriter, r *http.Request)
// UpdateOwnAccount Change what the caller is called
// (PATCH /accounts/me)
UpdateOwnAccount(w http.ResponseWriter, r *http.Request)
// RemoveOwnAvatar Go back to the initials
// (DELETE /accounts/me/avatar)
RemoveOwnAvatar(w http.ResponseWriter, r *http.Request)
// SetOwnAvatar Show a picture of one's own beside one's name
// (PUT /accounts/me/avatar)
SetOwnAvatar(w http.ResponseWriter, r *http.Request)
// ListEmergencyNotices The emergency accesses the caller was told of in the last 30 days
// (GET /accounts/me/emergency-notices)
ListEmergencyNotices(w http.ResponseWriter, r *http.Request)
// ListOwnIdentities The sign-in providers the caller's account is connected to
// (GET /accounts/me/identities)
ListOwnIdentities(w http.ResponseWriter, r *http.Request)
// CompleteProviderConnect Finish connecting a sign-in provider to the caller's account
// (POST /accounts/me/identities:complete)
CompleteProviderConnect(w http.ResponseWriter, r *http.Request)
// StartProviderConnect Begin connecting a sign-in provider to the caller's account
// (POST /accounts/me/identities:connect)
StartProviderConnect(w http.ResponseWriter, r *http.Request, params StartProviderConnectParams)
// ListOwnPasskeys The passkeys and security keys the caller's account holds
// (GET /accounts/me/passkeys)
ListOwnPasskeys(w http.ResponseWriter, r *http.Request)
// RemoveOwnPasskey Remove one of the caller's passkeys or security keys
// (DELETE /accounts/me/passkeys/{passkeyId})
RemoveOwnPasskey(w http.ResponseWriter, r *http.Request, passkeyId PasskeyId, params RemoveOwnPasskeyParams)
// RenameOwnPasskey Rename one of the caller's passkeys or security keys
// (PATCH /accounts/me/passkeys/{passkeyId})
RenameOwnPasskey(w http.ResponseWriter, r *http.Request, passkeyId PasskeyId)
// CompletePasskeyRegistration Finish adding a passkey or a security key to the caller's account
// (POST /accounts/me/passkeys:complete)
CompletePasskeyRegistration(w http.ResponseWriter, r *http.Request)
// StartPasskeyRegistration Begin adding a passkey or a security key to the caller's account
// (POST /accounts/me/passkeys:start)
StartPasskeyRegistration(w http.ResponseWriter, r *http.Request, params StartPasskeyRegistrationParams)
// GetAccount The name behind an account identifier
// (GET /accounts/{accountId})
GetAccount(w http.ResponseWriter, r *http.Request, accountId AccountId)
// ListNotificationPreferences What an account wants to be told about
// (GET /accounts/{accountId}/notification-preferences)
ListNotificationPreferences(w http.ResponseWriter, r *http.Request, accountId AccountId)
// SetNotificationPreference Say what to be told about, and whether the title travels
// (PUT /accounts/{accountId}/notification-preferences/{category}/{channel})
SetNotificationPreference(w http.ResponseWriter, r *http.Request, accountId AccountId, category string, channel string)
// UpdateAccountPreferences Set how the product speaks to an account
// (PATCH /accounts/{accountId}/preferences)
UpdateAccountPreferences(w http.ResponseWriter, r *http.Request, accountId AccountId)
// RequestAddress Give a managed account a mail address
// (POST /accounts/{accountId}:add-address)
RequestAddress(w http.ResponseWriter, r *http.Request, accountId AccountId)
// IssueStartPassword Give a managed account a new start password
// (POST /accounts/{accountId}:issue-start-password)
IssueStartPassword(w http.ResponseWriter, r *http.Request, accountId AccountId, params IssueStartPasswordParams)
// RenewInvitation Give an invitation not yet accepted a new link
// (POST /accounts/{accountId}:renew-invitation)
RenewInvitation(w http.ResponseWriter, r *http.Request, accountId AccountId, params RenewInvitationParams)
// RestrictProcessing Restrict the processing of an account's data (Art. 18)
// (POST /accounts/{accountId}:restrict)
RestrictProcessing(w http.ResponseWriter, r *http.Request, accountId AccountId)
// CreateManagedAccount Give somebody an account without a mail address
// (POST /accounts:create-managed)
CreateManagedAccount(w http.ResponseWriter, r *http.Request, params CreateManagedAccountParams)
// InviteAccount Invite a person into this workspace
// (POST /accounts:invite)
InviteAccount(w http.ResponseWriter, r *http.Request, params InviteAccountParams)
// ListInstanceAiProviders The AI models this installation offers every workspace
// (GET /admin/ai-providers)
ListInstanceAiProviders(w http.ResponseWriter, r *http.Request)
// CreateInstanceAiProvider Offer an AI model to every workspace
// (POST /admin/ai-providers)
CreateInstanceAiProvider(w http.ResponseWriter, r *http.Request)
// RemoveInstanceAiProvider Withdraw an offered AI model
// (DELETE /admin/ai-providers/{providerId})
RemoveInstanceAiProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId)
// ConfigureInstanceAiProvider Change an offered AI model
// (PUT /admin/ai-providers/{providerId})
ConfigureInstanceAiProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId)
// ListInstanceBackupTargets The installation's own backup targets
// (GET /admin/backup-targets)
ListInstanceBackupTargets(w http.ResponseWriter, r *http.Request)
// CreateInstanceBackupTarget Configure a backup target of the installation
// (POST /admin/backup-targets)
CreateInstanceBackupTarget(w http.ResponseWriter, r *http.Request, params CreateInstanceBackupTargetParams)
// DeleteInstanceBackupTarget Remove a backup target of the installation
// (DELETE /admin/backup-targets/{targetId})
DeleteInstanceBackupTarget(w http.ResponseWriter, r *http.Request, targetId openapi_types.UUID, params DeleteInstanceBackupTargetParams)
// TestInstanceBackupTarget Test the connection to a target of the installation
// (POST /admin/backup-targets/{targetId}:test)
TestInstanceBackupTarget(w http.ResponseWriter, r *http.Request, targetId openapi_types.UUID)
// ReadEncryptionStatus The keyring, and what still names each key
// (GET /admin/encryption)
ReadEncryptionStatus(w http.ResponseWriter, r *http.Request)
// ResealSecrets Re-seal what older keys still hold
// (POST /admin/encryption:reseal)
ResealSecrets(w http.ResponseWriter, r *http.Request)
// ListPlatformEvents The installation's events, read forward
// (GET /admin/events)
ListPlatformEvents(w http.ResponseWriter, r *http.Request, params ListPlatformEventsParams)
// ListInstanceIdentityProviders The providers this installation offers every workspace
// (GET /admin/identity-providers)
ListInstanceIdentityProviders(w http.ResponseWriter, r *http.Request)
// CreateInstanceIdentityProvider Offer every workspace a way in
// (POST /admin/identity-providers)
CreateInstanceIdentityProvider(w http.ResponseWriter, r *http.Request, params CreateInstanceIdentityProviderParams)
// RemoveInstanceIdentityProvider Remove a provider whose offer has ended
// (DELETE /admin/identity-providers/{providerId})
RemoveInstanceIdentityProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId, params RemoveInstanceIdentityProviderParams)
// ConfigureInstanceIdentityProvider Replace one of the installation's providers
// (PUT /admin/identity-providers/{providerId})
ConfigureInstanceIdentityProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId, params ConfigureInstanceIdentityProviderParams)
// CancelInstanceIdentityProviderWithdrawal Keep offering a provider whose withdrawal was announced
// (POST /admin/identity-providers/{providerId}:cancel-withdrawal)
CancelInstanceIdentityProviderWithdrawal(w http.ResponseWriter, r *http.Request, providerId ProviderId, params CancelInstanceIdentityProviderWithdrawalParams)
// WithdrawInstanceIdentityProvider Announce the withdrawal of an offered provider, or withdraw it now
// (POST /admin/identity-providers/{providerId}:withdraw)
WithdrawInstanceIdentityProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId, params WithdrawInstanceIdentityProviderParams)
// ListInstanceJournal The installation's own record
// (GET /admin/journal)
ListInstanceJournal(w http.ResponseWriter, r *http.Request, params ListInstanceJournalParams)
// ListOperators Who operates this installation
// (GET /admin/operators)
ListOperators(w http.ResponseWriter, r *http.Request)
// AddOperator Put an account in the register
// (POST /admin/operators)
AddOperator(w http.ResponseWriter, r *http.Request)
// RemoveOperator Take an account out of the register
// (DELETE /admin/operators/{accountId})
RemoveOperator(w http.ResponseWriter, r *http.Request, accountId AccountId)
// ReadInstanceOverview How big this installation is and how its workspaces stand
// (GET /admin/overview)
ReadInstanceOverview(w http.ResponseWriter, r *http.Request)
// ListPlans The installation's plans
// (GET /admin/plans)
ListPlans(w http.ResponseWriter, r *http.Request)
// CreatePlan Create a plan
// (POST /admin/plans)
CreatePlan(w http.ResponseWriter, r *http.Request, params CreatePlanParams)
// RemovePlan Remove a plan
// (DELETE /admin/plans/{planName})
RemovePlan(w http.ResponseWriter, r *http.Request, planName string)
// ReadPlan One plan
// (GET /admin/plans/{planName})
ReadPlan(w http.ResponseWriter, r *http.Request, planName string)
// ChangePlan Replace a plan's values
// (PUT /admin/plans/{planName})
ChangePlan(w http.ResponseWriter, r *http.Request, planName string, params ChangePlanParams)
// ListInstallationPresets The installation's presets
// (GET /admin/presets)
ListInstallationPresets(w http.ResponseWriter, r *http.Request)
// CreateInstallationPreset Create a preset of the installation
// (POST /admin/presets)
CreateInstallationPreset(w http.ResponseWriter, r *http.Request)
// WithdrawInstallationPreset Withdraw a preset of the installation
// (DELETE /admin/presets/{presetId})
WithdrawInstallationPreset(w http.ResponseWriter, r *http.Request, presetId PresetId, params WithdrawInstallationPresetParams)
// ChangeInstallationPreset Change a preset of the installation
// (PATCH /admin/presets/{presetId})
ChangeInstallationPreset(w http.ResponseWriter, r *http.Request, presetId PresetId, params ChangeInstallationPresetParams)
// ReadInstanceSettings What this installation has decided for every workspace on it
// (GET /admin/settings)
ReadInstanceSettings(w http.ResponseWriter, r *http.Request)
// WriteInstanceSettings Replace the installation's level
// (PUT /admin/settings)
WriteInstanceSettings(w http.ResponseWriter, r *http.Request, params WriteInstanceSettingsParams)
// ListPlatformSubscriptions The installation's subscriptions for a purchase platform
// (GET /admin/subscriptions)
ListPlatformSubscriptions(w http.ResponseWriter, r *http.Request)
// CreatePlatformSubscription Subscribe a purchase platform to the installation's events
// (POST /admin/subscriptions)
CreatePlatformSubscription(w http.ResponseWriter, r *http.Request, params CreatePlatformSubscriptionParams)
// DeletePlatformSubscription Unsubscribe
// (DELETE /admin/subscriptions/{subscriptionId})
DeletePlatformSubscription(w http.ResponseWriter, r *http.Request, subscriptionId openapi_types.UUID)
// ReadPlatformSubscription One subscription of the installation
// (GET /admin/subscriptions/{subscriptionId})
ReadPlatformSubscription(w http.ResponseWriter, r *http.Request, subscriptionId openapi_types.UUID)
// UpdatePlatformSubscription Change a subscription's target, or pause and resume it
// (PATCH /admin/subscriptions/{subscriptionId})
UpdatePlatformSubscription(w http.ResponseWriter, r *http.Request, subscriptionId openapi_types.UUID, params UpdatePlatformSubscriptionParams)
// ListPlatformDeliveries What was sent to the subscription, and what became of it
// (GET /admin/subscriptions/{subscriptionId}/deliveries)
ListPlatformDeliveries(w http.ResponseWriter, r *http.Request, subscriptionId openapi_types.UUID, params ListPlatformDeliveriesParams)
// RedeliverPlatformSubscription Send the subscription's dead letters again
// (POST /admin/subscriptions/{subscriptionId}:redeliver)
RedeliverPlatformSubscription(w http.ResponseWriter, r *http.Request, subscriptionId openapi_types.UUID)
// RotatePlatformSubscriptionSecret Issue a new signing secret
// (POST /admin/subscriptions/{subscriptionId}:rotate-secret)
RotatePlatformSubscriptionSecret(w http.ResponseWriter, r *http.Request, subscriptionId openapi_types.UUID, params RotatePlatformSubscriptionSecretParams)
// ListTenants The installation's workspaces
// (GET /admin/tenants)
ListTenants(w http.ResponseWriter, r *http.Request)
// ProvisionTenant Provision a workspace
// (POST /admin/tenants)
ProvisionTenant(w http.ResponseWriter, r *http.Request, params ProvisionTenantParams)
// ReadTenant One workspace
// (GET /admin/tenants/{tenantId})
ReadTenant(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// UpdateTenant Set or clear the platform's reference on a workspace
// (PATCH /admin/tenants/{tenantId})
UpdateTenant(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId, params UpdateTenantParams)
// UpdateTenantQuotas Set a workspace's quotas
// (PATCH /admin/tenants/{tenantId}/quotas)
UpdateTenantQuotas(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// CancelTenantDeletion Call off a workspace's pending deletion
// (POST /admin/tenants/{tenantId}:cancel-deletion)
CancelTenantDeletion(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// CloseTenantPassword Close an operator's opening of the password early
// (POST /admin/tenants/{tenantId}:close-password)
CloseTenantPassword(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// RequestTenantDeletion Request a workspace's deletion
// (POST /admin/tenants/{tenantId}:delete)
RequestTenantDeletion(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId, params RequestTenantDeletionParams)
// ExportTenant Export a workspace whole
// (POST /admin/tenants/{tenantId}:export)
ExportTenant(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// MoveTenantPlan Put a workspace on another plan
// (POST /admin/tenants/{tenantId}:move-plan)
MoveTenantPlan(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId, params MoveTenantPlanParams)
// OpenTenantPassword Open the password for one workspace
// (POST /admin/tenants/{tenantId}:open-password)
OpenTenantPassword(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId, params OpenTenantPasswordParams)
// ReapplyErasures Carry out again the erasures of a rewound period
// (POST /admin/tenants/{tenantId}:reapply-erasures)
ReapplyErasures(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId, params ReapplyErasuresParams)
// ReplaceLegalHolds Place the legal holds of a rewound period again
// (POST /admin/tenants/{tenantId}:replace-legal-holds)
ReplaceLegalHolds(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// ResumeTenant Reactivate a workspace
// (POST /admin/tenants/{tenantId}:resume)
ResumeTenant(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// SuspendTenant Suspend a workspace
// (POST /admin/tenants/{tenantId}:suspend)
SuspendTenant(w http.ResponseWriter, r *http.Request, tenantId AdminTenantId)
// QueryTenants Find workspaces
// (POST /admin/tenants:query)
QueryTenants(w http.ResponseWriter, r *http.Request)
// ReadUsage The use per workspace, metric and day, for billing
// (GET /admin/usage)
ReadUsage(w http.ResponseWriter, r *http.Request, params ReadUsageParams)
// SetAiArrivalProposals Whether AI prepares a proposal for each new jumble entry
// (PUT /ai-arrival-proposals)
SetAiArrivalProposals(w http.ResponseWriter, r *http.Request)
// SetOwnAiBudget Set the daily budget of this workspace's own AI model
// (PUT /ai-budget)
SetOwnAiBudget(w http.ResponseWriter, r *http.Request)
// ReadAiBudgetState How today's AI budget stands, for everybody here
// (GET /ai-budget-state)
ReadAiBudgetState(w http.ResponseWriter, r *http.Request)
// SetAiPersonOptOut Whether each person may keep their own content out of AI
// (PUT /ai-person-opt-out)
SetAiPersonOptOut(w http.ResponseWriter, r *http.Request)
// RemoveAiProvider Remove the workspace's AI provider
// (DELETE /ai-provider)
RemoveAiProvider(w http.ResponseWriter, r *http.Request)
// ReadAiProvider The workspace's AI provider, and whether it may be used
// (GET /ai-provider)
ReadAiProvider(w http.ResponseWriter, r *http.Request)
// ConfigureAiProvider Configure the workspace's AI provider
// (PUT /ai-provider)
ConfigureAiProvider(w http.ResponseWriter, r *http.Request)
// ReadAiSource Which AI answers this workspace, and what it may use
// (GET /ai-source)
ReadAiSource(w http.ResponseWriter, r *http.Request)
// ChooseAiSource Choose which AI answers this workspace
// (PUT /ai-source)
ChooseAiSource(w http.ResponseWriter, r *http.Request)
// AskWorkspace Ask the workspace a question
// (POST /ask)
AskWorkspace(w http.ResponseWriter, r *http.Request, params AskWorkspaceParams)
// ListAuditEntries Query audit entries
// (GET /audit)
ListAuditEntries(w http.ResponseWriter, r *http.Request, params ListAuditEntriesParams)
// ConfigureAuditAnchoring Name where the audit chain's end is anchored, or switch anchoring off
// (PUT /audit/anchoring)
ConfigureAuditAnchoring(w http.ResponseWriter, r *http.Request)
// ExportAuditTrail Export the audit trail over a period
// (POST /audit:export)
ExportAuditTrail(w http.ResponseWriter, r *http.Request)
// VerifyAuditChain Verify the integrity of the audit chain
// (POST /audit:verify)
VerifyAuditChain(w http.ResponseWriter, r *http.Request)
// ConfirmAddress Confirm a mail address with the link that was sent to it
// (POST /auth/address:confirm)
ConfirmAddress(w http.ResponseWriter, r *http.Request)
// SetUpInstallation Set up a fresh installation with the code its first start printed
// (POST /auth/installation:set-up)
SetUpInstallation(w http.ResponseWriter, r *http.Request)
// InspectInvitation Name the workspace and the address an invitation is for
// (POST /auth/invitations:inspect)
InspectInvitation(w http.ResponseWriter, r *http.Request)
// RedeemInvitation Redeem an invitation and set the first password
// (POST /auth/invitations:redeem)
RedeemInvitation(w http.ResponseWriter, r *http.Request)
// CompletePasskeyEnrollment Finish setting up a passkey or security key during sign-in
// (POST /auth/mfa/passkey:enroll)
CompletePasskeyEnrollment(w http.ResponseWriter, r *http.Request)
// StartPasskeyEnrollment Begin setting up a passkey or security key during sign-in
// (POST /auth/mfa/passkey:enroll-options)
StartPasskeyEnrollment(w http.ResponseWriter, r *http.Request)
// RegenerateRecoveryCodes Replace the ten recovery codes
// (POST /auth/mfa/recovery:regenerate)
RegenerateRecoveryCodes(w http.ResponseWriter, r *http.Request, params RegenerateRecoveryCodesParams)
// ConfirmAuthenticatorReplacement Confirm the new authenticator, and swap
// (POST /auth/mfa/totp/replacement:confirm)
ConfirmAuthenticatorReplacement(w http.ResponseWriter, r *http.Request)
// ConfirmTotp Confirm enrolment with a first valid code
// (POST /auth/mfa/totp:confirm)
ConfirmTotp(w http.ResponseWriter, r *http.Request)
// EnrollTotp Begin TOTP enrolment
// (POST /auth/mfa/totp:enroll)
EnrollTotp(w http.ResponseWriter, r *http.Request)
// StartAuthenticatorReplacement Begin replacing the authenticator
// (POST /auth/mfa/totp:replace)
StartAuthenticatorReplacement(w http.ResponseWriter, r *http.Request, params StartAuthenticatorReplacementParams)
// DisableTotp Disable the second factor
// (POST /auth/mfa:disable)
DisableTotp(w http.ResponseWriter, r *http.Request, params DisableTotpParams)
// CompleteOidcSignIn Finish the sign-in with the code the provider issued
// (POST /auth/oidc:callback)
CompleteOidcSignIn(w http.ResponseWriter, r *http.Request)
// LocateOidcFlow Where a provider's return belongs
// (POST /auth/oidc:locate)
LocateOidcFlow(w http.ResponseWriter, r *http.Request)
// StartOidcSignIn Begin a sign-in through the workspace's identity provider
// (POST /auth/oidc:start)
StartOidcSignIn(w http.ResponseWriter, r *http.Request)
// ChangePassword Change the password of the signed-in account
// (POST /auth/password)
ChangePassword(w http.ResponseWriter, r *http.Request, params ChangePasswordParams)
// CheckPassword Ask what only the server knows about a candidate password
// (POST /auth/password:check)
CheckPassword(w http.ResponseWriter, r *http.Request, params CheckPasswordParams)
// ForgetPassword Ask for a password reset link
// (POST /auth/password:forgot)
ForgetPassword(w http.ResponseWriter, r *http.Request)
// ResetPassword Spend a reset link and set the password
// (POST /auth/password:reset)
ResetPassword(w http.ResponseWriter, r *http.Request)
// ListServiceAccounts The workspace's service accounts
// (GET /auth/service-accounts)
ListServiceAccounts(w http.ResponseWriter, r *http.Request)
// CreateServiceAccount Create a service account
// (POST /auth/service-accounts)
CreateServiceAccount(w http.ResponseWriter, r *http.Request, params CreateServiceAccountParams)
// RevokeAllSessions Sign out everywhere
// (DELETE /auth/sessions)
RevokeAllSessions(w http.ResponseWriter, r *http.Request)
// ListSessions The caller's active sessions
// (GET /auth/sessions)
ListSessions(w http.ResponseWriter, r *http.Request)
// SignIn Sign in with email and password
// (POST /auth/sessions)
SignIn(w http.ResponseWriter, r *http.Request)
// RevokeSession End one session
// (DELETE /auth/sessions/{sessionId})
RevokeSession(w http.ResponseWriter, r *http.Request, sessionId SessionId)
// AgreeToTerms Agree to the terms of use and finish the sign-in
// (POST /auth/sessions:agree-terms)
AgreeToTerms(w http.ResponseWriter, r *http.Request)
// ElevateSession Raise this session to the control plane for an hour
// (POST /auth/sessions:elevate)
ElevateSession(w http.ResponseWriter, r *http.Request, params ElevateSessionParams)
// CompleteLink Prove the account before a provider is connected to it
// (POST /auth/sessions:link)
CompleteLink(w http.ResponseWriter, r *http.Request)
// CompletePasskeySignIn Sign in with a passkey and receive the pair
// (POST /auth/sessions:passkey)
CompletePasskeySignIn(w http.ResponseWriter, r *http.Request)
// StartPasskeySignIn Begin a sign-in with a passkey
// (POST /auth/sessions:passkey-options)
StartPasskeySignIn(w http.ResponseWriter, r *http.Request)
// RefreshSession Exchange a refresh token for the next pair
// (POST /auth/sessions:refresh)
RefreshSession(w http.ResponseWriter, r *http.Request)
// RevokeOtherSessions Sign out everywhere else
// (POST /auth/sessions:revoke-others)
RevokeOtherSessions(w http.ResponseWriter, r *http.Request)
// SetPasswordAndSignIn Set a new password and finish the sign-in
// (POST /auth/sessions:set-password)
SetPasswordAndSignIn(w http.ResponseWriter, r *http.Request)
// CompleteSignIn Present the second factor and receive the pair
// (POST /auth/sessions:verify)
CompleteSignIn(w http.ResponseWriter, r *http.Request)
// GetSignInRules What a sign-in screen may know before anybody has signed in
// (GET /auth/sign-in-rules)
GetSignInRules(w http.ResponseWriter, r *http.Request)
// StepUp Prove yourself again, for the irreversible
// (POST /auth/step-up)
StepUp(w http.ResponseWriter, r *http.Request)
// StartPasskeyStepUp The options for a fresh proof with a passkey or security key
// (POST /auth/step-up:passkey-options)
StartPasskeyStepUp(w http.ResponseWriter, r *http.Request)
// StartProviderStepUp Begin a step-up at the provider this account is connected to
// (POST /auth/step-up:provider)
StartProviderStepUp(w http.ResponseWriter, r *http.Request)
// ListAccessTokens The caller's own personal access tokens
// (GET /auth/tokens)
ListAccessTokens(w http.ResponseWriter, r *http.Request, params ListAccessTokensParams)
// CreateAccessToken Mint a personal access token
// (POST /auth/tokens)
CreateAccessToken(w http.ResponseWriter, r *http.Request, params CreateAccessTokenParams)
// RevokeAccessToken Revoke a personal access token
// (DELETE /auth/tokens/{tokenId})
RevokeAccessToken(w http.ResponseWriter, r *http.Request, tokenId TokenId)
// StartInboundRun Start a rule from outside
// (POST /automation/inbound/{token})
StartInboundRun(w http.ResponseWriter, r *http.Request, token string)
// ListRules The workspace's automation rules
// (GET /automation/rules)
ListRules(w http.ResponseWriter, r *http.Request, params ListRulesParams)
// CreateRule Write a rule
// (POST /automation/rules)
CreateRule(w http.ResponseWriter, r *http.Request, params CreateRuleParams)
// DeleteRule Remove a rule
// (DELETE /automation/rules/{ruleId})
DeleteRule(w http.ResponseWriter, r *http.Request, ruleId RuleId)
// GetRule One rule, as it stands
// (GET /automation/rules/{ruleId})
GetRule(w http.ResponseWriter, r *http.Request, ruleId RuleId)
// UpdateRule Change what a rule does
// (PATCH /automation/rules/{ruleId})
UpdateRule(w http.ResponseWriter, r *http.Request, ruleId RuleId)
// DisableRule Switch a rule off
// (POST /automation/rules/{ruleId}:disable)
DisableRule(w http.ResponseWriter, r *http.Request, ruleId RuleId, params DisableRuleParams)
// EnableRule Switch a rule on
// (POST /automation/rules/{ruleId}:enable)
EnableRule(w http.ResponseWriter, r *http.Request, ruleId RuleId, params EnableRuleParams)
// RotateInboundTrigger Mint the address an inbound-webhook rule answers on
// (POST /automation/rules/{ruleId}:rotate-inbound-token)
RotateInboundTrigger(w http.ResponseWriter, r *http.Request, ruleId RuleId, params RotateInboundTriggerParams)
// TriggerRuleManually Run a rule now
// (POST /automation/rules/{ruleId}:trigger)
TriggerRuleManually(w http.ResponseWriter, r *http.Request, ruleId RuleId, params TriggerRuleManuallyParams)
// CheckRules Check every rule of the workspace against what exists now
// (POST /automation/rules:check)
CheckRules(w http.ResponseWriter, r *http.Request)
// DescribeRule Ask AI to draft a rule from a sentence
// (POST /automation/rules:describe)
DescribeRule(w http.ResponseWriter, r *http.Request, params DescribeRuleParams)
// TestRule Dry-run a rule against a sample event
// (POST /automation/rules:test)
TestRule(w http.ResponseWriter, r *http.Request)
// ListRuleRuns What the rules have done
// (GET /automation/runs)
ListRuleRuns(w http.ResponseWriter, r *http.Request, params ListRuleRunsParams)
// GetRuleRun One run, with every condition and every action
// (GET /automation/runs/{runId})
GetRuleRun(w http.ResponseWriter, r *http.Request, runId openapi_types.UUID)
// ReplayRuleRun Complete a failed run
// (POST /automation/runs/{runId}:replay)
ReplayRuleRun(w http.ResponseWriter, r *http.Request, runId openapi_types.UUID, params ReplayRuleRunParams)
// ListBackupSchedules The schedules the workspace has
// (GET /backup-schedules)
ListBackupSchedules(w http.ResponseWriter, r *http.Request)
// CreateBackupSchedule Create a backup schedule
// (POST /backup-schedules)
CreateBackupSchedule(w http.ResponseWriter, r *http.Request)
// DeleteBackupSchedule Remove a schedule
// (DELETE /backup-schedules/{scheduleId})
DeleteBackupSchedule(w http.ResponseWriter, r *http.Request, scheduleId openapi_types.UUID)
// UpdateBackupSchedule Change a schedule, or switch it off
// (PATCH /backup-schedules/{scheduleId})
UpdateBackupSchedule(w http.ResponseWriter, r *http.Request, scheduleId openapi_types.UUID, params UpdateBackupScheduleParams)
// ListBackupTargets List the backup targets
// (GET /backup-targets)
ListBackupTargets(w http.ResponseWriter, r *http.Request)
// CreateBackupTarget Create a backup target
// (POST /backup-targets)
CreateBackupTarget(w http.ResponseWriter, r *http.Request)
// DeleteBackupTarget Remove a backup target from the workspace's configuration
// (DELETE /backup-targets/{targetId})
DeleteBackupTarget(w http.ResponseWriter, r *http.Request, targetId openapi_types.UUID)
// ListBackupsAtTarget List the backups present at the target
// (GET /backup-targets/{targetId}/backups)
ListBackupsAtTarget(w http.ResponseWriter, r *http.Request, targetId openapi_types.UUID, params ListBackupsAtTargetParams)
// TestBackupTarget Test the connection to the target
// (POST /backup-targets/{targetId}:test)
TestBackupTarget(w http.ResponseWriter, r *http.Request, targetId openapi_types.UUID)
// StartBackup Start a backup immediately
// (POST /backups)
StartBackup(w http.ResponseWriter, r *http.Request)
// GetBackupRun What one backup run did
// (GET /backups/{backupId})
GetBackupRun(w http.ResponseWriter, r *http.Request, backupId openapi_types.UUID)
// VerifyBackup Verify an archive at the target
// (POST /backups/{backupId}:verify)
VerifyBackup(w http.ResponseWriter, r *http.Request, backupId openapi_types.UUID)
// (GET /calendar/{token}.ics)
GetCalendarFeedDocument(w http.ResponseWriter, r *http.Request, token string)
// SetCollectionHandle Give a collection another handle
// (PUT /collections/{collection_id}/handle)
SetCollectionHandle(w http.ResponseWriter, r *http.Request, collectionId openapi_types.UUID, params SetCollectionHandleParams)
// (GET /containers)
ListContainers(w http.ResponseWriter, r *http.Request, params ListContainersParams)
// (POST /containers)
CreateContainer(w http.ResponseWriter, r *http.Request, params CreateContainerParams)
// (DELETE /containers/{containerId})
TrashContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params TrashContainerParams)
// (GET /containers/{containerId})
GetContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId)
// (PATCH /containers/{containerId})
RenameContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params RenameContainerParams)
// (GET /containers/{containerId}/buckets)
ListBuckets(w http.ResponseWriter, r *http.Request, containerId ContainerId)
// (POST /containers/{containerId}/buckets)
CreateBucket(w http.ResponseWriter, r *http.Request, containerId ContainerId)
// (DELETE /containers/{containerId}/buckets/{bucketId})
DeleteBucket(w http.ResponseWriter, r *http.Request, containerId ContainerId, bucketId BucketId, params DeleteBucketParams)
// (PATCH /containers/{containerId}/buckets/{bucketId})
UpdateBucket(w http.ResponseWriter, r *http.Request, containerId ContainerId, bucketId BucketId, params UpdateBucketParams)
// (POST /containers/{containerId}/buckets/{bucketId}:reorder)
ReorderBucket(w http.ResponseWriter, r *http.Request, containerId ContainerId, bucketId BucketId, params ReorderBucketParams)
// (GET /containers/{containerId}/labels)
ListLabels(w http.ResponseWriter, r *http.Request, containerId ContainerId, params ListLabelsParams)
// (POST /containers/{containerId}/labels)
CreateLabel(w http.ResponseWriter, r *http.Request, containerId ContainerId)
// (DELETE /containers/{containerId}/labels/{labelId})
DeleteLabel(w http.ResponseWriter, r *http.Request, containerId ContainerId, labelId LabelId, params DeleteLabelParams)
// (PATCH /containers/{containerId}/labels/{labelId})
UpdateLabel(w http.ResponseWriter, r *http.Request, containerId ContainerId, labelId LabelId, params UpdateLabelParams)
// (POST /containers/{containerId}/labels/{labelId}:restore)
RestoreLabel(w http.ResponseWriter, r *http.Request, containerId ContainerId, labelId LabelId, params RestoreLabelParams)
// (PUT /containers/{containerId}/policies)
UpdateContainerPolicies(w http.ResponseWriter, r *http.Request, containerId ContainerId, params UpdateContainerPoliciesParams)
// (PUT /containers/{containerId}/privacy)
SetHubPrivacy(w http.ResponseWriter, r *http.Request, containerId ContainerId, params SetHubPrivacyParams)
// (PATCH /containers/{containerId}/structure)
SetContainerStructure(w http.ResponseWriter, r *http.Request, containerId ContainerId, params SetContainerStructureParams)
// (POST /containers/{containerId}/structure:preview)
PreviewContainerStructure(w http.ResponseWriter, r *http.Request, containerId ContainerId)
// (POST /containers/{containerId}:archive)
ArchiveContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params ArchiveContainerParams)
// MakeEntries Ask AI to turn a piece of text into entries
// (POST /containers/{containerId}:make-entries)
MakeEntries(w http.ResponseWriter, r *http.Request, containerId ContainerId, params MakeEntriesParams)
// (POST /containers/{containerId}:move)
MoveContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params MoveContainerParams)
// (POST /containers/{containerId}:reorder)
ReorderContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params ReorderContainerParams)
// (POST /containers/{containerId}:restore)
RestoreContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params RestoreContainerParams)
// AiSummarizeContainer Ask AI how a collection stands
// (POST /containers/{containerId}:summarize)
AiSummarizeContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId)
// (POST /containers/{containerId}:unarchive)
UnarchiveContainer(w http.ResponseWriter, r *http.Request, containerId ContainerId, params UnarchiveContainerParams)
// (GET /custom-fields)
ListCustomFields(w http.ResponseWriter, r *http.Request, params ListCustomFieldsParams)
// (POST /custom-fields)
DefineCustomField(w http.ResponseWriter, r *http.Request, params DefineCustomFieldParams)
// (DELETE /custom-fields/{fieldId})
DeleteCustomField(w http.ResponseWriter, r *http.Request, fieldId CustomFieldId, params DeleteCustomFieldParams)
// (PATCH /custom-fields/{fieldId})
UpdateCustomField(w http.ResponseWriter, r *http.Request, fieldId CustomFieldId, params UpdateCustomFieldParams)
// ListGroups The workspace's groups
// (GET /groups)
ListGroups(w http.ResponseWriter, r *http.Request, params ListGroupsParams)
// CreateGroup Create a group
// (POST /groups)
CreateGroup(w http.ResponseWriter, r *http.Request, params CreateGroupParams)
// DeleteGroup Delete a group
// (DELETE /groups/{groupId})
DeleteGroup(w http.ResponseWriter, r *http.Request, groupId GroupId, params DeleteGroupParams)
// GetGroup One group, with who is in it
// (GET /groups/{groupId})
GetGroup(w http.ResponseWriter, r *http.Request, groupId GroupId)
// UpdateGroup Rename a group or change its description
// (PATCH /groups/{groupId})
UpdateGroup(w http.ResponseWriter, r *http.Request, groupId GroupId, params UpdateGroupParams)
// ReadIdentityProvider The workspace's first identity provider
// (GET /identity-provider)
ReadIdentityProvider(w http.ResponseWriter, r *http.Request)
// ConfigureFirstIdentityProvider Set the workspace's first identity provider
// (PUT /identity-provider)
ConfigureFirstIdentityProvider(w http.ResponseWriter, r *http.Request, params ConfigureFirstIdentityProviderParams)
// ListIdentityProviderPresets The providers Hubtask has a preset for, and what registering takes
// (GET /identity-provider-presets)
ListIdentityProviderPresets(w http.ResponseWriter, r *http.Request)
// ListIdentityProviders The providers people can sign in to this workspace through
// (GET /identity-providers)
ListIdentityProviders(w http.ResponseWriter, r *http.Request)
// CreateIdentityProvider Add a provider this workspace signs its people in through
// (POST /identity-providers)
CreateIdentityProvider(w http.ResponseWriter, r *http.Request, params CreateIdentityProviderParams)
// RemoveIdentityProvider Remove one of the workspace's identity providers
// (DELETE /identity-providers/{providerId})
RemoveIdentityProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId, params RemoveIdentityProviderParams)
// ConfigureIdentityProvider Replace one of the workspace's identity providers
// (PUT /identity-providers/{providerId})
ConfigureIdentityProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId, params ConfigureIdentityProviderParams)
// OfferIdentityProvider Switch a provider on or off as a way in here
// (POST /identity-providers/{providerId}:offer)
OfferIdentityProvider(w http.ResponseWriter, r *http.Request, providerId ProviderId, params OfferIdentityProviderParams)
// ImportEntries Import entries from another system into a hub or one of its collections
// (POST /imports)
ImportEntries(w http.ResponseWriter, r *http.Request, params ImportEntriesParams)
// GetImport An import and its report
// (GET /imports/{importId})
GetImport(w http.ResponseWriter, r *http.Request, importId ImportId)
// (GET /integrations/calendar-feeds)
ListCalendarFeeds(w http.ResponseWriter, r *http.Request)
// (POST /integrations/calendar-feeds)
CreateCalendarFeed(w http.ResponseWriter, r *http.Request, params CreateCalendarFeedParams)
// (DELETE /integrations/calendar-feeds/{feedId})
RevokeCalendarFeed(w http.ResponseWriter, r *http.Request, feedId FeedId)
// HttpRequest Call an external HTTP address
// (POST /integrations/http-requests)
HttpRequest(w http.ResponseWriter, r *http.Request)
// PollTriggerEvents The pull half of the event stream
// (GET /integrations/triggers/{eventType})
PollTriggerEvents(w http.ResponseWriter, r *http.Request, eventType EventType, params PollTriggerEventsParams)
// ListWebhookSubscriptions The workspace's webhook subscriptions
// (GET /integrations/webhooks)
ListWebhookSubscriptions(w http.ResponseWriter, r *http.Request)
// CreateWebhookSubscription Subscribe an external system to the event stream
// (POST /integrations/webhooks)
CreateWebhookSubscription(w http.ResponseWriter, r *http.Request, params CreateWebhookSubscriptionParams)
// DeleteWebhookSubscription Unsubscribe
// (DELETE /integrations/webhooks/{webhookId})
DeleteWebhookSubscription(w http.ResponseWriter, r *http.Request, webhookId WebhookId)
// GetWebhookSubscription One webhook subscription
// (GET /integrations/webhooks/{webhookId})
GetWebhookSubscription(w http.ResponseWriter, r *http.Request, webhookId WebhookId)
// UpdateWebhookSubscription Change a subscription
// (PATCH /integrations/webhooks/{webhookId})
UpdateWebhookSubscription(w http.ResponseWriter, r *http.Request, webhookId WebhookId, params UpdateWebhookSubscriptionParams)
// ListWebhookDeliveries What was delivered, and what happened to it
// (GET /integrations/webhooks/{webhookId}/deliveries)
ListWebhookDeliveries(w http.ResponseWriter, r *http.Request, webhookId WebhookId, params ListWebhookDeliveriesParams)
// ReplayWebhookDelivery Send a dead-lettered delivery again
// (POST /integrations/webhooks/{webhookId}/deliveries/{deliveryId}:replay)
ReplayWebhookDelivery(w http.ResponseWriter, r *http.Request, webhookId WebhookId, deliveryId DeliveryId)
// RotateWebhookSecret Issue a new signing secret
// (POST /integrations/webhooks/{webhookId}:rotate-secret)
RotateWebhookSecret(w http.ResponseWriter, r *http.Request, webhookId WebhookId, params RotateWebhookSecretParams)
// SendWebhook Deliver one event to this subscription
// (POST /integrations/webhooks/{webhookId}:send)
SendWebhook(w http.ResponseWriter, r *http.Request, webhookId WebhookId)
// (GET /items)
ListWorkItems(w http.ResponseWriter, r *http.Request, params ListWorkItemsParams)
// (POST /items)
CreateWorkItem(w http.ResponseWriter, r *http.Request, params CreateWorkItemParams)
// (DELETE /items/{itemId})
TrashWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params TrashWorkItemParams)
// (GET /items/{itemId})
GetWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params GetWorkItemParams)
// (PATCH /items/{itemId})
UpdateWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params UpdateWorkItemParams)
// (GET /items/{itemId}/activity)
ListActivity(w http.ResponseWriter, r *http.Request, itemId ItemId, params ListActivityParams)
// (GET /items/{itemId}/attachments)
ListAttachments(w http.ResponseWriter, r *http.Request, itemId ItemId, params ListAttachmentsParams)
// (DELETE /items/{itemId}/attachments/{mediaId})
DetachMedia(w http.ResponseWriter, r *http.Request, itemId ItemId, mediaId MediaId)
// (PUT /items/{itemId}/attachments/{mediaId})
AttachMedia(w http.ResponseWriter, r *http.Request, itemId ItemId, mediaId MediaId)
// (GET /items/{itemId}/comments)
ListComments(w http.ResponseWriter, r *http.Request, itemId ItemId, params ListCommentsParams)
// (POST /items/{itemId}/comments)
AddComment(w http.ResponseWriter, r *http.Request, itemId ItemId, params AddCommentParams)
// (DELETE /items/{itemId}/comments/{commentId})
DeleteComment(w http.ResponseWriter, r *http.Request, itemId ItemId, commentId CommentId, params DeleteCommentParams)
// (PATCH /items/{itemId}/comments/{commentId})
EditComment(w http.ResponseWriter, r *http.Request, itemId ItemId, commentId CommentId, params EditCommentParams)
// (DELETE /items/{itemId}/cover)
ClearCover(w http.ResponseWriter, r *http.Request, itemId ItemId, params ClearCoverParams)
// (PUT /items/{itemId}/cover)
SetCover(w http.ResponseWriter, r *http.Request, itemId ItemId, params SetCoverParams)
// (PUT /items/{itemId}/custom-fields/{key})
SetCustomField(w http.ResponseWriter, r *http.Request, itemId ItemId, key CustomFieldKey, params SetCustomFieldParams)
// (DELETE /items/{itemId}/due)
ClearDueDate(w http.ResponseWriter, r *http.Request, itemId ItemId, params ClearDueDateParams)
// (PUT /items/{itemId}/due)
SetDueDate(w http.ResponseWriter, r *http.Request, itemId ItemId, params SetDueDateParams)
// (DELETE /items/{itemId}/kudos)
TakeBackKudos(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (GET /items/{itemId}/kudos)
ReadKudos(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (PUT /items/{itemId}/kudos)
GiveKudos(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (DELETE /items/{itemId}/labels/{labelId})
RemoveLabel(w http.ResponseWriter, r *http.Request, itemId ItemId, labelId LabelId)
// (PUT /items/{itemId}/labels/{labelId})
AddLabel(w http.ResponseWriter, r *http.Request, itemId ItemId, labelId LabelId)
// (DELETE /items/{itemId}/members/{accountId})
RemoveMember(w http.ResponseWriter, r *http.Request, itemId ItemId, accountId AccountId)
// (PUT /items/{itemId}/members/{accountId})
AddMember(w http.ResponseWriter, r *http.Request, itemId ItemId, accountId AccountId)
// (DELETE /items/{itemId}/recurrence)
RemoveRecurrence(w http.ResponseWriter, r *http.Request, itemId ItemId, params RemoveRecurrenceParams)
// (GET /items/{itemId}/recurrence)
GetRecurrence(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (PUT /items/{itemId}/recurrence)
SetRecurrence(w http.ResponseWriter, r *http.Request, itemId ItemId, params SetRecurrenceParams)
// (POST /items/{itemId}/recurrence:skip)
SkipOccurrence(w http.ResponseWriter, r *http.Request, itemId ItemId, params SkipOccurrenceParams)
// (GET /items/{itemId}/reminders)
ListReminders(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (POST /items/{itemId}/reminders)
CreateReminder(w http.ResponseWriter, r *http.Request, itemId ItemId, params CreateReminderParams)
// (DELETE /items/{itemId}/reminders/{reminderId})
DeleteReminder(w http.ResponseWriter, r *http.Request, itemId ItemId, reminderId ReminderId, params DeleteReminderParams)
// (PATCH /items/{itemId}/reminders/{reminderId})
UpdateReminder(w http.ResponseWriter, r *http.Request, itemId ItemId, reminderId ReminderId, params UpdateReminderParams)
// (POST /items/{itemId}:archive)
ArchiveWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params ArchiveWorkItemParams)
// (POST /items/{itemId}:assign)
AssignWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params AssignWorkItemParams)
// (POST /items/{itemId}:auto-assign)
AutoAssignWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params AutoAssignWorkItemParams)
// AiClassify Ask AI to propose labels for this entry
// (POST /items/{itemId}:classify)
AiClassify(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (POST /items/{itemId}:complete)
CompleteWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params CompleteWorkItemParams)
// SuggestDecomposition Ask AI what work sits under this entry
// (POST /items/{itemId}:decompose)
SuggestDecomposition(w http.ResponseWriter, r *http.Request, itemId ItemId, params SuggestDecompositionParams)
// (POST /items/{itemId}:duplicate)
DuplicateWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params DuplicateWorkItemParams)
// SuggestDuplicates Which entries look like this one
// (POST /items/{itemId}:duplicates)
SuggestDuplicates(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (POST /items/{itemId}:move)
MoveWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params MoveWorkItemParams)
// (POST /items/{itemId}:purge)
PurgeWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params PurgeWorkItemParams)
// (POST /items/{itemId}:reopen)
ReopenWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params ReopenWorkItemParams)
// (POST /items/{itemId}:reorder)
ReorderWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params ReorderWorkItemParams)
// (POST /items/{itemId}:restore)
RestoreWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params RestoreWorkItemParams)
// RetainItem Take an object out of the running retention period
// (POST /items/{itemId}:retain)
RetainItem(w http.ResponseWriter, r *http.Request, itemId openapi_types.UUID)
// AiSuggestFields Ask AI to propose this entry's fields
// (POST /items/{itemId}:suggest-fields)
AiSuggestFields(w http.ResponseWriter, r *http.Request, itemId ItemId)
// AiSummarize Ask AI to summarise this entry
// (POST /items/{itemId}:summarize)
AiSummarize(w http.ResponseWriter, r *http.Request, itemId ItemId)
// AiSummarizeThread Ask AI to summarise this entry's discussion
// (POST /items/{itemId}:summarize-thread)
AiSummarizeThread(w http.ResponseWriter, r *http.Request, itemId ItemId)
// AiTranslate Read this entry in another language
// (POST /items/{itemId}:translate)
AiTranslate(w http.ResponseWriter, r *http.Request, itemId ItemId)
// (POST /items/{itemId}:unarchive)
UnarchiveWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params UnarchiveWorkItemParams)
// (POST /items/{itemId}:unassign)
UnassignWorkItem(w http.ResponseWriter, r *http.Request, itemId ItemId, params UnassignWorkItemParams)
// (POST /items:bulk)
BulkUpdateWorkItems(w http.ResponseWriter, r *http.Request, params BulkUpdateWorkItemsParams)
// FindDuplicatesByTitle Which entries look like a title that is not an entry yet
// (POST /items:duplicates)
FindDuplicatesByTitle(w http.ResponseWriter, r *http.Request)
// ExportItems The result of a query, as a file
// (POST /items:export)
ExportItems(w http.ResponseWriter, r *http.Request, params ExportItemsParams)
// QueryItems The generic query - the basis for list, kanban, and timeline
// (POST /items:query)
QueryItems(w http.ResponseWriter, r *http.Request)
// GetJob How a piece of background work is getting on
// (GET /jobs/{jobId})
GetJob(w http.ResponseWriter, r *http.Request, jobId JobId)
// CancelJob Stop a piece of background work
// (POST /jobs/{jobId}:cancel)
CancelJob(w http.ResponseWriter, r *http.Request, jobId JobId, params CancelJobParams)
// ListJumbleDestinations Where an entry may become work for you
// (GET /jumble/destinations)
ListJumbleDestinations(w http.ResponseWriter, r *http.Request, params ListJumbleDestinationsParams)
// ListJumbleEntries The jumble, newest first
// (GET /jumble/entries)
ListJumbleEntries(w http.ResponseWriter, r *http.Request, params ListJumbleEntriesParams)
// SubmitJumbleEntry Put something in the jumble
// (POST /jumble/entries)
SubmitJumbleEntry(w http.ResponseWriter, r *http.Request, params SubmitJumbleEntryParams)
// GetJumbleEntry One jumble entry
// (GET /jumble/entries/{entryId})
GetJumbleEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID)
// CommentJumbleEntry Settle an entry as a comment on an entry
// (POST /jumble/entries/{entryId}:comment)
CommentJumbleEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID, params CommentJumbleEntryParams)
// ConvertJumbleEntry Turn an entry into work
// (POST /jumble/entries/{entryId}:convert)
ConvertJumbleEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID, params ConvertJumbleEntryParams)
// DismissJumbleEntry Decide against an entry
// (POST /jumble/entries/{entryId}:dismiss)
DismissJumbleEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID, params DismissJumbleEntryParams)
// SuggestFromJumbleEntry Ask AI what this entry should become
// (POST /jumble/entries/{entryId}:suggest)
SuggestFromJumbleEntry(w http.ResponseWriter, r *http.Request, entryId openapi_types.UUID, params SuggestFromJumbleEntryParams)
// StartJumbleIntake Deliver something into the jumble from outside
// (POST /jumble/inbound/{token})
StartJumbleIntake(w http.ResponseWriter, r *http.Request, token string)
// RotateJumbleIntake Mint the address the jumble accepts webhooks on
// (POST /jumble/intake:rotate-token)
RotateJumbleIntake(w http.ResponseWriter, r *http.Request, params RotateJumbleIntakeParams)
// DeliverMail Deliver a mail into the jumble
// (POST /jumble/mail/{token})
DeliverMail(w http.ResponseWriter, r *http.Request, token string)
// ListLegalHolds The legal holds in force
// (GET /legal-holds)
ListLegalHolds(w http.ResponseWriter, r *http.Request, params ListLegalHoldsParams)
// PlaceLegalHold Place a legal hold
// (POST /legal-holds)
PlaceLegalHold(w http.ResponseWriter, r *http.Request)
// ReleaseLegalHold Lift a legal hold
// (POST /legal-holds/{holdId}:release)
ReleaseLegalHold(w http.ResponseWriter, r *http.Request, holdId openapi_types.UUID)
// DeliverAddressedMail Deliver a mail to the operator's receiving domain
// (POST /mail/inbound)
DeliverAddressedMail(w http.ResponseWriter, r *http.Request, params DeliverAddressedMailParams)
// ListMailboxes The workspace's connected mailboxes
// (GET /mail/mailboxes)
ListMailboxes(w http.ResponseWriter, r *http.Request)
// ConnectMailbox Connect a mailbox to the mail intake
// (POST /mail/mailboxes)
ConnectMailbox(w http.ResponseWriter, r *http.Request, params ConnectMailboxParams)
// RemoveMailbox Disconnect a mailbox
// (DELETE /mail/mailboxes/{mailbox_id})
RemoveMailbox(w http.ResponseWriter, r *http.Request, mailboxId openapi_types.UUID)
// CheckMailbox Sign in to a connected mailbox again and read it now
// (POST /mail/mailboxes/{mailbox_id}:check)
CheckMailbox(w http.ResponseWriter, r *http.Request, mailboxId openapi_types.UUID, params CheckMailboxParams)
// AuthorizeMailbox Start connecting a mailbox through its provider's sign-in
// (POST /mail/mailboxes:authorize)
AuthorizeMailbox(w http.ResponseWriter, r *http.Request, params AuthorizeMailboxParams)
// CompleteMailboxAuthorization Finish connecting a mailbox with the provider's answer
// (POST /mail/mailboxes:complete)
CompleteMailboxAuthorization(w http.ResponseWriter, r *http.Request, params CompleteMailboxAuthorizationParams)
// ListMailReceipts What the mail intake received
// (GET /mail/receipts)
ListMailReceipts(w http.ResponseWriter, r *http.Request)
// ShowMailSettings The workspace's mail intake
// (GET /mail/settings)
ShowMailSettings(w http.ResponseWriter, r *http.Request)
// SaveMailSettings Replace the workspace's mail intake settings
// (PUT /mail/settings)
SaveMailSettings(w http.ResponseWriter, r *http.Request, params SaveMailSettingsParams)
// (POST /media)
RequestMediaUpload(w http.ResponseWriter, r *http.Request, params RequestMediaUploadParams)
// (DELETE /media/{mediaId})
DeleteMedia(w http.ResponseWriter, r *http.Request, mediaId MediaId)
// (GET /media/{mediaId})
GetMedia(w http.ResponseWriter, r *http.Request, mediaId MediaId)
// (POST /media/{mediaId}:confirm)
ConfirmMediaUpload(w http.ResponseWriter, r *http.Request, mediaId MediaId, params ConfirmMediaUploadParams)
// (GET /media/{mediaId}:content)
DownloadMediaContent(w http.ResponseWriter, r *http.Request, mediaId MediaId, params DownloadMediaContentParams)
// (PUT /media/{mediaId}:content)
UploadMediaContent(w http.ResponseWriter, r *http.Request, mediaId MediaId, params UploadMediaContentParams)
// ListMemberships Who holds a role at a scope
// (GET /memberships)
ListMemberships(w http.ResponseWriter, r *http.Request, params ListMembershipsParams)
// GrantMembership Grant a role at a scope
// (POST /memberships)
GrantMembership(w http.ResponseWriter, r *http.Request, params GrantMembershipParams)
// RevokeMembership Take a role away
// (DELETE /memberships/{membershipId})
RevokeMembership(w http.ResponseWriter, r *http.Request, membershipId MembershipId, params RevokeMembershipParams)
// GetCapabilities Self-description of the installation
// (GET /meta/capabilities)
GetCapabilities(w http.ResponseWriter, r *http.Request)
// GetHealthReport Deep self-diagnosis of the installation
// (GET /meta/health)
GetHealthReport(w http.ResponseWriter, r *http.Request)
// AuthorizeOauthClient Consent to an app's request for bounded access
// (POST /oauth/authorize)
AuthorizeOauthClient(w http.ResponseWriter, r *http.Request)
// ListOauthClients The workspace's registered third-party apps
// (GET /oauth/clients)
ListOauthClients(w http.ResponseWriter, r *http.Request)
// RegisterOauthClient Register a third-party app
// (POST /oauth/clients)
RegisterOauthClient(w http.ResponseWriter, r *http.Request, params RegisterOauthClientParams)
// DeleteOauthClient Remove a third-party app
// (DELETE /oauth/clients/{clientId})
DeleteOauthClient(w http.ResponseWriter, r *http.Request, clientId OauthClientId)
// ReadOauthClient What an app is called, for the person being asked to allow it
// (GET /oauth/clients/{clientId})
ReadOauthClient(w http.ResponseWriter, r *http.Request, clientId OauthClientId)
// ListOauthGrants The apps the caller has allowed, and what
// (GET /oauth/grants)
ListOauthGrants(w http.ResponseWriter, r *http.Request)
// RevokeOauthGrant Withdraw what an app was allowed
// (DELETE /oauth/grants/{grantId})
RevokeOauthGrant(w http.ResponseWriter, r *http.Request, grantId OauthGrantId)
// ExchangeOauthCode Exchange the code for the pair
// (POST /oauth/token)
ExchangeOauthCode(w http.ResponseWriter, r *http.Request)
// ListPresets The presets a hub or collection can start from
// (GET /presets)
ListPresets(w http.ResponseWriter, r *http.Request)
// SavePreset Saves a hub's or collection's structure as a preset
// (POST /presets)
SavePreset(w http.ResponseWriter, r *http.Request)
// WithdrawPreset Withdraws a saved preset
// (DELETE /presets/{presetId})
WithdrawPreset(w http.ResponseWriter, r *http.Request, presetId PresetId, params WithdrawPresetParams)
// ChangePreset Renames or changes a saved preset
// (PATCH /presets/{presetId})
ChangePreset(w http.ResponseWriter, r *http.Request, presetId PresetId, params ChangePresetParams)
// ReadOwnAiPosition The caller's own view of keeping their content out of AI
// (GET /privacy/ai-objection)
ReadOwnAiPosition(w http.ResponseWriter, r *http.Request)
// AcknowledgeAiPosition Acknowledge that keeping one's content out stopped taking effect
// (POST /privacy/ai-objection:noticed)
AcknowledgeAiPosition(w http.ResponseWriter, r *http.Request)
// ListConsents The consent register - who withdrew a purpose
// (GET /privacy/consents)
ListConsents(w http.ResponseWriter, r *http.Request, params ListConsentsParams)
// GiveConsent Agree to an optional processing purpose
// (POST /privacy/consents:give)
GiveConsent(w http.ResponseWriter, r *http.Request)
// WithdrawConsent Withdraw consent for an optional processing purpose (Art. 21)
// (POST /privacy/consents:withdraw)
WithdrawConsent(w http.ResponseWriter, r *http.Request)
// ListDataSubjectRequests The data subject requests this workspace is handling
// (GET /privacy/requests)
ListDataSubjectRequests(w http.ResponseWriter, r *http.Request, params ListDataSubjectRequestsParams)
// CreateDataSubjectRequest Record a right somebody has exercised
// (POST /privacy/requests)
CreateDataSubjectRequest(w http.ResponseWriter, r *http.Request, params CreateDataSubjectRequestParams)
// UpdateDataSubjectRequest Move a case along
// (PATCH /privacy/requests/{requestId})
UpdateDataSubjectRequest(w http.ResponseWriter, r *http.Request, requestId openapi_types.UUID)
// PreviewErasure What legal holds would keep from an erasure
// (GET /privacy/requests/{requestId}/erasure-preview)
PreviewErasure(w http.ResponseWriter, r *http.Request, requestId openapi_types.UUID, params PreviewErasureParams)
// ExtendDataSubjectRequest Extend a case's deadline once
// (POST /privacy/requests/{requestId}:extend)
ExtendDataSubjectRequest(w http.ResponseWriter, r *http.Request, requestId openapi_types.UUID, params ExtendDataSubjectRequestParams)
// ListPrivateHubs The workspace's private hubs, without their names
// (GET /private-hubs)
ListPrivateHubs(w http.ResponseWriter, r *http.Request)
// ListPrivateHubAccesses Who opened this private hub through the emergency access, and why
// (GET /private-hubs/{hubId}/accesses)
ListPrivateHubAccesses(w http.ResponseWriter, r *http.Request, hubId HubId)
// OpenPrivateHub Open a private hub through the emergency access
// (POST /private-hubs/{hubId}/accesses)
OpenPrivateHub(w http.ResponseWriter, r *http.Request, hubId HubId, params OpenPrivateHubParams)
// ReadQuotas The workspace's quota standing
// (GET /quotas)
ReadQuotas(w http.ResponseWriter, r *http.Request)
// StartRestore Start a restore
// (POST /restores)
StartRestore(w http.ResponseWriter, r *http.Request)
// GetRestoreRun What one restore did, or is about to do
// (GET /restores/{restoreId})
GetRestoreRun(w http.ResponseWriter, r *http.Request, restoreId openapi_types.UUID)
// ListRetentionPolicies List the retention rules
// (GET /retention-policies)
ListRetentionPolicies(w http.ResponseWriter, r *http.Request, params ListRetentionPoliciesParams)
// CreateRetentionPolicy Create a retention rule
// (POST /retention-policies)
CreateRetentionPolicy(w http.ResponseWriter, r *http.Request)
// DeleteRetentionPolicy Withdraw a retention rule
// (DELETE /retention-policies/{policyId})
DeleteRetentionPolicy(w http.ResponseWriter, r *http.Request, policyId openapi_types.UUID)
// UpdateRetentionPolicy Correct a retention rule, or take it out of enforcement
// (PATCH /retention-policies/{policyId})
UpdateRetentionPolicy(w http.ResponseWriter, r *http.Request, policyId openapi_types.UUID, params UpdateRetentionPolicyParams)
// PreviewRetentionPolicy Determine the effect of a rule without executing it
// (POST /retention-policies/{policyId}:preview)
PreviewRetentionPolicy(w http.ResponseWriter, r *http.Request, policyId openapi_types.UUID)
// SearchItems Full-text search over the entries a caller may see
// (POST /search)
SearchItems(w http.ResponseWriter, r *http.Request)
// ReindexSearch Bring the workspace's search documents current
// (POST /search:reindex)
ReindexSearch(w http.ResponseWriter, r *http.Request)
// StreamChanges The change stream, as server-sent events
// (GET /stream)
StreamChanges(w http.ResponseWriter, r *http.Request, params StreamChangesParams)
// ListSuggestions What AI has proposed, and not done
// (GET /suggestions)
ListSuggestions(w http.ResponseWriter, r *http.Request, params ListSuggestionsParams)
// AcceptSuggestion Accept a suggestion
// (POST /suggestions/{suggestionId}:accept)
AcceptSuggestion(w http.ResponseWriter, r *http.Request, suggestionId SuggestionId)
// DismissSuggestion Dismiss a suggestion
// (POST /suggestions/{suggestionId}:dismiss)
DismissSuggestion(w http.ResponseWriter, r *http.Request, suggestionId SuggestionId)
// ListSyncDevices List your own devices
// (GET /sync/devices)
ListSyncDevices(w http.ResponseWriter, r *http.Request)
// ForgetSyncDevice Forget one of your devices
// (DELETE /sync/devices/{deviceId})
ForgetSyncDevice(w http.ResponseWriter, r *http.Request, deviceId DeviceId)
// SyncPull Fetch the changes since the cursor
// (POST /sync:pull)
SyncPull(w http.ResponseWriter, r *http.Request)
// SyncPush Transmit local mutations
// (POST /sync:push)
SyncPush(w http.ResponseWriter, r *http.Request)
// SyncSnapshot The initial synchronisation as one stream
// (POST /sync:snapshot)
SyncSnapshot(w http.ResponseWriter, r *http.Request)
// (GET /templates)
ListTemplates(w http.ResponseWriter, r *http.Request, params ListTemplatesParams)
// (POST /templates)
CreateTemplate(w http.ResponseWriter, r *http.Request, params CreateTemplateParams)
// (DELETE /templates/{templateId})
DeleteTemplate(w http.ResponseWriter, r *http.Request, templateId TemplateId, params DeleteTemplateParams)
// (GET /templates/{templateId})
GetTemplate(w http.ResponseWriter, r *http.Request, templateId TemplateId)
// (PATCH /templates/{templateId})
UpdateTemplate(w http.ResponseWriter, r *http.Request, templateId TemplateId, params UpdateTemplateParams)
// (POST /templates/{templateId}:instantiate)
InstantiateTemplate(w http.ResponseWriter, r *http.Request, templateId TemplateId, params InstantiateTemplateParams)
// AiGenerateTemplate Ask AI to draft a template from a description
// (POST /templates:generate)
AiGenerateTemplate(w http.ResponseWriter, r *http.Request, params AiGenerateTemplateParams)
// ReadWorkspace The workspace the caller is in, and how it is set up
// (GET /tenant)
ReadWorkspace(w http.ResponseWriter, r *http.Request)
// UpdateWorkspace Change how the workspace is set up
// (PATCH /tenant)
UpdateWorkspace(w http.ResponseWriter, r *http.Request, params UpdateWorkspaceParams)
// CountAccountsWithoutProvider How many people here no provider switched on here signs in
// (GET /tenant/accounts-without-provider)
CountAccountsWithoutProvider(w http.ResponseWriter, r *http.Request)
// CloseStarter Answers the first start's question for good
// (POST /tenant/starter:close)
CloseStarter(w http.ResponseWriter, r *http.Request)
// (PATCH /tenant/structure)
SetWorkspaceStructure(w http.ResponseWriter, r *http.Request, params SetWorkspaceStructureParams)
// ListTrash What is in the trash
// (GET /trash)
ListTrash(w http.ResponseWriter, r *http.Request, params ListTrashParams)
// EmptyTrash Remove everything in the trash for good
// (POST /trash:empty)
EmptyTrash(w http.ResponseWriter, r *http.Request, params EmptyTrashParams)
// (GET /views)
ListSavedViews(w http.ResponseWriter, r *http.Request, params ListSavedViewsParams)
// (POST /views)
CreateSavedView(w http.ResponseWriter, r *http.Request, params CreateSavedViewParams)
// (DELETE /views/{viewId})
DeleteSavedView(w http.ResponseWriter, r *http.Request, viewId ViewId, params DeleteSavedViewParams)
// (GET /views/{viewId})
GetSavedView(w http.ResponseWriter, r *http.Request, viewId ViewId)
// (PATCH /views/{viewId})
UpdateSavedView(w http.ResponseWriter, r *http.Request, viewId ViewId, params UpdateSavedViewParams)
// (POST /views/{viewId}:export)
ExportView(w http.ResponseWriter, r *http.Request, viewId ViewId, params ExportViewParams)
ShareSavedView(w http.ResponseWriter, r *http.Request, viewId ViewId, params ShareSavedViewParams)
// AnswerAlexa Answer Alexa
// (POST /voice/alexa)
AnswerAlexa(w http.ResponseWriter, r *http.Request)
// ShowAlexaModel The Alexa interaction model
// (GET /voice/alexa/model)
ShowAlexaModel(w http.ResponseWriter, r *http.Request, params ShowAlexaModelParams)
// ShowVoiceSettings The workspace's voice settings
// (GET /voice/settings)
ShowVoiceSettings(w http.ResponseWriter, r *http.Request)
// SaveVoiceSettings Replace the workspace's voice settings
// (PUT /voice/settings)
SaveVoiceSettings(w http.ResponseWriter, r *http.Request, params SaveVoiceSettingsParams)
// TryVoiceSentence What a spoken sentence would do
// (POST /voice:try)
TryVoiceSentence(w http.ResponseWriter, r *http.Request)
}
ServerInterface represents all server handlers.
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) AcceptSuggestion ¶
func (siw *ServerInterfaceWrapper) AcceptSuggestion(w http.ResponseWriter, r *http.Request)
AcceptSuggestion operation middleware
func (*ServerInterfaceWrapper) AcknowledgeAiPosition ¶
func (siw *ServerInterfaceWrapper) AcknowledgeAiPosition(w http.ResponseWriter, r *http.Request)
AcknowledgeAiPosition operation middleware
func (*ServerInterfaceWrapper) AddComment ¶
func (siw *ServerInterfaceWrapper) AddComment(w http.ResponseWriter, r *http.Request)
AddComment operation middleware
func (*ServerInterfaceWrapper) AddLabel ¶
func (siw *ServerInterfaceWrapper) AddLabel(w http.ResponseWriter, r *http.Request)
AddLabel operation middleware
func (*ServerInterfaceWrapper) AddMember ¶
func (siw *ServerInterfaceWrapper) AddMember(w http.ResponseWriter, r *http.Request)
AddMember operation middleware
func (*ServerInterfaceWrapper) AddOperator ¶
func (siw *ServerInterfaceWrapper) AddOperator(w http.ResponseWriter, r *http.Request)
AddOperator operation middleware
func (*ServerInterfaceWrapper) AgreeToTerms ¶
func (siw *ServerInterfaceWrapper) AgreeToTerms(w http.ResponseWriter, r *http.Request)
AgreeToTerms operation middleware
func (*ServerInterfaceWrapper) AiClassify ¶
func (siw *ServerInterfaceWrapper) AiClassify(w http.ResponseWriter, r *http.Request)
AiClassify operation middleware
func (*ServerInterfaceWrapper) AiGenerateTemplate ¶
func (siw *ServerInterfaceWrapper) AiGenerateTemplate(w http.ResponseWriter, r *http.Request)
AiGenerateTemplate operation middleware
func (*ServerInterfaceWrapper) AiSuggestFields ¶
func (siw *ServerInterfaceWrapper) AiSuggestFields(w http.ResponseWriter, r *http.Request)
AiSuggestFields operation middleware
func (*ServerInterfaceWrapper) AiSummarize ¶
func (siw *ServerInterfaceWrapper) AiSummarize(w http.ResponseWriter, r *http.Request)
AiSummarize operation middleware
func (*ServerInterfaceWrapper) AiSummarizeContainer ¶
func (siw *ServerInterfaceWrapper) AiSummarizeContainer(w http.ResponseWriter, r *http.Request)
AiSummarizeContainer operation middleware
func (*ServerInterfaceWrapper) AiSummarizeThread ¶
func (siw *ServerInterfaceWrapper) AiSummarizeThread(w http.ResponseWriter, r *http.Request)
AiSummarizeThread operation middleware
func (*ServerInterfaceWrapper) AiTranslate ¶
func (siw *ServerInterfaceWrapper) AiTranslate(w http.ResponseWriter, r *http.Request)
AiTranslate operation middleware
func (*ServerInterfaceWrapper) AnswerAlexa ¶
func (siw *ServerInterfaceWrapper) AnswerAlexa(w http.ResponseWriter, r *http.Request)
AnswerAlexa operation middleware
func (*ServerInterfaceWrapper) ArchiveContainer ¶
func (siw *ServerInterfaceWrapper) ArchiveContainer(w http.ResponseWriter, r *http.Request)
ArchiveContainer operation middleware
func (*ServerInterfaceWrapper) ArchiveWorkItem ¶
func (siw *ServerInterfaceWrapper) ArchiveWorkItem(w http.ResponseWriter, r *http.Request)
ArchiveWorkItem operation middleware
func (*ServerInterfaceWrapper) AskWorkspace ¶
func (siw *ServerInterfaceWrapper) AskWorkspace(w http.ResponseWriter, r *http.Request)
AskWorkspace operation middleware
func (*ServerInterfaceWrapper) AssignWorkItem ¶
func (siw *ServerInterfaceWrapper) AssignWorkItem(w http.ResponseWriter, r *http.Request)
AssignWorkItem operation middleware
func (*ServerInterfaceWrapper) AttachMedia ¶
func (siw *ServerInterfaceWrapper) AttachMedia(w http.ResponseWriter, r *http.Request)
AttachMedia operation middleware
func (*ServerInterfaceWrapper) AuthorizeMailbox ¶
func (siw *ServerInterfaceWrapper) AuthorizeMailbox(w http.ResponseWriter, r *http.Request)
AuthorizeMailbox operation middleware
func (*ServerInterfaceWrapper) AuthorizeOauthClient ¶
func (siw *ServerInterfaceWrapper) AuthorizeOauthClient(w http.ResponseWriter, r *http.Request)
AuthorizeOauthClient operation middleware
func (*ServerInterfaceWrapper) AutoAssignWorkItem ¶
func (siw *ServerInterfaceWrapper) AutoAssignWorkItem(w http.ResponseWriter, r *http.Request)
AutoAssignWorkItem operation middleware
func (*ServerInterfaceWrapper) BulkUpdateWorkItems ¶
func (siw *ServerInterfaceWrapper) BulkUpdateWorkItems(w http.ResponseWriter, r *http.Request)
BulkUpdateWorkItems operation middleware
func (*ServerInterfaceWrapper) CancelInstanceIdentityProviderWithdrawal ¶
func (siw *ServerInterfaceWrapper) CancelInstanceIdentityProviderWithdrawal(w http.ResponseWriter, r *http.Request)
CancelInstanceIdentityProviderWithdrawal operation middleware
func (*ServerInterfaceWrapper) CancelJob ¶
func (siw *ServerInterfaceWrapper) CancelJob(w http.ResponseWriter, r *http.Request)
CancelJob operation middleware
func (*ServerInterfaceWrapper) CancelTenantDeletion ¶
func (siw *ServerInterfaceWrapper) CancelTenantDeletion(w http.ResponseWriter, r *http.Request)
CancelTenantDeletion operation middleware
func (*ServerInterfaceWrapper) ChangeInstallationPreset ¶
func (siw *ServerInterfaceWrapper) ChangeInstallationPreset(w http.ResponseWriter, r *http.Request)
ChangeInstallationPreset operation middleware
func (*ServerInterfaceWrapper) ChangePassword ¶
func (siw *ServerInterfaceWrapper) ChangePassword(w http.ResponseWriter, r *http.Request)
ChangePassword operation middleware
func (*ServerInterfaceWrapper) ChangePlan ¶
func (siw *ServerInterfaceWrapper) ChangePlan(w http.ResponseWriter, r *http.Request)
ChangePlan operation middleware
func (*ServerInterfaceWrapper) ChangePreset ¶
func (siw *ServerInterfaceWrapper) ChangePreset(w http.ResponseWriter, r *http.Request)
ChangePreset operation middleware
func (*ServerInterfaceWrapper) CheckMailbox ¶
func (siw *ServerInterfaceWrapper) CheckMailbox(w http.ResponseWriter, r *http.Request)
CheckMailbox operation middleware
func (*ServerInterfaceWrapper) CheckPassword ¶
func (siw *ServerInterfaceWrapper) CheckPassword(w http.ResponseWriter, r *http.Request)
CheckPassword operation middleware
func (*ServerInterfaceWrapper) CheckRules ¶
func (siw *ServerInterfaceWrapper) CheckRules(w http.ResponseWriter, r *http.Request)
CheckRules operation middleware
func (*ServerInterfaceWrapper) ChooseAiSource ¶
func (siw *ServerInterfaceWrapper) ChooseAiSource(w http.ResponseWriter, r *http.Request)
ChooseAiSource operation middleware
func (*ServerInterfaceWrapper) ClearCover ¶
func (siw *ServerInterfaceWrapper) ClearCover(w http.ResponseWriter, r *http.Request)
ClearCover operation middleware
func (*ServerInterfaceWrapper) ClearDueDate ¶
func (siw *ServerInterfaceWrapper) ClearDueDate(w http.ResponseWriter, r *http.Request)
ClearDueDate operation middleware
func (*ServerInterfaceWrapper) CloseStarter ¶
func (siw *ServerInterfaceWrapper) CloseStarter(w http.ResponseWriter, r *http.Request)
CloseStarter operation middleware
func (*ServerInterfaceWrapper) CloseTenantPassword ¶
func (siw *ServerInterfaceWrapper) CloseTenantPassword(w http.ResponseWriter, r *http.Request)
CloseTenantPassword operation middleware
func (*ServerInterfaceWrapper) CommentJumbleEntry ¶
func (siw *ServerInterfaceWrapper) CommentJumbleEntry(w http.ResponseWriter, r *http.Request)
CommentJumbleEntry operation middleware
func (*ServerInterfaceWrapper) CompleteLink ¶
func (siw *ServerInterfaceWrapper) CompleteLink(w http.ResponseWriter, r *http.Request)
CompleteLink operation middleware
func (*ServerInterfaceWrapper) CompleteMailboxAuthorization ¶
func (siw *ServerInterfaceWrapper) CompleteMailboxAuthorization(w http.ResponseWriter, r *http.Request)
CompleteMailboxAuthorization operation middleware
func (*ServerInterfaceWrapper) CompleteOidcSignIn ¶
func (siw *ServerInterfaceWrapper) CompleteOidcSignIn(w http.ResponseWriter, r *http.Request)
CompleteOidcSignIn operation middleware
func (*ServerInterfaceWrapper) CompletePasskeyEnrollment ¶
func (siw *ServerInterfaceWrapper) CompletePasskeyEnrollment(w http.ResponseWriter, r *http.Request)
CompletePasskeyEnrollment operation middleware
func (*ServerInterfaceWrapper) CompletePasskeyRegistration ¶
func (siw *ServerInterfaceWrapper) CompletePasskeyRegistration(w http.ResponseWriter, r *http.Request)
CompletePasskeyRegistration operation middleware
func (*ServerInterfaceWrapper) CompletePasskeySignIn ¶
func (siw *ServerInterfaceWrapper) CompletePasskeySignIn(w http.ResponseWriter, r *http.Request)
CompletePasskeySignIn operation middleware
func (*ServerInterfaceWrapper) CompleteProviderConnect ¶
func (siw *ServerInterfaceWrapper) CompleteProviderConnect(w http.ResponseWriter, r *http.Request)
CompleteProviderConnect operation middleware
func (*ServerInterfaceWrapper) CompleteSignIn ¶
func (siw *ServerInterfaceWrapper) CompleteSignIn(w http.ResponseWriter, r *http.Request)
CompleteSignIn operation middleware
func (*ServerInterfaceWrapper) CompleteWorkItem ¶
func (siw *ServerInterfaceWrapper) CompleteWorkItem(w http.ResponseWriter, r *http.Request)
CompleteWorkItem operation middleware
func (*ServerInterfaceWrapper) ConfigureAiProvider ¶
func (siw *ServerInterfaceWrapper) ConfigureAiProvider(w http.ResponseWriter, r *http.Request)
ConfigureAiProvider operation middleware
func (*ServerInterfaceWrapper) ConfigureAuditAnchoring ¶
func (siw *ServerInterfaceWrapper) ConfigureAuditAnchoring(w http.ResponseWriter, r *http.Request)
ConfigureAuditAnchoring operation middleware
func (*ServerInterfaceWrapper) ConfigureFirstIdentityProvider ¶
func (siw *ServerInterfaceWrapper) ConfigureFirstIdentityProvider(w http.ResponseWriter, r *http.Request)
ConfigureFirstIdentityProvider operation middleware
func (*ServerInterfaceWrapper) ConfigureIdentityProvider ¶
func (siw *ServerInterfaceWrapper) ConfigureIdentityProvider(w http.ResponseWriter, r *http.Request)
ConfigureIdentityProvider operation middleware
func (*ServerInterfaceWrapper) ConfigureInstanceAiProvider ¶
func (siw *ServerInterfaceWrapper) ConfigureInstanceAiProvider(w http.ResponseWriter, r *http.Request)
ConfigureInstanceAiProvider operation middleware
func (*ServerInterfaceWrapper) ConfigureInstanceIdentityProvider ¶
func (siw *ServerInterfaceWrapper) ConfigureInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
ConfigureInstanceIdentityProvider operation middleware
func (*ServerInterfaceWrapper) ConfirmAddress ¶
func (siw *ServerInterfaceWrapper) ConfirmAddress(w http.ResponseWriter, r *http.Request)
ConfirmAddress operation middleware
func (*ServerInterfaceWrapper) ConfirmAuthenticatorReplacement ¶
func (siw *ServerInterfaceWrapper) ConfirmAuthenticatorReplacement(w http.ResponseWriter, r *http.Request)
ConfirmAuthenticatorReplacement operation middleware
func (*ServerInterfaceWrapper) ConfirmMediaUpload ¶
func (siw *ServerInterfaceWrapper) ConfirmMediaUpload(w http.ResponseWriter, r *http.Request)
ConfirmMediaUpload operation middleware
func (*ServerInterfaceWrapper) ConfirmTotp ¶
func (siw *ServerInterfaceWrapper) ConfirmTotp(w http.ResponseWriter, r *http.Request)
ConfirmTotp operation middleware
func (*ServerInterfaceWrapper) ConnectMailbox ¶
func (siw *ServerInterfaceWrapper) ConnectMailbox(w http.ResponseWriter, r *http.Request)
ConnectMailbox operation middleware
func (*ServerInterfaceWrapper) ConvertJumbleEntry ¶
func (siw *ServerInterfaceWrapper) ConvertJumbleEntry(w http.ResponseWriter, r *http.Request)
ConvertJumbleEntry operation middleware
func (*ServerInterfaceWrapper) CountAccountsWithoutProvider ¶
func (siw *ServerInterfaceWrapper) CountAccountsWithoutProvider(w http.ResponseWriter, r *http.Request)
CountAccountsWithoutProvider operation middleware
func (*ServerInterfaceWrapper) CreateAccessToken ¶
func (siw *ServerInterfaceWrapper) CreateAccessToken(w http.ResponseWriter, r *http.Request)
CreateAccessToken operation middleware
func (*ServerInterfaceWrapper) CreateBackupSchedule ¶
func (siw *ServerInterfaceWrapper) CreateBackupSchedule(w http.ResponseWriter, r *http.Request)
CreateBackupSchedule operation middleware
func (*ServerInterfaceWrapper) CreateBackupTarget ¶
func (siw *ServerInterfaceWrapper) CreateBackupTarget(w http.ResponseWriter, r *http.Request)
CreateBackupTarget operation middleware
func (*ServerInterfaceWrapper) CreateBucket ¶
func (siw *ServerInterfaceWrapper) CreateBucket(w http.ResponseWriter, r *http.Request)
CreateBucket operation middleware
func (*ServerInterfaceWrapper) CreateCalendarFeed ¶
func (siw *ServerInterfaceWrapper) CreateCalendarFeed(w http.ResponseWriter, r *http.Request)
CreateCalendarFeed operation middleware
func (*ServerInterfaceWrapper) CreateContainer ¶
func (siw *ServerInterfaceWrapper) CreateContainer(w http.ResponseWriter, r *http.Request)
CreateContainer operation middleware
func (*ServerInterfaceWrapper) CreateDataSubjectRequest ¶
func (siw *ServerInterfaceWrapper) CreateDataSubjectRequest(w http.ResponseWriter, r *http.Request)
CreateDataSubjectRequest operation middleware
func (*ServerInterfaceWrapper) CreateGroup ¶
func (siw *ServerInterfaceWrapper) CreateGroup(w http.ResponseWriter, r *http.Request)
CreateGroup operation middleware
func (*ServerInterfaceWrapper) CreateIdentityProvider ¶
func (siw *ServerInterfaceWrapper) CreateIdentityProvider(w http.ResponseWriter, r *http.Request)
CreateIdentityProvider operation middleware
func (*ServerInterfaceWrapper) CreateInstallationPreset ¶
func (siw *ServerInterfaceWrapper) CreateInstallationPreset(w http.ResponseWriter, r *http.Request)
CreateInstallationPreset operation middleware
func (*ServerInterfaceWrapper) CreateInstanceAiProvider ¶
func (siw *ServerInterfaceWrapper) CreateInstanceAiProvider(w http.ResponseWriter, r *http.Request)
CreateInstanceAiProvider operation middleware
func (*ServerInterfaceWrapper) CreateInstanceBackupTarget ¶
func (siw *ServerInterfaceWrapper) CreateInstanceBackupTarget(w http.ResponseWriter, r *http.Request)
CreateInstanceBackupTarget operation middleware
func (*ServerInterfaceWrapper) CreateInstanceIdentityProvider ¶
func (siw *ServerInterfaceWrapper) CreateInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
CreateInstanceIdentityProvider operation middleware
func (*ServerInterfaceWrapper) CreateLabel ¶
func (siw *ServerInterfaceWrapper) CreateLabel(w http.ResponseWriter, r *http.Request)
CreateLabel operation middleware
func (*ServerInterfaceWrapper) CreateManagedAccount ¶
func (siw *ServerInterfaceWrapper) CreateManagedAccount(w http.ResponseWriter, r *http.Request)
CreateManagedAccount operation middleware
func (*ServerInterfaceWrapper) CreatePlan ¶
func (siw *ServerInterfaceWrapper) CreatePlan(w http.ResponseWriter, r *http.Request)
CreatePlan operation middleware
func (*ServerInterfaceWrapper) CreatePlatformSubscription ¶
func (siw *ServerInterfaceWrapper) CreatePlatformSubscription(w http.ResponseWriter, r *http.Request)
CreatePlatformSubscription operation middleware
func (*ServerInterfaceWrapper) CreateReminder ¶
func (siw *ServerInterfaceWrapper) CreateReminder(w http.ResponseWriter, r *http.Request)
CreateReminder operation middleware
func (*ServerInterfaceWrapper) CreateRetentionPolicy ¶
func (siw *ServerInterfaceWrapper) CreateRetentionPolicy(w http.ResponseWriter, r *http.Request)
CreateRetentionPolicy operation middleware
func (*ServerInterfaceWrapper) CreateRule ¶
func (siw *ServerInterfaceWrapper) CreateRule(w http.ResponseWriter, r *http.Request)
CreateRule operation middleware
func (*ServerInterfaceWrapper) CreateSavedView ¶
func (siw *ServerInterfaceWrapper) CreateSavedView(w http.ResponseWriter, r *http.Request)
CreateSavedView operation middleware
func (*ServerInterfaceWrapper) CreateServiceAccount ¶
func (siw *ServerInterfaceWrapper) CreateServiceAccount(w http.ResponseWriter, r *http.Request)
CreateServiceAccount operation middleware
func (*ServerInterfaceWrapper) CreateTemplate ¶
func (siw *ServerInterfaceWrapper) CreateTemplate(w http.ResponseWriter, r *http.Request)
CreateTemplate operation middleware
func (*ServerInterfaceWrapper) CreateWebhookSubscription ¶
func (siw *ServerInterfaceWrapper) CreateWebhookSubscription(w http.ResponseWriter, r *http.Request)
CreateWebhookSubscription operation middleware
func (*ServerInterfaceWrapper) CreateWorkItem ¶
func (siw *ServerInterfaceWrapper) CreateWorkItem(w http.ResponseWriter, r *http.Request)
CreateWorkItem operation middleware
func (*ServerInterfaceWrapper) DefineCustomField ¶
func (siw *ServerInterfaceWrapper) DefineCustomField(w http.ResponseWriter, r *http.Request)
DefineCustomField operation middleware
func (*ServerInterfaceWrapper) DeleteBackupSchedule ¶
func (siw *ServerInterfaceWrapper) DeleteBackupSchedule(w http.ResponseWriter, r *http.Request)
DeleteBackupSchedule operation middleware
func (*ServerInterfaceWrapper) DeleteBackupTarget ¶
func (siw *ServerInterfaceWrapper) DeleteBackupTarget(w http.ResponseWriter, r *http.Request)
DeleteBackupTarget operation middleware
func (*ServerInterfaceWrapper) DeleteBucket ¶
func (siw *ServerInterfaceWrapper) DeleteBucket(w http.ResponseWriter, r *http.Request)
DeleteBucket operation middleware
func (*ServerInterfaceWrapper) DeleteComment ¶
func (siw *ServerInterfaceWrapper) DeleteComment(w http.ResponseWriter, r *http.Request)
DeleteComment operation middleware
func (*ServerInterfaceWrapper) DeleteCustomField ¶
func (siw *ServerInterfaceWrapper) DeleteCustomField(w http.ResponseWriter, r *http.Request)
DeleteCustomField operation middleware
func (*ServerInterfaceWrapper) DeleteGroup ¶
func (siw *ServerInterfaceWrapper) DeleteGroup(w http.ResponseWriter, r *http.Request)
DeleteGroup operation middleware
func (*ServerInterfaceWrapper) DeleteInstanceBackupTarget ¶
func (siw *ServerInterfaceWrapper) DeleteInstanceBackupTarget(w http.ResponseWriter, r *http.Request)
DeleteInstanceBackupTarget operation middleware
func (*ServerInterfaceWrapper) DeleteLabel ¶
func (siw *ServerInterfaceWrapper) DeleteLabel(w http.ResponseWriter, r *http.Request)
DeleteLabel operation middleware
func (*ServerInterfaceWrapper) DeleteMedia ¶
func (siw *ServerInterfaceWrapper) DeleteMedia(w http.ResponseWriter, r *http.Request)
DeleteMedia operation middleware
func (*ServerInterfaceWrapper) DeleteOauthClient ¶
func (siw *ServerInterfaceWrapper) DeleteOauthClient(w http.ResponseWriter, r *http.Request)
DeleteOauthClient operation middleware
func (*ServerInterfaceWrapper) DeletePlatformSubscription ¶
func (siw *ServerInterfaceWrapper) DeletePlatformSubscription(w http.ResponseWriter, r *http.Request)
DeletePlatformSubscription operation middleware
func (*ServerInterfaceWrapper) DeleteReminder ¶
func (siw *ServerInterfaceWrapper) DeleteReminder(w http.ResponseWriter, r *http.Request)
DeleteReminder operation middleware
func (*ServerInterfaceWrapper) DeleteRetentionPolicy ¶
func (siw *ServerInterfaceWrapper) DeleteRetentionPolicy(w http.ResponseWriter, r *http.Request)
DeleteRetentionPolicy operation middleware
func (*ServerInterfaceWrapper) DeleteRule ¶
func (siw *ServerInterfaceWrapper) DeleteRule(w http.ResponseWriter, r *http.Request)
DeleteRule operation middleware
func (*ServerInterfaceWrapper) DeleteSavedView ¶
func (siw *ServerInterfaceWrapper) DeleteSavedView(w http.ResponseWriter, r *http.Request)
DeleteSavedView operation middleware
func (*ServerInterfaceWrapper) DeleteTemplate ¶
func (siw *ServerInterfaceWrapper) DeleteTemplate(w http.ResponseWriter, r *http.Request)
DeleteTemplate operation middleware
func (*ServerInterfaceWrapper) DeleteWebhookSubscription ¶
func (siw *ServerInterfaceWrapper) DeleteWebhookSubscription(w http.ResponseWriter, r *http.Request)
DeleteWebhookSubscription operation middleware
func (*ServerInterfaceWrapper) DeliverAddressedMail ¶
func (siw *ServerInterfaceWrapper) DeliverAddressedMail(w http.ResponseWriter, r *http.Request)
DeliverAddressedMail operation middleware
func (*ServerInterfaceWrapper) DeliverMail ¶
func (siw *ServerInterfaceWrapper) DeliverMail(w http.ResponseWriter, r *http.Request)
DeliverMail operation middleware
func (*ServerInterfaceWrapper) DescribeRule ¶
func (siw *ServerInterfaceWrapper) DescribeRule(w http.ResponseWriter, r *http.Request)
DescribeRule operation middleware
func (*ServerInterfaceWrapper) DetachMedia ¶
func (siw *ServerInterfaceWrapper) DetachMedia(w http.ResponseWriter, r *http.Request)
DetachMedia operation middleware
func (*ServerInterfaceWrapper) DisableRule ¶
func (siw *ServerInterfaceWrapper) DisableRule(w http.ResponseWriter, r *http.Request)
DisableRule operation middleware
func (*ServerInterfaceWrapper) DisableTotp ¶
func (siw *ServerInterfaceWrapper) DisableTotp(w http.ResponseWriter, r *http.Request)
DisableTotp operation middleware
func (*ServerInterfaceWrapper) DismissJumbleEntry ¶
func (siw *ServerInterfaceWrapper) DismissJumbleEntry(w http.ResponseWriter, r *http.Request)
DismissJumbleEntry operation middleware
func (*ServerInterfaceWrapper) DismissSuggestion ¶
func (siw *ServerInterfaceWrapper) DismissSuggestion(w http.ResponseWriter, r *http.Request)
DismissSuggestion operation middleware
func (*ServerInterfaceWrapper) DownloadMediaContent ¶
func (siw *ServerInterfaceWrapper) DownloadMediaContent(w http.ResponseWriter, r *http.Request)
DownloadMediaContent operation middleware
func (*ServerInterfaceWrapper) DuplicateWorkItem ¶
func (siw *ServerInterfaceWrapper) DuplicateWorkItem(w http.ResponseWriter, r *http.Request)
DuplicateWorkItem operation middleware
func (*ServerInterfaceWrapper) EditComment ¶
func (siw *ServerInterfaceWrapper) EditComment(w http.ResponseWriter, r *http.Request)
EditComment operation middleware
func (*ServerInterfaceWrapper) ElevateSession ¶
func (siw *ServerInterfaceWrapper) ElevateSession(w http.ResponseWriter, r *http.Request)
ElevateSession operation middleware
func (*ServerInterfaceWrapper) EmptyTrash ¶
func (siw *ServerInterfaceWrapper) EmptyTrash(w http.ResponseWriter, r *http.Request)
EmptyTrash operation middleware
func (*ServerInterfaceWrapper) EnableRule ¶
func (siw *ServerInterfaceWrapper) EnableRule(w http.ResponseWriter, r *http.Request)
EnableRule operation middleware
func (*ServerInterfaceWrapper) EnrollTotp ¶
func (siw *ServerInterfaceWrapper) EnrollTotp(w http.ResponseWriter, r *http.Request)
EnrollTotp operation middleware
func (*ServerInterfaceWrapper) ExchangeOauthCode ¶
func (siw *ServerInterfaceWrapper) ExchangeOauthCode(w http.ResponseWriter, r *http.Request)
ExchangeOauthCode operation middleware
func (*ServerInterfaceWrapper) ExportAuditTrail ¶
func (siw *ServerInterfaceWrapper) ExportAuditTrail(w http.ResponseWriter, r *http.Request)
ExportAuditTrail operation middleware
func (*ServerInterfaceWrapper) ExportItems ¶
func (siw *ServerInterfaceWrapper) ExportItems(w http.ResponseWriter, r *http.Request)
ExportItems operation middleware
func (*ServerInterfaceWrapper) ExportTenant ¶
func (siw *ServerInterfaceWrapper) ExportTenant(w http.ResponseWriter, r *http.Request)
ExportTenant operation middleware
func (*ServerInterfaceWrapper) ExportView ¶
func (siw *ServerInterfaceWrapper) ExportView(w http.ResponseWriter, r *http.Request)
ExportView operation middleware
func (*ServerInterfaceWrapper) ExtendDataSubjectRequest ¶
func (siw *ServerInterfaceWrapper) ExtendDataSubjectRequest(w http.ResponseWriter, r *http.Request)
ExtendDataSubjectRequest operation middleware
func (*ServerInterfaceWrapper) FindDuplicatesByTitle ¶
func (siw *ServerInterfaceWrapper) FindDuplicatesByTitle(w http.ResponseWriter, r *http.Request)
FindDuplicatesByTitle operation middleware
func (*ServerInterfaceWrapper) ForgetPassword ¶
func (siw *ServerInterfaceWrapper) ForgetPassword(w http.ResponseWriter, r *http.Request)
ForgetPassword operation middleware
func (*ServerInterfaceWrapper) ForgetSyncDevice ¶
func (siw *ServerInterfaceWrapper) ForgetSyncDevice(w http.ResponseWriter, r *http.Request)
ForgetSyncDevice operation middleware
func (*ServerInterfaceWrapper) GetAccount ¶
func (siw *ServerInterfaceWrapper) GetAccount(w http.ResponseWriter, r *http.Request)
GetAccount operation middleware
func (*ServerInterfaceWrapper) GetBackupRun ¶
func (siw *ServerInterfaceWrapper) GetBackupRun(w http.ResponseWriter, r *http.Request)
GetBackupRun operation middleware
func (*ServerInterfaceWrapper) GetCalendarFeedDocument ¶
func (siw *ServerInterfaceWrapper) GetCalendarFeedDocument(w http.ResponseWriter, r *http.Request)
GetCalendarFeedDocument operation middleware
func (*ServerInterfaceWrapper) GetCapabilities ¶
func (siw *ServerInterfaceWrapper) GetCapabilities(w http.ResponseWriter, r *http.Request)
GetCapabilities operation middleware
func (*ServerInterfaceWrapper) GetContainer ¶
func (siw *ServerInterfaceWrapper) GetContainer(w http.ResponseWriter, r *http.Request)
GetContainer operation middleware
func (*ServerInterfaceWrapper) GetGroup ¶
func (siw *ServerInterfaceWrapper) GetGroup(w http.ResponseWriter, r *http.Request)
GetGroup operation middleware
func (*ServerInterfaceWrapper) GetHealthReport ¶
func (siw *ServerInterfaceWrapper) GetHealthReport(w http.ResponseWriter, r *http.Request)
GetHealthReport operation middleware
func (*ServerInterfaceWrapper) GetImport ¶
func (siw *ServerInterfaceWrapper) GetImport(w http.ResponseWriter, r *http.Request)
GetImport operation middleware
func (*ServerInterfaceWrapper) GetJob ¶
func (siw *ServerInterfaceWrapper) GetJob(w http.ResponseWriter, r *http.Request)
GetJob operation middleware
func (*ServerInterfaceWrapper) GetJumbleEntry ¶
func (siw *ServerInterfaceWrapper) GetJumbleEntry(w http.ResponseWriter, r *http.Request)
GetJumbleEntry operation middleware
func (*ServerInterfaceWrapper) GetMedia ¶
func (siw *ServerInterfaceWrapper) GetMedia(w http.ResponseWriter, r *http.Request)
GetMedia operation middleware
func (*ServerInterfaceWrapper) GetOwnAccount ¶
func (siw *ServerInterfaceWrapper) GetOwnAccount(w http.ResponseWriter, r *http.Request)
GetOwnAccount operation middleware
func (*ServerInterfaceWrapper) GetRecurrence ¶
func (siw *ServerInterfaceWrapper) GetRecurrence(w http.ResponseWriter, r *http.Request)
GetRecurrence operation middleware
func (*ServerInterfaceWrapper) GetRestoreRun ¶
func (siw *ServerInterfaceWrapper) GetRestoreRun(w http.ResponseWriter, r *http.Request)
GetRestoreRun operation middleware
func (*ServerInterfaceWrapper) GetRule ¶
func (siw *ServerInterfaceWrapper) GetRule(w http.ResponseWriter, r *http.Request)
GetRule operation middleware
func (*ServerInterfaceWrapper) GetRuleRun ¶
func (siw *ServerInterfaceWrapper) GetRuleRun(w http.ResponseWriter, r *http.Request)
GetRuleRun operation middleware
func (*ServerInterfaceWrapper) GetSavedView ¶
func (siw *ServerInterfaceWrapper) GetSavedView(w http.ResponseWriter, r *http.Request)
GetSavedView operation middleware
func (*ServerInterfaceWrapper) GetSignInRules ¶
func (siw *ServerInterfaceWrapper) GetSignInRules(w http.ResponseWriter, r *http.Request)
GetSignInRules operation middleware
func (*ServerInterfaceWrapper) GetTemplate ¶
func (siw *ServerInterfaceWrapper) GetTemplate(w http.ResponseWriter, r *http.Request)
GetTemplate operation middleware
func (*ServerInterfaceWrapper) GetWebhookSubscription ¶
func (siw *ServerInterfaceWrapper) GetWebhookSubscription(w http.ResponseWriter, r *http.Request)
GetWebhookSubscription operation middleware
func (*ServerInterfaceWrapper) GetWorkItem ¶
func (siw *ServerInterfaceWrapper) GetWorkItem(w http.ResponseWriter, r *http.Request)
GetWorkItem operation middleware
func (*ServerInterfaceWrapper) GiveConsent ¶
func (siw *ServerInterfaceWrapper) GiveConsent(w http.ResponseWriter, r *http.Request)
GiveConsent operation middleware
func (*ServerInterfaceWrapper) GiveKudos ¶
func (siw *ServerInterfaceWrapper) GiveKudos(w http.ResponseWriter, r *http.Request)
GiveKudos operation middleware
func (*ServerInterfaceWrapper) GrantMembership ¶
func (siw *ServerInterfaceWrapper) GrantMembership(w http.ResponseWriter, r *http.Request)
GrantMembership operation middleware
func (*ServerInterfaceWrapper) HttpRequest ¶
func (siw *ServerInterfaceWrapper) HttpRequest(w http.ResponseWriter, r *http.Request)
HttpRequest operation middleware
func (*ServerInterfaceWrapper) ImportEntries ¶
func (siw *ServerInterfaceWrapper) ImportEntries(w http.ResponseWriter, r *http.Request)
ImportEntries operation middleware
func (*ServerInterfaceWrapper) InspectInvitation ¶
func (siw *ServerInterfaceWrapper) InspectInvitation(w http.ResponseWriter, r *http.Request)
InspectInvitation operation middleware
func (*ServerInterfaceWrapper) InstantiateTemplate ¶
func (siw *ServerInterfaceWrapper) InstantiateTemplate(w http.ResponseWriter, r *http.Request)
InstantiateTemplate operation middleware
func (*ServerInterfaceWrapper) InviteAccount ¶
func (siw *ServerInterfaceWrapper) InviteAccount(w http.ResponseWriter, r *http.Request)
InviteAccount operation middleware
func (*ServerInterfaceWrapper) IssueStartPassword ¶
func (siw *ServerInterfaceWrapper) IssueStartPassword(w http.ResponseWriter, r *http.Request)
IssueStartPassword operation middleware
func (*ServerInterfaceWrapper) ListAccessTokens ¶
func (siw *ServerInterfaceWrapper) ListAccessTokens(w http.ResponseWriter, r *http.Request)
ListAccessTokens operation middleware
func (*ServerInterfaceWrapper) ListActivity ¶
func (siw *ServerInterfaceWrapper) ListActivity(w http.ResponseWriter, r *http.Request)
ListActivity operation middleware
func (*ServerInterfaceWrapper) ListAttachments ¶
func (siw *ServerInterfaceWrapper) ListAttachments(w http.ResponseWriter, r *http.Request)
ListAttachments operation middleware
func (*ServerInterfaceWrapper) ListAuditEntries ¶
func (siw *ServerInterfaceWrapper) ListAuditEntries(w http.ResponseWriter, r *http.Request)
ListAuditEntries operation middleware
func (*ServerInterfaceWrapper) ListBackupSchedules ¶
func (siw *ServerInterfaceWrapper) ListBackupSchedules(w http.ResponseWriter, r *http.Request)
ListBackupSchedules operation middleware
func (*ServerInterfaceWrapper) ListBackupTargets ¶
func (siw *ServerInterfaceWrapper) ListBackupTargets(w http.ResponseWriter, r *http.Request)
ListBackupTargets operation middleware
func (*ServerInterfaceWrapper) ListBackupsAtTarget ¶
func (siw *ServerInterfaceWrapper) ListBackupsAtTarget(w http.ResponseWriter, r *http.Request)
ListBackupsAtTarget operation middleware
func (*ServerInterfaceWrapper) ListBuckets ¶
func (siw *ServerInterfaceWrapper) ListBuckets(w http.ResponseWriter, r *http.Request)
ListBuckets operation middleware
func (*ServerInterfaceWrapper) ListCalendarFeeds ¶
func (siw *ServerInterfaceWrapper) ListCalendarFeeds(w http.ResponseWriter, r *http.Request)
ListCalendarFeeds operation middleware
func (*ServerInterfaceWrapper) ListComments ¶
func (siw *ServerInterfaceWrapper) ListComments(w http.ResponseWriter, r *http.Request)
ListComments operation middleware
func (*ServerInterfaceWrapper) ListConsents ¶
func (siw *ServerInterfaceWrapper) ListConsents(w http.ResponseWriter, r *http.Request)
ListConsents operation middleware
func (*ServerInterfaceWrapper) ListContainers ¶
func (siw *ServerInterfaceWrapper) ListContainers(w http.ResponseWriter, r *http.Request)
ListContainers operation middleware
func (*ServerInterfaceWrapper) ListCustomFields ¶
func (siw *ServerInterfaceWrapper) ListCustomFields(w http.ResponseWriter, r *http.Request)
ListCustomFields operation middleware
func (*ServerInterfaceWrapper) ListDataSubjectRequests ¶
func (siw *ServerInterfaceWrapper) ListDataSubjectRequests(w http.ResponseWriter, r *http.Request)
ListDataSubjectRequests operation middleware
func (*ServerInterfaceWrapper) ListEmergencyNotices ¶
func (siw *ServerInterfaceWrapper) ListEmergencyNotices(w http.ResponseWriter, r *http.Request)
ListEmergencyNotices operation middleware
func (*ServerInterfaceWrapper) ListGroups ¶
func (siw *ServerInterfaceWrapper) ListGroups(w http.ResponseWriter, r *http.Request)
ListGroups operation middleware
func (*ServerInterfaceWrapper) ListIdentityProviderPresets ¶
func (siw *ServerInterfaceWrapper) ListIdentityProviderPresets(w http.ResponseWriter, r *http.Request)
ListIdentityProviderPresets operation middleware
func (*ServerInterfaceWrapper) ListIdentityProviders ¶
func (siw *ServerInterfaceWrapper) ListIdentityProviders(w http.ResponseWriter, r *http.Request)
ListIdentityProviders operation middleware
func (*ServerInterfaceWrapper) ListInstallationPresets ¶
func (siw *ServerInterfaceWrapper) ListInstallationPresets(w http.ResponseWriter, r *http.Request)
ListInstallationPresets operation middleware
func (*ServerInterfaceWrapper) ListInstanceAiProviders ¶
func (siw *ServerInterfaceWrapper) ListInstanceAiProviders(w http.ResponseWriter, r *http.Request)
ListInstanceAiProviders operation middleware
func (*ServerInterfaceWrapper) ListInstanceBackupTargets ¶
func (siw *ServerInterfaceWrapper) ListInstanceBackupTargets(w http.ResponseWriter, r *http.Request)
ListInstanceBackupTargets operation middleware
func (*ServerInterfaceWrapper) ListInstanceIdentityProviders ¶
func (siw *ServerInterfaceWrapper) ListInstanceIdentityProviders(w http.ResponseWriter, r *http.Request)
ListInstanceIdentityProviders operation middleware
func (*ServerInterfaceWrapper) ListInstanceJournal ¶
func (siw *ServerInterfaceWrapper) ListInstanceJournal(w http.ResponseWriter, r *http.Request)
ListInstanceJournal operation middleware
func (*ServerInterfaceWrapper) ListJumbleDestinations ¶
func (siw *ServerInterfaceWrapper) ListJumbleDestinations(w http.ResponseWriter, r *http.Request)
ListJumbleDestinations operation middleware
func (*ServerInterfaceWrapper) ListJumbleEntries ¶
func (siw *ServerInterfaceWrapper) ListJumbleEntries(w http.ResponseWriter, r *http.Request)
ListJumbleEntries operation middleware
func (*ServerInterfaceWrapper) ListLabels ¶
func (siw *ServerInterfaceWrapper) ListLabels(w http.ResponseWriter, r *http.Request)
ListLabels operation middleware
func (*ServerInterfaceWrapper) ListLegalHolds ¶
func (siw *ServerInterfaceWrapper) ListLegalHolds(w http.ResponseWriter, r *http.Request)
ListLegalHolds operation middleware
func (*ServerInterfaceWrapper) ListMailReceipts ¶
func (siw *ServerInterfaceWrapper) ListMailReceipts(w http.ResponseWriter, r *http.Request)
ListMailReceipts operation middleware
func (*ServerInterfaceWrapper) ListMailboxes ¶
func (siw *ServerInterfaceWrapper) ListMailboxes(w http.ResponseWriter, r *http.Request)
ListMailboxes operation middleware
func (*ServerInterfaceWrapper) ListMemberships ¶
func (siw *ServerInterfaceWrapper) ListMemberships(w http.ResponseWriter, r *http.Request)
ListMemberships operation middleware
func (*ServerInterfaceWrapper) ListNotificationPreferences ¶
func (siw *ServerInterfaceWrapper) ListNotificationPreferences(w http.ResponseWriter, r *http.Request)
ListNotificationPreferences operation middleware
func (*ServerInterfaceWrapper) ListOauthClients ¶
func (siw *ServerInterfaceWrapper) ListOauthClients(w http.ResponseWriter, r *http.Request)
ListOauthClients operation middleware
func (*ServerInterfaceWrapper) ListOauthGrants ¶
func (siw *ServerInterfaceWrapper) ListOauthGrants(w http.ResponseWriter, r *http.Request)
ListOauthGrants operation middleware
func (*ServerInterfaceWrapper) ListOperators ¶
func (siw *ServerInterfaceWrapper) ListOperators(w http.ResponseWriter, r *http.Request)
ListOperators operation middleware
func (*ServerInterfaceWrapper) ListOwnIdentities ¶
func (siw *ServerInterfaceWrapper) ListOwnIdentities(w http.ResponseWriter, r *http.Request)
ListOwnIdentities operation middleware
func (*ServerInterfaceWrapper) ListOwnPasskeys ¶
func (siw *ServerInterfaceWrapper) ListOwnPasskeys(w http.ResponseWriter, r *http.Request)
ListOwnPasskeys operation middleware
func (*ServerInterfaceWrapper) ListPlans ¶
func (siw *ServerInterfaceWrapper) ListPlans(w http.ResponseWriter, r *http.Request)
ListPlans operation middleware
func (*ServerInterfaceWrapper) ListPlatformDeliveries ¶
func (siw *ServerInterfaceWrapper) ListPlatformDeliveries(w http.ResponseWriter, r *http.Request)
ListPlatformDeliveries operation middleware
func (*ServerInterfaceWrapper) ListPlatformEvents ¶
func (siw *ServerInterfaceWrapper) ListPlatformEvents(w http.ResponseWriter, r *http.Request)
ListPlatformEvents operation middleware
func (*ServerInterfaceWrapper) ListPlatformSubscriptions ¶
func (siw *ServerInterfaceWrapper) ListPlatformSubscriptions(w http.ResponseWriter, r *http.Request)
ListPlatformSubscriptions operation middleware
func (*ServerInterfaceWrapper) ListPresets ¶
func (siw *ServerInterfaceWrapper) ListPresets(w http.ResponseWriter, r *http.Request)
ListPresets operation middleware
func (*ServerInterfaceWrapper) ListPrivateHubAccesses ¶
func (siw *ServerInterfaceWrapper) ListPrivateHubAccesses(w http.ResponseWriter, r *http.Request)
ListPrivateHubAccesses operation middleware
func (*ServerInterfaceWrapper) ListPrivateHubs ¶
func (siw *ServerInterfaceWrapper) ListPrivateHubs(w http.ResponseWriter, r *http.Request)
ListPrivateHubs operation middleware
func (*ServerInterfaceWrapper) ListReminders ¶
func (siw *ServerInterfaceWrapper) ListReminders(w http.ResponseWriter, r *http.Request)
ListReminders operation middleware
func (*ServerInterfaceWrapper) ListRetentionPolicies ¶
func (siw *ServerInterfaceWrapper) ListRetentionPolicies(w http.ResponseWriter, r *http.Request)
ListRetentionPolicies operation middleware
func (*ServerInterfaceWrapper) ListRuleRuns ¶
func (siw *ServerInterfaceWrapper) ListRuleRuns(w http.ResponseWriter, r *http.Request)
ListRuleRuns operation middleware
func (*ServerInterfaceWrapper) ListRules ¶
func (siw *ServerInterfaceWrapper) ListRules(w http.ResponseWriter, r *http.Request)
ListRules operation middleware
func (*ServerInterfaceWrapper) ListSavedViews ¶
func (siw *ServerInterfaceWrapper) ListSavedViews(w http.ResponseWriter, r *http.Request)
ListSavedViews operation middleware
func (*ServerInterfaceWrapper) ListServiceAccounts ¶
func (siw *ServerInterfaceWrapper) ListServiceAccounts(w http.ResponseWriter, r *http.Request)
ListServiceAccounts operation middleware
func (*ServerInterfaceWrapper) ListSessions ¶
func (siw *ServerInterfaceWrapper) ListSessions(w http.ResponseWriter, r *http.Request)
ListSessions operation middleware
func (*ServerInterfaceWrapper) ListSuggestions ¶
func (siw *ServerInterfaceWrapper) ListSuggestions(w http.ResponseWriter, r *http.Request)
ListSuggestions operation middleware
func (*ServerInterfaceWrapper) ListSyncDevices ¶
func (siw *ServerInterfaceWrapper) ListSyncDevices(w http.ResponseWriter, r *http.Request)
ListSyncDevices operation middleware
func (*ServerInterfaceWrapper) ListTemplates ¶
func (siw *ServerInterfaceWrapper) ListTemplates(w http.ResponseWriter, r *http.Request)
ListTemplates operation middleware
func (*ServerInterfaceWrapper) ListTenants ¶
func (siw *ServerInterfaceWrapper) ListTenants(w http.ResponseWriter, r *http.Request)
ListTenants operation middleware
func (*ServerInterfaceWrapper) ListTrash ¶
func (siw *ServerInterfaceWrapper) ListTrash(w http.ResponseWriter, r *http.Request)
ListTrash operation middleware
func (*ServerInterfaceWrapper) ListWebhookDeliveries ¶
func (siw *ServerInterfaceWrapper) ListWebhookDeliveries(w http.ResponseWriter, r *http.Request)
ListWebhookDeliveries operation middleware
func (*ServerInterfaceWrapper) ListWebhookSubscriptions ¶
func (siw *ServerInterfaceWrapper) ListWebhookSubscriptions(w http.ResponseWriter, r *http.Request)
ListWebhookSubscriptions operation middleware
func (*ServerInterfaceWrapper) ListWorkItems ¶
func (siw *ServerInterfaceWrapper) ListWorkItems(w http.ResponseWriter, r *http.Request)
ListWorkItems operation middleware
func (*ServerInterfaceWrapper) LocateOidcFlow ¶
func (siw *ServerInterfaceWrapper) LocateOidcFlow(w http.ResponseWriter, r *http.Request)
LocateOidcFlow operation middleware
func (*ServerInterfaceWrapper) MakeEntries ¶
func (siw *ServerInterfaceWrapper) MakeEntries(w http.ResponseWriter, r *http.Request)
MakeEntries operation middleware
func (*ServerInterfaceWrapper) MoveContainer ¶
func (siw *ServerInterfaceWrapper) MoveContainer(w http.ResponseWriter, r *http.Request)
MoveContainer operation middleware
func (*ServerInterfaceWrapper) MoveTenantPlan ¶
func (siw *ServerInterfaceWrapper) MoveTenantPlan(w http.ResponseWriter, r *http.Request)
MoveTenantPlan operation middleware
func (*ServerInterfaceWrapper) MoveWorkItem ¶
func (siw *ServerInterfaceWrapper) MoveWorkItem(w http.ResponseWriter, r *http.Request)
MoveWorkItem operation middleware
func (*ServerInterfaceWrapper) OfferIdentityProvider ¶
func (siw *ServerInterfaceWrapper) OfferIdentityProvider(w http.ResponseWriter, r *http.Request)
OfferIdentityProvider operation middleware
func (*ServerInterfaceWrapper) OpenPrivateHub ¶
func (siw *ServerInterfaceWrapper) OpenPrivateHub(w http.ResponseWriter, r *http.Request)
OpenPrivateHub operation middleware
func (*ServerInterfaceWrapper) OpenTenantPassword ¶
func (siw *ServerInterfaceWrapper) OpenTenantPassword(w http.ResponseWriter, r *http.Request)
OpenTenantPassword operation middleware
func (*ServerInterfaceWrapper) PlaceLegalHold ¶
func (siw *ServerInterfaceWrapper) PlaceLegalHold(w http.ResponseWriter, r *http.Request)
PlaceLegalHold operation middleware
func (*ServerInterfaceWrapper) PollTriggerEvents ¶
func (siw *ServerInterfaceWrapper) PollTriggerEvents(w http.ResponseWriter, r *http.Request)
PollTriggerEvents operation middleware
func (*ServerInterfaceWrapper) PreviewContainerStructure ¶
func (siw *ServerInterfaceWrapper) PreviewContainerStructure(w http.ResponseWriter, r *http.Request)
PreviewContainerStructure operation middleware
func (*ServerInterfaceWrapper) PreviewErasure ¶
func (siw *ServerInterfaceWrapper) PreviewErasure(w http.ResponseWriter, r *http.Request)
PreviewErasure operation middleware
func (*ServerInterfaceWrapper) PreviewRetentionPolicy ¶
func (siw *ServerInterfaceWrapper) PreviewRetentionPolicy(w http.ResponseWriter, r *http.Request)
PreviewRetentionPolicy operation middleware
func (*ServerInterfaceWrapper) ProvisionTenant ¶
func (siw *ServerInterfaceWrapper) ProvisionTenant(w http.ResponseWriter, r *http.Request)
ProvisionTenant operation middleware
func (*ServerInterfaceWrapper) PurgeWorkItem ¶
func (siw *ServerInterfaceWrapper) PurgeWorkItem(w http.ResponseWriter, r *http.Request)
PurgeWorkItem operation middleware
func (*ServerInterfaceWrapper) QueryItems ¶
func (siw *ServerInterfaceWrapper) QueryItems(w http.ResponseWriter, r *http.Request)
QueryItems operation middleware
func (*ServerInterfaceWrapper) QueryTenants ¶
func (siw *ServerInterfaceWrapper) QueryTenants(w http.ResponseWriter, r *http.Request)
QueryTenants operation middleware
func (*ServerInterfaceWrapper) ReadAiBudgetState ¶
func (siw *ServerInterfaceWrapper) ReadAiBudgetState(w http.ResponseWriter, r *http.Request)
ReadAiBudgetState operation middleware
func (*ServerInterfaceWrapper) ReadAiProvider ¶
func (siw *ServerInterfaceWrapper) ReadAiProvider(w http.ResponseWriter, r *http.Request)
ReadAiProvider operation middleware
func (*ServerInterfaceWrapper) ReadAiSource ¶
func (siw *ServerInterfaceWrapper) ReadAiSource(w http.ResponseWriter, r *http.Request)
ReadAiSource operation middleware
func (*ServerInterfaceWrapper) ReadEncryptionStatus ¶
func (siw *ServerInterfaceWrapper) ReadEncryptionStatus(w http.ResponseWriter, r *http.Request)
ReadEncryptionStatus operation middleware
func (*ServerInterfaceWrapper) ReadIdentityProvider ¶
func (siw *ServerInterfaceWrapper) ReadIdentityProvider(w http.ResponseWriter, r *http.Request)
ReadIdentityProvider operation middleware
func (*ServerInterfaceWrapper) ReadInstanceOverview ¶
func (siw *ServerInterfaceWrapper) ReadInstanceOverview(w http.ResponseWriter, r *http.Request)
ReadInstanceOverview operation middleware
func (*ServerInterfaceWrapper) ReadInstanceSettings ¶
func (siw *ServerInterfaceWrapper) ReadInstanceSettings(w http.ResponseWriter, r *http.Request)
ReadInstanceSettings operation middleware
func (*ServerInterfaceWrapper) ReadKudos ¶
func (siw *ServerInterfaceWrapper) ReadKudos(w http.ResponseWriter, r *http.Request)
ReadKudos operation middleware
func (*ServerInterfaceWrapper) ReadOauthClient ¶
func (siw *ServerInterfaceWrapper) ReadOauthClient(w http.ResponseWriter, r *http.Request)
ReadOauthClient operation middleware
func (*ServerInterfaceWrapper) ReadOwnAiPosition ¶
func (siw *ServerInterfaceWrapper) ReadOwnAiPosition(w http.ResponseWriter, r *http.Request)
ReadOwnAiPosition operation middleware
func (*ServerInterfaceWrapper) ReadPlan ¶
func (siw *ServerInterfaceWrapper) ReadPlan(w http.ResponseWriter, r *http.Request)
ReadPlan operation middleware
func (*ServerInterfaceWrapper) ReadPlatformSubscription ¶
func (siw *ServerInterfaceWrapper) ReadPlatformSubscription(w http.ResponseWriter, r *http.Request)
ReadPlatformSubscription operation middleware
func (*ServerInterfaceWrapper) ReadQuotas ¶
func (siw *ServerInterfaceWrapper) ReadQuotas(w http.ResponseWriter, r *http.Request)
ReadQuotas operation middleware
func (*ServerInterfaceWrapper) ReadTenant ¶
func (siw *ServerInterfaceWrapper) ReadTenant(w http.ResponseWriter, r *http.Request)
ReadTenant operation middleware
func (*ServerInterfaceWrapper) ReadUsage ¶
func (siw *ServerInterfaceWrapper) ReadUsage(w http.ResponseWriter, r *http.Request)
ReadUsage operation middleware
func (*ServerInterfaceWrapper) ReadWorkspace ¶
func (siw *ServerInterfaceWrapper) ReadWorkspace(w http.ResponseWriter, r *http.Request)
ReadWorkspace operation middleware
func (*ServerInterfaceWrapper) ReapplyErasures ¶
func (siw *ServerInterfaceWrapper) ReapplyErasures(w http.ResponseWriter, r *http.Request)
ReapplyErasures operation middleware
func (*ServerInterfaceWrapper) RedeemInvitation ¶
func (siw *ServerInterfaceWrapper) RedeemInvitation(w http.ResponseWriter, r *http.Request)
RedeemInvitation operation middleware
func (*ServerInterfaceWrapper) RedeliverPlatformSubscription ¶
func (siw *ServerInterfaceWrapper) RedeliverPlatformSubscription(w http.ResponseWriter, r *http.Request)
RedeliverPlatformSubscription operation middleware
func (*ServerInterfaceWrapper) RefreshSession ¶
func (siw *ServerInterfaceWrapper) RefreshSession(w http.ResponseWriter, r *http.Request)
RefreshSession operation middleware
func (*ServerInterfaceWrapper) RegenerateRecoveryCodes ¶
func (siw *ServerInterfaceWrapper) RegenerateRecoveryCodes(w http.ResponseWriter, r *http.Request)
RegenerateRecoveryCodes operation middleware
func (*ServerInterfaceWrapper) RegisterOauthClient ¶
func (siw *ServerInterfaceWrapper) RegisterOauthClient(w http.ResponseWriter, r *http.Request)
RegisterOauthClient operation middleware
func (*ServerInterfaceWrapper) ReindexSearch ¶
func (siw *ServerInterfaceWrapper) ReindexSearch(w http.ResponseWriter, r *http.Request)
ReindexSearch operation middleware
func (*ServerInterfaceWrapper) ReleaseLegalHold ¶
func (siw *ServerInterfaceWrapper) ReleaseLegalHold(w http.ResponseWriter, r *http.Request)
ReleaseLegalHold operation middleware
func (*ServerInterfaceWrapper) RemoveAiProvider ¶
func (siw *ServerInterfaceWrapper) RemoveAiProvider(w http.ResponseWriter, r *http.Request)
RemoveAiProvider operation middleware
func (*ServerInterfaceWrapper) RemoveIdentityProvider ¶
func (siw *ServerInterfaceWrapper) RemoveIdentityProvider(w http.ResponseWriter, r *http.Request)
RemoveIdentityProvider operation middleware
func (*ServerInterfaceWrapper) RemoveInstanceAiProvider ¶
func (siw *ServerInterfaceWrapper) RemoveInstanceAiProvider(w http.ResponseWriter, r *http.Request)
RemoveInstanceAiProvider operation middleware
func (*ServerInterfaceWrapper) RemoveInstanceIdentityProvider ¶
func (siw *ServerInterfaceWrapper) RemoveInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
RemoveInstanceIdentityProvider operation middleware
func (*ServerInterfaceWrapper) RemoveLabel ¶
func (siw *ServerInterfaceWrapper) RemoveLabel(w http.ResponseWriter, r *http.Request)
RemoveLabel operation middleware
func (*ServerInterfaceWrapper) RemoveMailbox ¶
func (siw *ServerInterfaceWrapper) RemoveMailbox(w http.ResponseWriter, r *http.Request)
RemoveMailbox operation middleware
func (*ServerInterfaceWrapper) RemoveMember ¶
func (siw *ServerInterfaceWrapper) RemoveMember(w http.ResponseWriter, r *http.Request)
RemoveMember operation middleware
func (*ServerInterfaceWrapper) RemoveOperator ¶
func (siw *ServerInterfaceWrapper) RemoveOperator(w http.ResponseWriter, r *http.Request)
RemoveOperator operation middleware
func (*ServerInterfaceWrapper) RemoveOwnAvatar ¶
func (siw *ServerInterfaceWrapper) RemoveOwnAvatar(w http.ResponseWriter, r *http.Request)
RemoveOwnAvatar operation middleware
func (*ServerInterfaceWrapper) RemoveOwnPasskey ¶
func (siw *ServerInterfaceWrapper) RemoveOwnPasskey(w http.ResponseWriter, r *http.Request)
RemoveOwnPasskey operation middleware
func (*ServerInterfaceWrapper) RemovePlan ¶
func (siw *ServerInterfaceWrapper) RemovePlan(w http.ResponseWriter, r *http.Request)
RemovePlan operation middleware
func (*ServerInterfaceWrapper) RemoveRecurrence ¶
func (siw *ServerInterfaceWrapper) RemoveRecurrence(w http.ResponseWriter, r *http.Request)
RemoveRecurrence operation middleware
func (*ServerInterfaceWrapper) RenameContainer ¶
func (siw *ServerInterfaceWrapper) RenameContainer(w http.ResponseWriter, r *http.Request)
RenameContainer operation middleware
func (*ServerInterfaceWrapper) RenameOwnPasskey ¶
func (siw *ServerInterfaceWrapper) RenameOwnPasskey(w http.ResponseWriter, r *http.Request)
RenameOwnPasskey operation middleware
func (*ServerInterfaceWrapper) RenewInvitation ¶
func (siw *ServerInterfaceWrapper) RenewInvitation(w http.ResponseWriter, r *http.Request)
RenewInvitation operation middleware
func (*ServerInterfaceWrapper) ReopenWorkItem ¶
func (siw *ServerInterfaceWrapper) ReopenWorkItem(w http.ResponseWriter, r *http.Request)
ReopenWorkItem operation middleware
func (*ServerInterfaceWrapper) ReorderBucket ¶
func (siw *ServerInterfaceWrapper) ReorderBucket(w http.ResponseWriter, r *http.Request)
ReorderBucket operation middleware
func (*ServerInterfaceWrapper) ReorderContainer ¶
func (siw *ServerInterfaceWrapper) ReorderContainer(w http.ResponseWriter, r *http.Request)
ReorderContainer operation middleware
func (*ServerInterfaceWrapper) ReorderWorkItem ¶
func (siw *ServerInterfaceWrapper) ReorderWorkItem(w http.ResponseWriter, r *http.Request)
ReorderWorkItem operation middleware
func (*ServerInterfaceWrapper) ReplaceLegalHolds ¶
func (siw *ServerInterfaceWrapper) ReplaceLegalHolds(w http.ResponseWriter, r *http.Request)
ReplaceLegalHolds operation middleware
func (*ServerInterfaceWrapper) ReplayRuleRun ¶
func (siw *ServerInterfaceWrapper) ReplayRuleRun(w http.ResponseWriter, r *http.Request)
ReplayRuleRun operation middleware
func (*ServerInterfaceWrapper) ReplayWebhookDelivery ¶
func (siw *ServerInterfaceWrapper) ReplayWebhookDelivery(w http.ResponseWriter, r *http.Request)
ReplayWebhookDelivery operation middleware
func (*ServerInterfaceWrapper) RequestAddress ¶
func (siw *ServerInterfaceWrapper) RequestAddress(w http.ResponseWriter, r *http.Request)
RequestAddress operation middleware
func (*ServerInterfaceWrapper) RequestMediaUpload ¶
func (siw *ServerInterfaceWrapper) RequestMediaUpload(w http.ResponseWriter, r *http.Request)
RequestMediaUpload operation middleware
func (*ServerInterfaceWrapper) RequestTenantDeletion ¶
func (siw *ServerInterfaceWrapper) RequestTenantDeletion(w http.ResponseWriter, r *http.Request)
RequestTenantDeletion operation middleware
func (*ServerInterfaceWrapper) ResealSecrets ¶
func (siw *ServerInterfaceWrapper) ResealSecrets(w http.ResponseWriter, r *http.Request)
ResealSecrets operation middleware
func (*ServerInterfaceWrapper) ResetPassword ¶
func (siw *ServerInterfaceWrapper) ResetPassword(w http.ResponseWriter, r *http.Request)
ResetPassword operation middleware
func (*ServerInterfaceWrapper) RestoreContainer ¶
func (siw *ServerInterfaceWrapper) RestoreContainer(w http.ResponseWriter, r *http.Request)
RestoreContainer operation middleware
func (*ServerInterfaceWrapper) RestoreLabel ¶
func (siw *ServerInterfaceWrapper) RestoreLabel(w http.ResponseWriter, r *http.Request)
RestoreLabel operation middleware
func (*ServerInterfaceWrapper) RestoreWorkItem ¶
func (siw *ServerInterfaceWrapper) RestoreWorkItem(w http.ResponseWriter, r *http.Request)
RestoreWorkItem operation middleware
func (*ServerInterfaceWrapper) RestrictProcessing ¶
func (siw *ServerInterfaceWrapper) RestrictProcessing(w http.ResponseWriter, r *http.Request)
RestrictProcessing operation middleware
func (*ServerInterfaceWrapper) ResumeTenant ¶
func (siw *ServerInterfaceWrapper) ResumeTenant(w http.ResponseWriter, r *http.Request)
ResumeTenant operation middleware
func (*ServerInterfaceWrapper) RetainItem ¶
func (siw *ServerInterfaceWrapper) RetainItem(w http.ResponseWriter, r *http.Request)
RetainItem operation middleware
func (*ServerInterfaceWrapper) RevokeAccessToken ¶
func (siw *ServerInterfaceWrapper) RevokeAccessToken(w http.ResponseWriter, r *http.Request)
RevokeAccessToken operation middleware
func (*ServerInterfaceWrapper) RevokeAllSessions ¶
func (siw *ServerInterfaceWrapper) RevokeAllSessions(w http.ResponseWriter, r *http.Request)
RevokeAllSessions operation middleware
func (*ServerInterfaceWrapper) RevokeCalendarFeed ¶
func (siw *ServerInterfaceWrapper) RevokeCalendarFeed(w http.ResponseWriter, r *http.Request)
RevokeCalendarFeed operation middleware
func (*ServerInterfaceWrapper) RevokeMembership ¶
func (siw *ServerInterfaceWrapper) RevokeMembership(w http.ResponseWriter, r *http.Request)
RevokeMembership operation middleware
func (*ServerInterfaceWrapper) RevokeOauthGrant ¶
func (siw *ServerInterfaceWrapper) RevokeOauthGrant(w http.ResponseWriter, r *http.Request)
RevokeOauthGrant operation middleware
func (*ServerInterfaceWrapper) RevokeOtherSessions ¶
func (siw *ServerInterfaceWrapper) RevokeOtherSessions(w http.ResponseWriter, r *http.Request)
RevokeOtherSessions operation middleware
func (*ServerInterfaceWrapper) RevokeSession ¶
func (siw *ServerInterfaceWrapper) RevokeSession(w http.ResponseWriter, r *http.Request)
RevokeSession operation middleware
func (*ServerInterfaceWrapper) RotateInboundTrigger ¶
func (siw *ServerInterfaceWrapper) RotateInboundTrigger(w http.ResponseWriter, r *http.Request)
RotateInboundTrigger operation middleware
func (*ServerInterfaceWrapper) RotateJumbleIntake ¶
func (siw *ServerInterfaceWrapper) RotateJumbleIntake(w http.ResponseWriter, r *http.Request)
RotateJumbleIntake operation middleware
func (*ServerInterfaceWrapper) RotatePlatformSubscriptionSecret ¶
func (siw *ServerInterfaceWrapper) RotatePlatformSubscriptionSecret(w http.ResponseWriter, r *http.Request)
RotatePlatformSubscriptionSecret operation middleware
func (*ServerInterfaceWrapper) RotateWebhookSecret ¶
func (siw *ServerInterfaceWrapper) RotateWebhookSecret(w http.ResponseWriter, r *http.Request)
RotateWebhookSecret operation middleware
func (*ServerInterfaceWrapper) SaveMailSettings ¶
func (siw *ServerInterfaceWrapper) SaveMailSettings(w http.ResponseWriter, r *http.Request)
SaveMailSettings operation middleware
func (*ServerInterfaceWrapper) SavePreset ¶
func (siw *ServerInterfaceWrapper) SavePreset(w http.ResponseWriter, r *http.Request)
SavePreset operation middleware
func (*ServerInterfaceWrapper) SaveVoiceSettings ¶
func (siw *ServerInterfaceWrapper) SaveVoiceSettings(w http.ResponseWriter, r *http.Request)
SaveVoiceSettings operation middleware
func (*ServerInterfaceWrapper) SearchItems ¶
func (siw *ServerInterfaceWrapper) SearchItems(w http.ResponseWriter, r *http.Request)
SearchItems operation middleware
func (*ServerInterfaceWrapper) SendWebhook ¶
func (siw *ServerInterfaceWrapper) SendWebhook(w http.ResponseWriter, r *http.Request)
SendWebhook operation middleware
func (*ServerInterfaceWrapper) SetAiArrivalProposals ¶
func (siw *ServerInterfaceWrapper) SetAiArrivalProposals(w http.ResponseWriter, r *http.Request)
SetAiArrivalProposals operation middleware
func (*ServerInterfaceWrapper) SetAiPersonOptOut ¶
func (siw *ServerInterfaceWrapper) SetAiPersonOptOut(w http.ResponseWriter, r *http.Request)
SetAiPersonOptOut operation middleware
func (*ServerInterfaceWrapper) SetCollectionHandle ¶
func (siw *ServerInterfaceWrapper) SetCollectionHandle(w http.ResponseWriter, r *http.Request)
SetCollectionHandle operation middleware
func (*ServerInterfaceWrapper) SetContainerStructure ¶
func (siw *ServerInterfaceWrapper) SetContainerStructure(w http.ResponseWriter, r *http.Request)
SetContainerStructure operation middleware
func (*ServerInterfaceWrapper) SetCover ¶
func (siw *ServerInterfaceWrapper) SetCover(w http.ResponseWriter, r *http.Request)
SetCover operation middleware
func (*ServerInterfaceWrapper) SetCustomField ¶
func (siw *ServerInterfaceWrapper) SetCustomField(w http.ResponseWriter, r *http.Request)
SetCustomField operation middleware
func (*ServerInterfaceWrapper) SetDueDate ¶
func (siw *ServerInterfaceWrapper) SetDueDate(w http.ResponseWriter, r *http.Request)
SetDueDate operation middleware
func (*ServerInterfaceWrapper) SetHubPrivacy ¶
func (siw *ServerInterfaceWrapper) SetHubPrivacy(w http.ResponseWriter, r *http.Request)
SetHubPrivacy operation middleware
func (*ServerInterfaceWrapper) SetNotificationPreference ¶
func (siw *ServerInterfaceWrapper) SetNotificationPreference(w http.ResponseWriter, r *http.Request)
SetNotificationPreference operation middleware
func (*ServerInterfaceWrapper) SetOwnAiBudget ¶
func (siw *ServerInterfaceWrapper) SetOwnAiBudget(w http.ResponseWriter, r *http.Request)
SetOwnAiBudget operation middleware
func (*ServerInterfaceWrapper) SetOwnAvatar ¶
func (siw *ServerInterfaceWrapper) SetOwnAvatar(w http.ResponseWriter, r *http.Request)
SetOwnAvatar operation middleware
func (*ServerInterfaceWrapper) SetPasswordAndSignIn ¶
func (siw *ServerInterfaceWrapper) SetPasswordAndSignIn(w http.ResponseWriter, r *http.Request)
SetPasswordAndSignIn operation middleware
func (*ServerInterfaceWrapper) SetRecurrence ¶
func (siw *ServerInterfaceWrapper) SetRecurrence(w http.ResponseWriter, r *http.Request)
SetRecurrence operation middleware
func (*ServerInterfaceWrapper) SetUpInstallation ¶
func (siw *ServerInterfaceWrapper) SetUpInstallation(w http.ResponseWriter, r *http.Request)
SetUpInstallation operation middleware
func (*ServerInterfaceWrapper) SetWorkspaceStructure ¶
func (siw *ServerInterfaceWrapper) SetWorkspaceStructure(w http.ResponseWriter, r *http.Request)
SetWorkspaceStructure operation middleware
func (*ServerInterfaceWrapper) ShareSavedView ¶
func (siw *ServerInterfaceWrapper) ShareSavedView(w http.ResponseWriter, r *http.Request)
ShareSavedView operation middleware
func (*ServerInterfaceWrapper) ShowAlexaModel ¶
func (siw *ServerInterfaceWrapper) ShowAlexaModel(w http.ResponseWriter, r *http.Request)
ShowAlexaModel operation middleware
func (*ServerInterfaceWrapper) ShowMailSettings ¶
func (siw *ServerInterfaceWrapper) ShowMailSettings(w http.ResponseWriter, r *http.Request)
ShowMailSettings operation middleware
func (*ServerInterfaceWrapper) ShowVoiceSettings ¶
func (siw *ServerInterfaceWrapper) ShowVoiceSettings(w http.ResponseWriter, r *http.Request)
ShowVoiceSettings operation middleware
func (*ServerInterfaceWrapper) SignIn ¶
func (siw *ServerInterfaceWrapper) SignIn(w http.ResponseWriter, r *http.Request)
SignIn operation middleware
func (*ServerInterfaceWrapper) SkipOccurrence ¶
func (siw *ServerInterfaceWrapper) SkipOccurrence(w http.ResponseWriter, r *http.Request)
SkipOccurrence operation middleware
func (*ServerInterfaceWrapper) StartAuthenticatorReplacement ¶
func (siw *ServerInterfaceWrapper) StartAuthenticatorReplacement(w http.ResponseWriter, r *http.Request)
StartAuthenticatorReplacement operation middleware
func (*ServerInterfaceWrapper) StartBackup ¶
func (siw *ServerInterfaceWrapper) StartBackup(w http.ResponseWriter, r *http.Request)
StartBackup operation middleware
func (*ServerInterfaceWrapper) StartInboundRun ¶
func (siw *ServerInterfaceWrapper) StartInboundRun(w http.ResponseWriter, r *http.Request)
StartInboundRun operation middleware
func (*ServerInterfaceWrapper) StartJumbleIntake ¶
func (siw *ServerInterfaceWrapper) StartJumbleIntake(w http.ResponseWriter, r *http.Request)
StartJumbleIntake operation middleware
func (*ServerInterfaceWrapper) StartOidcSignIn ¶
func (siw *ServerInterfaceWrapper) StartOidcSignIn(w http.ResponseWriter, r *http.Request)
StartOidcSignIn operation middleware
func (*ServerInterfaceWrapper) StartPasskeyEnrollment ¶
func (siw *ServerInterfaceWrapper) StartPasskeyEnrollment(w http.ResponseWriter, r *http.Request)
StartPasskeyEnrollment operation middleware
func (*ServerInterfaceWrapper) StartPasskeyRegistration ¶
func (siw *ServerInterfaceWrapper) StartPasskeyRegistration(w http.ResponseWriter, r *http.Request)
StartPasskeyRegistration operation middleware
func (*ServerInterfaceWrapper) StartPasskeySignIn ¶
func (siw *ServerInterfaceWrapper) StartPasskeySignIn(w http.ResponseWriter, r *http.Request)
StartPasskeySignIn operation middleware
func (*ServerInterfaceWrapper) StartPasskeyStepUp ¶
func (siw *ServerInterfaceWrapper) StartPasskeyStepUp(w http.ResponseWriter, r *http.Request)
StartPasskeyStepUp operation middleware
func (*ServerInterfaceWrapper) StartProviderConnect ¶
func (siw *ServerInterfaceWrapper) StartProviderConnect(w http.ResponseWriter, r *http.Request)
StartProviderConnect operation middleware
func (*ServerInterfaceWrapper) StartProviderStepUp ¶
func (siw *ServerInterfaceWrapper) StartProviderStepUp(w http.ResponseWriter, r *http.Request)
StartProviderStepUp operation middleware
func (*ServerInterfaceWrapper) StartRestore ¶
func (siw *ServerInterfaceWrapper) StartRestore(w http.ResponseWriter, r *http.Request)
StartRestore operation middleware
func (*ServerInterfaceWrapper) StepUp ¶
func (siw *ServerInterfaceWrapper) StepUp(w http.ResponseWriter, r *http.Request)
StepUp operation middleware
func (*ServerInterfaceWrapper) StreamChanges ¶
func (siw *ServerInterfaceWrapper) StreamChanges(w http.ResponseWriter, r *http.Request)
StreamChanges operation middleware
func (*ServerInterfaceWrapper) SubmitJumbleEntry ¶
func (siw *ServerInterfaceWrapper) SubmitJumbleEntry(w http.ResponseWriter, r *http.Request)
SubmitJumbleEntry operation middleware
func (*ServerInterfaceWrapper) SuggestDecomposition ¶
func (siw *ServerInterfaceWrapper) SuggestDecomposition(w http.ResponseWriter, r *http.Request)
SuggestDecomposition operation middleware
func (*ServerInterfaceWrapper) SuggestDuplicates ¶
func (siw *ServerInterfaceWrapper) SuggestDuplicates(w http.ResponseWriter, r *http.Request)
SuggestDuplicates operation middleware
func (*ServerInterfaceWrapper) SuggestFromJumbleEntry ¶
func (siw *ServerInterfaceWrapper) SuggestFromJumbleEntry(w http.ResponseWriter, r *http.Request)
SuggestFromJumbleEntry operation middleware
func (*ServerInterfaceWrapper) SuspendTenant ¶
func (siw *ServerInterfaceWrapper) SuspendTenant(w http.ResponseWriter, r *http.Request)
SuspendTenant operation middleware
func (*ServerInterfaceWrapper) SyncPull ¶
func (siw *ServerInterfaceWrapper) SyncPull(w http.ResponseWriter, r *http.Request)
SyncPull operation middleware
func (*ServerInterfaceWrapper) SyncPush ¶
func (siw *ServerInterfaceWrapper) SyncPush(w http.ResponseWriter, r *http.Request)
SyncPush operation middleware
func (*ServerInterfaceWrapper) SyncSnapshot ¶
func (siw *ServerInterfaceWrapper) SyncSnapshot(w http.ResponseWriter, r *http.Request)
SyncSnapshot operation middleware
func (*ServerInterfaceWrapper) TakeBackKudos ¶
func (siw *ServerInterfaceWrapper) TakeBackKudos(w http.ResponseWriter, r *http.Request)
TakeBackKudos operation middleware
func (*ServerInterfaceWrapper) TestBackupTarget ¶
func (siw *ServerInterfaceWrapper) TestBackupTarget(w http.ResponseWriter, r *http.Request)
TestBackupTarget operation middleware
func (*ServerInterfaceWrapper) TestInstanceBackupTarget ¶
func (siw *ServerInterfaceWrapper) TestInstanceBackupTarget(w http.ResponseWriter, r *http.Request)
TestInstanceBackupTarget operation middleware
func (*ServerInterfaceWrapper) TestRule ¶
func (siw *ServerInterfaceWrapper) TestRule(w http.ResponseWriter, r *http.Request)
TestRule operation middleware
func (*ServerInterfaceWrapper) TrashContainer ¶
func (siw *ServerInterfaceWrapper) TrashContainer(w http.ResponseWriter, r *http.Request)
TrashContainer operation middleware
func (*ServerInterfaceWrapper) TrashWorkItem ¶
func (siw *ServerInterfaceWrapper) TrashWorkItem(w http.ResponseWriter, r *http.Request)
TrashWorkItem operation middleware
func (*ServerInterfaceWrapper) TriggerRuleManually ¶
func (siw *ServerInterfaceWrapper) TriggerRuleManually(w http.ResponseWriter, r *http.Request)
TriggerRuleManually operation middleware
func (*ServerInterfaceWrapper) TryVoiceSentence ¶
func (siw *ServerInterfaceWrapper) TryVoiceSentence(w http.ResponseWriter, r *http.Request)
TryVoiceSentence operation middleware
func (*ServerInterfaceWrapper) UnarchiveContainer ¶
func (siw *ServerInterfaceWrapper) UnarchiveContainer(w http.ResponseWriter, r *http.Request)
UnarchiveContainer operation middleware
func (*ServerInterfaceWrapper) UnarchiveWorkItem ¶
func (siw *ServerInterfaceWrapper) UnarchiveWorkItem(w http.ResponseWriter, r *http.Request)
UnarchiveWorkItem operation middleware
func (*ServerInterfaceWrapper) UnassignWorkItem ¶
func (siw *ServerInterfaceWrapper) UnassignWorkItem(w http.ResponseWriter, r *http.Request)
UnassignWorkItem operation middleware
func (*ServerInterfaceWrapper) UpdateAccountPreferences ¶
func (siw *ServerInterfaceWrapper) UpdateAccountPreferences(w http.ResponseWriter, r *http.Request)
UpdateAccountPreferences operation middleware
func (*ServerInterfaceWrapper) UpdateBackupSchedule ¶
func (siw *ServerInterfaceWrapper) UpdateBackupSchedule(w http.ResponseWriter, r *http.Request)
UpdateBackupSchedule operation middleware
func (*ServerInterfaceWrapper) UpdateBucket ¶
func (siw *ServerInterfaceWrapper) UpdateBucket(w http.ResponseWriter, r *http.Request)
UpdateBucket operation middleware
func (*ServerInterfaceWrapper) UpdateContainerPolicies ¶
func (siw *ServerInterfaceWrapper) UpdateContainerPolicies(w http.ResponseWriter, r *http.Request)
UpdateContainerPolicies operation middleware
func (*ServerInterfaceWrapper) UpdateCustomField ¶
func (siw *ServerInterfaceWrapper) UpdateCustomField(w http.ResponseWriter, r *http.Request)
UpdateCustomField operation middleware
func (*ServerInterfaceWrapper) UpdateDataSubjectRequest ¶
func (siw *ServerInterfaceWrapper) UpdateDataSubjectRequest(w http.ResponseWriter, r *http.Request)
UpdateDataSubjectRequest operation middleware
func (*ServerInterfaceWrapper) UpdateGroup ¶
func (siw *ServerInterfaceWrapper) UpdateGroup(w http.ResponseWriter, r *http.Request)
UpdateGroup operation middleware
func (*ServerInterfaceWrapper) UpdateLabel ¶
func (siw *ServerInterfaceWrapper) UpdateLabel(w http.ResponseWriter, r *http.Request)
UpdateLabel operation middleware
func (*ServerInterfaceWrapper) UpdateOwnAccount ¶
func (siw *ServerInterfaceWrapper) UpdateOwnAccount(w http.ResponseWriter, r *http.Request)
UpdateOwnAccount operation middleware
func (*ServerInterfaceWrapper) UpdatePlatformSubscription ¶
func (siw *ServerInterfaceWrapper) UpdatePlatformSubscription(w http.ResponseWriter, r *http.Request)
UpdatePlatformSubscription operation middleware
func (*ServerInterfaceWrapper) UpdateReminder ¶
func (siw *ServerInterfaceWrapper) UpdateReminder(w http.ResponseWriter, r *http.Request)
UpdateReminder operation middleware
func (*ServerInterfaceWrapper) UpdateRetentionPolicy ¶
func (siw *ServerInterfaceWrapper) UpdateRetentionPolicy(w http.ResponseWriter, r *http.Request)
UpdateRetentionPolicy operation middleware
func (*ServerInterfaceWrapper) UpdateRule ¶
func (siw *ServerInterfaceWrapper) UpdateRule(w http.ResponseWriter, r *http.Request)
UpdateRule operation middleware
func (*ServerInterfaceWrapper) UpdateSavedView ¶
func (siw *ServerInterfaceWrapper) UpdateSavedView(w http.ResponseWriter, r *http.Request)
UpdateSavedView operation middleware
func (*ServerInterfaceWrapper) UpdateTemplate ¶
func (siw *ServerInterfaceWrapper) UpdateTemplate(w http.ResponseWriter, r *http.Request)
UpdateTemplate operation middleware
func (*ServerInterfaceWrapper) UpdateTenant ¶
func (siw *ServerInterfaceWrapper) UpdateTenant(w http.ResponseWriter, r *http.Request)
UpdateTenant operation middleware
func (*ServerInterfaceWrapper) UpdateTenantQuotas ¶
func (siw *ServerInterfaceWrapper) UpdateTenantQuotas(w http.ResponseWriter, r *http.Request)
UpdateTenantQuotas operation middleware
func (*ServerInterfaceWrapper) UpdateWebhookSubscription ¶
func (siw *ServerInterfaceWrapper) UpdateWebhookSubscription(w http.ResponseWriter, r *http.Request)
UpdateWebhookSubscription operation middleware
func (*ServerInterfaceWrapper) UpdateWorkItem ¶
func (siw *ServerInterfaceWrapper) UpdateWorkItem(w http.ResponseWriter, r *http.Request)
UpdateWorkItem operation middleware
func (*ServerInterfaceWrapper) UpdateWorkspace ¶
func (siw *ServerInterfaceWrapper) UpdateWorkspace(w http.ResponseWriter, r *http.Request)
UpdateWorkspace operation middleware
func (*ServerInterfaceWrapper) UploadMediaContent ¶
func (siw *ServerInterfaceWrapper) UploadMediaContent(w http.ResponseWriter, r *http.Request)
UploadMediaContent operation middleware
func (*ServerInterfaceWrapper) VerifyAuditChain ¶
func (siw *ServerInterfaceWrapper) VerifyAuditChain(w http.ResponseWriter, r *http.Request)
VerifyAuditChain operation middleware
func (*ServerInterfaceWrapper) VerifyBackup ¶
func (siw *ServerInterfaceWrapper) VerifyBackup(w http.ResponseWriter, r *http.Request)
VerifyBackup operation middleware
func (*ServerInterfaceWrapper) WithdrawConsent ¶
func (siw *ServerInterfaceWrapper) WithdrawConsent(w http.ResponseWriter, r *http.Request)
WithdrawConsent operation middleware
func (*ServerInterfaceWrapper) WithdrawInstallationPreset ¶
func (siw *ServerInterfaceWrapper) WithdrawInstallationPreset(w http.ResponseWriter, r *http.Request)
WithdrawInstallationPreset operation middleware
func (*ServerInterfaceWrapper) WithdrawInstanceIdentityProvider ¶
func (siw *ServerInterfaceWrapper) WithdrawInstanceIdentityProvider(w http.ResponseWriter, r *http.Request)
WithdrawInstanceIdentityProvider operation middleware
func (*ServerInterfaceWrapper) WithdrawPreset ¶
func (siw *ServerInterfaceWrapper) WithdrawPreset(w http.ResponseWriter, r *http.Request)
WithdrawPreset operation middleware
func (*ServerInterfaceWrapper) WriteInstanceSettings ¶
func (siw *ServerInterfaceWrapper) WriteInstanceSettings(w http.ResponseWriter, r *http.Request)
WriteInstanceSettings operation middleware
type ServiceAccountCreate ¶
type ServiceAccountCreate struct {
// DisplayName What the audit trail records next to the identifier. Name it after what it does - "the nightly export", not "svc1" - because it is what a reader of the trail sees.
DisplayName string `json:"display_name"`
}
ServiceAccountCreate defines model for ServiceAccountCreate.
type Session ¶
type Session struct {
CreatedAt time.Time `json:"created_at"`
// Current Whether this session is the one answering the call.
Current bool `json:"current"`
Id openapi_types.UUID `json:"id"`
// IpClass The network the sign-in came from, coarsened at recording time - an IPv4 /24 or an IPv6 /48, never the full address.
IpClass *string `json:"ip_class,omitempty"`
// LastUsedAt When the session last acted, to the minute rather than to the request - the value exists so a person can spot a session nobody uses.
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
// SignedInProvider For a session a sign-in provider opened, that provider's name, so a person can tell their sessions apart by the way in. Absent for every other session, and for one whose provider was removed since.
SignedInProvider *string `json:"signed_in_provider,omitempty"`
// SignedInWith How this session was opened. Null for one opened before this was recorded, which is not "unknown method" so much as "before this existed" - a client leaves the line out rather than printing a word nobody can act on.
SignedInWith *SessionSignedInWith `json:"signed_in_with,omitempty"`
// UserAgent The client that signed in, as it introduced itself.
UserAgent *string `json:"user_agent,omitempty"`
}
Session A sign-in somebody can see and revoke. The client hint is what was recorded at sign-in - a user agent and an IP class, enough to recognise one's own devices and deliberately not a precise address.
type SessionElevation ¶
type SessionElevation struct {
ElevatedUntil time.Time `json:"elevated_until"`
// RemainingSeconds What is left of the hour. On the screen, because an hour nobody can see the end of is an hour somebody is surprised by.
RemainingSeconds int `json:"remaining_seconds"`
}
SessionElevation How long this session carries the control plane's scope.
type SessionPolicySettings ¶
type SessionPolicySettings struct {
// IdleMinutes One numeric switch, at the levels that decide it. Zero is off for every one of them.
IdleMinutes SignInPolicyNumber `json:"idle_minutes"`
// MaxDays One numeric switch, at the levels that decide it. Zero is off for every one of them.
MaxDays SignInPolicyNumber `json:"max_days"`
}
SessionPolicySettings The two bounds a session answers to beside its own expiry.
type SessionRefresh ¶
type SessionRefresh struct {
// RefreshToken The one being exchanged. It is retired by this very call.
RefreshToken string `json:"refresh_token"`
}
SessionRefresh defines model for SessionRefresh.
type SessionSignedInWith ¶
type SessionSignedInWith string
SessionSignedInWith How this session was opened. Null for one opened before this was recorded, which is not "unknown method" so much as "before this existed" - a client leaves the line out rather than printing a word nobody can act on.
const ( SessionSignedInWithINVITATION SessionSignedInWith = "INVITATION" SessionSignedInWithLessThannil SessionSignedInWith = "<nil>" SessionSignedInWithOIDC SessionSignedInWith = "OIDC" SessionSignedInWithPASSKEY SessionSignedInWith = "PASSKEY" SessionSignedInWithPASSWORD SessionSignedInWith = "PASSWORD" SessionSignedInWithPASSWORDPASSKEY SessionSignedInWith = "PASSWORD_PASSKEY" SessionSignedInWithPASSWORDRECOVERY SessionSignedInWith = "PASSWORD_RECOVERY" SessionSignedInWithPASSWORDTOTP SessionSignedInWith = "PASSWORD_TOTP" SessionSignedInWithRESET SessionSignedInWith = "RESET" )
Defines values for SessionSignedInWith.
func (SessionSignedInWith) Valid ¶
func (e SessionSignedInWith) Valid() bool
Valid indicates whether the value is a known member of the SessionSignedInWith enum.
type SessionTokens ¶
type SessionTokens struct {
// AccessToken Fifteen minutes, presented as the bearer credential on every call.
AccessToken string `json:"access_token"`
AccessTokenExpiresAt time.Time `json:"access_token_expires_at"`
// RecoveryCodesRemaining Present exactly when a recovery code completed this sign-in: how many remain. Zero is the number to act on - re-enrol before the authenticator is needed again.
RecoveryCodesRemaining *int `json:"recovery_codes_remaining,omitempty"`
// RefreshToken Thirty days, single use: the exchange at `/auth/sessions:refresh` retires it and answers the next one. Presenting a retired token invalidates the whole family.
RefreshToken string `json:"refresh_token"`
RefreshTokenExpiresAt time.Time `json:"refresh_token_expires_at"`
// Session A sign-in somebody can see and revoke. The client hint is what was recorded at sign-in - a user agent and an IP class, enough to recognise one's own devices and deliberately not a precise address.
Session Session `json:"session"`
TokenType SessionTokensTokenType `json:"token_type"`
}
SessionTokens The pair and its session, shown for the only time. What is stored of the refresh token is a hash under its own purpose label; the access token is not stored at all - it verifies by its signature.
type SessionTokensTokenType ¶
type SessionTokensTokenType string
SessionTokensTokenType defines model for SessionTokens.TokenType.
const (
Bearer SessionTokensTokenType = "Bearer"
)
Defines values for SessionTokensTokenType.
func (SessionTokensTokenType) Valid ¶
func (e SessionTokensTokenType) Valid() bool
Valid indicates whether the value is a known member of the SessionTokensTokenType enum.
type SetAiArrivalProposalsJSONRequestBody ¶
type SetAiArrivalProposalsJSONRequestBody = AiArrivalProposalsChoice
SetAiArrivalProposalsJSONRequestBody defines body for SetAiArrivalProposals for application/json ContentType.
type SetAiPersonOptOutJSONRequestBody ¶
type SetAiPersonOptOutJSONRequestBody = AiPersonOptOutChoice
SetAiPersonOptOutJSONRequestBody defines body for SetAiPersonOptOut for application/json ContentType.
type SetCollectionHandleJSONRequestBody ¶
type SetCollectionHandleJSONRequestBody = CollectionHandle
SetCollectionHandleJSONRequestBody defines body for SetCollectionHandle for application/json ContentType.
type SetCollectionHandleParams ¶
type SetCollectionHandleParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SetCollectionHandleParams defines parameters for SetCollectionHandle.
type SetContainerStructureJSONRequestBody ¶
type SetContainerStructureJSONRequestBody = StructureChange
SetContainerStructureJSONRequestBody defines body for SetContainerStructure for application/json ContentType.
type SetContainerStructureParams ¶
type SetContainerStructureParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetContainerStructureParams defines parameters for SetContainerStructure.
type SetCoverJSONRequestBody ¶
type SetCoverJSONRequestBody = CoverInput
SetCoverJSONRequestBody defines body for SetCover for application/json ContentType.
type SetCoverParams ¶
type SetCoverParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetCoverParams defines parameters for SetCover.
type SetCustomFieldJSONRequestBody ¶
type SetCustomFieldJSONRequestBody = CustomFieldValue
SetCustomFieldJSONRequestBody defines body for SetCustomField for application/json ContentType.
type SetCustomFieldParams ¶
type SetCustomFieldParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetCustomFieldParams defines parameters for SetCustomField.
type SetDueDateJSONRequestBody ¶
type SetDueDateJSONRequestBody = DueDateInput
SetDueDateJSONRequestBody defines body for SetDueDate for application/json ContentType.
type SetDueDateParams ¶
type SetDueDateParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetDueDateParams defines parameters for SetDueDate.
type SetHubPrivacyJSONRequestBody ¶
type SetHubPrivacyJSONRequestBody = HubPrivacy
SetHubPrivacyJSONRequestBody defines body for SetHubPrivacy for application/json ContentType.
type SetHubPrivacyParams ¶
type SetHubPrivacyParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetHubPrivacyParams defines parameters for SetHubPrivacy.
type SetNotificationPreferenceJSONRequestBody ¶
type SetNotificationPreferenceJSONRequestBody = NotificationPreferenceUpdate
SetNotificationPreferenceJSONRequestBody defines body for SetNotificationPreference for application/json ContentType.
type SetOwnAiBudgetJSONRequestBody ¶
type SetOwnAiBudgetJSONRequestBody = OwnAiBudget
SetOwnAiBudgetJSONRequestBody defines body for SetOwnAiBudget for application/json ContentType.
type SetOwnAvatarJSONRequestBody ¶
type SetOwnAvatarJSONRequestBody = AvatarInput
SetOwnAvatarJSONRequestBody defines body for SetOwnAvatar for application/json ContentType.
type SetPasswordAndSignInJSONRequestBody ¶
type SetPasswordAndSignInJSONRequestBody = SignInPasswordChange
SetPasswordAndSignInJSONRequestBody defines body for SetPasswordAndSignIn for application/json ContentType.
type SetRecurrenceJSONRequestBody ¶
type SetRecurrenceJSONRequestBody = RecurrenceInput
SetRecurrenceJSONRequestBody defines body for SetRecurrence for application/json ContentType.
type SetRecurrenceParams ¶
type SetRecurrenceParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetRecurrenceParams defines parameters for SetRecurrence.
type SetUpInstallationJSONRequestBody ¶
type SetUpInstallationJSONRequestBody = InstallationSetUp
SetUpInstallationJSONRequestBody defines body for SetUpInstallation for application/json ContentType.
type SetWorkspaceStructureJSONRequestBody ¶
type SetWorkspaceStructureJSONRequestBody = WorkspaceStructureChange
SetWorkspaceStructureJSONRequestBody defines body for SetWorkspaceStructure for application/json ContentType.
type SetWorkspaceStructureParams ¶
type SetWorkspaceStructureParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
SetWorkspaceStructureParams defines parameters for SetWorkspaceStructure.
type ShareSavedViewJSONRequestBody ¶
type ShareSavedViewJSONRequestBody = SavedViewShare
ShareSavedViewJSONRequestBody defines body for ShareSavedView for application/json ContentType.
type ShareSavedViewParams ¶
type ShareSavedViewParams struct {
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
ShareSavedViewParams defines parameters for ShareSavedView.
type ShowAlexaModelParams ¶
type ShowAlexaModelParams struct {
Locale *ShowAlexaModelParamsLocale `form:"locale,omitempty" json:"locale,omitempty"`
}
ShowAlexaModelParams defines parameters for ShowAlexaModel.
type ShowAlexaModelParamsLocale ¶
type ShowAlexaModelParamsLocale string
ShowAlexaModelParamsLocale defines parameters for ShowAlexaModel.
const ( DeDE ShowAlexaModelParamsLocale = "de-DE" EnGB ShowAlexaModelParamsLocale = "en-GB" EnUS ShowAlexaModelParamsLocale = "en-US" )
Defines values for ShowAlexaModelParamsLocale.
func (ShowAlexaModelParamsLocale) Valid ¶
func (e ShowAlexaModelParamsLocale) Valid() bool
Valid indicates whether the value is a known member of the ShowAlexaModelParamsLocale enum.
type SignIn ¶
type SignIn struct {
// Email The address, for a client that knows only addresses. `identifier` takes either.
Email *openapi_types.Email `json:"email,omitempty"`
// Identifier The address the account signs in with, or its sign-in name where it has one instead (a managed account). One with `@` is read as an address, one without as a sign-in name; both are compared after the same folding the stored values had. Every failure is the one refusal, whichever it was.
Identifier *string `json:"identifier,omitempty"`
// Password Checked in constant shape against the stored Argon2id hash. No minimum here: the policy binds where a password is *set*, and refusing a short guess differently from a wrong one would leak which it was.
Password string `json:"password"`
}
SignIn Exactly one of `identifier` and `email`; neither, or both, is `auth.identifier_one`. A refusal of the shape, the same for everybody - nothing in it depends on who exists.
type SignInCompletion ¶
type SignInCompletion struct {
// AuthenticatorData The answer's `authenticatorData`.
AuthenticatorData *string `json:"authenticator_data,omitempty"`
// ClientDataJson The answer's `clientDataJSON`.
ClientDataJson *string `json:"client_data_json,omitempty"`
// Code The authenticator's current code.
Code *string `json:"code,omitempty"`
PendingToken string `json:"pending_token"`
// RawId A passkey or security key's answer, with the three fields below - its `rawId`.
RawId *string `json:"raw_id,omitempty"`
// RecoveryCode One of the ten shown at enrolment. It works exactly once.
RecoveryCode *string `json:"recovery_code,omitempty"`
// Signature The answer's `signature`.
Signature *string `json:"signature,omitempty"`
}
SignInCompletion defines model for SignInCompletion.
type SignInJSONRequestBody ¶
type SignInJSONRequestBody = SignIn
SignInJSONRequestBody defines body for SignIn for application/json ContentType.
type SignInMethod ¶
type SignInMethod string
SignInMethod One way into a workspace. A named schema, so that every reader of one shares a type.
const ( SignInMethodOIDC SignInMethod = "OIDC" SignInMethodPASSKEY SignInMethod = "PASSKEY" SignInMethodPASSWORD SignInMethod = "PASSWORD" )
Defines values for SignInMethod.
func (SignInMethod) Valid ¶
func (e SignInMethod) Valid() bool
Valid indicates whether the value is a known member of the SignInMethod enum.
type SignInPasswordChange ¶
type SignInPasswordChange struct {
// Password The new password, judged against this workspace's rule in full.
Password string `json:"password"`
// PendingToken The credential the `PASSWORD_CHANGE` challenge handed out. It dies on use.
PendingToken string `json:"pending_token"`
}
SignInPasswordChange defines model for SignInPasswordChange.
type SignInPolicy ¶
type SignInPolicy struct {
// Legal The four links, each with its own lock - B2C locks them, B2B leaves them open.
Legal LegalPolicySettings `json:"legal"`
// ManagedAccounts Whether owners and administrators may give somebody an account without a mail address. On by default; off is the stricter value. Off stops new ones only - the managed accounts already here keep signing in.
ManagedAccounts *SignInPolicyFlag `json:"managed_accounts,omitempty"`
Methods SignInPolicyMethods `json:"methods"`
// MfaRequiredFor `NONE`, `ADMINS` or `EVERYONE`: whose sign-in with a password asks for a second factor, or sets one up first. A sign-in through a provider never does - the provider is trusted as a whole; a factor the account already holds is asked only when a provider is connected to it. What `require_admin_totp` grew into.
MfaRequiredFor SignInPolicyText `json:"mfa_required_for"`
// Password The thirteen switches about the password itself, each at its three levels.
Password PasswordPolicySettings `json:"password"`
// Plan The name of the plan the workspace is on, as its provider named it, null for none - what "Set by your plan" refers to.
Plan *string `json:"plan,omitempty"`
// PrivateHubs Whether people here may make private hubs. On by default; off is the stricter value. Off stops new ones only: every private hub already here stays private.
PrivateHubs *SignInPolicyFlag `json:"private_hubs,omitempty"`
// RotationFrom When somebody last asked everybody for a new password, or null. Set by the action rather than typed: a client that could name a moment could name one in the past and un-require a rotation it already asked for.
RotationFrom *time.Time `json:"rotation_from"`
// Session The two bounds a session answers to beside its own expiry.
Session SessionPolicySettings `json:"session"`
}
SignInPolicy The workspace's sign-in rule, every switch at the levels that decide it: what is in force here, what the level above set, and whether a lock is on it. **A locked switch is answered, not withheld.** A setting that simply is not there is a setting somebody opens a support ticket about; one shown with its value, its reason and a control that is switched off is one they understand.
type SignInPolicyChange ¶
type SignInPolicyChange struct {
AccessibilityUrl *string `json:"accessibility_url,omitempty"`
BreachCheck *bool `json:"breach_check,omitempty"`
CommonPasswords *bool `json:"common_passwords,omitempty"`
ContextWords *bool `json:"context_words,omitempty"`
// HistoryCount 0 is off. At most ten.
HistoryCount *int `json:"history_count,omitempty"`
ImprintUrl *string `json:"imprint_url,omitempty"`
ManagedAccounts *bool `json:"managed_accounts,omitempty"`
// MaxAgeDays 0 is off, which is the shipped value.
MaxAgeDays *int `json:"max_age_days,omitempty"`
// MaxRepeat 0 is off.
MaxRepeat *int `json:"max_repeat,omitempty"`
Methods *[]SignInMethod `json:"methods,omitempty"`
MfaRequiredFor *SignInPolicyChangeMfaRequiredFor `json:"mfa_required_for,omitempty"`
// MinAgeHours 0 is off. At most a day.
MinAgeHours *int `json:"min_age_hours,omitempty"`
MinClasses *int `json:"min_classes,omitempty"`
MinDigits *int `json:"min_digits,omitempty"`
MinLength *int `json:"min_length,omitempty"`
MinLowercase *int `json:"min_lowercase,omitempty"`
MinSymbols *int `json:"min_symbols,omitempty"`
MinUppercase *int `json:"min_uppercase,omitempty"`
PrivacyUrl *string `json:"privacy_url,omitempty"`
PrivateHubs *bool `json:"private_hubs,omitempty"`
// RotationFrom The literal `now`, and nothing else: it asks every person in this workspace for a new password at their next sign-in and ends every session opened before this moment. One write, whatever the size of the workspace - no job walks accounts.
RotationFrom *SignInPolicyChangeRotationFrom `json:"rotation_from,omitempty"`
// SessionIdleMinutes 0 is off.
SessionIdleMinutes *int `json:"session_idle_minutes,omitempty"`
SessionMaxDays *int `json:"session_max_days,omitempty"`
TermsUrl *string `json:"terms_url,omitempty"`
// TermsVersion The terms' version, at most 64 characters without control characters; empty clears it. Refused with `auth.terms_version_without_link` where the workspace has no terms link of its own, and with `auth.terms_version_invalid` when it is too long or holds a control character.
TermsVersion *string `json:"terms_version,omitempty"`
}
SignInPolicyChange The switches, flat: the thirteen the password has, the two about factors and methods, the two session bounds, the four legal links, and the rotation as an action.
type SignInPolicyChangeMfaRequiredFor ¶
type SignInPolicyChangeMfaRequiredFor string
SignInPolicyChangeMfaRequiredFor defines model for SignInPolicyChange.MfaRequiredFor.
const ( SignInPolicyChangeMfaRequiredForADMINS SignInPolicyChangeMfaRequiredFor = "ADMINS" SignInPolicyChangeMfaRequiredForEVERYONE SignInPolicyChangeMfaRequiredFor = "EVERYONE" SignInPolicyChangeMfaRequiredForNONE SignInPolicyChangeMfaRequiredFor = "NONE" )
Defines values for SignInPolicyChangeMfaRequiredFor.
func (SignInPolicyChangeMfaRequiredFor) Valid ¶
func (e SignInPolicyChangeMfaRequiredFor) Valid() bool
Valid indicates whether the value is a known member of the SignInPolicyChangeMfaRequiredFor enum.
type SignInPolicyChangeRotationFrom ¶
type SignInPolicyChangeRotationFrom string
SignInPolicyChangeRotationFrom The literal `now`, and nothing else: it asks every person in this workspace for a new password at their next sign-in and ends every session opened before this moment. One write, whatever the size of the workspace - no job walks accounts.
const (
Now SignInPolicyChangeRotationFrom = "now"
)
Defines values for SignInPolicyChangeRotationFrom.
func (SignInPolicyChangeRotationFrom) Valid ¶
func (e SignInPolicyChangeRotationFrom) Valid() bool
Valid indicates whether the value is a known member of the SignInPolicyChangeRotationFrom enum.
type SignInPolicyFlag ¶
type SignInPolicyFlag struct {
Installation bool `json:"installation"`
// InstallationSource Who decided the level above's value - the installation or the workspace's plan, `DEFAULT` where neither did.
InstallationSource PolicySource `json:"installation_source"`
// Lock Where a lock came from, or null where there is none. The origin is answered rather than a bare boolean because "ask your administrator" and "ask your provider" are different sentences, and a screen told the wrong one sends somebody to the wrong person.
Lock *PolicyLock `json:"lock"`
// Source Where a value in force came from: Hubtask's own default, the installation, the plan, or this workspace. A screen says it beside every rule, so nobody meets a value without learning who set it - and says nothing about an installation that decided nothing, which is what a private installation is.
Source PolicySource `json:"source"`
Value bool `json:"value"`
}
SignInPolicyFlag defines model for SignInPolicyFlag.
type SignInPolicyMethods ¶
type SignInPolicyMethods struct {
Installation []SignInMethod `json:"installation"`
// InstallationSource Who decided the level above's value - the installation or the workspace's plan, `DEFAULT` where neither did.
InstallationSource PolicySource `json:"installation_source"`
// Lock Where a lock came from, or null where there is none. The origin is answered rather than a bare boolean because "ask your administrator" and "ask your provider" are different sentences, and a screen told the wrong one sends somebody to the wrong person.
Lock *PolicyLock `json:"lock"`
// Source Where a value in force came from: Hubtask's own default, the installation, the plan, or this workspace. A screen says it beside every rule, so nobody meets a value without learning who set it - and says nothing about an installation that decided nothing, which is what a private installation is.
Source PolicySource `json:"source"`
Value []SignInMethod `json:"value"`
}
SignInPolicyMethods defines model for SignInPolicyMethods.
type SignInPolicyNumber ¶
type SignInPolicyNumber struct {
// Installation What the level above set, which is what this workspace may tighten.
Installation int `json:"installation"`
// InstallationSource Who decided the level above's value - the installation or the workspace's plan, `DEFAULT` where neither did.
InstallationSource PolicySource `json:"installation_source"`
// Lock Where a lock came from, or null where there is none. The origin is answered rather than a bare boolean because "ask your administrator" and "ask your provider" are different sentences, and a screen told the wrong one sends somebody to the wrong person.
Lock *PolicyLock `json:"lock"`
// Source Where a value in force came from: Hubtask's own default, the installation, the plan, or this workspace. A screen says it beside every rule, so nobody meets a value without learning who set it - and says nothing about an installation that decided nothing, which is what a private installation is.
Source PolicySource `json:"source"`
// Value What is in force in this workspace.
Value int `json:"value"`
}
SignInPolicyNumber One numeric switch, at the levels that decide it. Zero is off for every one of them.
type SignInPolicyText ¶
type SignInPolicyText struct {
Installation string `json:"installation"`
// InstallationSource Who decided the level above's value - the installation or the workspace's plan, `DEFAULT` where neither did.
InstallationSource PolicySource `json:"installation_source"`
// Lock Where a lock came from, or null where there is none. The origin is answered rather than a bare boolean because "ask your administrator" and "ask your provider" are different sentences, and a screen told the wrong one sends somebody to the wrong person.
Lock *PolicyLock `json:"lock"`
// Source Where a value in force came from: Hubtask's own default, the installation, the plan, or this workspace. A screen says it beside every rule, so nobody meets a value without learning who set it - and says nothing about an installation that decided nothing, which is what a private installation is.
Source PolicySource `json:"source"`
Value string `json:"value"`
}
SignInPolicyText defines model for SignInPolicyText.
type SignInRules ¶
type SignInRules struct {
// Legal The links this installation's operator is obliged to show, resolved workspace -> instance -> nothing. A link that is set nowhere is **absent** rather than empty: a private installation owes nobody an imprint, and a footer of four links pointing nowhere is worse than no footer.
Legal LegalLinks `json:"legal"`
// Methods The ways in, in the order a screen draws them. `OIDC` is absent where no provider is configured, whatever the policy says: a button leading to a flow with no provider behind it is a button that answers an error.
Methods []SignInMethod `json:"methods"`
// Password What a password has to meet, as data rather than as a sentence. Each switch becomes a message code with parameters in the client, and the same codes travel in `field_errors[]` when a password is refused - so one fact has one sentence whether the client saw the refusal coming or the server sent it.
// Zero is off for every count. The rules a client can decide itself are the arithmetic ones; `common_passwords`, `breach_check`, `history_count` and `not_current` name what only the server can answer, and `/auth/password:check` is where it does.
Password PasswordRules `json:"password"`
// PasswordFallback True while `PASSWORD` is among the methods only because no other way into the workspace works - its rule leaves the password out and no provider is switched on there, whatever the cause: an offer that ended, an installation default or lock, a restore. The password opens for the accounts that hold one, under the workspace's own rules, until an administrator switches on a way in. The administrators' screen says so.
PasswordFallback *bool `json:"password_fallback,omitempty"`
Providers []ProviderSummary `json:"providers"`
// SignInNames True while this workspace has at least one managed account - a person who signs in with a sign-in name instead of an address - so the card's first field asks for either. False everywhere else, a host without a workspace included.
SignInNames *bool `json:"sign_in_names,omitempty"`
// WorkspaceHost The host this answer was resolved for, which is what the card shows.
WorkspaceHost string `json:"workspace_host"`
}
SignInRules The least a sign-in screen needs, and deliberately no more.
type SkipOccurrenceParams ¶
type SkipOccurrenceParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SkipOccurrenceParams defines parameters for SkipOccurrence.
type SortTerm ¶
type SortTerm struct {
Dir *SortTermDir `json:"dir,omitempty"`
Field string `json:"field"`
Nulls *SortTermNulls `json:"nulls,omitempty"`
}
SortTerm One ordering. Named once and read twice: `POST /items:query` sorts a view of a container, and `POST /search` sorts a workspace-wide read that has no words to rank by.
type SortTermDir ¶
type SortTermDir string
SortTermDir defines model for SortTerm.Dir.
const ( ASC SortTermDir = "ASC" DESC SortTermDir = "DESC" )
Defines values for SortTermDir.
func (SortTermDir) Valid ¶
func (e SortTermDir) Valid() bool
Valid indicates whether the value is a known member of the SortTermDir enum.
type SortTermNulls ¶
type SortTermNulls string
SortTermNulls defines model for SortTerm.Nulls.
const ( FIRST SortTermNulls = "FIRST" LAST SortTermNulls = "LAST" )
Defines values for SortTermNulls.
func (SortTermNulls) Valid ¶
func (e SortTermNulls) Valid() bool
Valid indicates whether the value is a known member of the SortTermNulls enum.
type StartAuthenticatorReplacementParams ¶
type StartAuthenticatorReplacementParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
StartAuthenticatorReplacementParams defines parameters for StartAuthenticatorReplacement.
type StartBackupJSONRequestBody ¶
type StartBackupJSONRequestBody = BackupStart
StartBackupJSONRequestBody defines body for StartBackup for application/json ContentType.
type StartInboundRunJSONBody ¶
type StartInboundRunJSONBody map[string]interface{}
StartInboundRunJSONBody defines parameters for StartInboundRun.
type StartInboundRunJSONRequestBody ¶
type StartInboundRunJSONRequestBody StartInboundRunJSONBody
StartInboundRunJSONRequestBody defines body for StartInboundRun for application/json ContentType.
type StartJumbleIntakeJSONRequestBody ¶
type StartJumbleIntakeJSONRequestBody = JumbleIntakeDelivery
StartJumbleIntakeJSONRequestBody defines body for StartJumbleIntake for application/json ContentType.
type StartOidcSignInJSONRequestBody ¶
type StartOidcSignInJSONRequestBody = OidcStart
StartOidcSignInJSONRequestBody defines body for StartOidcSignIn for application/json ContentType.
type StartPasskeyEnrollmentJSONRequestBody ¶
type StartPasskeyEnrollmentJSONRequestBody = PasskeyEnrollmentStart
StartPasskeyEnrollmentJSONRequestBody defines body for StartPasskeyEnrollment for application/json ContentType.
type StartPasskeyRegistrationParams ¶
type StartPasskeyRegistrationParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
StartPasskeyRegistrationParams defines parameters for StartPasskeyRegistration.
type StartPasswordIssued ¶
type StartPasswordIssued struct {
Account Account `json:"account"`
// StartPassword Shown here and never again. The earlier password no longer works; the person types this one with the sign-in name, and then chooses their own.
StartPassword string `json:"start_password"`
}
StartPasswordIssued defines model for StartPasswordIssued.
type StartProviderConnectJSONRequestBody ¶
type StartProviderConnectJSONRequestBody = ProviderConnectStart
StartProviderConnectJSONRequestBody defines body for StartProviderConnect for application/json ContentType.
type StartProviderConnectParams ¶
type StartProviderConnectParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
StartProviderConnectParams defines parameters for StartProviderConnect.
type StartRestoreJSONRequestBody ¶
type StartRestoreJSONRequestBody = RestoreRequest
StartRestoreJSONRequestBody defines body for StartRestore for application/json ContentType.
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StepUpGrant ¶
type StepUpGrant struct {
ExpiresAt time.Time `json:"expires_at"`
// Method What proved it - recorded in the audit trail, never the credential.
Method StepUpGrantMethod `json:"method"`
// StepUpToken Consumed by the one privileged action it is presented to.
StepUpToken string `json:"step_up_token"`
}
StepUpGrant defines model for StepUpGrant.
type StepUpGrantMethod ¶
type StepUpGrantMethod string
StepUpGrantMethod What proved it - recorded in the audit trail, never the credential.
const ( StepUpGrantMethodPASSKEY StepUpGrantMethod = "PASSKEY" StepUpGrantMethodPASSWORD StepUpGrantMethod = "PASSWORD" StepUpGrantMethodPROVIDER StepUpGrantMethod = "PROVIDER" StepUpGrantMethodRECOVERY StepUpGrantMethod = "RECOVERY" StepUpGrantMethodTOTP StepUpGrantMethod = "TOTP" )
Defines values for StepUpGrantMethod.
func (StepUpGrantMethod) Valid ¶
func (e StepUpGrantMethod) Valid() bool
Valid indicates whether the value is a known member of the StepUpGrantMethod enum.
type StepUpJSONRequestBody ¶
type StepUpJSONRequestBody = StepUpRequest
StepUpJSONRequestBody defines body for StepUp for application/json ContentType.
type StepUpRequest ¶
type StepUpRequest struct {
// AuthenticatorData The answer's `authenticatorData`.
AuthenticatorData *string `json:"authenticator_data,omitempty"`
// AuthorizationCode The code the provider issued. Presented together with `state`.
AuthorizationCode *string `json:"authorization_code,omitempty"`
// ClientDataJson The answer's `clientDataJSON`.
ClientDataJson *string `json:"client_data_json,omitempty"`
Code *string `json:"code,omitempty"`
Password *string `json:"password,omitempty"`
// RawId A passkey or security key's answer, with the three fields below - its `rawId`.
RawId *string `json:"raw_id,omitempty"`
// RecoveryCode One of the account's recovery codes. Consumed, as at sign-in.
RecoveryCode *string `json:"recovery_code,omitempty"`
// Signature The answer's `signature`.
Signature *string `json:"signature,omitempty"`
// State The handle `POST /auth/step-up:provider` minted, as the provider echoed it.
State *string `json:"state,omitempty"`
}
StepUpRequest Exactly one method: the password; the authenticator's current code; a recovery code; a passkey or security key's answer to the options of `POST /auth/step-up:passkey-options`; or, for `PROVIDER`, the `state` and `authorization_code` the provider sent the browser back with after `POST /auth/step-up:provider`. Each proves the person holding the session is still the person who opened it.
type StreamChangesParams ¶
type StreamChangesParams struct {
// LastEventID The cursor to resume from, as the stream last sent it. Absent means "from now": a client with no cursor is starting fresh and should pull rather than ask the stream for history.
LastEventID *string `json:"Last-Event-ID,omitempty"`
}
StreamChangesParams defines parameters for StreamChanges.
type StructureChange ¶
type StructureChange struct {
// Narrowing What happens to the entries the change hides by their level; absent is `HIDE`. `HIDE` keeps them where they are, stored and marked hidden, and switching back shows them again. `FLATTEN` moves each of them, deepest first, to the top level of its collection as an entry of the top level's type, puts a label named after its former parent's title on it (a label of the collection, created where none has that name), and records the move in its history; switching back does not undo it. For a hub, it applies to every collection that follows it.
Narrowing *StructureChangeNarrowing `json:"narrowing,omitempty"`
Preset *StructureChangePreset `json:"preset,omitempty"`
// PresetId A saved preset to copy instead - the workspace's, the installation's or the caller's own; any other is refused with `presets.unknown`. Naming it beside `preset` is refused with `presets.both_named`.
PresetId *openapi_types.UUID `json:"preset_id,omitempty"`
Reset *[]StructureSettingName `json:"reset,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings *StructureSettings `json:"settings,omitempty"`
}
StructureChange A change of a hub's or collection's own structure. Applied in this order: the preset, the settings, the resets.
type StructureChangeNarrowing ¶
type StructureChangeNarrowing string
StructureChangeNarrowing What happens to the entries the change hides by their level; absent is `HIDE`. `HIDE` keeps them where they are, stored and marked hidden, and switching back shows them again. `FLATTEN` moves each of them, deepest first, to the top level of its collection as an entry of the top level's type, puts a label named after its former parent's title on it (a label of the collection, created where none has that name), and records the move in its history; switching back does not undo it. For a hub, it applies to every collection that follows it.
const ( FLATTEN StructureChangeNarrowing = "FLATTEN" HIDE StructureChangeNarrowing = "HIDE" )
Defines values for StructureChangeNarrowing.
func (StructureChangeNarrowing) Valid ¶
func (e StructureChangeNarrowing) Valid() bool
Valid indicates whether the value is a known member of the StructureChangeNarrowing enum.
type StructureChangePreset ¶
type StructureChangePreset string
StructureChangePreset defines model for StructureChange.Preset.
const ( StructureChangePresetFLOW StructureChangePreset = "FLOW" StructureChangePresetLIST StructureChangePreset = "LIST" StructureChangePresetPROJECT StructureChangePreset = "PROJECT" StructureChangePresetTASKS StructureChangePreset = "TASKS" )
Defines values for StructureChangePreset.
func (StructureChangePreset) Valid ¶
func (e StructureChangePreset) Valid() bool
Valid indicates whether the value is a known member of the StructureChangePreset enum.
type StructureCounts ¶
type StructureCounts struct {
FieldKey *string `json:"field_key,omitempty"`
Figure StructureCountsFigure `json:"figure"`
}
StructureCounts What counts in the collection: open entries, the sum of a number field (named by `field_key`), what is due, the week's rhythm, progress, flow, or nothing. The server counts the figure and answers it on the collection's read (`figure`); a client draws it. `PROGRESS` is offered only where more than one level is in force: a write that sets it where one is answers `structure.figure_not_offered`, and where layers bring the two together the structure in force says `OPEN` and `counts_clipped` says why.
type StructureCountsClip ¶
type StructureCountsClip struct {
// From What counts in the collection: open entries, the sum of a number field (named by `field_key`), what is due, the week's rhythm, progress, flow, or nothing. The server counts the figure and answers it on the collection's read (`figure`); a client draws it. `PROGRESS` is offered only where more than one level is in force: a write that sets it where one is answers `structure.figure_not_offered`, and where layers bring the two together the structure in force says `OPEN` and `counts_clipped` says why.
From StructureCounts `json:"from"`
Reason StructureCountsClipReason `json:"reason"`
}
StructureCountsClip Present where the layers say `PROGRESS` and the levels in force are one: `counts` is then `OPEN`, a list never showing a percentage. `from` is what the layers say; `sources.counts` still names where it was set.
type StructureCountsClipReason ¶
type StructureCountsClipReason string
StructureCountsClipReason defines model for StructureCountsClip.Reason.
const (
ONELEVEL StructureCountsClipReason = "ONE_LEVEL"
)
Defines values for StructureCountsClipReason.
func (StructureCountsClipReason) Valid ¶
func (e StructureCountsClipReason) Valid() bool
Valid indicates whether the value is a known member of the StructureCountsClipReason enum.
type StructureCountsFigure ¶
type StructureCountsFigure string
StructureCountsFigure defines model for StructureCounts.Figure.
const ( StructureCountsFigureDUE StructureCountsFigure = "DUE" StructureCountsFigureFIELDSUM StructureCountsFigure = "FIELD_SUM" StructureCountsFigureFLOW StructureCountsFigure = "FLOW" StructureCountsFigureNONE StructureCountsFigure = "NONE" StructureCountsFigureOPEN StructureCountsFigure = "OPEN" StructureCountsFigurePROGRESS StructureCountsFigure = "PROGRESS" StructureCountsFigureRHYTHM StructureCountsFigure = "RHYTHM" )
Defines values for StructureCountsFigure.
func (StructureCountsFigure) Valid ¶
func (e StructureCountsFigure) Valid() bool
Valid indicates whether the value is a known member of the StructureCountsFigure enum.
type StructureLevel ¶
type StructureLevel struct {
// DoneName What the level's done entries are shown under, such as "In the trolley" - a name a person chose, under the same rule as the level's own. Without one, a client shows its translated name for done entries.
DoneName *string `json:"done_name,omitempty"`
// Name The level's own name, counted in code points after trimming.
Name *string `json:"name,omitempty"`
// Type Extensible; /meta/capabilities returns the valid values.
Type ItemType `json:"type"`
}
StructureLevel defines model for StructureLevel.
type StructureLevelFields ¶
type StructureLevelFields struct {
// Capabilities The capabilities this type carries, out of those `/meta/capabilities` lists for it. AMOUNT is carried only where a layer names it.
Capabilities []string `json:"capabilities"`
// Categories The labels this type's entries are grouped by, in their order: an entry sits under the first of them it carries. Only beside LABELS, and only on a collection's own layer; each a label of that collection (`structure.category_unknown` otherwise). A label deleted afterwards stays named and is skipped by clients.
Categories *[]openapi_types.UUID `json:"categories,omitempty"`
}
StructureLevelFields defines model for StructureLevelFields.
type StructureLock ¶
type StructureLock struct {
// LockedBy The account that set the lock, where a person did.
LockedBy *openapi_types.UUID `json:"locked_by,omitempty"`
Origin StructureLockOrigin `json:"origin"`
}
StructureLock defines model for StructureLock.
type StructureLockOrigin ¶
type StructureLockOrigin string
StructureLockOrigin defines model for StructureLock.Origin.
const ( StructureLockOriginINSTANCE StructureLockOrigin = "INSTANCE" StructureLockOriginPLAN StructureLockOrigin = "PLAN" StructureLockOriginWORKSPACE StructureLockOrigin = "WORKSPACE" )
Defines values for StructureLockOrigin.
func (StructureLockOrigin) Valid ¶
func (e StructureLockOrigin) Valid() bool
Valid indicates whether the value is a known member of the StructureLockOrigin enum.
type StructurePreview ¶
type StructurePreview struct {
// Automation What runs by itself now and would pause.
Automation []string `json:"automation"`
// Fields The capabilities whose values would no longer be shown on entries that stay shown, and on how many entries a value would be.
Fields []struct {
Capability string `json:"capability"`
Entries int `json:"entries"`
// Type Extensible; /meta/capabilities returns the valid values.
Type ItemType `json:"type"`
} `json:"fields"`
// Flatten What `narrowing: FLATTEN` would do: how many entries it would move to the top level. It cannot be undone by switching back.
Flatten struct {
Entries int `json:"entries"`
} `json:"flatten"`
// Keeping For a hub: the collections that follow it but keep their own value of a setting the change moves, and which settings. Empty for a collection.
Keeping []struct {
ContainerId openapi_types.UUID `json:"container_id"`
Name string `json:"name"`
Settings []StructureSettingName `json:"settings"`
} `json:"keeping"`
// Levels The levels whose entries would no longer be shown, and how many entries each - an entry counts under its own level when the change hides it or a level above it.
Levels []struct {
Entries int `json:"entries"`
// Type Extensible; /meta/capabilities returns the valid values.
Type ItemType `json:"type"`
} `json:"levels"`
// Narrows Whether anything shown now would no longer be shown.
Narrows bool `json:"narrows"`
// Views The views no longer offered.
Views []StructurePreviewViews `json:"views"`
}
StructurePreview What a change of structure would stop showing. Nothing it names is deleted by the change: hidden entries and values stay stored and come back when the structure offers them again. Trashed entries are not counted.
type StructurePreviewViews ¶
type StructurePreviewViews string
StructurePreviewViews defines model for StructurePreview.Views.
const ( StructurePreviewViewsKANBAN StructurePreviewViews = "KANBAN" StructurePreviewViewsLISTCOLLAPSED StructurePreviewViews = "LIST_COLLAPSED" StructurePreviewViewsLISTEXPANDED StructurePreviewViews = "LIST_EXPANDED" StructurePreviewViewsTIMELINE StructurePreviewViews = "TIMELINE" )
Defines values for StructurePreviewViews.
func (StructurePreviewViews) Valid ¶
func (e StructurePreviewViews) Valid() bool
Valid indicates whether the value is a known member of the StructurePreviewViews enum.
type StructureSettingName ¶
type StructureSettingName string
StructureSettingName defines model for StructureSettingName.
const ( StructureSettingNameAutomation StructureSettingName = "automation" StructureSettingNameCapture StructureSettingName = "capture" StructureSettingNameCelebration StructureSettingName = "celebration" StructureSettingNameCompletion StructureSettingName = "completion" StructureSettingNameCounts StructureSettingName = "counts" StructureSettingNameFields StructureSettingName = "fields" StructureSettingNameLevels StructureSettingName = "levels" StructureSettingNameViews StructureSettingName = "views" )
Defines values for StructureSettingName.
func (StructureSettingName) Valid ¶
func (e StructureSettingName) Valid() bool
Valid indicates whether the value is a known member of the StructureSettingName enum.
type StructureSettings ¶
type StructureSettings struct {
// Automation What the collection applies by itself, a closed set. REQUIRED_BEYOND_FIRST_COLUMN: an entry enters a column of the board after the first only with every required custom field of its type set; a move, a creation or an edit that would place it there without one is refused with `validation_failed` and the detail `items.required_fields_missing`, naming the fields. The first column, no column and moves within a column are never refused, and a value is never cleared by it.
Automation *[]StructureSettingsAutomation `json:"automation,omitempty"`
// Capture What a capture field recognises when it adds to this collection: several lines as several entries, a leading amount, a date, a person, a label. Applied by clients.
Capture *[]StructureSettingsCapture `json:"capture,omitempty"`
// Celebration How success is shown: every tier of celebration, or the subtle first one alone. Applied by clients; a person's own `celebrations` preference switches it off.
Celebration *StructureSettingsCelebration `json:"celebration,omitempty"`
// Completion Whether a child's completion propagates upwards. MANUAL leaves the parent alone; ROLLUP completes it when its last open child is completed and reopens it when any child is reopened. /meta/capabilities returns the valid values.
Completion *CompletionPolicy `json:"completion,omitempty"`
// Counts What counts in the collection: open entries, the sum of a number field (named by `field_key`), what is due, the week's rhythm, progress, flow, or nothing. The server counts the figure and answers it on the collection's read (`figure`); a client draws it. `PROGRESS` is offered only where more than one level is in force: a write that sets it where one is answers `structure.figure_not_offered`, and where layers bring the two together the structure in force says `OPEN` and `counts_clipped` says why.
Counts *StructureCounts `json:"counts,omitempty"`
// Fields What each item type carries, keyed by type. A type left out carries everything this installation offers it. Completion cannot be left out.
Fields *map[string]StructureLevelFields `json:"fields,omitempty"`
// Levels The item types offered, top-down. The top level is always among them, and a type only beneath one of its parent types. A name is what a person chose to call the level; it is their content. Without one, a client shows its translated name for the type.
Levels *[]StructureLevel `json:"levels,omitempty"`
// Views The layouts a client offers, and the one it opens with. Applied by clients.
Views *StructureViews `json:"views,omitempty"`
}
StructureSettings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
type StructureSettingsAutomation ¶
type StructureSettingsAutomation string
StructureSettingsAutomation defines model for StructureSettings.Automation.
const (
REQUIREDBEYONDFIRSTCOLUMN StructureSettingsAutomation = "REQUIRED_BEYOND_FIRST_COLUMN"
)
Defines values for StructureSettingsAutomation.
func (StructureSettingsAutomation) Valid ¶
func (e StructureSettingsAutomation) Valid() bool
Valid indicates whether the value is a known member of the StructureSettingsAutomation enum.
type StructureSettingsCapture ¶
type StructureSettingsCapture string
StructureSettingsCapture defines model for StructureSettings.Capture.
const ( StructureSettingsCaptureAMOUNT StructureSettingsCapture = "AMOUNT" StructureSettingsCaptureDATE StructureSettingsCapture = "DATE" StructureSettingsCaptureLABEL StructureSettingsCapture = "LABEL" StructureSettingsCaptureLINES StructureSettingsCapture = "LINES" StructureSettingsCapturePERSON StructureSettingsCapture = "PERSON" )
Defines values for StructureSettingsCapture.
func (StructureSettingsCapture) Valid ¶
func (e StructureSettingsCapture) Valid() bool
Valid indicates whether the value is a known member of the StructureSettingsCapture enum.
type StructureSettingsCelebration ¶
type StructureSettingsCelebration string
StructureSettingsCelebration How success is shown: every tier of celebration, or the subtle first one alone. Applied by clients; a person's own `celebrations` preference switches it off.
const ( StructureSettingsCelebrationALL StructureSettingsCelebration = "ALL" StructureSettingsCelebrationSUBTLE StructureSettingsCelebration = "SUBTLE" )
Defines values for StructureSettingsCelebration.
func (StructureSettingsCelebration) Valid ¶
func (e StructureSettingsCelebration) Valid() bool
Valid indicates whether the value is a known member of the StructureSettingsCelebration enum.
type StructureViews ¶
type StructureViews struct {
Default StructureViewsDefault `json:"default"`
Offered []StructureViewsOffered `json:"offered"`
}
StructureViews The layouts a client offers, and the one it opens with. Applied by clients.
type StructureViewsDefault ¶
type StructureViewsDefault string
StructureViewsDefault defines model for StructureViews.Default.
const ( StructureViewsDefaultKANBAN StructureViewsDefault = "KANBAN" StructureViewsDefaultLISTCOLLAPSED StructureViewsDefault = "LIST_COLLAPSED" StructureViewsDefaultLISTEXPANDED StructureViewsDefault = "LIST_EXPANDED" StructureViewsDefaultTIMELINE StructureViewsDefault = "TIMELINE" )
Defines values for StructureViewsDefault.
func (StructureViewsDefault) Valid ¶
func (e StructureViewsDefault) Valid() bool
Valid indicates whether the value is a known member of the StructureViewsDefault enum.
type StructureViewsOffered ¶
type StructureViewsOffered string
StructureViewsOffered defines model for StructureViews.Offered.
const ( StructureViewsOfferedKANBAN StructureViewsOffered = "KANBAN" StructureViewsOfferedLISTCOLLAPSED StructureViewsOffered = "LIST_COLLAPSED" StructureViewsOfferedLISTEXPANDED StructureViewsOffered = "LIST_EXPANDED" StructureViewsOfferedTIMELINE StructureViewsOffered = "TIMELINE" )
Defines values for StructureViewsOffered.
func (StructureViewsOffered) Valid ¶
func (e StructureViewsOffered) Valid() bool
Valid indicates whether the value is a known member of the StructureViewsOffered enum.
type SubmitJumbleEntryJSONRequestBody ¶
type SubmitJumbleEntryJSONRequestBody = JumbleEntrySubmit
SubmitJumbleEntryJSONRequestBody defines body for SubmitJumbleEntry for application/json ContentType.
type SubmitJumbleEntryParams ¶
type SubmitJumbleEntryParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SubmitJumbleEntryParams defines parameters for SubmitJumbleEntry.
type SuggestDecompositionParams ¶
type SuggestDecompositionParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SuggestDecompositionParams defines parameters for SuggestDecomposition.
type SuggestFromJumbleEntryParams ¶
type SuggestFromJumbleEntryParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
SuggestFromJumbleEntryParams defines parameters for SuggestFromJumbleEntry.
type Suggestion ¶
type Suggestion struct {
CreatedAt time.Time `json:"created_at"`
// DecidedAt When it was accepted or dismissed.
DecidedAt *time.Time `json:"decided_at,omitempty"`
// DecidedBy Who accepted or dismissed it. A suggestion is decided by a person.
DecidedBy *openapi_types.UUID `json:"decided_by,omitempty"`
// DroppedNodes How many parts of the provider's answer the narrowing dropped before the payload was stored, so that a client can say the draft is not the whole answer. For `TEMPLATE` it is the nodes the collection's profile refused under their parent, each counted with its subtree; zero for every other kind, whose narrowing drops what it drops without a count. Absent on a row written before the count existed, which reads as zero.
DroppedNodes *int `json:"dropped_nodes,omitempty"`
Id openapi_types.UUID `json:"id"`
// Kind What accepting does, which is the only thing a kind has to say. `FIELDS` proposes values for the target entry; `DECOMPOSITION` proposes a tree of entries under it. A summary and a classification are `FIELDS` suggestions whose payload happens to be notes or labels — they are not kinds of their own, because accepting them is the same act.
// `TEMPLATE` proposes a template for the collection it targets: its payload is a `TemplateInput`, and accepting it is `CreateTemplate` performed by the accepting person.
// `RULE` proposes an automation rule drafted from a sentence, about the account that asked; accepting it is `CreateRule` performed by that person, so the rule is stored switched off.
// `ANSWER` is a proposed answer to a question, about the account that asked. Like `DUPLICATES` nothing accepts it — it performs no action — and `:dismiss` closes it. `ENTRIES` proposes entries for a collection, made from a piece of text the person pasted, about the account that asked; accepting creates the entries taken — all, or some — with `CreateWorkItem` performed by that person.
// `DUPLICATES` is the one kind nothing accepts. It says which entries look like this one, and what to do about that is a person's decision through the ordinary use cases — `:accept` refuses it and `:dismiss` closes it. It is also the one kind no prompt produced, so its `prompt_id` and `prompt_version` are empty and its `model` names the embedding model whose vectors were compared.
Kind SuggestionKind `json:"kind"`
// Model The model that answered, as the provider named it — not as it was configured.
Model string `json:"model"`
// Payload What was proposed, in the shape the kind fixes. For `FIELDS` it is the fields of the target entry, and about a jumble entry it may also carry `subtasks` — the titles the material implied, which accepting creates under the converted entry rather than setting on it. For `DECOMPOSITION` it is a tree of entries proposed under the target. For `DUPLICATES` it is `duplicates`: the entries that look like this one, nearest first, each with the identifier and the similarity that put it there — identifiers only, so what a reader sees of them is what they could have read anyway. For `TEMPLATE` it is a `TemplateInput` for the target collection. For `RULE` it is part of an `AutomationRuleCreate` — `scope`, `trigger`, `conditions`, `actions` — and `not_drafted`, what of the sentence could not be drafted: entries with `part` (words quoted from the sentence) or `code` and `params` (a message code). For `ANSWER` it is `answer` (the proposed answer, at most 2000 characters), `source_ids` (at most five entries it rests on, each one the asker could read when asked) and, where the question is a filter, `filter`: an object of `place_id` and `place_type` (`HUB` or `COLLECTION`), `is_completed`, `due` (`overdue`, `today`, `next_7_days` or `this_month`), `assignee_id` and `label_ids`, each present only where implied. For `ENTRIES` it is `collection_id`, `type` — the level the entries are created at — and `entries`, each with a `key` and a `title`, and `notes`, `amount` (text) or `due_date` (`YYYY-MM-DD`) only where the collection carries them. It is data, never an instruction, and nothing acts on it until somebody accepts.
Payload map[string]interface{} `json:"payload"`
// ProducedAt When the provider answered, which is not when the record was written.
ProducedAt time.Time `json:"produced_at"`
PromptId string `json:"prompt_id"`
// PromptVersion Which version of the prompt produced this. Prompt files are versioned in their names and the old ones stay, so this resolves to the actual words a year later.
PromptVersion string `json:"prompt_version"`
// Source Where the proposal came from. One value today, and a field rather than an assumption: a suggestion whose origin is not recorded is one nobody can tell from a person's own draft.
Source SuggestionSource `json:"source"`
// Status `DISMISSED` is a state and not a deletion, so "what was proposed and turned down" has an answer; the retention engine ages both decided states out by rule.
Status SuggestionStatus `json:"status"`
TargetId openapi_types.UUID `json:"target_id"`
// TargetType What the suggestion is about. `CONTAINER` is a collection rather than an entry: a summary of how it stands is about the collection, and nothing accepts one — a collection has nowhere to put a status summary, so it is read and dismissed. `ACCOUNT` is the person who asked, for a draft of something that does not exist yet — a rule, or entries made from pasted text — or for an answer to their question: only that account lists, accepts or dismisses it.
TargetType SuggestionTargetType `json:"target_type"`
// Version The optimistic lock, as everywhere else.
Version int `json:"version"`
}
Suggestion One thing AI proposed about one entry, with its provenance. It has changed nothing: what a suggestion is, is a record.
type SuggestionAcceptance ¶
type SuggestionAcceptance struct {
// Overrides Fields of the proposal to replace or add, key by key. A jumble suggestion needs the destination collection here, because a model cannot know which collections a workspace has; a `RULE` draft needs `name` and `run_as`. For an `ENTRIES` proposal they are laid over every entry taken; its collection and level stay the proposal's.
Overrides *map[string]interface{} `json:"overrides,omitempty"`
// Take For an `ENTRIES` proposal only: the `key`s of the entries to create now. Absent takes every entry left. A key the proposal does not hold is refused with `suggestions.entry_unknown`.
Take *[]string `json:"take,omitempty"`
}
SuggestionAcceptance What the person changed or added before accepting. Merged over the proposal; every value is checked by the use case that performs the change, with the accepting person's rights.
type SuggestionId ¶
type SuggestionId = openapi_types.UUID
SuggestionId defines model for SuggestionId.
type SuggestionKind ¶
type SuggestionKind string
SuggestionKind What accepting does, which is the only thing a kind has to say. `FIELDS` proposes values for the target entry; `DECOMPOSITION` proposes a tree of entries under it. A summary and a classification are `FIELDS` suggestions whose payload happens to be notes or labels — they are not kinds of their own, because accepting them is the same act. `TEMPLATE` proposes a template for the collection it targets: its payload is a `TemplateInput`, and accepting it is `CreateTemplate` performed by the accepting person. `RULE` proposes an automation rule drafted from a sentence, about the account that asked; accepting it is `CreateRule` performed by that person, so the rule is stored switched off. `ANSWER` is a proposed answer to a question, about the account that asked. Like `DUPLICATES` nothing accepts it — it performs no action — and `:dismiss` closes it. `ENTRIES` proposes entries for a collection, made from a piece of text the person pasted, about the account that asked; accepting creates the entries taken — all, or some — with `CreateWorkItem` performed by that person. `DUPLICATES` is the one kind nothing accepts. It says which entries look like this one, and what to do about that is a person's decision through the ordinary use cases — `:accept` refuses it and `:dismiss` closes it. It is also the one kind no prompt produced, so its `prompt_id` and `prompt_version` are empty and its `model` names the embedding model whose vectors were compared.
const ( ANSWER SuggestionKind = "ANSWER" DECOMPOSITION SuggestionKind = "DECOMPOSITION" DUPLICATES SuggestionKind = "DUPLICATES" ENTRIES SuggestionKind = "ENTRIES" FIELDS SuggestionKind = "FIELDS" RULE SuggestionKind = "RULE" TEMPLATE SuggestionKind = "TEMPLATE" )
Defines values for SuggestionKind.
func (SuggestionKind) Valid ¶
func (e SuggestionKind) Valid() bool
Valid indicates whether the value is a known member of the SuggestionKind enum.
type SuggestionPage ¶
type SuggestionPage struct {
HasMore bool `json:"has_more"`
Items []Suggestion `json:"items"`
NextCursor *string `json:"next_cursor,omitempty"`
}
SuggestionPage defines model for SuggestionPage.
type SuggestionSource ¶
type SuggestionSource string
SuggestionSource Where the proposal came from. One value today, and a field rather than an assumption: a suggestion whose origin is not recorded is one nobody can tell from a person's own draft.
const (
SuggestionSourceAI SuggestionSource = "AI"
)
Defines values for SuggestionSource.
func (SuggestionSource) Valid ¶
func (e SuggestionSource) Valid() bool
Valid indicates whether the value is a known member of the SuggestionSource enum.
type SuggestionStatus ¶
type SuggestionStatus string
SuggestionStatus `DISMISSED` is a state and not a deletion, so "what was proposed and turned down" has an answer; the retention engine ages both decided states out by rule.
const ( SuggestionStatusACCEPTED SuggestionStatus = "ACCEPTED" SuggestionStatusDISMISSED SuggestionStatus = "DISMISSED" SuggestionStatusPROPOSED SuggestionStatus = "PROPOSED" )
Defines values for SuggestionStatus.
func (SuggestionStatus) Valid ¶
func (e SuggestionStatus) Valid() bool
Valid indicates whether the value is a known member of the SuggestionStatus enum.
type SuggestionTargetType ¶
type SuggestionTargetType string
SuggestionTargetType What the suggestion is about. `CONTAINER` is a collection rather than an entry: a summary of how it stands is about the collection, and nothing accepts one — a collection has nowhere to put a status summary, so it is read and dismissed. `ACCOUNT` is the person who asked, for a draft of something that does not exist yet — a rule, or entries made from pasted text — or for an answer to their question: only that account lists, accepts or dismisses it.
const ( SuggestionTargetTypeACCOUNT SuggestionTargetType = "ACCOUNT" SuggestionTargetTypeCONTAINER SuggestionTargetType = "CONTAINER" SuggestionTargetTypeJUMBLEENTRY SuggestionTargetType = "JUMBLE_ENTRY" SuggestionTargetTypeWORKITEM SuggestionTargetType = "WORK_ITEM" )
Defines values for SuggestionTargetType.
func (SuggestionTargetType) Valid ¶
func (e SuggestionTargetType) Valid() bool
Valid indicates whether the value is a known member of the SuggestionTargetType enum.
type SyncChange ¶
type SyncChange struct {
// ActorId Who made the change; absent for the installation's own.
ActorId *openapi_types.UUID `json:"actor_id,omitempty"`
ContainerId *openapi_types.UUID `json:"container_id,omitempty"`
// DeviceId The device whose push caused it, so that device can skip its own echo; absent for a change made through the API.
DeviceId *openapi_types.UUID `json:"device_id,omitempty"`
Entity string `json:"entity"`
EntityId openapi_types.UUID `json:"entity_id"`
Hlc *string `json:"hlc,omitempty"`
// OccurredAt When the change was recorded, for a client to render and an operator to line up
// against a log. Not the cursor and not usable as one: the sequence orders the walk, and
// a timestamp two transactions can share is not a total order.
OccurredAt *time.Time `json:"occurred_at,omitempty"`
Op SyncChangeOp `json:"op"`
// Payload What moved. On a creation, and on every record of an initial synchronisation, the whole
// object; on a change, only the fields that changed - one record per field, each under its
// own clock, because the merge rule is last writer wins *per field* and a record carrying
// the whole object would let a stale value win a merge it should never have entered. A
// set change carries `set`, `element_id` and `op`. Absent on
// `DELETE` and `ACCESS_REVOKED`: a tombstone carries no content by design.
Payload *map[string]interface{} `json:"payload,omitempty"`
}
SyncChange defines model for SyncChange.
type SyncChangeOp ¶
type SyncChangeOp string
SyncChangeOp defines model for SyncChange.Op.
const ( SyncChangeOpACCESSREVOKED SyncChangeOp = "ACCESS_REVOKED" SyncChangeOpDELETE SyncChangeOp = "DELETE" SyncChangeOpUPSERT SyncChangeOp = "UPSERT" )
Defines values for SyncChangeOp.
func (SyncChangeOp) Valid ¶
func (e SyncChangeOp) Valid() bool
Valid indicates whether the value is a known member of the SyncChangeOp enum.
type SyncDevice ¶
type SyncDevice struct {
// Blocked Forgotten; every contact from the identifier is refused.
Blocked bool `json:"blocked"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
Id openapi_types.UUID `json:"id"`
// LastCursor Where the device last stood in the log, as an opaque cursor it could resume from.
LastCursor *string `json:"last_cursor,omitempty"`
LastSeenAt *time.Time `json:"last_seen_at,omitempty"`
Platform *string `json:"platform,omitempty"`
}
SyncDevice defines model for SyncDevice.
type SyncMutation ¶
type SyncMutation struct {
BaseVersion *int `json:"base_version,omitempty"`
Element *openapi_types.UUID `json:"element,omitempty"`
// Fields Per-field changes, each field with its own HLC.
Fields *map[string]struct {
Hlc *string `json:"hlc,omitempty"`
Value interface{} `json:"value,omitempty"`
} `json:"fields,omitempty"`
Hlc *string `json:"hlc,omitempty"`
// ItemId Assigned by the client (UUIDv7), including on CREATE
ItemId *openapi_types.UUID `json:"item_id,omitempty"`
Kind SyncMutationKind `json:"kind"`
// OpId The idempotency key. The server keeps it for the maximum offline window - the `tombstone_window_days` a pull answers, 90 days by default - so a mutation pushed again within that window takes effect exactly once.
OpId openapi_types.UUID `json:"op_id"`
Payload *map[string]interface{} `json:"payload,omitempty"`
// Set Which set of the entry the element belongs to. For `attachments`, a device that
// captured a file offline uploads it once online - the upload needs the store - and then
// pushes the `SET_ADD` that attaches it. `watchers`
// is answered `sync.set_unavailable` until a use case writes a watcher.
Set *SyncMutationSet `json:"set,omitempty"`
}
SyncMutation defines model for SyncMutation.
type SyncMutationKind ¶
type SyncMutationKind string
SyncMutationKind defines model for SyncMutation.Kind.
const ( COMMENTADD SyncMutationKind = "COMMENT_ADD" ITEMCREATE SyncMutationKind = "ITEM_CREATE" ITEMDELETE SyncMutationKind = "ITEM_DELETE" ITEMPATCH SyncMutationKind = "ITEM_PATCH" MOVE SyncMutationKind = "MOVE" SETADD SyncMutationKind = "SET_ADD" SETREMOVE SyncMutationKind = "SET_REMOVE" )
Defines values for SyncMutationKind.
func (SyncMutationKind) Valid ¶
func (e SyncMutationKind) Valid() bool
Valid indicates whether the value is a known member of the SyncMutationKind enum.
type SyncMutationResult ¶
type SyncMutationResult struct {
// Conflict Both versions on CONFLICT; the displaced one is preserved as a system comment.
Conflict *struct {
Field *string `json:"field,omitempty"`
Mine interface{} `json:"mine,omitempty"`
PreservedCommentId *openapi_types.UUID `json:"preserved_comment_id,omitempty"`
Theirs interface{} `json:"theirs,omitempty"`
} `json:"conflict,omitempty"`
EntityId *openapi_types.UUID `json:"entity_id,omitempty"`
Error *struct {
Code *string `json:"code,omitempty"`
MessageCode *string `json:"message_code,omitempty"`
} `json:"error,omitempty"`
OpId openapi_types.UUID `json:"op_id"`
Result SyncMutationResultResult `json:"result"`
ServerState *map[string]interface{} `json:"server_state,omitempty"`
}
SyncMutationResult defines model for SyncMutationResult.
type SyncMutationResultResult ¶
type SyncMutationResultResult string
SyncMutationResultResult defines model for SyncMutationResult.Result.
const ( SyncMutationResultResultAPPLIED SyncMutationResultResult = "APPLIED" SyncMutationResultResultCONFLICT SyncMutationResultResult = "CONFLICT" SyncMutationResultResultMERGED SyncMutationResultResult = "MERGED" SyncMutationResultResultREJECTED SyncMutationResultResult = "REJECTED" )
Defines values for SyncMutationResultResult.
func (SyncMutationResultResult) Valid ¶
func (e SyncMutationResultResult) Valid() bool
Valid indicates whether the value is a known member of the SyncMutationResultResult enum.
type SyncMutationSet ¶
type SyncMutationSet string
SyncMutationSet Which set of the entry the element belongs to. For `attachments`, a device that captured a file offline uploads it once online - the upload needs the store - and then pushes the `SET_ADD` that attaches it. `watchers` is answered `sync.set_unavailable` until a use case writes a watcher.
const ( SyncMutationSetAttachments SyncMutationSet = "attachments" SyncMutationSetLabels SyncMutationSet = "labels" SyncMutationSetLessThannil SyncMutationSet = "<nil>" SyncMutationSetMembers SyncMutationSet = "members" SyncMutationSetWatchers SyncMutationSet = "watchers" )
Defines values for SyncMutationSet.
func (SyncMutationSet) Valid ¶
func (e SyncMutationSet) Valid() bool
Valid indicates whether the value is a known member of the SyncMutationSet enum.
type SyncPullJSONRequestBody ¶
type SyncPullJSONRequestBody = SyncPullRequest
SyncPullJSONRequestBody defines body for SyncPull for application/json ContentType.
type SyncPullRequest ¶
type SyncPullRequest struct {
// Cursor Opaque; NULL means an initial synchronisation.
Cursor *string `json:"cursor,omitempty"`
// DeviceId The device asking, minted by the client (UUIDv7) and kept in its own store. A device
// registers by turning up: the first pull or push under an identifier the account has not
// used writes its row, and every contact after that moves `last_seen_at` and the cursor.
// An identifier another account already uses is `sync.device_foreign`; one this account
// forgot is `sync.device_revoked` until the client mints a new one.
DeviceId openapi_types.UUID `json:"device_id"`
// DisplayName How the device introduces itself in the list - "Anna's phone". Optional; the last value sent stands.
DisplayName *string `json:"display_name,omitempty"`
Limit *int `json:"limit,omitempty"`
// Platform What the device is - `ios`, `android`, `desktop-macos`, `hubctl` - for the device list. Optional; the last value sent stands.
Platform *string `json:"platform,omitempty"`
// Scopes What the device wants to hold. No scope means everything the caller may read; several
// scopes are a union. A scope narrows the page *after* the permission check, never
// instead of it.
Scopes *[]struct {
ContainerId *openapi_types.UUID `json:"container_id,omitempty"`
// Depth Counted in containers. `SELF` is the container and what it holds directly - its
// entries, labels and buckets; `CHILDREN` adds its child containers and what they
// hold; `SUBTREE` every level below. A change is filed under the container of the
// object it concerns, so an entry's change is in its collection's `SELF` and in its
// hub's `CHILDREN`.
Depth *SyncPullRequestScopesDepth `json:"depth,omitempty"`
} `json:"scopes,omitempty"`
}
SyncPullRequest defines model for SyncPullRequest.
type SyncPullRequestScopesDepth ¶
type SyncPullRequestScopesDepth string
SyncPullRequestScopesDepth Counted in containers. `SELF` is the container and what it holds directly - its entries, labels and buckets; `CHILDREN` adds its child containers and what they hold; `SUBTREE` every level below. A change is filed under the container of the object it concerns, so an entry's change is in its collection's `SELF` and in its hub's `CHILDREN`.
const ( SyncPullRequestScopesDepthCHILDREN SyncPullRequestScopesDepth = "CHILDREN" SyncPullRequestScopesDepthSELF SyncPullRequestScopesDepth = "SELF" SyncPullRequestScopesDepthSUBTREE SyncPullRequestScopesDepth = "SUBTREE" )
Defines values for SyncPullRequestScopesDepth.
func (SyncPullRequestScopesDepth) Valid ¶
func (e SyncPullRequestScopesDepth) Valid() bool
Valid indicates whether the value is a known member of the SyncPullRequestScopesDepth enum.
type SyncPullResponse ¶
type SyncPullResponse struct {
Changes []SyncChange `json:"changes"`
Cursor string `json:"cursor"`
HasMore bool `json:"has_more"`
ServerTime *time.Time `json:"server_time,omitempty"`
// TombstoneWindowDays The maximum offline window before a forced resynchronisation
TombstoneWindowDays *int `json:"tombstone_window_days,omitempty"`
}
SyncPullResponse defines model for SyncPullResponse.
type SyncPushJSONRequestBody ¶
type SyncPushJSONRequestBody = SyncPushRequest
SyncPushJSONRequestBody defines body for SyncPush for application/json ContentType.
type SyncPushRequest ¶
type SyncPushRequest struct {
// DeviceId The device pushing; registered the way a pull registers it.
DeviceId openapi_types.UUID `json:"device_id"`
DisplayName *string `json:"display_name,omitempty"`
Mutations []SyncMutation `json:"mutations"`
Platform *string `json:"platform,omitempty"`
}
SyncPushRequest defines model for SyncPushRequest.
type SyncPushResponse ¶
type SyncPushResponse struct {
// Cursor The cursor after application, saving a pull.
Cursor *string `json:"cursor,omitempty"`
Results []SyncMutationResult `json:"results"`
ServerTime *time.Time `json:"server_time,omitempty"`
}
SyncPushResponse defines model for SyncPushResponse.
type SyncSnapshotJSONRequestBody ¶
type SyncSnapshotJSONRequestBody = SyncSnapshotRequest
SyncSnapshotJSONRequestBody defines body for SyncSnapshot for application/json ContentType.
type SyncSnapshotRequest ¶
type SyncSnapshotRequest struct {
// DeviceId The device asking, as on `:pull`; it registers by turning up.
DeviceId openapi_types.UUID `json:"device_id"`
DisplayName *string `json:"display_name,omitempty"`
Platform *string `json:"platform,omitempty"`
// Scopes What the device wants to hold, as on `:pull`; no scope means everything the caller may read.
Scopes *[]struct {
ContainerId *openapi_types.UUID `json:"container_id,omitempty"`
Depth *SyncSnapshotRequestScopesDepth `json:"depth,omitempty"`
} `json:"scopes,omitempty"`
}
SyncSnapshotRequest What `:pull` takes for an initial synchronisation, without a cursor or a page size.
type SyncSnapshotRequestScopesDepth ¶
type SyncSnapshotRequestScopesDepth string
SyncSnapshotRequestScopesDepth defines model for SyncSnapshotRequest.Scopes.Depth.
const ( SyncSnapshotRequestScopesDepthCHILDREN SyncSnapshotRequestScopesDepth = "CHILDREN" SyncSnapshotRequestScopesDepthSELF SyncSnapshotRequestScopesDepth = "SELF" SyncSnapshotRequestScopesDepthSUBTREE SyncSnapshotRequestScopesDepth = "SUBTREE" )
Defines values for SyncSnapshotRequestScopesDepth.
func (SyncSnapshotRequestScopesDepth) Valid ¶
func (e SyncSnapshotRequestScopesDepth) Valid() bool
Valid indicates whether the value is a known member of the SyncSnapshotRequestScopesDepth enum.
type Template ¶
type Template struct {
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description,omitempty"`
Id openapi_types.UUID `json:"id"`
Name string `json:"name"`
// Nodes The tree, roots first. Each node carries its own children, so the document is the shape the template stamps out rather than a flat list with parent pointers.
Nodes []TemplateNode `json:"nodes"`
// RootType Extensible; /meta/capabilities returns the valid values.
RootType ItemType `json:"root_type"`
// ScopeId The container the template is defined in. Null for a workspace-wide one.
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
// ScopeType Where the template is defined and therefore who can use it: the whole workspace, one hub and everything under it, or one collection. Defining one workspace-wide is an administrator's act; defining one in a container follows the role matrix there.
ScopeType TemplateScope `json:"scope_type"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
Template defines model for Template.
type TemplateGeneration ¶
type TemplateGeneration struct {
// CollectionId The collection the template is drafted for and would be defined in. The draft's scope is `COLLECTION` and this container; a model names no destination.
CollectionId openapi_types.UUID `json:"collection_id"`
// Description What the template should produce, in the caller's own words — "onboarding a new colleague, with the accounts to create and the introductions in the first week". It travels to the provider as content, never as instruction.
Description string `json:"description"`
}
TemplateGeneration What to ask for, and where the template would belong.
type TemplateInput ¶
type TemplateInput struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Nodes []TemplateNode `json:"nodes"`
// RootType Extensible; /meta/capabilities returns the valid values.
RootType ItemType `json:"root_type"`
ScopeId *openapi_types.UUID `json:"scope_id,omitempty"`
// ScopeType Where the template is defined and therefore who can use it: the whole workspace, one hub and everything under it, or one collection. Defining one workspace-wide is an administrator's act; defining one in a container follows the role matrix there.
ScopeType TemplateScope `json:"scope_type"`
}
TemplateInput defines model for TemplateInput.
type TemplateInstance ¶
type TemplateInstance struct {
// Created How many entries the template produced, the root included.
Created int `json:"created"`
// DroppedReferences What the target collection could not carry (I-W6).
DroppedReferences []DroppedReference `json:"dropped_references"`
RootItemId openapi_types.UUID `json:"root_item_id"`
TemplateId openapi_types.UUID `json:"template_id"`
}
TemplateInstance defines model for TemplateInstance.
type TemplateInstantiation ¶
type TemplateInstantiation struct {
// AnchorDate The day the relative dates count from, read in the caller's time zone. Absent anchors at the moment of the call.
AnchorDate *openapi_types.Date `json:"anchor_date,omitempty"`
// CollectionId The collection the tree lands in.
CollectionId openapi_types.UUID `json:"collection_id"`
// ParentId The entry the tree hangs from, when the template's root type is one that sits under another. Absent puts it at the top level of the collection.
ParentId *openapi_types.UUID `json:"parent_id,omitempty"`
// Title The root entry's title, overriding the template's own.
Title *string `json:"title,omitempty"`
}
TemplateInstantiation defines model for TemplateInstantiation.
type TemplateNode ¶
type TemplateNode struct {
// AssigneeId Who this step always belongs to. The assignment rule a template can carry: a fixed person, because the collection's own policy already applies when an entry is created and naming it here would name what happens anyway. Reported and dropped when the person cannot see the target collection (I-W6).
AssigneeId *openapi_types.UUID `json:"assignee_id,omitempty"`
Children *[]TemplateNode `json:"children,omitempty"`
// DueDateOnly True for a node whose due date is a day rather than a moment.
DueDateOnly *bool `json:"due_date_only,omitempty"`
// DueOffset An ISO-8601 duration from the instantiation's anchor - P3D is "three days in", -P1D is "the day before". Absent for a node with no due date. Years and months are refused for the reason a reminder refuses them: they are calendar arithmetic rather than a length of time.
DueOffset *string `json:"due_offset,omitempty"`
Notes *string `json:"notes,omitempty"`
Title string `json:"title"`
// Type Extensible; /meta/capabilities returns the valid values.
Type ItemType `json:"type"`
}
TemplateNode defines model for TemplateNode.
type TemplatePage ¶
TemplatePage defines model for TemplatePage.
type TemplateScope ¶
type TemplateScope string
TemplateScope Where the template is defined and therefore who can use it: the whole workspace, one hub and everything under it, or one collection. Defining one workspace-wide is an administrator's act; defining one in a container follows the role matrix there.
const ( TemplateScopeCOLLECTION TemplateScope = "COLLECTION" TemplateScopeHUB TemplateScope = "HUB" TemplateScopeTENANT TemplateScope = "TENANT" )
Defines values for TemplateScope.
func (TemplateScope) Valid ¶
func (e TemplateScope) Valid() bool
Valid indicates whether the value is a known member of the TemplateScope enum.
type TemplateUpdate ¶
type TemplateUpdate struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Nodes *[]TemplateNode `json:"nodes,omitempty"`
}
TemplateUpdate A merge patch. An absent member is not touched; the node tree travels whole.
type TenantDeletionRequest ¶
type TenantDeletionRequest struct {
// Confirmation The workspace's display name, typed exactly - the restore precedent.
Confirmation string `json:"confirmation"`
}
TenantDeletionRequest defines model for TenantDeletionRequest.
type TenantDeletionScheduled ¶
type TenantDeletionScheduled struct {
// PurgeAfter When the 30-day grace runs out and the hard delete job takes it.
PurgeAfter time.Time `json:"purge_after"`
TenantId openapi_types.UUID `json:"tenant_id"`
}
TenantDeletionScheduled defines model for TenantDeletionScheduled.
type TenantExportRequest ¶
type TenantExportRequest struct {
// TargetId The configured backup target the archive is written to - the one discipline for "bytes leave the installation". The target must belong to the workspace being exported, or be an installation-wide one (`/admin/backup-targets`). It is checked when the export is accepted: an unknown target answers `backup.target_not_found`, a disabled one `backup.target_disabled`.
TargetId openapi_types.UUID `json:"target_id"`
}
TenantExportRequest defines model for TenantExportRequest.
type TenantPlanMove ¶
type TenantPlanMove struct {
// DryRun True answers what the move would change - the features that would rest, the limits the workspace would be over, the exceptions that would stay - and writes nothing: no plan, no trail or journal entry, no event. Its `tenant` is the state the move would leave, its version included; a move that follows names the version the caller read, not that one. Send it with an idempotency key of its own.
DryRun *bool `json:"dry_run,omitempty"`
// ExpectedVersion The workspace's version as last read; a stale one is refused.
ExpectedVersion *int `json:"expected_version,omitempty"`
// Plan The plan's short name, or null for none.
Plan *string `json:"plan"`
}
TenantPlanMove defines model for TenantPlanMove.
type TenantPlanMoved ¶
type TenantPlanMoved struct {
// ExceptionsKept The limits for which the workspace keeps an operator's exception: an exception stays the last word, so a platform that sold an add-on sets it again where it should change.
ExceptionsKept []string `json:"exceptions_kept"`
// FeaturesResting The features the workspace's plan now leaves out, or with `dry_run` would.
FeaturesResting []PlanFeature `json:"features_resting"`
// LimitsExceeded Each counted limit the workspace now holds - or with `dry_run` would hold - more of than its plan, the installation or an exception allows - items, stored bytes, webhook subscriptions, people. Nothing is removed; the next creation past the limit is refused.
LimitsExceeded *[]LimitExceeded `json:"limits_exceeded,omitempty"`
Tenant AdminTenant `json:"tenant"`
}
TenantPlanMoved defines model for TenantPlanMoved.
type TenantProvision ¶
type TenantProvision struct {
DefaultLocale *string `json:"default_locale,omitempty"`
DefaultTimeZone *string `json:"default_time_zone,omitempty"`
DisplayName string `json:"display_name"`
// ExternalReference The purchase platform's own reference for the workspace, unique on the installation - what it finds the workspace by when an answer was lost.
ExternalReference *string `json:"external_reference,omitempty"`
OwnerDisplayName *string `json:"owner_display_name,omitempty"`
OwnerEmail openapi_types.Email `json:"owner_email"`
// Plan The short name of the plan the workspace starts on, or none. An unknown or removed plan is refused before anything is written.
Plan *string `json:"plan,omitempty"`
// Slug The subdomain the workspace answers on. Unique across the installation.
Slug string `json:"slug"`
}
TenantProvision defines model for TenantProvision.
type TenantQuery ¶
type TenantQuery struct {
// Cursor The cursor of the page before.
Cursor *string `json:"cursor,omitempty"`
// ExternalReference The platform's own reference.
ExternalReference *string `json:"external_reference,omitempty"`
// Plan The short name of a plan; not with without_plan.
Plan *string `json:"plan,omitempty"`
Size *int `json:"size,omitempty"`
// Slug The workspace's short name.
Slug *string `json:"slug,omitempty"`
Status *TenantQueryStatus `json:"status,omitempty"`
// WithoutPlan Only workspaces on no plan.
WithoutPlan *bool `json:"without_plan,omitempty"`
}
TenantQuery defines model for TenantQuery.
type TenantQueryStatus ¶
type TenantQueryStatus string
TenantQueryStatus defines model for TenantQuery.Status.
const ( TenantQueryStatusACTIVE TenantQueryStatus = "ACTIVE" TenantQueryStatusPENDINGDELETION TenantQueryStatus = "PENDING_DELETION" TenantQueryStatusSUSPENDED TenantQueryStatus = "SUSPENDED" )
Defines values for TenantQueryStatus.
func (TenantQueryStatus) Valid ¶
func (e TenantQueryStatus) Valid() bool
Valid indicates whether the value is a known member of the TenantQueryStatus enum.
type TenantQuotas ¶
type TenantQuotas struct {
// Accounts The people the workspace may hold: active, restricted and managed accounts and open invitations - never service accounts, nor an invitation whose link ran out. Nobody here is disabled below it; the next is refused.
Accounts *int64 `json:"accounts,omitempty"`
// AiArrivalProposalsPerDay How many jumble arrivals a day of the workspace's own time zone may be asked about on arrival, where the workspace prepares proposals on arrival - a number of entries, 200 by default in both modes. Whoever holds the workspace's intake address decides what arrives, so this bounds what they can make the workspace spend beside the token budget. Past it an arrival waits for somebody to ask; nothing else changes.
AiArrivalProposalsPerDay *int64 `json:"ai_arrival_proposals_per_day,omitempty"`
// AiTokensPerDay What the workspace may spend on the AI models the installation offers in a day of its own time zone, counted in the tokens every provider reports. A workspace's own model is not bounded by it, only by the workspace's own optional budget. Unlimited in single mode by default and a real number in multi, like every other quota. A workspace over its budget stops making suggestions and keeps working: the refusal is `ai.unavailable` with the parameters `reason` (`budget_spent`) and `renews_at` (the workspace's next midnight), the same one an absent provider and an open circuit answer, so nothing that calls AI needs a second way to degrade.
AiTokensPerDay *int64 `json:"ai_tokens_per_day,omitempty"`
ApiRequestsPerMinute *int64 `json:"api_requests_per_minute,omitempty"`
AutomationRunsPerHour *int64 `json:"automation_runs_per_hour,omitempty"`
ExportJobs *int64 `json:"export_jobs,omitempty"`
Items *int64 `json:"items,omitempty"`
MediaBytes *int64 `json:"media_bytes,omitempty"`
WebhookTargets *int64 `json:"webhook_targets,omitempty"`
}
TenantQuotas Partial by design - each quota, settable per workspace. A provided value becomes the ceiling (0 = unlimited), an explicit null clears the override, an absent key changes nothing.
type TenantUpdate ¶
type TenantUpdate struct {
// ExternalReference The platform's own reference, or null to clear it.
ExternalReference *string `json:"external_reference"`
}
TenantUpdate defines model for TenantUpdate.
type TermsAgreement ¶
type TermsAgreement struct {
// PendingToken The `TERMS` challenge's credential. It dies on use.
PendingToken string `json:"pending_token"`
// TermsUrl The link of the terms agreed to, as the challenge showed it.
TermsUrl string `json:"terms_url"`
// TermsVersion Their version as the challenge showed it, where they carry one.
TermsVersion *string `json:"terms_version,omitempty"`
}
TermsAgreement defines model for TermsAgreement.
type TermsInForce ¶
type TermsInForce struct {
// SetBy Who set them - whom a person who does not agree can ask.
SetBy TermsInForceSetBy `json:"set_by"`
// Url Where the terms are kept. Hubtask holds no text of them.
Url string `json:"url"`
// Version Their version, where the level that set them gave one.
Version *string `json:"version,omitempty"`
}
TermsInForce The terms of use a person is asked to agree to.
type TermsInForceSetBy ¶
type TermsInForceSetBy string
TermsInForceSetBy Who set them - whom a person who does not agree can ask.
const ( TermsInForceSetByINSTALLATION TermsInForceSetBy = "INSTALLATION" TermsInForceSetByWORKSPACE TermsInForceSetBy = "WORKSPACE" )
Defines values for TermsInForceSetBy.
func (TermsInForceSetBy) Valid ¶
func (e TermsInForceSetBy) Valid() bool
Valid indicates whether the value is a known member of the TermsInForceSetBy enum.
type TestRuleJSONRequestBody ¶
type TestRuleJSONRequestBody = RuleTest
TestRuleJSONRequestBody defines body for TestRule for application/json ContentType.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type TotpConfirmation ¶
type TotpConfirmation struct {
Code string `json:"code"`
// PendingToken The enforcement sign-in's credential; absent for a signed-in caller.
PendingToken *string `json:"pending_token,omitempty"`
}
TotpConfirmation defines model for TotpConfirmation.
type TotpConfirmed ¶
type TotpConfirmed struct {
// Armed Always true on success; the field exists so the answer is a statement, not an empty object.
Armed bool `json:"armed"`
// Challenge The `PASSWORD_CHANGE` step, when a pending credential completed the enrolment and the password the sign-in began with must still be changed - one the rule refuses, or a start password Hubtask drew. The pair then comes from `/auth/sessions:set-password`.
Challenge *MfaChallenge `json:"challenge,omitempty"`
// Tokens The pair, when a pending credential completed a sign-in here. Absent for a signed-in caller, who already holds one, and where `challenge` stands instead.
Tokens *SessionTokens `json:"tokens,omitempty"`
}
TotpConfirmed defines model for TotpConfirmed.
type TotpEnrollment ¶
type TotpEnrollment struct {
// OtpauthUri What a QR image is rendered from - the rendering is the client's job.
OtpauthUri string `json:"otpauth_uri"`
// RecoveryCodes Ten single-use codes, stored only as hashes. Each works once; the sign-in answer counts down what remains.
RecoveryCodes []string `json:"recovery_codes"`
// Secret Base32, for typing by hand where no camera reaches the QR.
Secret string `json:"secret"`
}
TotpEnrollment The secret's single showing. Store it in an authenticator or lose it.
type TotpEnrollmentStart ¶
type TotpEnrollmentStart struct {
PendingToken *string `json:"pending_token,omitempty"`
}
TotpEnrollmentStart Empty for a signed-in caller; the pending credential for an enforcement sign-in. A body because the credential authenticates the call and travels nowhere else.
type TrashContainerParams ¶
type TrashContainerParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
TrashContainerParams defines parameters for TrashContainer.
type TrashEntry ¶
type TrashEntry struct {
// CollectionId The collection an entry belongs to. Null for a container.
CollectionId *openapi_types.UUID `json:"collection_id"`
// DeletedAt When it went in, and the moment the retention period runs from.
DeletedAt time.Time `json:"deleted_at"`
// DeletedBy Who put it there. Null for anything deleted before the columns existed: those rows were never asked who, and answering from the audit trail would be taking a fact out of a source behind a permission most members do not hold - which is the whole reason this field is on the projection rather than left to a client to join.
DeletedBy *Actor `json:"deleted_by"`
// Held Whether a legal hold or a restriction of processing keeps this deletion: a hold names the workspace, its hub or collection, the entry or one above or below it in the same deletion, or a person whose own data is in it; a restriction is on a person whose own data is in it. While it stands the automatic removal does not take the deletion, so `purge_after` is not when it goes - it goes at the first run after it ends and the moment has passed. `held_by` says which; which hold, and why, is the legal holds' to say. Deleting it for good or emptying the trash is a person's own act, and a restriction does not stop it.
Held bool `json:"held"`
// HeldBy What keeps the deletion while `held` is true - a legal hold before a restriction where both apply - and null while it is not held.
HeldBy *TrashEntryHeldBy `json:"held_by,omitempty"`
// HubId The hub it sits under. Null for a hub, which is its own level. Required and nullable rather than optional, like the two below it: this list mixes containers and entries by design, so a field that appeared only for some rows would be one a client could not read unconditionally.
HubId *openapi_types.UUID `json:"hub_id"`
Id openapi_types.UUID `json:"id"`
// Kind Which of the two endpoints restores it.
Kind TrashEntryKind `json:"kind"`
// ParentId Where it would go back to - the hub of a collection, the entry above an entry.
ParentId *openapi_types.UUID `json:"parent_id"`
// PurgeAfter The earliest moment the automatic removal takes it, unless a legal hold or a restriction of processing keeps it (`held`): the workspace's trash period from `deleted_at`, and never sooner than the longest a device may stay offline, so that every device has learnt of the deletion first. The removal runs on its own schedule, so it goes at the first run after this moment. Deleting it for good or emptying the trash takes it at once.
PurgeAfter time.Time `json:"purge_after"`
// Subtype HUB or COLLECTION for a container, TASK, WORK_PACKAGE or ACTIVITY for an entry.
Subtype string `json:"subtype"`
// Title The container's name or the entry's title.
Title string `json:"title"`
// TrashBatchId The deletion every row of one act shares. It is what a restore is keyed on, and what tells a client that two entries went together.
TrashBatchId openapi_types.UUID `json:"trash_batch_id"`
// Version The row's version, so a restore can be sent with the version it was read at.
Version int `json:"version"`
}
TrashEntry One deletion, as the trash lists it. A projection rather than the object: it carries what the view shows and what restoring it needs, and reading the entry back in full is a second request to the object's own endpoint.
type TrashEntryHeldBy ¶
type TrashEntryHeldBy string
TrashEntryHeldBy What keeps the deletion while `held` is true - a legal hold before a restriction where both apply - and null while it is not held.
const ( TrashEntryHeldByLegalHold TrashEntryHeldBy = "legal_hold" TrashEntryHeldByLessThannil TrashEntryHeldBy = "<nil>" TrashEntryHeldByRestriction TrashEntryHeldBy = "restriction" )
Defines values for TrashEntryHeldBy.
func (TrashEntryHeldBy) Valid ¶
func (e TrashEntryHeldBy) Valid() bool
Valid indicates whether the value is a known member of the TrashEntryHeldBy enum.
type TrashEntryKind ¶
type TrashEntryKind string
TrashEntryKind Which of the two endpoints restores it.
const ( TrashEntryKindCONTAINER TrashEntryKind = "CONTAINER" TrashEntryKindITEM TrashEntryKind = "ITEM" )
Defines values for TrashEntryKind.
func (TrashEntryKind) Valid ¶
func (e TrashEntryKind) Valid() bool
Valid indicates whether the value is a known member of the TrashEntryKind enum.
type TrashPage ¶
type TrashPage struct {
Data []TrashEntry `json:"data"`
Page PageInfo `json:"page"`
}
TrashPage defines model for TrashPage.
type TrashWorkItemParams ¶
type TrashWorkItemParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
TrashWorkItemParams defines parameters for TrashWorkItem.
type TriggerEvent ¶
type TriggerEvent map[string]interface{}
TriggerEvent One event as a subscriber receives it: the CloudEvents 1.0 structured-JSON document itself, unwrapped - `specversion`, `id`, `source`, `type`, `time`, `data`, and the extension attributes that carry the tenant, the actor and the causal chain. The same bytes a webhook delivery would have POSTed, which is what makes the two transports one contract. `id` is the value `X-Hubtask-Event-Id` names on the push side, so a consumer deduplicates on it either way. Free-form here on purpose. The document's shape is owned by the schemas under `api/events/` and by the CloudEvents specification, and a second list of its properties in this file would be a copy that drifts - and one that silently drops an extension attribute the day one is added.
type TriggerEventPage ¶
type TriggerEventPage struct {
Data []TriggerEvent `json:"data"`
Page PageInfo `json:"page"`
}
TriggerEventPage defines model for TriggerEventPage.
type TriggerRuleManuallyParams ¶
type TriggerRuleManuallyParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
TriggerRuleManuallyParams defines parameters for TriggerRuleManually.
type TryVoiceSentenceJSONRequestBody ¶
type TryVoiceSentenceJSONRequestBody = VoiceTry
TryVoiceSentenceJSONRequestBody defines body for TryVoiceSentence for application/json ContentType.
type UnarchiveContainerParams ¶
type UnarchiveContainerParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
UnarchiveContainerParams defines parameters for UnarchiveContainer.
type UnarchiveWorkItemParams ¶
type UnarchiveWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
}
UnarchiveWorkItemParams defines parameters for UnarchiveWorkItem.
type UnassignWorkItemParams ¶
type UnassignWorkItemParams struct {
// IdempotencyKey A UUID; identical requests return the same result for 24 h. Two answers are not kept: a `5xx`, and `403 auth.step_up_required` - neither is an outcome of the request, so the repeat reaches the operation again. A client that is asked for a proof retries with the proof under the same key.
IdempotencyKey *IdempotencyKey `json:"Idempotency-Key,omitempty"`
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UnassignWorkItemParams defines parameters for UnassignWorkItem.
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateAccountPreferencesApplicationMergePatchPlusJSONRequestBody ¶
type UpdateAccountPreferencesApplicationMergePatchPlusJSONRequestBody = AccountPreferences
UpdateAccountPreferencesApplicationMergePatchPlusJSONRequestBody defines body for UpdateAccountPreferences for application/merge-patch+json ContentType.
type UpdateBackupScheduleApplicationMergePatchPlusJSONRequestBody ¶
type UpdateBackupScheduleApplicationMergePatchPlusJSONRequestBody = BackupScheduleUpdate
UpdateBackupScheduleApplicationMergePatchPlusJSONRequestBody defines body for UpdateBackupSchedule for application/merge-patch+json ContentType.
type UpdateBackupScheduleParams ¶
type UpdateBackupScheduleParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateBackupScheduleParams defines parameters for UpdateBackupSchedule.
type UpdateBucketApplicationMergePatchPlusJSONRequestBody ¶
type UpdateBucketApplicationMergePatchPlusJSONRequestBody = BucketUpdate
UpdateBucketApplicationMergePatchPlusJSONRequestBody defines body for UpdateBucket for application/merge-patch+json ContentType.
type UpdateBucketParams ¶
type UpdateBucketParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateBucketParams defines parameters for UpdateBucket.
type UpdateContainerPoliciesJSONRequestBody ¶
type UpdateContainerPoliciesJSONRequestBody = ContainerPolicies
UpdateContainerPoliciesJSONRequestBody defines body for UpdateContainerPolicies for application/json ContentType.
type UpdateContainerPoliciesParams ¶
type UpdateContainerPoliciesParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateContainerPoliciesParams defines parameters for UpdateContainerPolicies.
type UpdateCustomFieldApplicationMergePatchPlusJSONRequestBody ¶
type UpdateCustomFieldApplicationMergePatchPlusJSONRequestBody = CustomFieldDefinitionUpdate
UpdateCustomFieldApplicationMergePatchPlusJSONRequestBody defines body for UpdateCustomField for application/merge-patch+json ContentType.
type UpdateCustomFieldParams ¶
type UpdateCustomFieldParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateCustomFieldParams defines parameters for UpdateCustomField.
type UpdateDataSubjectRequestApplicationMergePatchPlusJSONRequestBody ¶
type UpdateDataSubjectRequestApplicationMergePatchPlusJSONRequestBody = DataSubjectRequestUpdate
UpdateDataSubjectRequestApplicationMergePatchPlusJSONRequestBody defines body for UpdateDataSubjectRequest for application/merge-patch+json ContentType.
type UpdateGroupApplicationMergePatchPlusJSONRequestBody ¶
type UpdateGroupApplicationMergePatchPlusJSONRequestBody = GroupUpdate
UpdateGroupApplicationMergePatchPlusJSONRequestBody defines body for UpdateGroup for application/merge-patch+json ContentType.
type UpdateGroupParams ¶
type UpdateGroupParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
UpdateGroupParams defines parameters for UpdateGroup.
type UpdateLabelApplicationMergePatchPlusJSONRequestBody ¶
type UpdateLabelApplicationMergePatchPlusJSONRequestBody = LabelUpdate
UpdateLabelApplicationMergePatchPlusJSONRequestBody defines body for UpdateLabel for application/merge-patch+json ContentType.
type UpdateLabelParams ¶
type UpdateLabelParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateLabelParams defines parameters for UpdateLabel.
type UpdateOwnAccountApplicationMergePatchPlusJSONRequestBody ¶
type UpdateOwnAccountApplicationMergePatchPlusJSONRequestBody = OwnAccountUpdate
UpdateOwnAccountApplicationMergePatchPlusJSONRequestBody defines body for UpdateOwnAccount for application/merge-patch+json ContentType.
type UpdatePlatformSubscriptionApplicationMergePatchPlusJSONRequestBody ¶
type UpdatePlatformSubscriptionApplicationMergePatchPlusJSONRequestBody = PlatformSubscriptionUpdate
UpdatePlatformSubscriptionApplicationMergePatchPlusJSONRequestBody defines body for UpdatePlatformSubscription for application/merge-patch+json ContentType.
type UpdatePlatformSubscriptionParams ¶
type UpdatePlatformSubscriptionParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
UpdatePlatformSubscriptionParams defines parameters for UpdatePlatformSubscription.
type UpdateReminderApplicationMergePatchPlusJSONRequestBody ¶
type UpdateReminderApplicationMergePatchPlusJSONRequestBody = ReminderUpdate
UpdateReminderApplicationMergePatchPlusJSONRequestBody defines body for UpdateReminder for application/merge-patch+json ContentType.
type UpdateReminderParams ¶
type UpdateReminderParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateReminderParams defines parameters for UpdateReminder.
type UpdateRetentionPolicyApplicationMergePatchPlusJSONRequestBody ¶
type UpdateRetentionPolicyApplicationMergePatchPlusJSONRequestBody = RetentionPolicyUpdate
UpdateRetentionPolicyApplicationMergePatchPlusJSONRequestBody defines body for UpdateRetentionPolicy for application/merge-patch+json ContentType.
type UpdateRetentionPolicyParams ¶
type UpdateRetentionPolicyParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateRetentionPolicyParams defines parameters for UpdateRetentionPolicy.
type UpdateRuleApplicationMergePatchPlusJSONRequestBody ¶
type UpdateRuleApplicationMergePatchPlusJSONRequestBody = AutomationRuleUpdate
UpdateRuleApplicationMergePatchPlusJSONRequestBody defines body for UpdateRule for application/merge-patch+json ContentType.
type UpdateSavedViewApplicationMergePatchPlusJSONRequestBody ¶
type UpdateSavedViewApplicationMergePatchPlusJSONRequestBody = SavedViewUpdate
UpdateSavedViewApplicationMergePatchPlusJSONRequestBody defines body for UpdateSavedView for application/merge-patch+json ContentType.
type UpdateSavedViewParams ¶
type UpdateSavedViewParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateSavedViewParams defines parameters for UpdateSavedView.
type UpdateTemplateApplicationMergePatchPlusJSONRequestBody ¶
type UpdateTemplateApplicationMergePatchPlusJSONRequestBody = TemplateUpdate
UpdateTemplateApplicationMergePatchPlusJSONRequestBody defines body for UpdateTemplate for application/merge-patch+json ContentType.
type UpdateTemplateParams ¶
type UpdateTemplateParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateTemplateParams defines parameters for UpdateTemplate.
type UpdateTenantJSONRequestBody ¶
type UpdateTenantJSONRequestBody = TenantUpdate
UpdateTenantJSONRequestBody defines body for UpdateTenant for application/json ContentType.
type UpdateTenantParams ¶
type UpdateTenantParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateTenantParams defines parameters for UpdateTenant.
type UpdateTenantQuotasApplicationMergePatchPlusJSONRequestBody ¶
type UpdateTenantQuotasApplicationMergePatchPlusJSONRequestBody = TenantQuotas
UpdateTenantQuotasApplicationMergePatchPlusJSONRequestBody defines body for UpdateTenantQuotas for application/merge-patch+json ContentType.
type UpdateWebhookSubscriptionApplicationMergePatchPlusJSONRequestBody ¶
type UpdateWebhookSubscriptionApplicationMergePatchPlusJSONRequestBody = WebhookSubscriptionUpdate
UpdateWebhookSubscriptionApplicationMergePatchPlusJSONRequestBody defines body for UpdateWebhookSubscription for application/merge-patch+json ContentType.
type UpdateWebhookSubscriptionParams ¶
type UpdateWebhookSubscriptionParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateWebhookSubscriptionParams defines parameters for UpdateWebhookSubscription.
type UpdateWorkItemApplicationMergePatchPlusJSONRequestBody ¶
type UpdateWorkItemApplicationMergePatchPlusJSONRequestBody = WorkItemUpdate
UpdateWorkItemApplicationMergePatchPlusJSONRequestBody defines body for UpdateWorkItem for application/merge-patch+json ContentType.
type UpdateWorkItemParams ¶
type UpdateWorkItemParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
UpdateWorkItemParams defines parameters for UpdateWorkItem.
type UpdateWorkspaceApplicationMergePatchPlusJSONRequestBody ¶
type UpdateWorkspaceApplicationMergePatchPlusJSONRequestBody = WorkspaceUpdate
UpdateWorkspaceApplicationMergePatchPlusJSONRequestBody defines body for UpdateWorkspace for application/merge-patch+json ContentType.
type UpdateWorkspaceParams ¶
type UpdateWorkspaceParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
UpdateWorkspaceParams defines parameters for UpdateWorkspace.
type UploadMediaContentParams ¶
type UploadMediaContentParams struct {
// Token The capability: a signed, expiring token minted by requestMediaUpload or getMedia. The URL is the credential, exactly as a presigned object-storage URL is - which is why these two operations carry no bearer requirement.
Token string `form:"token" json:"token"`
}
UploadMediaContentParams defines parameters for UploadMediaContent.
type UsageDay ¶
type UsageDay struct {
Day openapi_types.Date `json:"day"`
Value int64 `json:"value"`
}
UsageDay defines model for UsageDay.
type UsageMetric ¶
type UsageMetric struct {
// Aggregate The day's highest count, or the day's sum.
Aggregate UsageMetricAggregate `json:"aggregate"`
// Day Which day a value counts by - UTC, or the workspace's own zone.
Day UsageMetricDay `json:"day"`
// Name A metric's stable name, the quota's own: `items`, `media_bytes`, `accounts`, `ai_tokens_per_day`, `ai_own_tokens_per_day`, `ai_arrival_proposals_per_day`, `automation_runs_per_hour` - the last counted per day, the runs metered that day. Any other is `422 admin.usage_metric_unknown`; a client tolerates a name it does not know, as a later release may add one.
Name UsageMetricName `json:"name"`
}
UsageMetric defines model for UsageMetric.
type UsageMetricAggregate ¶
type UsageMetricAggregate string
UsageMetricAggregate The day's highest count, or the day's sum.
const ( HIGHEST UsageMetricAggregate = "HIGHEST" SUM UsageMetricAggregate = "SUM" )
Defines values for UsageMetricAggregate.
func (UsageMetricAggregate) Valid ¶
func (e UsageMetricAggregate) Valid() bool
Valid indicates whether the value is a known member of the UsageMetricAggregate enum.
type UsageMetricDay ¶
type UsageMetricDay string
UsageMetricDay Which day a value counts by - UTC, or the workspace's own zone.
const ( UsageMetricDayUTC UsageMetricDay = "UTC" UsageMetricDayWORKSPACE UsageMetricDay = "WORKSPACE" )
Defines values for UsageMetricDay.
func (UsageMetricDay) Valid ¶
func (e UsageMetricDay) Valid() bool
Valid indicates whether the value is a known member of the UsageMetricDay enum.
type UsageMetricName ¶
type UsageMetricName = string
UsageMetricName A metric's stable name, the quota's own: `items`, `media_bytes`, `accounts`, `ai_tokens_per_day`, `ai_own_tokens_per_day`, `ai_arrival_proposals_per_day`, `automation_runs_per_hour` - the last counted per day, the runs metered that day. Any other is `422 admin.usage_metric_unknown`; a client tolerates a name it does not know, as a later release may add one.
type UsagePage ¶
type UsagePage struct {
Data []WorkspaceUsage `json:"data"`
// FinalThrough The last day that has ended in every zone; no value up to it changes any more.
FinalThrough openapi_types.Date `json:"final_through"`
Metrics []UsageMetric `json:"metrics"`
Page PageInfo `json:"page"`
}
UsagePage defines model for UsagePage.
type VerifyAuditChainJSONBody ¶
type VerifyAuditChainJSONBody struct {
// Anchors Also read the last anchor back from the workspace's anchoring target and compare the chain end it holds with the chain at that sequence. A read of somebody else's machine, so it is asked for rather than always done; `anchored_until`, `anchor_agrees` and `anchor_error_code` answer it.
Anchors *bool `json:"anchors,omitempty"`
From time.Time `json:"from"`
To time.Time `json:"to"`
}
VerifyAuditChainJSONBody defines parameters for VerifyAuditChain.
type VerifyAuditChainJSONRequestBody ¶
type VerifyAuditChainJSONRequestBody VerifyAuditChainJSONBody
VerifyAuditChainJSONRequestBody defines body for VerifyAuditChain for application/json ContentType.
type ViewExport ¶
type ViewExport struct {
// Format CSV for a spreadsheet, JSON for a script, ICS for a calendar. ICS renders only the entries that have a due date, because an entry with no date is not a calendar entry.
Format ViewExportFormat `json:"format"`
// TimeZone The zone the dates are written in. Defaults to the caller's own. It decides how a timestamp reads, never which rows are selected.
TimeZone *string `json:"time_zone,omitempty"`
}
ViewExport What to render and how. The view decides which rows; the format decides what they become.
type ViewExportDocument ¶
type ViewExportDocument struct {
// Count How many rows are in this document.
Count int `json:"count"`
GeneratedAt time.Time `json:"generated_at"`
Rows []WorkItem `json:"rows"`
// Truncated True when the result reached max_export_rows. The same statement the Export-Truncated header makes, in the one format that can carry it in the body.
Truncated bool `json:"truncated"`
ViewId openapi_types.UUID `json:"view_id"`
}
ViewExportDocument The JSON rendering - the view's rows, and what the export knows about itself.
type ViewExportFormat ¶
type ViewExportFormat string
ViewExportFormat CSV for a spreadsheet, JSON for a script, ICS for a calendar. ICS renders only the entries that have a due date, because an entry with no date is not a calendar entry.
const ( ViewExportFormatCSV ViewExportFormat = "CSV" ViewExportFormatICS ViewExportFormat = "ICS" ViewExportFormatJSON ViewExportFormat = "JSON" )
Defines values for ViewExportFormat.
func (ViewExportFormat) Valid ¶
func (e ViewExportFormat) Valid() bool
Valid indicates whether the value is a known member of the ViewExportFormat enum.
type VoiceAlias ¶
type VoiceAlias struct {
CollectionId openapi_types.UUID `json:"collection_id"`
// LabelId A category of the collection, for a name that stands for it.
LabelId *openapi_types.UUID `json:"label_id,omitempty"`
Phrase string `json:"phrase"`
}
VoiceAlias defines model for VoiceAlias.
type VoiceInterpretation ¶
type VoiceInterpretation struct {
Ambiguous []VoicePlace `json:"ambiguous"`
// Default The place is the default list, as no place was said.
Default bool `json:"default"`
Found bool `json:"found"`
Place *VoicePlace `json:"place,omitempty"`
Things []struct {
Amount *string `json:"amount,omitempty"`
Title string `json:"title"`
} `json:"things"`
}
VoiceInterpretation defines model for VoiceInterpretation.
type VoicePlace ¶
type VoicePlace struct {
CollectionId openapi_types.UUID `json:"collection_id"`
LabelId *openapi_types.UUID `json:"label_id,omitempty"`
Name string `json:"name"`
}
VoicePlace defines model for VoicePlace.
type VoiceSettings ¶
type VoiceSettings struct {
Aliases []VoiceAlias `json:"aliases"`
DefaultCollectionId *openapi_types.UUID `json:"default_collection_id,omitempty"`
Enabled bool `json:"enabled"`
// InstallationSkill Whether the installation publishes a skill every workspace may use.
InstallationSkill *bool `json:"installation_skill,omitempty"`
// InvocationName What follows "Alexa, sag" or "Alexa, ask", lower case: two words at least, which Amazon requires, written apart the way Alexa's speech recognition writes them. Absent for the language's default, "digitale pinnwand" or "list helper".
InvocationName *string `json:"invocation_name,omitempty"`
// SkillId The workspace's own Alexa skill, amzn1.ask.skill.…; absent where the installation's published skill is used.
SkillId *string `json:"skill_id,omitempty"`
}
VoiceSettings defines model for VoiceSettings.
type WebhookDelivery ¶
type WebhookDelivery struct {
// Attempt Which attempt this is, from one. It carries on across a replay rather than resetting.
Attempt int `json:"attempt"`
CreatedAt time.Time `json:"created_at"`
// ErrorCode A message code, never the target's response body.
ErrorCode *string `json:"error_code,omitempty"`
// EventId The event's own identifier, which travels as `X-Hubtask-Event-Id`. A replay carries the same one, so a subscriber that deduplicates on it recognises the repeat.
EventId openapi_types.UUID `json:"event_id"`
Id openapi_types.UUID `json:"id"`
// NextAttemptAt When the next attempt is due; null once there will not be one.
NextAttemptAt *time.Time `json:"next_attempt_at,omitempty"`
// ResponseStatus What the target answered, where it answered at all.
ResponseStatus *int `json:"response_status,omitempty"`
// Status `FILTER_FAILED` is an event the subscription's condition could not be evaluated for: it was not sent, `error_code` says why, and it cannot be replayed.
Status WebhookDeliveryStatus `json:"status"`
SubscriptionId openapi_types.UUID `json:"subscription_id"`
}
WebhookDelivery One attempt at one event against one subscription.
type WebhookDeliveryPage ¶
type WebhookDeliveryPage struct {
Data []WebhookDelivery `json:"data"`
Page PageInfo `json:"page"`
}
WebhookDeliveryPage defines model for WebhookDeliveryPage.
type WebhookDeliveryStatus ¶
type WebhookDeliveryStatus string
WebhookDeliveryStatus `FILTER_FAILED` is an event the subscription's condition could not be evaluated for: it was not sent, `error_code` says why, and it cannot be replayed.
const ( WebhookDeliveryStatusDEADLETTER WebhookDeliveryStatus = "DEAD_LETTER" WebhookDeliveryStatusFAILED WebhookDeliveryStatus = "FAILED" WebhookDeliveryStatusFILTERFAILED WebhookDeliveryStatus = "FILTER_FAILED" WebhookDeliveryStatusPENDING WebhookDeliveryStatus = "PENDING" WebhookDeliveryStatusSUCCEEDED WebhookDeliveryStatus = "SUCCEEDED" )
Defines values for WebhookDeliveryStatus.
func (WebhookDeliveryStatus) Valid ¶
func (e WebhookDeliveryStatus) Valid() bool
Valid indicates whether the value is a known member of the WebhookDeliveryStatus enum.
type WebhookScope ¶
type WebhookScope struct {
// Id The hub or the collection. Absent for `TENANT`, and required for the others.
Id *openapi_types.UUID `json:"id,omitempty"`
Type WebhookScopeType `json:"type"`
}
WebhookScope Where a subscription listens: the whole workspace, one hub - its collections included - or one collection. An entry's event belongs to its collection, a hub's or a collection's to itself; an event about no hub or collection (a rule run, an arrival in the jumble) reaches only a subscription of the whole workspace. Subscribing to a hub or a collection needs the automation permission there. On an update, `TENANT` widens a scoped subscription to the whole workspace again.
type WebhookScopeType ¶
type WebhookScopeType string
WebhookScopeType defines model for WebhookScope.Type.
const ( WebhookScopeTypeCOLLECTION WebhookScopeType = "COLLECTION" WebhookScopeTypeHUB WebhookScopeType = "HUB" WebhookScopeTypeTENANT WebhookScopeType = "TENANT" )
Defines values for WebhookScopeType.
func (WebhookScopeType) Valid ¶
func (e WebhookScopeType) Valid() bool
Valid indicates whether the value is a known member of the WebhookScopeType enum.
type WebhookSecretRotation ¶
type WebhookSecretRotation struct {
// GraceSeconds How long the previous secret keeps verifying, so a subscriber can deploy the new one without dropping what arrives in between. Zero retires the old secret at once, which is what a leak calls for. At most seven days.
GraceSeconds *int `json:"grace_seconds,omitempty"`
}
WebhookSecretRotation defines model for WebhookSecretRotation.
type WebhookSend ¶
type WebhookSend struct {
// EventId The event to deliver, as `X-Hubtask-Event-Id` will carry it. It has to still be inside the outbox's retention window - an event the sweep has taken cannot be rendered.
EventId openapi_types.UUID `json:"event_id"`
}
WebhookSend What a deliberate delivery names - the event; the path names the subscription.
type WebhookSubscription ¶
type WebhookSubscription struct {
CreatedAt time.Time `json:"created_at"`
// EventTypes The types this subscription wants, as `/meta/capabilities` lists them. A type this build does not emit is refused rather than stored, so a subscription cannot quietly wait for something that will never arrive.
EventTypes []string `json:"event_types"`
// FailureCount Consecutive failed deliveries. Reset by the first success, and what the auto-disable counts against.
FailureCount int `json:"failure_count"`
// Filter A condition in the automation's expression language (CEL) that an event must meet to be delivered: a boolean over `event` (its id, type, subject and moments), `data` (the CloudEvent's `data`), `actor` and `now`. Compiled when it is saved, with the rules' bounds; one that cannot be compiled is refused with `webhooks.filter_invalid`, naming where. An event whose condition cannot be evaluated is not sent, and appears in the delivery log as `FILTER_FAILED`.
Filter *string `json:"filter,omitempty"`
Id openapi_types.UUID `json:"id"`
// LastError A message code for the last failure, never a response body from the target.
LastError *string `json:"last_error,omitempty"`
// Scope Where a subscription listens: the whole workspace, one hub - its collections included - or one collection. An entry's event belongs to its collection, a hub's or a collection's to itself; an event about no hub or collection (a rule run, an arrival in the jumble) reaches only a subscription of the whole workspace. Subscribing to a hub or a collection needs the automation permission there. On an update, `TENANT` widens a scoped subscription to the whole workspace again.
Scope *WebhookScope `json:"scope,omitempty"`
// State `DISABLED` is what sustained unreachability produces, with a notification to the owner. Re-enabling is an ordinary write and is audited as one.
State WebhookSubscriptionState `json:"state"`
// TargetUrl Where the CloudEvent is POSTed. An egress channel, so it goes through the guarded client: a private range or the cloud metadata address is refused unless the installation has deliberately released private networks.
TargetUrl string `json:"target_url"`
Version int `json:"version"`
}
WebhookSubscription One external system's standing request to be told what happens here. The signing secret is not a member: it is answered once, at creation and at each rotation, and stored sealed.
type WebhookSubscriptionCreate ¶
type WebhookSubscriptionCreate struct {
EventTypes []string `json:"event_types"`
// Filter The condition an event must meet, as `WebhookSubscription.filter` says. Omitted or empty for none.
Filter *string `json:"filter,omitempty"`
// Scope Where a subscription listens: the whole workspace, one hub - its collections included - or one collection. An entry's event belongs to its collection, a hub's or a collection's to itself; an event about no hub or collection (a rule run, an arrival in the jumble) reaches only a subscription of the whole workspace. Subscribing to a hub or a collection needs the automation permission there. On an update, `TENANT` widens a scoped subscription to the whole workspace again.
Scope *WebhookScope `json:"scope,omitempty"`
TargetUrl string `json:"target_url"`
}
WebhookSubscriptionCreate defines model for WebhookSubscriptionCreate.
type WebhookSubscriptionSecret ¶
type WebhookSubscriptionSecret struct {
CreatedAt time.Time `json:"created_at"`
// EventTypes The types this subscription wants, as `/meta/capabilities` lists them. A type this build does not emit is refused rather than stored, so a subscription cannot quietly wait for something that will never arrive.
EventTypes []string `json:"event_types"`
// FailureCount Consecutive failed deliveries. Reset by the first success, and what the auto-disable counts against.
FailureCount int `json:"failure_count"`
// Filter A condition in the automation's expression language (CEL) that an event must meet to be delivered: a boolean over `event` (its id, type, subject and moments), `data` (the CloudEvent's `data`), `actor` and `now`. Compiled when it is saved, with the rules' bounds; one that cannot be compiled is refused with `webhooks.filter_invalid`, naming where. An event whose condition cannot be evaluated is not sent, and appears in the delivery log as `FILTER_FAILED`.
Filter *string `json:"filter,omitempty"`
Id openapi_types.UUID `json:"id"`
// LastError A message code for the last failure, never a response body from the target.
LastError *string `json:"last_error,omitempty"`
// Scope Where a subscription listens: the whole workspace, one hub - its collections included - or one collection. An entry's event belongs to its collection, a hub's or a collection's to itself; an event about no hub or collection (a rule run, an arrival in the jumble) reaches only a subscription of the whole workspace. Subscribing to a hub or a collection needs the automation permission there. On an update, `TENANT` widens a scoped subscription to the whole workspace again.
Scope *WebhookScope `json:"scope,omitempty"`
// Secret The signing secret, in clear, for the only time. Store it or rotate it: what is kept is sealed under the installation's key, and no read answers it again.
Secret string `json:"secret"`
// State `DISABLED` is what sustained unreachability produces, with a notification to the owner. Re-enabling is an ordinary write and is audited as one.
State WebhookSubscriptionSecretState `json:"state"`
// TargetUrl Where the CloudEvent is POSTed. An egress channel, so it goes through the guarded client: a private range or the cloud metadata address is refused unless the installation has deliberately released private networks.
TargetUrl string `json:"target_url"`
Version int `json:"version"`
}
WebhookSubscriptionSecret defines model for WebhookSubscriptionSecret.
type WebhookSubscriptionSecretState ¶
type WebhookSubscriptionSecretState string
WebhookSubscriptionSecretState `DISABLED` is what sustained unreachability produces, with a notification to the owner. Re-enabling is an ordinary write and is audited as one.
const ( WebhookSubscriptionSecretStateACTIVE WebhookSubscriptionSecretState = "ACTIVE" WebhookSubscriptionSecretStateDISABLED WebhookSubscriptionSecretState = "DISABLED" WebhookSubscriptionSecretStatePAUSED WebhookSubscriptionSecretState = "PAUSED" )
Defines values for WebhookSubscriptionSecretState.
func (WebhookSubscriptionSecretState) Valid ¶
func (e WebhookSubscriptionSecretState) Valid() bool
Valid indicates whether the value is a known member of the WebhookSubscriptionSecretState enum.
type WebhookSubscriptionState ¶
type WebhookSubscriptionState string
WebhookSubscriptionState `DISABLED` is what sustained unreachability produces, with a notification to the owner. Re-enabling is an ordinary write and is audited as one.
const ( WebhookSubscriptionStateACTIVE WebhookSubscriptionState = "ACTIVE" WebhookSubscriptionStateDISABLED WebhookSubscriptionState = "DISABLED" WebhookSubscriptionStatePAUSED WebhookSubscriptionState = "PAUSED" )
Defines values for WebhookSubscriptionState.
func (WebhookSubscriptionState) Valid ¶
func (e WebhookSubscriptionState) Valid() bool
Valid indicates whether the value is a known member of the WebhookSubscriptionState enum.
type WebhookSubscriptionUpdate ¶
type WebhookSubscriptionUpdate struct {
EventTypes *[]string `json:"event_types,omitempty"`
// Filter The new condition. An empty string removes it; omitted leaves it alone.
Filter *string `json:"filter,omitempty"`
// Scope Where a subscription listens: the whole workspace, one hub - its collections included - or one collection. An entry's event belongs to its collection, a hub's or a collection's to itself; an event about no hub or collection (a rule run, an arrival in the jumble) reaches only a subscription of the whole workspace. Subscribing to a hub or a collection needs the automation permission there. On an update, `TENANT` widens a scoped subscription to the whole workspace again.
Scope *WebhookScope `json:"scope,omitempty"`
// State `DISABLED` is not settable by hand: it is what the system concludes from a run of failures. Pausing is how somebody stops deliveries deliberately, and the two say different things to whoever reads the list.
State *WebhookSubscriptionUpdateState `json:"state,omitempty"`
TargetUrl *string `json:"target_url,omitempty"`
}
WebhookSubscriptionUpdate Every field optional; an omitted one is left alone.
type WebhookSubscriptionUpdateState ¶
type WebhookSubscriptionUpdateState string
WebhookSubscriptionUpdateState `DISABLED` is not settable by hand: it is what the system concludes from a run of failures. Pausing is how somebody stops deliveries deliberately, and the two say different things to whoever reads the list.
const ( WebhookSubscriptionUpdateStateACTIVE WebhookSubscriptionUpdateState = "ACTIVE" WebhookSubscriptionUpdateStateLessThannil WebhookSubscriptionUpdateState = "<nil>" WebhookSubscriptionUpdateStatePAUSED WebhookSubscriptionUpdateState = "PAUSED" )
Defines values for WebhookSubscriptionUpdateState.
func (WebhookSubscriptionUpdateState) Valid ¶
func (e WebhookSubscriptionUpdateState) Valid() bool
Valid indicates whether the value is a known member of the WebhookSubscriptionUpdateState enum.
type WithdrawConsentJSONRequestBody ¶
type WithdrawConsentJSONRequestBody = ConsentWithdrawal
WithdrawConsentJSONRequestBody defines body for WithdrawConsent for application/json ContentType.
type WithdrawInstallationPresetParams ¶
type WithdrawInstallationPresetParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
WithdrawInstallationPresetParams defines parameters for WithdrawInstallationPreset.
type WithdrawInstanceIdentityProviderJSONRequestBody ¶
type WithdrawInstanceIdentityProviderJSONRequestBody = ProviderWithdrawal
WithdrawInstanceIdentityProviderJSONRequestBody defines body for WithdrawInstanceIdentityProvider for application/json ContentType.
type WithdrawInstanceIdentityProviderParams ¶
type WithdrawInstanceIdentityProviderParams struct {
// XHubtaskStepUp The proof a privileged operation demanded: the token `POST /auth/step-up` answered, consumed by this one call. Without it, an operation that needs one refuses with `auth.step_up_required`, naming in `params.methods` what this account can prove itself with (space-separated, from `PASSWORD`, `TOTP`, `RECOVERY` and `PROVIDER`; empty for an account with none), and in `params.provider` the name of the provider a `PROVIDER` proof goes to.
XHubtaskStepUp *StepUpToken `json:"X-Hubtask-Step-Up,omitempty"`
}
WithdrawInstanceIdentityProviderParams defines parameters for WithdrawInstanceIdentityProvider.
type WithdrawPresetParams ¶
type WithdrawPresetParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
WithdrawPresetParams defines parameters for WithdrawPreset.
type WorkItem ¶
type WorkItem struct {
// Amount How much of it - "2", "1 kg" - beside the title rather than in it. Up to 40 characters on one line, trimmed; empty or null is none. Only where the collection's structure in force carries AMOUNT for the entry's type (`structure.settings.fields`); elsewhere `capability_not_supported`. Nothing sums it or reads a unit out of it.
Amount *string `json:"amount,omitempty"`
ArchivedAt *time.Time `json:"archived_at,omitempty"`
AssigneeId *openapi_types.UUID `json:"assignee_id,omitempty"`
// AutoAssign What automatic assignment did, present only in the response of an operation that ran it - autoAssignWorkItem, or a create that a policy applied to. Absent everywhere else.
AutoAssign *AutoAssignOutcome `json:"auto_assign,omitempty"`
BucketId *openapi_types.UUID `json:"bucket_id,omitempty"`
// CalendarUid The UID a calendar client knows this entry by, and null for an entry no calendar client made. A todo made in Reminders, Thunderbird or any CalDAV client arrives as a PUT to an address the client chose, carrying the UID it keys the todo by from then on; the server mints the entry's identifier as it does for every creation and keeps the client's UID beside it, so the calendar tree answers the entry at `{calendar_uid}.ics` and renders that UID back unchanged.
//
// Set once, at creation, and never edited: a UID that moved would be a todo the client cannot find again. Unique within the workspace. Server-owned for offline merging - it reaches a device inside the entry's UPSERT, and a patch naming it is refused.
CalendarUid *string `json:"calendar_uid,omitempty"`
// Children Only with expand=children:N
Children *[]WorkItem `json:"children,omitempty"`
CollectionId openapi_types.UUID `json:"collection_id"`
Completion Completion `json:"completion"`
// CompletionCount How often the entry went from open to done. Completing it again while it is done counts nothing, and reopening it keeps the count. What a list ranks entries it can bring back by, most used first. Kept by the server; a client never sends it.
CompletionCount *int `json:"completion_count,omitempty"`
// ContentLanguage BCP-47, and null for an entry whose language nobody stated. It decides the text search configuration the entry is indexed under.
ContentLanguage *string `json:"content_language,omitempty"`
// Counts What the entry holds besides its own fields, as a card and a row count it: its parts (direct children, those in the trash left out) and how many of them are done, the comments people wrote on it (not the ones the server filed), and its attachments. Only with `expand: ["counts"]` on `POST /items:query`; absent otherwise.
Counts *struct {
Attachments int `json:"attachments"`
Comments int `json:"comments"`
Parts int `json:"parts"`
PartsDone int `json:"parts_done"`
} `json:"counts,omitempty"`
Cover *Cover `json:"cover,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
CreatedBy *openapi_types.UUID `json:"created_by,omitempty"`
CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`
DeletedAt *time.Time `json:"deleted_at,omitempty"`
Depth *int `json:"depth,omitempty"`
DueAt *time.Time `json:"due_at,omitempty"`
DueDateOnly *bool `json:"due_date_only,omitempty"`
// DueTimeZone An IANA time zone
DueTimeZone *string `json:"due_time_zone,omitempty"`
// Hidden What the entry's collection does not show of it. A collection's structure (its levels and fields) may offer less than the entry holds; nothing is deleted when it does. The entry and every value stay stored, are answered here as they are, and writing them is refused with `capability_not_supported` until the collection offers them again.
//
// Present on every read of an entry and in the answer of every write to one. Absent from the records of the synchronisation (`:pull`, `:snapshot`, the change stream and the answer of `:push`): a client holding the container's `structure` derives it, since a change of the structure would otherwise rewrite every entry under it.
Hidden *EntryHidden `json:"hidden,omitempty"`
// Hlc The hybrid logical clock of the last change; the basis of offline merging.
Hlc *string `json:"hlc,omitempty"`
Id openapi_types.UUID `json:"id"`
LabelIds *[]openapi_types.UUID `json:"label_ids,omitempty"`
MemberIds *[]openapi_types.UUID `json:"member_ids,omitempty"`
Notes *string `json:"notes,omitempty"`
// Number The entry's running number in its collection; with the collection's handle it is the entry's ticket key, "EINKAUF-42". Drawn when the entry is made, and anew when it moves to another collection.
Number *int64 `json:"number,omitempty"`
OrderKey *string `json:"order_key,omitempty"`
// OriginJumbleId The jumble entry this item was converted out of. Provenance, set once at the conversion and never cleared; absent for an item that was never in the jumble.
OriginJumbleId *openapi_types.UUID `json:"origin_jumble_id,omitempty"`
ParentId *openapi_types.UUID `json:"parent_id,omitempty"`
Path *string `json:"path,omitempty"`
// RecurrenceRuleId The series this entry belongs to, and null for an entry that repeats never. It is set on the template *and* on every occurrence, so it says that a series is involved rather than which end of one this is - `recurrence_source_id` says that.
RecurrenceRuleId *openapi_types.UUID `json:"recurrence_rule_id,omitempty"`
// RecurrenceSourceId The entry this one was copied from as an occurrence, and null on the template and on everything that is not an occurrence. It is what an occurrence links up to: `GET /items/{id}/recurrence` resolves a rule by the entry it belongs to, so an occurrence asking for its own series answers 404 and has to ask its source instead.
//
// Provenance, set once by the materialisation and never cleared - a copy does not stop having come from somewhere when the entry it came from is deleted. Server-owned: a client that sent one would be claiming an occurrence it did not produce.
RecurrenceSourceId *openapi_types.UUID `json:"recurrence_source_id,omitempty"`
// Retention Set for as long as a retention rule applies to this object.
Retention *RetentionState `json:"retention,omitempty"`
StartAt *time.Time `json:"start_at,omitempty"`
Title string `json:"title"`
// Type Extensible; /meta/capabilities returns the valid values.
Type ItemType `json:"type"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
Version int `json:"version"`
}
WorkItem defines model for WorkItem.
type WorkItemCreate ¶
type WorkItemCreate struct {
// Amount How much of it - "2", "1 kg" - beside the title rather than in it. Up to 40 characters on one line, trimmed; empty or null is none. Only where the collection's structure in force carries AMOUNT for the entry's type (`structure.settings.fields`); elsewhere `capability_not_supported`. Nothing sums it or reads a unit out of it.
Amount *string `json:"amount,omitempty"`
AssigneeId *openapi_types.UUID `json:"assignee_id,omitempty"`
AutoAssign *bool `json:"auto_assign,omitempty"`
BeforeItemId *openapi_types.UUID `json:"before_item_id,omitempty"`
BucketId *openapi_types.UUID `json:"bucket_id,omitempty"`
// CalendarUid The UID a calendar client chose for the entry it is making - what the CalDAV tree sends when a client PUTs a new todo, and what any client may send that will later address the entry through the tree. Up to 255 characters of a URL path segment (RFC 3986's pchar without percent-encoding); anything else is refused by name (`items.calendar_uid_invalid`). Taken in this workspace already: `409` with `items.calendar_uid_taken`. Leave it out for an entry no calendar client made.
CalendarUid *string `json:"calendar_uid,omitempty"`
CollectionId *openapi_types.UUID `json:"collection_id,omitempty"`
// ContentLanguage BCP-47. The language the title and the notes are written in, which decides the text search configuration this entry is indexed under. Omitted takes the creator's locale; a language this installation cannot index is stored and indexed word by word rather than refused. `/meta/capabilities` lists the ones it can under `text_languages`.
ContentLanguage *string `json:"content_language,omitempty"`
Cover *Cover `json:"cover,omitempty"`
CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`
DueAt *time.Time `json:"due_at,omitempty"`
DueDateOnly *bool `json:"due_date_only,omitempty"`
// DueTimeZone An IANA time zone. Stored beside the instant, never folded into it: an all-day due date (due_date_only) is a date in this zone, not a midnight that shifts with the viewer. Refused without a due_at.
DueTimeZone *string `json:"due_time_zone,omitempty"`
LabelIds *[]openapi_types.UUID `json:"label_ids,omitempty"`
MemberIds *[]openapi_types.UUID `json:"member_ids,omitempty"`
Notes *string `json:"notes,omitempty"`
ParentId *openapi_types.UUID `json:"parent_id,omitempty"`
StartAt *time.Time `json:"start_at,omitempty"`
Title string `json:"title"`
// Type Extensible; /meta/capabilities returns the valid values.
Type ItemType `json:"type"`
}
WorkItemCreate defines model for WorkItemCreate.
type WorkItemPage ¶
WorkItemPage defines model for WorkItemPage.
type WorkItemUpdate ¶
type WorkItemUpdate struct {
// Amount How much of it - "2", "1 kg" - beside the title rather than in it. Up to 40 characters on one line, trimmed; empty or null is none. Only where the collection's structure in force carries AMOUNT for the entry's type (`structure.settings.fields`); elsewhere `capability_not_supported`. Nothing sums it or reads a unit out of it.
Amount *string `json:"amount,omitempty"`
AssigneeId *openapi_types.UUID `json:"assignee_id,omitempty"`
BucketId *openapi_types.UUID `json:"bucket_id,omitempty"`
// ContentLanguage BCP-47, and null clears it. The entry is re-indexed under the new language on this write; earlier entries are not, because their language did not change.
ContentLanguage *string `json:"content_language,omitempty"`
Cover *Cover `json:"cover,omitempty"`
CustomFields *map[string]interface{} `json:"custom_fields,omitempty"`
// DueAt null clears the due date, the all-day flag and the zone together - the three fields describe one date and none of them means anything alone.
DueAt *time.Time `json:"due_at,omitempty"`
DueDateOnly *bool `json:"due_date_only,omitempty"`
// DueTimeZone An IANA time zone. Refused without a due_at.
DueTimeZone *string `json:"due_time_zone,omitempty"`
Notes *string `json:"notes,omitempty"`
StartAt *time.Time `json:"start_at,omitempty"`
Title *string `json:"title,omitempty"`
}
WorkItemUpdate JSON Merge Patch; null deletes a field.
type Workspace ¶
type Workspace struct {
// AuditAnchorTargetId The workspace's backup target the audit chain's end is anchored to once a day, or null where anchoring is off. Read here, because a screen that sets a value it cannot read back is guessing; written through `PUT /audit/anchoring` and nowhere else, which is where the write is audited with the target before and after. A body naming it on the `PATCH` is refused as an unknown field.
AuditAnchorTargetId *openapi_types.UUID `json:"audit_anchor_target_id,omitempty"`
CreatedAt time.Time `json:"created_at"`
// DefaultLocale The locale a member without one of their own falls back to - the third link of the chain request, account, tenant, installation.
DefaultLocale string `json:"default_locale"`
// DefaultTimeZone An IANA zone, for the same position in the same chain.
DefaultTimeZone string `json:"default_time_zone"`
// DefaultWeekStart The day a member's week starts on when they chose none of their own, or null where this workspace decided nothing and the installation's day, then the language's, applies.
DefaultWeekStart *WorkspaceDefaultWeekStart `json:"default_week_start,omitempty"`
DisplayName string `json:"display_name"`
// Hosts The hosts this workspace answers at. **Read-only, and nothing resolves a request through them yet**: a workspace is still found from its slug, and what this answers is the model a custom domain will need - one host per row, a state, and which of them is canonical.
// Absent where there are none, which is every workspace provisioned before the table existed. An empty array would read as "this workspace is reachable nowhere".
Hosts *[]WorkspaceHost `json:"hosts,omitempty"`
Id openapi_types.UUID `json:"id"`
// InstallationDefaults What the installation set as the default language, time zone and week start, so a workspace's screen can show it beside the workspace's own. Only what the installation decided: a key it left open is absent, and an installation that decided nothing answers an empty object. The language and time zone are what a new workspace starts with; the week start applies wherever a workspace decided none.
InstallationDefaults *InstallationDefaults `json:"installation_defaults,omitempty"`
// PasswordOpening The installation operator's opening of the password for this workspace, while it is in force: the password is open for every account that holds one, whatever `sign_in_policy.methods` says, until `until`. Absent otherwise. Written by the control plane alone; a body naming it on the `PATCH` is refused as an unknown field.
PasswordOpening *WorkspacePasswordOpening `json:"password_opening,omitempty"`
// PrivateHubsOffered Whether a client offers to make a hub private: the workspace allows private hubs (`sign_in_policy.private_hubs`) and holds more than one person whose account is not anonymised. A workspace of one has nobody to keep a hub from, and a screen that offered it would be noise. Where private hubs are not allowed, the server refuses one (`containers.private_hubs_off`).
PrivateHubsOffered *bool `json:"private_hubs_offered,omitempty"`
// RequireAdminTotp Whether the rule in force demands a second factor of this workspace's `OWNER` and `ADMIN` role holders - `sign_in_policy.mfa_required_for` is `ADMINS` or `EVERYONE`. Derived from the rule and from nothing else, so the two cannot disagree. Kept for the clients that read it.
RequireAdminTotp bool `json:"require_admin_totp"`
// SeveralPeople Whether the workspace holds more than one person whose account is not anonymised - where private hubs, and the setting that allows them, mean something.
SeveralPeople *bool `json:"several_people,omitempty"`
// SignInPolicy How people in this workspace prove who they are. Absent on an installation with no instance layer, where there is no level above to resolve against - a screen that drew eighteen rows it could not save would be a screen that lies about what it offers.
SignInPolicy *SignInPolicy `json:"sign_in_policy,omitempty"`
// Slug The subdomain label the workspace is reached by in multi mode. Read-only here - see the note on the `PATCH`.
Slug string `json:"slug"`
// StarterOffered Whether a client asks the reader, once, what the workspace is used for and offers a starter set of hubs and collections on matching presets: nobody has answered or skipped it yet, nobody has made a hub, collection or entry beyond what the workspace was created with, and the reader may change the workspace's shape. `POST /tenant/starter:close` answers it for good.
StarterOffered *bool `json:"starter_offered,omitempty"`
// Status The workspace's standing. A suspended one refuses every request before a use case is reached, so a member reading this field is reading it from an installation that let them in.
Status WorkspaceStatus `json:"status"`
// Structure The workspace's own structure: the values every hub and collection inherits unless it has its own, the locks that bind them all, and the preset a new hub starts from.
Structure *WorkspaceStructure `json:"structure,omitempty"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
// Version The optimistic lock, as everywhere else.
Version int `json:"version"`
}
Workspace A workspace as the people inside it see it. `AdminTenant` is the same row as the installation operator sees it, across workspaces; this one is answered to a member and carries what a member may act on.
type WorkspaceDefaultWeekStart ¶
type WorkspaceDefaultWeekStart string
WorkspaceDefaultWeekStart The day a member's week starts on when they chose none of their own, or null where this workspace decided nothing and the installation's day, then the language's, applies.
const ( WorkspaceDefaultWeekStartLessThannil WorkspaceDefaultWeekStart = "<nil>" WorkspaceDefaultWeekStartMONDAY WorkspaceDefaultWeekStart = "MONDAY" WorkspaceDefaultWeekStartSATURDAY WorkspaceDefaultWeekStart = "SATURDAY" WorkspaceDefaultWeekStartSUNDAY WorkspaceDefaultWeekStart = "SUNDAY" )
Defines values for WorkspaceDefaultWeekStart.
func (WorkspaceDefaultWeekStart) Valid ¶
func (e WorkspaceDefaultWeekStart) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceDefaultWeekStart enum.
type WorkspaceHost ¶
type WorkspaceHost struct {
CreatedAt time.Time `json:"created_at"`
Host string `json:"host"`
// IsCanonical Which host a mail, a redirect and an invitation link name. Exactly one per workspace, enforced by a partial unique index rather than by a rule somebody has to remember.
IsCanonical bool `json:"is_canonical"`
// State `PENDING` resolves nothing: a host somebody typed is not a host they own. `VERIFIED` is one whose zone carried the mark and which may become canonical; it is not serving yet. `ACTIVE` is verified, its certificate in place, and answering - the canonical host is always this one. `BROKEN` was `ACTIVE` and stopped, and the row is kept because it is the way back: when it recovers it is `ACTIVE` again without anybody doing anything.
State WorkspaceHostState `json:"state"`
// Verification What the zone has to carry before the state may move - a value published in a DNS record, which is why it is the one presented value in this contract that is not a digest. Present for a `PENDING` or `BROKEN` host, because those are the two a zone still has to prove; absent for the canonical one and for anything already serving.
Verification *string `json:"verification,omitempty"`
VerifiedAt *time.Time `json:"verified_at,omitempty"`
}
WorkspaceHost One host a workspace answers at. The canonical one is derived from the slug under the installation's own domain and is verified by construction - the installation already answers at it - so it carries no verification mark to publish.
type WorkspaceHostState ¶
type WorkspaceHostState string
WorkspaceHostState `PENDING` resolves nothing: a host somebody typed is not a host they own. `VERIFIED` is one whose zone carried the mark and which may become canonical; it is not serving yet. `ACTIVE` is verified, its certificate in place, and answering - the canonical host is always this one. `BROKEN` was `ACTIVE` and stopped, and the row is kept because it is the way back: when it recovers it is `ACTIVE` again without anybody doing anything.
const ( WorkspaceHostStateACTIVE WorkspaceHostState = "ACTIVE" WorkspaceHostStateBROKEN WorkspaceHostState = "BROKEN" WorkspaceHostStatePENDING WorkspaceHostState = "PENDING" WorkspaceHostStateVERIFIED WorkspaceHostState = "VERIFIED" )
Defines values for WorkspaceHostState.
func (WorkspaceHostState) Valid ¶
func (e WorkspaceHostState) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceHostState enum.
type WorkspacePasswordOpening ¶
type WorkspacePasswordOpening struct {
// Reason Why. Absent for a reader without `READ_CONFIGURATION`.
Reason *string `json:"reason,omitempty"`
// Requester Who asked for it. Absent for a reader without `READ_CONFIGURATION`.
Requester *string `json:"requester,omitempty"`
// Until When the opening ends on its own.
Until time.Time `json:"until"`
}
WorkspacePasswordOpening An operator's opening of the password as the workspace itself reads it. Every member is told until when; who asked and why are answered only to a reader of the workspace's configuration (`READ_CONFIGURATION`: owners, administrators, the auditor) - the requester may name a person, and the reason may say more than a member needs.
type WorkspaceQuestion ¶
type WorkspaceQuestion struct {
// Question The question, in the caller's own words. It travels to the provider as content, never as instruction.
Question string `json:"question"`
}
WorkspaceQuestion One question to the workspace.
type WorkspaceStatus ¶
type WorkspaceStatus string
WorkspaceStatus The workspace's standing. A suspended one refuses every request before a use case is reached, so a member reading this field is reading it from an installation that let them in.
const ( WorkspaceStatusACTIVE WorkspaceStatus = "ACTIVE" WorkspaceStatusPENDINGDELETION WorkspaceStatus = "PENDING_DELETION" WorkspaceStatusSUSPENDED WorkspaceStatus = "SUSPENDED" )
Defines values for WorkspaceStatus.
func (WorkspaceStatus) Valid ¶
func (e WorkspaceStatus) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceStatus enum.
type WorkspaceStructure ¶
type WorkspaceStructure struct {
// DefaultPreset The preset a hub created without one starts from. Collections follow their hub.
DefaultPreset *WorkspaceStructureDefaultPreset `json:"default_preset"`
// DefaultPresetId The workspace preset a hub created without one starts from, where the default is a saved one; `default_preset` is then null.
DefaultPresetId *openapi_types.UUID `json:"default_preset_id,omitempty"`
Locks map[string]StructureLock `json:"locks"`
Preset *WorkspaceStructurePreset `json:"preset"`
// PresetId The saved preset the nearest layer's values were copied from, where it was one; `preset` is then null. Provenance only: the preset may have been changed or withdrawn since.
PresetId *openapi_types.UUID `json:"preset_id,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings StructureSettings `json:"settings"`
Sources map[string]PolicySource `json:"sources"`
}
WorkspaceStructure The workspace's own structure: the values every hub and collection inherits unless it has its own, the locks that bind them all, and the preset a new hub starts from.
type WorkspaceStructureChange ¶
type WorkspaceStructureChange struct {
// DefaultPreset The preset a hub created without one starts from; null removes it.
DefaultPreset *WorkspaceStructureChangeDefaultPreset `json:"default_preset,omitempty"`
// DefaultPresetId A workspace preset as the one a hub created without one starts from instead; null removes it, as does `default_preset: null`. A person's own preset is refused with `presets.unknown`; naming it beside `default_preset` with `presets.both_named`.
DefaultPresetId *openapi_types.UUID `json:"default_preset_id,omitempty"`
// Locks The whole set of locks after the change. Omitted leaves them as they are; an empty list removes them all. A lock kept keeps who set it.
Locks *[]string `json:"locks,omitempty"`
Preset *WorkspaceStructureChangePreset `json:"preset,omitempty"`
// PresetId A saved preset to copy instead - the workspace's, the installation's or the caller's own; any other is refused with `presets.unknown`. Naming it beside `preset` is refused with `presets.both_named`.
PresetId *openapi_types.UUID `json:"preset_id,omitempty"`
Reset *[]StructureSettingName `json:"reset,omitempty"`
// Settings How much structure a hub or collection has: eight settings. Answered whole wherever a structure is in force; a write sends only the settings it changes. Every value is held inside what this installation offers (`/meta/capabilities`, `item_types`): a value that would widen it is refused with `capability_not_supported`. `completion` and `automation` are applied by the server; `levels` and `fields` say what a client offers; `counts` the server counts and a client draws; `views`, `capture` and `celebration` are applied by clients, and the server stores and answers them.
Settings *StructureSettings `json:"settings,omitempty"`
}
WorkspaceStructureChange A change of the workspace's structure. Applied in this order: the preset, the settings, the resets; then the locks and the default preset.
type WorkspaceStructureChangeDefaultPreset ¶
type WorkspaceStructureChangeDefaultPreset string
WorkspaceStructureChangeDefaultPreset The preset a hub created without one starts from; null removes it.
const ( WorkspaceStructureChangeDefaultPresetFLOW WorkspaceStructureChangeDefaultPreset = "FLOW" WorkspaceStructureChangeDefaultPresetLIST WorkspaceStructureChangeDefaultPreset = "LIST" WorkspaceStructureChangeDefaultPresetLessThannil WorkspaceStructureChangeDefaultPreset = "<nil>" WorkspaceStructureChangeDefaultPresetPROJECT WorkspaceStructureChangeDefaultPreset = "PROJECT" WorkspaceStructureChangeDefaultPresetTASKS WorkspaceStructureChangeDefaultPreset = "TASKS" )
Defines values for WorkspaceStructureChangeDefaultPreset.
func (WorkspaceStructureChangeDefaultPreset) Valid ¶
func (e WorkspaceStructureChangeDefaultPreset) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceStructureChangeDefaultPreset enum.
type WorkspaceStructureChangePreset ¶
type WorkspaceStructureChangePreset string
WorkspaceStructureChangePreset defines model for WorkspaceStructureChange.Preset.
const ( WorkspaceStructureChangePresetFLOW WorkspaceStructureChangePreset = "FLOW" WorkspaceStructureChangePresetLIST WorkspaceStructureChangePreset = "LIST" WorkspaceStructureChangePresetPROJECT WorkspaceStructureChangePreset = "PROJECT" WorkspaceStructureChangePresetTASKS WorkspaceStructureChangePreset = "TASKS" )
Defines values for WorkspaceStructureChangePreset.
func (WorkspaceStructureChangePreset) Valid ¶
func (e WorkspaceStructureChangePreset) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceStructureChangePreset enum.
type WorkspaceStructureDefaultPreset ¶
type WorkspaceStructureDefaultPreset string
WorkspaceStructureDefaultPreset The preset a hub created without one starts from. Collections follow their hub.
const ( WorkspaceStructureDefaultPresetFLOW WorkspaceStructureDefaultPreset = "FLOW" WorkspaceStructureDefaultPresetLIST WorkspaceStructureDefaultPreset = "LIST" WorkspaceStructureDefaultPresetLessThannil WorkspaceStructureDefaultPreset = "<nil>" WorkspaceStructureDefaultPresetPROJECT WorkspaceStructureDefaultPreset = "PROJECT" WorkspaceStructureDefaultPresetTASKS WorkspaceStructureDefaultPreset = "TASKS" )
Defines values for WorkspaceStructureDefaultPreset.
func (WorkspaceStructureDefaultPreset) Valid ¶
func (e WorkspaceStructureDefaultPreset) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceStructureDefaultPreset enum.
type WorkspaceStructurePreset ¶
type WorkspaceStructurePreset string
WorkspaceStructurePreset defines model for WorkspaceStructure.Preset.
const ( WorkspaceStructurePresetFLOW WorkspaceStructurePreset = "FLOW" WorkspaceStructurePresetLIST WorkspaceStructurePreset = "LIST" WorkspaceStructurePresetLessThannil WorkspaceStructurePreset = "<nil>" WorkspaceStructurePresetPROJECT WorkspaceStructurePreset = "PROJECT" WorkspaceStructurePresetTASKS WorkspaceStructurePreset = "TASKS" )
Defines values for WorkspaceStructurePreset.
func (WorkspaceStructurePreset) Valid ¶
func (e WorkspaceStructurePreset) Valid() bool
Valid indicates whether the value is a known member of the WorkspaceStructurePreset enum.
type WorkspaceUpdate ¶
type WorkspaceUpdate struct {
// DefaultLocale A BCP-47 tag. One this installation cannot resolve is a field error.
DefaultLocale *string `json:"default_locale,omitempty"`
// DefaultTimeZone An IANA zone. One that does not load is a field error.
DefaultTimeZone *string `json:"default_time_zone,omitempty"`
// DefaultWeekStart `MONDAY`, `SATURDAY` or `SUNDAY`: the day a member's week starts on when they chose none of their own; another day is a field error. The empty string clears it, and the installation's day, then the language's, applies again - an explicit `null` reads as an absent key here, as everywhere in this body.
DefaultWeekStart *string `json:"default_week_start,omitempty"`
DisplayName *string `json:"display_name,omitempty"`
// RequireAdminTotp The old name of `sign_in_policy.mfa_required_for`: true asks for `ADMINS` where the rule demands less, false for `NONE`. A change to the rule, so it demands the step-up whenever it moves anything - see the operation.
RequireAdminTotp *bool `json:"require_admin_totp,omitempty"`
// SignInPolicy The switches this workspace is tightening. Flat, and merge-patch like everything else here: a switch the body does not name does not move.
// Three refusals, each against its own field. A switch the level above locked is `auth.policy_locked` with the origin in its parameters; one that would loosen the rule is `auth.policy_loosens`; a value of the wrong kind is `auth.policy_value_invalid`. Sending this member demands the step-up header - a workspace's sign-in rule is what decides whether a stolen tab can weaken the way in.
SignInPolicy *SignInPolicyChange `json:"sign_in_policy,omitempty"`
}
WorkspaceUpdate Every field optional; an omitted one is left alone, which is what merge-patch means. An explicit `null` is read as an absent key rather than as "clear it". The one field with an absent state, `default_week_start`, is cleared with the empty string instead; the others have none - a workspace always has a name, a locale, a zone and an answer to the enforcement question.
type WorkspaceUsage ¶
type WorkspaceUsage struct {
// Metrics Every day of the range, per metric by its name.
Metrics map[string][]UsageDay `json:"metrics"`
// Purged True for a workspace purged within the last 13 months, answered by its bare id.
Purged bool `json:"purged"`
WorkspaceId openapi_types.UUID `json:"workspace_id"`
}
WorkspaceUsage defines model for WorkspaceUsage.
type WriteInstanceSettingsJSONRequestBody ¶
type WriteInstanceSettingsJSONRequestBody = InstanceSettings
WriteInstanceSettingsJSONRequestBody defines body for WriteInstanceSettings for application/json ContentType.
type WriteInstanceSettingsParams ¶
type WriteInstanceSettingsParams struct {
// IfMatch The ETag of the state last read (optimistic locking).
IfMatch *IfMatch `json:"If-Match,omitempty"`
}
WriteInstanceSettingsParams defines parameters for WriteInstanceSettings.