Documentation ¶
Index ¶
- Constants
- func GetExpandFields(fieldIds ...string) string
- func GetRsa256Key(privateKeyFilePath string) rsa256Key
- func GetRsa256KeyFromPEMBytes(privateKeyBytes []byte) rsa256Key
- func GetRsa256KeyFromPEMString(privateKeyString string) rsa256Key
- func TestTransactionUpdateMeta(t *testing.T)
- func WithAudience(audience string) clientOption
- func WithBasePath(basePath string) clientOption
- func WithExpand(paths ...string) requestOption
- func WithHost(host string) clientOption
- func WithPage(pageParams *PageParams) requestOption
- func WithPageLimit(limit int) requestOption
- func WithPageParams(limit int, startingAfter string) requestOption
- func WithPageStartingAfter(startingAfter string) requestOption
- func WithProtocol(protocol string) clientOption
- func WithQueryParam(qParam string, value string) requestOption
- func WithQueryParamList(qParam string, values ...string) requestOption
- func WithURL(URL string) clientOption
- func WithUpdatedAfter(ts int) requestOption
- type Address
- type Agent
- type AgentRequest
- type ApiError
- type Client
- type Contact
- type ContactCreate
- type ContactCreateResponse
- type ContactList
- type ContactRequest
- type ContactSource
- type ContactSourceRequest
- type ContactUpdate
- type ContactUpdateResponse
- type ContactsResource
- type CreateResponse
- type DeletedParties
- type DeletedParty
- type DocumentSplitAsyncResponse
- type DocumentSplitResponse
- type DocumentSplitSchema
- type DocumentSplitSuggestion
- type DocumentUpload
- type DocumentZone
- type DocumentZoneLocation
- type DocumentZoneVertex
- type DocumentsResource
- type Field
- type FieldOutOfDateDetail
- type FieldResponse
- type FieldResponseWarnings
- type FieldWrite
- type FieldWriteDict
- type FieldsResponse
- type FieldsResponseResult
- type Folder
- type FolderCreate
- type FolderCreates
- type FolderCreatesResponse
- type FolderCreatesResponseResult
- type FolderList
- type FolderRename
- type FolderRenames
- type FolderRenamesResponse
- type FoldersResource
- type FormImportsResponse
- type HttpReqFuncType
- type ItemDeletes
- type ItemDeletesResponse
- type Key
- type LinkListingInfo
- type LinkListingInfoResponse
- type Listing
- type ListingList
- type ListingsResource
- type Location
- type Notification
- type NotificationResponse
- type NotificationsResource
- type PageParams
- type PartiesResource
- type Party
- type PartyCreate
- type PartyCreates
- type PartyCreatesResponse
- type PartyInvite
- type PartyInvites
- type PartyInvitesResponse
- type PartyList
- type PartyPatch
- type PartyPatches
- type PartyPatchesResponse
- type PartyRemove
- type PartyRemoves
- type PartyRemovesResponse
- type PartyRoles
- type PartyUpdateContactDetails
- type PartyUpdateContactDetailsResponse
- type QueryParams
- type Request
- type Response
- type SignatureDetectionAnalysisResult
- type SignatureDetectionAsyncResponse
- type SignatureDetectionResponse
- type SignatureDetectionSchema
- type Transaction
- type TransactionArchivalStatus
- type TransactionByOrgSchema
- type TransactionCreate
- type TransactionCreator
- type TransactionDocument
- type TransactionDocumentAssignment
- type TransactionDocumentAssignments
- type TransactionDocumentAssignmentsResponse
- type TransactionDocumentList
- type TransactionDocumentRename
- type TransactionDocumentRenames
- type TransactionDocumentRenamesResponse
- type TransactionDocumentRestoresResponse
- type TransactionDocumentTrashes
- type TransactionDocumentTrashesResponse
- type TransactionDocumentUpload
- type TransactionDocumentUploads
- type TransactionDocumentsResource
- type TransactionDocumentsRestore
- type TransactionDocumentsRestores
- type TransactionField
- type TransactionFieldValue
- type TransactionFieldValues
- type TransactionFieldWrite
- type TransactionFields
- type TransactionFieldsWrite
- type TransactionFormImport
- type TransactionFormImports
- type TransactionList
- type TransactionMeta
- type TransactionMetaUpdate
- type TransactionsResource
- type UpdateArchivalStatusResponse
- type UpdateTransactionMetaResponse
- type UploadsResponse
- type User
- type UserBillingInfo
- type UserList
- type UserManagementResource
- type UserManagementSchema
- type UsersResource
Constants ¶
View Source
const ( JwtExpirationInMinutes = 60 TransactionScope = "TRANSACTIONS" ContactScope = "CONTACTS" )
View Source
const JWT_EXPIRES = 60
Variables ¶
This section is empty.
Functions ¶
func GetExpandFields ¶
func GetRsa256Key ¶
func GetRsa256Key(privateKeyFilePath string) rsa256Key
func GetRsa256KeyFromPEMBytes ¶
func GetRsa256KeyFromPEMBytes(privateKeyBytes []byte) rsa256Key
func GetRsa256KeyFromPEMString ¶
func GetRsa256KeyFromPEMString(privateKeyString string) rsa256Key
func WithAudience ¶
func WithAudience(audience string) clientOption
func WithBasePath ¶
func WithBasePath(basePath string) clientOption
func WithExpand ¶
func WithExpand(paths ...string) requestOption
func WithPage ¶
func WithPage(pageParams *PageParams) requestOption
func WithPageLimit ¶
func WithPageLimit(limit int) requestOption
func WithPageParams ¶
func WithPageStartingAfter ¶
func WithPageStartingAfter(startingAfter string) requestOption
func WithProtocol ¶
func WithProtocol(protocol string) clientOption
func WithQueryParam ¶
func WithQueryParamList ¶
func WithUpdatedAfter ¶
func WithUpdatedAfter(ts int) requestOption
Types ¶
type Address ¶
type Agent ¶
type Agent struct { CompanyLicenseNumber string `json:"company_license_number,omitempty"` CompanyName string `json:"company_name,omitempty"` CompanyPhoneNumber string `json:"company_phone_number,omitempty"` LicenseNumber string `json:"license_number,omitempty"` LicenseState string `json:"license_state,omitempty"` NrdsNumber string `json:"nrds_number,omitempty"` Object string `json:"object,omitempty"` }
type AgentRequest ¶
type AgentRequest struct { CompanyLicenseNumber string `json:"company_license_number,omitempty"` CompanyName string `json:"company_name,omitempty"` CompanyPhoneNumber string `json:"company_phone_number,omitempty"` LicenseNumber string `json:"license_number,omitempty"` LicenseState string `json:"license_state,omitempty"` NrdsNumber string `json:"nrds_number,omitempty"` }
type ApiError ¶
type ApiError struct { Description string StatusCode int ResponseHeaders http.Header Params map[string]interface{} Err error }
func GetApiError ¶
func (*ApiError) GetMissingScopes ¶
func (*ApiError) HasToRequestScopes ¶
func (*ApiError) IsMissingScopes ¶
func (*ApiError) RequestScopesUrl ¶
type Client ¶
type Client interface { StartImpersonating(sub string, scopes []string) error IsImpersonating() bool ImpersonatingSub() string ImpersonatingScopes() []string StopImpersonating() // DO NOT remove these comments since they serve as anchors for code autogeneration /* Autogenerated-root-resource-interface-defs begins */ Contacts() ContactsResource Documents() DocumentsResource Listings() ListingsResource Notifications() NotificationsResource Transactions() TransactionsResource UserManagement() UserManagementResource Users() UsersResource // contains filtered or unexported methods }
type Contact ¶
type Contact struct { Id string `json:"id,omitempty"` Address *Address `json:"address,omitempty"` Agent *Agent `json:"agent,omitempty"` AvatarUrl string `json:"avatar_url,omitempty"` BrandLogoUrl string `json:"brand_logo_url,omitempty"` CellPhone string `json:"cell_phone,omitempty"` Email string `json:"email,omitempty"` EntityName string `json:"entity_name,omitempty"` EntityType string `json:"entity_type,omitempty"` FirstName string `json:"first_name"` LastName string `json:"last_name,omitempty"` PersonalWebsite string `json:"personal_website,omitempty"` Title string `json:"title,omitempty"` Object string `json:"object,omitempty"` }
type ContactCreate ¶
type ContactCreate struct {
Contact *ContactRequest `json:"contact"`
}
type ContactCreateResponse ¶
type ContactCreateResponse struct { Contact *Contact `json:"contact,omitempty"` Object string `json:"object,omitempty"` }
func (ContactCreateResponse) IsRef ¶
func (m ContactCreateResponse) IsRef() bool
type ContactList ¶
type ContactList struct { Data []Contact `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (ContactList) IsRef ¶
func (m ContactList) IsRef() bool
func (ContactList) NextPageParams ¶
func (m ContactList) NextPageParams() *PageParams
type ContactRequest ¶
type ContactRequest struct { Address *Address `json:"address,omitempty"` Agent *AgentRequest `json:"agent,omitempty"` AvatarUrl string `json:"avatar_url,omitempty"` BrandLogoUrl string `json:"brand_logo_url,omitempty"` CellPhone string `json:"cell_phone,omitempty"` Email string `json:"email,omitempty"` EntityName string `json:"entity_name,omitempty"` EntityType string `json:"entity_type,omitempty"` FirstName string `json:"first_name"` LastName string `json:"last_name,omitempty"` PersonalWebsite string `json:"personal_website,omitempty"` Title string `json:"title,omitempty"` }
type ContactSource ¶
type ContactSource struct { Id string `json:"id,omitempty"` Origin string `json:"origin,omitempty"` Object string `json:"object,omitempty"` }
func (ContactSource) IsRef ¶
func (m ContactSource) IsRef() bool
type ContactSourceRequest ¶
type ContactUpdate ¶
type ContactUpdate struct { Contact *ContactRequest `json:"contact,omitempty"` Roles []string `json:"roles,omitempty"` }
type ContactUpdateResponse ¶
type ContactUpdateResponse struct { Contact *Contact `json:"contact,omitempty"` Id string `json:"id_,omitempty"` Object string `json:"object,omitempty"` }
func (ContactUpdateResponse) IsRef ¶
func (m ContactUpdateResponse) IsRef() bool
type ContactsResource ¶
type ContactsResource interface { GetDetail(id string, opts ...requestOption) (*Contact, error) GetMulti(ids []string, opts ...requestOption) (*ContactList, error) List(opts ...requestOption) (*ContactList, error) Create(contactCreate ContactCreate, opts ...requestOption) (*ContactCreateResponse, error) Update(id string, contactUpdate ContactUpdate, opts ...requestOption) (*ContactUpdateResponse, error) }
type CreateResponse ¶
type CreateResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (CreateResponse) IsRef ¶
func (m CreateResponse) IsRef() bool
type DeletedParties ¶
type DeletedParties struct { Data []*DeletedParty `json:"data,omitempty"` Object string `json:"object,omitempty"` }
func (DeletedParties) IsRef ¶
func (m DeletedParties) IsRef() bool
type DeletedParty ¶
type DeletedParty struct { Contact *Contact `json:"contact,omitempty"` DeletedAt int `json:"deleted_at,omitempty"` PartyId string `json:"party_id,omitempty"` Roles []string `json:"roles,omitempty"` Object string `json:"object,omitempty"` }
func (DeletedParty) IsRef ¶
func (m DeletedParty) IsRef() bool
type DocumentSplitAsyncResponse ¶
type DocumentSplitAsyncResponse struct { ReqId string `json:"req_id,omitempty"` Suggestions map[string]*DocumentSplitSuggestion `json:"suggestions,omitempty"` Object string `json:"object,omitempty"` }
func (DocumentSplitAsyncResponse) IsRef ¶
func (m DocumentSplitAsyncResponse) IsRef() bool
type DocumentSplitResponse ¶
type DocumentSplitResponse struct { ReqId string `json:"req_id,omitempty"` Result *DocumentSplitAsyncResponse `json:"result,omitempty"` Object string `json:"object,omitempty"` }
func (DocumentSplitResponse) IsRef ¶
func (m DocumentSplitResponse) IsRef() bool
type DocumentSplitSchema ¶
type DocumentSplitSchema struct { Files []http.File `json:"files,omitempty"` ReState string `json:"re_state,omitempty"` ReqId string `json:"req_id"` Uploads []*DocumentUpload `json:"uploads,omitempty"` }
type DocumentSplitSuggestion ¶
type DocumentSplitSuggestion struct { EndPage int `json:"end_page,omitempty"` Filename string `json:"filename,omitempty"` FormId string `json:"form_id,omitempty"` FormSeriesId string `json:"form_series_id,omitempty"` StartPage int `json:"start_page,omitempty"` Object string `json:"object,omitempty"` }
func (DocumentSplitSuggestion) IsRef ¶
func (m DocumentSplitSuggestion) IsRef() bool
type DocumentUpload ¶
type DocumentUpload struct {
Title string `json:"title,omitempty"`
}
type DocumentZone ¶
type DocumentZone struct { Id string `json:"id,omitempty"` FormId string `json:"form_id,omitempty"` Kind string `json:"kind,omitempty"` Name string `json:"name,omitempty"` OriginalLocation []*DocumentZoneLocation `json:"original_location,omitempty"` Page int `json:"page,omitempty"` Vertices []*DocumentZoneVertex `json:"vertices,omitempty"` Object string `json:"object,omitempty"` }
func (DocumentZone) IsRef ¶
func (m DocumentZone) IsRef() bool
type DocumentZoneLocation ¶
type DocumentZoneLocation struct { XMax float64 `json:"x_max,omitempty"` XMin float64 `json:"x_min,omitempty"` YMax float64 `json:"y_max,omitempty"` YMin float64 `json:"y_min,omitempty"` Object string `json:"object,omitempty"` }
func (DocumentZoneLocation) IsRef ¶
func (m DocumentZoneLocation) IsRef() bool
type DocumentZoneVertex ¶
type DocumentZoneVertex struct { X int `json:"x,omitempty"` Y int `json:"y,omitempty"` Object string `json:"object,omitempty"` }
func (DocumentZoneVertex) IsRef ¶
func (m DocumentZoneVertex) IsRef() bool
type DocumentsResource ¶
type DocumentsResource interface { DocumentSplit(documentSplitSchema DocumentSplitSchema, opts ...requestOption) (*DocumentSplitResponse, error) SignatureDetection(signatureDetectionSchema SignatureDetectionSchema, opts ...requestOption) (*SignatureDetectionResponse, error) }
type Field ¶
type FieldOutOfDateDetail ¶
type FieldOutOfDateDetail struct { ControlTimestamp int `json:"control_timestamp,omitempty"` Timestamp int `json:"timestamp,omitempty"` Object string `json:"object,omitempty"` }
func (FieldOutOfDateDetail) IsRef ¶
func (m FieldOutOfDateDetail) IsRef() bool
type FieldResponse ¶
type FieldResponse struct { Timestamp int `json:"timestamp,omitempty"` Value map[string]interface{} `json:"value,omitempty"` Object string `json:"object,omitempty"` }
func (FieldResponse) IsRef ¶
func (m FieldResponse) IsRef() bool
type FieldResponseWarnings ¶
type FieldResponseWarnings struct { OutOfDateFields map[string]*FieldOutOfDateDetail `json:"out_of_date_fields,omitempty"` Object string `json:"object,omitempty"` }
func (FieldResponseWarnings) IsRef ¶
func (m FieldResponseWarnings) IsRef() bool
type FieldWrite ¶
type FieldWriteDict ¶
type FieldWriteDict struct { ControlPolicy string `json:"control_policy,omitempty"` Fields TransactionFieldsWrite `json:"fields,omitempty"` }
type FieldsResponse ¶
type FieldsResponse struct { Result *FieldsResponseResult `json:"result,omitempty"` TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (FieldsResponse) IsRef ¶
func (m FieldsResponse) IsRef() bool
type FieldsResponseResult ¶
type FieldsResponseResult struct { Fields TransactionFields `json:"fields,omitempty"` Warnings *FieldResponseWarnings `json:"warnings,omitempty"` Object string `json:"object,omitempty"` }
func (FieldsResponseResult) IsRef ¶
func (m FieldsResponseResult) IsRef() bool
type Folder ¶
type Folder struct { Id string `json:"id,omitempty"` Kind string `json:"kind,omitempty"` LastModified int `json:"last_modified,omitempty"` Title string `json:"title,omitempty"` TransactionDocuments *TransactionDocumentList `json:"transaction_documents,omitempty"` Object string `json:"object,omitempty"` }
type FolderCreate ¶
type FolderCreate struct {
Title string `json:"title,omitempty"`
}
type FolderCreates ¶
type FolderCreates struct {
Creates []*FolderCreate `json:"creates,omitempty"`
}
type FolderCreatesResponse ¶
type FolderCreatesResponse struct { Result *FolderCreatesResponseResult `json:"result,omitempty"` TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (FolderCreatesResponse) IsRef ¶
func (m FolderCreatesResponse) IsRef() bool
type FolderCreatesResponseResult ¶
type FolderCreatesResponseResult struct { FolderIds []string `json:"folder_ids,omitempty"` Object string `json:"object,omitempty"` }
func (FolderCreatesResponseResult) IsRef ¶
func (m FolderCreatesResponseResult) IsRef() bool
type FolderList ¶
type FolderList struct { Data []Folder `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (FolderList) IsRef ¶
func (m FolderList) IsRef() bool
func (FolderList) NextPageParams ¶
func (m FolderList) NextPageParams() *PageParams
type FolderRename ¶
type FolderRenames ¶
type FolderRenames struct {
Renames []*FolderRename `json:"renames,omitempty"`
}
type FolderRenamesResponse ¶
type FolderRenamesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (FolderRenamesResponse) IsRef ¶
func (m FolderRenamesResponse) IsRef() bool
type FoldersResource ¶
type FormImportsResponse ¶
type FormImportsResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (FormImportsResponse) IsRef ¶
func (m FormImportsResponse) IsRef() bool
type ItemDeletes ¶
type ItemDeletes struct {
Ids []string `json:"ids,omitempty"`
}
type ItemDeletesResponse ¶
type ItemDeletesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (ItemDeletesResponse) IsRef ¶
func (m ItemDeletesResponse) IsRef() bool
type Key ¶
type Key interface { GetJwtSigningMethod() jwt.SigningMethod GetDecoded() (crypto.PrivateKey, error) }
type LinkListingInfo ¶
type LinkListingInfoResponse ¶
type LinkListingInfoResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (LinkListingInfoResponse) IsRef ¶
func (m LinkListingInfoResponse) IsRef() bool
type Listing ¶
type Listing struct { Id string `json:"id,omitempty"` Address *Location `json:"address,omitempty"` Bath float64 `json:"bath,omitempty"` BathFull float64 `json:"bath_full,omitempty"` BathHalf float64 `json:"bath_half,omitempty"` BathOneQuarter float64 `json:"bath_one_quarter,omitempty"` BathThreeQuarter float64 `json:"bath_three_quarter,omitempty"` Bed float64 `json:"bed,omitempty"` CloseDate string `json:"close_date,omitempty"` ClosePrice float64 `json:"close_price,omitempty"` Dom float64 `json:"dom,omitempty"` ListingDate string `json:"listing_date,omitempty"` ListingPrice float64 `json:"listing_price,omitempty"` ListingType string `json:"listing_type,omitempty"` MediaUrls []string `json:"media_urls,omitempty"` MlsKind string `json:"mls_kind,omitempty"` MlsNumber string `json:"mls_number,omitempty"` MlsStatus string `json:"mls_status,omitempty"` OriginalListPrice float64 `json:"original_list_price,omitempty"` PropertyType string `json:"property_type,omitempty"` StatusDate string `json:"status_date,omitempty"` UsedInActiveTransaction *bool `json:"used_in_active_transaction,omitempty"` YearBuilt string `json:"year_built,omitempty"` Object string `json:"object,omitempty"` }
type ListingList ¶
type ListingList struct { Data []Listing `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (ListingList) IsRef ¶
func (m ListingList) IsRef() bool
func (ListingList) NextPageParams ¶
func (m ListingList) NextPageParams() *PageParams
type ListingsResource ¶
type ListingsResource interface { GetDetail(id string, opts ...requestOption) (*Listing, error) GetMulti(ids []string, opts ...requestOption) (*ListingList, error) List(opts ...requestOption) (*ListingList, error) }
type Location ¶
type Location struct { AgentAddress string `json:"agent_address,omitempty"` City string `json:"city,omitempty"` County string `json:"county,omitempty"` PrettyAddress string `json:"pretty_address,omitempty"` State string `json:"state,omitempty"` Street string `json:"street,omitempty"` StreetNumber string `json:"street_number,omitempty"` StreetType string `json:"street_type,omitempty"` UnitNumber string `json:"unit_number,omitempty"` UnitType string `json:"unit_type,omitempty"` ZipCode string `json:"zip_code,omitempty"` Object string `json:"object,omitempty"` }
type Notification ¶
type Notification struct { Bcc []string `json:"bcc,omitempty"` Cc []string `json:"cc,omitempty"` Context map[string]interface{} `json:"context,omitempty"` IncludeSignature *bool `json:"include_signature,omitempty"` Recipients []string `json:"recipients,omitempty"` SeparateEmails *bool `json:"separate_emails,omitempty"` Template string `json:"template"` }
type NotificationResponse ¶
type NotificationResponse struct { Results []string `json:"results"` Object string `json:"object,omitempty"` }
func (NotificationResponse) IsRef ¶
func (m NotificationResponse) IsRef() bool
type NotificationsResource ¶
type NotificationsResource interface {
SendEmail(notification Notification, opts ...requestOption) (*NotificationResponse, error)
}
type PageParams ¶
func (PageParams) GetQueryParams ¶
func (p PageParams) GetQueryParams() map[string]string
type PartiesResource ¶
type Party ¶
type Party struct { Id string `json:"id,omitempty"` Contact *Contact `json:"contact,omitempty"` CreatedAt int `json:"created_at,omitempty"` Roles []string `json:"roles,omitempty"` Transaction *Transaction `json:"transaction,omitempty"` UpdatedAt int `json:"updated_at,omitempty"` UserContactId string `json:"user_contact_id,omitempty"` UserContactSource *ContactSource `json:"user_contact_source,omitempty"` UserId string `json:"user_id,omitempty"` Object string `json:"object,omitempty"` }
type PartyCreate ¶
type PartyCreate struct { Body string `json:"body,omitempty"` Contact *ContactRequest `json:"contact,omitempty"` Invite *bool `json:"invite,omitempty"` InviteRestrictions []string `json:"invite_restrictions,omitempty"` PromoteToPrimaryAgent *bool `json:"promote_to_primary_agent,omitempty"` Roles []string `json:"roles,omitempty"` Subject string `json:"subject,omitempty"` SuppressInviteEmail *bool `json:"suppress_invite_email,omitempty"` UserContactId string `json:"user_contact_id,omitempty"` UserContactSource *ContactSourceRequest `json:"user_contact_source,omitempty"` }
type PartyCreates ¶
type PartyCreates struct {
Creates []*PartyCreate `json:"creates"`
}
type PartyCreatesResponse ¶
type PartyCreatesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (PartyCreatesResponse) IsRef ¶
func (m PartyCreatesResponse) IsRef() bool
type PartyInvite ¶
type PartyInvites ¶
type PartyInvites struct {
Invites []*PartyInvite `json:"invites"`
}
type PartyInvitesResponse ¶
type PartyInvitesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (PartyInvitesResponse) IsRef ¶
func (m PartyInvitesResponse) IsRef() bool
type PartyList ¶
type PartyList struct { Data []Party `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (PartyList) NextPageParams ¶
func (m PartyList) NextPageParams() *PageParams
type PartyPatch ¶
type PartyPatch struct { Contact *ContactRequest `json:"contact,omitempty"` PartyId string `json:"party_id,omitempty"` Roles []string `json:"roles,omitempty"` }
type PartyPatches ¶
type PartyPatches struct {
Patches []*PartyPatch `json:"patches,omitempty"`
}
type PartyPatchesResponse ¶
type PartyPatchesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (PartyPatchesResponse) IsRef ¶
func (m PartyPatchesResponse) IsRef() bool
type PartyRemove ¶
type PartyRemove struct {
PartyId string `json:"party_id,omitempty"`
}
type PartyRemoves ¶
type PartyRemoves struct {
Removes []*PartyRemove `json:"removes,omitempty"`
}
type PartyRemovesResponse ¶
type PartyRemovesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (PartyRemovesResponse) IsRef ¶
func (m PartyRemovesResponse) IsRef() bool
type PartyRoles ¶
type PartyRoles struct { Data []string `json:"data,omitempty"` Object string `json:"object,omitempty"` }
func (PartyRoles) IsRef ¶
func (m PartyRoles) IsRef() bool
type PartyUpdateContactDetails ¶
type PartyUpdateContactDetails struct { Contact *ContactRequest `json:"contact,omitempty"` PartyId string `json:"party_id,omitempty"` PromoteToPrimaryAgent *bool `json:"promote_to_primary_agent,omitempty"` Roles []string `json:"roles,omitempty"` }
type PartyUpdateContactDetailsResponse ¶
type PartyUpdateContactDetailsResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (PartyUpdateContactDetailsResponse) IsRef ¶
func (m PartyUpdateContactDetailsResponse) IsRef() bool
type QueryParams ¶
type SignatureDetectionAnalysisResult ¶
type SignatureDetectionAnalysisResult struct { DocumentZone *DocumentZone `json:"document_zone,omitempty"` Score float64 `json:"score,omitempty"` Object string `json:"object,omitempty"` }
func (SignatureDetectionAnalysisResult) IsRef ¶
func (m SignatureDetectionAnalysisResult) IsRef() bool
type SignatureDetectionAsyncResponse ¶
type SignatureDetectionAsyncResponse struct { ReqId string `json:"req_id,omitempty"` Signatures map[string]*SignatureDetectionAnalysisResult `json:"signatures,omitempty"` Object string `json:"object,omitempty"` }
func (SignatureDetectionAsyncResponse) IsRef ¶
func (m SignatureDetectionAsyncResponse) IsRef() bool
type SignatureDetectionResponse ¶
type SignatureDetectionResponse struct { ReqId string `json:"req_id,omitempty"` Result *SignatureDetectionAsyncResponse `json:"result,omitempty"` Object string `json:"object,omitempty"` }
func (SignatureDetectionResponse) IsRef ¶
func (m SignatureDetectionResponse) IsRef() bool
type SignatureDetectionSchema ¶
type SignatureDetectionSchema struct { Files []http.File `json:"files,omitempty"` Uploads []*DocumentUpload `json:"uploads,omitempty"` }
type Transaction ¶
type Transaction struct { Id string `json:"id,omitempty"` Address *Address `json:"address,omitempty"` Archived *bool `json:"archived,omitempty"` Fields TransactionFields `json:"fields,omitempty"` Folders *FolderList `json:"folders,omitempty"` IngestDocumentsEmail string `json:"ingest_documents_email,omitempty"` IsLease *bool `json:"is_lease,omitempty"` Parties *PartyList `json:"parties,omitempty"` ReState string `json:"re_state,omitempty"` SecondaryAddressesIds []string `json:"secondary_addresses_ids,omitempty"` Side string `json:"side,omitempty"` Stage string `json:"stage,omitempty"` Title string `json:"title,omitempty"` TransactionDocuments *TransactionDocumentList `json:"transaction_documents,omitempty"` Object string `json:"object,omitempty"` }
func (Transaction) GetFields ¶
func (t Transaction) GetFields(fieldIds ...string) TransactionFields
func (Transaction) GetFieldsWrite ¶
func (t Transaction) GetFieldsWrite(fieldValues TransactionFieldValues) TransactionFieldsWrite
func (Transaction) IsRef ¶
func (m Transaction) IsRef() bool
type TransactionArchivalStatus ¶
type TransactionArchivalStatus struct {
Archived *bool `json:"archived,omitempty"`
}
type TransactionByOrgSchema ¶
type TransactionByOrgSchema struct { Cursor string `json:"cursor,omitempty"` Data []string `json:"data,omitempty"` HasMore *bool `json:"has_more,omitempty"` Total int `json:"total,omitempty"` Object string `json:"object,omitempty"` }
func (TransactionByOrgSchema) IsRef ¶
func (m TransactionByOrgSchema) IsRef() bool
type TransactionCreate ¶
type TransactionCreate struct { AdditionalParties []*PartyCreate `json:"additional_parties,omitempty"` Address *Address `json:"address,omitempty"` Creator *TransactionCreator `json:"creator,omitempty"` CreatorRoles []string `json:"creator_roles,omitempty"` IsLease *bool `json:"is_lease,omitempty"` ReState string `json:"re_state,omitempty"` Stage string `json:"stage,omitempty"` Title string `json:"title,omitempty"` }
type TransactionCreator ¶
type TransactionCreator struct { UserContactId string `json:"user_contact_id,omitempty"` UserContactSource *ContactSourceRequest `json:"user_contact_source,omitempty"` }
type TransactionDocument ¶
type TransactionDocument struct { Id string `json:"id,omitempty"` Folder *Folder `json:"folder,omitempty"` FolderKind string `json:"folder_kind,omitempty"` LastModified int `json:"last_modified,omitempty"` Order int `json:"order,omitempty"` Title string `json:"title,omitempty"` Transaction *Transaction `json:"transaction,omitempty"` Url string `json:"url,omitempty"` Object string `json:"object,omitempty"` }
func (TransactionDocument) IsRef ¶
func (m TransactionDocument) IsRef() bool
type TransactionDocumentAssignments ¶
type TransactionDocumentAssignments struct {
Assignments []*TransactionDocumentAssignment `json:"assignments,omitempty"`
}
type TransactionDocumentAssignmentsResponse ¶
type TransactionDocumentAssignmentsResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (TransactionDocumentAssignmentsResponse) IsRef ¶
func (m TransactionDocumentAssignmentsResponse) IsRef() bool
type TransactionDocumentList ¶
type TransactionDocumentList struct { Data []TransactionDocument `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (TransactionDocumentList) IsRef ¶
func (m TransactionDocumentList) IsRef() bool
func (TransactionDocumentList) NextPageParams ¶
func (m TransactionDocumentList) NextPageParams() *PageParams
type TransactionDocumentRenames ¶
type TransactionDocumentRenames struct {
Renames []*TransactionDocumentRename `json:"renames,omitempty"`
}
type TransactionDocumentRenamesResponse ¶
type TransactionDocumentRenamesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (TransactionDocumentRenamesResponse) IsRef ¶
func (m TransactionDocumentRenamesResponse) IsRef() bool
type TransactionDocumentRestoresResponse ¶
type TransactionDocumentRestoresResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (TransactionDocumentRestoresResponse) IsRef ¶
func (m TransactionDocumentRestoresResponse) IsRef() bool
type TransactionDocumentTrashes ¶
type TransactionDocumentTrashes struct {
TransactionDocumentIds []string `json:"transaction_document_ids,omitempty"`
}
type TransactionDocumentTrashesResponse ¶
type TransactionDocumentTrashesResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (TransactionDocumentTrashesResponse) IsRef ¶
func (m TransactionDocumentTrashesResponse) IsRef() bool
type TransactionDocumentUploads ¶
type TransactionDocumentUploads struct { Files []http.File `json:"files,omitempty"` Uploads []*TransactionDocumentUpload `json:"uploads,omitempty"` }
type TransactionDocumentsResource ¶
type TransactionDocumentsResource interface { GetDetail(transactionId string, id string, opts ...requestOption) (*TransactionDocument, error) GetMulti(transactionId string, ids []string, opts ...requestOption) (*TransactionDocumentList, error) List(transactionId string, opts ...requestOption) (*TransactionDocumentList, error) Uploads(transactionId string, transactionDocumentUploads TransactionDocumentUploads, opts ...requestOption) (*UploadsResponse, error) }
type TransactionDocumentsRestores ¶
type TransactionDocumentsRestores struct {
Restores []*TransactionDocumentsRestore `json:"restores,omitempty"`
}
type TransactionField ¶
type TransactionField struct { Value TransactionFieldValue `json:"value"` Timestamp int `json:"timestamp"` }
type TransactionFieldValue ¶
type TransactionFieldValue = interface{}
type TransactionFieldValues ¶
type TransactionFieldValues = map[string]TransactionFieldValue
type TransactionFieldWrite ¶
type TransactionFieldWrite struct { Value TransactionFieldValue `json:"value"` ControlTimestamp int `json:"control_timestamp"` }
func GetFieldWrite ¶
func GetFieldWrite(value TransactionFieldValue, controlTimestamp int) TransactionFieldWrite
func GetFieldWriteNoControl ¶
func GetFieldWriteNoControl(value TransactionFieldValue) TransactionFieldWrite
type TransactionFields ¶
type TransactionFields = map[string]TransactionField
type TransactionFieldsWrite ¶
type TransactionFieldsWrite = map[string]TransactionFieldWrite
func CombineFieldsWrites ¶
func CombineFieldsWrites(fieldWrites ...TransactionFieldsWrite) TransactionFieldsWrite
type TransactionFormImport ¶
type TransactionFormImports ¶
type TransactionFormImports struct { FolderId string `json:"folder_id,omitempty"` Imports []*TransactionFormImport `json:"imports"` }
type TransactionList ¶
type TransactionList struct { Data []Transaction `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (TransactionList) IsRef ¶
func (m TransactionList) IsRef() bool
func (TransactionList) NextPageParams ¶
func (m TransactionList) NextPageParams() *PageParams
type TransactionMeta ¶
type TransactionMetaUpdate ¶
type TransactionMetaUpdate struct {
Data *TransactionMeta `json:"data,omitempty"`
}
type TransactionsResource ¶
type TransactionsResource interface { Folders() FoldersResource Parties() PartiesResource TransactionDocuments() TransactionDocumentsResource GetDetail(id string, opts ...requestOption) (*Transaction, error) GetMulti(ids []string, opts ...requestOption) (*TransactionList, error) List(opts ...requestOption) (*TransactionList, error) Create(transactionCreate TransactionCreate, opts ...requestOption) (*CreateResponse, error) AvailablePartyRoles(opts ...requestOption) (*PartyRoles, error) OrgsTransactionsIds(opts ...requestOption) (*TransactionByOrgSchema, error) DeletedParties(id string, opts ...requestOption) (*DeletedParties, error) Fields(id string, fieldsWrites TransactionFieldsWrite, controlPolicy string, opts ...requestOption) (*FieldsResponse, error) FolderCreates(id string, folderCreates FolderCreates, opts ...requestOption) (*FolderCreatesResponse, error) FolderRenames(id string, folderRenames FolderRenames, opts ...requestOption) (*FolderRenamesResponse, error) FormImports(id string, transactionFormImports TransactionFormImports, opts ...requestOption) (*FormImportsResponse, error) ItemDeletes(id string, itemDeletes ItemDeletes, opts ...requestOption) (*ItemDeletesResponse, error) LinkListingInfo(id string, linkListingInfo LinkListingInfo, opts ...requestOption) (*LinkListingInfoResponse, error) PartyCreates(id string, partyCreates PartyCreates, opts ...requestOption) (*PartyCreatesResponse, error) PartyInvites(id string, partyInvites PartyInvites, opts ...requestOption) (*PartyInvitesResponse, error) PartyPatches(id string, partyPatches PartyPatches, opts ...requestOption) (*PartyPatchesResponse, error) PartyRemoves(id string, partyRemoves PartyRemoves, opts ...requestOption) (*PartyRemovesResponse, error) PartyUpdateContactDetails(id string, partyUpdateContactDetails PartyUpdateContactDetails, opts ...requestOption) (*PartyUpdateContactDetailsResponse, error) TransactionDocumentAssignments(id string, transactionDocumentAssignments TransactionDocumentAssignments, opts ...requestOption) (*TransactionDocumentAssignmentsResponse, error) TransactionDocumentRenames(id string, transactionDocumentRenames TransactionDocumentRenames, opts ...requestOption) (*TransactionDocumentRenamesResponse, error) TransactionDocumentRestores(id string, transactionDocumentsRestores TransactionDocumentsRestores, opts ...requestOption) (*TransactionDocumentRestoresResponse, error) TransactionDocumentTrashes(id string, transactionDocumentTrashes TransactionDocumentTrashes, opts ...requestOption) (*TransactionDocumentTrashesResponse, error) UpdateArchivalStatus(id string, transactionArchivalStatus TransactionArchivalStatus, opts ...requestOption) (*UpdateArchivalStatusResponse, error) UpdateTransactionMeta(id string, transactionMetaUpdate TransactionMetaUpdate, opts ...requestOption) (*UpdateTransactionMetaResponse, error) }
func GetTransactionsClient ¶
func GetTransactionsClient() (TransactionsResource, error)
type UpdateArchivalStatusResponse ¶
type UpdateArchivalStatusResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (UpdateArchivalStatusResponse) IsRef ¶
func (m UpdateArchivalStatusResponse) IsRef() bool
type UpdateTransactionMetaResponse ¶
type UpdateTransactionMetaResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (UpdateTransactionMetaResponse) IsRef ¶
func (m UpdateTransactionMetaResponse) IsRef() bool
type UploadsResponse ¶
type UploadsResponse struct { TransactionId string `json:"transaction_id,omitempty"` Object string `json:"object,omitempty"` }
func (UploadsResponse) IsRef ¶
func (m UploadsResponse) IsRef() bool
type User ¶
type UserBillingInfo ¶
type UserBillingInfo struct { StripeCustomerId string `json:"stripe_customer_id,omitempty"` Object string `json:"object,omitempty"` }
func (UserBillingInfo) IsRef ¶
func (m UserBillingInfo) IsRef() bool
type UserList ¶
type UserList struct { Data []User `json:"data"` ListObject string `json:"list_object"` Object string `json:"object"` HasMore bool `json:"has_more"` }
func (UserList) NextPageParams ¶
func (m UserList) NextPageParams() *PageParams
type UserManagementResource ¶
type UserManagementSchema ¶
type UserManagementSchema struct { Email string `json:"email"` FirstName string `json:"first_name"` LastName string `json:"last_name"` LinkedSubjectId string `json:"linked_subject_id"` MarketIds []string `json:"market_ids,omitempty"` SubmarketIds []string `json:"submarket_ids,omitempty"` UsState string `json:"us_state,omitempty"` }
type UsersResource ¶
Click to show internal directories.
Click to hide internal directories.