Versions in this module Expand all Collapse all v0 v0.2.0 Oct 30, 2026 Changes in this version type Client + func (c *Client) AllSearchHits(ctx context.Context, req SearchRequest) iter.Seq2[SearchHit, error] + func (c *Client) Search(ctx context.Context, req SearchRequest) (*SearchResponse, error) + type MatchedField struct + Code string + Label string + type SearchHit struct + Attachment *SearchHitAttachment + MessageComment *SearchHitMessageComment + PeopleComment *SearchHitPeopleComment + Record *SearchHitRecord + RecordComment *SearchHitRecordComment + Snippets []string + Space *SearchHitSpace + Thread *SearchHitThread + ThreadComment *SearchHitThreadComment + Type SearchType + URL string + type SearchHitAttachment struct + AttachedTo SearchType + CreatedAt time.Time + Creator Entity + FileKey string + Name string + type SearchHitMessageComment struct + CommentID int64 + CreatedAt time.Time + Creator Entity + Recipient Entity + type SearchHitPeopleComment struct + CommentID int64 + CreatedAt time.Time + Creator Entity + Owner Entity + ReplyID int64 + type SearchHitRecord struct + AppID int64 + AppName string + CreatedAt time.Time + Creator Entity + MatchedFields []MatchedField + RecordID int64 + RecordTitle string + SpaceID int64 + SpaceName string + type SearchHitRecordComment struct + AppID int64 + AppName string + CommentID int64 + CreatedAt time.Time + Creator Entity + RecordID int64 + RecordTitle string + SpaceID int64 + SpaceName string + type SearchHitSpace struct + CreatedAt time.Time + Creator Entity + SpaceID int64 + SpaceName string + type SearchHitThread struct + CreatedAt time.Time + Creator Entity + SpaceID int64 + SpaceName string + ThreadID int64 + ThreadName string + type SearchHitThreadComment struct + CommentID int64 + CreatedAt time.Time + Creator Entity + ReplyID int64 + SpaceID int64 + SpaceName string + ThreadID int64 + ThreadName string + type SearchOperator string + const SearchOperatorAnd + const SearchOperatorNot + const SearchOperatorOr + type SearchQuery struct + Keywords []string + Operator SearchOperator + type SearchRequest struct + CreatedAfter time.Time + CreatedBefore time.Time + Creators []string + ExcludeScopes []SearchScope + IncludeSynonyms bool + Limit int64 + PageToken string + Query []SearchQuery + Scopes []SearchScope + Sort SearchSort + Types []SearchType + type SearchResponse struct + Hits []SearchHit + NextPageToken string + type SearchScope struct + Codes []string + IDs []int64 + Scope SearchScopeType + type SearchScopeType string + const SearchScopeTypeApp + const SearchScopeTypeMessage + const SearchScopeTypePeople + const SearchScopeTypeSpace + type SearchSort struct + By SearchSortBy + Order SortOrder + type SearchSortBy string + const SearchSortByCreatedAt + const SearchSortByRelevance + type SearchType string + const SearchTypeAttachment + const SearchTypeMessageComment + const SearchTypePeopleComment + const SearchTypeRecord + const SearchTypeRecordComment + const SearchTypeSpace + const SearchTypeThread + const SearchTypeThreadComment v0.1.0 Oct 20, 2026 Changes in this version + func IsErrorCode(err error, code string) bool + func Quote(s string) string + type APILink struct + Link string + type APISchema struct + BaseURL string + HTTPMethod string + ID string + Path string + Request jsontext.Value + Response jsontext.Value + Schemas map[string]jsontext.Value + type APIs struct + APIs map[string]APILink + BaseURL string + type Accessibility string + const AccessibilityNone + const AccessibilityRead + const AccessibilityWrite + type ActionMapping struct + DestField string + SrcField string + SrcType MappingSourceType + type AddAppRequest struct + Name string + Space int64 + Thread int64 + type AddSpaceFromTemplateRequest struct + FixedMember bool + ID int64 + IsGuest bool + IsPrivate bool + Members []SpaceMember + Name string + type AdminNotes struct + Content string + IncludeInTemplateAndDuplicates *bool + Revision int64 + type AggregationType string + const AggregationTypeAverage + const AggregationTypeCount + const AggregationTypeMax + const AggregationTypeMin + const AggregationTypeSum + type Alignment string + const AlignmentHorizontal + const AlignmentVertical + type AllRecordsByIDRequest struct + App int64 + Condition string + Fields []string + type AllRecordsError struct + Err error + Processed int + func (e *AllRecordsError) Error() string + func (e *AllRecordsError) Unwrap() error + type App struct + AppID int64 + Code string + CreatedAt time.Time + Creator Entity + Description string + ModifiedAt time.Time + Modifier Entity + Name string + SpaceID int64 + ThreadID int64 + type AppAction struct + DestApp *RelatedApp + Entities []FieldEntity + FilterCond *string + ID int64 + Index int + Mappings []ActionMapping + Name string + type AppActions struct + Actions map[string]AppAction + Revision int64 + type AppDeployStatus struct + App int64 + Status DeployStatus + type AppDeployment struct + App int64 + Revision int64 + type AppIcon struct + File *FileInfo + Key string + Type AppIconType + type AppIconType string + const AppIconTypeFile + const AppIconTypePreset + type AppPermissions struct + Revision int64 + Rights []AppRight + type AppPlugin struct + Enabled bool + ID string + Name string + type AppPluginConfig struct + Config map[string]string + Revision int64 + type AppPlugins struct + Plugins []AppPlugin + Revision int64 + type AppRevision struct + App int64 + Revision int64 + type AppRight struct + AppEditable bool + Entity FieldEntity + IncludeSubs bool + RecordAddable bool + RecordDeletable bool + RecordEditable bool + RecordExportable bool + RecordImportable bool + RecordViewable bool + type AppSpace struct + ID int64 + Name string + type AppStatistics struct + APITokenCount int64 + AppGroup string + CreatedAt time.Time + Creator Entity + Customized bool + DailyRequestCount int64 + FieldCount int64 + ID int64 + ModifiedAt time.Time + Modifier Entity + Name string + RecordCount int64 + RecordUpdatedAt time.Time + Space *AppSpace + Status AppStatus + StorageUsage int64 + WebhookCount int64 + type AppStatus string + const AppStatusActivated + const AppStatusChanged + const AppStatusNotActivated + type AssigneesUpdate struct + Assignees []string + ID int64 + Revision int64 + type BulkError struct + Err *Error + Index int + func (e *BulkError) Error() string + func (e *BulkError) Unwrap() error + type BulkRequest struct + func (b *BulkRequest) AddRecord(app int64, record Record) *BulkResult[RecordRevision] + func (b *BulkRequest) AddRecords(app int64, records []Record) *BulkResult[[]RecordRevision] + func (b *BulkRequest) DeleteRecords(app int64, ids, revisions []int64) *BulkResult[struct{}] + func (b *BulkRequest) Send(ctx context.Context) error + func (b *BulkRequest) UpdateAssignees(app int64, update AssigneesUpdate) *BulkResult[int64] + func (b *BulkRequest) UpdateRecord(app int64, update RecordUpdate) *BulkResult[int64] + func (b *BulkRequest) UpdateRecords(app int64, updates []RecordUpdate) *BulkResult[[]UpdatedRecord] + func (b *BulkRequest) UpdateStatus(app int64, update StatusUpdate) *BulkResult[int64] + func (b *BulkRequest) UpdateStatuses(app int64, updates []StatusUpdate) *BulkResult[[]RecordRevision] + func (b *BulkRequest) UpsertRecords(app int64, updates []RecordUpdate) *BulkResult[[]UpdatedRecord] + type BulkResult struct + func (r *BulkResult[T]) Value() T + type CalcFormat string + const CalcFormatDate + const CalcFormatDateTime + const CalcFormatDayHourMinute + const CalcFormatHourMinute + const CalcFormatNumber + const CalcFormatNumberDigit + const CalcFormatTime + type Categories struct + Categories map[string]Category + Enabled *bool + Revision int64 + type Category struct + Children map[string]Category + Index int + Name string + type ChartMode string + const ChartModeNormal + const ChartModePercentage + const ChartModeStacked + type ChartType string + const ChartTypeArea + const ChartTypeBar + const ChartTypeColumn + const ChartTypeLine + const ChartTypePie + const ChartTypePivotTable + const ChartTypeSpline + const ChartTypeSplineArea + const ChartTypeTable + type Client struct + func NewClient(baseURL string, opts ...Option) (*Client, error) + func (c *Client) AddAllRecords(ctx context.Context, app int64, records []Record) ([]RecordRevision, error) + func (c *Client) AddApp(ctx context.Context, req AddAppRequest) (AppRevision, error) + func (c *Client) AddAppPlugins(ctx context.Context, app int64, ids []string, revision int64) (int64, error) + func (c *Client) AddComment(ctx context.Context, app, record int64, text string, mentions ...Mention) (int64, error) + func (c *Client) AddFormFields(ctx context.Context, app int64, properties map[string]FieldProperty, ...) (int64, error) + func (c *Client) AddGuests(ctx context.Context, guests []Guest) error + func (c *Client) AddRecord(ctx context.Context, app int64, record Record) (RecordRevision, error) + func (c *Client) AddRecords(ctx context.Context, app int64, records []Record) ([]RecordRevision, error) + func (c *Client) AddSpace(ctx context.Context, name string) (int64, error) + func (c *Client) AddSpaceFromTemplate(ctx context.Context, req AddSpaceFromTemplateRequest) (int64, error) + func (c *Client) AddThread(ctx context.Context, space int64, name string) (int64, error) + func (c *Client) AddThreadComment(ctx context.Context, space, thread int64, comment ThreadComment) (int64, error) + func (c *Client) AllApps(ctx context.Context, req GetAppsRequest) iter.Seq2[App, error] + func (c *Client) AllComments(ctx context.Context, req GetCommentsRequest) iter.Seq2[Comment, error] + func (c *Client) AllRecords(ctx context.Context, req CreateCursorRequest) iter.Seq2[Record, error] + func (c *Client) AllRecordsByID(ctx context.Context, req AllRecordsByIDRequest) iter.Seq2[Record, error] + func (c *Client) CreateCursor(ctx context.Context, req CreateCursorRequest) (*Cursor, error) + func (c *Client) DeleteAllRecords(ctx context.Context, app int64, ids, revisions []int64) error + func (c *Client) DeleteComment(ctx context.Context, app, record, comment int64) error + func (c *Client) DeleteCursor(ctx context.Context, id string) error + func (c *Client) DeleteFormFields(ctx context.Context, app int64, fields []string, revision int64) (int64, error) + func (c *Client) DeleteGuests(ctx context.Context, codes []string) error + func (c *Client) DeleteRecords(ctx context.Context, app int64, ids, revisions []int64) error + func (c *Client) DeleteSpace(ctx context.Context, id int64) error + func (c *Client) DeployApps(ctx context.Context, apps []AppDeployment) error + func (c *Client) DownloadFile(ctx context.Context, fileKey string) (io.ReadCloser, string, error) + func (c *Client) EvaluateRecordPermissions(ctx context.Context, app int64, ids []int64) ([]RecordAccess, error) + func (c *Client) GetAPISchema(ctx context.Context, id string) (*APISchema, error) + func (c *Client) GetAPIs(ctx context.Context) (*APIs, error) + func (c *Client) GetAdminNotes(ctx context.Context, req GetAppSettingsRequest) (*AdminNotes, error) + func (c *Client) GetApp(ctx context.Context, id int64) (*App, error) + func (c *Client) GetAppActions(ctx context.Context, req GetAppSettingsRequest) (*AppActions, error) + func (c *Client) GetAppPermissions(ctx context.Context, req GetAppSettingsRequest) (*AppPermissions, error) + func (c *Client) GetAppPluginConfig(ctx context.Context, req GetAppPluginConfigRequest) (*AppPluginConfig, error) + func (c *Client) GetAppPlugins(ctx context.Context, req GetAppSettingsRequest) (*AppPlugins, error) + func (c *Client) GetApps(ctx context.Context, req GetAppsRequest) ([]App, error) + func (c *Client) GetAppsStatistics(ctx context.Context, req GetAppsStatisticsRequest) ([]AppStatistics, error) + func (c *Client) GetCategories(ctx context.Context, req GetAppSettingsRequest) (*Categories, error) + func (c *Client) GetComments(ctx context.Context, req GetCommentsRequest) (*GetCommentsResponse, error) + func (c *Client) GetCustomization(ctx context.Context, req GetAppSettingsRequest) (*Customization, error) + func (c *Client) GetDeployStatus(ctx context.Context, apps []int64) ([]AppDeployStatus, error) + func (c *Client) GetFieldPermissions(ctx context.Context, req GetAppSettingsRequest) (*FieldPermissions, error) + func (c *Client) GetFormFields(ctx context.Context, req GetAppSettingsRequest) (*FormFields, error) + func (c *Client) GetFormLayout(ctx context.Context, req GetAppSettingsRequest) (*FormLayout, error) + func (c *Client) GetGeneralNotifications(ctx context.Context, req GetAppSettingsRequest) (*GeneralNotifications, error) + func (c *Client) GetGeneralSettings(ctx context.Context, req GetAppSettingsRequest) (*GeneralSettings, error) + func (c *Client) GetPerRecordNotifications(ctx context.Context, req GetAppSettingsRequest) (*PerRecordNotifications, error) + func (c *Client) GetPluginApps(ctx context.Context, req GetPluginAppsRequest) ([]PluginApp, error) + func (c *Client) GetPlugins(ctx context.Context, req GetPluginsRequest) ([]Plugin, error) + func (c *Client) GetProcessManagement(ctx context.Context, req GetAppSettingsRequest) (*ProcessManagement, error) + func (c *Client) GetRecord(ctx context.Context, app, id int64) (Record, error) + func (c *Client) GetRecordPermissions(ctx context.Context, req GetAppSettingsRequest) (*RecordPermissions, error) + func (c *Client) GetRecords(ctx context.Context, req GetRecordsRequest) (*GetRecordsResponse, error) + func (c *Client) GetRecordsByCursor(ctx context.Context, id string) (records []Record, next bool, err error) + func (c *Client) GetReminderNotifications(ctx context.Context, req GetAppSettingsRequest) (*ReminderNotifications, error) + func (c *Client) GetReports(ctx context.Context, req GetAppSettingsRequest) (*Reports, error) + func (c *Client) GetRequiredPlugins(ctx context.Context, req GetRequiredPluginsRequest) ([]Plugin, error) + func (c *Client) GetSpace(ctx context.Context, id int64) (*Space, error) + func (c *Client) GetSpaceMembers(ctx context.Context, id int64) ([]SpaceMember, error) + func (c *Client) GetSpacesStatistics(ctx context.Context, req GetSpacesStatisticsRequest) ([]SpaceStatistics, error) + func (c *Client) GetViews(ctx context.Context, req GetAppSettingsRequest) (*Views, error) + func (c *Client) InstallPlugin(ctx context.Context, fileKey string) (PluginVersion, error) + func (c *Client) MoveApp(ctx context.Context, app, space int64) error + func (c *Client) NewBulkRequest() *BulkRequest + func (c *Client) RevertApps(ctx context.Context, apps []AppDeployment) error + func (c *Client) UninstallPlugin(ctx context.Context, id string) error + func (c *Client) UpdateAdminNotes(ctx context.Context, app int64, notes AdminNotes, revision int64) (int64, error) + func (c *Client) UpdateAllRecords(ctx context.Context, app int64, updates []RecordUpdate) ([]UpdatedRecord, error) + func (c *Client) UpdateAppActions(ctx context.Context, app int64, actions map[string]AppAction, revision int64) (*UpdatedAppActions, error) + func (c *Client) UpdateAppPermissions(ctx context.Context, app int64, rights []AppRight, revision int64) (int64, error) + func (c *Client) UpdateAppPluginConfig(ctx context.Context, app int64, id string, config map[string]string) (int64, error) + func (c *Client) UpdateAssignees(ctx context.Context, app int64, update AssigneesUpdate) (int64, error) + func (c *Client) UpdateCategories(ctx context.Context, app int64, settings Categories, revision int64) (int64, error) + func (c *Client) UpdateCustomization(ctx context.Context, app int64, customization Customization, revision int64) (int64, error) + func (c *Client) UpdateFieldPermissions(ctx context.Context, app int64, rights []FieldRight, revision int64) (int64, error) + func (c *Client) UpdateFormFields(ctx context.Context, app int64, properties map[string]FieldProperty, ...) (int64, error) + func (c *Client) UpdateFormLayout(ctx context.Context, app int64, layout []LayoutRow, revision int64) (int64, error) + func (c *Client) UpdateGeneralNotifications(ctx context.Context, app int64, settings GeneralNotifications, revision int64) (int64, error) + func (c *Client) UpdateGeneralSettings(ctx context.Context, app int64, settings GeneralSettings, revision int64) (int64, error) + func (c *Client) UpdateGuestMembers(ctx context.Context, id int64, codes []string) error + func (c *Client) UpdatePerRecordNotifications(ctx context.Context, app int64, notifications []PerRecordNotification, ...) (int64, error) + func (c *Client) UpdatePlugin(ctx context.Context, id, fileKey string) (PluginVersion, error) + func (c *Client) UpdateProcessManagement(ctx context.Context, app int64, settings ProcessManagement, revision int64) (int64, error) + func (c *Client) UpdateRecord(ctx context.Context, app int64, update RecordUpdate) (int64, error) + func (c *Client) UpdateRecordPermissions(ctx context.Context, app int64, rights []RecordRight, revision int64) (int64, error) + func (c *Client) UpdateRecords(ctx context.Context, app int64, updates []RecordUpdate) ([]UpdatedRecord, error) + func (c *Client) UpdateReminderNotifications(ctx context.Context, app int64, settings ReminderNotifications, revision int64) (int64, error) + func (c *Client) UpdateReports(ctx context.Context, app int64, reports map[string]Report, revision int64) (*UpdatedReports, error) + func (c *Client) UpdateSpace(ctx context.Context, req UpdateSpaceRequest) error + func (c *Client) UpdateSpaceBody(ctx context.Context, id int64, body string) error + func (c *Client) UpdateSpaceMembers(ctx context.Context, id int64, members []SpaceMember) error + func (c *Client) UpdateStatus(ctx context.Context, app int64, update StatusUpdate) (int64, error) + func (c *Client) UpdateStatuses(ctx context.Context, app int64, updates []StatusUpdate) ([]RecordRevision, error) + func (c *Client) UpdateThread(ctx context.Context, req UpdateThreadRequest) error + func (c *Client) UpdateViews(ctx context.Context, app int64, views map[string]View, revision int64) (*UpdatedViews, error) + func (c *Client) UploadFile(ctx context.Context, name string, r io.Reader) (string, error) + func (c *Client) UpsertAllRecords(ctx context.Context, app int64, updates []RecordUpdate) ([]UpdatedRecord, error) + func (c *Client) UpsertRecords(ctx context.Context, app int64, updates []RecordUpdate) ([]UpdatedRecord, error) + func (c *Client) WaitForDeploy(ctx context.Context, apps []int64) error + type Comment struct + CreatedAt time.Time + Creator Entity + ID int64 + Mentions []Mention + Text string + type CoverType string + const CoverTypeBlob + const CoverTypePreset + type CreateAppPermission string + const CreateAppPermissionAdmin + const CreateAppPermissionEveryone + type CreateCursorRequest struct + App int64 + Fields []string + Query string + Size int64 + type Cursor struct + ID string + TotalCount int64 + Warning string + type Customization struct + Desktop *CustomizationFiles + Mobile *CustomizationFiles + Revision int64 + Scope CustomizationScope + type CustomizationFile struct + File *FileInfo + Type CustomizationFileType + URL string + type CustomizationFileType string + const CustomizationFileTypeFile + const CustomizationFileTypeURL + type CustomizationFiles struct + CSS []CustomizationFile + JS []CustomizationFile + type CustomizationScope string + const CustomizationScopeAdmin + const CustomizationScopeAll + const CustomizationScopeNone + type DayOfWeek string + const DayOfWeekFriday + const DayOfWeekMonday + const DayOfWeekSaturday + const DayOfWeekSunday + const DayOfWeekThursday + const DayOfWeekTuesday + const DayOfWeekWednesday + type DeployStatus string + const DeployStatusCancel + const DeployStatusFail + const DeployStatusProcessing + const DeployStatusSuccess + type Entity struct + Code string + Name string + type EntityType string + const EntityTypeCreator + const EntityTypeCustomField + const EntityTypeFieldEntity + const EntityTypeFunction + const EntityTypeGroup + const EntityTypeOrganization + const EntityTypeUser + type Error struct + Code string + Errors map[string]ErrorDetail + Header http.Header + ID string + Message string + StatusCode int + func (e *Error) Error() string + type ErrorDetail struct + Messages []string + type ExecutableUser struct + Entities []TargetEntity + type Field struct + Type FieldType + Value any + func (f *Field) UnmarshalJSON(b []byte) error + type FieldAccessRights struct + Editable bool + Viewable bool + type FieldEntity struct + Code string + Type EntityType + type FieldMapping struct + Field string + RelatedField string + type FieldOption struct + Index int + Label string + type FieldPermissions struct + Revision int64 + Rights []FieldRight + type FieldProperty struct + Align Alignment + Code string + DefaultNowValue *bool + DefaultValue any + Digit *bool + DisplayScale *string + Enabled *bool + Entities []FieldEntity + Expression *string + Fields map[string]FieldProperty + Format CalcFormat + HideExpression *bool + Label string + Lookup *Lookup + MaxLength *string + MaxValue *string + MinLength *string + MinValue *string + NoLabel *bool + OpenGroup *bool + Options map[string]FieldOption + Protocol LinkProtocol + ReferenceTable *ReferenceTable + Required *bool + ThumbnailSize string + Type FieldType + Unique *bool + Unit *string + UnitPosition UnitPosition + func (p *FieldProperty) UnmarshalJSON(b []byte) error + type FieldRight struct + Code string + Entities []FieldRightEntity + type FieldRightEntity struct + Accessibility Accessibility + Entity FieldEntity + IncludeSubs bool + type FieldSize struct + Height string + InnerHeight string + Width string + type FieldType string + const FieldTypeCalc + const FieldTypeCategory + const FieldTypeCheckBox + const FieldTypeCreatedTime + const FieldTypeCreator + const FieldTypeDate + const FieldTypeDateTime + const FieldTypeDropDown + const FieldTypeFile + const FieldTypeGroup + const FieldTypeGroupSelect + const FieldTypeHR + const FieldTypeID + const FieldTypeLabel + const FieldTypeLink + const FieldTypeModifier + const FieldTypeMultiLineText + const FieldTypeMultiSelect + const FieldTypeNumber + const FieldTypeOrganizationSelect + const FieldTypeRadioButton + const FieldTypeRecordNumber + const FieldTypeReferenceTable + const FieldTypeRevision + const FieldTypeRichText + const FieldTypeSingleLineText + const FieldTypeSpacer + const FieldTypeStatus + const FieldTypeStatusAssignee + const FieldTypeSubtable + const FieldTypeTime + const FieldTypeUpdatedTime + const FieldTypeUserSelect + type FileInfo struct + ContentType string + FileKey string + Name string + Size int64 + type FormFields struct + Properties map[string]FieldProperty + Revision int64 + type FormLayout struct + Layout []LayoutRow + Revision int64 + type GeneralNotification struct + CommentAdded bool + Entity FieldEntity + FileImported bool + IncludeSubs bool + RecordAdded bool + RecordEdited bool + StatusChanged bool + type GeneralNotifications struct + Notifications []GeneralNotification + NotifyToCommenter *bool + Revision int64 + type GeneralSettings struct + Description *string + EnableBulkDeletion *bool + EnableComments *bool + EnableDuplicateRecord *bool + EnableInlineRecordEditing *bool + EnableThumbnails *bool + FirstMonthOfFiscalYear string + Icon *AppIcon + Name string + NumberPrecision *NumberPrecision + Revision int64 + Theme Theme + TitleField *TitleField + type GetAppPluginConfigRequest struct + App int64 + ID string + Preview bool + type GetAppSettingsRequest struct + App int64 + Lang string + Preview bool + type GetAppsRequest struct + Codes []string + IDs []int64 + Limit int64 + Name string + Offset int64 + SpaceIDs []int64 + type GetAppsStatisticsRequest struct + Limit int64 + Offset int64 + type GetCommentsRequest struct + App int64 + Limit int64 + Offset int64 + Order string + Record int64 + type GetCommentsResponse struct + Comments []Comment + Newer bool + Older bool + type GetPluginAppsRequest struct + ID string + Limit int64 + Offset int64 + type GetPluginsRequest struct + IDs []string + Limit int64 + Offset int64 + type GetRecordsRequest struct + App int64 + Fields []string + Query string + TotalCount bool + type GetRecordsResponse struct + Records []Record + TotalCount int64 + Warning string + type GetRequiredPluginsRequest struct + Limit int64 + Offset int64 + type GetSpacesStatisticsRequest struct + Limit int64 + Offset int64 + type Guest struct + Callto string + Code string + Company string + Division string + GivenNameReading string + Image string + Locale Locale + Name string + Password string + Phone string + SurNameReading string + Timezone string + type LayoutField struct + Code string + ElementID string + Label string + Size *FieldSize + Type FieldType + type LayoutRow struct + Code string + Fields []LayoutField + Layout []LayoutRow + Type LayoutType + type LayoutType string + const LayoutTypeGroup + const LayoutTypeRow + const LayoutTypeSubtable + type LinkProtocol string + const LinkProtocolCall + const LinkProtocolMail + const LinkProtocolWeb + type Locale string + const LocaleAuto + const LocaleEn + const LocaleJa + const LocaleZh + type Lookup struct + FieldMappings []FieldMapping + FilterCond *string + LookupPickerFields []string + RelatedApp RelatedApp + RelatedKeyField string + Sort *string + func (l *Lookup) UnmarshalJSON(b []byte) error + type MappingSourceType string + const MappingSourceTypeField + const MappingSourceTypeRecordURL + type Mention struct + Code string + Type EntityType + type NumberPrecision struct + DecimalPlaces string + Digits string + RoundingMode RoundingMode + type Operation string + const OperationInsert + const OperationUpdate + type Option func(*Client) + func WithAPIToken(tokens ...string) Option + func WithAcceptLanguage(language string) Option + func WithBasicAuth(username, password string) Option + func WithGuestSpace(id int64) Option + func WithHTTPClient(httpClient *http.Client) Option + func WithOAuthToken(token string) Option + func WithPassword(username, password string) Option + func WithUserAgent(userAgent string) Option + type PerRecordNotification struct + FilterCond string + Targets []TargetEntity + Title string + type PerRecordNotifications struct + Notifications []PerRecordNotification + Revision int64 + type PeriodicReport struct + Active *bool + Period ReportPeriod + type Plugin struct + Description string + ID string + IsMarketPlugin bool + Name string + Version string + type PluginApp struct + ID int64 + Name string + type PluginVersion struct + ID string + Version string + type ProcessAction struct + ExecutableUser *ExecutableUser + FilterCond string + From string + Name string + To string + Type ProcessActionType + type ProcessActionType string + const ProcessActionTypePrimary + const ProcessActionTypeSecondary + type ProcessAssignee struct + Entities []TargetEntity + Type ProcessAssigneeType + type ProcessAssigneeType string + const ProcessAssigneeTypeAll + const ProcessAssigneeTypeAny + const ProcessAssigneeTypeOne + type ProcessManagement struct + Actions []ProcessAction + Enable *bool + Revision int64 + States map[string]ProcessState + type ProcessState struct + Assignee *ProcessAssignee + Index int + Name string + type QuarterPattern string + const QuarterPatternFebMayAugNov + const QuarterPatternJanAprJulOct + const QuarterPatternMarJunSepDec + type Record map[string]Field + type RecordAccess struct + Fields map[string]FieldAccessRights + ID int64 + Record RecordAccessRights + type RecordAccessRights struct + Deletable bool + Editable bool + Viewable bool + type RecordPermissions struct + Revision int64 + Rights []RecordRight + type RecordRevision struct + ID int64 + Revision int64 + type RecordRight struct + Entities []RecordRightEntity + FilterCond string + type RecordRightEntity struct + Deletable bool + Editable bool + Entity FieldEntity + IncludeSubs bool + Viewable bool + type RecordUpdate struct + ID int64 + Record Record + Revision int64 + UpdateKey *UpdateKey + type ReferenceTable struct + Condition ReferenceTableCondition + DisplayFields []string + FilterCond *string + RelatedApp RelatedApp + Size string + Sort *string + type ReferenceTableCondition struct + Field string + RelatedField string + type RelatedApp struct + App int64 + Code string + type ReminderNotification struct + FilterCond string + Targets []TargetEntity + Timing ReminderTiming + Title string + type ReminderNotifications struct + Notifications []ReminderNotification + Revision int64 + Timezone string + type ReminderTiming struct + Code string + DaysLater int + HoursLater *int + Time string + type Report struct + Aggregations []ReportAggregation + ChartMode ChartMode + ChartType ChartType + FilterCond *string + Groups []ReportGroup + ID int64 + Index int + Name string + PeriodicReport *PeriodicReport + Sorts []ReportSort + type ReportAggregation struct + Code string + Type AggregationType + type ReportGroup struct + Code string + Per TimeUnit + type ReportPeriod struct + DayOfMonth string + DayOfWeek DayOfWeek + Every TimeUnit + Minute string + Month string + Pattern QuarterPattern + Time string + type ReportSort struct + By ReportSortBy + Order SortOrder + type ReportSortBy string + const ReportSortByGroup1 + const ReportSortByGroup2 + const ReportSortByGroup3 + const ReportSortByTotal + type Reports struct + Reports map[string]Report + Revision int64 + type RoundingMode string + const RoundingModeDown + const RoundingModeHalfEven + const RoundingModeUp + type SortOrder string + const SortOrderAsc + const SortOrderDesc + type Space struct + AttachedApps []App + Body string + CoverKey string + CoverType CoverType + CoverURL string + Creator Entity + DefaultThread int64 + FixedMember bool + ID int64 + IsGuest bool + IsPrivate bool + MemberCount int64 + Modifier Entity + Name string + Permissions SpacePermissions + ShowAnnouncement *bool + ShowAppList *bool + ShowMemberList *bool + ShowRelatedLinkList *bool + ShowThreadList *bool + UseMultiThread bool + type SpaceMember struct + Entity FieldEntity + IncludeSubs bool + IsAdmin bool + IsImplicit bool + type SpacePermissions struct + CreateApp CreateAppPermission + type SpaceStatistics struct + AdministratorCount int64 + CreatedAt time.Time + Creator Entity + ID int64 + IsGuest bool + IsPrivate bool + MemberCount int64 + ModifiedAt time.Time + Modifier Entity + Name string + func (s *SpaceStatistics) UnmarshalJSON(b []byte) error + type StatusUpdate struct + Action string + Assignee string + ID int64 + Revision int64 + type SubtableRow struct + ID string + Value Record + type TargetEntity struct + Entity FieldEntity + IncludeSubs bool + type Theme string + const ThemeBinder + const ThemeBlack + const ThemeBlue + const ThemeClipboard + const ThemeClips + const ThemeGreen + const ThemePencil + const ThemeRed + const ThemeWhite + const ThemeYellow + type ThreadComment struct + Files []ThreadCommentFile + Mentions []Mention + Text string + type ThreadCommentFile struct + FileKey string + Width int + type TimeUnit string + const TimeUnitDay + const TimeUnitHour + const TimeUnitMinute + const TimeUnitMonth + const TimeUnitQuarter + const TimeUnitWeek + const TimeUnitYear + type TitleField struct + Code string + SelectionMode TitleSelectionMode + type TitleSelectionMode string + const TitleSelectionModeAuto + const TitleSelectionModeManual + type UnitPosition string + const UnitPositionAfter + const UnitPositionBefore + type UpdateKey struct + Field string + Value string + type UpdateSpaceRequest struct + FixedMember *bool + ID int64 + IsPrivate *bool + Name string + Permissions *SpacePermissions + ShowAnnouncement *bool + ShowAppList *bool + ShowMemberList *bool + ShowRelatedLinkList *bool + ShowThreadList *bool + UseMultiThread *bool + type UpdateThreadRequest struct + Body *string + ID int64 + Name string + type UpdatedAppAction struct + ID int64 + type UpdatedAppActions struct + Actions map[string]UpdatedAppAction + Revision int64 + type UpdatedRecord struct + ID int64 + Operation Operation + Revision int64 + type UpdatedReport struct + ID int64 + type UpdatedReports struct + Reports map[string]UpdatedReport + Revision int64 + type UpdatedView struct + ID int64 + type UpdatedViews struct + Revision int64 + Views map[string]UpdatedView + type View struct + BuiltinType ViewBuiltinType + Date string + Device ViewDevice + Fields []string + FilterCond *string + HTML string + ID int64 + Index int + Name string + Pager *bool + Sort *string + Title string + Type ViewType + type ViewBuiltinType string + const ViewBuiltinTypeAssignee + type ViewDevice string + const ViewDeviceAny + const ViewDeviceDesktop + type ViewType string + const ViewTypeCalendar + const ViewTypeCustom + const ViewTypeList + type Views struct + Revision int64 + Views map[string]View + type WarningError struct + Message string + func (e *WarningError) Error() string