Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIInfoApiService
- func (a *APIInfoApiService) GetAPIVersion(ctx context.Context) (GetVersionsResponse, *http.Response, error)
- func (a *APIInfoApiService) GetVersionInfo(ctx context.Context, apiVersion string) (GetVersionResponse, *http.Response, error)
- func (a *APIInfoApiService) LoadAPIStatus(ctx context.Context) (*http.Response, error)
- type APIKey
- type APIResponse
- type AcceptableLanguageTag
- type AcceptableMediaType
- type AcceptableToken
- type AccessValidationResource
- type AccountActiveCallsResponse
- type AccountBusinessAddressResource
- type AccountCallLogResponse
- type AccountDeviceUpdate
- type AccountLimits
- type AccountLimitsResource
- type AccountPhoneNumbers
- type AccountPresenceEvent
- type AccountPresenceInfo
- type AccountProvisioningApiService
- func (a *AccountProvisioningApiService) BulkAssign(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (a *AccountProvisioningApiService) CreateAccount(ctx context.Context, body CreateAccountRequest) (GetAccountInfoResponse, *http.Response, error)
- func (a *AccountProvisioningApiService) CreateDeviceOrder(ctx context.Context, accountId string, ...) (DeviceOrderCreation, *http.Response, error)
- func (a *AccountProvisioningApiService) CreateLicensesOrder(ctx context.Context, accountId string, body OrderLicensesRequest) (*http.Response, error)
- func (a *AccountProvisioningApiService) DeleteLicense(ctx context.Context, accountId string, licenseId string) (*http.Response, error)
- func (a *AccountProvisioningApiService) DeletePhoneNumberById(ctx context.Context, phoneNumberId int64, accountId string) (*http.Response, error)
- func (a *AccountProvisioningApiService) GetBrandInfo(ctx context.Context, brandId string) (BrandResource, *http.Response, error)
- func (a *AccountProvisioningApiService) GetDeviceModels(ctx context.Context) (DeviceModelExtsResource, *http.Response, error)
- func (a *AccountProvisioningApiService) GetExtensionFreeNumbers(ctx context.Context, accountId string) (BulkProvisionUnassignedExtensionsResponseResource, *http.Response, error)
- func (a *AccountProvisioningApiService) GetPagingOnlyGroupDevices(ctx context.Context, accountId string, pagingOnlyGroupId string, ...) (PagingOnlyGroupDevices, *http.Response, error)
- func (a *AccountProvisioningApiService) GetPagingOnlyGroupUsers(ctx context.Context, accountId string, pagingOnlyGroupId string, ...) (PagingOnlyGroupUsers, *http.Response, error)
- func (a *AccountProvisioningApiService) GetParkLocationUsers(ctx context.Context, accountId string, parkLocationId string, ...) (ParkLocationResponse, *http.Response, error)
- func (a *AccountProvisioningApiService) GetServicePlanInfo(ctx context.Context, servicePlanId string) (ServicePlanResource, *http.Response, error)
- func (a *AccountProvisioningApiService) ListAccountDevices(ctx context.Context, accountId string) (GetAccountDevicesResponse, *http.Response, error)
- func (a *AccountProvisioningApiService) ListAccountPhoneNumbers(ctx context.Context, accountId string, ...) (AccountPhoneNumbers, *http.Response, error)
- func (a *AccountProvisioningApiService) ListDepartmentMembers(ctx context.Context, accountId string, departmentId int32, ...) (DepartmentMemberList, *http.Response, error)
- func (a *AccountProvisioningApiService) ListExtensionDevices(ctx context.Context, accountId string, extensionId string, ...) (GetExtensionDevicesResponse, *http.Response, error)
- func (a *AccountProvisioningApiService) ListLicenseTypes(ctx context.Context) (LicenseTypes, *http.Response, error)
- func (a *AccountProvisioningApiService) ListLicenses(ctx context.Context, accountId string, ...) (LicenseList, *http.Response, error)
- func (a *AccountProvisioningApiService) ListShippingOptions(ctx context.Context, localVarOptionals map[string]interface{}) (DictionaryShippingOptions, *http.Response, error)
- func (a *AccountProvisioningApiService) LoadAccountDevice(ctx context.Context, accountId string, deviceId string) (GetDeviceInfoResponse, *http.Response, error)
- func (a *AccountProvisioningApiService) LoadAccountPhoneNumber(ctx context.Context, accountId string, phoneNumberId int32) (PhoneNumberInfo, *http.Response, error)
- func (a *AccountProvisioningApiService) LoadDeviceOrder(ctx context.Context, accountId string, orderId int32) (DeviceOrder, *http.Response, error)
- func (a *AccountProvisioningApiService) LoadLicense(ctx context.Context, accountId string, licenseId string) (LicenseInfo, *http.Response, error)
- func (a *AccountProvisioningApiService) LookupPhoneNumbers(ctx context.Context, localVarOptionals map[string]interface{}) (PhoneNumbers, *http.Response, error)
- func (a *AccountProvisioningApiService) ParsePhoneNumber(ctx context.Context, body ParsePhoneNumberRequest, ...) (ParsePhoneNumberResponse, *http.Response, error)
- func (a *AccountProvisioningApiService) ProvisionPhoneNumber(ctx context.Context, accountId string, body ProvisionPhoneNumberRequest) (PhoneNumberInfo, *http.Response, error)
- func (a *AccountProvisioningApiService) ReassignPhoneNumberById(ctx context.Context, phoneNumberId int64, accountId string, ...) (PhoneNumberResource, *http.Response, error)
- func (a *AccountProvisioningApiService) ReservePhoneNumbers(ctx context.Context, body NumberPoolPhoneNumberRequest) (ReservePhoneNumbersRecordsResource, *http.Response, error)
- func (a *AccountProvisioningApiService) UpdateDevice(ctx context.Context, accountId string, deviceId string, ...) (DeviceResource, *http.Response, error)
- func (a *AccountProvisioningApiService) UpdatePagingOnlyGroupUsersAndDevices(ctx context.Context, accountId string, pagingOnlyGroupId string, ...) (*http.Response, error)
- func (a *AccountProvisioningApiService) UpdateParkLocationUsers(ctx context.Context, accountId string, parkLocationId string, ...) (*http.Response, error)
- type AccountResource
- type AccountServiceInfo
- type AccountServiceInfoResource
- type AccountSignupInfoRequest
- type AccountStatusInfo
- type ActiveCallInfo
- type ActiveCallInfoWithoutSip
- type ActivePermissionResource
- type AdbPresenceInfoResource
- type Addon
- type AddonInfo
- type Address
- type AddressBookResource
- type AddressBookSync
- type AddressFormCountryResource
- type AddressFormResource
- type AddressInfo
- type AddressInfoRequest
- type AdminNoticeResource
- type AlertInfo
- type AnsweringForwardingResource
- type AnsweringForwardingRuleResource
- type AnsweringRuleInfo
- type AnsweringRuleResource
- type AnsweringRulesResource
- type ApiVersionResource
- type ApnsInfo
- type ApplicationInfoResource
- type ApplicationResource
- type ApplicationSettingsApiService
- func (a *ApplicationSettingsApiService) CreateSipRegistration(ctx context.Context, body CreateSipRegistrationRequest) (CreateSipRegistrationResponse, *http.Response, error)
- func (a *ApplicationSettingsApiService) DeleteCustomData(ctx context.Context, key int32) (*http.Response, error)
- func (a *ApplicationSettingsApiService) GetAttachment(ctx context.Context, key string, localVarOptionals map[string]interface{}) (*http.Response, error)
- func (a *ApplicationSettingsApiService) GetCustomData(ctx context.Context, key int32) (CustomDataResource, *http.Response, error)
- func (a *ApplicationSettingsApiService) GetInProductMessage(ctx context.Context, bannerType string) (InProductMessages, *http.Response, error)
- func (a *ApplicationSettingsApiService) GetSpecialNumberRules_(ctx context.Context, localVarOptionals map[string]interface{}) (NavigationInfo, *http.Response, error)
- func (a *ApplicationSettingsApiService) LoadClientInfo(ctx context.Context) (ClientApiResponse, *http.Response, error)
- func (a *ApplicationSettingsApiService) LoadPhoneData(ctx context.Context) (*http.Response, error)
- func (a *ApplicationSettingsApiService) UpdateCustomData(ctx context.Context, key int32, body CustomDataRequest) (CustomDataApiResponse, *http.Response, error)
- type ApsInfo
- type AssignedRoleResource
- type AssignedRolesResource
- type AttachmentInfo
- type AttachmentInfoReporting
- type AudioPromptInfo
- type AuthProfileCheckResource
- type AuthProfileResource
- type AuthenticationScheme
- type AuthenticationSchemes
- type BannerInfo
- type BasicAuth
- type BillingPlanInfo
- type BillingPlanResource
- type BillingStatementResource
- type Binary
- type BlacklistEntriesResource
- type BlacklistEntryResource
- type BlockedNumberInfo
- type BlockedNumbersList
- type BotExtensionCreation
- type BotExtensionCreationRequest
- type Brand
- type BrandInfo
- type BrandResource
- type BulkAssignItem
- type BulkProvisionExtensionResource
- type BulkProvisionUnassignedExtensionsRequestResource
- type BulkProvisionUnassignedExtensionsResponseResource
- type BulkRoleAssignResource
- type BulkSupported
- type BusinessAddressInfo
- type BusinessHoursResource
- type CallHandlingSettingsApiService
- func (a *CallHandlingSettingsApiService) BlockNumber(ctx context.Context, accountId string, extensionId string, ...) (BlockedNumberInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) CreateAnsweringRuleInfo(ctx context.Context, accountId string, extensionId string, ...) (AnsweringRuleInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) CreateCompanyAnsweringRuleInfo(ctx context.Context, accountId string, body CompanyAnsweringRuleRequest) (CompanyAnsweringRuleInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) CreateExtensionForwardingNumber(ctx context.Context, accountId string, extensionId string, ...) (ForwardingNumberInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) CreateGreeting(ctx context.Context, accountId string, extensionId string, ...) (CustomCompanyGreetingInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) CreateIVRMenu(ctx context.Context, accountId string, body IvrMenuInfo) (IvrMenuInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) CreatePrompts(ctx context.Context, accountId string, localVarFile *os.File, ...) (PromptInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) DeleteAnsweringRule(ctx context.Context, accountId string, extensionId string, ruleId string) (*http.Response, error)
- func (a *CallHandlingSettingsApiService) DeleteExtensionForwardingNumber(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- func (a *CallHandlingSettingsApiService) DeleteIVRPrompt(ctx context.Context, accountId string, promptId string) (*http.Response, error)
- func (a *CallHandlingSettingsApiService) GetCompanyGreeting(ctx context.Context, accountId string, body CustomCompanyGreetingRequest) (CustomCompanyGreetingInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetForwardingNumber(ctx context.Context, forwardingNumberId string, extensionId string, ...) (ForwardingNumberResource, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetGreeting(ctx context.Context, greetingId string) (DictionaryGreetingInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetGreetingByID(ctx context.Context, accountId string, extensionId string, greetingId int32) (CustomCompanyGreetingInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetGreetings(ctx context.Context, localVarOptionals map[string]interface{}) (DictionaryGreetingList, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetIVRMenuById(ctx context.Context, accountId string, ivrMenuId string) (IvrMenuInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetIVRPrompt(ctx context.Context, accountId string, promptId string) (PromptInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) GetIVRPromptContent(ctx context.Context, accountId string, promptId string) (*http.Response, error)
- func (a *CallHandlingSettingsApiService) GetIVRPrompts(ctx context.Context, accountId string) (IvrPrompts, *http.Response, error)
- func (a *CallHandlingSettingsApiService) ListBlockedNumbers(ctx context.Context, accountId string, extensionId string) (BlockedNumbersList, *http.Response, error)
- func (a *CallHandlingSettingsApiService) ListCompanyAnsweringRule(ctx context.Context, accountId string) (CompanyAnsweringRuleList, *http.Response, error)
- func (a *CallHandlingSettingsApiService) ListExtensionForwardingNumbers(ctx context.Context, accountId string, extensionId string, ...) (GetExtensionForwardingNumberListResponse, *http.Response, error)
- func (a *CallHandlingSettingsApiService) LoadAnsweringRuleInfo(ctx context.Context, accountId string, extensionId string, ruleId string) (AnsweringRuleInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) LoadAnsweringRulesList(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- func (a *CallHandlingSettingsApiService) LoadBlockedNumber(ctx context.Context, accountId string, extensionId string, ...) (BlockedNumberInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) LoadBusinesshoursInfo(ctx context.Context, accountId string) (CompanyBusinessHours, *http.Response, error)
- func (a *CallHandlingSettingsApiService) LoadCompanyAnsweringRuleInfo(ctx context.Context, accountId string, ruleId string) (CompanyAnsweringRuleInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) LoadUserBusinessHours(ctx context.Context, accountId string, extensionId string) (GetUserBusinessHoursResponse, *http.Response, error)
- func (a *CallHandlingSettingsApiService) RestapiV10AccountAccountIdIvrMenusIvrMenuIdPut(ctx context.Context, accountId string, ivrMenuId string, body IvrMenuInfo) (IvrMenuInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) UnblockNumber(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- func (a *CallHandlingSettingsApiService) UpdateAnsweringRuleInfo(ctx context.Context, accountId string, extensionId string, ruleId string, ...) (AnsweringRuleInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) UpdateBlockedNumber(ctx context.Context, accountId string, extensionId string, ...) (BlockedNumberInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) UpdateCompanyAnsweringRuleInfo(ctx context.Context, accountId string, ruleId string, ...) (CompanyAnsweringRuleInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) UpdateCompanyBusinessHours(ctx context.Context, accountId string, body CompanyBusinessHoursUpdateRequest) (CompanyBusinessHours, *http.Response, error)
- func (a *CallHandlingSettingsApiService) UpdateExtensionForwardingNumber(ctx context.Context, accountId string, extensionId string, ...) (ForwardingNumberInfo, *http.Response, error)
- func (a *CallHandlingSettingsApiService) UpdateUserBusinessHours(ctx context.Context, accountId string, extensionId string, ...) (UserBusinessHoursUpdate, *http.Response, error)
- type CallLogApiService
- func (a *CallLogApiService) DeleteAccountCallLog(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (a *CallLogApiService) DeleteAccountCallLogRecord(ctx context.Context, accountId string, callRecordId int32) (*http.Response, error)
- func (a *CallLogApiService) DeleteExtensionCallLog(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- func (a *CallLogApiService) GetCallRecords(ctx context.Context, callRecordId []string, extensionId string, ...) (UserCallLogRecord, *http.Response, error)
- func (a *CallLogApiService) ListCallRecordingData(ctx context.Context, accountId string, recordingId string) (Binary, *http.Response, error)
- func (a *CallLogApiService) ListCallRecordings(ctx context.Context, accountId string, recordingId string) (GetCallRecordingResponse, *http.Response, error)
- func (a *CallLogApiService) ListCompanyActiveCalls(ctx context.Context, accountId string, ...) (ExtensionActiveCallsResponse, *http.Response, error)
- func (a *CallLogApiService) ListExtensionActiveCalls(ctx context.Context, accountId string, extensionId string, ...) (ExtensionActiveCallsResponse, *http.Response, error)
- func (a *CallLogApiService) LoadAccountCallLog(ctx context.Context, accountId string, ...) (AccountCallLogResponse, *http.Response, error)
- func (a *CallLogApiService) LoadAccountCallLogRecord(ctx context.Context, accountId string, callRecordId int32) (GetAccountCallLogRecordResponse, *http.Response, error)
- func (a *CallLogApiService) LoadExtensionCallLog(ctx context.Context, accountId string, extensionId string, ...) (ExtensionCallLogResponse, *http.Response, error)
- func (a *CallLogApiService) SyncAccountCallLog(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (a *CallLogApiService) SyncExtensionCallLog(ctx context.Context, accountId string, extensionId string, ...) (CallLogSync, *http.Response, error)
- type CallLogCallerInfo
- type CallLogRecord
- type CallLogRecordDeviceInfo
- type CallLogRecordLegInfo
- type CallLogRecordResource
- type CallLogRecordingInfoResource
- type CallLogRecordingResource
- type CallLogRecords
- type CallLogSync
- type CallQueueInfo
- type CallQueueInfoRequest
- type CalledNumberInfo
- type CallerIdByDevice
- type CallerIdByDeviceInfo
- type CallerIdByFeature
- type CallerIdByFeatureInfo
- type CallerIdDeviceInfo
- type CallerIdPhoneInfo
- type CallerInfo
- type CallerInfoFrom
- type CallerInfoTo
- type CallerResource
- type CallersInfo
- type CallersInfoRequest
- type CfaAttachments
- type CfaRecurrence
- type CfaSchedule
- type CfaSettingsResource
- type CfaView
- type ClientApiResponse
- type ClientApplicationInfo
- type ClientInfoResource
- type ClientInfoSpecialNumberResource
- type ClientInfoSpecialNumbersResource
- type ClientProvisioningHintInfo
- type ClientProvisioningHintsInfo
- type ClientProvisioningInfo
- type ClientProvisioningWebUriInfo
- type ClientResource
- type CompanyAnsweringRuleCalledNumberInfo
- type CompanyAnsweringRuleCalledNumberInfoRequest
- type CompanyAnsweringRuleCallersInfoRequest
- type CompanyAnsweringRuleExtensionInfoRequest
- type CompanyAnsweringRuleInfo
- type CompanyAnsweringRuleList
- type CompanyAnsweringRuleRangesInfoRequest
- type CompanyAnsweringRuleRequest
- type CompanyAnsweringRuleScheduleInfo
- type CompanyAnsweringRuleScheduleInfoRequest
- type CompanyAnsweringRuleTimeIntervalRequest
- type CompanyAnsweringRuleUpdate
- type CompanyAnsweringRuleWeeklyScheduleInfoRequest
- type CompanyBusinessHours
- type CompanyBusinessHoursScheduleInfo
- type CompanyBusinessHoursUpdateRequest
- type CompanyContactsApiService
- func (a *CompanyContactsApiService) CreateBotExtension(ctx context.Context, accountId string, body BotExtensionCreationRequest) (BotExtensionCreation, *http.Response, error)
- func (a *CompanyContactsApiService) CreateExtension(ctx context.Context, accountId string, body ExtensionCreationRequest) (ExtensionInfo, *http.Response, error)
- func (a *CompanyContactsApiService) ListCompanyDirectoryContacts(ctx context.Context, accountId string, ...) (CompanyDirectoryContacts, *http.Response, error)
- func (a *CompanyContactsApiService) ListExtensions(ctx context.Context, accountId string, ...) (GetExtensionListResponse, *http.Response, error)
- func (a *CompanyContactsApiService) LoadCompanyDirectoryContact(ctx context.Context, accountId string, contactId string) (ContactInfo, *http.Response, error)
- func (a *CompanyContactsApiService) LoadCompanyDirectoryExtensionNumbers(ctx context.Context, accountId string) (FederationExtensionNumbers, *http.Response, error)
- func (a *CompanyContactsApiService) LoadCompanyDirectoryFederation(ctx context.Context, accountId string) (FederationInfo, *http.Response, error)
- func (a *CompanyContactsApiService) LoadCompanyDirectoryFederationConflicts(ctx context.Context, accountId string) (FederationConflicts, *http.Response, error)
- type CompanyDirectoryAccountInfo
- type CompanyDirectoryContactInfo
- type CompanyDirectoryContacts
- type CompanyDirectoryPhoneNumberInfo
- type CompanyDirectoryProfileImageInfo
- type CompanySettingsApiService
- func (a *CompanySettingsApiService) DeleteAccount(ctx context.Context, accountId string) (*http.Response, error)
- func (a *CompanySettingsApiService) ListDialingPlans(ctx context.Context, accountId string, ...) (GetDialingPlanInfo, *http.Response, error)
- func (a *CompanySettingsApiService) LoadAccount(ctx context.Context, accountId string) (GetAccountInfoResponse, *http.Response, error)
- func (a *CompanySettingsApiService) LoadAccountBusinessAddress(ctx context.Context, accountId string) (GetAccountInfoResponse, *http.Response, error)
- func (a *CompanySettingsApiService) LoadServiceInfo(ctx context.Context, accountId string) (GetServiceInfoResponse, *http.Response, error)
- func (a *CompanySettingsApiService) ModifyAccount(ctx context.Context, accountId string, body UpdateAccountRequest) (GetAccountInfoResponse, *http.Response, error)
- func (a *CompanySettingsApiService) UpdateAccountBusinessAddress(ctx context.Context, accountId string, ...) (AccountBusinessAddressResource, *http.Response, error)
- func (a *CompanySettingsApiService) UpdateServiceInfo(ctx context.Context, accountId string, body ServiceInfoRequest) (AccountServiceInfo, *http.Response, error)
- type ConferencePhoneNumberInfo
- type ConferencingInfoResource
- type ConferencingNumberResource
- type Configuration
- type ConflictsInfo
- type ContactAddressInfo
- type ContactDirectoryEvent
- type ContactInfo
- type ContactInfoUpdateRequest
- type ContactList
- type ContactsCollection
- type ContactsInput
- type ContentDisposition
- type ConversationResource
- type Cookie
- type CountriesResource
- type CountryInfo
- type CountryResource
- type CreateAccountRequest
- type CreateAnsweringRuleRequest
- type CreateFaxMessageRequest
- type CreateForwardingNumberRequest
- type CreatePagerMessageRequest
- type CreateSipRegistrationRequest
- type CreateSipRegistrationResponse
- type CreateSmsMessage
- type CreateSubscriptionRequest
- type Currency
- type CustomCompanyGreetingAnsweringRuleInfo
- type CustomCompanyGreetingInfo
- type CustomCompanyGreetingRequest
- type CustomDataApiResponse
- type CustomDataAttachmentInfo
- type CustomDataRequest
- type CustomDataResource
- type CustomGreetingAnsweringRuleInfo
- type CustomGreetingAnsweringRuleInfoRequest
- type CustomGreetingRequest
- type DateTimeIntervalResource
- type DefaultUserRoleRequest
- type DeliveryModeResource
- type DepartmentBulkAssignResource
- type DepartmentInfo
- type DepartmentMemberList
- type DepartmentResource
- type DetailedCallInfo
- type DetailedExtensionPresenceEvent
- type DetailedExtensionPresenceWithSipEvent
- type DeviceInfoRequest
- type DeviceInstance
- type DeviceModelExtResource
- type DeviceModelExtsResource
- type DeviceModelResource
- type DeviceOrder
- type DeviceOrderCreation
- type DeviceOrderResource
- type DeviceResource
- type DeviceToRegister
- type DevicesResource
- type DialInNumberResource
- type DictionaryGreetingInfo
- type DictionaryGreetingList
- type DictionaryShippingOptions
- type EditGroupRequest
- type EditPagingGroupRequest
- type EditParkLocationRequest
- type EmailInfo
- type EmailInfoRequest
- type EmailResource
- type EmergencyAddress
- type EmergencyAddressInfo
- type EmergencyAddressInfoRequest
- type EmergencyServiceAddressResource
- type EnterpriseUser
- type EntityTag
- type ErrorEntity
- type ExtensionActiveCallsResponse
- type ExtensionAssignmentResult
- type ExtensionCallLogResponse
- type ExtensionCallerIdInfo
- type ExtensionCountryInfoRequest
- type ExtensionCreationRequest
- type ExtensionFavoritesEvent
- type ExtensionFavoritesPresenceEvent
- type ExtensionFormattingLocaleInfoRequest
- type ExtensionGrantListEvent
- type ExtensionGrantResource
- type ExtensionGrantsResource
- type ExtensionGreetingLanguageInfoRequest
- type ExtensionIdResource
- type ExtensionInfo
- type ExtensionInfoCallLog
- type ExtensionInfoEvent
- type ExtensionInfoGrants
- type ExtensionInfoIntId
- type ExtensionInfoMonitoredLines
- type ExtensionInfoProvisionPhoneNumbers
- type ExtensionInfoSip
- type ExtensionLanguageInfoRequest
- type ExtensionListEvent
- type ExtensionNotificationInfo
- type ExtensionPermissions
- type ExtensionPermissionsResource
- type ExtensionPresenceEvent
- type ExtensionPresenceLineEvent
- type ExtensionReferenceResource
- type ExtensionRegionalSettingRequest
- type ExtensionResource
- type ExtensionResourceIntId
- type ExtensionSecretQuestionInfo
- type ExtensionServiceFeatureInfo
- type ExtensionStatusInfo
- type ExtensionTimezoneInfoRequest
- type ExtensionUpdateRequest
- type ExtensionUserCredentailsRequest
- type ExtensionUserCredentials
- type ExtensionUserGroupsResource
- type ExtensionWithRolesCollectionResource
- type ExtensionWithRolesResource
- type Extensions
- type FavoriteCollection
- type FavoriteContactResource
- type FaxCallerInfo
- type FaxCountryInfo
- type FaxResendInfo
- type FaxResponse
- type Feature
- type Features
- type FederationAccountInfo
- type FederationConflicts
- type FederationConflictsAccountInfo
- type FederationExtensionInfo
- type FederationExtensionNumbers
- type FederationExtensionNumbersExtensionInfo
- type FederationInfo
- type FederationMainNumberInfo
- type FeeChargeResource
- type File
- type FilterSupported
- type FixedOrderAgents
- type FormDataContentDisposition
- type FormFieldResource
- type FormattingLocaleInfo
- type ForwardingInfo
- type ForwardingInfoCreateRuleRequest
- type ForwardingNumberInfo
- type ForwardingNumberInfoRules
- type ForwardingNumberInfoRulesCreateRuleRequest
- type ForwardingNumberResource
- type ForwardingNumbersResource
- type GcmData
- type GcmInfo
- type GetAccountCallLogRecordResponse
- type GetAccountDevicesResponse
- type GetAccountInfoResponse
- type GetCallRecordingResponse
- type GetConferencingInfoResponse
- type GetCountryInfoConferencing
- type GetCountryInfoDictionaryResponse
- type GetCountryInfoNumberParser
- type GetCountryInfoState
- type GetCountryListResponse
- type GetDeviceInfoResponse
- type GetDialingPlanCountryInfo
- type GetDialingPlanInfo
- type GetExtensionCallLogRecordResponse
- type GetExtensionDevicesResponse
- type GetExtensionForwardingNumberListResponse
- type GetExtensionGrantListResponse
- type GetExtensionInfoResponse
- type GetExtensionListResponse
- type GetExtensionPhoneNumbersResponse
- type GetLocationListResponse
- type GetMessageInfoResponse
- type GetMessageInfoResponseIntId
- type GetMessageList
- type GetMessageSyncResponse
- type GetMonitoredExtensionsResponse
- type GetPresenceExtensionInfo
- type GetPresenceInfo
- type GetReportingSettingsResponse
- type GetRingOutStatusResponse
- type GetRingOutStatusResponseIntId
- type GetSecretQuestionListResponse
- type GetServiceInfoResponse
- type GetStateInfoResponse
- type GetStateListResponse
- type GetTimezoneInfoResponse
- type GetTimezoneListResponse
- type GetUserBusinessHoursResponse
- type GetUserListResponse
- type GetVersionResponse
- type GetVersionsResponse
- type GlipApiService
- func (a *GlipApiService) CreateGlipFile(ctx context.Context, localVarFile *os.File, ...) (PostGlipFile, *http.Response, error)
- func (a *GlipApiService) CreateGroup(ctx context.Context, body GlipCreateGroup) (GlipGroupInfo, *http.Response, error)
- func (a *GlipApiService) CreatePost(ctx context.Context, groupId string, body GlipCreatePost) (GlipPostInfo, *http.Response, error)
- func (a *GlipApiService) LoadCompany(ctx context.Context, companyId string) (GlipCompany, *http.Response, error)
- func (a *GlipApiService) LoadGlipFile(ctx context.Context, fileId string) (PostGlipFile, *http.Response, error)
- func (a *GlipApiService) LoadGroup(ctx context.Context, groupId string) (GlipGroupInfo, *http.Response, error)
- func (a *GlipApiService) LoadGroupList(ctx context.Context, localVarOptionals map[string]interface{}) (GlipGroupList, *http.Response, error)
- func (a *GlipApiService) LoadPerson(ctx context.Context, personId string) (GlipPersonInfo, *http.Response, error)
- func (a *GlipApiService) LoadPosts(ctx context.Context, groupId string, localVarOptionals map[string]interface{}) (GlipPosts, *http.Response, error)
- func (a *GlipApiService) LoadUnreadMessageCount(ctx context.Context, localVarOptionals map[string]interface{}) (GlipUnreadMessageCount, *http.Response, error)
- func (a *GlipApiService) UpdateGroup(ctx context.Context, groupId string, body EditGroupRequest) (GlipGroupInfo, *http.Response, error)
- type GlipApnsInfo
- type GlipCompany
- type GlipCreateGroup
- type GlipCreatePost
- type GlipGroupInfo
- type GlipGroupList
- type GlipGroupsEvent
- type GlipMentionsInfo
- type GlipMessageAttachmentAuthorInfo
- type GlipMessageAttachmentFieldsInfo
- type GlipMessageAttachmentFootnoteInfo
- type GlipMessageAttachmentInfo
- type GlipMessageAttachmentInfoRequest
- type GlipNavigationInfo
- type GlipPersonInfo
- type GlipPostEvent
- type GlipPostInfo
- type GlipPosts
- type GlipUnreadMessageCount
- type GlipUnreadMessageCountEvent
- type GlipUnreadMessageCountInfo
- type GrantInfo
- type GreetingInfo
- type GreetingLanguageInfo
- type GroupContactsCollection
- type GroupResource
- type GroupsCollection
- type HintResource
- type HintsResource
- type HomeCountry
- type HomeCountryResource
- type HostInfoRequest
- type InProductMessages
- type InboundFaxesInfo
- type InboundMessageEvent
- type InboundTextsInfo
- type IncomingCallEvent
- type IncomingCallInformationResource
- type InlinedExtensionResource
- type InstantMessageEvent
- type InternalMessageResource
- type IntervalResource
- type InvoiceSettingsResource
- type IvrMenuActionsInfo
- type IvrMenuExtensionInfo
- type IvrMenuInfo
- type IvrMenuPromptInfo
- type IvrPrompts
- type LanguageInfo
- type LanguageInfoResource
- type LanguageInfoResources
- type LanguageList
- type LanguageResource
- type LicenseExtensionInfo
- type LicenseFeatureInfo
- type LicenseInfo
- type LicenseInfoRequest
- type LicenseList
- type LicenseTypeInfo
- type LicenseTypeInfoRequest
- type LicenseTypes
- type LineInfo
- type ListCompanyAnsweringRuleInfo
- type Locale
- type LocationInfo
- type LocationResource
- type LocationsResource
- type LookupPhoneNumberInfo
- type MakeRingOutCallerInfoRequestFrom
- type MakeRingOutCallerInfoRequestTo
- type MakeRingOutCoutryInfo
- type MakeRingOutRequest
- type MatchingEntityTag
- type MediaType
- type MeetingExternalUserInfoResource
- type MeetingLinks
- type MeetingRequestResource
- type MeetingResponseResource
- type MeetingScheduleResource
- type MeetingServiceInfoResource
- type MeetingsApiService
- func (a *MeetingsApiService) CreateMeeting(ctx context.Context, extensionId string, accountId string, ...) (MeetingResponseResource, *http.Response, error)
- func (a *MeetingsApiService) DeleteMeeting(ctx context.Context, meetingId string, extensionId string, accountId string) (*http.Response, error)
- func (a *MeetingsApiService) EndMeeting(ctx context.Context, meetingId string, extensionId string, accountId string) (*http.Response, error)
- func (a *MeetingsApiService) GetLiveMeetings(ctx context.Context, extensionId string, accountId string) (MeetingsResource, *http.Response, error)
- func (a *MeetingsApiService) GetMeetingDetails(ctx context.Context, meetingId string, extensionId string, accountId string) (MeetingResponseResource, *http.Response, error)
- func (a *MeetingsApiService) GetMeetingServiceInfo(ctx context.Context, extensionId string, accountId string) (MeetingServiceInfoResource, *http.Response, error)
- func (a *MeetingsApiService) UpdateMeeting(ctx context.Context, meetingId string, extensionId string, accountId string, ...) (MeetingResponseResource, *http.Response, error)
- type MeetingsResource
- type MessageAttachmentInfo
- type MessageAttachmentInfoIntId
- type MessageChanges
- type MessageEvent
- type MessageInfoResource
- type MessageStoreCallerInfoRequest
- type MessageStoreCallerInfoResponse
- type Messages
- type MessagesApiService
- func (a *MessagesApiService) DeleteMessage(ctx context.Context, accountId string, extensionId string, messageId int32, ...) (*http.Response, error)
- func (a *MessagesApiService) DeleteMessagesByFilter(ctx context.Context, extensionId string, accountId string, ...) (*http.Response, error)
- func (a *MessagesApiService) GetFaxCoverPages(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)
- func (a *MessagesApiService) ListMessages(ctx context.Context, accountId string, extensionId string, ...) (GetMessageList, *http.Response, error)
- func (a *MessagesApiService) LoadMessage(ctx context.Context, accountId string, extensionId string, messageId int32) (GetMessageInfoResponse, *http.Response, error)
- func (a *MessagesApiService) LoadMessageAttachment(ctx context.Context, accountId string, extensionId string, attachmentId int32, ...) (*http.Response, error)
- func (a *MessagesApiService) SendFaxMessage(ctx context.Context, accountId string, extensionId string, ...) (FaxResponse, *http.Response, error)
- func (a *MessagesApiService) SendInternalMessage(ctx context.Context, accountId string, extensionId string, ...) (GetMessageInfoResponse, *http.Response, error)
- func (a *MessagesApiService) SendSMS(ctx context.Context, accountId string, extensionId string, ...) (GetMessageInfoResponse, *http.Response, error)
- func (a *MessagesApiService) SyncMessages(ctx context.Context, accountId string, extensionId string, ...) (GetMessageSyncResponse, *http.Response, error)
- func (a *MessagesApiService) UpdateMessage(ctx context.Context, accountId string, extensionId string, messageId int32, ...) (GetMessageInfoResponse, *http.Response, error)
- type MetaInfo
- type MethodInfo
- type MethodResource
- type MissedCallEvent
- type MissedCallsInfo
- type ModelInfo
- type ModelType
- type ModifyAccountBusinessAddressRequest
- type ModifySubscriptionRequest
- type MonitoringExtensionResource
- type MonitoringExtensionsResource
- type NameInfo
- type NameInfoRequest
- type NavigableCollectionResourceExtensionIdResource
- type NavigableCollectionResourceUserGroupResource
- type Navigation
- type NavigationInfo
- type NavigationInfoUri
- type NewCookie
- type NotificationBlacklistedData
- type NotificationDeliveryMode
- type NotificationDeliveryModeRequest
- type NotificationInfo
- type NotificationRecipientInfo
- type NotificationSettings
- type NotificationSettingsUpdateRequest
- type NumberPoolPhoneNumberRequest
- type NumberPortingRequest
- type OptionInfo
- type OptionInfoReason
- type OrderLicensesRequest
- type OrderResource
- type OrganizationResource
- type OutboundFaxesInfo
- type PagesInfoReporting
- type Paging
- type PagingDeviceInfo
- type PagingGroupExtensionInfo
- type PagingInfo
- type PagingOnlyGroupDevices
- type PagingOnlyGroupUsers
- type ParameterizedHeader
- type ParkLocationResponse
- type ParsePhoneNumberRequest
- type ParsePhoneNumberResponse
- type ParsedNumberResource
- type ParsedPhoneNumbersResource
- type PatchOperationInfo
- type PathPattern
- type PatternWithGroups
- type PaymentInfoAddressResource
- type PaymentInfoCardHolderResource
- type PaymentInfoCardResource
- type PaymentInfoResource
- type Permission
- type PermissionCategoryCollectionResource
- type PermissionCategoryIdResource
- type PermissionCategoryResource
- type PermissionCollectionResource
- type PermissionIdResource
- type PermissionInfo
- type PermissionResource
- type PersonalContactResource
- type PhoneLineResource
- type PhoneLinesInfo
- type PhoneNumberForProvisioningResource
- type PhoneNumberInfo
- type PhoneNumberInfoConferencing
- type PhoneNumberInfoIntId
- type PhoneNumberInfoNumberParser
- type PhoneNumberInfoRequest
- type PhoneNumberResource
- type PhoneNumberResourceIntId
- type PhoneNumberStringsResource
- type PhoneNumbers
- type PhoneNumbersApiService
- type PhoneNumbersRecordsResource
- type PhoneNumbersResource
- type PhotoInfo
- type PoolRequestResource
- type PoolResponseResource
- type PostGlipFile
- type PresenceApiService
- func (a *PresenceApiService) AccountPresence(ctx context.Context, accountId string) (AccountPresenceInfo, *http.Response, error)
- func (a *PresenceApiService) GetMonitoringExtensions(ctx context.Context, extensionId string, accountId string) (MonitoringExtensionsResource, *http.Response, error)
- func (a *PresenceApiService) GetPresenceLine(ctx context.Context, lineId string, extensionId string, accountId string) (PresenceLineResource, *http.Response, error)
- func (a *PresenceApiService) GetPresenceStatus(ctx context.Context, accountId string, extensionId string) (GetPresenceInfo, *http.Response, error)
- func (a *PresenceApiService) ListMonitoredExtensions(ctx context.Context, accountId string, extensionId string) (GetMonitoredExtensionsResponse, *http.Response, error)
- func (a *PresenceApiService) PutMonitoringExtensions(ctx context.Context, extensionId string, accountId string, ...) (MonitoringExtensionsResource, *http.Response, error)
- func (a *PresenceApiService) UpdatePresenceLines(ctx context.Context, extensionId string, accountId string, ...) (UpdatePresenceLinesResponse, *http.Response, error)
- func (a *PresenceApiService) UpdatePresenceStatus(ctx context.Context, extensionId string, accountId string, ...) (PresenceInfoResource, *http.Response, error)
- type PresenceExtensionInfo
- type PresenceInfoResource
- type PresenceLineInfo
- type PresenceLineResource
- type PresenceLinesNavigationResource
- type PresencePermissions
- type PresencePermissionsExtensionInfoRequest
- type PresetInfo
- type Principal
- type ProfileImageInfo
- type ProfileImageInfoUri
- type ProfileImageResource
- type PromotionCodeResource
- type PromptInfo
- type PromptLanguageInfo
- type PronouncedNameInfo
- type PropertiesDelegate
- type ProvisionPhoneNumberRequest
- type ProvisioningResource
- type PushNotificationsApiService
- func (a *PushNotificationsApiService) CreateSubscription(ctx context.Context, body CreateSubscriptionRequest) (SubscriptionInfo, *http.Response, error)
- func (a *PushNotificationsApiService) DeleteSubscription(ctx context.Context, subscriptionId string) (*http.Response, error)
- func (a *PushNotificationsApiService) GetSubscriptions(ctx context.Context) (RecordsCollectionResourceSubscriptionResponse, *http.Response, error)
- func (a *PushNotificationsApiService) LoadSubscription(ctx context.Context, subscriptionId int32) (SubscriptionInfo, *http.Response, error)
- func (a *PushNotificationsApiService) RenewSubscription(ctx context.Context, subscriptionId string) (SubscriptionInfo, *http.Response, error)
- func (a *PushNotificationsApiService) UpdateSubscription(ctx context.Context, subscriptionId string, body ModifySubscriptionRequest, ...) (SubscriptionInfo, *http.Response, error)
- type PutPresenceResource
- type QueueInfo
- type RangesInfo
- type RcVideoNotificationsEvent
- type RcvParticipantsInfo
- type RcvRecordingInfo
- type Reason
- type ReassignPhoneNumberResource
- type RecipientInfo
- type RecordingInfo
- type RecordsCollectionResourceSubscriptionResponse
- type RecurrenceInfoReporting
- type Reference
- type ReferenceInfo
- type RegionalSettings
- type RegionalSettingsApiService
- func (a *RegionalSettingsApiService) ListCountries(ctx context.Context, localVarOptionals map[string]interface{}) (GetCountryListResponse, *http.Response, error)
- func (a *RegionalSettingsApiService) ListLanguages(ctx context.Context) (LanguageList, *http.Response, error)
- func (a *RegionalSettingsApiService) ListLocations(ctx context.Context, localVarOptionals map[string]interface{}) (GetLocationListResponse, *http.Response, error)
- func (a *RegionalSettingsApiService) ListTimezones(ctx context.Context, localVarOptionals map[string]interface{}) (GetTimezoneListResponse, *http.Response, error)
- func (a *RegionalSettingsApiService) LoadCountry(ctx context.Context, countryId int32) (GetCountryInfoDictionaryResponse, *http.Response, error)
- func (a *RegionalSettingsApiService) LoadLanguage(ctx context.Context, languageId int32) (LanguageInfo, *http.Response, error)
- func (a *RegionalSettingsApiService) LoadState(ctx context.Context, stateId int32) (GetStateInfoResponse, *http.Response, error)
- func (a *RegionalSettingsApiService) LoadTimezone(ctx context.Context, timezoneId int32, ...) (GetTimezoneInfoResponse, *http.Response, error)
- func (a *RegionalSettingsApiService) LoadlistStates(ctx context.Context, localVarOptionals map[string]interface{}) (GetStateListResponse, *http.Response, error)
- type RegionalSettingsResource
- type RegistrationRequest
- type RegistrationResponse
- type ReportingApiService
- func (a *ReportingApiService) LoadReportingSettings(ctx context.Context, accountId string, extensionId string) (ReportingSettings, *http.Response, error)
- func (a *ReportingApiService) UpdateReportingSettings(ctx context.Context, accountId string, extensionId string, ...) (ReportingSettings, *http.Response, error)
- type ReportingAttachmentInfo
- type ReportingPagesInfo
- type ReportingRecurrenceInfo
- type ReportingSchedulesInfo
- type ReportingSettings
- type ReportingViewInfo
- type Request
- type ReservationDate
- type ReservePhoneNumberResource
- type ReservePhoneNumbersRecordsResource
- type ResourceLink
- type ResourceModelComponent
- type RingOutApiService
- func (a *RingOutApiService) CancelRingOutCall(ctx context.Context, accountId string, extensionId string, ringoutId int32) (*http.Response, error)
- func (a *RingOutApiService) CancelRingOutCallNew(ctx context.Context, accountId string, extensionId string, ringoutId int32) (*http.Response, error)
- func (a *RingOutApiService) CreateDirectRingOut(ctx context.Context, extensionId string, accountId string, ...) (*http.Response, error)
- func (a *RingOutApiService) CreateDirectRingOutNew(ctx context.Context, extensionId string, accountId string, ...) (*http.Response, error)
- func (a *RingOutApiService) GetRingOutCallStatus(ctx context.Context, accountId string, extensionId string, ringoutId int32) (GetRingOutStatusResponse, *http.Response, error)
- func (a *RingOutApiService) GetRingOutCallStatusNew(ctx context.Context, accountId string, extensionId string, ringoutId int32) (GetRingOutStatusResponse, *http.Response, error)
- func (a *RingOutApiService) MakeRingOutCall(ctx context.Context, accountId string, extensionId string, ...) (GetRingOutStatusResponseIntId, *http.Response, error)
- func (a *RingOutApiService) MakeRingOutCallNew(ctx context.Context, accountId string, extensionId string, ...) (GetRingOutStatusResponse, *http.Response, error)
- type RingOutCountry
- type RingOutFromInfo
- type RingOutPhoneNumberInfo
- type RingOutResource
- type RingOutStatusInfo
- type RoleIdResource
- type RoleResource
- type RolesAndPermissionsApiService
- func (a *RolesAndPermissionsApiService) CheckPermission(ctx context.Context, extensionId string, accountId string, ...) (AuthProfileCheckResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) GetPermission(ctx context.Context, permissionId string) (PermissionResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) GetPermissionCategory(ctx context.Context, permissionCategoryId string) (PermissionCategoryResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) GetProfile(ctx context.Context, extensionId string, accountId string) (AuthProfileResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) GetSystemRole(ctx context.Context, roleId string) (RoleResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) ListPermissionCategories(ctx context.Context, localVarOptionals map[string]interface{}) (PermissionCategoryCollectionResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) ListPermissions(ctx context.Context, localVarOptionals map[string]interface{}) (PermissionCollectionResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) ListSystemRoles(ctx context.Context, localVarOptionals map[string]interface{}) (RolesCollectionResource, *http.Response, error)
- func (a *RolesAndPermissionsApiService) LoadUserRole(ctx context.Context, accountId string) (*http.Response, error)
- func (a *RolesAndPermissionsApiService) UpdateUserRole(ctx context.Context, accountId string, body DefaultUserRoleRequest) (*http.Response, error)
- type RolesCollectionResource
- type RuleInfo
- type RuleInfoCreateRuleRequest
- type SCIMApiService
- func (a *SCIMApiService) CreateUser(ctx context.Context, body UserCreationRequest) (UserInfo, *http.Response, error)
- func (a *SCIMApiService) DeleteUser(ctx context.Context, id string) (*http.Response, error)
- func (a *SCIMApiService) GetServiceProviderConfig(ctx context.Context) (ServiceProviderConfig, *http.Response, error)
- func (a *SCIMApiService) GetUserById(ctx context.Context, id string) (UserInfo, *http.Response, error)
- func (a *SCIMApiService) ListUsers(ctx context.Context, localVarOptionals map[string]interface{}) (GetUserListResponse, *http.Response, error)
- func (a *SCIMApiService) PatchUser(ctx context.Context, id string, localVarOptionals map[string]interface{}) (UserInfo, *http.Response, error)
- func (a *SCIMApiService) SearchUsersViaPost(ctx context.Context, localVarOptionals map[string]interface{}) (GetUserListResponse, *http.Response, error)
- func (a *SCIMApiService) UpdateUser(ctx context.Context, id string, body UserUpdateRequest) (UserInfo, *http.Response, error)
- type SaveRequestResource
- type ScaledProfileImageResource
- type ScheduleInfo
- type ScheduleInfoUserBusinessHours
- type ScheduleResource
- type SchedulesInfoReporting
- type ScimErrorResponse
- type ScimSearchRequestInfo
- type ScimUserPatch
- type SecretQuestionInfo
- type SecretQuestionInfoResource
- type SecretQuestionInfoValidationRequest
- type SecretQuestionInfoVerificationRequest
- type SecretQuestionsInfoResource
- type SecurityContext
- type SenderInfo
- type ServiceFeatureInfo
- type ServiceFeatureValue
- type ServiceInfo
- type ServiceInfoRequest
- type ServiceParameterResource
- type ServicePlan
- type ServicePlanInfo
- type ServicePlanResource
- type ServiceProviderConfig
- type SessionResource
- type SessionsResource
- type SetReportingSettingsRequest
- type ShippingAddressInfo
- type ShippingInfo
- type ShippingMethod
- type ShippingOptionResource
- type ShippingOptionsResource
- type ShippingResource
- type SignupInfoResource
- type SimpleResource
- type SipDetailsToRegister
- type SipFlags
- type SipFlagsRespones
- type SipInfo
- type SipInfoRequest
- type SipInfoResource
- type SipInfoResponse
- type SiteInfo
- type SmsResource
- type SpecialNumberFeaturesInfo
- type SpecialNumberInfo
- type StackTraceElement
- type StateResource
- type StatesResource
- type StatusInfo
- type StatusType
- type SubResource
- type SubscriptionInfo
- type SubscriptionRequest
- type SubscriptionResponse
- type Supported
- type SyncCallLogRecords
- type SyncInfo
- type SyncInfoCallLog
- type SyncInfoMessages
- type SyncMessages
- type TargetServicePlanInfo
- type TaskInfo
- type TesterFlagsResource
- type Throwable
- type TimeInterval
- type TimezoneInfo
- type TimezoneResource
- type TimezonesResource
- type TouchRequestResource
- type TranscriptionResult
- type TransferredExtensionInfo
- type TransitionInfo
- type UnconditionalForwardingInfo
- type UnconditionalForwardingResource
- type UpdateAccountRequest
- type UpdateAnsweringRuleRequest
- type UpdateConferencingInfoRequest
- type UpdateForwardingNumberRequest
- type UpdateMessageRequest
- type UpdatePresenceLinesRequest
- type UpdatePresenceLinesResponse
- type UriTemplate
- type UrnInfoRequest
- type UserBusinessHoursScheduleInfo
- type UserBusinessHoursUpdate
- type UserBusinessHoursUpdateRequest
- type UserCallLogRecord
- type UserContactsApiService
- func (a *UserContactsApiService) ContactFavorite(ctx context.Context, accountId string, extensionId string) (*http.Response, error)
- func (a *UserContactsApiService) CreateContact(ctx context.Context, accountId string, extensionId string, ...) (PersonalContactResource, *http.Response, error)
- func (a *UserContactsApiService) CreateContacts(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- func (a *UserContactsApiService) DeleteContact(ctx context.Context, accountId string, extensionId string, contactId int32) (*http.Response, error)
- func (a *UserContactsApiService) ListContacts(ctx context.Context, accountId string, extensionId string, ...) (ContactList, *http.Response, error)
- func (a *UserContactsApiService) LoadContact(ctx context.Context, accountId string, extensionId string, contactId int32) (PersonalContactResource, *http.Response, error)
- func (a *UserContactsApiService) SyncAddressBook(ctx context.Context, accountId string, extensionId string, ...) (AddressBookSync, *http.Response, error)
- func (a *UserContactsApiService) UpdateContact(ctx context.Context, accountId string, extensionId string, contactId int32, ...) (PersonalContactResource, *http.Response, error)
- type UserCreationRequest
- type UserGroupBulkAssignResource
- type UserGroupIdResource
- type UserGroupManagerResource
- type UserGroupResource
- type UserInfo
- type UserPresencePermissionsUpdateRequest
- type UserSettingsApiService
- func (a *UserSettingsApiService) DeleteExtension(ctx context.Context, extensionId string, accountId string) (*http.Response, error)
- func (a *UserSettingsApiService) DownloadImage(ctx context.Context, extensionId string, accountId string) (Binary, *http.Response, error)
- func (a *UserSettingsApiService) GetNotificationSettings(ctx context.Context, accountId string, extensionId string) (NotificationSettings, *http.Response, error)
- func (a *UserSettingsApiService) ListExtensionGrants(ctx context.Context, accountId string, extensionId string, ...) (GetExtensionGrantListResponse, *http.Response, error)
- func (a *UserSettingsApiService) ListSecretQuestions(ctx context.Context, localVarOptionals map[string]interface{}) (GetSecretQuestionListResponse, *http.Response, error)
- func (a *UserSettingsApiService) LoadConferencingInfo(ctx context.Context, accountId string, extensionId string, ...) (GetConferencingInfoResponse, *http.Response, error)
- func (a *UserSettingsApiService) LoadExtensionCallerId(ctx context.Context, accountId string, extensionId string) (ExtensionCallerIdInfo, *http.Response, error)
- func (a *UserSettingsApiService) LoadExtensionInfo(ctx context.Context, accountId string, extensionId string) (GetExtensionInfoResponse, *http.Response, error)
- func (a *UserSettingsApiService) LoadExtensionProfileImage(ctx context.Context, accountId string, extensionId string, scaleSize string) (Binary, *http.Response, error)
- func (a *UserSettingsApiService) LoadExtensionUserCredentials(ctx context.Context, accountId string, extensionId string) (ExtensionUserCredentials, *http.Response, error)
- func (a *UserSettingsApiService) LoadSecretQuestion(ctx context.Context, questionId int32) (SecretQuestionInfo, *http.Response, error)
- func (a *UserSettingsApiService) UpdateConferencingInfo(ctx context.Context, accountId string, extensionId string, ...) (GetConferencingInfoResponse, *http.Response, error)
- func (a *UserSettingsApiService) UpdateExtension(ctx context.Context, accountId string, extensionId string, ...) (GetExtensionInfoResponse, *http.Response, error)
- func (a *UserSettingsApiService) UpdateExtensionCallerId(ctx context.Context, accountId string, extensionId string, ...) (ExtensionCallerIdInfo, *http.Response, error)
- func (a *UserSettingsApiService) UpdateExtensionUserCredentials(ctx context.Context, accountId string, extensionId string, ...) (ExtensionUserCredentials, *http.Response, error)
- func (a *UserSettingsApiService) UpdateNotificationSettings(ctx context.Context, accountId string, extensionId int32, ...) (NotificationSettings, *http.Response, error)
- func (a *UserSettingsApiService) UploadImageByPostForm(ctx context.Context, localVarFile *os.File, extensionId string, ...) (Binary, *http.Response, error)
- func (a *UserSettingsApiService) UploadImageByPutForm(ctx context.Context, extensionId string, accountId string, ...) (Binary, *http.Response, error)
- func (a *UserSettingsApiService) ValidateExtensionUserCredentials(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- func (a *UserSettingsApiService) VerifyExtensionUserCredentials(ctx context.Context, accountId string, extensionId string, ...) (*http.Response, error)
- type UserUpdateRequest
- type ValidateExtensionUserCredentials
- type VerifyExtensionUserCredentials
- type VersionInfo
- type VersionedResource
- type VersioningResource
- type ViewInfoReporting
- type VoicemailInfo
- type VoicemailSettingsResource
- type VoicemailsInfo
- type WebUrisResource
- type WeeklyScheduleInfo
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct {
// API Services
APIInfoApi *APIInfoApiService
AccountProvisioningApi *AccountProvisioningApiService
ApplicationSettingsApi *ApplicationSettingsApiService
CallHandlingSettingsApi *CallHandlingSettingsApiService
CallLogApi *CallLogApiService
CompanyContactsApi *CompanyContactsApiService
CompanySettingsApi *CompanySettingsApiService
GlipApi *GlipApiService
MeetingsApi *MeetingsApiService
MessagesApi *MessagesApiService
PhoneNumbersApi *PhoneNumbersApiService
PresenceApi *PresenceApiService
PushNotificationsApi *PushNotificationsApiService
RegionalSettingsApi *RegionalSettingsApiService
ReportingApi *ReportingApiService
RingOutApi *RingOutApiService
RolesAndPermissionsApi *RolesAndPermissionsApiService
SCIMApi *SCIMApiService
UserContactsApi *UserContactsApiService
UserSettingsApi *UserSettingsApiService
// contains filtered or unexported fields
}
APIClient manages communication with the RingCentral Connect Platform API Explorer API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
func (*APIClient) HTTPClient ¶
type APIInfoApiService ¶
type APIInfoApiService service
func (*APIInfoApiService) GetAPIVersion ¶
func (a *APIInfoApiService) GetAPIVersion(ctx context.Context) (GetVersionsResponse, *http.Response, error)
APIInfoApiService Get API Versions
<p style='font-style:italic;'>Since 1.0.0</p><p>Returns current API version(s) and server info.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @return GetVersionsResponse
func (*APIInfoApiService) GetVersionInfo ¶
func (a *APIInfoApiService) GetVersionInfo(ctx context.Context, apiVersion string) (GetVersionResponse, *http.Response, error)
APIInfoApiService Get Version Info
<p style='font-style:italic;'>Since 1.0.0</p><p>Returns current API version info by apiVersion.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param apiVersion API version to be requested, for example 'v1.0' @return GetVersionResponse
func (*APIInfoApiService) LoadAPIStatus ¶
APIInfoApiService Get Status
<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Returns the API status; status '200' means the API is working fine, and '503' means it is temporary unavailable.</p><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @return
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
// Operation is the name of the swagger operation.
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Payload []byte `json:"-"`
}
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type AcceptableLanguageTag ¶
type AcceptableMediaType ¶
type AcceptableToken ¶
type AccessValidationResource ¶
type AccessValidationResource struct {
Uri string `json:"uri,omitempty"`
ApplicationId string `json:"applicationId,omitempty"`
EndpointId string `json:"endpointId,omitempty"`
SessionId string `json:"sessionId,omitempty"`
CredentialType string `json:"credentialType,omitempty"`
Scope []string `json:"scope,omitempty"`
AccountId string `json:"accountId,omitempty"`
ExtensionId string `json:"extensionId,omitempty"`
BrandId string `json:"brandId,omitempty"`
TierId string `json:"tierId,omitempty"`
}
type AccountActiveCallsResponse ¶
type AccountActiveCallsResponse struct {
// List of call log records
Records []CallLogRecord `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type AccountBusinessAddressResource ¶
type AccountBusinessAddressResource struct {
Uri string `json:"uri,omitempty"`
BusinessAddress *ContactAddressInfo `json:"businessAddress,omitempty"`
Company string `json:"company,omitempty"`
Email string `json:"email,omitempty"`
}
type AccountCallLogResponse ¶
type AccountCallLogResponse struct {
// List of call log records
Records []CallLogRecord `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type AccountDeviceUpdate ¶
type AccountDeviceUpdate struct {
// Address for emergency cases. The same emergency address is assigned to all numbers of a single device
EmergencyServiceAddress *EmergencyAddressInfoRequest `json:"emergencyServiceAddress,omitempty"`
}
type AccountLimits ¶
type AccountLimits struct {
// The maximum number of free softphone phone lines per user extension
FreeSoftPhoneLinesPerExtension int32 `json:"freeSoftPhoneLinesPerExtension,omitempty"`
// The maximum number of participants in RingCentral Meeting hosted by this account's user
MeetingSize int32 `json:"meetingSize,omitempty"`
// The maximum number of extensions which can be included in the list of users monitored for Presence
MaxMonitoredExtensionsPerUser int32 `json:"maxMonitoredExtensionsPerUser,omitempty"`
// Maximum length for extension numbers of an account; depends on account type. The default value is 5
MaxExtensionNumberLength int32 `json:"maxExtensionNumberLength,omitempty"`
}
type AccountLimitsResource ¶
type AccountLimitsResource struct {
FreeSoftPhoneLinesPerExtension int32 `json:"freeSoftPhoneLinesPerExtension,omitempty"`
MeetingSize int32 `json:"meetingSize,omitempty"`
MaxMonitoredExtensionsPerUser int32 `json:"maxMonitoredExtensionsPerUser,omitempty"`
MaxFreeDigitalLines int32 `json:"maxFreeDigitalLines,omitempty"`
}
type AccountPhoneNumbers ¶
type AccountPhoneNumbers struct {
// List of account phone numbers
Records []PhoneNumberInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type AccountPresenceEvent ¶
type AccountPresenceEvent struct {
// Internal identifier of an extension. Optional parameter
ExtensionId string `json:"extensionId,omitempty"`
// Telephony presence status. Returned if telephony status is changed.
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// Order number of a notification to state the chronology
Sequence int32 `json:"sequence,omitempty"`
// Aggregated presence status, calculated from a number of sources
PresenceStatus string `json:"presenceStatus,omitempty"`
// User-defined presence status (as previously published by the user)
UserStatus string `json:"userStatus,omitempty"`
// Extended DnD (Do not Disturb) status
DndStatus string `json:"dndStatus,omitempty"`
// If 'True' enables other extensions to see the extension presence status
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
// If 'True' enables the extension user to pick up a monitored line on hold
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
}
type AccountPresenceInfo ¶
type AccountPresenceInfo struct {
// Canonical URI of account presence resource
Uri string `json:"uri,omitempty"`
// List of Prompts
Records []GetPresenceInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type AccountProvisioningApiService ¶
type AccountProvisioningApiService service
func (*AccountProvisioningApiService) BulkAssign ¶
func (a *AccountProvisioningApiService) BulkAssign(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (*http.Response, error)
AccountProvisioningApiService Edit Call Queue Members
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Adds and/or removes multiple call queue members.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (DepartmentBulkAssignResource)
@return
func (*AccountProvisioningApiService) CreateAccount ¶
func (a *AccountProvisioningApiService) CreateAccount(ctx context.Context, body CreateAccountRequest) (GetAccountInfoResponse, *http.Response, error)
AccountProvisioningApiService Create Account
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Creates the account in Initial state.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Accounts</td><td>Managing accounts: creating new accounts, viewing and updating account information, deleting existing accounts</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body JSON body @return GetAccountInfoResponse
func (*AccountProvisioningApiService) CreateDeviceOrder ¶
func (a *AccountProvisioningApiService) CreateDeviceOrder(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (DeviceOrderCreation, *http.Response, error)
AccountProvisioningApiService Create Device Order
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "async" (bool) Specifies whether a client expects order details to be returned or not. If 'True' the server returns a link for tracking order status without waiting for it to be actually created. If 'False' the server returns order details once it is created - it may take some time depending on device count. The default value is 'False' @param "body" (DeviceResource)
@return DeviceOrderCreation
func (*AccountProvisioningApiService) CreateLicensesOrder ¶
func (a *AccountProvisioningApiService) CreateLicensesOrder(ctx context.Context, accountId string, body OrderLicensesRequest) (*http.Response, error)
AccountProvisioningApiService Order Licenses
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Purchases licenses for add-on features: Rooms, Room Connector, Webinar, Live Reports, etc.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return
func (*AccountProvisioningApiService) DeleteLicense ¶
func (a *AccountProvisioningApiService) DeleteLicense(ctx context.Context, accountId string, licenseId string) (*http.Response, error)
AccountProvisioningApiService Delete License
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Removes a license for a specific user. Please note: It is not allowed to remove assigned licenses (only Webinars and Large Meetings can be assigned).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param licenseId Internal identifier of a license @return
func (*AccountProvisioningApiService) DeletePhoneNumberById ¶
func (a *AccountProvisioningApiService) DeletePhoneNumberById(ctx context.Context, phoneNumberId int64, accountId string) (*http.Response, error)
AccountProvisioningApiService Delete Phone Number
<p style='font-style:italic;'>Since 1.0.11 (Release 6.3) </p><p>Deletes a phone number belonging to a certain account/extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param phoneNumberId @param accountId @return
func (*AccountProvisioningApiService) GetBrandInfo ¶
func (a *AccountProvisioningApiService) GetBrandInfo(ctx context.Context, brandId string) (BrandResource, *http.Response, error)
AccountProvisioningApiService Get Brand Info
* @param ctx context.Context for authentication, logging, tracing, etc. @param brandId @return BrandResource
func (*AccountProvisioningApiService) GetDeviceModels ¶
func (a *AccountProvisioningApiService) GetDeviceModels(ctx context.Context) (DeviceModelExtsResource, *http.Response, error)
AccountProvisioningApiService Get Device Catalog * @param ctx context.Context for authentication, logging, tracing, etc. @return DeviceModelExtsResource
func (*AccountProvisioningApiService) GetExtensionFreeNumbers ¶
func (a *AccountProvisioningApiService) GetExtensionFreeNumbers(ctx context.Context, accountId string) (BulkProvisionUnassignedExtensionsResponseResource, *http.Response, error)
AccountProvisioningApiService Get Free Extension Numbers
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @return BulkProvisionUnassignedExtensionsResponseResource
func (*AccountProvisioningApiService) GetPagingOnlyGroupDevices ¶
func (a *AccountProvisioningApiService) GetPagingOnlyGroupDevices(ctx context.Context, accountId string, pagingOnlyGroupId string, localVarOptionals map[string]interface{}) (PagingOnlyGroupDevices, *http.Response, error)
AccountProvisioningApiService Get Paging Only Group Devices
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns the list of paging devices assigned to this group.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param pagingOnlyGroupId @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return PagingOnlyGroupDevices
func (*AccountProvisioningApiService) GetPagingOnlyGroupUsers ¶
func (a *AccountProvisioningApiService) GetPagingOnlyGroupUsers(ctx context.Context, accountId string, pagingOnlyGroupId string, localVarOptionals map[string]interface{}) (PagingOnlyGroupUsers, *http.Response, error)
AccountProvisioningApiService Get Paging Only Group Users
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns the list of users allowed to page this group.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param pagingOnlyGroupId @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return PagingOnlyGroupUsers
func (*AccountProvisioningApiService) GetParkLocationUsers ¶
func (a *AccountProvisioningApiService) GetParkLocationUsers(ctx context.Context, accountId string, parkLocationId string, localVarOptionals map[string]interface{}) (ParkLocationResponse, *http.Response, error)
AccountProvisioningApiService Get Park Location Users
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns the list of users allowed to park and unpark calls to/from the park location extension specified</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param parkLocationId @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return ParkLocationResponse
func (*AccountProvisioningApiService) GetServicePlanInfo ¶
func (a *AccountProvisioningApiService) GetServicePlanInfo(ctx context.Context, servicePlanId string) (ServicePlanResource, *http.Response, error)
AccountProvisioningApiService Get Service Plan
* @param ctx context.Context for authentication, logging, tracing, etc. @param servicePlanId @return ServicePlanResource
func (*AccountProvisioningApiService) ListAccountDevices ¶
func (a *AccountProvisioningApiService) ListAccountDevices(ctx context.Context, accountId string) (GetAccountDevicesResponse, *http.Response, error)
AccountProvisioningApiService Get Account Devices
<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns all the devices for a particular extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return GetAccountDevicesResponse
func (*AccountProvisioningApiService) ListAccountPhoneNumbers ¶
func (a *AccountProvisioningApiService) ListAccountPhoneNumbers(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (AccountPhoneNumbers, *http.Response, error)
AccountProvisioningApiService Get All Company Phone Numbers
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default @param "usageType" ([]string) Usage type of the phone number
@return AccountPhoneNumbers
func (*AccountProvisioningApiService) ListDepartmentMembers ¶
func (a *AccountProvisioningApiService) ListDepartmentMembers(ctx context.Context, accountId string, departmentId int32, localVarOptionals map[string]interface{}) (DepartmentMemberList, *http.Response, error)
AccountProvisioningApiService Get Department Member List
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param departmentId Internal identifier of a Department extension (same as extensionId but only the ID of a department extension is valid) @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return DepartmentMemberList
func (*AccountProvisioningApiService) ListExtensionDevices ¶
func (a *AccountProvisioningApiService) ListExtensionDevices(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetExtensionDevicesResponse, *http.Response, error)
AccountProvisioningApiService Get User Device Info
<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns all the devices for extension(s) by extension ID(s). Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "linePooling" (string) Pooling type of a device
@return GetExtensionDevicesResponse
func (*AccountProvisioningApiService) ListLicenseTypes ¶
func (a *AccountProvisioningApiService) ListLicenseTypes(ctx context.Context) (LicenseTypes, *http.Response, error)
AccountProvisioningApiService Get License Types
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns supported license types.</p><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @return LicenseTypes
func (*AccountProvisioningApiService) ListLicenses ¶
func (a *AccountProvisioningApiService) ListLicenses(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (LicenseList, *http.Response, error)
AccountProvisioningApiService Get License List
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns list of licenses for a specific user.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int64) Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1' @param "perPage" (int64) Indicates the page size (number of items). If not specified, the value is '25' by default @param "typeId" (int64) Internal identifier of a license type. If not specified account licenses of all types are returned
@return LicenseList
func (*AccountProvisioningApiService) ListShippingOptions ¶
func (a *AccountProvisioningApiService) ListShippingOptions(ctx context.Context, localVarOptionals map[string]interface{}) (DictionaryShippingOptions, *http.Response, error)
AccountProvisioningApiService Get Shipping Options
<p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Returns the list of device shipping options with their prices, according to brand, tier, number of ordered devices.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "servicePlanId" (int32) @param "brandId" (int32) @param "quantity" (int32)
@return DictionaryShippingOptions
func (*AccountProvisioningApiService) LoadAccountDevice ¶
func (a *AccountProvisioningApiService) LoadAccountDevice(ctx context.Context, accountId string, deviceId string) (GetDeviceInfoResponse, *http.Response, error)
AccountProvisioningApiService Get Device Info
<p style='font-style:italic;'>Since 1.0.9 (Release 6.1)</p><p>Returns account device(s) by their ID(s).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param deviceId Internal identifier of a device @return GetDeviceInfoResponse
func (*AccountProvisioningApiService) LoadAccountPhoneNumber ¶
func (a *AccountProvisioningApiService) LoadAccountPhoneNumber(ctx context.Context, accountId string, phoneNumberId int32) (PhoneNumberInfo, *http.Response, error)
AccountProvisioningApiService Get Phone Number
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param phoneNumberId Internal identifier of a phone number @return PhoneNumberInfo
func (*AccountProvisioningApiService) LoadDeviceOrder ¶
func (a *AccountProvisioningApiService) LoadDeviceOrder(ctx context.Context, accountId string, orderId int32) (DeviceOrder, *http.Response, error)
AccountProvisioningApiService Get Device Order by ID
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param orderId Internal identifier of an order @return DeviceOrder
func (*AccountProvisioningApiService) LoadLicense ¶
func (a *AccountProvisioningApiService) LoadLicense(ctx context.Context, accountId string, licenseId string) (LicenseInfo, *http.Response, error)
AccountProvisioningApiService Get License
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns license information by its ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param licenseId Internal identifier of a license @return LicenseInfo
func (*AccountProvisioningApiService) LookupPhoneNumbers ¶
func (a *AccountProvisioningApiService) LookupPhoneNumbers(ctx context.Context, localVarOptionals map[string]interface{}) (PhoneNumbers, *http.Response, error)
AccountProvisioningApiService Get Numbers
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the required numbers filtered by criteria.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>NumberLookup</td><td>Looking-up and reserving available phone number</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "areaCode" (int32) Area code of the location @param "countryCode" (string) Two-letter country code, complying with the ISO standard @param "countryId" (string) Internal identifier of a country; '1'- the US; '39' - Canada; '224' - the UK. The default value is '1' @param "exclude" (string) A string of digits (one and more) that should not appear among the last four digits (line part) of the phone numbers that will be returned. It is possible to specify severalT?exclude parameters. If specified, it is taken into account in all returned phone numbers both in the phone numbers satisfying to parameters of lookup and in alternative phone numbers (in case when extendedSearch is specified) @param "extendedSearch" (bool) If the value is 'False', then the returned numbers exactly correspond to the specified NXX, NPA and LINE or countryCode, areaCode and numberPattern parameters. If the value is 'True', then the resulting numbers are ranked and returned with the rank attribute values (1-10). The default value is 'False' @param "line" (string) LINE pattern for vanity or wildcard search. Digits, Latin characters and asterisks are allowed (usually 4 characters) @param "numberPattern" (string) Phone number pattern (for wildcard or vanity search). For NANP countries (US, Canada) is concatenation of nxx (the first three digits) and line. If the first three characters are specified as not digits (e.g. 5** or CAT) then parameter extendedSearch will be ignored. @param "nxx" (string) NXX pattern for vanity or wildcard search. Digits, Latin characters and asterisks are allowed (usually 3 characters) @param "npa" (string) Area code (mandatory). For example, 800, 844, 855, 866, 877, 888 for North America; and 647 for Canada @param "paymentType" ([]string) Payment type. Default is 'Local' (it should correlate with the npa provided) @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '10' by default @param "providerId" (int32) Internal identifier of a phone number provider. Supported if brand is specified. If specified, area code and nxx are optional @param "smsEnabled" (bool) Specifies if SMS activation is available for the number. If specified, it is taken into account in all returned phone numbers both in the phone numbers satisfying to parameters of lookup and in alternative phone numbers (in case when extendedSearch is specified). If not specified, the value is null.
@return PhoneNumbers
func (*AccountProvisioningApiService) ParsePhoneNumber ¶
func (a *AccountProvisioningApiService) ParsePhoneNumber(ctx context.Context, body ParsePhoneNumberRequest, localVarOptionals map[string]interface{}) (ParsePhoneNumberResponse, *http.Response, error)
AccountProvisioningApiService Parse Phone Number
<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns one or more parsed and/or formatted phone numbers that are passed as a string.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body JSON body @param optional (nil or map[string]interface{}) with one or more of:
@param "homeCountry" (string) Internal identifier of a home country. The default value is ISO code (ISO 3166) of the user's home country or brand country, if the user is undefined @param "nationalAsPriority" (bool) The default value is 'False'. If 'True', the numbers that are closer to the home country are given higher priority
@return ParsePhoneNumberResponse
func (*AccountProvisioningApiService) ProvisionPhoneNumber ¶
func (a *AccountProvisioningApiService) ProvisionPhoneNumber(ctx context.Context, accountId string, body ProvisionPhoneNumberRequest) (PhoneNumberInfo, *http.Response, error)
AccountProvisioningApiService Provision Phone Numbers
<p style='font-style:italic;'>Since 1.0.11 (Release 6.3)</p><p>Provisions a phone number.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return PhoneNumberInfo
func (*AccountProvisioningApiService) ReassignPhoneNumberById ¶
func (a *AccountProvisioningApiService) ReassignPhoneNumberById(ctx context.Context, phoneNumberId int64, accountId string, localVarOptionals map[string]interface{}) (PhoneNumberResource, *http.Response, error)
AccountProvisioningApiService Reassign Phone Number
<p style='font-style:italic;'>Since 1.0.11 (Release 6.3) </p><p>Reassigns the phone number belonging to a certain account/extension. This call reassigns a phone number, currently belonging to some other extension or company (Auto-Receptionist). Please note: numbers with certain usage types 'MainCompanyNumber', 'AdditionalCompanyNumber' and 'CompanyFaxNumber' cannot be reassigned</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param phoneNumberId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (ReassignPhoneNumberResource)
@return PhoneNumberResource
func (*AccountProvisioningApiService) ReservePhoneNumbers ¶
func (a *AccountProvisioningApiService) ReservePhoneNumbers(ctx context.Context, body NumberPoolPhoneNumberRequest) (ReservePhoneNumbersRecordsResource, *http.Response, error)
AccountProvisioningApiService Reserve/ Un-reserve Numbers
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>NumberLookup</td><td>Looking-up and reserving available phone number</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body JSON body @return ReservePhoneNumbersRecordsResource
func (*AccountProvisioningApiService) UpdateDevice ¶
func (a *AccountProvisioningApiService) UpdateDevice(ctx context.Context, accountId string, deviceId string, body AccountDeviceUpdate) (DeviceResource, *http.Response, error)
AccountProvisioningApiService Update Device
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param deviceId @param body @return DeviceResource
func (*AccountProvisioningApiService) UpdatePagingOnlyGroupUsersAndDevices ¶
func (a *AccountProvisioningApiService) UpdatePagingOnlyGroupUsersAndDevices(ctx context.Context, accountId string, pagingOnlyGroupId string, localVarOptionals map[string]interface{}) (*http.Response, error)
AccountProvisioningApiService Edit Paging Group Users & Devices
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Adds and/or removes paging group users and devices.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param pagingOnlyGroupId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (EditPagingGroupRequest)
@return
func (*AccountProvisioningApiService) UpdateParkLocationUsers ¶
func (a *AccountProvisioningApiService) UpdateParkLocationUsers(ctx context.Context, accountId string, parkLocationId string, localVarOptionals map[string]interface{}) (*http.Response, error)
AccountProvisioningApiService Adds and/or removes park location users
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Adds and/or removes park location users.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param parkLocationId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (EditParkLocationRequest)
@return
type AccountResource ¶
type AccountResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
ServiceInfo *AccountServiceInfoResource `json:"serviceInfo,omitempty"`
PartnerId string `json:"partnerId,omitempty"`
Operator *ExtensionResource `json:"operator"`
MainNumber string `json:"mainNumber,omitempty"`
ReservationId string `json:"reservationId,omitempty"`
SessionId string `json:"sessionId,omitempty"`
Status string `json:"status,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
SignupInfo *SignupInfoResource `json:"signupInfo,omitempty"`
SetupWizardState string `json:"setupWizardState,omitempty"`
TesterFlags []string `json:"testerFlags,omitempty"`
PromotionCode string `json:"promotionCode,omitempty"`
}
type AccountServiceInfo ¶
type AccountServiceInfo struct {
// Canonical URI of the account Service Info resource
Uri string `json:"uri,omitempty"`
// Account Service Plan name
ServicePlanName string `json:"servicePlanName,omitempty"`
// Information on account brand
Brand *BrandInfo `json:"brand,omitempty"`
// Information on account service plan
ServicePlan *ServicePlanInfo `json:"servicePlan,omitempty"`
// Information on account billing plan
BillingPlan *BillingPlanInfo `json:"billingPlan,omitempty"`
// Service features information, see Service Feature List
ServiceFeatures []ServiceFeatureInfo `json:"serviceFeatures,omitempty"`
// Limits which are effective for an account
Limits *AccountLimits `json:"limits,omitempty"`
}
type AccountServiceInfoResource ¶
type AccountServiceInfoResource struct {
Uri string `json:"uri,omitempty"`
ServicePlanName string `json:"servicePlanName,omitempty"`
Brand *Brand `json:"brand,omitempty"`
ServicePlan *ServicePlan `json:"servicePlan,omitempty"`
TargetServicePlan *ServicePlan `json:"targetServicePlan,omitempty"`
BillingPlan *BillingPlanResource `json:"billingPlan,omitempty"`
ServiceFeatures []ServiceFeatureValue `json:"serviceFeatures,omitempty"`
Limits *AccountLimitsResource `json:"limits,omitempty"`
}
type AccountSignupInfoRequest ¶
type AccountSignupInfoRequest struct {
// Specifies whether marketing information is sent to the user
MarketingAccepted bool `json:"marketingAccepted,omitempty"`
}
type AccountStatusInfo ¶
type AccountStatusInfo struct {
// A free-form user comment, describing the status change reason
Comment string `json:"comment,omitempty"`
// Type of suspension
Reason string `json:"reason,omitempty"`
// Date until which the account will get deleted. The default value is 30 days since current date
Till string `json:"till,omitempty"`
}
type ActiveCallInfo ¶
type ActiveCallInfo struct {
// Internal identifier of a call
Id string `json:"id,omitempty"`
// Call direction
Direction string `json:"direction,omitempty"`
// Phone number or extension number of a caller
From string `json:"from,omitempty"`
// Phone number or extension number of a callee
To string `json:"to,omitempty"`
// Telephony call status
TelephonyStatus string `json:"telephonyStatus,omitempty"`
SipData *DetailedCallInfo `json:"sipData,omitempty"`
// Internal identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Type of call termination. Supported for calls in 'NoCall' status. If the returned termination type is 'intermediate' it means the call is not actually ended, the connection is established on one of the devices
TerminationType string `json:"terminationType,omitempty"`
}
type ActiveCallInfoWithoutSip ¶
type ActiveCallInfoWithoutSip struct {
// Internal identifier of a call
Id string `json:"id,omitempty"`
// Call direction
Direction string `json:"direction,omitempty"`
// Phone number or extension number of a caller
From string `json:"from,omitempty"`
// Phone number or extension number of a callee
To string `json:"to,omitempty"`
// Telephony call status
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// Internal identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Type of call termination. Supported for calls in 'NoCall' status. If the returned termination type is 'intermediate' it means the call is not actually ended, the connection is established on one of the devices
TerminationType string `json:"terminationType,omitempty"`
}
type ActivePermissionResource ¶
type ActivePermissionResource struct {
Permission *PermissionIdResource `json:"permission,omitempty"`
EffectiveRole *RoleIdResource `json:"effectiveRole,omitempty"`
Scopes []string `json:"scopes,omitempty"`
}
type AdbPresenceInfoResource ¶
type AdbPresenceInfoResource struct {
AccountId string `json:"accountId,omitempty"`
ExtensionId string `json:"extensionId,omitempty"`
ExtensionType string `json:"extensionType,omitempty"`
ExtensionStatus string `json:"extensionStatus,omitempty"`
DndStatus string `json:"dndStatus,omitempty"`
UserStatus string `json:"userStatus,omitempty"`
Message string `json:"message,omitempty"`
AgentStatus string `json:"agentStatus,omitempty"`
ExtensionNumber string `json:"extensionNumber,omitempty"`
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
PresenceFeatureAvailable bool `json:"presenceFeatureAvailable,omitempty"`
DndFeatureAvailable bool `json:"dndFeatureAvailable,omitempty"`
}
type AddressBookResource ¶
type AddressBookResource struct {
Uri string `json:"uri,omitempty"`
Contacts *ResourceLink `json:"contacts,omitempty"`
Groups *ResourceLink `json:"groups,omitempty"`
}
type AddressBookSync ¶
type AddressBookSync struct {
Uri string `json:"uri,omitempty"`
Records []PersonalContactResource `json:"records,omitempty"`
SyncInfo *SyncInfo `json:"syncInfo,omitempty"`
NextPageId int64 `json:"nextPageId,omitempty"`
NextPageUri string `json:"nextPageUri,omitempty"`
}
type AddressFormCountryResource ¶
type AddressFormCountryResource struct {
Uri string `json:"uri,omitempty"`
Country *CountryResource `json:"country,omitempty"`
Attributes []FormFieldResource `json:"attributes,omitempty"`
EmergencyNumber string `json:"emergencyNumber,omitempty"`
Default_ bool `json:"default,omitempty"`
}
type AddressFormResource ¶
type AddressFormResource struct {
Uri string `json:"uri,omitempty"`
Records []AddressFormCountryResource `json:"records,omitempty"`
}
type AddressInfo ¶
type AddressInfo struct {
// User street address
StreetAddress string `json:"streetAddress,omitempty"`
// User city
Locality string `json:"locality,omitempty"`
// User state/region
Region string `json:"region,omitempty"`
// User postal code
PostalCode string `json:"postalCode,omitempty"`
// User country
Country string `json:"country,omitempty"`
// Address type
Type_ string `json:"type,omitempty"`
}
type AddressInfoRequest ¶
type AddressInfoRequest struct {
// User street address
StreetAddress string `json:"streetAddress,omitempty"`
// User city
Locality string `json:"locality,omitempty"`
// User state/region
Region string `json:"region,omitempty"`
// User postal code
PostalCode string `json:"postalCode,omitempty"`
// User country
Country string `json:"country,omitempty"`
// Address type
Type_ string `json:"type,omitempty"`
}
type AdminNoticeResource ¶
type AnsweringForwardingResource ¶
type AnsweringForwardingResource struct {
NotifyMySoftPhones bool `json:"notifyMySoftPhones,omitempty"`
NotifyAdminSoftPhones bool `json:"notifyAdminSoftPhones,omitempty"`
SoftPhonesRingCount int32 `json:"softPhonesRingCount,omitempty"`
RingingMode string `json:"ringingMode,omitempty"`
Rules []AnsweringForwardingRuleResource `json:"rules,omitempty"`
}
type AnsweringForwardingRuleResource ¶
type AnsweringForwardingRuleResource struct {
Index int32 `json:"index,omitempty"`
RingCount int32 `json:"ringCount,omitempty"`
ForwardingNumbers []ForwardingNumberResource `json:"forwardingNumbers,omitempty"`
}
type AnsweringRuleInfo ¶
type AnsweringRuleInfo struct {
// Canonical URI to the answering rule resource
Uri string `json:"uri,omitempty"`
// Internal identifier of an answering rule
Id string `json:"id,omitempty"`
// Type of an answering rule
Type_ string `json:"type,omitempty"`
// Name of an answering rule specified by user
Name string `json:"name,omitempty"`
// Specifies if an answering rule is active or inactive
Enabled bool `json:"enabled,omitempty"`
// Schedule when an answering rule should be applied
Schedule *ScheduleInfo `json:"schedule,omitempty"`
// Answering rules are applied when calling to selected number(s)
CalledNumbers []CalledNumberInfo `json:"calledNumbers,omitempty"`
// Answering rules are applied when calls are received from specified caller(s)
Callers []CallersInfo `json:"callers,omitempty"`
// Specifies how incoming calls are forwarded
CallHandlingAction string `json:"callHandlingAction,omitempty"`
// Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded
Forwarding *ForwardingInfo `json:"forwarding,omitempty"`
// Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' is specified in 'callHandlingAction'
UnconditionalForwarding *UnconditionalForwardingInfo `json:"unconditionalForwarding,omitempty"`
// Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action
Queue *QueueInfo `json:"queue,omitempty"`
// Transfer settings applied for department (call queue) extension type, with 'TransferToExtension' call handling action
Transfer *TransferredExtensionInfo `json:"transfer,omitempty"`
// Specifies whether to take a voicemail and who should do it
Voicemail *VoicemailInfo `json:"voicemail,omitempty"`
// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
Greetings []GreetingInfo `json:"greetings,omitempty"`
}
type AnsweringRuleResource ¶
type AnsweringRuleResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
Type_ string `json:"type,omitempty"`
Name string `json:"name,omitempty"`
Enabled bool `json:"enabled,omitempty"`
Schedule *ScheduleResource `json:"schedule,omitempty"`
Callers []CallerResource `json:"callers,omitempty"`
CalledNumbers []PhoneNumberResource `json:"calledNumbers,omitempty"`
CallHandlingAction string `json:"callHandlingAction,omitempty"`
Forwarding *AnsweringForwardingResource `json:"forwarding,omitempty"`
UnconditionalForwarding *UnconditionalForwardingResource `json:"unconditionalForwarding,omitempty"`
Voicemail *VoicemailSettingsResource `json:"voicemail,omitempty"`
}
type AnsweringRulesResource ¶
type AnsweringRulesResource struct {
Uri string `json:"uri,omitempty"`
Records []AnsweringRuleResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type ApiVersionResource ¶
type ApnsInfo ¶
type ApnsInfo struct {
// Notification priority data
Aps *ApsInfo `json:"aps,omitempty"`
}
type ApplicationInfoResource ¶
type ApplicationInfoResource struct {
ClientId string `json:"clientId,omitempty"`
Application *ApplicationResource `json:"application,omitempty"`
}
type ApplicationResource ¶
type ApplicationResource struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Organization *OrganizationResource `json:"organization,omitempty"`
Scope string `json:"scope,omitempty"`
PlatformType string `json:"platformType,omitempty"`
Permissions []PermissionResource `json:"permissions,omitempty"`
}
type ApplicationSettingsApiService ¶
type ApplicationSettingsApiService service
func (*ApplicationSettingsApiService) CreateSipRegistration ¶
func (a *ApplicationSettingsApiService) CreateSipRegistration(ctx context.Context, body CreateSipRegistrationRequest) (CreateSipRegistrationResponse, *http.Response, error)
ApplicationSettingsApiService Register SIP Device
<p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Creates SIP registration of a device/application (WebPhone, Mobile, softphone)</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>VoipCalling</td><td>Registering as VoIP device and making VoIP calls</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body JSON body @return CreateSipRegistrationResponse
func (*ApplicationSettingsApiService) DeleteCustomData ¶
func (a *ApplicationSettingsApiService) DeleteCustomData(ctx context.Context, key int32) (*http.Response, error)
ApplicationSettingsApiService Delete Custom Data
<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p>Deletes custom data by its ID.<p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param key Custom data access key. The number of unique custom data keys is limited to 100 keys per extension, summarized for all the applications. For example, if you have created 50 custom data keys under the Android mobile client application for the particular extension, then logged in the iOS application and created another 50 keys, the web client application won't be allowed to create any custom data key for that extension @return
func (*ApplicationSettingsApiService) GetAttachment ¶
func (a *ApplicationSettingsApiService) GetAttachment(ctx context.Context, key string, localVarOptionals map[string]interface{}) (*http.Response, error)
ApplicationSettingsApiService Get Custom Data Attachment
<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p>Returns custom data attachment by ID.<p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param key @param optional (nil or map[string]interface{}) with one or more of:
@param "range_" (string)
@return
func (*ApplicationSettingsApiService) GetCustomData ¶
func (a *ApplicationSettingsApiService) GetCustomData(ctx context.Context, key int32) (CustomDataResource, *http.Response, error)
ApplicationSettingsApiService Get Custom Data
<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p>Returns custom data of a logged-in extension.<p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param key Custom data access key. The number of unique custom data keys is limited to 100 keys per extension, summarized for all the applications. For example, if you have created 50 custom data keys under the Android mobile client application for the particular extension, then logged in the iOS application and created another 50 keys, the web client application won't be allowed to create any custom data key for that extension @return CustomDataResource
func (*ApplicationSettingsApiService) GetInProductMessage ¶
func (a *ApplicationSettingsApiService) GetInProductMessage(ctx context.Context, bannerType string) (InProductMessages, *http.Response, error)
ApplicationSettingsApiService Get In Product Message List
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns list of in-product messages: learderboards, announcements, etc. Please note: Banners are set on Marketing/Messages tab in Admin Web.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadClientInfo</td><td>Viewing of client application registered attributes and additional helper information (external URLs, hints, etc.)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param bannerType @return InProductMessages
func (*ApplicationSettingsApiService) GetSpecialNumberRules_ ¶
func (a *ApplicationSettingsApiService) GetSpecialNumberRules_(ctx context.Context, localVarOptionals map[string]interface{}) (NavigationInfo, *http.Response, error)
ApplicationSettingsApiService Get Special Numbers Calling Limitation
<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns available special numbers and rules of processing, depending on account brand and application type (mobile/softphone/web/other). A special number rule for each number includes limitations on the options: VoIP, RingOut, outgoing SMS and Fax. If the option is disallowed, the server returns the reason code and text description.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadClientInfo</td><td>Viewing of client application registered attributes and additional helper information (external URLs, hints, etc.)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "countryId" (int32) Internal identifier of a country. If not specified, the response is returned for the brand country
@return NavigationInfo
func (*ApplicationSettingsApiService) LoadClientInfo ¶
func (a *ApplicationSettingsApiService) LoadClientInfo(ctx context.Context) (ClientApiResponse, *http.Response, error)
ApplicationSettingsApiService Get App Settings
<p style='font-style:italic;'>Since 1.0.11 (Release 6.3)</p><p>Returns client application data: general info, specific provisioning parameters, hints, etc.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadClientInfo</td><td>Viewing of client application registered attributes and additional helper information (external URLs, hints, etc.)</td></tr></tbody></table> * @param ctx context.Context for authentication, logging, tracing, etc. @return ClientApiResponse
func (*ApplicationSettingsApiService) LoadPhoneData ¶
ApplicationSettingsApiService Get Phonedata
<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Returns configuration settings for phone number parser in a phonedata.xml file.</p><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @return
func (*ApplicationSettingsApiService) UpdateCustomData ¶
func (a *ApplicationSettingsApiService) UpdateCustomData(ctx context.Context, key int32, body CustomDataRequest) (CustomDataApiResponse, *http.Response, error)
ApplicationSettingsApiService Create/Update Custom Data
<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p><p>Creates or updates custom data for the extension that is currently logged in.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCustomData</td><td>Viewing and updating client custom data (key-value)</td></tr></tbody></table> * @param ctx context.Context for authentication, logging, tracing, etc. @param key Custom data access key. The number of unique custom data keys is limited to 100 keys per extension, summarized for all the applications. For example, if you have created 50 custom data keys under the Android mobile client application for the particular extension, then logged in the iOS application and created another 50 keys, the web client application won't be allowed to create any custom data key for that extension @param body JSON body @return CustomDataApiResponse
type ApsInfo ¶
type ApsInfo struct {
// If the value is '1' then notification is turned on even if the application is in background
ContentAvailable int32 `json:"content-available,omitempty"`
}
type AssignedRoleResource ¶
type AssignedRolesResource ¶
type AssignedRolesResource struct {
Uri string `json:"uri,omitempty"`
Records []AssignedRoleResource `json:"records,omitempty"`
}
type AttachmentInfo ¶
type AudioPromptInfo ¶
type AuthProfileCheckResource ¶
type AuthProfileCheckResource struct {
Uri string `json:"uri,omitempty"`
Successful bool `json:"successful,omitempty"`
Details *ActivePermissionResource `json:"details,omitempty"`
}
type AuthProfileResource ¶
type AuthProfileResource struct {
Uri string `json:"uri,omitempty"`
Permissions []ActivePermissionResource `json:"permissions,omitempty"`
}
type AuthenticationScheme ¶
type AuthenticationSchemes ¶
type AuthenticationSchemes struct {
AuthenticationSchemes []AuthenticationScheme `json:"authenticationSchemes,omitempty"`
}
type BannerInfo ¶
type BannerInfo struct {
// Type of a banner
BannerType string `json:"bannerType,omitempty"`
// Custom text description of a banner
Description string `json:"description,omitempty"`
// HTML formatted message content
Content string `json:"content,omitempty"`
// Datetime of message expiration in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
ExpirationDate string `json:"expirationDate,omitempty"`
}
type BasicAuth ¶
type BasicAuth struct {
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
}
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type BillingPlanInfo ¶
type BillingPlanInfo struct {
// Internal identifier of a billing plan
Id string `json:"id,omitempty"`
// Billing plan name
Name string `json:"name,omitempty"`
// Duration period
DurationUnit string `json:"durationUnit,omitempty"`
// Number of duration units
Duration string `json:"duration,omitempty"`
// Billing plan type
Type_ string `json:"type,omitempty"`
}
type BillingPlanResource ¶
type BillingStatementResource ¶
type BillingStatementResource struct {
Fees []FeeChargeResource `json:"fees,omitempty"`
Charges []FeeChargeResource `json:"charges,omitempty"`
TotalCharges float32 `json:"totalCharges,omitempty"`
TotalFees float32 `json:"totalFees,omitempty"`
Subtotal float32 `json:"subtotal,omitempty"`
Currency string `json:"currency,omitempty"`
}
type BlacklistEntriesResource ¶
type BlacklistEntriesResource struct {
Uri string `json:"uri,omitempty"`
Records []BlacklistEntryResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type BlacklistEntryResource ¶
type BlockedNumberInfo ¶
type BlockedNumberInfo struct {
// Internal identifier of a blocked number
Id string `json:"id,omitempty"`
// Canonical URI of a blocked number
Uri string `json:"uri,omitempty"`
// Name assigned by a user to a blocked phone number
Name string `json:"name,omitempty"`
// Phone number to be blocked
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type BlockedNumbersList ¶
type BlockedNumbersList struct {
// List of blocked phone numbers
Records []BlockedNumberInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type BotExtensionCreation ¶
type BotExtensionCreation struct {
// Link to a bot extension resource
Uri string `json:"uri,omitempty"`
// Internal identifier of a bot extension
Id string `json:"id,omitempty"`
// Bot extension number
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Bot name (equals to extension first name)
Name string `json:"name,omitempty"`
// Identifier key of a bot application
ApplicationKey string `json:"applicationKey,omitempty"`
// User extension identifier
CreatorId string `json:"creatorId,omitempty"`
}
type Brand ¶
type Brand struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
HomeCountry *HomeCountry `json:"homeCountry,omitempty"`
}
type BrandInfo ¶
type BrandInfo struct {
// Internal identifier of a brand
Id string `json:"id,omitempty"`
// Brand name, for example RingCentral UK , ClearFax
Name string `json:"name,omitempty"`
// Home country information
HomeCountry *CountryInfo `json:"homeCountry,omitempty"`
}
type BrandResource ¶
type BrandResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
HomeCountry *CountryResource `json:"homeCountry,omitempty"`
Currency *Currency `json:"currency,omitempty"`
}
type BulkAssignItem ¶
type BulkProvisionExtensionResource ¶
type BulkProvisionExtensionResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
PartnerId string `json:"partnerId,omitempty"`
ExtensionNumber string `json:"extensionNumber,omitempty"`
LoginName string `json:"loginName,omitempty"`
Contact *ContactInfo `json:"contact,omitempty"`
References []Reference `json:"references,omitempty"`
Name string `json:"name,omitempty"`
Type_ string `json:"type,omitempty"`
Status string `json:"status,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Departments []DepartmentResource `json:"departments,omitempty"`
ServiceFeatures []ServiceFeatureValue `json:"serviceFeatures,omitempty"`
RegionalSettings *RegionalSettingsResource `json:"regionalSettings,omitempty"`
SetupWizardState string `json:"setupWizardState,omitempty"`
Permissions *ExtensionPermissionsResource `json:"permissions,omitempty"`
Password string `json:"password,omitempty"`
IvrPin string `json:"ivrPin,omitempty"`
ProfileImage *ProfileImageResource `json:"profileImage,omitempty"`
}
type BulkProvisionUnassignedExtensionsRequestResource ¶
type BulkProvisionUnassignedExtensionsRequestResource struct {
Items []BulkProvisionExtensionResource `json:"items,omitempty"`
}
type BulkProvisionUnassignedExtensionsResponseResource ¶
type BulkProvisionUnassignedExtensionsResponseResource struct {
Items []ExtensionAssignmentResult `json:"items,omitempty"`
}
type BulkRoleAssignResource ¶
type BulkSupported ¶
type BusinessAddressInfo ¶
type BusinessAddressInfo struct {
// Name of a country
Country string `json:"country,omitempty"`
// Name of a state/province
State string `json:"state,omitempty"`
// Name of a city
City string `json:"city,omitempty"`
// Street address
Street string `json:"street,omitempty"`
// Zip code
Zip string `json:"zip,omitempty"`
}
type BusinessHoursResource ¶
type BusinessHoursResource struct {
Uri string `json:"uri,omitempty"`
Schedule *ScheduleResource `json:"schedule,omitempty"`
}
type CallHandlingSettingsApiService ¶
type CallHandlingSettingsApiService service
func (*CallHandlingSettingsApiService) BlockNumber ¶
func (a *CallHandlingSettingsApiService) BlockNumber(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (BlockedNumberInfo, *http.Response, error)
CallHandlingSettingsApiService Add Blocked Numbers
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (BlockedNumberInfo)
@return BlockedNumberInfo
func (*CallHandlingSettingsApiService) CreateAnsweringRuleInfo ¶
func (a *CallHandlingSettingsApiService) CreateAnsweringRuleInfo(ctx context.Context, accountId string, extensionId string, body CreateAnsweringRuleRequest) (AnsweringRuleInfo, *http.Response, error)
CallHandlingSettingsApiService Create Custom Call Handling Rules
<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Creates a custom answering rule for a particular caller ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return AnsweringRuleInfo
func (*CallHandlingSettingsApiService) CreateCompanyAnsweringRuleInfo ¶
func (a *CallHandlingSettingsApiService) CreateCompanyAnsweringRuleInfo(ctx context.Context, accountId string, body CompanyAnsweringRuleRequest) (CompanyAnsweringRuleInfo, *http.Response, error)
CallHandlingSettingsApiService Create Company Call Handling Rule
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Creates a company answering rule for a particular caller ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return CompanyAnsweringRuleInfo
func (*CallHandlingSettingsApiService) CreateExtensionForwardingNumber ¶
func (a *CallHandlingSettingsApiService) CreateExtensionForwardingNumber(ctx context.Context, accountId string, extensionId string, body CreateForwardingNumberRequest) (ForwardingNumberInfo, *http.Response, error)
CallHandlingSettingsApiService Create Forwarding Numbers
<p style='font-style:italic;'>Since 1.0.12 (Release 6.4)</p><p>Adds a new forwarding number to the forwarding number list.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return ForwardingNumberInfo
func (*CallHandlingSettingsApiService) CreateGreeting ¶
func (a *CallHandlingSettingsApiService) CreateGreeting(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (CustomCompanyGreetingInfo, *http.Response, error)
CallHandlingSettingsApiService Create User Custom Greeting
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (CustomGreetingRequest)
@return CustomCompanyGreetingInfo
func (*CallHandlingSettingsApiService) CreateIVRMenu ¶
func (a *CallHandlingSettingsApiService) CreateIVRMenu(ctx context.Context, accountId string, body IvrMenuInfo) (IvrMenuInfo, *http.Response, error)
CallHandlingSettingsApiService Create IVR Menu
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Creates a company IVR menu</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param body JSON body @return IvrMenuInfo
func (*CallHandlingSettingsApiService) CreatePrompts ¶
func (a *CallHandlingSettingsApiService) CreatePrompts(ctx context.Context, accountId string, localVarFile *os.File, localVarOptionals map[string]interface{}) (PromptInfo, *http.Response, error)
CallHandlingSettingsApiService Create IVR Prompt
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Creates an IVR prompt.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param attachment Audio file that will be used as a prompt. Attachment cannot be empty, only audio files are supported @param optional (nil or map[string]interface{}) with one or more of:
@param "name" (string) Description of file contents.
@return PromptInfo
func (*CallHandlingSettingsApiService) DeleteAnsweringRule ¶
func (a *CallHandlingSettingsApiService) DeleteAnsweringRule(ctx context.Context, accountId string, extensionId string, ruleId string) (*http.Response, error)
CallHandlingSettingsApiService Delete Call Handling Rule
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ruleId Internal identifier of an answering rule @return
func (*CallHandlingSettingsApiService) DeleteExtensionForwardingNumber ¶
func (a *CallHandlingSettingsApiService) DeleteExtensionForwardingNumber(ctx context.Context, accountId string, extensionId string, forwardingNumberId string) (*http.Response, error)
CallHandlingSettingsApiService Delete Forwarding Number
<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Deletes a forwarding number from the forwarding number list by its ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param forwardingNumberId Internal identifier of a forwarding number @return
func (*CallHandlingSettingsApiService) DeleteIVRPrompt ¶
func (a *CallHandlingSettingsApiService) DeleteIVRPrompt(ctx context.Context, accountId string, promptId string) (*http.Response, error)
CallHandlingSettingsApiService Delete IVR Prompt
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Deletes an IVR prompt by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param promptId @return
func (*CallHandlingSettingsApiService) GetCompanyGreeting ¶
func (a *CallHandlingSettingsApiService) GetCompanyGreeting(ctx context.Context, accountId string, body CustomCompanyGreetingRequest) (CustomCompanyGreetingInfo, *http.Response, error)
CallHandlingSettingsApiService Create Custom Company Greeting
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return CustomCompanyGreetingInfo
func (*CallHandlingSettingsApiService) GetForwardingNumber ¶
func (a *CallHandlingSettingsApiService) GetForwardingNumber(ctx context.Context, forwardingNumberId string, extensionId string, accountId string) (ForwardingNumberResource, *http.Response, error)
CallHandlingSettingsApiService Get Forwarding Number
* @param ctx context.Context for authentication, logging, tracing, etc. @param forwardingNumberId @param extensionId @param accountId @return ForwardingNumberResource
func (*CallHandlingSettingsApiService) GetGreeting ¶
func (a *CallHandlingSettingsApiService) GetGreeting(ctx context.Context, greetingId string) (DictionaryGreetingInfo, *http.Response, error)
CallHandlingSettingsApiService Get Greeting Info
<p style='font-style:italic;'>Since 8.2 (Release 1.0.26)</p><p>Returns a standard greeting by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>View Greetings</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param greetingId @return DictionaryGreetingInfo
func (*CallHandlingSettingsApiService) GetGreetingByID ¶
func (a *CallHandlingSettingsApiService) GetGreetingByID(ctx context.Context, accountId string, extensionId string, greetingId int32) (CustomCompanyGreetingInfo, *http.Response, error)
CallHandlingSettingsApiService Get Custom Greeting Info
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param greetingId @return CustomCompanyGreetingInfo
func (*CallHandlingSettingsApiService) GetGreetings ¶
func (a *CallHandlingSettingsApiService) GetGreetings(ctx context.Context, localVarOptionals map[string]interface{}) (DictionaryGreetingList, *http.Response, error)
CallHandlingSettingsApiService Get Standard Greetings
<p style='font-style:italic;'>Since 8.2 (Release 1.0.26)</p><p>Returns a list of predefined standard greetings. Please note: Custom greetings recorded by user are not returned in response to this request. See Get Extension Custom Greetings.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>View Greetings</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default @param "type_" (string) Type of a greeting, specifying the case when the greeting is played @param "usageType" (string) Usage type of a greeting, specifying if the greeting is applied for user extension or department extension
@return DictionaryGreetingList
func (*CallHandlingSettingsApiService) GetIVRMenuById ¶
func (a *CallHandlingSettingsApiService) GetIVRMenuById(ctx context.Context, accountId string, ivrMenuId string) (IvrMenuInfo, *http.Response, error)
CallHandlingSettingsApiService Get IVR Menu
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns a company IVR menu by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param ivrMenuId @return IvrMenuInfo
func (*CallHandlingSettingsApiService) GetIVRPrompt ¶
func (a *CallHandlingSettingsApiService) GetIVRPrompt(ctx context.Context, accountId string, promptId string) (PromptInfo, *http.Response, error)
CallHandlingSettingsApiService Get IVR Prompt
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns an IVR prompt by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param promptId @return PromptInfo
func (*CallHandlingSettingsApiService) GetIVRPromptContent ¶
func (a *CallHandlingSettingsApiService) GetIVRPromptContent(ctx context.Context, accountId string, promptId string) (*http.Response, error)
CallHandlingSettingsApiService Get IVR Prompt Content
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns media content of an IVR prompt by its ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param promptId @return
func (*CallHandlingSettingsApiService) GetIVRPrompts ¶
func (a *CallHandlingSettingsApiService) GetIVRPrompts(ctx context.Context, accountId string) (IvrPrompts, *http.Response, error)
CallHandlingSettingsApiService Get IVR Prompts
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns a list of IVR prompts.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @return IvrPrompts
func (*CallHandlingSettingsApiService) ListBlockedNumbers ¶
func (a *CallHandlingSettingsApiService) ListBlockedNumbers(ctx context.Context, accountId string, extensionId string) (BlockedNumbersList, *http.Response, error)
CallHandlingSettingsApiService Get Blocked Numbers
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return BlockedNumbersList
func (*CallHandlingSettingsApiService) ListCompanyAnsweringRule ¶
func (a *CallHandlingSettingsApiService) ListCompanyAnsweringRule(ctx context.Context, accountId string) (CompanyAnsweringRuleList, *http.Response, error)
CallHandlingSettingsApiService Get Company Call Handling Rules
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a list of company answering rules.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return CompanyAnsweringRuleList
func (*CallHandlingSettingsApiService) ListExtensionForwardingNumbers ¶
func (a *CallHandlingSettingsApiService) ListExtensionForwardingNumbers(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetExtensionForwardingNumberListResponse, *http.Response, error)
CallHandlingSettingsApiService Get Forwarding Numbers
<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Returns the list of extension phone numbers used for call forwarding and call flip. The returned list contains all the extension phone numbers that are used for call forwarding and call flip.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return GetExtensionForwardingNumberListResponse
func (*CallHandlingSettingsApiService) LoadAnsweringRuleInfo ¶
func (a *CallHandlingSettingsApiService) LoadAnsweringRuleInfo(ctx context.Context, accountId string, extensionId string, ruleId string) (AnsweringRuleInfo, *http.Response, error)
CallHandlingSettingsApiService Get Call Handling Rule
<p style='font-style:italic;'>Since 1.0.15 (Release 7.0)</p><p>Returns an answering rule by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ruleId Internal identifier of an answering rule. The value can be standard digital ID or specific ID - either business-hours-rule or after-hours-rule @return AnsweringRuleInfo
func (*CallHandlingSettingsApiService) LoadAnsweringRulesList ¶
func (a *CallHandlingSettingsApiService) LoadAnsweringRulesList(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (*http.Response, error)
CallHandlingSettingsApiService Get Call Handling Rules
<p style='font-style:italic;'>Since 1.0.15 (Release 7.0)</p><p>Returns the extension answering rules.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (string) @param "perPage" (string)
@return
func (*CallHandlingSettingsApiService) LoadBlockedNumber ¶
func (a *CallHandlingSettingsApiService) LoadBlockedNumber(ctx context.Context, accountId string, extensionId string, blockedNumberId int32) (BlockedNumberInfo, *http.Response, error)
CallHandlingSettingsApiService Get Blocked Number
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param blockedNumberId Internal identifiers of a blocked number list entry @return BlockedNumberInfo
func (*CallHandlingSettingsApiService) LoadBusinesshoursInfo ¶
func (a *CallHandlingSettingsApiService) LoadBusinesshoursInfo(ctx context.Context, accountId string) (CompanyBusinessHours, *http.Response, error)
CallHandlingSettingsApiService Get Company Business Hours
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns company hours when answering rules are to be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return CompanyBusinessHours
func (*CallHandlingSettingsApiService) LoadCompanyAnsweringRuleInfo ¶
func (a *CallHandlingSettingsApiService) LoadCompanyAnsweringRuleInfo(ctx context.Context, accountId string, ruleId string) (CompanyAnsweringRuleInfo, *http.Response, error)
CallHandlingSettingsApiService Get Company Call Handling Rule
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a company answering rule by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param ruleId Internal identifier of an answering rule. The value can be standard digital ID or specific ID - either business-hours-rule or after-hours-rule @return CompanyAnsweringRuleInfo
func (*CallHandlingSettingsApiService) LoadUserBusinessHours ¶
func (a *CallHandlingSettingsApiService) LoadUserBusinessHours(ctx context.Context, accountId string, extensionId string) (GetUserBusinessHoursResponse, *http.Response, error)
CallHandlingSettingsApiService Get User Business Hours
<p style='font-style:italic;'>Since 1.0.15 (Release 7.0)</p><p>Returns the extension user hours when answering rules are to be applied.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return GetUserBusinessHoursResponse
func (*CallHandlingSettingsApiService) RestapiV10AccountAccountIdIvrMenusIvrMenuIdPut ¶
func (a *CallHandlingSettingsApiService) RestapiV10AccountAccountIdIvrMenusIvrMenuIdPut(ctx context.Context, accountId string, ivrMenuId string, body IvrMenuInfo) (IvrMenuInfo, *http.Response, error)
CallHandlingSettingsApiService Update IVR Menu
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Returns a company IVR menu by ID</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param ivrMenuId @param body JSON body @return IvrMenuInfo
func (*CallHandlingSettingsApiService) UnblockNumber ¶
func (a *CallHandlingSettingsApiService) UnblockNumber(ctx context.Context, accountId string, extensionId string, blockedNumberId int32) (*http.Response, error)
CallHandlingSettingsApiService Delete Blocked Number
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param blockedNumberId Internal identifiers of a blocked number list entry @return
func (*CallHandlingSettingsApiService) UpdateAnsweringRuleInfo ¶
func (a *CallHandlingSettingsApiService) UpdateAnsweringRuleInfo(ctx context.Context, accountId string, extensionId string, ruleId string, body UpdateAnsweringRuleRequest) (AnsweringRuleInfo, *http.Response, error)
CallHandlingSettingsApiService Update Custom Call Handling Rule
<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Updates a custom answering rule for a particular caller ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ruleId Internal identifier of an answering rule @param body JSON body @return AnsweringRuleInfo
func (*CallHandlingSettingsApiService) UpdateBlockedNumber ¶
func (a *CallHandlingSettingsApiService) UpdateBlockedNumber(ctx context.Context, accountId string, extensionId string, blockedNumberId int32, localVarOptionals map[string]interface{}) (BlockedNumberInfo, *http.Response, error)
CallHandlingSettingsApiService Update Blocked Number
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param blockedNumberId Internal identifier of a blocked number list entry @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (BlockedNumberInfo)
@return BlockedNumberInfo
func (*CallHandlingSettingsApiService) UpdateCompanyAnsweringRuleInfo ¶
func (a *CallHandlingSettingsApiService) UpdateCompanyAnsweringRuleInfo(ctx context.Context, accountId string, ruleId string, body CompanyAnsweringRuleUpdate) (CompanyAnsweringRuleInfo, *http.Response, error)
CallHandlingSettingsApiService Update Company Call Handling Rule
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Updates a company answering rule.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param ruleId Internal identifier of an answering rule. The value can be standard digital ID or specific ID - either business-hours-rule or after-hours-rule @param body JSON body @return CompanyAnsweringRuleInfo
func (*CallHandlingSettingsApiService) UpdateCompanyBusinessHours ¶
func (a *CallHandlingSettingsApiService) UpdateCompanyBusinessHours(ctx context.Context, accountId string, body CompanyBusinessHoursUpdateRequest) (CompanyBusinessHours, *http.Response, error)
CallHandlingSettingsApiService Update Company Business Hours
<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Updates company hours when answering rules are to be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return CompanyBusinessHours
func (*CallHandlingSettingsApiService) UpdateExtensionForwardingNumber ¶
func (a *CallHandlingSettingsApiService) UpdateExtensionForwardingNumber(ctx context.Context, accountId string, extensionId string, forwardingNumberId string, body UpdateForwardingNumberRequest) (ForwardingNumberInfo, *http.Response, error)
CallHandlingSettingsApiService Update Forwarding Numbers
<p style='font-style:italic;'>Since 1.0.24 (Release 8.0)</p><p>Updates an existent forwarding number from the forwarding number list.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param forwardingNumberId Internal identifier of a forwarding number; returned in response in the id field @param body JSON body @return ForwardingNumberInfo
func (*CallHandlingSettingsApiService) UpdateUserBusinessHours ¶
func (a *CallHandlingSettingsApiService) UpdateUserBusinessHours(ctx context.Context, accountId string, extensionId string, body UserBusinessHoursUpdateRequest) (UserBusinessHoursUpdate, *http.Response, error)
CallHandlingSettingsApiService Update User Business Hours
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Updates the extension user hours when answering rules are to be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating user extension info (includes extension name, number, email and phone number, assigned phone numbers, devices and other extension settings)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return UserBusinessHoursUpdate
type CallLogApiService ¶
type CallLogApiService service
func (*CallLogApiService) DeleteAccountCallLog ¶
func (a *CallLogApiService) DeleteAccountCallLog(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (*http.Response, error)
CallLogApiService Delete Call Log Records by Filter
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCallLog</td><td>Viewing and updating user call logs</td></tr><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "dateTo" (string) The end datetime for records deletion in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time
@return
func (*CallLogApiService) DeleteAccountCallLogRecord ¶
func (a *CallLogApiService) DeleteAccountCallLogRecord(ctx context.Context, accountId string, callRecordId int32) (*http.Response, error)
CallLogApiService Delete Account Call Log Record(s) by ID
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param callRecordId Internal identifier of a call log record @return
func (*CallLogApiService) DeleteExtensionCallLog ¶
func (a *CallLogApiService) DeleteExtensionCallLog(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (*http.Response, error)
CallLogApiService Delete Call Log Records by Filter
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditCallLog</td><td>Viewing and updating user call logs</td></tr><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "dateTo" (string) The end datetime for records deletion in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time @param "phoneNumber" (string) @param "extensionNumber" (string) @param "type_" ([]string) @param "direction" ([]string) @param "dateFrom" (time.Time)
@return
func (*CallLogApiService) GetCallRecords ¶
func (a *CallLogApiService) GetCallRecords(ctx context.Context, callRecordId []string, extensionId string, accountId string, localVarOptionals map[string]interface{}) (UserCallLogRecord, *http.Response, error)
CallLogApiService Get Call Records by ID
* @param ctx context.Context for authentication, logging, tracing, etc. @param callRecordId @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "view" (string)
@return UserCallLogRecord
func (*CallLogApiService) ListCallRecordingData ¶
func (a *CallLogApiService) ListCallRecordingData(ctx context.Context, accountId string, recordingId string) (Binary, *http.Response, error)
CallLogApiService Get Call Recordings Data
<p style='font-style:italic;'>Since 1.0.16 (Release 7.1)</p><p>Returns call recording metadata.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallRecording</td><td>Downloading call recording content</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param recordingId Internal identifier of a recording (returned in Call Log) @return Binary
func (*CallLogApiService) ListCallRecordings ¶
func (a *CallLogApiService) ListCallRecordings(ctx context.Context, accountId string, recordingId string) (GetCallRecordingResponse, *http.Response, error)
CallLogApiService Get Call Recordings
<p style='font-style:italic;'>Since 1.0.18 (Release 6.5)</p><p>Returns call recording metadata.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallRecording</td><td>Downloading call recording content</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param recordingId Internal identifier of a recording (returned in Call Log) @return GetCallRecordingResponse
func (*CallLogApiService) ListCompanyActiveCalls ¶
func (a *CallLogApiService) ListCompanyActiveCalls(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (ExtensionActiveCallsResponse, *http.Response, error)
CallLogApiService Get User Active Calls
<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns records of all calls that are in progress, ordered by start time in descending order</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "direction" ([]string) The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted @param "type_" ([]string) Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted @param "transport" ([]string) Call transport type. 'PSTN' specifies that a call leg is initiated from the PSTN network provider; 'VoIP' - from an RC phone. By default this filter is disabled @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return ExtensionActiveCallsResponse
func (*CallLogApiService) ListExtensionActiveCalls ¶
func (a *CallLogApiService) ListExtensionActiveCalls(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (ExtensionActiveCallsResponse, *http.Response, error)
CallLogApiService Get User Active Calls
<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns records of all extension calls that are in progress, ordered by start time in descending order.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "direction" ([]string) The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted @param "type_" ([]string) Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return ExtensionActiveCallsResponse
func (*CallLogApiService) LoadAccountCallLog ¶
func (a *CallLogApiService) LoadAccountCallLog(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (AccountCallLogResponse, *http.Response, error)
CallLogApiService Get Call Log Records by Filter
<p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns call log records filtered by the specified parameters.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "extensionNumber" (string) Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter @param "phoneNumber" (string) Phone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter @param "direction" ([]string) The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted @param "type_" ([]string) Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted @param "view" ([]string) The default value is 'Simple' for both account and extension call log @param "withRecording" (bool) 'True' if only recorded calls have to be returned @param "dateFrom" (time.Time) The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours @param "dateTo" (time.Time) The end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. The default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default. @param "sessionId" (string)
@return AccountCallLogResponse
func (*CallLogApiService) LoadAccountCallLogRecord ¶
func (a *CallLogApiService) LoadAccountCallLogRecord(ctx context.Context, accountId string, callRecordId int32) (GetAccountCallLogRecordResponse, *http.Response, error)
CallLogApiService Get Account Call Log Record(s) by ID
<p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns individual call log record(s) by ID(s). Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param callRecordId Internal identifier of a call log record @return GetAccountCallLogRecordResponse
func (*CallLogApiService) LoadExtensionCallLog ¶
func (a *CallLogApiService) LoadExtensionCallLog(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (ExtensionCallLogResponse, *http.Response, error)
CallLogApiService Get Call Log Records by Filter
<p style='font-style:italic;'>Since 1.0.3 (Release 5.11)</p><p>Returns call log records filtered by the specified parameters.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "extensionNumber" (string) Extension number of a user. If specified, returns call log for a particular extension only. Cannot be specified together with the phoneNumber filter @param "showBlocked" (bool) If 'True' then calls from/to blocked numbers are returned. The default value is 'True' @param "phoneNumber" (string) Phone number of a caller/call recipient. If specified, returns all calls (both incoming and outcoming) with the mentioned phone number. Cannot be specified together with the extensionNumber filter @param "direction" ([]string) The direction for the result records. It is allowed to specify more than one direction. If not specified, both inbound and outbound records are returned. Multiple values are accepted @param "sessionId" (string) @param "type_" ([]string) Call type of a record. It is allowed to specify more than one type. If not specified, all call types are returned. Multiple values are accepted @param "transport" ([]string) Call transport type. 'PSTN' specifies that a call leg is initiated from the PSTN network provider; 'VoIP' - from an RC phone. By default this filter is disabled @param "view" ([]string) The default value is 'Simple' for both account and extension call log @param "withRecording" (bool) 'True' if only recorded calls have to be returned @param "dateTo" (time.Time) The end datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time @param "dateFrom" (time.Time) The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return ExtensionCallLogResponse
func (*CallLogApiService) SyncAccountCallLog ¶
func (a *CallLogApiService) SyncAccountCallLog(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (*http.Response, error)
CallLogApiService Call Log Synchronization
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "syncType" ([]string) Type of synchronization. 'FSync' is a default value @param "syncToken" (string) Value of syncToken property of last sync request response @param "dateFrom" (string) The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is the current moment @param "recordCount" (int32) ForT?FSync the parameter is mandatory, it limits the number of records to be returned in response. For ISync it specifies with how many records to extend sync Frame to the past, the maximum number of records is 250 @param "statusGroup" ([]string) Type of calls to be returned. The default value is 'All'
@return
func (*CallLogApiService) SyncExtensionCallLog ¶
func (a *CallLogApiService) SyncExtensionCallLog(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (CallLogSync, *http.Response, error)
CallLogApiService Call Log Synchronization
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadCallLog</td><td>Viewing user call logs</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "syncType" ([]string) Type of synchronization. 'FSync' is a default value @param "syncToken" (string) Value of syncToken property of last sync request response @param "dateFrom" (string) The start datetime for resulting records in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is the current moment @param "recordCount" (int32) ForT?FSync the parameter is mandatory, it limits the number of records to be returned in response. For ISync it specifies with how many records to extend sync Frame to the past, the maximum number of records is 250 @param "statusGroup" ([]string) Type of calls to be returned. The default value is 'All'
@return CallLogSync
type CallLogCallerInfo ¶
type CallLogCallerInfo struct {
// Phone number of a party. Usually it is a plain number including country and area code like 18661234567. But sometimes it could be returned from database with some formatting applied, for example (866)123-4567. This property is filled in all cases where parties communicate by means of global phone numbers, for example when calling to direct numbers or sending/receiving SMS
PhoneNumber string `json:"phoneNumber,omitempty"`
// Extension short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)
Location string `json:"location,omitempty"`
// Symbolic name associated with a party. If the phone does not belong to the known extension, only the location is returned, the name is not determined then
Name string `json:"name,omitempty"`
Device *CallLogRecordDeviceInfo `json:"device,omitempty"`
}
type CallLogRecord ¶
type CallLogRecord struct {
// Internal identifier of a cal log record
Id string `json:"id,omitempty"`
// Canonical URI of a call log record
Uri string `json:"uri,omitempty"`
// Internal identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Caller information
From *CallLogCallerInfo `json:"from,omitempty"`
// Callee information
To *CallLogCallerInfo `json:"to,omitempty"`
// Call type
Type_ string `json:"type,omitempty"`
// Call direction
Direction string `json:"direction,omitempty"`
// Action description of the call operation
Action string `json:"action,omitempty"`
// Status description of the call operation
Result string `json:"result,omitempty"`
// The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
StartTime time.Time `json:"startTime,omitempty"`
// Call duration in seconds
Duration int32 `json:"duration,omitempty"`
// Call recording data. Returned if the call is recorded, the withRecording parameter is set to 'True' in this case
Recording *RecordingInfo `json:"recording,omitempty"`
// For 'Detailed' view only. The datetime when the call log record was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// For 'Detailed' view only. Call transport
Transport string `json:"transport,omitempty"`
// For 'Detailed' view only. Leg description
Legs []CallLogRecordLegInfo `json:"legs"`
}
type CallLogRecordLegInfo ¶
type CallLogRecordLegInfo struct {
// Action description of the call operation
Action string `json:"action,omitempty"`
// Call direction
Direction string `json:"direction,omitempty"`
// Call duration in seconds
Duration int32 `json:"duration,omitempty"`
// Information on extension
Extension *ExtensionInfoCallLog `json:"extension,omitempty"`
// Leg type
LegType string `json:"legType,omitempty"`
// The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
StartTime time.Time `json:"startTime,omitempty"`
// Call type
Type_ string `json:"type,omitempty"`
// Status description of the call operation
Result string `json:"result,omitempty"`
// Caller information
From *CallLogCallerInfo `json:"from,omitempty"`
// Callee information
To *CallLogCallerInfo `json:"to,omitempty"`
// Call transport
Transport string `json:"transport,omitempty"`
// Call recording data. Returned if the call is recorded
Recording *RecordingInfo `json:"recording,omitempty"`
}
type CallLogRecordResource ¶
type CallLogRecordResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
SessionId string `json:"sessionId,omitempty"`
StartTime time.Time `json:"startTime,omitempty"`
Duration int64 `json:"duration,omitempty"`
Type_ string `json:"type,omitempty"`
Direction string `json:"direction,omitempty"`
Action string `json:"action,omitempty"`
Result string `json:"result,omitempty"`
To *CallerInfo `json:"to,omitempty"`
From *CallerInfo `json:"from,omitempty"`
Recording *CallLogRecordingResource `json:"recording,omitempty"`
}
type CallLogRecords ¶
type CallLogRecords struct {
Uri string `json:"uri,omitempty"`
Records []CallLogRecordResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type CallLogSync ¶
type CallLogSync struct {
// List of call log records with synchronization information. For ISync the total number of returned records is limited to 250; this includes both new records and the old ones, specified by the recordCount parameter
Records []CallLogRecord `json:"records,omitempty"`
// Sync information (type, token and time)
SyncInfo *SyncInfoCallLog `json:"syncInfo,omitempty"`
}
type CallQueueInfo ¶
type CallQueueInfo struct {
// Target percentage of calls that must be answered by agents within the service level time threshold
SlaGoal int32 `json:"slaGoal,omitempty"`
// Period of time in seconds that is considered to be an acceptable service level
SlaThresholdSeconds int32 `json:"slaThresholdSeconds,omitempty"`
// If 'True' abandoned calls (hanged up prior to being served) are included into service level calculation
IncludeAbandonedCalls bool `json:"includeAbandonedCalls,omitempty"`
// Period of time in seconds specifying abandoned calls duration - calls that are shorter will not be included into the calculation of service level.; zero value means that abandoned calls of any duration will be included into calculation
AbandonedThresholdSeconds int32 `json:"abandonedThresholdSeconds,omitempty"`
}
type CallQueueInfoRequest ¶
type CallQueueInfoRequest struct {
// Target percentage of calls that must be answered by agents within the service level time threshold
SlaGoal int32 `json:"slaGoal,omitempty"`
SlaThresholdSeconds int32 `json:"slaThresholdSeconds,omitempty"`
IncludeAbandonedCalls bool `json:"includeAbandonedCalls,omitempty"`
AbandonedThresholdSeconds int32 `json:"abandonedThresholdSeconds,omitempty"`
}
type CalledNumberInfo ¶
type CalledNumberInfo struct {
// Called phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type CallerIdByDevice ¶
type CallerIdByDevice struct {
Device *CallerIdDeviceInfo `json:"device,omitempty"`
CallerId *CallerIdByDeviceInfo `json:"callerId,omitempty"`
}
type CallerIdByDeviceInfo ¶
type CallerIdByDeviceInfo struct {
// If 'PhoneNumber' value is specified, then a certain phone number is shown as a caller ID when using this telephony feature. If 'Blocked' value is specified, then a caller ID is hidden. The value 'CurrentLocation' can be specified for 'RingOut' feature only. The default is 'PhoneNumber' = ['PhoneNumber', 'Blocked', 'CurrentLocation']
Type_ string `json:"type,omitempty"`
PhoneInfo *CallerIdPhoneInfo `json:"phoneInfo,omitempty"`
}
type CallerIdByFeature ¶
type CallerIdByFeature struct {
Feature string `json:"feature,omitempty"`
CallerId *CallerIdByFeatureInfo `json:"callerId,omitempty"`
}
type CallerIdByFeatureInfo ¶
type CallerIdByFeatureInfo struct {
// If 'PhoneNumber' value is specified, then a certain phone number is shown as a caller ID when using this telephony feature. If 'Blocked' value is specified, then a caller ID is hidden. The value 'CurrentLocation' can be specified for 'RingOut' feature only. The default is 'PhoneNumber' = ['PhoneNumber', 'Blocked', 'CurrentLocation']
Type_ string `json:"type,omitempty"`
PhoneInfo *CallerIdPhoneInfo `json:"phoneInfo,omitempty"`
}
type CallerIdDeviceInfo ¶
type CallerIdPhoneInfo ¶
type CallerInfo ¶
type CallerInfo struct {
PhoneNumber string `json:"phoneNumber,omitempty"`
ExtensionNumber string `json:"extensionNumber,omitempty"`
Name string `json:"name,omitempty"`
Location string `json:"location,omitempty"`
Contact *PersonalContactResource `json:"contact,omitempty"`
MessageStatus string `json:"messageStatus,omitempty"`
FaxErrorCode string `json:"faxErrorCode,omitempty"`
}
type CallerInfoFrom ¶
type CallerInfoTo ¶
type CallerResource ¶
type CallersInfo ¶
type CallersInfoRequest ¶
type CfaAttachments ¶
type CfaRecurrence ¶
type CfaSchedule ¶
type CfaSchedule struct {
ScheduleId string `json:"scheduleId,omitempty"`
Recurrence *CfaRecurrence `json:"recurrence,omitempty"`
ViewType string `json:"viewType,omitempty"`
Attachments *CfaAttachments `json:"attachments,omitempty"`
Recipients []string `json:"recipients,omitempty"`
Pages []string `json:"pages,omitempty"`
}
type CfaSettingsResource ¶
type CfaSettingsResource struct {
Views []CfaView `json:"views,omitempty"`
}
type CfaView ¶
type CfaView struct {
Name string `json:"name,omitempty"`
Schedules []CfaSchedule `json:"schedules,omitempty"`
}
type ClientApiResponse ¶
type ClientApiResponse struct {
// Client application information
Client *ClientApplicationInfo `json:"client"`
// Provisioning parameters. Available for the detected applications only
Provisioning *ClientProvisioningInfo `json:"provisioning"`
}
type ClientApplicationInfo ¶
type ClientApplicationInfo struct {
// 'True', if the server succeeded detecting application info, sufficient to return provisioning info
Detected bool `json:"detected"`
// The value of 'User-Agent' header, as it was passed in request
UserAgent string `json:"userAgent,omitempty"`
// Application identifier (from authorization session)
AppId string `json:"appId,omitempty"`
// Application name (from authorization session, but must match 'User-Agent')
AppName string `json:"appName,omitempty"`
// Application version (parsed from 'User-Agent')
AppVersion string `json:"appVersion,omitempty"`
// Application platform operation system (parsed from 'User-Agent': Windows, MacOS, Android, iOS
AppPlatform string `json:"appPlatform,omitempty"`
// Application platform operation system version (parsed from 'User-Agent')
AppPlatformVersion string `json:"appPlatformVersion,omitempty"`
// Locale, parsed from 'Accept-Language'. Currently en-GB and en-US locales are supported. The default value is en-US
Locale string `json:"locale,omitempty"`
}
type ClientInfoResource ¶
type ClientInfoResource struct {
Uri string `json:"uri,omitempty"`
Client *ClientResource `json:"client,omitempty"`
Provisioning *ProvisioningResource `json:"provisioning,omitempty"`
}
type ClientInfoSpecialNumbersResource ¶
type ClientInfoSpecialNumbersResource struct {
Uri string `json:"uri,omitempty"`
Records []ClientInfoSpecialNumberResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type ClientProvisioningHintsInfo ¶
type ClientProvisioningHintsInfo struct {
// Trial account expiration. Returned for trial accounts only
TrialState *ClientProvisioningHintInfo `json:"trialState,omitempty"`
// User credentials expiration
UserCredentialState *ClientProvisioningHintInfo `json:"userCredentialState,omitempty"`
// Application version update. Returned only if the client current version is older than the latest version. 'actionRequired': 'true' means the application requires force updating to the latest version
AppVersionUpgrade *ClientProvisioningHintInfo `json:"appVersionUpgrade,omitempty"`
}
type ClientProvisioningInfo ¶
type ClientProvisioningInfo struct {
// Links to the mobile web and Service Web resources
WebUris *ClientProvisioningWebUriInfo `json:"webUris"`
// Informs client application on the required user action
Hints *ClientProvisioningHintsInfo `json:"hints"`
}
type ClientProvisioningWebUriInfo ¶
type ClientProvisioningWebUriInfo struct {
// Link to web page with the application description. Returned if the application needs to be updated, together with the appVersionUpgrade hint
AppDownload string `json:"appDownload,omitempty"`
// Link to the application distributive package. Returned if the application needs to be updated, together with the appVersionUpgrade hint
AppDownloadFile string `json:"appDownloadFile,omitempty"`
// Link to express setup page (mobile application)
ExpressSetupMobile string `json:"expressSetupMobile,omitempty"`
// Link to the RC Meetings application distributive package
MeetingsAppDownload string `json:"meetingsAppDownload,omitempty"`
// Link to billing page (mobile application)
MobileWebBilling string `json:"mobileWebBilling,omitempty"`
// Link to call handling page (mobile application)
MobileWebCallHandling string `json:"mobileWebCallHandling,omitempty"`
// Link to international calling page (mobile application)
MobileWebInternationalCalling string `json:"mobileWebInternationalCalling,omitempty"`
// Link to notifications page (mobile application)
MobileWebNotifications string `json:"mobileWebNotifications,omitempty"`
// Link to phone system settings page (mobile application)
MobileWebPhoneSystem string `json:"mobileWebPhoneSystem,omitempty"`
// Link to reports page (mobile application)
MobileWebReporting string `json:"mobileWebReporting,omitempty"`
// Link to reset password page (mobile application)
MobileWebResetPassword string `json:"mobileWebResetPassword,omitempty"`
// Link to Tell A Friend page (mobile application)
MobileWebTellAFriend string `json:"mobileWebTellAFriend,omitempty"`
// Link to upgrade trial account (mobile application)
MobileWebTrialUpgrade string `json:"mobileWebTrialUpgrade,omitempty"`
// Link to user settings page (mobile application)
MobileWebUserSettings string `json:"mobileWebUserSettings,omitempty"`
// Link to billing page (web application)
ServiceWebBilling string `json:"serviceWebBilling,omitempty"`
// Link to home page (web application)
ServiceWebHome string `json:"serviceWebHome,omitempty"`
// Link to phone system settings page (web application)
ServiceWebPhoneSystem string `json:"serviceWebPhoneSystem,omitempty"`
// Link to reset password page (web application)
ServiceWebResetPassword string `json:"serviceWebResetPassword,omitempty"`
// Link to Tell A Friend page (web application)
ServiceWebTellAFriend string `json:"serviceWebTellAFriend,omitempty"`
// Link to user settings page (web application)
ServiceWebUserSettings string `json:"serviceWebUserSettings,omitempty"`
// Link to sign up page (web application)
SignUp string `json:"signUp,omitempty"`
// Link to support page (web application)
Support string `json:"support,omitempty"`
}
type ClientResource ¶
type ClientResource struct {
Detected bool `json:"detected,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
AppId string `json:"appId,omitempty"`
AppName string `json:"appName,omitempty"`
AppKey string `json:"appKey,omitempty"`
AppVersion string `json:"appVersion,omitempty"`
Locale string `json:"locale,omitempty"`
}
type CompanyAnsweringRuleCalledNumberInfo ¶
type CompanyAnsweringRuleCalledNumberInfo struct {
// Internal identifier of an account phone number
Id string `json:"id,omitempty"`
}
type CompanyAnsweringRuleCalledNumberInfoRequest ¶
type CompanyAnsweringRuleCalledNumberInfoRequest struct {
// Internal identifier of an account phone number
Id string `json:"id,omitempty"`
}
type CompanyAnsweringRuleExtensionInfoRequest ¶
type CompanyAnsweringRuleExtensionInfoRequest struct {
// Time in format hh:mm
Id string `json:"id,omitempty"`
}
type CompanyAnsweringRuleInfo ¶
type CompanyAnsweringRuleInfo struct {
// Internal identifier of an answering rule
Id string `json:"id,omitempty"`
// Canonical URI of an answering rule
Uri string `json:"uri,omitempty"`
// Specifies if the rule is active or inactive. The default value is 'True'
Enabled bool `json:"enabled,omitempty"`
// Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']
Type_ string `json:"type,omitempty"`
// Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number
Name string `json:"name,omitempty"`
// Answering rule will be applied when calls are received from the specified caller(s)
Callers []CompanyAnsweringRuleCallersInfoRequest `json:"callers,omitempty"`
// Answering rule will be applied when calling the specified number(s)
CalledNumbers []CompanyAnsweringRuleCalledNumberInfoRequest `json:"calledNumbers,omitempty"`
// Schedule when an answering rule should be applied ,
Schedule *CompanyAnsweringRuleScheduleInfo `json:"schedule,omitempty"`
// Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']
CallHandlingAction string `json:"callHandlingAction,omitempty"`
// Extension to which the call is forwarded in 'Bypass' mode
Extension *CompanyAnsweringRuleCallersInfoRequest `json:"extension,omitempty"`
// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
Greetings []GreetingInfo `json:"greetings,omitempty"`
}
type CompanyAnsweringRuleList ¶
type CompanyAnsweringRuleList struct {
// Link to an answering rule resource
Uri string `json:"uri,omitempty"`
// List of company answering rules
Records []ListCompanyAnsweringRuleInfo `json:"records,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
}
type CompanyAnsweringRuleRequest ¶
type CompanyAnsweringRuleRequest struct {
// Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number
Name string `json:"name,omitempty"`
// Specifies if the rule is active or inactive. The default value is 'True'
Enabled bool `json:"enabled,omitempty"`
// Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']
Type_ string `json:"type,omitempty"`
// Answering rule will be applied when calls are received from the specified caller(s)
Callers []CompanyAnsweringRuleCallersInfoRequest `json:"callers,omitempty"`
// Answering rule will be applied when calling the specified number(s)
CalledNumbers []CompanyAnsweringRuleCalledNumberInfo `json:"calledNumbers,omitempty"`
// Schedule when an answering rule should be applied
Schedule *CompanyAnsweringRuleScheduleInfoRequest `json:"schedule,omitempty"`
// Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']
CallHandlingAction string `json:"callHandlingAction,omitempty"`
// Extension to which the call is forwarded in 'Bypass' mode
Extension *CompanyAnsweringRuleCallersInfoRequest `json:"extension,omitempty"`
// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
Greetings []GreetingInfo `json:"greetings,omitempty"`
}
type CompanyAnsweringRuleScheduleInfo ¶
type CompanyAnsweringRuleScheduleInfo struct {
// Weekly schedule. If specified, ranges cannot be specified
WeeklyRanges *CompanyAnsweringRuleWeeklyScheduleInfoRequest `json:"weeklyRanges,omitempty"`
// Specific data ranges. If specified, weeklyRanges cannot be specified
Ranges *RangesInfo `json:"ranges,omitempty"`
// Reference to Business Hours or After Hours schedule = ['BusinessHours', 'AfterHours']
Ref string `json:"ref,omitempty"`
}
type CompanyAnsweringRuleScheduleInfoRequest ¶
type CompanyAnsweringRuleScheduleInfoRequest struct {
// Weekly schedule. If specified, ranges cannot be specified
WeeklyRanges *CompanyAnsweringRuleWeeklyScheduleInfoRequest `json:"weeklyRanges,omitempty"`
// Specific data ranges. If specified, weeklyRanges cannot be specified
Ranges *RangesInfo `json:"ranges,omitempty"`
// Reference to Business Hours or After Hours schedule = ['BusinessHours', 'AfterHours']
Ref string `json:"ref,omitempty"`
}
type CompanyAnsweringRuleUpdate ¶
type CompanyAnsweringRuleUpdate struct {
// Specifies if the rule is active or inactive. The default value is 'True'
Enabled bool `json:"enabled,omitempty"`
// Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number
Name string `json:"name,omitempty"`
// Answering rule will be applied when calls are received from the specified caller(s)
Callers []CompanyAnsweringRuleCallersInfoRequest `json:"callers,omitempty"`
// Answering rule will be applied when calling the specified number(s)
CalledNumbers []CompanyAnsweringRuleCalledNumberInfo `json:"calledNumbers,omitempty"`
// Schedule when an answering rule should be applied
Schedule *CompanyAnsweringRuleScheduleInfoRequest `json:"schedule,omitempty"`
// Specifies how incoming calls are forwarded. The default value is 'Operator' 'Operator' - play company greeting and forward to operator extension 'Disconnect' - play company greeting and disconnect 'Bypass' - bypass greeting to go to selected extension = ['Operator', 'Disconnect', 'Bypass']
CallHandlingAction string `json:"callHandlingAction,omitempty"`
// Extension to which the call is forwarded in 'Bypass' mode
Extension *CompanyAnsweringRuleCallersInfoRequest `json:"extension,omitempty"`
// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
Greetings []GreetingInfo `json:"greetings,omitempty"`
}
type CompanyAnsweringRuleWeeklyScheduleInfoRequest ¶
type CompanyAnsweringRuleWeeklyScheduleInfoRequest struct {
// Time interval for a particular day
Monday []CompanyAnsweringRuleTimeIntervalRequest `json:"monday,omitempty"`
// Time interval for a particular day
Tuesday []CompanyAnsweringRuleTimeIntervalRequest `json:"tuesday,omitempty"`
// Time interval for a particular day
Wednesday []CompanyAnsweringRuleTimeIntervalRequest `json:"wednesday,omitempty"`
// Time interval for a particular day
Thursday []CompanyAnsweringRuleTimeIntervalRequest `json:"thursday,omitempty"`
// Time interval for a particular day
Friday []CompanyAnsweringRuleTimeIntervalRequest `json:"friday,omitempty"`
// Time interval for a particular day
Saturday []CompanyAnsweringRuleTimeIntervalRequest `json:"saturday,omitempty"`
// Time interval for a particular day
Sunday []CompanyAnsweringRuleTimeIntervalRequest `json:"sunday,omitempty"`
}
type CompanyBusinessHours ¶
type CompanyBusinessHours struct {
// Canonical URI of a business-hours resource
Uri string `json:"uri,omitempty"`
// Schedule when an answering rule is applied
Schedule *CompanyBusinessHoursScheduleInfo `json:"schedule,omitempty"`
}
type CompanyBusinessHoursScheduleInfo ¶
type CompanyBusinessHoursScheduleInfo struct {
WeeklyRanges *WeeklyScheduleInfo `json:"weeklyRanges,omitempty"`
}
type CompanyBusinessHoursUpdateRequest ¶
type CompanyBusinessHoursUpdateRequest struct {
// Schedule when an answering rule is applied
Schedule *CompanyBusinessHoursScheduleInfo `json:"schedule,omitempty"`
}
type CompanyContactsApiService ¶
type CompanyContactsApiService service
func (*CompanyContactsApiService) CreateBotExtension ¶
func (a *CompanyContactsApiService) CreateBotExtension(ctx context.Context, accountId string, body BotExtensionCreationRequest) (BotExtensionCreation, *http.Response, error)
CompanyContactsApiService Create Bot Extension
<p style='font-style:italic;'>Since 1.0.32 (Release 9.3)</p><p>Creates a bot extension. Please note: Bot extension is always created in Enabled status, no welcome email is sent.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return BotExtensionCreation
func (*CompanyContactsApiService) CreateExtension ¶
func (a *CompanyContactsApiService) CreateExtension(ctx context.Context, accountId string, body ExtensionCreationRequest) (ExtensionInfo, *http.Response, error)
CompanyContactsApiService Create Extension
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Creates an extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return ExtensionInfo
func (*CompanyContactsApiService) ListCompanyDirectoryContacts ¶
func (a *CompanyContactsApiService) ListCompanyDirectoryContacts(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (CompanyDirectoryContacts, *http.Response, error)
CompanyContactsApiService Get Company Directory
<p style='font-style:italic;'></p><p>Returns contact information on corporate users of federated accounts. Please note: 1. User, DigitalUser, VirtualUser and FaxUser types are returned as User type. 2.ApplicationExtension type is not returned. 3. Only extensions in Enabled, Disabled and NotActivated state are returned.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int64) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int64) Indicates the page size (number of items). The possible values are: Max, all or a numeric value. If not specified, all records are returned on one page @param "excludeFederatedContacts" (bool) If 'True' then only contacts of current account are returned, if 'False' then all contacts of all federation accounts are returned
@return CompanyDirectoryContacts
func (*CompanyContactsApiService) ListExtensions ¶
func (a *CompanyContactsApiService) ListExtensions(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (GetExtensionListResponse, *http.Response, error)
CompanyContactsApiService Get Extensions
<p style='font-style:italic;'>Since 1.0.0</p><p>Returns the list of extensions created for a particular account. All types of extensions are included in this list.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int64) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int64) Indicates the page size (number of items). If not specified, the value is '100' by default. @param "status" ([]string) Extension current state. Multiple values are supported. If 'Unassigned' is specified, then extensions without extensionNumber are returned. If not specified, then all extensions are returned @param "type_" ([]string) Extension type. Multiple values are supported
@return GetExtensionListResponse
func (*CompanyContactsApiService) LoadCompanyDirectoryContact ¶
func (a *CompanyContactsApiService) LoadCompanyDirectoryContact(ctx context.Context, accountId string, contactId string) (ContactInfo, *http.Response, error)
CompanyContactsApiService Get Company Directory Contact
<p style='font-style:italic;'></p><p>Returns contact information on a particular corporate user of a federated account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param contactId Internal identifier of an extension @return ContactInfo
func (*CompanyContactsApiService) LoadCompanyDirectoryExtensionNumbers ¶
func (a *CompanyContactsApiService) LoadCompanyDirectoryExtensionNumbers(ctx context.Context, accountId string) (FederationExtensionNumbers, *http.Response, error)
CompanyContactsApiService Get Existing Extension Numbers
<p style='font-style:italic;'></p><p>Returns the list of account federation extensions.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return FederationExtensionNumbers
func (*CompanyContactsApiService) LoadCompanyDirectoryFederation ¶
func (a *CompanyContactsApiService) LoadCompanyDirectoryFederation(ctx context.Context, accountId string) (FederationInfo, *http.Response, error)
CompanyContactsApiService Get Account Federation
<p style='font-style:italic;'></p><p>Returns information on a federation and associated accounts.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return FederationInfo
func (*CompanyContactsApiService) LoadCompanyDirectoryFederationConflicts ¶
func (a *CompanyContactsApiService) LoadCompanyDirectoryFederationConflicts(ctx context.Context, accountId string) (FederationConflicts, *http.Response, error)
CompanyContactsApiService Get Account Federation Conflicts
<p style='font-style:italic;'></p><p>Returns the list of federation extensions which numbers are conflicting with extension numbers of the requested account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return FederationConflicts
type CompanyDirectoryAccountInfo ¶
type CompanyDirectoryAccountInfo struct {
// Internal identifier of an account
Id string `json:"id,omitempty"`
}
type CompanyDirectoryContactInfo ¶
type CompanyDirectoryContactInfo struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
// Type of an extension
Type_ string `json:"type,omitempty"`
// Status of an extension
Status string `json:"status,omitempty"`
// User extension first name
FirstName string `json:"firstName,omitempty"`
// User extension last name
LastName string `json:"lastName,omitempty"`
// Name of an extension
Name string `json:"name,omitempty"`
// Department name of an extension
Department string `json:"department,omitempty"`
// Email of an extension
Email string `json:"email,omitempty"`
// Number of an extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Account data of an extension
Account *CompanyDirectoryAccountInfo `json:"account,omitempty"`
// Extension phone numbers information
PhoneNumbers []CompanyDirectoryPhoneNumberInfo `json:"phoneNumbers,omitempty"`
// Extension profile image information. Not returned if profile images are absent for an extension
ProfileImage *CompanyDirectoryProfileImageInfo `json:"profileImage,omitempty"`
}
type CompanyDirectoryContacts ¶
type CompanyDirectoryContacts struct {
// List of countries which can be selected for a dialing plan
Records []CompanyDirectoryContactInfo `json:"records"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type CompanyDirectoryPhoneNumberInfo ¶
type CompanyDirectoryPhoneNumberInfo struct {
// Extension phone number in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Type of a phone number
Type_ string `json:"type,omitempty"`
// Specifies if a phone number should be hidden or not. Returned only if the value is 'True'
Hidden bool `json:"hidden,omitempty"`
// Usage type of a phone number
UsageType string `json:"usageType,omitempty"`
}
type CompanySettingsApiService ¶
type CompanySettingsApiService service
func (*CompanySettingsApiService) DeleteAccount ¶
func (a *CompanySettingsApiService) DeleteAccount(ctx context.Context, accountId string) (*http.Response, error)
CompanySettingsApiService Delete Account
<p style='font-style:italic;'>Since 1.0.0</p><p>Updates account information.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @return
func (*CompanySettingsApiService) ListDialingPlans ¶
func (a *CompanySettingsApiService) ListDialingPlans(ctx context.Context, accountId string, localVarOptionals map[string]interface{}) (GetDialingPlanInfo, *http.Response, error)
CompanySettingsApiService Get Available Dialing Plans
<p style='font-style:italic;'></p><p>Returns list of countries which can be selected for a dialing plan (to call short numbers and special services).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return GetDialingPlanInfo
func (*CompanySettingsApiService) LoadAccount ¶
func (a *CompanySettingsApiService) LoadAccount(ctx context.Context, accountId string) (GetAccountInfoResponse, *http.Response, error)
CompanySettingsApiService Get Company Info
<p style='font-style:italic;'>Since 1.0.0</p><p>Returns basic information about a particular RingCentral customer account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return GetAccountInfoResponse
func (*CompanySettingsApiService) LoadAccountBusinessAddress ¶
func (a *CompanySettingsApiService) LoadAccountBusinessAddress(ctx context.Context, accountId string) (GetAccountInfoResponse, *http.Response, error)
CompanySettingsApiService Get Company Business Address
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return GetAccountInfoResponse
func (*CompanySettingsApiService) LoadServiceInfo ¶
func (a *CompanySettingsApiService) LoadServiceInfo(ctx context.Context, accountId string) (GetServiceInfoResponse, *http.Response, error)
CompanySettingsApiService Get Account Service Info
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return GetServiceInfoResponse
func (*CompanySettingsApiService) ModifyAccount ¶
func (a *CompanySettingsApiService) ModifyAccount(ctx context.Context, accountId string, body UpdateAccountRequest) (GetAccountInfoResponse, *http.Response, error)
CompanySettingsApiService Update Company
<p style='font-style:italic;'>Since 1.0.0</p><p>Updates account information.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @param body JSON body @return GetAccountInfoResponse
func (*CompanySettingsApiService) UpdateAccountBusinessAddress ¶
func (a *CompanySettingsApiService) UpdateAccountBusinessAddress(ctx context.Context, accountId string, body ModifyAccountBusinessAddressRequest) (AccountBusinessAddressResource, *http.Response, error)
CompanySettingsApiService Update Company Business Address
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return AccountBusinessAddressResource
func (*CompanySettingsApiService) UpdateServiceInfo ¶
func (a *CompanySettingsApiService) UpdateServiceInfo(ctx context.Context, accountId string, body ServiceInfoRequest) (AccountServiceInfo, *http.Response, error)
CompanySettingsApiService Update Account Service Info [Beta]
<p style='font-style:italic;'>Since 1.0.29 (Release 9.0)</p><p>Updates limitations for a particular RingCentral customer account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Accounts</td><td>Managing accounts: creating new accounts, viewing and updating account information, deleting existing accounts</td></tr><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param body JSON body @return AccountServiceInfo
type ConferencePhoneNumberInfo ¶
type ConferencePhoneNumberInfo struct {
// Dial-in phone number to connect to a conference
PhoneNumber string `json:"phoneNumber,omitempty"`
// 'True' if the number is default for the conference. Default conference number is a domestic number that can be set by user (otherwise it is set by the system). Only one default number per country is allowed
Default_ bool `json:"default,omitempty"`
}
type ConferencingInfoResource ¶
type ConferencingInfoResource struct {
Uri string `json:"uri,omitempty"`
PhoneNumber string `json:"phoneNumber,omitempty"`
HostCode string `json:"hostCode,omitempty"`
ParticipantCode string `json:"participantCode,omitempty"`
AllowJoinBeforeHost bool `json:"allowJoinBeforeHost,omitempty"`
TapToJoinUri string `json:"tapToJoinUri,omitempty"`
SupportUri string `json:"supportUri,omitempty"`
Mode string `json:"mode,omitempty"`
PhoneNumbers []ConferencingNumberResource `json:"phoneNumbers,omitempty"`
}
type ConferencingNumberResource ¶
type ConferencingNumberResource struct {
Uri string `json:"uri,omitempty"`
PhoneNumber string `json:"phoneNumber,omitempty"`
Country *CountryResource `json:"country,omitempty"`
Location string `json:"location,omitempty"`
HasGreeting bool `json:"hasGreeting,omitempty"`
Default_ bool `json:"default,omitempty"`
}
type Configuration ¶
type Configuration struct {
BasePath string `json:"basePath,omitempty"`
Host string `json:"host,omitempty"`
Scheme string `json:"scheme,omitempty"`
DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
}
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type ConflictsInfo ¶
type ConflictsInfo struct {
// Internal identifier of a conflicting extension assigned to another account of the current federation
Id string `json:"id,omitempty"`
// Extension user first name
FirstName string `json:"firstName,omitempty"`
// Extension user last name
LastName string `json:"lastName,omitempty"`
// Account data of an extension
Account *FederationConflictsAccountInfo `json:"account,omitempty"`
}
type ContactAddressInfo ¶
type ContactAddressInfo struct {
// Country name of extension user company. Not returned for Address Book
Country string `json:"country,omitempty"`
// State/province name of extension user company
State string `json:"state,omitempty"`
// City name of extension user company
City string `json:"city,omitempty"`
// Street address of extension user company
Street string `json:"street,omitempty"`
// Zip code of extension user company
Zip string `json:"zip,omitempty"`
}
type ContactDirectoryEvent ¶
type ContactDirectoryEvent struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
// Type of change
EventType string `json:"eventType,omitempty"`
// Extension Type
Type_ string `json:"type,omitempty"`
// Status of an extension
Status string `json:"status,omitempty"`
// First name of an extension user
FirstName string `json:"firstName,omitempty"`
// Last name of an extension user
LastName string `json:"lastName,omitempty"`
// Department Name
Department string `json:"department,omitempty"`
// Email of an extension user
Email string `json:"email,omitempty"`
// Extension number
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Account data of an extension
Account *CompanyDirectoryAccountInfo `json:"account,omitempty"`
// Extension phone number information
PhoneNumbers *CompanyDirectoryPhoneNumberInfo `json:"phoneNumbers,omitempty"`
// Site Data
Site *SiteInfo `json:"site,omitempty"`
// Extension profile image information. Not returned if profile images are absent for an extension
ProfileImage *CompanyDirectoryProfileImageInfo `json:"profileImage,omitempty"`
}
type ContactInfo ¶
type ContactInfo struct {
// For User extension type only. Extension user first name
FirstName string `json:"firstName,omitempty"`
// For User extension type only. Extension user last name
LastName string `json:"lastName,omitempty"`
// Extension user company name
Company string `json:"company,omitempty"`
// Email of extension user
Email string `json:"email,omitempty"`
// Extension user contact phone number
BusinessPhone string `json:"businessPhone,omitempty"`
// Business address of extension user company
BusinessAddress *ContactAddressInfo `json:"businessAddress,omitempty"`
}
type ContactInfoUpdateRequest ¶
type ContactInfoUpdateRequest struct {
// For User extension type only. Extension user first name,
FirstName string `json:"firstName,omitempty"`
// For User extension type only. Extension user last name,
LastName string `json:"lastName,omitempty"`
// Extension user company name
Company string `json:"company,omitempty"`
// Email of extension user
Email string `json:"email,omitempty"`
// Extension user contact phone number in E.164 format
BusinessPhone string `json:"businessPhone,omitempty"`
BusinessAddress *ContactAddressInfo `json:"businessAddress,omitempty"`
// If 'True' then contact email is enabled as login name for this user. Please note that email should be unique in this case. The default value is 'False'
EmailAsLoginName bool `json:"emailAsLoginName,omitempty"`
PronouncedName *PronouncedNameInfo `json:"pronouncedName,omitempty"`
// Extension user department, if any
Department string `json:"department,omitempty"`
}
type ContactList ¶
type ContactList struct {
// List of personal contacts from the extension address book
Records []PersonalContactResource `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type ContactsCollection ¶
type ContactsCollection struct {
Uri string `json:"uri,omitempty"`
Records []PersonalContactResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
Groups *ResourceLink `json:"groups,omitempty"`
}
type ContactsInput ¶
type ContactsInput struct {
Records []PersonalContactResource `json:"records,omitempty"`
}
type ContentDisposition ¶
type ContentDisposition struct {
Type_ string `json:"type,omitempty"`
FileName string `json:"fileName,omitempty"`
CreationDate time.Time `json:"creationDate,omitempty"`
ModificationDate time.Time `json:"modificationDate,omitempty"`
ReadDate time.Time `json:"readDate,omitempty"`
Size int64 `json:"size,omitempty"`
}
type ConversationResource ¶
type ConversationResource struct {
Id string `json:"id,omitempty"`
TypingNotifications *DeliveryModeResource `json:"typingNotifications,omitempty"`
Uri string `json:"uri,omitempty"`
}
type CountriesResource ¶
type CountriesResource struct {
Uri string `json:"uri,omitempty"`
Records []CountryResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type CountryInfo ¶
type CountryResource ¶
type CountryResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
IsoCode string `json:"isoCode,omitempty"`
CallingCode string `json:"callingCode,omitempty"`
EmergencyCalling bool `json:"emergencyCalling,omitempty"`
NumberSelling bool `json:"numberSelling,omitempty"`
LoginAllowed bool `json:"loginAllowed,omitempty"`
}
type CreateAccountRequest ¶
type CreateAccountRequest struct {
// Main account VoIP phone number, either Local or Toll-Free. Cannot be Fax Only. Obtained via lookup/reserve API
MainNumber string `json:"mainNumber,omitempty"`
// Operator's extension information. This extension will receive all calls and messages intended for the operator
Operator *GetExtensionInfoResponse `json:"operator,omitempty"`
// Partner identifier for this account
PartnerId string `json:"partnerId,omitempty"`
// Promotion code to calculate a discount
PromotionCode string `json:"promotionCode,omitempty"`
// Internal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time
ReservationId string `json:"reservationId,omitempty"`
// Account service information, brand identifier and service plan
ServiceInfo *GetServiceInfoResponse `json:"serviceInfo,omitempty"`
// The status with which an account is created. The default value is 'Initial'
Status string `json:"status,omitempty"`
// Account sign up data
SignupInfo *AccountSignupInfoRequest `json:"signupInfo,omitempty"`
}
type CreateAnsweringRuleRequest ¶
type CreateAnsweringRuleRequest struct {
// Specifies if the rule is active or inactive. The default value is 'True'
Enabled bool `json:"enabled,omitempty"`
// Type of an answering rule. The 'Custom' value should be specified
Type_ string `json:"type"`
// Name of an answering rule specified by user
Name string `json:"name"`
// Answering rule will be applied when calls are received from the specified caller(s)
Callers []CallersInfoRequest `json:"callers,omitempty"`
// Answering rules are applied when calling to selected number(s)
CalledNumbers []CalledNumberInfo `json:"calledNumbers,omitempty"`
// Schedule when an answering rule should be applied
Schedule *ScheduleInfo `json:"schedule,omitempty"`
// Specifies how incoming calls are forwarded
CallHandlingAction string `json:"callHandlingAction,omitempty"`
// Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded
Forwarding *ForwardingInfo `json:"forwarding,omitempty"`
// Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' is specified in 'callHandlingAction'
UnconditionalForwarding *UnconditionalForwardingInfo `json:"unconditionalForwarding,omitempty"`
// Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action
Queue *QueueInfo `json:"queue,omitempty"`
// Transfer settings applied for department (call queue) extension type, with 'TransferToExtension' call handling action
Transfer *TransferredExtensionInfo `json:"transfer,omitempty"`
// Specifies whether to take a voicemail and who should do it
Voicemail *VoicemailInfo `json:"voicemail,omitempty"`
// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
Greetings []GreetingInfo `json:"greetings,omitempty"`
}
type CreateFaxMessageRequest ¶
type CreateFaxMessageRequest struct {
// Recipient information. Phone number property is mandatory. Optional for resend fax request
To []MessageStoreCallerInfoRequest `json:"to"`
// Fax resolution
Resolution string `json:"resolution,omitempty"`
// The datetime to send fax at, in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. If time is not specified, the fax will be send immediately
SendTime time.Time `json:"sendTime,omitempty"`
// Optional. Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols
CoverPageText string `json:"coverPageText,omitempty"`
// Internal identifier of the original fax message which needs to be resent. Mandatory for resend fax request
OriginalMessageId string `json:"originalMessageId,omitempty"`
}
type CreatePagerMessageRequest ¶
type CreatePagerMessageRequest struct {
// Sender of a pager message. The extensionNumber property must be filled
From *MessageStoreCallerInfoRequest `json:"from"`
// Internal identifier of a message this message replies to
ReplyOn int32 `json:"replyOn,omitempty"`
// Text of a pager message. Max length is 1024 symbols (2-byte UTF-16 encoded). If a character is encoded in 4 bytes in UTF-16 it is treated as 2 characters, thus restricting the maximum message length to 512 symbols
Text string `json:"text"`
// Optional if replyOn parameter is specified. Receiver of a pager message. The extensionNumber property must be filled
To []MessageStoreCallerInfoRequest `json:"to,omitempty"`
}
type CreateSipRegistrationRequest ¶
type CreateSipRegistrationRequest struct {
// Device unique description
Device []DeviceInfoRequest `json:"device"`
// SIP settings for device
SipInfo []SipInfoRequest `json:"sipInfo"`
}
type CreateSipRegistrationResponse ¶
type CreateSipRegistrationResponse struct {
// SIP settings for device
SipInfo []SipInfoResponse `json:"sipInfo"`
// SIP flags data
SipFlags []SipFlagsRespones `json:"sipFlags"`
}
type CreateSmsMessage ¶
type CreateSmsMessage struct {
// Sender of an SMS message. The phoneNumber property must be filled to correspond to one of the account phone numbers which is allowed to send SMS
From *MessageStoreCallerInfoRequest `json:"from"`
// Receiver of an SMS message. The phoneNumber property must be filled
To []MessageStoreCallerInfoRequest `json:"to"`
// Text of a message. Max length is 1000 symbols (2-byte UTF-16 encoded). If a character is encoded in 4 bytes in UTF-16 it is treated as 2 characters, thus restricting the maximum message length to 500 symbols
Text string `json:"text"`
}
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct {
// Mandatory. Collection of URIs to API resources (see Event Types for details). For APNS transport type only message event filter is available
EventFilters []string `json:"eventFilters,omitempty"`
// Notification delivery settings
DeliveryMode *NotificationDeliveryModeRequest `json:"deliveryMode"`
// Subscription lifetime in seconds. Max value is 7 days (604800 sec)
ExpiresIn int32 `json:"expiresIn,omitempty"`
}
type CustomCompanyGreetingAnsweringRuleInfo ¶
type CustomCompanyGreetingAnsweringRuleInfo struct {
// Internal identifier of an answering rule
Id string `json:"id,omitempty"`
}
type CustomCompanyGreetingInfo ¶
type CustomCompanyGreetingInfo struct {
// Link to an extension custom greeting
Uri string `json:"uri,omitempty"`
// Internal identifier of an answering rule
Id string `json:"id,omitempty"`
// Internal identifier of an answering rule
Type_ string `json:"type,omitempty"`
// Content media type in WAV/MP3 format
ContentType string `json:"contentType,omitempty"`
// Link to a greeting content (audio file)
ContentUri string `json:"contentUri,omitempty"`
// Information on an answering rule that the greeting is applied to
AnsweringRule *CustomGreetingAnsweringRuleInfo `json:"answeringRule,omitempty"`
}
type CustomCompanyGreetingRequest ¶
type CustomCompanyGreetingRequest struct {
// Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'HoldMusic']
Type_ string `json:"type,omitempty"`
// nformation on an answering rule that the greeting is applied to
AnsweringRule *CustomCompanyGreetingAnsweringRuleInfo `json:"answeringRule,omitempty"`
}
type CustomDataApiResponse ¶
type CustomDataApiResponse struct {
// Custom data access key
Id string `json:"id"`
// Link to the custom data
Uri string `json:"uri"`
// Description of custom data
Value string `json:"value,omitempty"`
// Time of the last change in custom data
LastModifiedTime string `json:"lastModifiedTime"`
// Attachment data: link and type
Attachment *CustomDataAttachmentInfo `json:"attachment,omitempty"`
}
type CustomDataRequest ¶
type CustomDataRequest struct {
// Custom data access key. Optional. If specified, must match the custom key in the URL
Id string `json:"id,omitempty"`
// Description of custom data. Mandatory for create, if there is no attachment specified. Maximum length is limited to 256 symbols
Value string `json:"value,omitempty"`
}
type CustomDataResource ¶
type CustomGreetingAnsweringRuleInfoRequest ¶
type CustomGreetingAnsweringRuleInfoRequest struct {
// Internal identifier of an answering rule
Id string `json:"id,omitempty"`
}
type CustomGreetingRequest ¶
type CustomGreetingRequest struct {
// Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'HoldMusic']
Type_ string `json:"type,omitempty"`
// nformation on an answering rule that the greeting is applied to
AnsweringRule *CustomGreetingAnsweringRuleInfoRequest `json:"answeringRule,omitempty"`
}
type DefaultUserRoleRequest ¶
type DefaultUserRoleRequest struct {
// Internal identifier of a user role to be set as default, see User Role List
Id string `json:"id,omitempty"`
}
type DeliveryModeResource ¶
type DeliveryModeResource struct {
TransportType string `json:"transportType,omitempty"`
Encryption bool `json:"encryption,omitempty"`
Address string `json:"address,omitempty"`
SubscriberKey string `json:"subscriberKey,omitempty"`
PublisherKey string `json:"publisherKey,omitempty"`
EncryptionAlgorithm string `json:"encryptionAlgorithm,omitempty"`
EncryptionKey string `json:"encryptionKey,omitempty"`
AuthKey string `json:"authKey,omitempty"`
CipherKey string `json:"cipherKey,omitempty"`
RegistrationId string `json:"registrationId,omitempty"`
CertificateName string `json:"certificateName,omitempty"`
}
type DepartmentBulkAssignResource ¶
type DepartmentBulkAssignResource struct {
Items []BulkAssignItem `json:"items,omitempty"`
}
type DepartmentInfo ¶
type DepartmentMemberList ¶
type DepartmentMemberList struct {
// List of department members extensions
Records []ExtensionInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type DepartmentResource ¶
type DetailedCallInfo ¶
type DetailedExtensionPresenceEvent ¶
type DetailedExtensionPresenceEvent struct {
// Internal identifier of an extension. Optional parameter
ExtensionId string `json:"extensionId,omitempty"`
// Telephony presence status. Returned if telephony status is changed.
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// Collection of Active Call Info
ActiveCalls []ActiveCallInfoWithoutSip `json:"activeCalls,omitempty"`
// Order number of a notification to state the chronology
Sequence int32 `json:"sequence,omitempty"`
// Aggregated presence status, calculated from a number of sources
PresenceStatus string `json:"presenceStatus,omitempty"`
// User-defined presence status (as previously published by the user)
UserStatus string `json:"userStatus,omitempty"`
// Extended DnD (Do not Disturb) status
DndStatus string `json:"dndStatus,omitempty"`
// If 'True' enables other extensions to see the extension presence status
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
// If 'True' enables the extension user to pick up a monitored line on hold
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
}
type DetailedExtensionPresenceWithSipEvent ¶
type DetailedExtensionPresenceWithSipEvent struct {
// Internal identifier of an extension. Optional parameter
ExtensionId string `json:"extensionId,omitempty"`
// Telephony presence status. Returned if telephony status is changed.
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// Collection of Active Call Info
ActiveCalls []ActiveCallInfo `json:"activeCalls,omitempty"`
// Order number of a notification to state the chronology
Sequence int32 `json:"sequence,omitempty"`
// Aggregated presence status, calculated from a number of sources
PresenceStatus string `json:"presenceStatus,omitempty"`
// User-defined presence status (as previously published by the user)
UserStatus string `json:"userStatus,omitempty"`
// Extended DnD (Do not Disturb) status
DndStatus string `json:"dndStatus,omitempty"`
// If 'True' enables other extensions to see the extension presence status
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
// If 'True' enables the extension user to pick up a monitored line on hold
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
}
type DeviceInfoRequest ¶
type DeviceInfoRequest struct {
// Device unique identifier, retrieved on previous session (if any)
Id string `json:"id,omitempty"`
// For iOS devices only Certificate name (used by iOS applications for APNS subscription)
AppExternalId string `json:"appExternalId,omitempty"`
// For SoftPhone only Computer name
ComputerName string `json:"computerName,omitempty"`
}
type DeviceInstance ¶
type DeviceModelExtResource ¶
type DeviceModelExtResource struct {
// Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'
Sku string `json:"sku,omitempty"`
// Device type. The default value is 'HardPhone'
Type_ string `json:"type,omitempty"`
// HardPhone model information
Model *DeviceModelResource `json:"model,omitempty"`
}
type DeviceModelExtsResource ¶
type DeviceModelExtsResource struct {
// Canonical URI of a device
Uri string `json:"uri,omitempty"`
// Devices data
Records []DeviceModelExtResource `json:"records,omitempty"`
}
type DeviceModelResource ¶
type DeviceOrder ¶
type DeviceOrder struct {
// Identifier of a device
Id string `json:"id,omitempty"`
// Canonical URI of an order resource
Uri string `json:"uri,omitempty"`
// List of devices ordered
Devices []DeviceResource `json:"devices,omitempty"`
}
type DeviceOrderCreation ¶
type DeviceOrderCreation struct {
// List of devices ordered
Devices []DeviceResource `json:"devices,omitempty"`
// For Async Order Only. Information on device ordering task
Task *TaskInfo `json:"task,omitempty"`
}
type DeviceOrderResource ¶
type DeviceOrderResource struct {
AccountId string `json:"accountId,omitempty"`
RequestNumber string `json:"requestNumber,omitempty"`
DistributorName string `json:"distributorName,omitempty"`
TrackingNumber string `json:"trackingNumber,omitempty"`
ShippingCarrier string `json:"shippingCarrier,omitempty"`
Devices []DeviceInstance `json:"devices,omitempty"`
}
type DeviceResource ¶
type DeviceResource struct {
// Internal identifier of a device
Id string `json:"id,omitempty"`
// Canonical URI of a device
Uri string `json:"uri,omitempty"`
// Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'
Sku string `json:"sku,omitempty"`
// Device type. The default value is 'HardPhone'
Type_ string `json:"type,omitempty"`
// Status of a device = ['Online', 'Offline']
Status string `json:"status,omitempty"`
// Device name. Mandatory if ordering SoftPhone or OtherPhone . Optional for HardPhone . If not specified for HardPhone, then device model name is used as device name
Name string `json:"name,omitempty"`
// Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint_id for softphone and mobile applications
Serial string `json:"serial,omitempty"`
// PC name for softphone
ComputerName string `json:"computerName,omitempty"`
// HardPhone model information
Model *DeviceModelResource `json:"model,omitempty"`
// This attribute can be omitted for unassigned devices
Extension *ExtensionResourceIntId `json:"extension,omitempty"`
// Phone lines information
PhoneLines []PhoneLineResource `json:"phoneLines,omitempty"`
// Address for emergency cases. The same emergency address is assigned to all numbers of a single device ,
EmergencyServiceAddress *EmergencyServiceAddressResource `json:"emergencyServiceAddress,omitempty"`
// Shipping information, according to which devices (in case of HardPhone ) or e911 stickers (in case of SoftPhone and OtherPhone ) will be delivered to the customer
Shipping *ShippingResource `json:"shipping,omitempty"`
// Box billing identifier of a device. Applicable only for HardPhones. It is an alternative way to identify the device to be ordered. Either model structure, or boxBillingId must be specified for HardPhone
BoxBillingId int32 `json:"boxBillingId,omitempty"`
// Pooling type of a deviceHost - device with standalone paid phone line which can be linked to Glip/Softphone instanceGuest - device with a linked phone lineNone - device without a phone line or with specific line (free, BLA, etc.) = ['Host', 'Guest', 'None']
LinePooling string `json:"linePooling,omitempty"`
}
type DeviceToRegister ¶
type DevicesResource ¶
type DevicesResource struct {
Uri string `json:"uri,omitempty"`
Records []DeviceResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type DialInNumberResource ¶
type DialInNumberResource struct {
PhoneNumber string `json:"phoneNumber,omitempty"`
FormattedNumber string `json:"formattedNumber,omitempty"`
Location string `json:"location,omitempty"`
Country *CountryResource `json:"country,omitempty"`
}
type DictionaryGreetingInfo ¶
type DictionaryGreetingInfo struct {
// Internal identifier of a greeting
Id string `json:"id,omitempty"`
// Link to a greeting
Uri string `json:"uri,omitempty"`
// Name of a greeting
Name string `json:"name,omitempty"`
// Usage type of a greeting, specifying if the greeting is applied for user extension or department extension = ['UserExtensionAnsweringRule', 'ExtensionAnsweringRule', 'DepartmentExtensionAnsweringRule', 'CompanyAnsweringRule', 'CompanyAfterHoursAnsweringRule']
UsageType string `json:"usageType,omitempty"`
// Text of a greeting, if any
Text string `json:"text,omitempty"`
// Link to a greeting content (audio file), if any
ContentUri string `json:"contentUri,omitempty"`
// Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'InterruptPrompt', 'HoldMusic', 'Company']
Type_ string `json:"type,omitempty"`
// Category of a greeting, specifying data form. The category value 'None' specifies that greetings of a certain type ('Introductory', 'ConnectingAudio', etc.) are switched off for an extension = ['Music', 'Message', 'Ring Tones', 'None']
Category string `json:"category,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type DictionaryGreetingList ¶
type DictionaryGreetingList struct {
// Canonical URI of greetings list resource
Uri string `json:"uri,omitempty"`
// List of greetings
Records []DictionaryGreetingInfo `json:"records,omitempty"`
}
type DictionaryShippingOptions ¶
type DictionaryShippingOptions struct {
// Quantity of devices to ship
Quantity int32 `json:"quantity,omitempty"`
// Price for shipping with the specified method (depending on the quantity value)
Price int32 `json:"price,omitempty"`
// Shipping method description
Method *ShippingMethod `json:"method,omitempty"`
}
type EditGroupRequest ¶
type EditGroupRequest struct {
// List of users to be added to the team
AddedPersonIds []string `json:"addedPersonIds,omitempty"`
// List of user email addresses to be added to the team (i.e. as guests)
AddedPersonEmails []string `json:"addedPersonEmails,omitempty"`
// List of users to be removed from the team
RemovedPersonIds []string `json:"removedPersonIds,omitempty"`
}
type EditPagingGroupRequest ¶
type EditPagingGroupRequest struct {
// List of users that will be allowed to page a group specified
AddedUserIds []string `json:"addedUserIds,omitempty"`
// List of users that will be unallowed to page a group specified
RemovedUserIds []string `json:"removedUserIds,omitempty"`
// List of account devices that will be assigned to a paging group specified
AddedDeviceIds []string `json:"addedDeviceIds,omitempty"`
// List of account devices that will be unassigned from a paging group specified
RemovedDeviceIds []string `json:"removedDeviceIds,omitempty"`
}
type EditParkLocationRequest ¶
type EditParkLocationRequest struct {
// List of users that will be allowed to park/unpark calls using the specified park location
AddedUserIds []string `json:"addedUserIds,omitempty"`
// List of users that will be unallowed to park/unpark calls using the specified park location
RemovedUserIds []string `json:"removedUserIds,omitempty"`
}
type EmailInfoRequest ¶
type EmailResource ¶
type EmergencyAddress ¶
type EmergencyAddressInfo ¶
type EmergencyAddressInfo struct {
// Name of a customer
CustomerName string `json:"customerName,omitempty"`
// Street address, line 1 - street address, P.O. box, company name, c/o
Street string `json:"street,omitempty"`
// Street address, line 2 - apartment, suite, unit, building, floor, etc.
Street2 string `json:"street2,omitempty"`
// City name
City string `json:"city,omitempty"`
// State/province name
State string `json:"state,omitempty"`
// Zip code
Zip string `json:"zip,omitempty"`
// Country name
Country string `json:"country,omitempty"`
}
type EmergencyAddressInfoRequest ¶
type EmergencyAddressInfoRequest struct {
// Name of a customer
CustomerName string `json:"customerName,omitempty"`
// Street address, line 1 - street address, P.O. box, company name, c/o
Street string `json:"street,omitempty"`
// Street address, line 2 - apartment, suite, unit, building, floor, etc
Street2 string `json:"street2,omitempty"`
// City name
City string `json:"city,omitempty"`
// State/province name
State string `json:"state,omitempty"`
// Zip code
Zip string `json:"zip,omitempty"`
// Country name
Country string `json:"country,omitempty"`
}
type EmergencyServiceAddressResource ¶
type EmergencyServiceAddressResource struct {
Street string `json:"street,omitempty"`
Street2 string `json:"street2,omitempty"`
City string `json:"city,omitempty"`
State string `json:"state,omitempty"`
Country string `json:"country,omitempty"`
Zip string `json:"zip,omitempty"`
CustomerName string `json:"customerName,omitempty"`
}
type EnterpriseUser ¶
type EnterpriseUser struct {
Department string `json:"department,omitempty"`
}
type ErrorEntity ¶
type ExtensionActiveCallsResponse ¶
type ExtensionActiveCallsResponse struct {
// List of call log records
Records []CallLogRecord `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type ExtensionAssignmentResult ¶
type ExtensionAssignmentResult struct {
Successful bool `json:"successful,omitempty"`
Extension *ExtensionResource `json:"extension,omitempty"`
Error_ *ErrorEntity `json:"error,omitempty"`
}
type ExtensionCallLogResponse ¶
type ExtensionCallLogResponse struct {
// List of call log records
Records []CallLogRecord `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type ExtensionCallerIdInfo ¶
type ExtensionCallerIdInfo struct {
// Canonical URL of a caller ID resource
Uri string `json:"uri,omitempty"`
ByDevice []CallerIdByDevice `json:"byDevice,omitempty"`
ByFeature []CallerIdByFeature `json:"byFeature,omitempty"`
}
type ExtensionCountryInfoRequest ¶
type ExtensionCountryInfoRequest struct {
// internal Identifier for country
Id string `json:"id,omitempty"`
}
type ExtensionCreationRequest ¶
type ExtensionCreationRequest struct {
// Contact Information
Contact *ContactInfoUpdateRequest `json:"contact,omitempty"`
// Number of extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Password for extension. If not specified, the password is auto-generated
Password string `json:"password,omitempty"`
// List of non-RC internal identifiers assigned to an extension
References []ReferenceInfo `json:"references,omitempty"`
// Extension region data (timezone, home country, language)
RegionalSettings *RegionalSettings `json:"regionalSettings,omitempty"`
// Specifies extension configuration wizard state (web service setup). The default value is 'NotStarted' = ['NotStarted', 'Incomplete', 'Completed']
SetupWizardState string `json:"setupWizardState,omitempty"`
// Extension current state = ['Enabled', 'Disabled', 'NotActivated', 'Unassigned']
Status string `json:"status,omitempty"`
// Status information (reason, comment). For 'Disabled' status only
StatusInfo *ExtensionStatusInfo `json:"statusInfo,omitempty"`
// Extension type = ['User', 'VirtualUser', 'DigitalUser', 'Department']
Type_ string `json:"type,omitempty"`
}
type ExtensionFavoritesEvent ¶
type ExtensionFavoritesEvent struct {
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
}
type ExtensionFavoritesPresenceEvent ¶
type ExtensionFavoritesPresenceEvent struct {
// Internal identifier of an extension. Optional parameter
ExtensionId string `json:"extensionId,omitempty"`
// Telephony presence status. Returned if telephony status is changed.
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// Order number of a notification to state the chronology
Sequence int32 `json:"sequence,omitempty"`
// Aggregated presence status, calculated from a number of sources
PresenceStatus string `json:"presenceStatus,omitempty"`
// User-defined presence status (as previously published by the user)
UserStatus string `json:"userStatus,omitempty"`
// Extended DnD (Do not Disturb) status
DndStatus string `json:"dndStatus,omitempty"`
// If 'True' enables other extensions to see the extension presence status
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
// If 'True' enables the extension user to pick up a monitored line on hold
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
}
type ExtensionFormattingLocaleInfoRequest ¶
type ExtensionFormattingLocaleInfoRequest struct {
// Internal Identifier of a formatting language
Id string `json:"id,omitempty"`
}
type ExtensionGrantListEvent ¶
type ExtensionGrantListEvent struct {
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
}
type ExtensionGrantResource ¶
type ExtensionGrantResource struct {
Uri string `json:"uri,omitempty"`
Extension *InlinedExtensionResource `json:"extension,omitempty"`
CallPickup bool `json:"callPickup,omitempty"`
CallMonitoring bool `json:"callMonitoring,omitempty"`
}
type ExtensionGrantsResource ¶
type ExtensionGrantsResource struct {
Uri string `json:"uri,omitempty"`
Records []ExtensionGrantResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type ExtensionGreetingLanguageInfoRequest ¶
type ExtensionGreetingLanguageInfoRequest struct {
// internal Identifier of a greeting language
Id string `json:"id,omitempty"`
}
type ExtensionIdResource ¶
type ExtensionInfo ¶
type ExtensionInfo struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
// Canonical URI of an extension
Uri string `json:"uri,omitempty"`
// Number of department extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension
PartnerId string `json:"partnerId,omitempty"`
}
type ExtensionInfoCallLog ¶
type ExtensionInfoEvent ¶
type ExtensionInfoEvent struct {
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
// Type of extension info change
EventType string `json:"eventType,omitempty"`
// Returned for 'Update' event type only. The possible values are: /nAccountInfo - change of account parameters/nExtensionInfo - change of contact info, service features, departments, status/nPhoneNumber - change of phone numbers/nRole - change of permissions/nProfileImage - change of profile image
Hints []string `json:"hints,omitempty"`
}
type ExtensionInfoGrants ¶
type ExtensionInfoGrants struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
// Canonical URI of an extension
Uri string `json:"uri,omitempty"`
// Extension short number (usually 3 or 4 digits)
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Extension type
Type_ string `json:"type,omitempty"`
}
type ExtensionInfoIntId ¶
type ExtensionInfoIntId struct {
// Internal identifier of an extension
Id int64 `json:"id,omitempty"`
// Canonical URI of an extension
Uri string `json:"uri,omitempty"`
// Number of department extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension
PartnerId string `json:"partnerId,omitempty"`
}
type ExtensionInfoMonitoredLines ¶
type ExtensionInfoMonitoredLines struct {
// Internal identifier of a monitored extension
Id string `json:"id,omitempty"`
// Canonical URI of a monitored extension
Uri string `json:"uri,omitempty"`
// Brief information on a monitored extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Type of a monitored extension
Type_ string `json:"type,omitempty"`
}
type ExtensionInfoProvisionPhoneNumbers ¶
type ExtensionInfoProvisionPhoneNumbers struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
// For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension
PartnerId string `json:"partnerId,omitempty"`
}
type ExtensionInfoSip ¶
type ExtensionLanguageInfoRequest ¶
type ExtensionLanguageInfoRequest struct {
// internal Identifier of a language
Id string `json:"id,omitempty"`
}
type ExtensionListEvent ¶
type ExtensionNotificationInfo ¶
type ExtensionNotificationInfo struct {
// Internal identifier of the extension
Id string `json:"id,omitempty"`
}
type ExtensionPermissions ¶
type ExtensionPermissions struct {
// Admin permission
Admin *PermissionInfo `json:"admin,omitempty"`
// International Calling permission
InternationalCalling *PermissionInfo `json:"internationalCalling,omitempty"`
}
type ExtensionPermissionsResource ¶
type ExtensionPermissionsResource struct {
Uri string `json:"uri,omitempty"`
Admin *Permission `json:"admin,omitempty"`
InternationalCalling *Permission `json:"internationalCalling,omitempty"`
FreeSoftPhoneDigitalLine *Permission `json:"freeSoftPhoneDigitalLine,omitempty"`
}
type ExtensionPresenceEvent ¶
type ExtensionPresenceEvent struct {
// Internal identifier of an extension. Optional parameter
ExtensionId string `json:"extensionId,omitempty"`
// Telephony presence status. Returned if telephony status is changed.
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// Order number of a notification to state the chronology
Sequence int32 `json:"sequence,omitempty"`
// Aggregated presence status, calculated from a number of sources
PresenceStatus string `json:"presenceStatus,omitempty"`
// User-defined presence status (as previously published by the user)
UserStatus string `json:"userStatus,omitempty"`
// Extended DnD (Do not Disturb) status
DndStatus string `json:"dndStatus,omitempty"`
// If 'True' enables other extensions to see the extension presence status
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
// If 'True' enables the extension user to pick up a monitored line on hold
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
}
type ExtensionPresenceLineEvent ¶
type ExtensionPresenceLineEvent struct {
// Extension information
Extension *ExtensionNotificationInfo `json:"extension,omitempty"`
// Order number of a notification to state the chronology
Sequence int32 `json:"sequence,omitempty"`
}
type ExtensionRegionalSettingRequest ¶
type ExtensionRegionalSettingRequest struct {
HomeCountry *ExtensionCountryInfoRequest `json:"homeCountry,omitempty"`
Timezone *ExtensionTimezoneInfoRequest `json:"timezone,omitempty"`
Language *ExtensionLanguageInfoRequest `json:"language,omitempty"`
GreetingLanguage *ExtensionGreetingLanguageInfoRequest `json:"greetingLanguage,omitempty"`
FormattingLocale *ExtensionFormattingLocaleInfoRequest `json:"formattingLocale,omitempty"`
// Time format setting. The default value is '12h' = ['12h', '24h']
TimeFormat string `json:"timeFormat,omitempty"`
}
type ExtensionResource ¶
type ExtensionResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
PartnerId string `json:"partnerId,omitempty"`
ExtensionNumber string `json:"extensionNumber,omitempty"`
LoginName string `json:"loginName,omitempty"`
Contact *ContactInfo `json:"contact,omitempty"`
References []Reference `json:"references,omitempty"`
Name string `json:"name,omitempty"`
Type_ string `json:"type,omitempty"`
Status string `json:"status,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Departments []DepartmentResource `json:"departments,omitempty"`
ServiceFeatures []ServiceFeatureValue `json:"serviceFeatures,omitempty"`
RegionalSettings *RegionalSettingsResource `json:"regionalSettings,omitempty"`
SetupWizardState string `json:"setupWizardState,omitempty"`
Permissions *ExtensionPermissionsResource `json:"permissions,omitempty"`
Password string `json:"password,omitempty"`
IvrPin string `json:"ivrPin,omitempty"`
ProfileImage *ProfileImageResource `json:"profileImage,omitempty"`
}
type ExtensionResourceIntId ¶
type ExtensionResourceIntId struct {
Uri string `json:"uri,omitempty"`
Id int64 `json:"id,omitempty"`
PartnerId string `json:"partnerId,omitempty"`
ExtensionNumber string `json:"extensionNumber,omitempty"`
LoginName string `json:"loginName,omitempty"`
Contact *ContactInfo `json:"contact,omitempty"`
References []Reference `json:"references,omitempty"`
Name string `json:"name,omitempty"`
Type_ string `json:"type,omitempty"`
Status string `json:"status,omitempty"`
StatusInfo *StatusInfo `json:"statusInfo,omitempty"`
Departments []DepartmentResource `json:"departments,omitempty"`
ServiceFeatures []ServiceFeatureValue `json:"serviceFeatures,omitempty"`
RegionalSettings *RegionalSettingsResource `json:"regionalSettings,omitempty"`
SetupWizardState string `json:"setupWizardState,omitempty"`
Permissions *ExtensionPermissionsResource `json:"permissions,omitempty"`
Password string `json:"password,omitempty"`
IvrPin string `json:"ivrPin,omitempty"`
ProfileImage *ProfileImageResource `json:"profileImage,omitempty"`
}
type ExtensionServiceFeatureInfo ¶
type ExtensionServiceFeatureInfo struct {
// Feature status; shows feature availability for an extension
Enabled bool `json:"enabled,omitempty"`
// Feature name, see all available values in Service Feature List
FeatureName string `json:"featureName,omitempty"`
// Reason of limitation for a particular service feature. Returned only if the enabled parameter value is 'False', see Service Feature Limitations and Reasons. When retrieving service features for an extension, the reasons for the limitations, if any, are returned in response
Reason string `json:"reason,omitempty"`
}
type ExtensionStatusInfo ¶
type ExtensionTimezoneInfoRequest ¶
type ExtensionTimezoneInfoRequest struct {
// internal Identifier for timezone
Id string `json:"id,omitempty"`
}
type ExtensionUpdateRequest ¶
type ExtensionUpdateRequest struct {
Status string `json:"status,omitempty"`
StatusInfo *ExtensionStatusInfo `json:"statusInfo,omitempty"`
// Type of suspension
Reason string `json:"reason,omitempty"`
// Free Form user comment
Comment string `json:"comment,omitempty"`
// Extension number available
ExtensionNumber string `json:"extensionNumber,omitempty"`
Contact *ContactInfoUpdateRequest `json:"contact,omitempty"`
RegionalSettings *ExtensionRegionalSettingRequest `json:"regionalSettings,omitempty"`
SetupWizardState string `json:"setupWizardState,omitempty"`
// Extension partner identifier
PartnerId string `json:"partnerId,omitempty"`
// IVR PIN
IvrPin string `json:"ivrPin,omitempty"`
// Password for extension
Password string `json:"password,omitempty"`
// For Department extension type only. Call queue settings
CallQueueInfo *CallQueueInfoRequest `json:"callQueueInfo,omitempty"`
// For NotActivated extensions only. Welcome email setting
Transition string `json:"transition,omitempty"`
}
type ExtensionUserCredentailsRequest ¶
type ExtensionUserCredentailsRequest struct {
// User password of an extension
Password string `json:"password,omitempty"`
// User pin of an extension
IvrPin string `json:"ivrPin,omitempty"`
SecretQuestion *ExtensionSecretQuestionInfo `json:"secretQuestion,omitempty"`
}
type ExtensionUserCredentials ¶
type ExtensionUserCredentials struct {
// Secret question of an extension user
SecretQuestion *SecretQuestionInfo `json:"secretQuestion,omitempty"`
}
type ExtensionUserGroupsResource ¶
type ExtensionUserGroupsResource struct {
Uri string `json:"uri,omitempty"`
Groups []UserGroupIdResource `json:"groups,omitempty"`
}
type ExtensionWithRolesCollectionResource ¶
type ExtensionWithRolesCollectionResource struct {
Uri string `json:"uri,omitempty"`
Records []ExtensionWithRolesResource `json:"records,omitempty"`
}
type ExtensionWithRolesResource ¶
type ExtensionWithRolesResource struct {
Uri string `json:"uri,omitempty"`
ExtensionId string `json:"extensionId,omitempty"`
Roles []AssignedRoleResource `json:"roles,omitempty"`
}
type Extensions ¶
type Extensions struct {
Uri string `json:"uri,omitempty"`
Records []ExtensionResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type FavoriteCollection ¶
type FavoriteCollection struct {
Uri string `json:"uri,omitempty"`
Records []FavoriteContactResource `json:"records,omitempty"`
}
type FaxCallerInfo ¶
type FaxCallerInfo struct {
// Recipient information. Phone number property is mandatory. Optional for resend fax request
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type FaxCountryInfo ¶
type FaxResendInfo ¶
type FaxResendInfo struct {
OriginalMessageId int64 `json:"originalMessageId"`
SendTime time.Time `json:"sendTime,omitempty"`
To []CallerInfo `json:"to,omitempty"`
}
type FaxResponse ¶
type FaxResponse struct {
// Internal identifier of a message
Id int64 `json:"id,omitempty"`
// Canonical URI of a message
Uri string `json:"uri,omitempty"`
// Message type - 'Fax'
Type_ string `json:"type,omitempty"`
// Sender information
From *CallerInfoFrom `json:"from,omitempty"`
// Recipient information
To []CallerInfoTo `json:"to,omitempty"`
// Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
CreationTime time.Time `json:"creationTime,omitempty"`
// Message read status
ReadStatus string `json:"readStatus,omitempty"`
// Message priority
Priority string `json:"priority,omitempty"`
// The list of message attachments
Attachments []MessageAttachmentInfoIntId `json:"attachments,omitempty"`
// Message direction
Direction string `json:"direction,omitempty"`
// Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly
Availability string `json:"availability,omitempty"`
// Message status. 'Queued' - the message is queued for sending; 'Sent' - a message is successfully sent; 'SendingFailed' - a message sending attempt has failed; 'Received' - a message is received (inbound messages have this status by default)
MessageStatus string `json:"messageStatus,omitempty"`
// Resolution of a fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)
FaxResolution string `json:"faxResolution,omitempty"`
// Page count in a fax message
FaxPageCount int32 `json:"faxPageCount,omitempty"`
// Datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// Cover page identifier. For the list of available cover page identifiers please call the method Fax Cover Pages
CoverIndex int32 `json:"coverIndex,omitempty"`
// Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols
CoverPageText string `json:"coverPageText,omitempty"`
}
type FederationAccountInfo ¶
type FederationAccountInfo struct {
// Internal identifier of an account
Id string `json:"id,omitempty"`
// Company name of an account
CompanyName string `json:"companyName,omitempty"`
// Federation name of an account
FederatedName string `json:"federatedName,omitempty"`
// Datetime when this account was linked to a federation, in ISO 8601 format, for example 2016-03-10T18:07:52.534Z
LinkCreationTime string `json:"linkCreationTime,omitempty"`
// Main company number information
MainNumber *FederationMainNumberInfo `json:"mainNumber,omitempty"`
// Count of federation extension numbers conflicting with extension numbers of the requested account. For extension numbers of the requested account the value of this parameter is '0'
ConflictCount int32 `json:"conflictCount,omitempty"`
}
type FederationConflicts ¶
type FederationConflicts struct {
// List of conflicting federation extensions
Records []FederationExtensionInfo `json:"records"`
}
type FederationExtensionInfo ¶
type FederationExtensionInfo struct {
// Internal identifier of an extension of current account
Id string `json:"id,omitempty"`
// Number of an extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Extension user first name
FirstName string `json:"firstName,omitempty"`
// Extension user last name
LastName string `json:"lastName,omitempty"`
// Conflicting extensions information
Conflicts []ConflictsInfo `json:"conflicts,omitempty"`
}
type FederationExtensionNumbers ¶
type FederationExtensionNumbers struct {
// List of extension numbers of the current federation
Records []FederationExtensionNumbersExtensionInfo `json:"records"`
}
type FederationInfo ¶
type FederationInfo struct {
// Internal identifier of a federation
Id string `json:"id,omitempty"`
// Name of a federation
DisplayName string `json:"displayName,omitempty"`
// Datetime of federation creation, in ISO 8601 format, for example 2016-03-10T18:07:52.534Z
CreationTime time.Time `json:"creationTime,omitempty"`
// Datetime of the last change of federation composition, in ISO 8601 format, for example 2016-03-10T18:07:52.534Z
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// List of countries which can be selected for a dialing plan
Accounts []FederationAccountInfo `json:"accounts,omitempty"`
}
type FederationMainNumberInfo ¶
type FederationMainNumberInfo struct {
// Main company number of an account in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Main company number of an account formatted as consistent with the home country of the current extension
FormattedPhoneNumber string `json:"formattedPhoneNumber,omitempty"`
}
type FeeChargeResource ¶
type FilterSupported ¶
type FixedOrderAgents ¶
type FixedOrderAgents struct {
Extension *ExtensionInfo `json:"extension,omitempty"`
// Ordinal of an agent (call queue member)
Index int32 `json:"index,omitempty"`
}
type FormDataContentDisposition ¶
type FormDataContentDisposition struct {
Type_ string `json:"type,omitempty"`
FileName string `json:"fileName,omitempty"`
CreationDate time.Time `json:"creationDate,omitempty"`
ModificationDate time.Time `json:"modificationDate,omitempty"`
ReadDate time.Time `json:"readDate,omitempty"`
Size int64 `json:"size,omitempty"`
Name string `json:"name,omitempty"`
}
type FormFieldResource ¶
type FormattingLocaleInfo ¶
type FormattingLocaleInfo struct {
// Internal identifier of a formatting language
Id string `json:"id,omitempty"`
// Localization code of a formatting language
LocaleCode string `json:"localeCode,omitempty"`
Name string `json:"name,omitempty"`
}
Official name of a formatting language
type ForwardingInfo ¶
type ForwardingInfo struct {
// Specifies if the user's softphone(s) are notified before forwarding the incoming call to desk phones and forwarding numbers
NotifyMySoftPhones bool `json:"notifyMySoftPhones,omitempty"`
// Specifies if the administrator's softphone is notified before forwarding the incoming call to desk phones and forwarding numbers. The default value is 'False'
NotifyAdminSoftPhones bool `json:"notifyAdminSoftPhones,omitempty"`
// Number of rings before forwarding starts
SoftPhonesRingCount int32 `json:"softPhonesRingCount,omitempty"`
// Specifies the order in which forwarding numbers ring. 'Sequentially' means that forwarding numbers are ringing one at a time, in order of priority. 'Simultaneously' means that forwarding numbers are ring all at the same time
RingingMode string `json:"ringingMode,omitempty"`
// Information on a call forwarding rule
Rules []RuleInfo `json:"rules,omitempty"`
}
type ForwardingInfoCreateRuleRequest ¶
type ForwardingInfoCreateRuleRequest struct {
// Specifies if the first ring on desktop/mobile apps is enabled. The default value is 'True'
NotifyMySoftPhones bool `json:"notifyMySoftPhones,omitempty"`
// Specifies if the administrator's softphone (desktop application) is notified before forwarding the incoming call to desk phones and forwarding numbers. The default value is 'True'
NotifyAdminSoftPhones bool `json:"notifyAdminSoftPhones,omitempty"`
// Specifies delay between ring on apps and starting of a call forwarding. The default value is 1
SoftPhonesRingCount int32 `json:"softPhonesRingCount,omitempty"`
// Specifies the order in which forwarding numbers ring. 'Sequentially' means that forwarding numbers are ringing one at a time, in order of priority. 'Simultaneously' means that forwarding numbers are ringing all at the same time. The default value is 'Sequentially'
RingingMode string `json:"ringingMode,omitempty"`
// Information on a call forwarding rule
Rules []RuleInfoCreateRuleRequest `json:"rules,omitempty"`
}
type ForwardingNumberInfo ¶
type ForwardingNumberInfo struct {
// Internal identifier of a forwarding/call flip phone number
Id string `json:"id,omitempty"`
// Canonical URI of a forwarding/call flip phone number
Uri string `json:"uri,omitempty"`
// Forwarding/Call flip phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
// Forwarding/Call flip number title
Label string `json:"label,omitempty"`
// Type of option this phone number is used for. Multiple values are accepted
Features []string `json:"features,omitempty"`
// Number assigned to the call flip phone number, corresponds to the shortcut dial number
FlipNumber string `json:"flipNumber,omitempty"`
}
type ForwardingNumberInfoRules ¶
type ForwardingNumberInfoRules struct {
// Link to a forwarding number resource
Uri string `json:"uri,omitempty"`
// Internal identifier of a forwarding number
Id string `json:"id,omitempty"`
// Phone number to which the call is forwarded
PhoneNumber string `json:"phoneNumber,omitempty"`
// Title of a forwarding number
Label string `json:"label,omitempty"`
}
type ForwardingNumberInfoRulesCreateRuleRequest ¶
type ForwardingNumberInfoRulesCreateRuleRequest struct {
// Internal identifier of a forwarding number
Id string `json:"id,omitempty"`
}
type ForwardingNumbersResource ¶
type ForwardingNumbersResource struct {
Uri string `json:"uri,omitempty"`
Records []ForwardingNumberResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type GcmData ¶
type GcmData struct {
// Event filter URI
Event string `json:"event,omitempty"`
// Internal identifier of a subscription
SubscriptionId string `json:"subscriptionId,omitempty"`
// The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
Timestamp time.Time `json:"timestamp,omitempty"`
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
// Calling action, for example 'StartRing'
Action string `json:"action,omitempty"`
// Identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Identifier of a server
ServerId string `json:"serverId,omitempty"`
// Phone number of a caller
From string `json:"_from,omitempty"`
// Caller name
FromName string `json:"fromName,omitempty"`
// Phone number of a callee
To string `json:"to,omitempty"`
// Callee name
ToName string `json:"toName,omitempty"`
// Unique identifier of a session
Sid string `json:"sid,omitempty"`
// SIP proxy registration name
ToUrl string `json:"toUrl,omitempty"`
// User data
SrvLvl string `json:"srvLvl,omitempty"`
// User data
SrvLvlExt string `json:"srvLvlExt,omitempty"`
}
type GcmInfo ¶
type GcmInfo struct {
// Notification priority, if the value is 'high' then notification is turned on even if the application is in background
Priority string `json:"priority,omitempty"`
// Notification lifetime value in seconds, the default value is 30 seconds
TimeToLive int32 `json:"time_to_live,omitempty"`
// GCM data
Data *GcmData `json:"data,omitempty"`
}
type GetAccountCallLogRecordResponse ¶
type GetAccountCallLogRecordResponse struct {
// Internal identifier of a cal log record
Id string `json:"id,omitempty"`
// Canonical URI of a call log record
Uri string `json:"uri,omitempty"`
// Internal identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Caller information
From *CallLogCallerInfo `json:"from,omitempty"`
// Callee information
To *CallLogCallerInfo `json:"to,omitempty"`
// Call type
Type_ string `json:"type,omitempty"`
// Call direction
Direction string `json:"direction,omitempty"`
// Action description of the call operation
Action string `json:"action,omitempty"`
// Status description of the call operation
Result string `json:"result,omitempty"`
// The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
StartTime time.Time `json:"startTime,omitempty"`
// Call duration in seconds
Duration int32 `json:"duration,omitempty"`
// Call recording data. Returned if the call is recorded
Recording *RecordingInfo `json:"recording,omitempty"`
}
type GetAccountDevicesResponse ¶
type GetAccountDevicesResponse struct {
// List of extension records
Records []GetDeviceInfoResponse `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetAccountInfoResponse ¶
type GetAccountInfoResponse struct {
// Internal identifier of an account
Id string `json:"id,omitempty"`
// Canonical URI of an account
Uri string `json:"uri,omitempty"`
// Main phone number of the current account
MainNumber string `json:"mainNumber,omitempty"`
// Operator's extension information. This extension will receive all calls and messages intended for the operator
Operator *GetExtensionInfoResponse `json:"operator,omitempty"`
// Additional account identifier, developed and applied by the client
PartnerId string `json:"partnerId,omitempty"`
// Account service information, including brand, service plan and billing plan
ServiceInfo *ServiceInfo `json:"serviceInfo,omitempty"`
// Specifies account configuration wizard state (web service setup). The default value is 'NotStarted'
SetupWizardState string `json:"setupWizardState,omitempty"`
// Status of the current account
Status string `json:"status,omitempty"`
// Status information (reason, comment, lifetime). Returned for 'Disabled' status only
StatusInfo *AccountStatusInfo `json:"statusInfo,omitempty"`
// Account level region data (web service Auto-Receptionist settings)
RegionalSettings *RegionalSettings `json:"regionalSettings,omitempty"`
// Specifies whether an account is included into any federation of accounts or not
Federated bool `json:"federated,omitempty"`
}
type GetCallRecordingResponse ¶
type GetCallRecordingResponse struct {
// Internal identifier of the call recording
Id string `json:"id,omitempty"`
// Link to the call recording binary content
ContentUri string `json:"contentUri,omitempty"`
// Call recording file format. Supported format is audio/x-wav
ContentType string `json:"contentType,omitempty"`
// Recorded call duration
Duration int32 `json:"duration,omitempty"`
}
type GetConferencingInfoResponse ¶
type GetConferencingInfoResponse struct {
// Canonical URI of a conferencing
Uri string `json:"uri,omitempty"`
// Determines if host user allows conference participants to join before the host
AllowJoinBeforeHost bool `json:"allowJoinBeforeHost,omitempty"`
// Access code for a host user
HostCode string `json:"hostCode,omitempty"`
// Internal parameter specifying conferencing engine
Mode string `json:"mode,omitempty"`
// Access code for any participant
ParticipantCode string `json:"participantCode,omitempty"`
// Primary conference phone number for user's home country returned in E.164 (11-digits) format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Short URL leading to the service web page Tap to Join for audio conference bridge
TapToJoinUri string `json:"tapToJoinUri,omitempty"`
// List of multiple dial-in phone numbers to connect to audio conference service, relevant for user's brand. Each number is given with the country and location information, in order to let the user choose the less expensive way to connect to a conference. The first number in the list is the primary conference number, that is default and domestic
PhoneNumbers []PhoneNumberInfoConferencing `json:"phoneNumbers,omitempty"`
}
type GetCountryInfoConferencing ¶
type GetCountryInfoConferencing struct {
// Internal identifier of a country
Id string `json:"id,omitempty"`
// Canonical URI of a country
Uri string `json:"uri,omitempty"`
// Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes
CallingCode string `json:"callingCode,omitempty"`
// Emergency calling feature availability/emergency address requirement indicator
EmergencyCalling bool `json:"emergencyCalling,omitempty"`
// Country code according to the ISO standard, see ISO 3166
IsoCode string `json:"isoCode,omitempty"`
// Official name of a country
Name string `json:"name,omitempty"`
}
type GetCountryInfoDictionaryResponse ¶
type GetCountryInfoDictionaryResponse struct {
// Internal identifier of a country
Id string `json:"id,omitempty"`
// Canonical URI of a country
Uri string `json:"uri,omitempty"`
// Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes
CallingCode string `json:"callingCode,omitempty"`
// Emergency calling feature availability/emergency address requirement indicator
EmergencyCalling bool `json:"emergencyCalling,omitempty"`
// Country code according to the ISO standard, see ISO 3166
IsoCode string `json:"isoCode,omitempty"`
// Official name of a country
Name string `json:"name,omitempty"`
// Determines whether phone numbers are available for a country
NumberSelling bool `json:"numberSelling,omitempty"`
// Specifies whether login with the phone numbers of this country is enabled or not
LoginAllowed bool `json:"loginAllowed,omitempty"`
// Indicates whether signup/billing is allowed for a country
SignupAllowed bool `json:"signupAllowed,omitempty"`
// Specifies if free phone line for softphone is available for a country or not
FreeSoftphoneLine bool `json:"freeSoftphoneLine,omitempty"`
}
type GetCountryInfoNumberParser ¶
type GetCountryInfoNumberParser struct {
// Internal identifier of a country
Id string `json:"id,omitempty"`
// Canonical URI of a country
Uri string `json:"uri,omitempty"`
// Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes
CallingCode string `json:"callingCode,omitempty"`
// Emergency calling feature availability/emergency address requirement indicator
EmergencyCalling bool `json:"emergencyCalling,omitempty"`
// Country code according to the ISO standard, see ISO 3166
IsoCode string `json:"isoCode,omitempty"`
// Official name of a country
Name string `json:"name,omitempty"`
}
type GetCountryInfoState ¶
type GetCountryListResponse ¶
type GetCountryListResponse struct {
// List of countries with the country data
Records []GetCountryInfoDictionaryResponse `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetDeviceInfoResponse ¶
type GetDeviceInfoResponse struct {
// Internal identifier of a device
Id string `json:"id,omitempty"`
// Canonical URI of a device
Uri string `json:"uri,omitempty"`
// Device identification number (stock keeping unit) in the format TP-ID [-AT-AC], where TP is device type (HP for RC HardPhone, DV for all other devices including softphone); ID - device model ID; AT -addon type ID; AC - addon count (if any). For example 'HP-56-2-2'
Sku string `json:"sku,omitempty"`
// Device type. The default value is 'HardPhone'
Type_ string `json:"type,omitempty"`
// Device name. Mandatory if ordering SoftPhone or OtherPhone . Optional for HardPhone . If not specified for HardPhone, then device model name is used as device name
Name string `json:"name,omitempty"`
// Serial number for HardPhone (is returned only when the phone is shipped and provisioned); endpoint_id for softphone and mobile applications
Serial string `json:"serial,omitempty"`
// PC name for softphone
ComputerName string `json:"computerName,omitempty"`
// HardPhone model information
Model *ModelInfo `json:"model,omitempty"`
// This attribute can be omitted for unassigned devices
Extension *ExtensionInfoIntId `json:"extension,omitempty"`
// Address for emergency cases. The same emergency address is assigned to all the numbers of one device
EmergencyServiceAddress *EmergencyAddressInfo `json:"emergencyServiceAddress,omitempty"`
// Phone lines information
PhoneLines []PhoneLinesInfo `json:"phoneLines,omitempty"`
// Shipping information, according to which devices (in case of HardPhone ) or e911 stickers (in case of SoftPhone and OtherPhone ) will be delivered to the customer
Shipping *ShippingInfo `json:"shipping,omitempty"`
// Box billing identifier of a device. Applicable only for HardPhones. It is an alternative way to identify the device to be ordered. EitherT? model structure, or boxBillingId must be specified forT?HardPhone
BoxBillingId int32 `json:"boxBillingId,omitempty"`
}
type GetDialingPlanCountryInfo ¶
type GetDialingPlanCountryInfo struct {
// Internal identifier of a country
Id string `json:"id,omitempty"`
// Canonical URI of a country
Uri string `json:"uri,omitempty"`
// Country calling code defined by ITU-T recommendations E.123 and E.164, see Calling Codes
CallingCode string `json:"callingCode,omitempty"`
// Country code according to the ISO standard, see ISO 3166
IsoCode string `json:"isoCode,omitempty"`
// Official name of a country
Name string `json:"name,omitempty"`
}
type GetDialingPlanInfo ¶
type GetDialingPlanInfo struct {
// List of countries which can be selected for a dialing plan
Records []GetDialingPlanCountryInfo `json:"records"`
// Information on paging
Paging *PagingInfo `json:"paging"`
Navigation *NavigationInfo `json:"navigation"`
}
type GetExtensionCallLogRecordResponse ¶
type GetExtensionCallLogRecordResponse struct {
// Internal identifier of a cal log record
Id string `json:"id,omitempty"`
// Canonical URI of a call log record
Uri string `json:"uri,omitempty"`
// Internal identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Caller information
From *CallLogCallerInfo `json:"from,omitempty"`
// Callee information
To *CallLogCallerInfo `json:"to,omitempty"`
// Call type
Type_ string `json:"type,omitempty"`
// Call direction
Direction string `json:"direction,omitempty"`
// Action description of the call operation
Action string `json:"action,omitempty"`
// Status description of the call operation
Result string `json:"result,omitempty"`
// The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
StartTime time.Time `json:"startTime,omitempty"`
// Call duration in seconds
Duration int32 `json:"duration,omitempty"`
// Call recording data. Returned if the call is recorded
Recording *RecordingInfo `json:"recording,omitempty"`
}
type GetExtensionDevicesResponse ¶
type GetExtensionDevicesResponse struct {
// List of extension devices
Records []GetDeviceInfoResponse `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetExtensionForwardingNumberListResponse ¶
type GetExtensionForwardingNumberListResponse struct {
// List of forwarding phone numbers
Records []ForwardingNumberInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type GetExtensionGrantListResponse ¶
type GetExtensionGrantListResponse struct {
// List of extension grants with the data
Records []GrantInfo `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetExtensionInfoResponse ¶
type GetExtensionInfoResponse struct {
// Internal identifier of an extension
Id int64 `json:"id"`
// Canonical URI of an extension
Uri string `json:"uri"`
// Contact detailed information
Contact *ContactInfo `json:"contact,omitempty"`
// Information on department extension(s), to which the requested extension belongs. Returned only for user extensions, members of department, requested by single extensionId
Departments []DepartmentInfo `json:"departments,omitempty"`
// Number of department extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Extension user name
Name string `json:"name,omitempty"`
// For Partner Applications Internal identifier of an extension created by partner. The RingCentral supports the mapping of accounts and stores the corresponding account ID/extension ID for each partner ID of a client application. In request URIs partner IDs are accepted instead of regular RingCentral native IDs as path parameters using pid = XXX clause. Though in response URIs contain the corresponding account IDs and extension IDs. In all request and response bodies these values are reflected via partnerId attributes of account and extension
PartnerId string `json:"partnerId,omitempty"`
// Extension permissions, corresponding to the Service Web permissions 'Admin' and 'InternationalCalling'
Permissions *ExtensionPermissions `json:"permissions,omitempty"`
// Information on profile image
ProfileImage *ProfileImageInfo `json:"profileImage"`
// List of non-RC internal identifiers assigned to an extension
References []ReferenceInfo `json:"references,omitempty"`
// Extension region data (timezone, home country, language)
RegionalSettings *RegionalSettings `json:"regionalSettings,omitempty"`
// Extension service features returned in response only when the logged-in user requests his/her own extension info, see also Extension Service Features
ServiceFeatures []ExtensionServiceFeatureInfo `json:"serviceFeatures,omitempty"`
// Specifies extension configuration wizard state (web service setup). The default value is 'NotStarted'
SetupWizardState string `json:"setupWizardState,omitempty"`
// Extension current state. If the status is 'Unassigned'. Returned for all extensions
Status string `json:"status"`
// Status information (reason, comment). Returned for 'Disabled' status only
StatusInfo *ExtensionStatusInfo `json:"statusInfo,omitempty"`
// Extension type
Type_ string `json:"type"`
// For Department extension type only. Call queue settings
CallQueueInfo *CallQueueInfo `json:"callQueueInfo,omitempty"`
}
type GetExtensionListResponse ¶
type GetExtensionListResponse struct {
// List of extensions with extension information
Records []GetExtensionInfoResponse `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetExtensionPhoneNumbersResponse ¶
type GetExtensionPhoneNumbersResponse struct {
// List of phone numbers
Records []PhoneNumberInfo `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetLocationListResponse ¶
type GetLocationListResponse struct {
// List of locations
Records []LocationInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetMessageInfoResponse ¶
type GetMessageInfoResponse struct {
// Internal identifier of a message
Id string `json:"id,omitempty"`
// Canonical URI of a message
Uri string `json:"uri,omitempty"`
// The list of message attachments
Attachments []MessageAttachmentInfoIntId `json:"attachments,omitempty"`
// Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly
Availability string `json:"availability,omitempty"`
// SMS and Pager only. Identifier of the conversation the message belongs to
ConversationId int32 `json:"conversationId,omitempty"`
// Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
CreationTime time.Time `json:"creationTime,omitempty"`
// SMS only. Delivery error code returned by gateway
DeliveryErrorCode string `json:"deliveryErrorCode,omitempty"`
// Message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound
Direction string `json:"direction,omitempty"`
// Fax only. Page count in fax message
FaxPageCount int32 `json:"faxPageCount,omitempty"`
// Fax only. Resolution of fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)
FaxResolution string `json:"faxResolution,omitempty"`
// Sender information
From *MessageStoreCallerInfoResponse `json:"from,omitempty"`
// The datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// Message status. Different message types may have different allowed status values.For outbound faxes the aggregated message status is returned: If status for at least one recipient is 'Queued', then 'Queued' value is returned If status for at least one recipient is 'SendingFailed', then 'SendingFailed' value is returned In other cases Sent status is returned
MessageStatus string `json:"messageStatus,omitempty"`
// Pager only True if at least one of the message recipients is Department extension
PgToDepartment bool `json:"pgToDepartment,omitempty"`
// Message priority
Priority string `json:"priority,omitempty"`
// Message read status
ReadStatus string `json:"readStatus,omitempty"`
// SMS only. The datetime when outbound SMS was delivered to recipient's handset in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. It is filled only if the carrier sends a delivery receipt to RingCentral
SmsDeliveryTime time.Time `json:"smsDeliveryTime,omitempty"`
// SMS only. Number of attempts made to send an outbound SMS to the gateway (if gateway is temporary unavailable)
SmsSendingAttemptsCount int32 `json:"smsSendingAttemptsCount,omitempty"`
// Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment
Subject string `json:"subject,omitempty"`
// Recipient information
To []MessageStoreCallerInfoResponse `json:"to,omitempty"`
// Message type
Type_ string `json:"type,omitempty"`
// Voicemail only. Status of voicemail to text transcription. If VoicemailToText feature is not activated for account, the 'NotAvailable' value is returned
VmTranscriptionStatus string `json:"vmTranscriptionStatus,omitempty"`
}
type GetMessageInfoResponseIntId ¶
type GetMessageInfoResponseIntId struct {
// Internal identifier of a message
Id int64 `json:"id,omitempty"`
// Canonical URI of a message
Uri string `json:"uri,omitempty"`
// The list of message attachments
Attachments []MessageAttachmentInfoIntId `json:"attachments,omitempty"`
// Message availability status. Message in 'Deleted' state is still preserved with all its attachments and can be restored. 'Purged' means that all attachments are already deleted and the message itself is about to be physically deleted shortly
Availability string `json:"availability,omitempty"`
// SMS and Pager only. Identifier of the conversation the message belongs to
ConversationId int64 `json:"conversationId,omitempty"`
// Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
CreationTime time.Time `json:"creationTime,omitempty"`
// SMS only. Delivery error code returned by gateway
DeliveryErrorCode string `json:"deliveryErrorCode,omitempty"`
// Message direction. Note that for some message types not all directions are allowed. For example voicemail messages can be only inbound
Direction string `json:"direction,omitempty"`
// Fax only. Page count in fax message
FaxPageCount int32 `json:"faxPageCount,omitempty"`
// Fax only. Resolution of fax message. ('High' for black and white image scanned at 200 dpi, 'Low' for black and white image scanned at 100 dpi)
FaxResolution string `json:"faxResolution,omitempty"`
// Sender information
From *MessageStoreCallerInfoResponse `json:"from,omitempty"`
// The datetime when the message was modified on server in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// Message status. Different message types may have different allowed status values.For outbound faxes the aggregated message status is returned: If status for at least one recipient is 'Queued', then 'Queued' value is returned If status for at least one recipient is 'SendingFailed', then 'SendingFailed' value is returned In other cases Sent status is returned
MessageStatus string `json:"messageStatus,omitempty"`
// Pager only True if at least one of the message recipients is Department extension
PgToDepartment bool `json:"pgToDepartment,omitempty"`
// Message priority
Priority string `json:"priority,omitempty"`
// Message read status
ReadStatus string `json:"readStatus,omitempty"`
// SMS only. The datetime when outbound SMS was delivered to recipient's handset in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. It is filled only if the carrier sends a delivery receipt to RingCentral
SmsDeliveryTime time.Time `json:"smsDeliveryTime,omitempty"`
// SMS only. Number of attempts made to send an outbound SMS to the gateway (if gateway is temporary unavailable)
SmsSendingAttemptsCount int32 `json:"smsSendingAttemptsCount,omitempty"`
// Message subject. For SMS and Pager messages it replicates message text which is also returned as an attachment
Subject string `json:"subject,omitempty"`
// Recipient information
To []MessageStoreCallerInfoResponse `json:"to,omitempty"`
// Message type
Type_ string `json:"type,omitempty"`
// Voicemail only. Status of voicemail to text transcription. If VoicemailToText feature is not activated for account, the 'NotAvailable' value is returned
VmTranscriptionStatus string `json:"vmTranscriptionStatus,omitempty"`
}
type GetMessageList ¶
type GetMessageList struct {
// List of records with message information
Records []GetMessageInfoResponseIntId `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetMessageSyncResponse ¶
type GetMessageSyncResponse struct {
// List of message records with synchronization information
Records []GetMessageInfoResponse `json:"records"`
// Sync type, token and time
SyncInfo *SyncInfoMessages `json:"syncInfo"`
}
type GetMonitoredExtensionsResponse ¶
type GetMonitoredExtensionsResponse struct {
// Canonical URI of the monitored lines (extensions) resource
Uri string `json:"uri,omitempty"`
// List of lines (extensions) the presence of which is monitored by the user. The first two lines always indicate the user's extension presence, they cannot be changed
Records []LineInfo `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetPresenceInfo ¶
type GetPresenceInfo struct {
// Canonical URI of a presence info resource
Uri string `json:"uri,omitempty"`
// If 'True' enables other extensions to see the extension presence status
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
// Extended DnD (Do not Disturb) status. Cannot be set for Department/Announcement/Voicemail (Take Messages Only)/Fax User/Shared Lines Group/Paging Only Group/IVR Menu/Application Extension/Park Location extensions. The 'DoNotAcceptDepartmentCalls' and 'TakeDepartmentCallsOnly' values are applicable only for extensions - members of a Department; if these values are set for department outsiders, the 400 Bad Request error code is returned. The 'TakeDepartmentCallsOnly' status can be set through the old RingCentral user interface and is available for some migrated accounts only.
DndStatus string `json:"dndStatus,omitempty"`
// Information on extension, for which this presence data is returned
Extension *GetPresenceExtensionInfo `json:"extension,omitempty"`
// Custom status message (as previously published by user)
Message string `json:"message,omitempty"`
// If 'True' enables the extension user to pick up a monitored line on hold
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
// Aggregated presence status, calculated from a number of sources
PresenceStatus string `json:"presenceStatus,omitempty"`
// If 'True' enables to ring extension phone, if any user monitored by this extension is ringing
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
// Telephony presence status
TelephonyStatus string `json:"telephonyStatus,omitempty"`
// User-defined presence status (as previously published by the user)
UserStatus string `json:"userStatus,omitempty"`
// Information on active calls
ActiveCalls []ActiveCallInfo `json:"activeCalls,omitempty"`
}
type GetReportingSettingsResponse ¶
type GetReportingSettingsResponse struct {
// List of 'View' structures with a tuple of filter values, pages and schedules
Views []ViewInfoReporting `json:"views"`
}
type GetRingOutStatusResponse ¶
type GetRingOutStatusResponse struct {
// Internal identifier of a RingOut call
Id string `json:"id,omitempty"`
Uri string `json:"uri,omitempty"`
// RingOut status information
Status *RingOutStatusInfo `json:"status,omitempty"`
}
type GetRingOutStatusResponseIntId ¶
type GetRingOutStatusResponseIntId struct {
// Internal identifier of a RingOut call
Id int64 `json:"id,omitempty"`
Uri string `json:"uri,omitempty"`
// RingOut status information
Status *RingOutStatusInfo `json:"status,omitempty"`
}
type GetSecretQuestionListResponse ¶
type GetSecretQuestionListResponse struct {
// Canonical URI of a question list resource
Uri string `json:"uri,omitempty"`
// List of secret questions with their descriptions
Records []SecretQuestionInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type GetServiceInfoResponse ¶
type GetServiceInfoResponse struct {
// Canonical URI of the account Service Info resource
Uri string `json:"uri,omitempty"`
// Account Service Plan name
ServicePlanName string `json:"servicePlanName,omitempty"`
// Service features information, see Service Feature List
ServiceFeatures []ServiceFeatureInfo `json:"serviceFeatures,omitempty"`
// Limits which are effective for the account
Limits *AccountLimits `json:"limits,omitempty"`
}
type GetStateInfoResponse ¶
type GetStateInfoResponse struct {
// Internal identifier of a state
Id string `json:"id,omitempty"`
// Canonical URI of a state
Uri string `json:"uri,omitempty"`
// Information on a country the state belongs to
Country *GetCountryInfoState `json:"country,omitempty"`
// Short code for a state (2-letter usually)
IsoCode string `json:"isoCode,omitempty"`
// Official name of a state
Name string `json:"name,omitempty"`
}
type GetStateListResponse ¶
type GetStateListResponse struct {
// List of states
Records []GetStateInfoResponse `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetTimezoneInfoResponse ¶
type GetTimezoneInfoResponse struct {
// Internal identifier of a timezone
Id string `json:"id,omitempty"`
// Canonical URI of the timezone
Uri string `json:"uri,omitempty"`
// Short name of the timezone
Name string `json:"name,omitempty"`
// Description of the timezone
Description string `json:"description,omitempty"`
}
type GetTimezoneListResponse ¶
type GetTimezoneListResponse struct {
// List of timezones
Records []GetTimezoneInfoResponse `json:"records"`
Navigation *NavigationInfo `json:"navigation"`
// Information on paging
Paging *PagingInfo `json:"paging"`
}
type GetUserBusinessHoursResponse ¶
type GetUserBusinessHoursResponse struct {
// Canonical URI of a business-hours resource
Uri string `json:"uri,omitempty"`
// Schedule when an answering rule is applied
Schedule *ScheduleInfoUserBusinessHours `json:"schedule,omitempty"`
}
type GetUserListResponse ¶
type GetUserListResponse struct {
// Specification links
Schemas []string `json:"schemas,omitempty"`
// 1-based index of query result
StartIndex int32 `json:"startIndex,omitempty"`
// Results count
TotalResults int32 `json:"totalResults,omitempty"`
// List of users with detailed info
Resources []UserInfo `json:"Resources,omitempty"`
// Number of users displayed per page
ItemsPerPage int32 `json:"itemsPerPage,omitempty"`
}
type GetVersionResponse ¶
type GetVersionResponse struct {
// Canonical URI of the version info resource
Uri string `json:"uri,omitempty"`
// Version of the RingCentral REST API
VersionString string `json:"versionString,omitempty"`
// Release date of this version
ReleaseDate string `json:"releaseDate,omitempty"`
// URI part determining the current version
UriString string `json:"uriString,omitempty"`
}
type GetVersionsResponse ¶
type GetVersionsResponse struct {
// Canonical URI of the API version
Uri string `json:"uri,omitempty"`
// Full API version information: uri, number, release date
ApiVersions []VersionInfo `json:"apiVersions,omitempty"`
// Server version
ServerVersion string `json:"serverVersion,omitempty"`
// Server revision
ServerRevision string `json:"serverRevision,omitempty"`
}
type GlipApiService ¶
type GlipApiService service
func (*GlipApiService) CreateGlipFile ¶
func (a *GlipApiService) CreateGlipFile(ctx context.Context, localVarFile *os.File, localVarOptionals map[string]interface{}) (PostGlipFile, *http.Response, error)
GlipApiService Upload File
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Posts a file.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body The file to upload @param optional (nil or map[string]interface{}) with one or more of:
@param "groupId" (string) Internal identifier of a group the post with file attached will be added to @param "name" (string) Name of a file attached
@return PostGlipFile
func (*GlipApiService) CreateGroup ¶
func (a *GlipApiService) CreateGroup(ctx context.Context, body GlipCreateGroup) (GlipGroupInfo, *http.Response, error)
GlipApiService Create Group
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Creates a group.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body JSON body @return GlipGroupInfo
func (*GlipApiService) CreatePost ¶
func (a *GlipApiService) CreatePost(ctx context.Context, groupId string, body GlipCreatePost) (GlipPostInfo, *http.Response, error)
GlipApiService Create Post
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Creates a post.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param groupId Id of a group to send post @param body JSON body @return GlipPostInfo
func (*GlipApiService) LoadCompany ¶
func (a *GlipApiService) LoadCompany(ctx context.Context, companyId string) (GlipCompany, *http.Response, error)
GlipApiService Get Company Info
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns a company by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param companyId Internal identifier of an RC account/Glip company, or tilde (~) to indicate a company the current user belongs to @return GlipCompany
func (*GlipApiService) LoadGlipFile ¶
func (a *GlipApiService) LoadGlipFile(ctx context.Context, fileId string) (PostGlipFile, *http.Response, error)
GlipApiService Get File Info
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a file.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param fileId Internal identifier of file. @return PostGlipFile
func (*GlipApiService) LoadGroup ¶
func (a *GlipApiService) LoadGroup(ctx context.Context, groupId string) (GlipGroupInfo, *http.Response, error)
GlipApiService Get Group
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns a group or few groups by ID(s). Batch request is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param groupId Internal identifier of a group to be returned, the maximum number of IDs is 30 @return GlipGroupInfo
func (*GlipApiService) LoadGroupList ¶
func (a *GlipApiService) LoadGroupList(ctx context.Context, localVarOptionals map[string]interface{}) (GlipGroupList, *http.Response, error)
GlipApiService Get User Groups
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns the list of groups associated with the user.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "type_" ([]string) Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future @param "pageToken" (string) Token of a page to be returned, see Glip Navigation Info @param "recordCount" (int64) Max numbers of records to be returned. The default/maximum value is 250
@return GlipGroupList
func (*GlipApiService) LoadPerson ¶
func (a *GlipApiService) LoadPerson(ctx context.Context, personId string) (GlipPersonInfo, *http.Response, error)
GlipApiService Get Person
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns a user or few users by ID(s). Batch request is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param personId Internal identifier of a user to be returned, the maximum number of IDs is 30 @return GlipPersonInfo
func (*GlipApiService) LoadPosts ¶
func (a *GlipApiService) LoadPosts(ctx context.Context, groupId string, localVarOptionals map[string]interface{}) (GlipPosts, *http.Response, error)
GlipApiService Get Posts
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns list of posts.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param groupId Identifier of a group to filter posts @param optional (nil or map[string]interface{}) with one or more of:
@param "pageToken" (string) Token of a page to be returned, see Glip Navigation Info @param "recordCount" (int64) Max numbers of records to be returned. The default/maximum value is 250
@return GlipPosts
func (*GlipApiService) LoadUnreadMessageCount ¶
func (a *GlipApiService) LoadUnreadMessageCount(ctx context.Context, localVarOptionals map[string]interface{}) (GlipUnreadMessageCount, *http.Response, error)
GlipApiService Glip Unread Message Count
<p style='font-style:italic;'>Since 1.0.30 (Release 9.1)</p><p>Returns Glip unread message count.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "fields" (string) List of attributes to be returned. To return unread message count 'unreadPostsCount' and 'tooManyUnreadPosts' should be specified
@return GlipUnreadMessageCount
func (*GlipApiService) UpdateGroup ¶
func (a *GlipApiService) UpdateGroup(ctx context.Context, groupId string, body EditGroupRequest) (GlipGroupInfo, *http.Response, error)
GlipApiService Edit Group Members
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Updates group members. Please note: Only groups of 'Team' type can be updated. Currently only one operation at a time (either adding or removal) is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Glip</td><td>Availability of Glip</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param groupId Internal identifier of a group to be edited @param body JSON body @return GlipGroupInfo
type GlipApnsInfo ¶
type GlipApnsInfo struct {
// Apple Push Notification Service Info
Aps *ApsInfo `json:"aps,omitempty"`
// Datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
Timestamp time.Time `json:"timestamp,omitempty"`
// Universally unique identifier of a notification
Uuid string `json:"uuid,omitempty"`
// Event filter URI
Event string `json:"event,omitempty"`
// Internal identifier of a subscription
SubscriptionId string `json:"subscriptionId,omitempty"`
// Unread messages data
Body *GlipUnreadMessageCountInfo `json:"body,omitempty"`
}
type GlipCompany ¶
type GlipCompany struct {
// Internal identifier of an RC account/Glip company, or tilde (~) to indicate a company the current user belongs to
Id string `json:"id"`
// Name of a company
Name string `json:"name,omitempty"`
// Domain name of a company
Domain string `json:"domain,omitempty"`
// Datetime of creation in ISO 8601 format
CreationTime string `json:"creationTime"`
// Datetime of last modification in ISO 8601 format
LastModifiedTime string `json:"lastModifiedTime"`
}
type GlipCreateGroup ¶
type GlipCreateGroup struct {
// Type of a group to be created. 'PrivateChat' is a group of 2 members. 'Team' is a chat of 1 and more participants, the membership can be modified in future
Type_ string `json:"type"`
// For 'Team' group type only. Team access level
IsPublic bool `json:"isPublic,omitempty"`
// For 'Team' group type only. Team name
Name string `json:"name,omitempty"`
// For 'Team' group type only. Team description
Description string `json:"description,omitempty"`
// Identifier(s) of group members. For 'PrivateChat' group type 2 members only are supported
Members []string `json:"members,omitempty"`
}
type GlipCreatePost ¶
type GlipCreatePost struct {
// Text of a post, the maximum is 10000 unicode characters
Text string `json:"text,omitempty"`
// List of attachments to be posted
Attachments []GlipMessageAttachmentInfoRequest `json:"attachments,omitempty"`
}
type GlipGroupInfo ¶
type GlipGroupInfo struct {
// Internal identifier of a group
Id string `json:"id,omitempty"`
// Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future
Type_ string `json:"type,omitempty"`
// For 'Team' group type only. Team access level
IsPublic bool `json:"isPublic,omitempty"`
// For 'Team' group type only. Team name
Name string `json:"name,omitempty"`
// For 'Team' group type only. Team description
Description string `json:"description,omitempty"`
// Identifier(s) of group members
Members []string `json:"members,omitempty"`
// Group creation datetime in ISO 8601 format
CreationTime time.Time `json:"creationTime,omitempty"`
// Group last change datetime in ISO 8601 format
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
}
type GlipGroupList ¶
type GlipGroupList struct {
// List of groups/teams/private chats
Records []GlipGroupInfo `json:"records"`
Navigation *GlipNavigationInfo `json:"navigation,omitempty"`
}
type GlipGroupsEvent ¶
type GlipGroupsEvent struct {
// Internal identifier of a group
Id string `json:"id,omitempty"`
// Type of a group. 'PrivateChat' is a group of 2 members. 'Group' is a chat of 2 and more participants, the membership cannot be changed after group creation. 'Team' is a chat of 1 and more participants, the membership can be modified in future. 'PersonalChat' is a private chat thread of a user
Type_ string `json:"type,omitempty"`
// For 'Team' group type only. Team access level
IsPublic bool `json:"isPublic,omitempty"`
// For 'Team' group type only. Team name
Name string `json:"name,omitempty"`
// For 'Team' group type only. Team description
Description string `json:"description,omitempty"`
// Identifier(s) of group members
Members []string `json:"members,omitempty"`
// Group creation datetime in ISO 8601 format
CreationTime time.Time `json:"creationTime,omitempty"`
// Group last change datetime in ISO 8601 format
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// Type of a group event. Only the person who joined/was added to a group will receive 'GroupJoined' notification. Only the person who left/was removed from a group will receive 'GroupLeft' notification
EventType string `json:"eventType,omitempty"`
}
type GlipMentionsInfo ¶
type GlipMessageAttachmentFieldsInfo ¶
type GlipMessageAttachmentFieldsInfo struct {
// Title for an individual field
Title string `json:"title,omitempty"`
// Field Value (Supports Markdown)
Value string `json:"value,omitempty"`
// A style used to flag fields that should span the width of the message, Defaults to 'Short' (Not full width)
Style string `json:"style,omitempty"`
}
type GlipMessageAttachmentFootnoteInfo ¶
type GlipMessageAttachmentFootnoteInfo struct {
// A string used to be displayed as the body of the footer.
Text string `json:"text,omitempty"`
// A URL used to display a 32x32px icon to the left of the footer
IconUri string `json:"iconUri,omitempty"`
// A Unix timestamp to be displayed to the right of the footer (prettified)
Time time.Time `json:"time,omitempty"`
}
type GlipMessageAttachmentInfo ¶
type GlipMessageAttachmentInfo struct {
// Internal identifier of an attachment
Id string `json:"id,omitempty"`
// Type of an attachment
Type_ string `json:"type,omitempty"`
// A string of default text that will be rendered in the case that the client does not support Interactive Messages
Fallback string `json:"fallback,omitempty"`
// A Hex color code that determines the color of the side border of the Interactive Message
Color string `json:"color,omitempty"`
// A pretext to the message
Intro string `json:"intro,omitempty"`
// Information about the author
Author *GlipMessageAttachmentAuthorInfo `json:"author,omitempty"`
// Message title
Title string `json:"title,omitempty"`
// A large string field (up to 1000 chars) to be displayed as the body of a message (Supports GlipDown)
Text string `json:"text,omitempty"`
// url used to display a single image at the bottom of a message
ImageUri string `json:"imageUri,omitempty"`
// url used to display a thumbnail to the right of a message (82x82)
ThumbnailUri string `json:"thumbnailUri,omitempty"`
// Information on navigation
Fields []GlipMessageAttachmentFieldsInfo `json:"fields,omitempty"`
// Message Footer
Footnote *GlipMessageAttachmentFootnoteInfo `json:"footnote,omitempty"`
}
type GlipMessageAttachmentInfoRequest ¶
type GlipMessageAttachmentInfoRequest struct {
// Type of an attachment
Type_ string `json:"type,omitempty"`
// A string of default text that will be rendered in the case that the client does not support Interactive Messages
Fallback string `json:"fallback,omitempty"`
// A Hex color code that determines the color of the side border of the Interactive Message
Color string `json:"color,omitempty"`
// A pretext to the message
Intro string `json:"intro,omitempty"`
// Information about the author
Author *GlipMessageAttachmentAuthorInfo `json:"author,omitempty"`
// Message title
Title string `json:"title,omitempty"`
// A large string field (up to 1000 chars) to be displayed as the body of a message (Supports GlipDown)
Text string `json:"text,omitempty"`
// url used to display a single image at the bottom of a message
ImageUri string `json:"imageUri,omitempty"`
// url used to display a thumbnail to the right of a message (82x82)
ThumbnailUri string `json:"thumbnailUri,omitempty"`
// Information on navigation
Fields []GlipMessageAttachmentFieldsInfo `json:"fields,omitempty"`
// Message Footer
Footnote *GlipMessageAttachmentFootnoteInfo `json:"footnote,omitempty"`
}
type GlipNavigationInfo ¶
type GlipPersonInfo ¶
type GlipPersonInfo struct {
// Internal identifier of a user
Id string `json:"id"`
// First name of a user
FirstName string `json:"firstName,omitempty"`
// Last name of a user
LastName string `json:"lastName,omitempty"`
// Email of a user
Email string `json:"email,omitempty"`
// Photo of a user
Avatar string `json:"avatar,omitempty"`
// Internal identifier of a company
CompanyId string `json:"companyId,omitempty"`
// Time of creation in ISO 8601 format
CreationTime time.Time `json:"creationTime,omitempty"`
// Time of last modification in ISO 8601 format
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
}
type GlipPostEvent ¶
type GlipPostEvent struct {
// Internal identifier of a post
Id string `json:"id,omitempty"`
// Type of a post event
EventType string `json:"eventType,omitempty"`
// Internal identifier of a group a post belongs to
GroupId string `json:"groupId,omitempty"`
// Type of a post. 'TextMessage' - an incoming text message; 'PersonJoined' - a message notifying that person has joined a conversation; 'PersonsAdded' - a message notifying that a person(s) were added to a conversation
Type_ string `json:"type,omitempty"`
// For 'TextMessage' post type only. Message text
Text string `json:"text,omitempty"`
// Internal identifier of a user - author of a post
CreatorId string `json:"creatorId,omitempty"`
// For PersonsAdded post type only. Identifiers of persons added to a group
AddedPersonIds []string `json:"addedPersonIds,omitempty"`
// For PersonsRemoved post type only. Identifiers of persons removed from a group
RemovedPersonIds []string `json:"removedPersonIds,omitempty"`
// List of at mentions in post text with names.
Mentions []GlipMentionsInfo `json:"mentions,omitempty"`
// Post creation datetime in ISO 8601 format
CreationTime time.Time `json:"creationTime,omitempty"`
// Post last change datetime in ISO 8601 format
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
}
type GlipPostInfo ¶
type GlipPostInfo struct {
// Internal identifier of a post
Id string `json:"id,omitempty"`
// Internal identifier of a group a post belongs to
GroupId string `json:"groupId,omitempty"`
// Type of a post
Type_ string `json:"type,omitempty"`
// For 'TextMessage' post type only. Message text
Text string `json:"text,omitempty"`
// Internal identifier of a user - author of a post
CreatorId string `json:"creatorId,omitempty"`
// For PersonsAdded post type only. Identifiers of persons added to a group
AddedPersonIds []string `json:"addedPersonIds,omitempty"`
// Post creation datetime in ISO 8601 format
CreationTime time.Time `json:"creationTime,omitempty"`
// Post last modification datetime in ISO 8601 format
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// List of posted attachments
Attachments []GlipMessageAttachmentInfo `json:"attachments,omitempty"`
// List of posted attachments
Mentions []GlipMentionsInfo `json:"mentions,omitempty"`
// activity type
Activity string `json:"activity,omitempty"`
// Title of the message. Can be set for bot messages only
Title string `json:"title,omitempty"`
// URI to an image to use as the icon for this message.
IconUri string `json:"iconUri,omitempty"`
// Emoji to use as the icon for a message
IconEmoji string `json:"iconEmoji,omitempty"`
}
type GlipPosts ¶
type GlipPosts struct {
// List of posts
Records []GlipPostInfo `json:"records"`
Navigation *GlipNavigationInfo `json:"navigation,omitempty"`
}
type GlipUnreadMessageCount ¶
type GlipUnreadMessageCountEvent ¶
type GlipUnreadMessageCountEvent struct {
// Universally unique identifier of a notification
Uuid string `json:"uuid,omitempty"`
// Apple notification data
PnApns *GlipApnsInfo `json:"pn_apns,omitempty"`
// GCM data
PnGcm *GcmInfo `json:"pn_gcm,omitempty"`
}
type GlipUnreadMessageCountInfo ¶
type GlipUnreadMessageCountInfo struct {
// Count of glip unread messages
Unread int32 `json:"unread,omitempty"`
}
type GrantInfo ¶
type GrantInfo struct {
// Canonical URI of a grant
Uri string `json:"uri,omitempty"`
// Extension information
Extension *ExtensionInfoGrants `json:"extension,omitempty"`
// Specifies if picking up of other extensions' calls is allowed for the extension. If 'Presence' feature is disabled for the given extension, the flag is not returned
CallPickup bool `json:"callPickup,omitempty"`
// Specifies if monitoring of other extensions' calls is allowed for the extension. If 'CallMonitoring' feature is disabled for the given extension, the flag is not returned
CallMonitoring bool `json:"callMonitoring,omitempty"`
}
type GreetingInfo ¶
type GreetingInfo struct {
// Type of a greeting, specifying the case when the greeting is played. See Greeting Types = ['Introductory', 'Announcement', 'ConnectingMessage', 'ConnectingAudio', 'Voicemail', 'Unavailable', 'InterruptPrompt', 'HoldMusic']
Type_ string `json:"type,omitempty"`
// Usage type of a greeting, specifying if the greeting is applied to user extension or department extension = ['UserExtensionAnsweringRule', 'ExtensionAnsweringRule DepartmentExtensionAnsweringRule']
UsageType string `json:"usageType,omitempty"`
Preset *PresetInfo `json:"preset,omitempty"`
}
type GreetingLanguageInfo ¶
type GroupContactsCollection ¶
type GroupContactsCollection struct {
Uri string `json:"uri,omitempty"`
Records []PersonalContactResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type GroupResource ¶
type GroupsCollection ¶
type GroupsCollection struct {
Uri string `json:"uri,omitempty"`
Records []GroupResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type HintResource ¶
type HintsResource ¶
type HintsResource struct {
UserCredentialState *HintResource `json:"userCredentialState,omitempty"`
TrialState *HintResource `json:"trialState,omitempty"`
AppVersionUpgrade *HintResource `json:"appVersionUpgrade,omitempty"`
}
type HomeCountry ¶
type HomeCountryResource ¶
type HostInfoRequest ¶
type HostInfoRequest struct {
// Internal identifier of an extension which is assigned to be a meeting host. The default value is currently logged-in extension identifier
Id string `json:"id,omitempty"`
}
type InProductMessages ¶
type InProductMessages struct {
// Link to the in-product messages resource
Uri string `json:"uri,omitempty"`
// The list of in-product messages
Records []BannerInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type InboundFaxesInfo ¶
type InboundFaxesInfo struct {
// Email notification flag
NotifyByEmail bool `json:"notifyByEmail,omitempty"`
// SMS notification flag
NotifyBySms bool `json:"notifyBySms,omitempty"`
// List of recipient email addresses for inbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedEmailAddresses []string `json:"advancedEmailAddresses,omitempty"`
// List of recipient phone numbers for inbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedSmsEmailAddresses []string `json:"advancedSmsEmailAddresses,omitempty"`
// Indicates whether fax should be attached to email
IncludeAttachment bool `json:"includeAttachment,omitempty"`
// Indicates whether email should be automatically marked as read
MarkAsRead bool `json:"markAsRead,omitempty"`
}
type InboundMessageEvent ¶
type InboundMessageEvent struct {
// Information on a notification
Aps *NotificationInfo `json:"aps,omitempty"`
// Internal identifier of an message
MessageId string `json:"messageId,omitempty"`
// Internal identifier of an conversation
ConversationId string `json:"conversationId,omitempty"`
// Sender phone number
From string `json:"from,omitempty"`
// Receiver phone number
To string `json:"to,omitempty"`
}
type InboundTextsInfo ¶
type InboundTextsInfo struct {
// Email notification flag
NotifyByEmail bool `json:"notifyByEmail,omitempty"`
// SMS notification flag
NotifyBySms bool `json:"notifyBySms,omitempty"`
// List of recipient email addresses for inbound text message notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedEmailAddresses []string `json:"advancedEmailAddresses,omitempty"`
// List of recipient phone numbers for inbound text message notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedSmsEmailAddresses []string `json:"advancedSmsEmailAddresses,omitempty"`
}
type IncomingCallEvent ¶
type IncomingCallEvent struct {
// Apple Push Notification Service Info
Aps *ApsInfo `json:"aps,omitempty"`
// Event filter URI
Event string `json:"event,omitempty"`
// Universally unique identifier of a notification
Uuid string `json:"uuid,omitempty"`
// Internal identifier of a subscription
SubscriptionId string `json:"subscriptionId,omitempty"`
// The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
Timestamp time.Time `json:"timestamp,omitempty"`
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
// Calling action, for example 'StartRing'
Action string `json:"action,omitempty"`
// Identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Identifier of a server
ServerId string `json:"serverId,omitempty"`
// Phone number of a caller
From string `json:"from,omitempty"`
// Caller name
FromName string `json:"fromName,omitempty"`
// Phone number of a callee
To string `json:"to,omitempty"`
// Callee name
ToName string `json:"toName,omitempty"`
// Unique identifier of a session
Sid string `json:"sid,omitempty"`
// SIP proxy registration name
ToUrl string `json:"toUrl,omitempty"`
// User data
SrvLvl string `json:"srvLvl,omitempty"`
// User data
SrvLvlExt string `json:"srvLvlExt,omitempty"`
// File containing recorded caller name
RecUrl string `json:"recUrl,omitempty"`
// Notification lifetime value in seconds, the default value is 30 seconds
PnTtl int32 `json:"pn_ttl,omitempty"`
}
type InstantMessageEvent ¶
type InstantMessageEvent struct {
// Internal identifier of an message
Id string `json:"id,omitempty"`
// Message receiver(s) information
To []NotificationRecipientInfo `json:"to,omitempty"`
// Extension Type
From *SenderInfo `json:"from,omitempty"`
// Type of a message. The default value is 'SMS'
Type_ string `json:"type,omitempty"`
// Message creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
CreationTime time.Time `json:"creationTime,omitempty"`
// Datetime when the message was modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
// Status of a message. The default value is 'Unread'
ReadStatus string `json:"readStatus,omitempty"`
// The default value is 'Normal'
Priority string `json:"priority,omitempty"`
// Message attachment data
Attachments []MessageAttachmentInfo `json:"attachments,omitempty"`
// Message direction. The default value is 'Inbound'
Direction string `json:"direction,omitempty"`
// Message availability status. The default value is 'Alive'
Availability string `json:"availability,omitempty"`
// Message subject. It replicates message text which is also returned as an attachment
Subject string `json:"subject,omitempty"`
// Status of a message. The default value is 'Received'
MessageStatus string `json:"messageStatus,omitempty"`
// Identifier of the conversation the message belongs to
ConversationId string `json:"conversationId,omitempty"`
}
type InternalMessageResource ¶
type InternalMessageResource struct {
To []CallerInfo `json:"to,omitempty"`
From *CallerInfo `json:"from,omitempty"`
Text string `json:"text,omitempty"`
ReplyOn int64 `json:"replyOn,omitempty"`
}
type IntervalResource ¶
type InvoiceSettingsResource ¶
type InvoiceSettingsResource struct {
MaxAmountPerFirstMonth int64 `json:"maxAmountPerFirstMonth,omitempty"`
MaxAmountPerMonth int64 `json:"maxAmountPerMonth,omitempty"`
PaymentTerm int64 `json:"paymentTerm,omitempty"`
Period int64 `json:"period,omitempty"`
Address *Address `json:"address,omitempty"`
}
type IvrMenuActionsInfo ¶
type IvrMenuActionsInfo struct {
// Key. The following values are supported: numeric: '1' to '9' Star Hash NoInput
Input string `json:"input,omitempty"`
// Internal identifier of an answering rule
Action string `json:"action,omitempty"`
// For 'Connect' or 'Voicemail' actions only. Extension reference
Extension *IvrMenuExtensionInfo `json:"extension,omitempty"`
// For 'Transfer' action only. PSTN number in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type IvrMenuExtensionInfo ¶
type IvrMenuInfo ¶
type IvrMenuInfo struct {
// Internal identifier of an IVR Menu extension
Id string `json:"id,omitempty"`
// Link to an IVR Menu extension resource
Uri string `json:"uri,omitempty"`
// First name of an IVR Menu user
Name string `json:"name,omitempty"`
// Number of an IVR Menu extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Prompt metadata
Prompt *IvrMenuPromptInfo `json:"prompt,omitempty"`
// Keys handling settings
Actions []IvrMenuActionsInfo `json:"actions,omitempty"`
}
type IvrMenuPromptInfo ¶
type IvrMenuPromptInfo struct {
// Prompt mode: custom media or text = ['Audio', 'TextToSpeech']
Mode string `json:"mode,omitempty"`
// For 'Audio' mode only. Prompt media reference
Audio *PromptLanguageInfo `json:"audio,omitempty"`
// For 'TextToSpeech' mode only. Prompt text
Text string `json:"text,omitempty"`
// For 'TextToSpeech' mode only. Prompt language metadata
Language *AudioPromptInfo `json:"language,omitempty"`
}
type IvrPrompts ¶
type IvrPrompts struct {
// Link to prompts library resource
Uri string `json:"uri,omitempty"`
// List of Prompts
Records []PromptInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type LanguageInfo ¶
type LanguageInfo struct {
// Internal identifier of a language
Id string `json:"id,omitempty"`
// Canonical URI of a language
Uri string `json:"uri,omitempty"`
// Indicates whether a language is available as greeting language
Greeting bool `json:"greeting,omitempty"`
// Indicates whether a language is available as formatting locale
FormattingLocale bool `json:"formattingLocale,omitempty"`
// Localization code of a language
LocaleCode string `json:"localeCode,omitempty"`
// Official name of a language
Name string `json:"name,omitempty"`
// Indicates whether a language is available as UI language
Ui bool `json:"ui,omitempty"`
}
type LanguageInfoResource ¶
type LanguageInfoResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
IsoCode string `json:"isoCode,omitempty"`
LocaleCode string `json:"localeCode,omitempty"`
Ui bool `json:"ui,omitempty"`
Greeting bool `json:"greeting,omitempty"`
FormattingLocale bool `json:"formattingLocale,omitempty"`
}
type LanguageInfoResources ¶
type LanguageInfoResources struct {
Uri string `json:"uri,omitempty"`
Records []LanguageInfoResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type LanguageList ¶
type LanguageList struct {
// Canonical URI of the language list resource
Uri string `json:"uri,omitempty"`
// Language data
Records []LanguageInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type LanguageResource ¶
type LicenseExtensionInfo ¶
type LicenseExtensionInfo struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
// Canonical URI of an extension
Uri string `json:"uri,omitempty"`
// Number of an extension
ExtensionNumber string `json:"extensionNumber,omitempty"`
// User name of an extension
Name string `json:"name,omitempty"`
}
type LicenseFeatureInfo ¶
type LicenseInfo ¶
type LicenseInfo struct {
// Canonical URI of a license
Uri string `json:"uri,omitempty"`
// Internal identifier of a license
Id string `json:"id,omitempty"`
// License type data
Type_ *LicenseFeatureInfo `json:"type,omitempty"`
// Datetime when license was purchased in ISO 8601 format including timezone, for example 2017-03-10T18:07:52.534Z
CreationTime string `json:"creationTime,omitempty"`
// Information on extension to which a license can be assigned
Extension *LicenseExtensionInfo `json:"extension,omitempty"`
}
type LicenseInfoRequest ¶
type LicenseInfoRequest struct {
// Type of a license
Type_ *LicenseTypeInfoRequest `json:"type,omitempty"`
// Quantity of licenses to be purchased
Quantity int32 `json:"quantity,omitempty"`
}
type LicenseList ¶
type LicenseList struct {
// List of licenses
Records []LicenseInfo `json:"records,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
}
type LicenseTypeInfo ¶
type LicenseTypeInfo struct {
// Internal identifier of a type
Id string `json:"id,omitempty"`
// Canonical URI of a license type resource
Uri string `json:"uri,omitempty"`
// Short name of a license type
Sku string `json:"sku,omitempty"`
// Full name of a license type
Name string `json:"name,omitempty"`
// State of a license. Webinars and Large Meetings are assignable
Assignable string `json:"assignable,omitempty"`
// License feature info
Feature *LicenseFeatureInfo `json:"feature,omitempty"`
}
type LicenseTypeInfoRequest ¶
type LicenseTypeInfoRequest struct {
// Name of a license type = ['RMS', 'RCN', 'WBR-100', 'WBR-500', 'WBR-1000', 'WBR-3000', 'LRM-50', 'LRM-100', 'LRM-200']
Sku string `json:"sku,omitempty"`
}
type LicenseTypes ¶
type LicenseTypes struct {
// Canonical URI of a license types resource
Uri string `json:"uri,omitempty"`
// List of supported licenses
Records []LicenseInfo `json:"records,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
}
type LineInfo ¶
type LineInfo struct {
// Internal identifier of a monitored extension
Id string `json:"id,omitempty"`
// Canonical URI of a monitored extension
Uri string `json:"uri,omitempty"`
// Brief information on a monitored extension
Extension *ExtensionInfoMonitoredLines `json:"extension,omitempty"`
}
type ListCompanyAnsweringRuleInfo ¶
type ListCompanyAnsweringRuleInfo struct {
// Internal identifier of an answering rule
Id string `json:"id,omitempty"`
// Canonical URI of an answering rule
Uri string `json:"uri,omitempty"`
// Specifies if the rule is active or inactive. The default value is 'True'
Enabled bool `json:"enabled,omitempty"`
// Type of an answering rule, the default value is 'Custom' = ['BusinessHours', 'AfterHours', 'Custom']
Type_ string `json:"type,omitempty"`
// Name of an answering rule specified by user. Max number of symbols is 30. The default value is 'My Rule N' where 'N' is the first free number
Name string `json:"name,omitempty"`
}
type Locale ¶
type Locale struct {
Language string `json:"language,omitempty"`
Country string `json:"country,omitempty"`
DisplayCountry string `json:"displayCountry,omitempty"`
DisplayLanguage string `json:"displayLanguage,omitempty"`
DisplayName string `json:"displayName,omitempty"`
DisplayScript string `json:"displayScript,omitempty"`
DisplayVariant string `json:"displayVariant,omitempty"`
ExtensionKeys []string `json:"extensionKeys,omitempty"`
Iso3Country string `json:"iso3Country,omitempty"`
Iso3Language string `json:"iso3Language,omitempty"`
Script string `json:"script,omitempty"`
UnicodeLocaleAttributes []string `json:"unicodeLocaleAttributes,omitempty"`
UnicodeLocaleKeys []string `json:"unicodeLocaleKeys,omitempty"`
Variant string `json:"variant,omitempty"`
}
type LocationInfo ¶
type LocationInfo struct {
// Canonical URI of a location
Uri string `json:"uri,omitempty"`
// Area code of the location
AreaCode string `json:"areaCode,omitempty"`
// Official name of the city, belonging to the certain state
City string `json:"city,omitempty"`
// Area code of the location (3-digit usually), according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See for details North American Numbering Plan
Npa string `json:"npa,omitempty"`
// Central office code of the location, according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See for details North American Numbering Plan
Nxx string `json:"nxx,omitempty"`
// ID and URI of the state this location belongs to, see State Info
State string `json:"state,omitempty"`
}
type LocationResource ¶
type LocationsResource ¶
type LocationsResource struct {
Uri string `json:"uri,omitempty"`
Records []LocationResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type LookupPhoneNumberInfo ¶
type LookupPhoneNumberInfo struct {
// Phone number in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Phone number formatted according to current brand's default country
FormattedNumber string `json:"formattedNumber,omitempty"`
// Vanity pattern for this number. Returned only when vanity search option is requested. Vanity pattern corresponds to request parameters nxx plus line or numberPattern
VanityPattern string `json:"vanityPattern,omitempty"`
// The value is returned if the extendedSearch parameter is true. The values are 10, 9, 8, etc.; '10' is the closest match
Rank int32 `json:"rank,omitempty"`
}
type MakeRingOutCallerInfoRequestFrom ¶
type MakeRingOutCallerInfoRequestFrom struct {
// Phone number in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Internal identifier of a forwarding number; returned in response in the id field. Can be specified instead of the phoneNumber attribute
ForwardingNumberId string `json:"forwardingNumberId,omitempty"`
}
type MakeRingOutCallerInfoRequestTo ¶
type MakeRingOutCallerInfoRequestTo struct {
// Phone number in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type MakeRingOutCoutryInfo ¶
type MakeRingOutCoutryInfo struct {
// Dialing plan country identifier
Id string `json:"id,omitempty"`
}
type MakeRingOutRequest ¶
type MakeRingOutRequest struct {
// Phone number of the caller. This number corresponds to the 1st leg of the RingOut call. This number can be one of user's configured forwarding numbers or arbitrary number
From *MakeRingOutCallerInfoRequestFrom `json:"from"`
// Phone number of the called party. This number corresponds to the 2nd leg of the RingOut call
To *MakeRingOutCallerInfoRequestTo `json:"to"`
// The number which will be displayed to the called party
CallerId *MakeRingOutCallerInfoRequestTo `json:"callerId,omitempty"`
// The audio prompt that the calling party hears when the call is connected
PlayPrompt bool `json:"playPrompt,omitempty"`
// Optional. Dialing plan country data. If not specified, then extension home country is applied by default
Country *MakeRingOutCoutryInfo `json:"country,omitempty"`
}
type MatchingEntityTag ¶
type MeetingLinks ¶
type MeetingRequestResource ¶
type MeetingRequestResource struct {
Topic string `json:"topic,omitempty"`
MeetingType string `json:"meetingType,omitempty"`
Schedule *MeetingScheduleResource `json:"schedule,omitempty"`
Password string `json:"password,omitempty"`
Host *HostInfoRequest `json:"host,omitempty"`
AllowJoinBeforeHost bool `json:"allowJoinBeforeHost,omitempty"`
StartHostVideo bool `json:"startHostVideo,omitempty"`
StartParticipantsVideo bool `json:"startParticipantsVideo,omitempty"`
AudioOptions []string `json:"audioOptions,omitempty"`
}
type MeetingResponseResource ¶
type MeetingResponseResource struct {
Uri string `json:"uri,omitempty"`
Uuid string `json:"uuid,omitempty"`
Id string `json:"id,omitempty"`
Topic string `json:"topic,omitempty"`
MeetingType string `json:"meetingType,omitempty"`
Password string `json:"password,omitempty"`
Status string `json:"status,omitempty"`
Links *MeetingLinks `json:"links,omitempty"`
Schedule *MeetingScheduleResource `json:"schedule,omitempty"`
AllowJoinBeforeHost bool `json:"allowJoinBeforeHost,omitempty"`
StartHostVideo bool `json:"startHostVideo,omitempty"`
StartParticipantsVideo bool `json:"startParticipantsVideo,omitempty"`
AudioOptions []string `json:"audioOptions,omitempty"`
}
type MeetingScheduleResource ¶
type MeetingScheduleResource struct {
StartTime string `json:"startTime,omitempty"`
DurationInMinutes int32 `json:"durationInMinutes,omitempty"`
TimeZone *TimezoneResource `json:"timeZone,omitempty"`
}
type MeetingServiceInfoResource ¶
type MeetingServiceInfoResource struct {
Uri string `json:"uri,omitempty"`
SupportUri string `json:"supportUri,omitempty"`
IntlDialInNumbersUri string `json:"intlDialInNumbersUri,omitempty"`
ExternalUserInfo *MeetingExternalUserInfoResource `json:"externalUserInfo,omitempty"`
DialInNumbers []DialInNumberResource `json:"dialInNumbers,omitempty"`
}
type MeetingsApiService ¶
type MeetingsApiService service
func (*MeetingsApiService) CreateMeeting ¶
func (a *MeetingsApiService) CreateMeeting(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (MeetingResponseResource, *http.Response, error)
MeetingsApiService Create Meetings
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (MeetingRequestResource)
@return MeetingResponseResource
func (*MeetingsApiService) DeleteMeeting ¶
func (a *MeetingsApiService) DeleteMeeting(ctx context.Context, meetingId string, extensionId string, accountId string) (*http.Response, error)
MeetingsApiService Delete Meeting
* @param ctx context.Context for authentication, logging, tracing, etc. @param meetingId @param extensionId @param accountId @return
func (*MeetingsApiService) EndMeeting ¶
func (a *MeetingsApiService) EndMeeting(ctx context.Context, meetingId string, extensionId string, accountId string) (*http.Response, error)
MeetingsApiService End Meeting
* @param ctx context.Context for authentication, logging, tracing, etc. @param meetingId @param extensionId @param accountId @return
func (*MeetingsApiService) GetLiveMeetings ¶
func (a *MeetingsApiService) GetLiveMeetings(ctx context.Context, extensionId string, accountId string) (MeetingsResource, *http.Response, error)
MeetingsApiService Get Scheduled Meetings
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @return MeetingsResource
func (*MeetingsApiService) GetMeetingDetails ¶
func (a *MeetingsApiService) GetMeetingDetails(ctx context.Context, meetingId string, extensionId string, accountId string) (MeetingResponseResource, *http.Response, error)
MeetingsApiService Get Meeting Info
* @param ctx context.Context for authentication, logging, tracing, etc. @param meetingId @param extensionId @param accountId @return MeetingResponseResource
func (*MeetingsApiService) GetMeetingServiceInfo ¶
func (a *MeetingsApiService) GetMeetingServiceInfo(ctx context.Context, extensionId string, accountId string) (MeetingServiceInfoResource, *http.Response, error)
MeetingsApiService Get Meeting Service Info
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @return MeetingServiceInfoResource
func (*MeetingsApiService) UpdateMeeting ¶
func (a *MeetingsApiService) UpdateMeeting(ctx context.Context, meetingId string, extensionId string, accountId string, localVarOptionals map[string]interface{}) (MeetingResponseResource, *http.Response, error)
MeetingsApiService Update Meeting
* @param ctx context.Context for authentication, logging, tracing, etc. @param meetingId @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (MeetingRequestResource)
@return MeetingResponseResource
type MeetingsResource ¶
type MeetingsResource struct {
Uri string `json:"uri,omitempty"`
Records []MeetingResponseResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type MessageAttachmentInfo ¶
type MessageAttachmentInfo struct {
// Internal identifier of a message attachment
Id string `json:"id,omitempty"`
// Canonical URI of a message attachment
Uri string `json:"uri,omitempty"`
// Type of message attachment
Type_ string `json:"type,omitempty"`
// MIME type for a given attachment, for instance 'audio/wav'
ContentType string `json:"contentType,omitempty"`
// Voicemail only Duration of the voicemail in seconds
VmDuration int32 `json:"vmDuration,omitempty"`
// Name of a file attached
Filename string `json:"filename,omitempty"`
// Size of attachment in bytes
Size int32 `json:"size,omitempty"`
}
type MessageAttachmentInfoIntId ¶
type MessageAttachmentInfoIntId struct {
// Internal identifier of a message attachment
Id int64 `json:"id,omitempty"`
// Canonical URI of a message attachment
Uri string `json:"uri,omitempty"`
// Type of message attachment
Type_ string `json:"type,omitempty"`
// MIME type for a given attachment, for instance 'audio/wav'
ContentType string `json:"contentType,omitempty"`
// Voicemail only Duration of the voicemail in seconds
VmDuration int32 `json:"vmDuration,omitempty"`
// Name of a file attached
Filename string `json:"filename,omitempty"`
// Size of attachment in bytes
Size int32 `json:"size,omitempty"`
}
type MessageChanges ¶
type MessageChanges struct {
// Message type
Type_ string `json:"type,omitempty"`
// The number of new messages. Can be omitted if the value is zero
NewCount int32 `json:"newCount,omitempty"`
// The number of updated messages. Can be omitted if the value is zero
UpdatedCount int32 `json:"updatedCount,omitempty"`
}
type MessageEvent ¶
type MessageEvent struct {
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
// Datetime when the message was last modified in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
LastUpdated time.Time `json:"lastUpdated,omitempty"`
// Message Changes
Changes []MessageChanges `json:"changes,omitempty"`
}
type MessageInfoResource ¶
type MessageInfoResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
To []CallerInfo `json:"to,omitempty"`
From *CallerInfo `json:"from,omitempty"`
Type_ string `json:"type,omitempty"`
CreationTime time.Time `json:"creationTime,omitempty"`
ReadStatus string `json:"readStatus,omitempty"`
Priority string `json:"priority,omitempty"`
Attachments []MessageAttachmentInfo `json:"attachments,omitempty"`
Direction string `json:"direction,omitempty"`
Availability string `json:"availability,omitempty"`
Subject string `json:"subject,omitempty"`
MessageStatus string `json:"messageStatus,omitempty"`
FaxResolution string `json:"faxResolution,omitempty"`
FaxPageCount int32 `json:"faxPageCount,omitempty"`
DeliveryErrorCode string `json:"deliveryErrorCode,omitempty"`
SmsDeliveryTime time.Time `json:"smsDeliveryTime,omitempty"`
SmsSendingAttemptsCount int64 `json:"smsSendingAttemptsCount,omitempty"`
ConversationId int64 `json:"conversationId,omitempty"`
Conversation *ConversationResource `json:"conversation,omitempty"`
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
PgToDepartment bool `json:"pgToDepartment,omitempty"`
VmTranscriptionStatus string `json:"vmTranscriptionStatus,omitempty"`
SourceFilePath string `json:"sourceFilePath,omitempty"`
CoverIndex int32 `json:"coverIndex,omitempty"`
CoverPageText string `json:"coverPageText,omitempty"`
}
type MessageStoreCallerInfoRequest ¶
type MessageStoreCallerInfoRequest struct {
// Extension short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message
ExtensionNumber string `json:"extensionNumber"`
// Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)
Location string `json:"location,omitempty"`
// Symbolic name associated with a party. If the phone does not belong to the known extension,only the location is returned, the name is not determined then
Name string `json:"name,omitempty"`
// Phone number of a party. Usually it is a plain number including country and area code like 18661234567. But sometimes it could be returned from database with some formatting applied, for example (866)123-4567. This property is filled in all cases where parties communicate by means of global phone numbers, for example when calling to direct numbers or sending/receiving SMS
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type MessageStoreCallerInfoResponse ¶
type MessageStoreCallerInfoResponse struct {
// Extension short number (usually 3 or 4 digits). This property is filled when parties communicate by means of short internal numbers, for example when calling to other extension or sending/receiving Company Pager message
ExtensionNumber string `json:"extensionNumber"`
// Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)
Location string `json:"location,omitempty"`
// Status of a message. Returned for outbound fax messages only
MessageStatus string `json:"messageStatus,omitempty"`
// Fax only. Error code returned in case of fax sending failure. Returned if messageStatus value is 'SendingFailed'
FaxErrorCode string `json:"faxErrorCode,omitempty"`
// Symbolic name associated with a party. If the phone does not belong to the known extension, only the location is returned, the name is not determined then
Name string `json:"name,omitempty"`
// Phone number of a party. Usually it is a plain number including country and area code like 18661234567. But sometimes it could be returned from database with some formatting applied, for example (866)123-4567. This property is filled in all cases where parties communicate by means of global phone numbers, for example when calling to direct numbers or sending/receiving SMS
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type Messages ¶
type Messages struct {
Uri string `json:"uri,omitempty"`
Records []MessageInfoResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type MessagesApiService ¶
type MessagesApiService service
func (*MessagesApiService) DeleteMessage ¶
func (a *MessagesApiService) DeleteMessage(ctx context.Context, accountId string, extensionId string, messageId int32, localVarOptionals map[string]interface{}) (*http.Response, error)
MessagesApiService Delete Message(s) by ID
<p style='font-style:italic;'></p><p>Deletes message(s) by the given message ID(s). The first call of this method transfers the message to the 'Delete' status. The second call transfers the deleted message to the 'Purged' status. If it is required to make the message 'Purged' immediately (from the first call), then set the query parameter purge to 'True'.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditMessages</td><td>Viewing and updating user messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param messageId Internal identifier of a message @param optional (nil or map[string]interface{}) with one or more of:
@param "purge" (bool) If the value is 'True', then the message is purged immediately with all the attachments. The default value is 'False' @param "conversationId" (int32) Internal identifier of a message thread
@return
func (*MessagesApiService) DeleteMessagesByFilter ¶
func (a *MessagesApiService) DeleteMessagesByFilter(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (*http.Response, error)
MessagesApiService Delete Conversations by ID's
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "conversationId" ([]string)
@return
func (*MessagesApiService) GetFaxCoverPages ¶
func (a *MessagesApiService) GetFaxCoverPages(ctx context.Context, localVarOptionals map[string]interface{}) (*http.Response, error)
MessagesApiService Get Fax Cover Pages
* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return
func (*MessagesApiService) ListMessages ¶
func (a *MessagesApiService) ListMessages(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetMessageList, *http.Response, error)
MessagesApiService Get Message List
<p style='font-style:italic;'>Since 1.0.2</p><p>Returns the list of messages from an extension mailbox.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "availability" ([]string) Specifies the availability status for the resulting messages. Default value is 'Alive'. Multiple values are accepted @param "conversationId" (int32) Specifies the conversation identifier for the resulting messages @param "dateFrom" (time.Time) The start datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours @param "dateTo" (time.Time) The end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time @param "direction" ([]string) The direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted @param "distinctConversations" (bool) If 'True', then the latest messages per every conversation ID are returned @param "messageType" ([]string) The type of the resulting messages. If not specified, all messages without message type filtering are returned. Multiple values are accepted @param "readStatus" ([]string) The read status for the resulting messages. Multiple values are accepted @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default @param "phoneNumber" (string) The phone number. If specified, messages are returned for this particular phone number only
@return GetMessageList
func (*MessagesApiService) LoadMessage ¶
func (a *MessagesApiService) LoadMessage(ctx context.Context, accountId string, extensionId string, messageId int32) (GetMessageInfoResponse, *http.Response, error)
MessagesApiService Get Message(s) by ID
<p style='font-style:italic;'>Since 1.0.2</p><p>Returns individual message record(s) by the given message ID(s). The length of inbound messages is unlimited. Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param messageId Internal identifier of a message @return GetMessageInfoResponse
func (*MessagesApiService) LoadMessageAttachment ¶
func (a *MessagesApiService) LoadMessageAttachment(ctx context.Context, accountId string, extensionId string, attachmentId int32, messageId int32, localVarOptionals map[string]interface{}) (*http.Response, error)
MessagesApiService Get Message Attachment
<p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Returns particular message attachment data as a media stream.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param attachmentId Internal identifier of a message attachment @param messageId Internal identifier of a message @param optional (nil or map[string]interface{}) with one or more of:
@param "range_" (string)
@return
func (*MessagesApiService) SendFaxMessage ¶
func (a *MessagesApiService) SendFaxMessage(ctx context.Context, accountId string, extensionId string, localVarFile *os.File, faxResolution string, to []string, localVarOptionals map[string]interface{}) (FaxResponse, *http.Response, error)
MessagesApiService Create Fax Message
<p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends/resends new fax message. Resend can be done if sending failed.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Faxes</td><td>Sending and receiving faxes</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account (integer) or tilde (~) to indicate the account which was logged-in within the current session. @param extensionId Internal identifier of an extension (integer) or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param attachment File to upload @param faxResolution Resolution of Fax @param to To Phone Number @param optional (nil or map[string]interface{}) with one or more of:
@param "sendTime" (time.Time) Optional. Timestamp to send fax at. If not specified (current or the past), the fax is sent immediately @param "isoCode" (string) ISO Code. e.g UK @param "coverIndex" (int32) Cover page identifier. For the list of available cover page identifiers please call the method Fax Cover Pages. If not specified, the default cover page which is configured in 'Outbound Fax Settings' is attached @param "coverPageText" (string) Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols
@return FaxResponse
func (*MessagesApiService) SendInternalMessage ¶
func (a *MessagesApiService) SendInternalMessage(ctx context.Context, accountId string, extensionId string, body CreatePagerMessageRequest) (GetMessageInfoResponse, *http.Response, error)
MessagesApiService Create Pager Message
<p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends a pager message.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>InternalMessages</td><td>Sending and receiving intra-company text messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return GetMessageInfoResponse
func (*MessagesApiService) SendSMS ¶
func (a *MessagesApiService) SendSMS(ctx context.Context, accountId string, extensionId string, body CreateSmsMessage) (GetMessageInfoResponse, *http.Response, error)
MessagesApiService Create SMS Message
<p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends new SMS message. Sending SMS messages simultaneously to different recipients is limited up to 50 requests per minute; relevant for all client applications.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>SMS</td><td>Sending and receiving SMS (text) messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return GetMessageInfoResponse
func (*MessagesApiService) SyncMessages ¶
func (a *MessagesApiService) SyncMessages(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetMessageSyncResponse, *http.Response, error)
MessagesApiService Get Message Sync
<p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Provides facilities to synchronize mailbox content stored externally with server state.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "conversationId" (int32) Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only. @param "dateFrom" (string) The start datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours @param "dateTo" (string) The end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time @param "direction" ([]string) Direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted @param "distinctConversations" (bool) If 'True', then the latest messages per every conversation ID are returned @param "messageType" ([]string) Type for the resulting messages. If not specified, all types of messages are returned. Multiple values are accepted @param "recordCount" (int32) Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) @param "syncToken" (string) Value of syncToken property of last sync request response @param "syncType" ([]string) Type of message synchronization
@return GetMessageSyncResponse
func (*MessagesApiService) UpdateMessage ¶
func (a *MessagesApiService) UpdateMessage(ctx context.Context, accountId string, extensionId string, messageId int32, body UpdateMessageRequest) (GetMessageInfoResponse, *http.Response, error)
MessagesApiService Update Message(s) by ID
<p style='font-style:italic;'>Since 1.0.2</p><p>Updates message(s) by ID(s). Batch request is supported, see Batch Requests for details. Currently, only the message read status updating is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditMessages</td><td>Viewing and updating user messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param messageId Internal identifier of a message @param body JSON body @return GetMessageInfoResponse
type MetaInfo ¶
type MetaInfo struct {
// User type
ResourceType string `json:"resourceType,omitempty"`
// Datetime of user creation in ISO 8601 format, for example 2016-03-10T18:07:52.534Z
Created time.Time `json:"created,omitempty"`
// Datetime of the last change of user information in ISO 8601 format,for example 2016-03-10T18:07:52.534Z
LastModified time.Time `json:"lastModified,omitempty"`
// resource location URI
Location string `json:"location,omitempty"`
}
type MethodInfo ¶
type MethodResource ¶
type MissedCallEvent ¶
type MissedCallEvent struct {
// Universally unique identifier of a notification
Uuid string `json:"uuid,omitempty"`
// APNS service info
PnApns *ApnsInfo `json:"pn_apns,omitempty"`
// Event filter URI
Event string `json:"event,omitempty"`
// Internal identifier of a subscription
SubscriptionId string `json:"subscriptionId,omitempty"`
// The datetime of a call action in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
Timestamp time.Time `json:"timestamp,omitempty"`
// Internal identifier of an extension
ExtensionId string `json:"extensionId,omitempty"`
// Calling action, for example 'StartRing'
Action string `json:"action,omitempty"`
// Identifier of a call session
SessionId string `json:"sessionId,omitempty"`
// Identifier of a server
ServerId string `json:"serverId,omitempty"`
// Phone number of a caller
From string `json:"from,omitempty"`
// Caller name
FromName string `json:"fromName,omitempty"`
// Phone number of a callee
To string `json:"to,omitempty"`
// Callee name
ToName string `json:"toName,omitempty"`
// Unique identifier of a session
Sid string `json:"sid,omitempty"`
// SIP proxy registration name
ToUrl string `json:"toUrl,omitempty"`
// User data
SrvLvl string `json:"srvLvl,omitempty"`
// User data
SrvLvlExt string `json:"srvLvlExt,omitempty"`
// File containing recorded caller name
RecUrl string `json:"recUrl,omitempty"`
// Notification lifetime value in seconds, the default value is 30 seconds
PnTtl int32 `json:"pn_ttl,omitempty"`
}
type MissedCallsInfo ¶
type MissedCallsInfo struct {
// Email notification flag
NotifyByEmail bool `json:"notifyByEmail,omitempty"`
// SMS notification flag
NotifyBySms bool `json:"notifyBySms,omitempty"`
// List of recipient email addresses for missed call notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedEmailAddresses []string `json:"advancedEmailAddresses,omitempty"`
// List of recipient phone numbers for missed call notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedSmsEmailAddresses []string `json:"advancedSmsEmailAddresses,omitempty"`
}
type ModifyAccountBusinessAddressRequest ¶
type ModifyAccountBusinessAddressRequest struct {
// Company business name
Company string `json:"company,omitempty"`
// Company business email address
Email string `json:"email,omitempty"`
// Company business address
BusinessAddress *BusinessAddressInfo `json:"businessAddress"`
}
type ModifySubscriptionRequest ¶
type ModifySubscriptionRequest struct {
// Collection of URIs to API resources (see Event Types). Mandatory field
EventFilters []string `json:"eventFilters,omitempty"`
}
type MonitoringExtensionsResource ¶
type MonitoringExtensionsResource struct {
Uri string `json:"uri,omitempty"`
Records []MonitoringExtensionResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type NameInfoRequest ¶
type NavigableCollectionResourceExtensionIdResource ¶
type NavigableCollectionResourceExtensionIdResource struct {
}
type NavigableCollectionResourceUserGroupResource ¶
type NavigableCollectionResourceUserGroupResource struct {
}
type Navigation ¶
type Navigation struct {
}
type NavigationInfo ¶
type NavigationInfo struct {
FirstPage *NavigationInfoUri `json:"firstPage,omitempty"`
NextPage *NavigationInfoUri `json:"nextPage,omitempty"`
PreviousPage *NavigationInfoUri `json:"previousPage,omitempty"`
LastPage *NavigationInfoUri `json:"lastPage,omitempty"`
}
type NavigationInfoUri ¶
type NavigationInfoUri struct {
}
type NewCookie ¶
type NewCookie struct {
Name string `json:"name,omitempty"`
Value string `json:"value,omitempty"`
Version int32 `json:"version,omitempty"`
Path string `json:"path,omitempty"`
Domain string `json:"domain,omitempty"`
Comment string `json:"comment,omitempty"`
MaxAge int32 `json:"maxAge,omitempty"`
Expiry time.Time `json:"expiry,omitempty"`
Secure bool `json:"secure,omitempty"`
HttpOnly bool `json:"httpOnly,omitempty"`
}
type NotificationBlacklistedData ¶
type NotificationBlacklistedData struct {
// Time of adding subscrition to a black list in (ISO 8601)[https://en.wikipedia.org/wiki/ISO_8601] format including timezone, for example *2016-03-10T18:07:52.534Z*
BlacklistedAt time.Time `json:"blacklistedAt,omitempty"`
// Reason of adding subscrition to a black list
Reason string `json:"reason,omitempty"`
}
Returned if WebHook subscription is blacklisted
type NotificationDeliveryMode ¶
type NotificationDeliveryMode struct {
// Notifications transportation provider name. 'APNS' (Apple Push Notifications Service)
TransportType string `json:"transportType,omitempty"`
// Optional parameter. Specifies if the message will be encrypted or not. For APNS transport type the value is always false
Encryption bool `json:"encryption,omitempty"`
// PubNub channel name. For APNS transport type - internal identifier of a device device_token
Address string `json:"address,omitempty"`
// PubNub subscriber credentials required to subscribe to the channel
SubscriberKey string `json:"subscriberKey,omitempty"`
// PubNub subscriber credentials required to subscribe to the channel. Optional (for PubNub transport type only)
SecretKey string `json:"secretKey,omitempty"`
// Encryption algorithm 'AES' (for PubNub transport type only)
EncryptionAlgorithm string `json:"encryptionAlgorithm,omitempty"`
// Key for notification message decryption (for PubNub transport type only)
EncryptionKey string `json:"encryptionKey,omitempty"`
}
type NotificationDeliveryModeRequest ¶
type NotificationDeliveryModeRequest struct {
// Notifications transportation provider name. 'APNS' (Apple Push Notifications Service)
TransportType string `json:"transportType,omitempty"`
// Mandatory for 'APNS' and 'WebHook' transport types. For 'APNS' - internal identifier of a device 'device_token' for 'WebHook' - URL of a consumer service (cannot be changed during subscription update)
Address string `json:"address,omitempty"`
// Optional parameter. Specifies if the message will be encrypted or not. If request contains any presence event filter the value by default is 'True' (even if specified as 'false'). If request contains only message event filters the value by default is 'False'
Encryption bool `json:"encryption,omitempty"`
// For 'PubNub/APNS' and 'PubNub/GCM' transport types. Name of a certificate
CertificateName string `json:"certificateName,omitempty"`
// For 'PubNub/APNS' and 'PubNub/GCM' transport types. Identifier of a registration
RegistrationId string `json:"registrationId,omitempty"`
}
type NotificationInfo ¶
type NotificationInfo struct {
// Alert information
Alerts *AlertInfo `json:"alerts,omitempty"`
// Number of incoming messages
Badge string `json:"badge,omitempty"`
// Message sound
Sound string `json:"sound,omitempty"`
// Content availability
ContentAvailable string `json:"content-available,omitempty"`
// Category of a message
Category string `json:"category,omitempty"`
}
type NotificationRecipientInfo ¶
type NotificationRecipientInfo struct {
// Phone number in E.164 (with '+' sign) format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Extension number
ExtensionNumber string `json:"extensionNumber,omitempty"`
// 'True' specifies that message is sent exactly to this recipient. Returned in to field for group MMS. Useful if one extension has several phone numbers
Target bool `json:"target,omitempty"`
// Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)
Location string `json:"location,omitempty"`
// Symbolic name associated with a caller/callee. If the phone does not belong to the known extension, only the location is returned, the name is not determined then
Name string `json:"name,omitempty"`
}
type NotificationSettings ¶
type NotificationSettings struct {
// Canonical URI of notifications settings resource
Uri string `json:"uri,omitempty"`
// List of notification recipient email addresses
EmailAddresses []string `json:"emailAddresses,omitempty"`
// List of notification recipient email addresses
SmsEmailAddresses []string `json:"smsEmailAddresses,omitempty"`
// Specifies notifications settings mode. If 'True' then advanced mode is on, it allows using different emails and/or phone numbers for each notification type. If 'False' then basic mode is on. Advanced mode settings are returned in both modes, if specified once, but if basic mode is switched on, they are not applied
AdvancedMode bool `json:"advancedMode,omitempty"`
Voicemails *VoicemailsInfo `json:"voicemails,omitempty"`
InboundFaxes *InboundFaxesInfo `json:"inboundFaxes,omitempty"`
OutboundFaxes *OutboundFaxesInfo `json:"outboundFaxes,omitempty"`
InboundTexts *InboundTextsInfo `json:"inboundTexts,omitempty"`
MissedCalls *MissedCallsInfo `json:"missedCalls,omitempty"`
}
type NotificationSettingsUpdateRequest ¶
type NotificationSettingsUpdateRequest struct {
// List of notification recipient email addresses
EmailAddresses []string `json:"emailAddresses,omitempty"`
// List of notification recipient email addresses
SmsEmailAddresses []string `json:"smsEmailAddresses,omitempty"`
// Specifies notifications settings mode. If 'True' then advanced mode is on, it allows using different emails and/or phone numbers for each notification type. If 'False' then basic mode is on. Advanced mode settings are returned in both modes, if specified once, but if basic mode is switched on, they are not applied
AdvancedMode bool `json:"advancedMode,omitempty"`
Voicemails *VoicemailsInfo `json:"voicemails,omitempty"`
InboundFaxes *InboundFaxesInfo `json:"inboundFaxes,omitempty"`
OutboundFaxes *OutboundFaxesInfo `json:"outboundFaxes,omitempty"`
InboundTexts *InboundTextsInfo `json:"inboundTexts,omitempty"`
MissedCalls *MissedCallsInfo `json:"missedCalls,omitempty"`
}
type NumberPoolPhoneNumberRequest ¶
type NumberPoolPhoneNumberRequest struct {
// Phone number in E.164 format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Datetime up to which the number is reserved in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. If it is omitted or explicitly set to 'null', the number will be un-reserved if it was reserved previously by the same session. Also the values 'Min' and 'Max' are supported. 'Min' is 30 seconds; and 'Max' is 30 days (for reservation by brand) and 20 minutes (for reservation by account/session)
ReservedTill time.Time `json:"reservedTill,omitempty"`
// Internal identifier of a phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time
ReservationId string `json:"reservationId,omitempty"`
}
type NumberPortingRequest ¶
type NumberPortingRequest struct {
RcAccountId int64 `json:"rcAccountId,omitempty"`
RcOrderId int64 `json:"rcOrderId,omitempty"`
OrderStatus string `json:"orderStatus,omitempty"`
Timestamp string `json:"timestamp,omitempty"`
Jcode string `json:"jcode,omitempty"`
CompletionDate string `json:"completionDate,omitempty"`
TransferDate string `json:"transferDate,omitempty"`
}
type OptionInfo ¶
type OptionInfo struct {
// Specifies if the feature is allowed ('True') or disallowed ('False') for the special number
Enabled bool `json:"enabled,omitempty"`
// The reason explaining why the option is disallowed. Returned if the value of enabled is 'False'
Reason *OptionInfoReason `json:"reason"`
}
type OptionInfoReason ¶
type OrderLicensesRequest ¶
type OrderLicensesRequest struct {
// List of licenses to be purchased
AddedLicenses []LicenseInfoRequest `json:"addedLicenses,omitempty"`
}
type OrderResource ¶
type OrderResource struct {
Id string `json:"id,omitempty"`
Uri string `json:"uri,omitempty"`
Devices []DeviceResource `json:"devices,omitempty"`
}
type OrganizationResource ¶
type OutboundFaxesInfo ¶
type OutboundFaxesInfo struct {
// Email notification flag
NotifyByEmail bool `json:"notifyByEmail,omitempty"`
// SMS notification flag
NotifyBySms bool `json:"notifyBySms,omitempty"`
// List of recipient email addresses for outbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedEmailAddresses []string `json:"advancedEmailAddresses,omitempty"`
// List of recipient phone numbers for outbound fax notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedSmsEmailAddresses []string `json:"advancedSmsEmailAddresses,omitempty"`
}
type PagesInfoReporting ¶
type PagesInfoReporting struct {
// Name of a page. CFA application UI predefines a set of possible names and treats them as enum constants to distinguish pages by type. This is not user-visible value, as it might need localization. The maximum value is 255
Name string `json:"name"`
// CFA-defined filter values/page parameters
AttrX string `json:"attrX,omitempty"`
}
type PagingDeviceInfo ¶
type PagingGroupExtensionInfo ¶
type PagingGroupExtensionInfo struct {
// Internal identifier of a paging group user extension
Id string `json:"id,omitempty"`
// Link to a paging group user extension
Uri string `json:"uri,omitempty"`
// Extension number of a paging group user
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Name of a paging group user
Name string `json:"name,omitempty"`
}
type PagingInfo ¶
type PagingInfo struct {
// The current page number. 1-indexed, so the first page is 1 by default. May be omitted if result is empty (because non-existent page was specified or perPage=0 was requested)
Page int32 `json:"page,omitempty"`
// Current page size, describes how many items are in each page. Default value is 100. Maximum value is 1000. If perPage value in the request is greater than 1000, the maximum value (1000) is applied
PerPage int32 `json:"perPage,omitempty"`
// The zero-based number of the first element on the current page. Omitted if the page is omitted or result is empty
PageStart int32 `json:"pageStart,omitempty"`
// The zero-based index of the last element on the current page. Omitted if the page is omitted or result is empty
PageEnd int32 `json:"pageEnd,omitempty"`
// The total number of pages in a dataset. May be omitted for some resources due to performance reasons
TotalPages int32 `json:"totalPages,omitempty"`
// The total number of elements in a dataset. May be omitted for some resource due to performance reasons
TotalElements int32 `json:"totalElements,omitempty"`
}
type PagingOnlyGroupDevices ¶
type PagingOnlyGroupDevices struct {
// List of paging devices assigned to this group
Records []PagingDeviceInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type PagingOnlyGroupUsers ¶
type PagingOnlyGroupUsers struct {
// List of users allowed to page this group
Records []PagingGroupExtensionInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type ParameterizedHeader ¶
type ParameterizedHeader struct {
Value string `json:"value,omitempty"`
}
type ParkLocationResponse ¶
type ParkLocationResponse struct {
// List of user extensions allowed to park and unpark calls to/from the extension specified
Records []ExtensionInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type ParsePhoneNumberRequest ¶
type ParsePhoneNumberRequest struct {
// Phone numbers passed in a string. The maximum value of phone numbers is limited to 64. The maximum number of symbols in each phone number in a string is 64
OriginalStrings string `json:"originalStrings,omitempty"`
}
type ParsePhoneNumberResponse ¶
type ParsePhoneNumberResponse struct {
// Canonical URI of a resource
Uri string `json:"uri,omitempty"`
// Information on a user home country
HomeCountry []GetCountryInfoNumberParser `json:"homeCountry"`
// Parsed phone numbers data
PhoneNumbers []PhoneNumberInfoNumberParser `json:"phoneNumbers"`
// One of the numbers to be parsed, passed as a string in response
OriginalString string `json:"originalString,omitempty"`
// Area code of the location (3-digit usually), according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See North American Numbering Plan for details
AreaCode string `json:"areaCode,omitempty"`
// Domestic format of a phone number
FormattedNational string `json:"formattedNational,omitempty"`
// International format of a phone number
FormattedInternational string `json:"formattedInternational,omitempty"`
// Dialing format of a phone number
Dialable string `json:"dialable,omitempty"`
// E.164 (11-digits) format of a phone number
E164 string `json:"e164,omitempty"`
// True if the number is in a special format (for example N11 code)
Special bool `json:"special,omitempty"`
// E.164 (11-digits) format of a phone number without the plus sign ('+')
Normalized string `json:"normalized,omitempty"`
// Information on a country the phone number belongs to
Country []GetCountryInfoNumberParser `json:"country,omitempty"`
}
type ParsedNumberResource ¶
type ParsedNumberResource struct {
Uri string `json:"uri,omitempty"`
OriginalString string `json:"originalString,omitempty"`
Country *CountryResource `json:"country,omitempty"`
AreaCode string `json:"areaCode,omitempty"`
SubscriberNumber string `json:"subscriberNumber,omitempty"`
FormattedNational string `json:"formattedNational,omitempty"`
FormattedInternational string `json:"formattedInternational,omitempty"`
Dialable string `json:"dialable,omitempty"`
E164 string `json:"e164,omitempty"`
Special bool `json:"special,omitempty"`
Normalized string `json:"normalized,omitempty"`
TollFree bool `json:"tollFree,omitempty"`
SubAddress string `json:"subAddress,omitempty"`
DtmfPostfix string `json:"dtmfPostfix,omitempty"`
}
type ParsedPhoneNumbersResource ¶
type ParsedPhoneNumbersResource struct {
Uri string `json:"uri,omitempty"`
HomeCountry *HomeCountryResource `json:"homeCountry,omitempty"`
PhoneNumbers []ParsedNumberResource `json:"phoneNumbers,omitempty"`
}
type PatchOperationInfo ¶
type PathPattern ¶
type PathPattern struct {
Regex string `json:"regex,omitempty"`
GroupIndexes []int32 `json:"groupIndexes,omitempty"`
Template *UriTemplate `json:"template,omitempty"`
}
type PatternWithGroups ¶
type PaymentInfoCardHolderResource ¶
type PaymentInfoCardHolderResource struct {
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
Address *PaymentInfoAddressResource `json:"address,omitempty"`
}
type PaymentInfoCardResource ¶
type PaymentInfoCardResource struct {
CardType string `json:"cardType,omitempty"`
Number string `json:"number,omitempty"`
SecurityCode string `json:"securityCode,omitempty"`
Expiry string `json:"expiry,omitempty"`
Token string `json:"token,omitempty"`
Holder *PaymentInfoCardHolderResource `json:"holder,omitempty"`
}
type PaymentInfoResource ¶
type PaymentInfoResource struct {
Uri string `json:"uri,omitempty"`
PaymentType string `json:"paymentType,omitempty"`
Card *PaymentInfoCardResource `json:"card,omitempty"`
InvoiceSettings *InvoiceSettingsResource `json:"invoiceSettings,omitempty"`
}
type Permission ¶
type Permission struct {
Enabled bool `json:"enabled,omitempty"`
}
type PermissionCategoryCollectionResource ¶
type PermissionCategoryCollectionResource struct {
Uri string `json:"uri,omitempty"`
Records []PermissionCategoryResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type PermissionCollectionResource ¶
type PermissionCollectionResource struct {
Uri string `json:"uri,omitempty"`
Records []PermissionResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type PermissionIdResource ¶
type PermissionInfo ¶
type PermissionInfo struct {
// Specifies if a permission is enabled or not
Enabled bool `json:"enabled,omitempty"`
}
type PermissionResource ¶
type PermissionResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
Assignable bool `json:"assignable,omitempty"`
ReadOnly bool `json:"readOnly,omitempty"`
Category *PermissionCategoryIdResource `json:"category,omitempty"`
IncludedPermissions []PermissionIdResource `json:"includedPermissions,omitempty"`
}
type PersonalContactResource ¶
type PersonalContactResource struct {
Uri string `json:"uri,omitempty"`
Availability string `json:"availability,omitempty"`
Id string `json:"id,omitempty"`
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
MiddleName string `json:"middleName,omitempty"`
Birthday time.Time `json:"birthday,omitempty"`
Notes string `json:"notes,omitempty"`
WebPage string `json:"webPage,omitempty"`
Company string `json:"company,omitempty"`
JobTitle string `json:"jobTitle,omitempty"`
NickName string `json:"nickName,omitempty"`
Email string `json:"email,omitempty"`
Email2 string `json:"email2,omitempty"`
Email3 string `json:"email3,omitempty"`
HomeAddress *ContactAddressInfo `json:"homeAddress,omitempty"`
OtherAddress *ContactAddressInfo `json:"otherAddress,omitempty"`
HomePhone string `json:"homePhone,omitempty"`
HomePhone2 string `json:"homePhone2,omitempty"`
MobilePhone string `json:"mobilePhone,omitempty"`
BusinessPhone string `json:"businessPhone,omitempty"`
CallbackPhone string `json:"callbackPhone,omitempty"`
CarPhone string `json:"carPhone,omitempty"`
CompanyPhone string `json:"companyPhone,omitempty"`
OtherPhone string `json:"otherPhone,omitempty"`
BusinessFax string `json:"businessFax,omitempty"`
OtherFax string `json:"otherFax,omitempty"`
BusinessAddress *ContactAddressInfo `json:"businessAddress,omitempty"`
AssistantPhone string `json:"assistantPhone,omitempty"`
BusinessPhone2 string `json:"businessPhone2,omitempty"`
}
type PhoneLineResource ¶
type PhoneLineResource struct {
LineType string `json:"lineType,omitempty"`
PhoneInfo *PhoneNumberResourceIntId `json:"phoneInfo,omitempty"`
EmergencyAddress *EmergencyAddress `json:"emergencyAddress,omitempty"`
}
type PhoneLinesInfo ¶
type PhoneLinesInfo struct {
// Type of phone line
LineType string `json:"lineType,omitempty"`
// Phone number information
PhoneInfo *PhoneNumberInfoIntId `json:"phoneInfo,omitempty"`
}
type PhoneNumberForProvisioningResource ¶
type PhoneNumberForProvisioningResource struct {
PhoneNumber string `json:"phoneNumber,omitempty"`
VanityPattern string `json:"vanityPattern,omitempty"`
Source string `json:"source,omitempty"`
Type_ string `json:"type,omitempty"`
UsageType string `json:"usageType,omitempty"`
Extension *ExtensionReferenceResource `json:"extension,omitempty"`
ReservationId string `json:"reservationId,omitempty"`
}
type PhoneNumberInfo ¶
type PhoneNumberInfo struct {
// Internal identifier of a phone number
Id string `json:"id,omitempty"`
// Brief information on a phone number country
Country *CountryInfo `json:"country,omitempty"`
// Information on the extension, to which the phone number is assigned. Returned only for the request of Account phone number list
Extension *ExtensionInfo `json:"extension,omitempty"`
// Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'
Label string `json:"label,omitempty"`
// Location (City, State). Filled for local US numbers
Location string `json:"location,omitempty"`
// Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system
PaymentType string `json:"paymentType,omitempty"`
// Phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
// Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral
Status string `json:"status,omitempty"`
// Phone number type
Type_ string `json:"type,omitempty"`
// Usage type of the phone number
UsageType string `json:"usageType,omitempty"`
}
type PhoneNumberInfoConferencing ¶
type PhoneNumberInfoConferencing struct {
// Information on a home country of a conference phone number
Country *GetCountryInfoConferencing `json:"country,omitempty"`
// 'True' if the number is default for the conference. Default conference number is a domestic number that can be set by user (otherwise it is set by the system). Only one default number per country is allowed
Default_ bool `json:"default,omitempty"`
// 'True' if the greeting message is played on this number
HasGreeting bool `json:"hasGreeting,omitempty"`
// Location (city, region, state) of a conference phone number
Location string `json:"location,omitempty"`
// Dial-in phone number to connect to a conference
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type PhoneNumberInfoIntId ¶
type PhoneNumberInfoIntId struct {
// Internal identifier of a phone number
Id int64 `json:"id,omitempty"`
// Brief information on a phone number country
Country *CountryInfo `json:"country,omitempty"`
// Information on the extension, to which the phone number is assigned. Returned only for the request of Account phone number list
Extension *ExtensionInfo `json:"extension,omitempty"`
// Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'
Label string `json:"label,omitempty"`
// Location (City, State). Filled for local US numbers
Location string `json:"location,omitempty"`
// Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system
PaymentType string `json:"paymentType,omitempty"`
// Phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
// Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral
Status string `json:"status,omitempty"`
// Phone number type
Type_ string `json:"type,omitempty"`
// Usage type of the phone number
UsageType string `json:"usageType,omitempty"`
}
type PhoneNumberInfoNumberParser ¶
type PhoneNumberInfoNumberParser struct {
// Area code of the location (3-digit usually), according to the NANP number format, that can be summarized as NPA-NXX-xxxx and covers Canada, the United States, parts of the Caribbean Sea, and some Atlantic and Pacific islands. See North American Numbering Plan for details
AreaCode string `json:"areaCode,omitempty"`
// Information on a country the phone number belongs to
Country []GetCountryInfoNumberParser `json:"country,omitempty"`
// Dialing format of a phone number
Dialable string `json:"dialable,omitempty"`
// E.164 (11-digits) format of a phone number
E164 string `json:"e164,omitempty"`
// International format of a phone number
FormattedInternational string `json:"formattedInternational,omitempty"`
// Domestic format of a phone number
FormattedNational string `json:"formattedNational,omitempty"`
// One of the numbers to be parsed, passed as a string in response
OriginalString string `json:"originalString,omitempty"`
// True if the number is in a special format (for example N11 code)
Special bool `json:"special,omitempty"`
// E.164 (11-digits) format of a phone number without the plus sign ('+')
Normalized string `json:"normalized,omitempty"`
}
type PhoneNumberInfoRequest ¶
type PhoneNumberResource ¶
type PhoneNumberResource struct {
// Internal identifier of a phone number
Id string `json:"id,omitempty"`
// Brief information on a phone number country
Country *CountryResource `json:"country,omitempty"`
// Information on an extension to which the phone number is assigned
Extension *ExtensionResource `json:"extension,omitempty"`
// Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'
Label string `json:"label,omitempty"`
// Location (City, State). Filled for local US numbers
Location string `json:"location,omitempty"`
// Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system = ['External', 'TollFree', 'Local'],
PaymentType string `json:"paymentType,omitempty"`
// Phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
// Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral ,
Status string `json:"status,omitempty"`
UsageType string `json:"usageType,omitempty"`
// Type of a phone number
Type_ string `json:"type,omitempty"`
}
type PhoneNumberResourceIntId ¶
type PhoneNumberResourceIntId struct {
// Internal identifier of a phone number
Id int64 `json:"id,omitempty"`
// Brief information on a phone number country
Country *CountryResource `json:"country,omitempty"`
// Information on an extension to which the phone number is assigned
Extension *ExtensionResource `json:"extension,omitempty"`
// Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber'
Label string `json:"label,omitempty"`
// Location (City, State). Filled for local US numbers
Location string `json:"location,omitempty"`
// Payment type. 'External' is returned for forwarded numbers which are not terminated in the RingCentral phone system = ['External', 'TollFree', 'Local'],
PaymentType string `json:"paymentType,omitempty"`
// Phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
// Status of a phone number. If the value is 'Normal', the phone number is ready to be used. Otherwise it is an external number not yet ported to RingCentral ,
Status string `json:"status,omitempty"`
UsageType string `json:"usageType,omitempty"`
// Type of a phone number
Type_ string `json:"type,omitempty"`
}
type PhoneNumbers ¶
type PhoneNumbers struct {
// Canonical URI of the phone numbers resource
Uri string `json:"uri,omitempty"`
// List of phone numbers filtered by the specified criteria
Records []LookupPhoneNumberInfo `json:"records,omitempty"`
}
type PhoneNumbersApiService ¶
type PhoneNumbersApiService service
func (*PhoneNumbersApiService) ListExtensionPhoneNumbers ¶
func (a *PhoneNumbersApiService) ListExtensionPhoneNumbers(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetExtensionPhoneNumbersResponse, *http.Response, error)
PhoneNumbersApiService Get Extension Phone Number List
<p style='font-style:italic;'>Since 1.0.2</p><p>Returns the list of phone numbers that are used by a particular extension, and can be filtered by the phone number type. The returned list contains all numbers which are directly mapped to a given extension plus the features and also company-level numbers which may be used when performing different operations on behalf of this extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "usageType" ([]string) Usage type of the phone number @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return GetExtensionPhoneNumbersResponse
type PhoneNumbersRecordsResource ¶
type PhoneNumbersRecordsResource struct {
Uri string `json:"uri,omitempty"`
Records []PhoneNumberResource `json:"records,omitempty"`
}
type PhoneNumbersResource ¶
type PhoneNumbersResource struct {
Uri string `json:"uri,omitempty"`
Records []PhoneNumberResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type PoolRequestResource ¶
type PoolRequestResource struct {
RendererId string `json:"rendererId,omitempty"`
}
type PoolResponseResource ¶
type PoolResponseResource struct {
RendererId string `json:"rendererId,omitempty"`
MessageId string `json:"messageId,omitempty"`
ExtensionId string `json:"extensionId,omitempty"`
ExtensionNumber string `json:"extensionNumber,omitempty"`
FirstName string `json:"firstName,omitempty"`
LastName string `json:"lastName,omitempty"`
Street string `json:"street,omitempty"`
City string `json:"city,omitempty"`
State string `json:"state,omitempty"`
Zip string `json:"zip,omitempty"`
Country string `json:"country,omitempty"`
CountryId string `json:"countryId,omitempty"`
CompanyName string `json:"companyName,omitempty"`
FaxNumber string `json:"faxNumber,omitempty"`
ContactPhone string `json:"contactPhone,omitempty"`
Email string `json:"email,omitempty"`
LanguageCode string `json:"languageCode,omitempty"`
LanguageId string `json:"languageId,omitempty"`
CoverIndex float32 `json:"coverIndex,omitempty"`
CoverPageText string `json:"coverPageText,omitempty"`
SourceFiles []*os.File `json:"sourceFiles,omitempty"`
MessageServers []string `json:"messageServers,omitempty"`
TouchInterval int64 `json:"touchInterval,omitempty"`
}
type PostGlipFile ¶
type PresenceApiService ¶
type PresenceApiService service
func (*PresenceApiService) AccountPresence ¶
func (a *PresenceApiService) AccountPresence(ctx context.Context, accountId string) (AccountPresenceInfo, *http.Response, error)
PresenceApiService Get all user statuses
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId @return AccountPresenceInfo
func (*PresenceApiService) GetMonitoringExtensions ¶
func (a *PresenceApiService) GetMonitoringExtensions(ctx context.Context, extensionId string, accountId string) (MonitoringExtensionsResource, *http.Response, error)
PresenceApiService Get User Presence Permissions
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param accountId @return MonitoringExtensionsResource
func (*PresenceApiService) GetPresenceLine ¶
func (a *PresenceApiService) GetPresenceLine(ctx context.Context, lineId string, extensionId string, accountId string) (PresenceLineResource, *http.Response, error)
PresenceApiService Get Monitored Extensions by Id
* @param ctx context.Context for authentication, logging, tracing, etc. @param lineId @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @return PresenceLineResource
func (*PresenceApiService) GetPresenceStatus ¶
func (a *PresenceApiService) GetPresenceStatus(ctx context.Context, accountId string, extensionId string) (GetPresenceInfo, *http.Response, error)
PresenceApiService Get User Status
<p style='font-style:italic;'>Since 1.0.2</p><p>Returns presence status of an extension or several extensions by their ID(s). Batch request is supported, see Batch Requests for details.The presenceStatus is returned as Offline (the parameters telephonyStatus, message, userStatus and dndStatus are not returned at all) for the following extension types: Department/Announcement Only/Take Messages Only (Voicemail)/Fax User/Paging Only Group/Shared Lines Group/IVR Menu/Application Extension/Park Location.If the user requests his/her own presence status, the response contains actual presence status even if the status publication is turned off.Batch request is supported. For batch requests the number of extensions in one request is limited to 30. If more extensions are included in the request, the error code 400 Bad Request is returned with the logical error code InvalidMultipartRequest and the corresponding message 'Extension Presence Info multipart request is limited to 30 extensions'.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadPresence</td><td>Getting user presence information</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return GetPresenceInfo
func (*PresenceApiService) ListMonitoredExtensions ¶
func (a *PresenceApiService) ListMonitoredExtensions(ctx context.Context, accountId string, extensionId string) (GetMonitoredExtensionsResponse, *http.Response, error)
PresenceApiService Get Monitored Extensions
<p style='font-style:italic;'>Since 1.0.13 (Release 6.5)</p><p>Returns list of lines - extensions which presence status can be indicated and monitored on BLF-enabled (Busy Lamp Field) devices.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadPresence</td><td>Getting user presence information</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return GetMonitoredExtensionsResponse
func (*PresenceApiService) PutMonitoringExtensions ¶
func (a *PresenceApiService) PutMonitoringExtensions(ctx context.Context, extensionId string, accountId string, body UserPresencePermissionsUpdateRequest) (MonitoringExtensionsResource, *http.Response, error)
PresenceApiService Update User Presence Permissions
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param accountId @param body @return MonitoringExtensionsResource
func (*PresenceApiService) UpdatePresenceLines ¶
func (a *PresenceApiService) UpdatePresenceLines(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (UpdatePresenceLinesResponse, *http.Response, error)
PresenceApiService Update Monitored Extensions
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (UpdatePresenceLinesRequest)
@return UpdatePresenceLinesResponse
func (*PresenceApiService) UpdatePresenceStatus ¶
func (a *PresenceApiService) UpdatePresenceStatus(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (PresenceInfoResource, *http.Response, error)
PresenceApiService Update User Status
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (PresenceInfoResource)
@return PresenceInfoResource
type PresenceExtensionInfo ¶
type PresenceExtensionInfo struct {
Id string `json:"id,omitempty"`
}
type PresenceInfoResource ¶
type PresenceInfoResource struct {
UserStatus string `json:"userStatus,omitempty"`
DndStatus string `json:"dndStatus,omitempty"`
Message string `json:"message,omitempty"`
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
ActiveCalls []ActiveCallInfo `json:"activeCalls,omitempty"`
}
type PresenceLineInfo ¶
type PresenceLineInfo struct {
Id string `json:"id,omitempty"`
Extension *PresenceExtensionInfo `json:"extension,omitempty"`
}
type PresenceLineResource ¶
type PresenceLineResource struct {
Id string `json:"id,omitempty"`
Extension *InlinedExtensionResource `json:"extension,omitempty"`
}
type PresenceLinesNavigationResource ¶
type PresenceLinesNavigationResource struct {
}
type PresencePermissions ¶
type PresencePermissions struct {
TargetExtensionId string `json:"targetExtensionId,omitempty"`
SubscriberExtensionId string `json:"subscriberExtensionId,omitempty"`
CanReadPresenceStatus bool `json:"canReadPresenceStatus,omitempty"`
CanReadPresenceSettings bool `json:"canReadPresenceSettings,omitempty"`
CanPickup bool `json:"canPickup,omitempty"`
}
type PresencePermissionsExtensionInfoRequest ¶
type PresencePermissionsExtensionInfoRequest struct {
// Internal identifier of an extension
Id string `json:"id,omitempty"`
}
type PresetInfo ¶
type ProfileImageInfo ¶
type ProfileImageInfo struct {
// Link to a profile image. If an image is not uploaded for an extension, only uri is returned
Uri string `json:"uri"`
// Identifier of an image
Etag string `json:"etag,omitempty"`
// The datetime when an image was last updated in ISO 8601 format, for example 2016-03-10T18:07:52.534Z
LastModified time.Time `json:"lastModified,omitempty"`
// The type of an image
ContentType string `json:"contentType,omitempty"`
// List of URIs to profile images in different dimensions
Scales []ProfileImageInfoUri `json:"scales,omitempty"`
}
type ProfileImageInfoUri ¶
type ProfileImageInfoUri struct {
Uri string `json:"uri,omitempty"`
}
type ProfileImageResource ¶
type PromotionCodeResource ¶
type PromptInfo ¶
type PromptInfo struct {
// Internal identifier of a prompt
Uri string `json:"uri,omitempty"`
// Link to a prompt metadata
Id string `json:"id,omitempty"`
// Type of a prompt media content
ContentType string `json:"contentType,omitempty"`
// Link to a prompt media content
ContentUri string `json:"contentUri,omitempty"`
// Name of a prompt
Filename string `json:"filename,omitempty"`
}
type PromptLanguageInfo ¶
type PronouncedNameInfo ¶
type PronouncedNameInfo struct {
// Voice name typeDefault - default extension name; first name and last name specified in user profileTextToSpeech - custom text; user name spelled the way it sounds and specified by userRecorded - custom audio; user name recorded in user's own voice (supported only for extension retrieval) = ['Default', 'TextToSpeech', 'Recorded']
Type_ string `json:"type,omitempty"`
// Custom text
Text string `json:"text,omitempty"`
}
type PropertiesDelegate ¶
type PropertiesDelegate struct {
PropertyNames []string `json:"propertyNames,omitempty"`
}
type ProvisionPhoneNumberRequest ¶
type ProvisionPhoneNumberRequest struct {
// Information on extension which the phone number is added to, only for provisioning extension-level numbers
ExtensionId *ExtensionInfoProvisionPhoneNumbers `json:"extensionId,omitempty"`
// Phone number to purchase returned in E.164 (11-digits) format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Internal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time
ReservationId string `json:"reservationId,omitempty"`
// Custom user name of a phone number, if any. Supported for numbers assigned to Auto-Receptionist, with usage type 'CompanyNumber
Label string `json:"label,omitempty"`
// Usage type of a phone number. The default value is 'DirectNumber'
UsageType string `json:"usageType,omitempty"`
// Type of a phone number
Type_ string `json:"type,omitempty"`
// Vanity pattern that was used to find this number. It should be passed as if it was returned from the Number Lookup call
VanityPattern string `json:"vanityPattern,omitempty"`
}
type ProvisioningResource ¶
type ProvisioningResource struct {
WebUris *WebUrisResource `json:"webUris,omitempty"`
Hints *HintsResource `json:"hints,omitempty"`
}
type PushNotificationsApiService ¶
type PushNotificationsApiService service
func (*PushNotificationsApiService) CreateSubscription ¶
func (a *PushNotificationsApiService) CreateSubscription(ctx context.Context, body CreateSubscriptionRequest) (SubscriptionInfo, *http.Response, error)
PushNotificationsApiService Create Subscription
<p style='font-style:italic;'>Since 1.0.6 (Release 5.15)</p><p>Creates a new subscription.</p><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body JSON body @return SubscriptionInfo
func (*PushNotificationsApiService) DeleteSubscription ¶
func (a *PushNotificationsApiService) DeleteSubscription(ctx context.Context, subscriptionId string) (*http.Response, error)
PushNotificationsApiService Cancel Subscription
<p style='font-style:italic;'></p><p>Cancels the existent subscription.</p><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param subscriptionId Internal identifier of a subscription @return
func (*PushNotificationsApiService) GetSubscriptions ¶
func (a *PushNotificationsApiService) GetSubscriptions(ctx context.Context) (RecordsCollectionResourceSubscriptionResponse, *http.Response, error)
PushNotificationsApiService Get Subscriptions * @param ctx context.Context for authentication, logging, tracing, etc. @return RecordsCollectionResourceSubscriptionResponse
func (*PushNotificationsApiService) LoadSubscription ¶
func (a *PushNotificationsApiService) LoadSubscription(ctx context.Context, subscriptionId int32) (SubscriptionInfo, *http.Response, error)
PushNotificationsApiService Get Subscription
<p style='font-style:italic;'>Since 1.0.6 (Release 5.15)</p><p>Returns the requested subscription.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param subscriptionId Internal identifier of a subscription @return SubscriptionInfo
func (*PushNotificationsApiService) RenewSubscription ¶
func (a *PushNotificationsApiService) RenewSubscription(ctx context.Context, subscriptionId string) (SubscriptionInfo, *http.Response, error)
PushNotificationsApiService Renew Subscription
<p style='font-style:italic;'>Since 1.0.26 (Release 8.12)</p><p>Renews an existent subscription by ID by posting request with an empty body..</p><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param subscriptionId @return SubscriptionInfo
func (*PushNotificationsApiService) UpdateSubscription ¶
func (a *PushNotificationsApiService) UpdateSubscription(ctx context.Context, subscriptionId string, body ModifySubscriptionRequest, localVarOptionals map[string]interface{}) (SubscriptionInfo, *http.Response, error)
PushNotificationsApiService Renew Subscription / Update Event Filters
<p style='font-style:italic;'>Since 1.0.6 (Release 5.15)</p><p>Renews the existent subscription if the request body is empty. If event filters are specified, calling this method modifies the event filters for the existing subscription. The client application can extend or narrow the events for which it receives notifications in the frame of one subscription.</p><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param subscriptionId Internal identifier of a subscription @param body JSON body @param optional (nil or map[string]interface{}) with one or more of:
@param "aggregated" (bool) If 'True' then aggregated presence status is returned in a notification payload
@return SubscriptionInfo
type PutPresenceResource ¶
type PutPresenceResource struct {
UserStatus string `json:"userStatus,omitempty"`
Message string `json:"message,omitempty"`
DndStatus string `json:"dndStatus,omitempty"`
AllowSeeMyPresence bool `json:"allowSeeMyPresence,omitempty"`
RingOnMonitoredCall bool `json:"ringOnMonitoredCall,omitempty"`
PickUpCallsOnHold bool `json:"pickUpCallsOnHold,omitempty"`
}
type QueueInfo ¶
type QueueInfo struct {
// Specifies how calls are transferred to group members
TransferMode string `json:"transferMode,omitempty"`
// Information on a call forwarding rule
FixedOrderAgents []FixedOrderAgents `json:"fixedOrderAgents,omitempty"`
// Connecting audio interruption mode
HoldAudioInterruptionMode string `json:"holdAudioInterruptionMode,omitempty"`
// Connecting audio interruption message period in seconds
HoldAudioInterruptionPeriod int32 `json:"holdAudioInterruptionPeriod,omitempty"`
// Maximum time in seconds to wait for a call queue member before trying the next member
AgentTimeout int32 `json:"agentTimeout,omitempty"`
// Minimum post-call wrap up time in seconds before agent status is automatically set
WrapUpTime int32 `json:"wrapUpTime,omitempty"`
// Maximum hold time in seconds to wait for an available call queue member
HoldTime int32 `json:"holdTime,omitempty"`
// Maximum count of callers on hold
MaxCallers int32 `json:"maxCallers,omitempty"`
// Action which should be taken if count of callers on hold exceeds the maximum
MaxCallersAction string `json:"maxCallersAction,omitempty"`
}
type RangesInfo ¶
type RcVideoNotificationsEvent ¶
type RcVideoNotificationsEvent struct {
// Identifier of a meeting
Id string `json:"id,omitempty"`
// Meeting Name
Name string `json:"name,omitempty"`
// Datetime of meeting start in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
Start string `json:"start,omitempty"`
// Meeting duration
Duration int32 `json:"duration,omitempty"`
// Meeting participants information
Participants *RcvParticipantsInfo `json:"participants,omitempty"`
// Specifies whether a meeting is recorded or not
Recorded bool `json:"recorded,omitempty"`
// Meeting recording information, if recorded value is 'True'
Recording *RcvRecordingInfo `json:"recording,omitempty"`
}
type RcvParticipantsInfo ¶
type RcvRecordingInfo ¶
type ReassignPhoneNumberResource ¶
type ReassignPhoneNumberResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
UsageType string `json:"usageType,omitempty"`
Extension *ExtensionReferenceResource `json:"extension,omitempty"`
}
type RecipientInfo ¶
type RecordingInfo ¶
type RecordingInfo struct {
// Internal identifier of the call recording
Id string `json:"id,omitempty"`
// Link to the call recording metadata resource
Uri string `json:"uri,omitempty"`
// Indicates recording mode used
Type_ string `json:"type,omitempty"`
// Link to the call recording binary content
ContentUri string `json:"contentUri,omitempty"`
}
type RecordsCollectionResourceSubscriptionResponse ¶
type RecordsCollectionResourceSubscriptionResponse struct {
Uri string `json:"uri,omitempty"`
Records []SubscriptionResponse `json:"records,omitempty"`
}
type ReferenceInfo ¶
type RegionalSettings ¶
type RegionalSettings struct {
// Extension country information
HomeCountry *CountryInfo `json:"homeCountry,omitempty"`
// Extension timezone information
Timezone *TimezoneInfo `json:"timezone,omitempty"`
// User interface language data
Language *LanguageInfo `json:"language,omitempty"`
// Information on language used for telephony greetings
GreetingLanguage *GreetingLanguageInfo `json:"greetingLanguage,omitempty"`
// Formatting language preferences for numbers, dates and currencies
FormattingLocale *FormattingLocaleInfo `json:"formattingLocale,omitempty"`
// Time format setting. The default value is '12h' = ['12h', '24h']
TimeFormat string `json:"timeFormat,omitempty"`
}
type RegionalSettingsApiService ¶
type RegionalSettingsApiService service
func (*RegionalSettingsApiService) ListCountries ¶
func (a *RegionalSettingsApiService) ListCountries(ctx context.Context, localVarOptionals map[string]interface{}) (GetCountryListResponse, *http.Response, error)
RegionalSettingsApiService Get Country List
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all the countries available for calling.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "loginAllowed" (bool) Specifies whether login with the phone numbers of this country is enabled or not @param "signupAllowed" (bool) Indicates whether signup/billing is allowed for a country. If not specified all countries are returned (according to other filters specified if any) @param "numberSelling" (bool) Specifies if RingCentral sells phone numbers of this country @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default @param "freeSoftphoneLine" (bool) Specifies if free phone line for softphone is available for a country or not
@return GetCountryListResponse
func (*RegionalSettingsApiService) ListLanguages ¶
func (a *RegionalSettingsApiService) ListLanguages(ctx context.Context) (LanguageList, *http.Response, error)
RegionalSettingsApiService Get Language List
<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p><p>Returns the information about supported languages.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @return LanguageList
func (*RegionalSettingsApiService) ListLocations ¶
func (a *RegionalSettingsApiService) ListLocations(ctx context.Context, localVarOptionals map[string]interface{}) (GetLocationListResponse, *http.Response, error)
RegionalSettingsApiService Get Location List
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all the available locations for the certain state.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "orderBy" ([]string) Sorts results by the specified property. The default value is 'City' @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'. @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default. @param "stateId" (string) Internal identifier of a state @param "withNxx" (bool) Specifies if nxx codes are returned
@return GetLocationListResponse
func (*RegionalSettingsApiService) ListTimezones ¶
func (a *RegionalSettingsApiService) ListTimezones(ctx context.Context, localVarOptionals map[string]interface{}) (GetTimezoneListResponse, *http.Response, error)
RegionalSettingsApiService Get Timezone List
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all available timezones.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (string) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (string) Indicates the page size (number of items). If not specified, the value is '100' by default
@return GetTimezoneListResponse
func (*RegionalSettingsApiService) LoadCountry ¶
func (a *RegionalSettingsApiService) LoadCountry(ctx context.Context, countryId int32) (GetCountryInfoDictionaryResponse, *http.Response, error)
RegionalSettingsApiService Get Country
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the information on the required country.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param countryId Internal identifier of a country @return GetCountryInfoDictionaryResponse
func (*RegionalSettingsApiService) LoadLanguage ¶
func (a *RegionalSettingsApiService) LoadLanguage(ctx context.Context, languageId int32) (LanguageInfo, *http.Response, error)
RegionalSettingsApiService Get Language
<p style='font-style:italic;'>Since 1.0.14 (Release 6.6)</p><p>Returns language by its respective ID.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param languageId Internal identifier of a language @return LanguageInfo
func (*RegionalSettingsApiService) LoadState ¶
func (a *RegionalSettingsApiService) LoadState(ctx context.Context, stateId int32) (GetStateInfoResponse, *http.Response, error)
RegionalSettingsApiService Get State
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the information on the required state.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param stateId Internal identifier of a state @return GetStateInfoResponse
func (*RegionalSettingsApiService) LoadTimezone ¶
func (a *RegionalSettingsApiService) LoadTimezone(ctx context.Context, timezoneId int32, localVarOptionals map[string]interface{}) (GetTimezoneInfoResponse, *http.Response, error)
RegionalSettingsApiService Get Timezone
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns the information on a certain timezone.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param timezoneId Internal identifier of a timezone @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return GetTimezoneInfoResponse
func (*RegionalSettingsApiService) LoadlistStates ¶
func (a *RegionalSettingsApiService) LoadlistStates(ctx context.Context, localVarOptionals map[string]interface{}) (GetStateListResponse, *http.Response, error)
RegionalSettingsApiService Get State List
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Returns all the states for a certain country.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "countryId" (int32) Internal identifier of a country @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1'. @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default @param "withPhoneNumbers" (bool) If 'True', the list of states with phone numbers available for buying is returned. The default value is 'False'
@return GetStateListResponse
type RegionalSettingsResource ¶
type RegionalSettingsResource struct {
Timezone *TimezoneResource `json:"timezone,omitempty"`
HomeCountry *CountryResource `json:"homeCountry,omitempty"`
Language *LanguageResource `json:"language,omitempty"`
GreetingLanguage *LanguageResource `json:"greetingLanguage,omitempty"`
FormattingLocale *LanguageResource `json:"formattingLocale,omitempty"`
}
type RegistrationRequest ¶
type RegistrationRequest struct {
Device *DeviceToRegister `json:"device,omitempty"`
SipInfo []SipDetailsToRegister `json:"sipInfo,omitempty"`
}
type RegistrationResponse ¶
type RegistrationResponse struct {
Uri string `json:"uri,omitempty"`
Device *DeviceResource `json:"device,omitempty"`
SipInfo []SipInfo `json:"sipInfo,omitempty"`
SipFlags *SipFlags `json:"sipFlags,omitempty"`
}
type ReportingApiService ¶
type ReportingApiService service
func (*ReportingApiService) LoadReportingSettings ¶
func (a *ReportingApiService) LoadReportingSettings(ctx context.Context, accountId string, extensionId string) (ReportingSettings, *http.Response, error)
ReportingApiService Get Reporting Settings
<p style='font-style:italic;'>Since 1.0.17 (Release 7.2)</p><p>Returns user-defined configuration of CFA (Customer Facing Analytics) reports.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return ReportingSettings
func (*ReportingApiService) UpdateReportingSettings ¶
func (a *ReportingApiService) UpdateReportingSettings(ctx context.Context, accountId string, extensionId string, body SetReportingSettingsRequest) (ReportingSettings, *http.Response, error)
ReportingApiService Update Reporting Settings
<p style='font-style:italic;'></p><p>Sets user-defined configuration of CFA (Customer Facing Analytics) reports.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return ReportingSettings
type ReportingPagesInfo ¶
type ReportingPagesInfo struct {
// Name of a page. CFA application UI predefines a set of possible names and treats them as enum constants to distinguish pages by type. This is not user-visible value, as it might need localization. The maximum value is 255
Name string `json:"name"`
// CFA-defined filter values/page parameters
AttrX string `json:"attrX,omitempty"`
}
type ReportingSchedulesInfo ¶
type ReportingSchedulesInfo struct {
// Unique schedule identifier
ScheduleId string `json:"scheduleId,omitempty"`
// Recurrence pattern of a schedule
Recurrence []ReportingRecurrenceInfo `json:"recurrence,omitempty"`
// Type of report. Detailed reports include tables with data. Simple reports only include charts
ViewType string `json:"viewType,omitempty"`
// Set of optional attachments. Basically, every report email is in HTML format. Optionally, it can contain PDF or CSV files
Attachments []ReportingAttachmentInfo `json:"attachments,omitempty"`
// List of pages to include to the report. If empty, all pages are included. Otherwise, only specified pages are included. API doesn't check validity of page names. Client application is responsible to do that
Pages []string `json:"pages,omitempty"`
// List of emails to which to send rendered reports
Recipients []string `json:"recipients,omitempty"`
}
type ReportingSettings ¶
type ReportingSettings struct {
// List of 'View' structures with a tuple of filter values, pages and schedules
Views []ReportingViewInfo `json:"views"`
}
type ReportingViewInfo ¶
type ReportingViewInfo struct {
// User-defined name of a 'View'. The maximum value is 255
Name string `json:"name"`
// List of pages, the max amount is 10
Pages []ReportingPagesInfo `json:"pages"`
// List of schedules, the max amount is 5. Each 'View' may have several schedules for reporting. For example, customer may want to get daily and weekly reports with the same set of settings
Schedules []ReportingSchedulesInfo `json:"schedules,omitempty"`
}
type ReservationDate ¶
type ReservePhoneNumberResource ¶
type ReservePhoneNumberResource struct {
// Phone number in E.164
PhoneNumber string `json:"phoneNumber,omitempty"`
// Domestic format of a phone number
FormattedNumber string `json:"formattedNumber,omitempty"`
// Datetime up to which the number is reserved in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. No value means that number is not reserved anymore
ReservedTill string `json:"reservedTill,omitempty"`
// nternal identifier of phone number reservation; encoded data including reservation type (by brand, by account, by session), particular brand/account/session data, and reservation date and time
ReservationId string `json:"reservationId,omitempty"`
// Phone number status = ['Enabled', 'Pending', 'Disabled'],
Status string `json:"status,omitempty"`
// The error code in case of reservation/un-reservation failure = ['NumberIsAlreadyProvisioned', 'NumberReserved', 'NumberNotAvailable']
Error_ string `json:"error,omitempty"`
}
type ReservePhoneNumbersRecordsResource ¶
type ReservePhoneNumbersRecordsResource struct {
Records []ReservePhoneNumberResource `json:"records,omitempty"`
}
type ResourceLink ¶
type ResourceLink struct {
Uri string `json:"uri,omitempty"`
}
type ResourceModelComponent ¶
type ResourceModelComponent struct {
Components []ResourceModelComponent `json:"components,omitempty"`
}
type RingOutApiService ¶
type RingOutApiService service
func (*RingOutApiService) CancelRingOutCall ¶
func (a *RingOutApiService) CancelRingOutCall(ctx context.Context, accountId string, extensionId string, ringoutId int32) (*http.Response, error)
RingOutApiService Cancel RingOut Call
<p style='font-style:italic;'></p><p>Cancels the 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ringoutId Internal identifier of a RingOut call @return
func (*RingOutApiService) CancelRingOutCallNew ¶
func (a *RingOutApiService) CancelRingOutCallNew(ctx context.Context, accountId string, extensionId string, ringoutId int32) (*http.Response, error)
RingOutApiService Cancel RingOut Call
<p style='font-style:italic;'></p><p>Cancels the 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ringoutId Internal identifier of a RingOut call @return
func (*RingOutApiService) CreateDirectRingOut ¶
func (a *RingOutApiService) CreateDirectRingOut(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (*http.Response, error)
RingOutApiService
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (RingOutResource)
@return
func (*RingOutApiService) CreateDirectRingOutNew ¶
func (a *RingOutApiService) CreateDirectRingOutNew(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (*http.Response, error)
RingOutApiService Make Direct RingOut Call
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (RingOutResource)
@return
func (*RingOutApiService) GetRingOutCallStatus ¶
func (a *RingOutApiService) GetRingOutCallStatus(ctx context.Context, accountId string, extensionId string, ringoutId int32) (GetRingOutStatusResponse, *http.Response, error)
RingOutApiService Get Status of RingOut Call
<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Returns the status of a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ringoutId Internal identifier of a RingOut call @return GetRingOutStatusResponse
func (*RingOutApiService) GetRingOutCallStatusNew ¶
func (a *RingOutApiService) GetRingOutCallStatusNew(ctx context.Context, accountId string, extensionId string, ringoutId int32) (GetRingOutStatusResponse, *http.Response, error)
RingOutApiService Get Status of RingOut Call
<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Returns the status of a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param ringoutId Internal identifier of a RingOut call @return GetRingOutStatusResponse
func (*RingOutApiService) MakeRingOutCall ¶
func (a *RingOutApiService) MakeRingOutCall(ctx context.Context, accountId string, extensionId string, body MakeRingOutRequest) (GetRingOutStatusResponseIntId, *http.Response, error)
RingOutApiService Make RingOut Call
<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Makes a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return GetRingOutStatusResponseIntId
func (*RingOutApiService) MakeRingOutCallNew ¶
func (a *RingOutApiService) MakeRingOutCallNew(ctx context.Context, accountId string, extensionId string, body MakeRingOutRequest) (GetRingOutStatusResponse, *http.Response, error)
RingOutApiService Make RingOut Call
<p style='font-style:italic;'>Since 1.0.7 (Release 5.16)</p><p>Makes a 2-leg RingOut call.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RingOut</td><td>Performing two-legged ring-out phone calls</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return GetRingOutStatusResponse
type RingOutCountry ¶
type RingOutCountry struct {
Id string `json:"id,omitempty"`
}
type RingOutFromInfo ¶
type RingOutPhoneNumberInfo ¶
type RingOutPhoneNumberInfo struct {
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type RingOutResource ¶
type RingOutResource struct {
From *RingOutFromInfo `json:"from,omitempty"`
To *RingOutPhoneNumberInfo `json:"to,omitempty"`
CallerId *RingOutPhoneNumberInfo `json:"callerId,omitempty"`
PlayPrompt bool `json:"playPrompt,omitempty"`
Country *RingOutCountry `json:"country,omitempty"`
}
type RingOutStatusInfo ¶
type RoleIdResource ¶
type RoleResource ¶
type RoleResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
Custom bool `json:"custom,omitempty"`
Scope string `json:"scope,omitempty"`
Hidden bool `json:"hidden,omitempty"`
LastUpdated time.Time `json:"lastUpdated,omitempty"`
Permissions []PermissionIdResource `json:"permissions,omitempty"`
}
type RolesAndPermissionsApiService ¶
type RolesAndPermissionsApiService service
func (*RolesAndPermissionsApiService) CheckPermission ¶
func (a *RolesAndPermissionsApiService) CheckPermission(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (AuthProfileCheckResource, *http.Response, error)
RolesAndPermissionsApiService Check User Permissions
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "permissionId" (string) @param "targetExtensionId" (string)
@return AuthProfileCheckResource
func (*RolesAndPermissionsApiService) GetPermission ¶
func (a *RolesAndPermissionsApiService) GetPermission(ctx context.Context, permissionId string) (PermissionResource, *http.Response, error)
RolesAndPermissionsApiService Get Permission Info
* @param ctx context.Context for authentication, logging, tracing, etc. @param permissionId @return PermissionResource
func (*RolesAndPermissionsApiService) GetPermissionCategory ¶
func (a *RolesAndPermissionsApiService) GetPermissionCategory(ctx context.Context, permissionCategoryId string) (PermissionCategoryResource, *http.Response, error)
RolesAndPermissionsApiService Get Permission Category
* @param ctx context.Context for authentication, logging, tracing, etc. @param permissionCategoryId @return PermissionCategoryResource
func (*RolesAndPermissionsApiService) GetProfile ¶
func (a *RolesAndPermissionsApiService) GetProfile(ctx context.Context, extensionId string, accountId string) (AuthProfileResource, *http.Response, error)
RolesAndPermissionsApiService Get User Permissions
* @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @return AuthProfileResource
func (*RolesAndPermissionsApiService) GetSystemRole ¶
func (a *RolesAndPermissionsApiService) GetSystemRole(ctx context.Context, roleId string) (RoleResource, *http.Response, error)
RolesAndPermissionsApiService Get User Role
* @param ctx context.Context for authentication, logging, tracing, etc. @param roleId @return RoleResource
func (*RolesAndPermissionsApiService) ListPermissionCategories ¶
func (a *RolesAndPermissionsApiService) ListPermissionCategories(ctx context.Context, localVarOptionals map[string]interface{}) (PermissionCategoryCollectionResource, *http.Response, error)
RolesAndPermissionsApiService Get Permissions Categories
* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (string) @param "perPage" (string) @param "servicePlanId" (string)
@return PermissionCategoryCollectionResource
func (*RolesAndPermissionsApiService) ListPermissions ¶
func (a *RolesAndPermissionsApiService) ListPermissions(ctx context.Context, localVarOptionals map[string]interface{}) (PermissionCollectionResource, *http.Response, error)
RolesAndPermissionsApiService Get Permissions
* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (string) @param "perPage" (string) @param "assignable" (bool) @param "servicePlanId" (string)
@return PermissionCollectionResource
func (*RolesAndPermissionsApiService) ListSystemRoles ¶
func (a *RolesAndPermissionsApiService) ListSystemRoles(ctx context.Context, localVarOptionals map[string]interface{}) (RolesCollectionResource, *http.Response, error)
RolesAndPermissionsApiService Get Standard User Roles
* @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (string) @param "perPage" (string) @param "servicePlanId" (string)
@return RolesCollectionResource
func (*RolesAndPermissionsApiService) LoadUserRole ¶
func (a *RolesAndPermissionsApiService) LoadUserRole(ctx context.Context, accountId string) (*http.Response, error)
RolesAndPermissionsApiService Get Default User Role
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns account default user role.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RoleManagement</td><td>Editing and assignment of user roles</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of an account @return
func (*RolesAndPermissionsApiService) UpdateUserRole ¶
func (a *RolesAndPermissionsApiService) UpdateUserRole(ctx context.Context, accountId string, body DefaultUserRoleRequest) (*http.Response, error)
RolesAndPermissionsApiService Set Default User Role
<p style='font-style:italic;'>Since 1.0.30 (Release 9.1)</p><p>Updates account default user role.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>RoleManagement</td><td>Editing and assignment of user roles</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of an account @param body JSON body @return
type RolesCollectionResource ¶
type RolesCollectionResource struct {
Uri string `json:"uri,omitempty"`
Records []RoleResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type RuleInfo ¶
type RuleInfo struct {
// Forwarding number (or group) ordinal
Index int32 `json:"index,omitempty"`
// Number of rings for a forwarding number (or group)
RingCount int32 `json:"ringCount,omitempty"`
// Forwarding number (or group) data
ForwardingNumbers []ForwardingNumberInfoRules `json:"forwardingNumbers,omitempty"`
}
type RuleInfoCreateRuleRequest ¶
type RuleInfoCreateRuleRequest struct {
// Forwarding number (or group) ordinal
Index int32 `json:"index,omitempty"`
// Number of rings for a forwarding number (or group)
RingCount int32 `json:"ringCount,omitempty"`
// Forwarding number (or group) data
ForwardingNumbers []ForwardingNumberInfoRulesCreateRuleRequest `json:"forwardingNumbers,omitempty"`
}
type SCIMApiService ¶
type SCIMApiService service
func (*SCIMApiService) CreateUser ¶
func (a *SCIMApiService) CreateUser(ctx context.Context, body UserCreationRequest) (UserInfo, *http.Response, error)
SCIMApiService Create User
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Creates a user.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param body a new user without 'id' @return UserInfo
func (*SCIMApiService) DeleteUser ¶
SCIMApiService Delete User
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Deleting User using scim</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param id Internal identifier of a user @return
func (*SCIMApiService) GetServiceProviderConfig ¶
func (a *SCIMApiService) GetServiceProviderConfig(ctx context.Context) (ServiceProviderConfig, *http.Response, error)
SCIMApiService Get Service Provider Config
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns the list of users requested.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing Service Provider confiog</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @return ServiceProviderConfig
func (*SCIMApiService) GetUserById ¶
func (a *SCIMApiService) GetUserById(ctx context.Context, id string) (UserInfo, *http.Response, error)
SCIMApiService Get User
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns a user by ID.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param id Internal identifier of a user @return UserInfo
func (*SCIMApiService) ListUsers ¶
func (a *SCIMApiService) ListUsers(ctx context.Context, localVarOptionals map[string]interface{}) (GetUserListResponse, *http.Response, error)
SCIMApiService Get User List
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns the list of users requested.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "filter" (string) only support 'userName' or 'email' filter expressions for now @param "count" (int32) page size @param "startIndex" (int32) start index (1-based)
@return GetUserListResponse
func (*SCIMApiService) PatchUser ¶
func (a *SCIMApiService) PatchUser(ctx context.Context, id string, localVarOptionals map[string]interface{}) (UserInfo, *http.Response, error)
SCIMApiService Partially update/patch a user
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Partially update/patch a user</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param id Internal identifier of a user @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (ScimUserPatch) patch operations list
@return UserInfo
func (*SCIMApiService) SearchUsersViaPost ¶
func (a *SCIMApiService) SearchUsersViaPost(ctx context.Context, localVarOptionals map[string]interface{}) (GetUserListResponse, *http.Response, error)
SCIMApiService search or list users
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p>Returns the list of users requested.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Searching SCIM Users</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (ScimSearchRequestInfo) search parameters
@return GetUserListResponse
func (*SCIMApiService) UpdateUser ¶
func (a *SCIMApiService) UpdateUser(ctx context.Context, id string, body UserUpdateRequest) (UserInfo, *http.Response, error)
SCIMApiService Update or replace user
<p style='font-style:italic;'>Since 1.0.31 (Release 9.2)</p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Updating User using SCIM</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param id Internal identifier of a user @param body An Exisiting User @return UserInfo
type SaveRequestResource ¶
type ScaledProfileImageResource ¶
type ScaledProfileImageResource struct {
Uri string `json:"uri,omitempty"`
}
type ScheduleInfo ¶
type ScheduleInfo struct {
// Weekly schedule
WeeklyRanges *WeeklyScheduleInfo `json:"weeklyRanges,omitempty"`
// Specific data ranges
Ranges *RangesInfo `json:"ranges,omitempty"`
// The user's schedule specified for business hours or after hours; it can also be set/retrieved calling the corresponding method
Ref string `json:"ref,omitempty"`
}
type ScheduleInfoUserBusinessHours ¶
type ScheduleInfoUserBusinessHours struct {
// Weekly schedule
WeeklyRanges *WeeklyScheduleInfo `json:"weeklyRanges,omitempty"`
}
type ScheduleResource ¶
type ScheduleResource struct {
Ranges []DateTimeIntervalResource `json:"ranges,omitempty"`
Ref string `json:"ref,omitempty"`
}
type SchedulesInfoReporting ¶
type SchedulesInfoReporting struct {
// Unique schedule identifier
ScheduleId string `json:"scheduleId,omitempty"`
// Recurrence pattern of a schedule
Recurrence []RecurrenceInfoReporting `json:"recurrence,omitempty"`
// Type of report. Detailed reports include tables with data. Simple reports only include charts
ViewType string `json:"viewType,omitempty"`
// Set of optional attachments. Basically, every report email is in HTML format. Optionally, it can contain PDF or CSV files
Attachments []AttachmentInfoReporting `json:"attachments,omitempty"`
// List of pages to include to the report. If empty, all pages are included. Otherwise, only specified pages are included. API doesn't check validity of page names. Client application is responsible to do that
Pages []string `json:"pages,omitempty"`
// List of emails to which to send rendered reports
Recipients []string `json:"recipients,omitempty"`
}
type ScimErrorResponse ¶
type ScimErrorResponse struct {
// detail error message
Detail string `json:"detail,omitempty"`
Schemas []string `json:"schemas,omitempty"`
// bad request type when status code is 400
ScimType string `json:"scimType,omitempty"`
// same as HTTP status code, e.g. 400, 401, etc.
Status string `json:"status,omitempty"`
}
type ScimSearchRequestInfo ¶
type ScimSearchRequestInfo struct {
// page size
Count int32 `json:"count,omitempty"`
// only support 'userName' or 'email' filter expressions for now
Filter string `json:"filter,omitempty"`
Schemas []string `json:"schemas,omitempty"`
// start index (1-based)
StartIndex int32 `json:"startIndex,omitempty"`
}
type ScimUserPatch ¶
type ScimUserPatch struct {
// patch operations list
Operations []PatchOperationInfo `json:"Operations"`
Schemas []string `json:"schemas"`
}
type SecretQuestionInfo ¶
type SecretQuestionInfo struct {
// Internal identifier of a question
Id string `json:"id,omitempty"`
// Internal identifier of a question type
QuestionType int32 `json:"questionType,omitempty"`
// Internal identifier of a question language
LanguageId string `json:"languageId,omitempty"`
// Text of a secret question shown to the end user
QuestionText string `json:"questionText,omitempty"`
// Specifies if the question is used during signup
ShowInSignUp bool `json:"showInSignUp,omitempty"`
}
type SecretQuestionInfoResource ¶
type SecretQuestionInfoResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
QuestionType int32 `json:"questionType,omitempty"`
LanguageId int32 `json:"languageId,omitempty"`
QuestionText string `json:"questionText,omitempty"`
ShowInSignUp bool `json:"showInSignUp,omitempty"`
}
type SecretQuestionsInfoResource ¶
type SecretQuestionsInfoResource struct {
Uri string `json:"uri,omitempty"`
Records []SecretQuestionInfoResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type SecurityContext ¶
type SenderInfo ¶
type SenderInfo struct {
// Phone number in E.164 (with '+' sign) format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Extension number
ExtensionNumber string `json:"extensionNumber,omitempty"`
// Contains party location (city, state) if one can be determined from phoneNumber. This property is filled only when phoneNumber is not empty and server can calculate location information from it (for example, this information is unavailable for US toll-free numbers)
Location string `json:"location,omitempty"`
// Symbolic name associated with a caller/callee. If the phone does not belong to the known extension, only the location is returned, the name is not determined then
Name string `json:"name,omitempty"`
}
type ServiceFeatureInfo ¶
type ServiceFeatureValue ¶
type ServiceInfo ¶
type ServiceInfo struct {
// Canonical URI of a service info resource
Uri string `json:"uri,omitempty"`
// Information on account billing plan
BillingPlan *BillingPlanInfo `json:"billingPlan,omitempty"`
// Information on account brand
Brand *BrandInfo `json:"brand,omitempty"`
// Information on account service plan
ServicePlan *ServicePlanInfo `json:"servicePlan,omitempty"`
// Information on account target service plan
TargetServicePlan *TargetServicePlanInfo `json:"targetServicePlan,omitempty"`
}
type ServiceInfoRequest ¶
type ServiceInfoRequest struct {
// Limits which are effective for an account
Limits *AccountLimits `json:"limits,omitempty"`
}
type ServicePlan ¶
type ServicePlanInfo ¶
type ServicePlanResource ¶
type ServicePlanResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Edition string `json:"edition,omitempty"`
Brand *BrandResource `json:"brand,omitempty"`
Type_ string `json:"type,omitempty"`
ServiceFeatures []ServiceFeatureValue `json:"serviceFeatures,omitempty"`
Limits *AccountLimitsResource `json:"limits,omitempty"`
}
type ServiceProviderConfig ¶
type ServiceProviderConfig struct {
AuthenticationSchemes *AuthenticationSchemes `json:"authenticationSchemes,omitempty"`
Bulk *BulkSupported `json:"bulk,omitempty"`
ChangePassword *Supported `json:"changePassword,omitempty"`
Etag *Supported `json:"etag,omitempty"`
Filter *FilterSupported `json:"filter,omitempty"`
Patch *Supported `json:"patch,omitempty"`
Schemas []string `json:"schemas,omitempty"`
Sort *Supported `json:"sort,omitempty"`
}
type SessionResource ¶
type SessionResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
AccountId string `json:"accountId,omitempty"`
ExtensionId string `json:"extensionId,omitempty"`
CreationTime time.Time `json:"creationTime,omitempty"`
ClientId string `json:"clientId,omitempty"`
Application *ApplicationResource `json:"application,omitempty"`
}
type SessionsResource ¶
type SessionsResource struct {
Uri string `json:"uri,omitempty"`
Records []VersionedResource `json:"records,omitempty"`
}
type SetReportingSettingsRequest ¶
type SetReportingSettingsRequest struct {
// List of 'View' structures with a tuple of filter values, pages and schedules
Views []ViewInfoReporting `json:"views"`
}
type ShippingAddressInfo ¶
type ShippingAddressInfo struct {
// Name of a receiver
CustomerName string `json:"customerName,omitempty"`
// Street address, line 1 - street address, P.O. box, company name, c/o
Street string `json:"street,omitempty"`
// Street address, line 2 - apartment, suite, unit, building, floor, etc.
Street2 string `json:"street2,omitempty"`
// City name
City string `json:"city,omitempty"`
// State/province name
State string `json:"state,omitempty"`
// Zip code
Zip string `json:"zip,omitempty"`
// Country name
Country string `json:"country,omitempty"`
}
type ShippingInfo ¶
type ShippingInfo struct {
// Shipping status of the order item. It is set to 'Initial' when the order is submitted. Then it is changed to 'Accepted' when a distributor starts processing the order. Finally it is changed to Shipped which means that distributor has shipped the device.
Status string `json:"status,omitempty"`
// Shipping carrier name. Appears only if the device status is Shipped
Carrier string `json:"carrier,omitempty"`
// Carrier-specific tracking number. Appears only if the device status is Shipped
TrackingNumber string `json:"trackingNumber,omitempty"`
// Shipping method information
Method *MethodInfo `json:"method"`
// Shipping address for the order. If it coincides with the Emergency Service Address, then can be omitted. By default the same value as the emergencyServiceAddress. Multiple addresses can be specified; in case an order contains several devices, they can be delivered to different addresses
Address *ShippingAddressInfo `json:"address"`
}
type ShippingMethod ¶
type ShippingOptionResource ¶
type ShippingOptionResource struct {
Uri string `json:"uri,omitempty"`
Method *ShippingMethod `json:"method,omitempty"`
Quantity int32 `json:"quantity,omitempty"`
Price float64 `json:"price,omitempty"`
}
type ShippingOptionsResource ¶
type ShippingOptionsResource struct {
Uri string `json:"uri,omitempty"`
Records []ShippingOptionResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type ShippingResource ¶
type ShippingResource struct {
Address *EmergencyServiceAddressResource `json:"address,omitempty"`
Method *MethodResource `json:"method,omitempty"`
Status string `json:"status,omitempty"`
Carrier string `json:"carrier,omitempty"`
TrackingNumber string `json:"trackingNumber,omitempty"`
}
type SignupInfoResource ¶
type SimpleResource ¶
type SimpleResource struct {
Uri string `json:"uri,omitempty"`
ResourceDescription string `json:"resourceDescription,omitempty"`
Id string `json:"id,omitempty"`
Ver *ApiVersionResource `json:"ver,omitempty"`
}
type SipDetailsToRegister ¶
type SipDetailsToRegister struct {
Transport string `json:"transport,omitempty"`
}
type SipFlagsRespones ¶
type SipFlagsRespones struct {
// If 'True' VoIP calling feature is enabled
VoipFeatureEnabled string `json:"voipFeatureEnabled,omitempty"`
// If 'True' the request is sent from IP address of a country blocked for VoIP calling
VoipCountryBlocked string `json:"voipCountryBlocked,omitempty"`
// If 'True' outbound calls are enabled
OutboundCallsEnabled string `json:"outboundCallsEnabled,omitempty"`
}
type SipInfo ¶
type SipInfo struct {
Transport string `json:"transport,omitempty"`
Certificate string `json:"certificate,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty"`
AuthorizationId string `json:"authorizationId,omitempty"`
Domain string `json:"domain,omitempty"`
OutboundProxy string `json:"outboundProxy,omitempty"`
WsProxy string `json:"wsProxy,omitempty"`
}
type SipInfoRequest ¶
type SipInfoRequest struct {
// Supported transport. SIP info will be returned for this transport if supported
Transport string `json:"transport,omitempty"`
}
type SipInfoResource ¶
type SipInfoResource struct {
Uri string `json:"uri,omitempty"`
Domain string `json:"domain,omitempty"`
OutboundProxy string `json:"outboundProxy,omitempty"`
UserName string `json:"userName,omitempty"`
Password string `json:"password,omitempty"`
AuthorizationId string `json:"authorizationId,omitempty"`
}
type SipInfoResponse ¶
type SipInfoResponse struct {
// User credentials
Username string `json:"username,omitempty"`
// User password
Password string `json:"password,omitempty"`
// Identifier for SIP authorization
AuthorizationId string `json:"authorizationId,omitempty"`
// SIP domain
Domain string `json:"domain,omitempty"`
// SIP outbound proxy
OutboundProxy string `json:"outboundProxy,omitempty"`
// Preferred transport. SIP info will be returned for this transport if supported
Transport string `json:"transport,omitempty"`
// For TLS transport only Base64 encoded certificate
Certificate string `json:"certificate,omitempty"`
}
type SmsResource ¶
type SmsResource struct {
Country *CountryResource `json:"country,omitempty"`
To []CallerInfo `json:"to,omitempty"`
From *CallerInfo `json:"from,omitempty"`
Text string `json:"text,omitempty"`
}
type SpecialNumberFeaturesInfo ¶
type SpecialNumberFeaturesInfo struct {
// VoIP call
Voip *OptionInfo `json:"voip,omitempty"`
// RingOut call
RingOut *OptionInfo `json:"ringOut,omitempty"`
// Outgoing SMS
Sms *OptionInfo `json:"sms,omitempty"`
// Outgoing Fax
FaxOut *OptionInfo `json:"faxOut,omitempty"`
}
type SpecialNumberInfo ¶
type SpecialNumberInfo struct {
// Service phone number in N11 code format
PhoneNumber string `json:"phoneNumber,omitempty"`
// Description of a special number
Description string `json:"description,omitempty"`
// Information on options allowed/disallowed for the special number
Features *SpecialNumberFeaturesInfo `json:"features"`
}
type StackTraceElement ¶
type StateResource ¶
type StateResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
IsoCode string `json:"isoCode,omitempty"`
Country *VersionedResource `json:"country,omitempty"`
}
type StatesResource ¶
type StatesResource struct {
Uri string `json:"uri,omitempty"`
Records []StateResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type StatusInfo ¶
type StatusType ¶
type SubResource ¶
type SubResource struct {
Uri string `json:"uri,omitempty"`
ResourceDescription string `json:"resourceDescription,omitempty"`
ParentId int64 `json:"parentId,omitempty"`
SubId int64 `json:"subId,omitempty"`
SubVer *ApiVersionResource `json:"subVer,omitempty"`
}
type SubscriptionInfo ¶
type SubscriptionInfo struct {
// Internal identifier of a subscription
Id string `json:"id,omitempty"`
// Canonical URI of a subscription
Uri string `json:"uri,omitempty"`
// Collection of URIs to API resources (message-store/presence/detailed presence)
EventFilters []string `json:"eventFilters,omitempty"`
// Subscription expiration datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
ExpirationTime time.Time `json:"expirationTime,omitempty"`
// Subscription lifetime in seconds. The default value is 900
ExpiresIn int32 `json:"expiresIn,omitempty"`
// Subscription status
Status string `json:"status,omitempty"`
// Subscription creation datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
CreationTime time.Time `json:"creationTime,omitempty"`
// Delivery mode data
DeliveryMode *NotificationDeliveryMode `json:"deliveryMode"`
}
type SubscriptionRequest ¶
type SubscriptionRequest struct {
EventFilters []string `json:"eventFilters,omitempty"`
DeliveryMode *DeliveryModeResource `json:"deliveryMode,omitempty"`
ExpiresIn int64 `json:"expiresIn,omitempty"`
}
type SubscriptionResponse ¶
type SubscriptionResponse struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
CreationTime time.Time `json:"creationTime,omitempty"`
Status string `json:"status,omitempty"`
EventFilters []string `json:"eventFilters,omitempty"`
ExpirationTime time.Time `json:"expirationTime,omitempty"`
ExpiresIn int64 `json:"expiresIn,omitempty"`
// Delivery mode data
DeliveryMode *DeliveryModeResource `json:"deliveryMode,omitempty"`
BlacklistedData *NotificationBlacklistedData `json:"blacklistedData,omitempty"`
}
type SyncCallLogRecords ¶
type SyncCallLogRecords struct {
Uri string `json:"uri,omitempty"`
Records []CallLogRecordResource `json:"records,omitempty"`
SyncInfo *SyncInfo `json:"syncInfo,omitempty"`
}
type SyncInfoCallLog ¶
type SyncInfoCallLog struct {
// Type of synchronization
SyncType string `json:"syncType,omitempty"`
// Synchronization token
SyncToken string `json:"syncToken,omitempty"`
// The last synchronization datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
SyncTime time.Time `json:"syncTime,omitempty"`
}
type SyncInfoMessages ¶
type SyncInfoMessages struct {
// Type of synchronization
SyncType string `json:"syncType,omitempty"`
// Synchronization token
SyncToken string `json:"syncToken,omitempty"`
// Last synchronization datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
SyncTime time.Time `json:"syncTime,omitempty"`
}
type SyncMessages ¶
type SyncMessages struct {
Uri string `json:"uri,omitempty"`
Records []MessageInfoResource `json:"records,omitempty"`
SyncInfo *SyncInfo `json:"syncInfo,omitempty"`
}
type TargetServicePlanInfo ¶
type TaskInfo ¶
type TaskInfo struct {
// Internal identifier of a task
Id string `json:"id,omitempty"`
// Link to a task resource
Uri string `json:"uri,omitempty"`
// Device order status
Status string `json:"status,omitempty"`
// Task creation time
CreationTime time.Time `json:"creationTime,omitempty"`
// Time of task last modification
LastModifiedTime time.Time `json:"lastModifiedTime,omitempty"`
}
type TesterFlagsResource ¶
type Throwable ¶
type Throwable struct {
Cause *Throwable `json:"cause,omitempty"`
StackTrace []StackTraceElement `json:"stackTrace,omitempty"`
LocalizedMessage string `json:"localizedMessage,omitempty"`
Message string `json:"message,omitempty"`
Suppressed []Throwable `json:"suppressed,omitempty"`
}
type TimeInterval ¶
type TimezoneInfo ¶
type TimezoneInfo struct {
// Internal identifier of a timezone
Id string `json:"id,omitempty"`
// Canonical URI of a timezone
Uri string `json:"uri,omitempty"`
// Short name of a timezone
Name string `json:"name,omitempty"`
// Meaningful description of the timezone
Description string `json:"description,omitempty"`
}
type TimezoneResource ¶
type TimezonesResource ¶
type TimezonesResource struct {
Uri string `json:"uri,omitempty"`
Records []TimezoneResource `json:"records,omitempty"`
Paging *Paging `json:"paging,omitempty"`
}
type TouchRequestResource ¶
type TranscriptionResult ¶
type TranscriptionResult struct {
STTId string `json:"STTId,omitempty"`
ExternalId string `json:"ExternalId,omitempty"`
Status int32 `json:"Status,omitempty"`
Mailbox string `json:"Mailbox,omitempty"`
TranscriptionText string `json:"TranscriptionText,omitempty"`
Message string `json:"Message,omitempty"`
MessageLength string `json:"MessageLength,omitempty"`
Confidence string `json:"Confidence,omitempty"`
}
type TransferredExtensionInfo ¶
type TransferredExtensionInfo struct {
Extension *ExtensionInfo `json:"extension,omitempty"`
}
type TransitionInfo ¶
type TransitionInfo struct {
// Supported for account confirmation. Specifies whether welcome email is sent. The default value is 'True'
SendWelcomeEmail bool `json:"sendWelcomeEmail,omitempty"`
// Supported for account activation. Specifies whether confirmation email is sent. The default value is 'True'
SendConfirmationEmail bool `json:"sendConfirmationEmail,omitempty"`
// Specifies whether devices are shipped after successful account confirmation. The default value is 'True'
ShipDevices bool `json:"shipDevices,omitempty"`
// Supported for account confirmation. Activation email hash code
ActivationEmailHash string `json:"activationEmailHash,omitempty"`
}
type UnconditionalForwardingInfo ¶
type UnconditionalForwardingInfo struct {
// Phone number to which the call is forwarded
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type UnconditionalForwardingResource ¶
type UnconditionalForwardingResource struct {
PhoneNumber string `json:"phoneNumber,omitempty"`
}
type UpdateAccountRequest ¶
type UpdateAccountRequest struct {
// Target account status. For account activation - 'Unconfirmed'. For account confirmation - 'Confirmed'. For changing account status - 'Confirmed' or 'Disabled' = ['Unconfirmed', 'Confirmed', 'Disabled'],
Status string `json:"status,omitempty"`
// Status information (reason, comment, lifetime). Returned for 'Disabled' status only
StatusInfo *AccountStatusInfo `json:"statusInfo,omitempty"`
// Email notifications setting
TransitionInfo *TransitionInfo `json:"transitionInfo,omitempty"`
// Additional account identifier, developed and applied on the client side
PartnerId string `json:"partnerId,omitempty"`
// Account service information, including brand, service plan and billing plan
ServiceInfo *AccountServiceInfo `json:"serviceInfo,omitempty"`
// Account level region data (web service Auto-Receptionist settings)
RegionalSettings *RegionalSettings `json:"regionalSettings,omitempty"`
// Identifier of extension to be set as operator for account
OperatorId string `json:"operatorId,omitempty"`
// Account sign up data
SignupInfo *SignupInfoResource `json:"signupInfo,omitempty"`
}
type UpdateAnsweringRuleRequest ¶
type UpdateAnsweringRuleRequest struct {
// Name of an answering rule specified by user
Name string `json:"name,omitempty"`
// Specifies if an answering rule is active or inactive
Enabled bool `json:"enabled,omitempty"`
// Answering rules are applied when calls are received from specified caller(s)
Callers []CallersInfo `json:"callers,omitempty"`
// Answering rules are applied when calling to selected number(s)
CalledNumbers []CalledNumberInfo `json:"calledNumbers,omitempty"`
// Schedule when an answering rule should be applied
Schedule *ScheduleInfo `json:"schedule,omitempty"`
// Specifies how incoming calls are forwarded
CallHandlingAction string `json:"callHandlingAction,omitempty"`
// Forwarding parameters. Returned if 'ForwardCalls' is specified in 'callHandlingAction'. These settings determine the forwarding numbers to which the call will be forwarded
Forwarding *ForwardingInfo `json:"forwarding,omitempty"`
// Unconditional forwarding parameters. Returned if 'UnconditionalForwarding' is specified in 'callHandlingAction'
UnconditionalForwarding *UnconditionalForwardingInfo `json:"unconditionalForwarding,omitempty"`
// Queue settings applied for department (call queue) extension type, with the 'AgentQueue' value specified as a call handling action
Queue *QueueInfo `json:"queue,omitempty"`
// Specifies whether to take a voicemail and who should do it
Voicemail *VoicemailInfo `json:"voicemail,omitempty"`
// Greetings applied for an answering rule; only predefined greetings can be applied, see Dictionary Greeting List
Greetings []GreetingInfo `json:"greetings,omitempty"`
}
type UpdateConferencingInfoRequest ¶
type UpdateConferencingInfoRequest struct {
// Multiple dial-in phone numbers to connect to audio conference service, relevant for user's brand. Each number is given with the country and location information, in order to let the user choose the less expensive way to connect to a conference. The first number in the list is the primary conference number, that is default and domestic
PhoneNumbers []ConferencePhoneNumberInfo `json:"phoneNumbers,omitempty"`
// Determines if host user allows conference participants to join before the host
AllowJoinBeforeHost bool `json:"allowJoinBeforeHost,omitempty"`
}
type UpdateForwardingNumberRequest ¶
type UpdateForwardingNumberRequest struct {
// Forwarding/Call flip phone number
PhoneNumber string `json:"phoneNumber,omitempty"`
// Forwarding/Call flip number title
Label string `json:"label,omitempty"`
// Number assigned to the call flip phone number, corresponds to the shortcut dial number
FlipNumber string `json:"flipNumber,omitempty"`
}
type UpdateMessageRequest ¶
type UpdateMessageRequest struct {
// Read status of a message to be changed. Multiple values are accepted
ReadStatus string `json:"readStatus,omitempty"`
}
type UpdatePresenceLinesRequest ¶
type UpdatePresenceLinesRequest struct {
Records []PresenceLineInfo `json:"records,omitempty"`
}
type UpdatePresenceLinesResponse ¶
type UpdatePresenceLinesResponse struct {
// Canonical URI of the monitored lines (extensions) resource
Uri string `json:"uri,omitempty"`
// List of lines (extensions) the presence of which is monitored by the user. The first two lines always indicate the user's extension presence, they cannot be changed
Records []LineInfo `json:"records,omitempty"`
Navigation *NavigationInfo `json:"navigation,omitempty"`
// Information on paging
Paging *PagingInfo `json:"paging,omitempty"`
}
type UriTemplate ¶
type UriTemplate struct {
Template string `json:"template,omitempty"`
Pattern *PatternWithGroups `json:"pattern,omitempty"`
TemplateVariables []string `json:"templateVariables,omitempty"`
NumberOfExplicitRegexes int32 `json:"numberOfExplicitRegexes,omitempty"`
NumberOfRegexGroups int32 `json:"numberOfRegexGroups,omitempty"`
NumberOfExplicitCharacters int32 `json:"numberOfExplicitCharacters,omitempty"`
NumberOfTemplateVariables int32 `json:"numberOfTemplateVariables,omitempty"`
}
type UrnInfoRequest ¶
type UrnInfoRequest struct {
// Name of department (call queue) member
Department string `json:"department,omitempty"`
}
type UserBusinessHoursScheduleInfo ¶
type UserBusinessHoursScheduleInfo struct {
// Weekly schedule
WeeklyRanges *WeeklyScheduleInfo `json:"weeklyRanges,omitempty"`
}
type UserBusinessHoursUpdate ¶
type UserBusinessHoursUpdate struct {
// Canonical URI of a business-hours resource
Uri string `json:"uri,omitempty"`
// Schedule when an answering rule is applied
Schedule *UserBusinessHoursScheduleInfo `json:"schedule,omitempty"`
}
type UserBusinessHoursUpdateRequest ¶
type UserBusinessHoursUpdateRequest struct {
// Schedule when an answering rule is applied
Schedule *WeeklyScheduleInfo `json:"schedule,omitempty"`
}
type UserCallLogRecord ¶
type UserCallLogRecord struct {
// Internal identifier of a cal log record
Id string `json:"id,omitempty"`
// Canonical URI of a call log record
Uri string `json:"uri,omitempty"`
// Internal identifier of a call session
SessionId string `json:"sessionId,omitempty"`
From *CallLogCallerInfo `json:"from,omitempty"`
To *CallLogCallerInfo `json:"to,omitempty"`
// Call type = ['Voice', 'Fax']
Type_ string `json:"type,omitempty"`
// Call direction = ['Inbound', 'Outbound']
Direction string `json:"direction,omitempty"`
// The call start datetime in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z
StartTime string `json:"startTime,omitempty"`
// Call duration in seconds
Duration int32 `json:"duration,omitempty"`
Recording *RecordingInfo `json:"recording,omitempty"`
}
type UserContactsApiService ¶
type UserContactsApiService service
func (*UserContactsApiService) ContactFavorite ¶
func (a *UserContactsApiService) ContactFavorite(ctx context.Context, accountId string, extensionId string) (*http.Response, error)
UserContactsApiService Get Favorite Contacts
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return
func (*UserContactsApiService) CreateContact ¶
func (a *UserContactsApiService) CreateContact(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (PersonalContactResource, *http.Response, error)
UserContactsApiService Create Contact
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Contacts</td><td>Creating, viewing, editing and deleting user personal contacts</td></tr><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (PersonalContactResource)
@return PersonalContactResource
func (*UserContactsApiService) CreateContacts ¶
func (a *UserContactsApiService) CreateContacts(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (*http.Response, error)
UserContactsApiService Update Favorite Contacts
* @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (FavoriteCollection)
@return
func (*UserContactsApiService) DeleteContact ¶
func (a *UserContactsApiService) DeleteContact(ctx context.Context, accountId string, extensionId string, contactId int32) (*http.Response, error)
UserContactsApiService Delete Contact(s) by ID
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Contacts</td><td>Creating, viewing, editing and deleting user personal contacts</td></tr><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param contactId Internal identifier of a contact record in the RingCentral database @return
func (*UserContactsApiService) ListContacts ¶
func (a *UserContactsApiService) ListContacts(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (ContactList, *http.Response, error)
UserContactsApiService Get Contacts
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "startsWith" (string) If specified, only contacts whose First name or Last name start with the mentioned substring are returned. Case-insensitive @param "sortBy" ([]string) Sorts results by the specified property. The default is 'First Name' @param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default @param "phoneNumber" ([]string)
@return ContactList
func (*UserContactsApiService) LoadContact ¶
func (a *UserContactsApiService) LoadContact(ctx context.Context, accountId string, extensionId string, contactId int32) (PersonalContactResource, *http.Response, error)
UserContactsApiService Get Contact(s) by ID
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param contactId Internal identifier of a contact record in the RingCentral database @return PersonalContactResource
func (*UserContactsApiService) SyncAddressBook ¶
func (a *UserContactsApiService) SyncAddressBook(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (AddressBookSync, *http.Response, error)
UserContactsApiService Address Book Synchronization
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "syncType" ([]string) Type of synchronization. The default value is 'FSync' @param "syncToken" (string) Value of syncToken property of the last sync request response @param "perPage" (int32) Number of records per page to be returned. The max number of records is 250, which is also the default. For FSync ??? if the number of records exceeds the parameter value (either specified or default), all of the pages can be retrieved in several requests. For ISync ??? if the number of records exceeds the page size, the number of incoming changes to this number is limited @param "pageId" (int32) Internal identifier of a page. It can be obtained from the 'nextPageId' parameter passed in response body
@return AddressBookSync
func (*UserContactsApiService) UpdateContact ¶
func (a *UserContactsApiService) UpdateContact(ctx context.Context, accountId string, extensionId string, contactId int32, localVarOptionals map[string]interface{}) (PersonalContactResource, *http.Response, error)
UserContactsApiService Update Contact(s) by ID
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Contacts</td><td>Creating, viewing, editing and deleting user personal contacts</td></tr><tr><td class='code'>ReadContacts</td><td>Viewing user personal contacts</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param contactId Internal identifier of a contact record in the RingCentral database @param optional (nil or map[string]interface{}) with one or more of:
@param "body" (PersonalContactResource)
@return PersonalContactResource
type UserCreationRequest ¶
type UserCreationRequest struct {
// Status of a user
Active bool `json:"active,omitempty"`
// User addresses
Addresses []AddressInfo `json:"addresses,omitempty"`
// User email addresses
Emails []EmailInfo `json:"emails"`
// External identifier of a user
ExternalId string `json:"externalId,omitempty"`
// Internal identifier of a user
Id string `json:"id,omitempty"`
// User name
Name *NameInfo `json:"name"`
// User phone numbers
PhoneNumbers []PhoneNumberInfoRequest `json:"phoneNumbers,omitempty"`
Photos []PhotoInfo `json:"photos,omitempty"`
// Specification links
Schemas []string `json:"schemas"`
Urnietfparamsscimschemasextensionenterprise20User *EnterpriseUser `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User,omitempty"`
// User mailbox. Must be same as work type email address
UserName string `json:"userName"`
}
type UserGroupBulkAssignResource ¶
type UserGroupBulkAssignResource struct {
Items []BulkAssignItem `json:"items,omitempty"`
}
type UserGroupIdResource ¶
type UserGroupResource ¶
type UserGroupResource struct {
Uri string `json:"uri,omitempty"`
Id string `json:"id,omitempty"`
DisplayName string `json:"displayName,omitempty"`
Description string `json:"description,omitempty"`
Managers []UserGroupManagerResource `json:"managers,omitempty"`
Members []ExtensionIdResource `json:"members,omitempty"`
}
type UserInfo ¶
type UserInfo struct {
// Status of a user
Active bool `json:"active,omitempty"`
// User addresses
Addresses []AddressInfo `json:"addresses,omitempty"`
// User email addresses
Emails []EmailInfo `json:"emails,omitempty"`
// External identifier of a user
ExternalId string `json:"externalId,omitempty"`
// Internal identifier of a user
Id string `json:"id,omitempty"`
// User name
Name *NameInfo `json:"name,omitempty"`
// User phone numbers
PhoneNumbers []PhoneNumberInfoRequest `json:"phoneNumbers,omitempty"`
Photos []PhotoInfo `json:"photos,omitempty"`
// Specification links
Schemas []string `json:"schemas,omitempty"`
Urnietfparamsscimschemasextensionenterprise20User *EnterpriseUser `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User,omitempty"`
// User mailbox. Must be same as work type email address
UserName string `json:"userName,omitempty"`
// User metadata
Meta *MetaInfo `json:"meta,omitempty"`
}
type UserPresencePermissionsUpdateRequest ¶
type UserPresencePermissionsUpdateRequest struct {
Extensions []PresencePermissionsExtensionInfoRequest `json:"extensions,omitempty"`
}
type UserSettingsApiService ¶
type UserSettingsApiService service
func (*UserSettingsApiService) DeleteExtension ¶
func (a *UserSettingsApiService) DeleteExtension(ctx context.Context, extensionId string, accountId string) (*http.Response, error)
UserSettingsApiService Delete Extension
<p style='font-style:italic;'>Since 1.0.10 (Release 6.2)</p><p>Deletes extension(s) by ID(s).</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditAccounts</td><td>Viewing and updating user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @return
func (*UserSettingsApiService) DownloadImage ¶
func (a *UserSettingsApiService) DownloadImage(ctx context.Context, extensionId string, accountId string) (Binary, *http.Response, error)
UserSettingsApiService Get User Profile Image
<p style='font-style:italic;'>Since 1.0.20 (Release 7.4)</p><p>Returns the extension profile image.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @return Binary
func (*UserSettingsApiService) GetNotificationSettings ¶
func (a *UserSettingsApiService) GetNotificationSettings(ctx context.Context, accountId string, extensionId string) (NotificationSettings, *http.Response, error)
UserSettingsApiService Get Notification Settings
<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Returns notification settings for the current extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return NotificationSettings
func (*UserSettingsApiService) ListExtensionGrants ¶
func (a *UserSettingsApiService) ListExtensionGrants(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetExtensionGrantListResponse, *http.Response, error)
UserSettingsApiService Get Extension Grants
<p style='font-style:italic;'></p><p>Returns the list of extension grants.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "page" (int32) Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' @param "perPage" (int32) Indicates the page size (number of items). If not specified, the value is '100' by default
@return GetExtensionGrantListResponse
func (*UserSettingsApiService) ListSecretQuestions ¶
func (a *UserSettingsApiService) ListSecretQuestions(ctx context.Context, localVarOptionals map[string]interface{}) (GetSecretQuestionListResponse, *http.Response, error)
UserSettingsApiService Get Secret Questions
<p style='font-style:italic;'>Since 1.0.20 (Release 7.4)</p><p>Returns the list of secret questions for a specific language.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param optional (nil or map[string]interface{}) with one or more of:
@param "signupOnly" (bool) @param "page" (string) @param "perPage" (string)
@return GetSecretQuestionListResponse
func (*UserSettingsApiService) LoadConferencingInfo ¶
func (a *UserSettingsApiService) LoadConferencingInfo(ctx context.Context, accountId string, extensionId string, localVarOptionals map[string]interface{}) (GetConferencingInfoResponse, *http.Response, error)
UserSettingsApiService Get User Conferencing Settings
<p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Returns the information on the Free Conference Calling (FCC) feature for a given extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param optional (nil or map[string]interface{}) with one or more of:
@param "countryId" (string) Internal identifier of a country. If not specified, the response is returned for the brand country
@return GetConferencingInfoResponse
func (*UserSettingsApiService) LoadExtensionCallerId ¶
func (a *UserSettingsApiService) LoadExtensionCallerId(ctx context.Context, accountId string, extensionId string) (ExtensionCallerIdInfo, *http.Response, error)
UserSettingsApiService Get Extension Caller ID
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Returns information on an outbound caller ID of an extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return ExtensionCallerIdInfo
func (*UserSettingsApiService) LoadExtensionInfo ¶
func (a *UserSettingsApiService) LoadExtensionInfo(ctx context.Context, accountId string, extensionId string) (GetExtensionInfoResponse, *http.Response, error)
UserSettingsApiService Get Extension Info
<p style='font-style:italic;'>Since 1.0.0</p><p>Returns basic information about a particular extension of an account.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return GetExtensionInfoResponse
func (*UserSettingsApiService) LoadExtensionProfileImage ¶
func (a *UserSettingsApiService) LoadExtensionProfileImage(ctx context.Context, accountId string, extensionId string, scaleSize string) (Binary, *http.Response, error)
UserSettingsApiService Get Extension Profile Image (Scaled)
<p style='font-style:italic;'></p><p>Returns the extension profile image.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param scaleSize Dimensions of a profile image which will be returned in response. If this path parameter is not specified in request URI then @return Binary
func (*UserSettingsApiService) LoadExtensionUserCredentials ¶
func (a *UserSettingsApiService) LoadExtensionUserCredentials(ctx context.Context, accountId string, extensionId string) (ExtensionUserCredentials, *http.Response, error)
UserSettingsApiService Get User Credentials
<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Returns extension user credentials.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @return ExtensionUserCredentials
func (*UserSettingsApiService) LoadSecretQuestion ¶
func (a *UserSettingsApiService) LoadSecretQuestion(ctx context.Context, questionId int32) (SecretQuestionInfo, *http.Response, error)
UserSettingsApiService Get Secret Question
<p style='font-style:italic;'>Since 1.0.20 (Release 7.4)</p><p>Returns a particular secret question in specific language by question ID.</p><h4>Usage Plan Group</h4><p>Light</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param questionId Internal identifier of a question @return SecretQuestionInfo
func (*UserSettingsApiService) UpdateConferencingInfo ¶
func (a *UserSettingsApiService) UpdateConferencingInfo(ctx context.Context, accountId string, extensionId string, body UpdateConferencingInfoRequest) (GetConferencingInfoResponse, *http.Response, error)
UserSettingsApiService Update User Conferencing Settings
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return GetConferencingInfoResponse
func (*UserSettingsApiService) UpdateExtension ¶
func (a *UserSettingsApiService) UpdateExtension(ctx context.Context, accountId string, extensionId string, body ExtensionUpdateRequest) (GetExtensionInfoResponse, *http.Response, error)
UserSettingsApiService Update Extension
<p style='font-style:italic;'></p><p></p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return GetExtensionInfoResponse
func (*UserSettingsApiService) UpdateExtensionCallerId ¶
func (a *UserSettingsApiService) UpdateExtensionCallerId(ctx context.Context, accountId string, extensionId string, body ExtensionCallerIdInfo) (ExtensionCallerIdInfo, *http.Response, error)
UserSettingsApiService Update Extension Caller ID
<p style='font-style:italic;'>Since 1.0.28 (Release 8.4)</p><p>Updates outbound caller ID information of an extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return ExtensionCallerIdInfo
func (*UserSettingsApiService) UpdateExtensionUserCredentials ¶
func (a *UserSettingsApiService) UpdateExtensionUserCredentials(ctx context.Context, accountId string, extensionId string, body ExtensionUserCredentailsRequest) (ExtensionUserCredentials, *http.Response, error)
UserSettingsApiService Update User Credentials
<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Updates extension user credentials.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadAccounts</td><td>Viewing user account info (including name, business name, address and phone number/account number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return ExtensionUserCredentials
func (*UserSettingsApiService) UpdateNotificationSettings ¶
func (a *UserSettingsApiService) UpdateNotificationSettings(ctx context.Context, accountId string, extensionId int32, body NotificationSettingsUpdateRequest) (NotificationSettings, *http.Response, error)
UserSettingsApiService Update Notification Settings
<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Updates notification settings for the current extension.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body @return NotificationSettings
func (*UserSettingsApiService) UploadImageByPostForm ¶
func (a *UserSettingsApiService) UploadImageByPostForm(ctx context.Context, localVarFile *os.File, extensionId string, accountId string) (Binary, *http.Response, error)
UserSettingsApiService Upload User Profile Image
<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Returns the extension profile image.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param image @param extensionId @param accountId @return Binary
func (*UserSettingsApiService) UploadImageByPutForm ¶
func (a *UserSettingsApiService) UploadImageByPutForm(ctx context.Context, extensionId string, accountId string, localVarOptionals map[string]interface{}) (Binary, *http.Response, error)
UserSettingsApiService Update User Profile Image
<p style='font-style:italic;'>Since 1.0.26 (Release 8.2)</p><p>Updates the extension profile image..</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param extensionId @param accountId @param optional (nil or map[string]interface{}) with one or more of:
@param "image" (*os.File)
@return Binary
func (*UserSettingsApiService) ValidateExtensionUserCredentials ¶
func (a *UserSettingsApiService) ValidateExtensionUserCredentials(ctx context.Context, accountId string, extensionId string, body ValidateExtensionUserCredentials) (*http.Response, error)
UserSettingsApiService Validate User Credentials
<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Validates if extension user credentials specified can be applied.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return
func (*UserSettingsApiService) VerifyExtensionUserCredentials ¶
func (a *UserSettingsApiService) VerifyExtensionUserCredentials(ctx context.Context, accountId string, extensionId string, body VerifyExtensionUserCredentials) (*http.Response, error)
UserSettingsApiService Verify Extension User Credentials
<p style='font-style:italic;'>Since 1.0.27 (Release 8.3)</p><p>Verifies current extension user credentials.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditExtensions</td><td>Viewing and updating my extension info (includes extension name, number, email and phone number)</td></tr></tbody></table><h4>API Group</h4><p>Medium</p> * @param ctx context.Context for authentication, logging, tracing, etc. @param accountId Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session @param extensionId Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session @param body JSON body @return
type UserUpdateRequest ¶
type UserUpdateRequest struct {
// Status of a user
Active bool `json:"active,omitempty"`
// User addresses
Addresses []AddressInfo `json:"addresses,omitempty"`
// User email addresses
Emails []EmailInfo `json:"emails"`
// External identifier of a user
ExternalId string `json:"externalId,omitempty"`
// Internal identifier of a user
Id string `json:"id,omitempty"`
// User name
Name *NameInfo `json:"name"`
// User phone numbers
PhoneNumbers []PhoneNumberInfoRequest `json:"phoneNumbers,omitempty"`
Photos []PhotoInfo `json:"photos,omitempty"`
// Specification links
Schemas []string `json:"schemas"`
Urnietfparamsscimschemasextensionenterprise20User *EnterpriseUser `json:"urn:ietf:params:scim:schemas:extension:enterprise:2.0:User,omitempty"`
// User mailbox. Must be same as work type email address
UserName string `json:"userName"`
}
type ValidateExtensionUserCredentials ¶
type ValidateExtensionUserCredentials struct {
// User password of an extension
Password string `json:"password,omitempty"`
// User pin of an extension
IvrPin string `json:"ivrPin,omitempty"`
// Secret question of an extension user
SecretQuestion *SecretQuestionInfoValidationRequest `json:"secretQuestion,omitempty"`
}
type VerifyExtensionUserCredentials ¶
type VerifyExtensionUserCredentials struct {
// User password of an extension
Password string `json:"password,omitempty"`
// User pin of an extension
IvrPin string `json:"ivrPin,omitempty"`
// Secret question of an extension user
SecretQuestion *SecretQuestionInfoVerificationRequest `json:"secretQuestion,omitempty"`
}
type VersionInfo ¶
type VersionInfo struct {
// Canonical URI of API versions
Uri string `json:"uri,omitempty"`
// Version of the RingCentral REST API
VersionString string `json:"versionString,omitempty"`
// Release date of this version
ReleaseDate string `json:"releaseDate,omitempty"`
// URI part determining the current version
UriString string `json:"uriString,omitempty"`
}
type VersionedResource ¶
type VersionedResource struct {
Uri string `json:"uri,omitempty"`
}
type VersioningResource ¶
type VersioningResource struct {
Uri string `json:"uri,omitempty"`
ResourceDescription string `json:"resourceDescription,omitempty"`
Id string `json:"id,omitempty"`
Ver *ApiVersionResource `json:"ver,omitempty"`
}
type ViewInfoReporting ¶
type ViewInfoReporting struct {
// User-defined name of a 'View'. The maximum value is 255
Name string `json:"name"`
// List of pages, the max amount is 10
Pages []PagesInfoReporting `json:"pages"`
// List of schedules, the max amount is 5. Each 'View' may have several schedules for reporting. For example, customer may want to get daily and weekly reports with the same set of settings
Schedules []SchedulesInfoReporting `json:"schedules,omitempty"`
}
type VoicemailInfo ¶
type VoicemailInfo struct {
// If 'True' then voicemails are allowed to be received
Enabled bool `json:"enabled,omitempty"`
// Recipient data
Recipient *RecipientInfo `json:"recipient,omitempty"`
}
type VoicemailSettingsResource ¶
type VoicemailSettingsResource struct {
Enabled bool `json:"enabled,omitempty"`
Recipient *ExtensionResource `json:"recipient,omitempty"`
}
type VoicemailsInfo ¶
type VoicemailsInfo struct {
// Email notification flag
NotifyByEmail bool `json:"notifyByEmail,omitempty"`
// SMS notification flag
NotifyBySms bool `json:"notifyBySms,omitempty"`
// List of recipient email addresses for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedEmailAddresses []string `json:"advancedEmailAddresses,omitempty"`
// List of recipient phone numbers for voicemail notifications. Returned if specified, in both modes (advanced/basic). Applied in advanced mode only
AdvancedSmsEmailAddresses []string `json:"advancedSmsEmailAddresses,omitempty"`
// Indicates whether voicemail should be attached to email
IncludeAttachment bool `json:"includeAttachment,omitempty"`
// Indicates whether email should be automatically marked as read
MarkAsRead bool `json:"markAsRead,omitempty"`
}
type WebUrisResource ¶
type WebUrisResource struct {
ExpressSetupMobile string `json:"expressSetupMobile,omitempty"`
SignUp string `json:"signUp,omitempty"`
Support string `json:"support,omitempty"`
MeetingsAppDownload string `json:"meetingsAppDownload,omitempty"`
MobileWebUsers string `json:"mobileWebUsers,omitempty"`
MobileWebBilling string `json:"mobileWebBilling,omitempty"`
MobileWebPhoneSystem string `json:"mobileWebPhoneSystem,omitempty"`
MobileWebUserSettings string `json:"mobileWebUserSettings,omitempty"`
MobileWebTellAFriend string `json:"mobileWebTellAFriend,omitempty"`
MobileWebChangePassword string `json:"mobileWebChangePassword,omitempty"`
MobileWebInternationalCalling string `json:"mobileWebInternationalCalling,omitempty"`
MobileWebCallHandling string `json:"mobileWebCallHandling,omitempty"`
MobileWebNotifications string `json:"mobileWebNotifications,omitempty"`
MobileWebReporting string `json:"mobileWebReporting,omitempty"`
MobileWebResetPassword string `json:"mobileWebResetPassword,omitempty"`
MobileWebTrialUpgrade string `json:"mobileWebTrialUpgrade,omitempty"`
ServiceWebHome string `json:"serviceWebHome,omitempty"`
ServiceWebPhoneSystem string `json:"serviceWebPhoneSystem,omitempty"`
ServiceWebUserSettings string `json:"serviceWebUserSettings,omitempty"`
ServiceWebBilling string `json:"serviceWebBilling,omitempty"`
ServiceWebTellAFriend string `json:"serviceWebTellAFriend,omitempty"`
ServiceWebChangePassword string `json:"serviceWebChangePassword,omitempty"`
ServiceWebResetPassword string `json:"serviceWebResetPassword,omitempty"`
AppDownload string `json:"appDownload,omitempty"`
AppDownloadFile string `json:"appDownloadFile,omitempty"`
ExpiresIn int64 `json:"expiresIn,omitempty"`
Eula string `json:"eula,omitempty"`
EmergencyDisclaimer string `json:"emergencyDisclaimer,omitempty"`
}
type WeeklyScheduleInfo ¶
type WeeklyScheduleInfo struct {
// Time intervals for a particular day
Monday []TimeInterval `json:"monday,omitempty"`
// Time intervals for a particular day
Tuesday []TimeInterval `json:"tuesday,omitempty"`
// Time intervals for a particular day
Wednesday []TimeInterval `json:"wednesday,omitempty"`
// Time intervals for a particular day
Thursday []TimeInterval `json:"thursday,omitempty"`
// Time intervals for a particular day
Friday []TimeInterval `json:"friday,omitempty"`
// Time intervals for a particular day
Saturday []TimeInterval `json:"saturday,omitempty"`
// Time intervals for a particular day
Sunday []TimeInterval `json:"sunday,omitempty"`
}
Source Files
¶
- acceptable_language_tag.go
- acceptable_media_type.go
- acceptable_token.go
- access_validation_resource.go
- account_active_calls_response.go
- account_business_address_resource.go
- account_call_log_response.go
- account_device_update.go
- account_limits.go
- account_limits_resource.go
- account_phone_numbers.go
- account_presence_event.go
- account_presence_info.go
- account_provisioning_api.go
- account_resource.go
- account_service_info.go
- account_service_info_resource.go
- account_signup_info_request.go
- account_status_info.go
- active_call_info.go
- active_call_info_without_sip.go
- active_permission_resource.go
- adb_presence_info_resource.go
- addon.go
- addon_info.go
- address.go
- address_book_resource.go
- address_book_sync.go
- address_form_country_resource.go
- address_form_resource.go
- address_info.go
- address_info_request.go
- admin_notice_resource.go
- alert_info.go
- answering_forwarding_resource.go
- answering_forwarding_rule_resource.go
- answering_rule_info.go
- answering_rule_resource.go
- answering_rules_resource.go
- api_client.go
- api_info_api.go
- api_response.go
- api_version_resource.go
- apns_info.go
- application_info_resource.go
- application_resource.go
- application_settings_api.go
- aps_info.go
- assigned_role_resource.go
- assigned_roles_resource.go
- attachment_info.go
- attachment_info_reporting.go
- audio_prompt_info.go
- auth_profile_check_resource.go
- auth_profile_resource.go
- authentication_scheme.go
- authentication_schemes.go
- banner_info.go
- billing_plan_info.go
- billing_plan_resource.go
- billing_statement_resource.go
- binary.go
- blacklist_entries_resource.go
- blacklist_entry_resource.go
- blocked_number_info.go
- blocked_numbers_list.go
- bot_extension_creation.go
- bot_extension_creation_request.go
- brand.go
- brand_info.go
- brand_resource.go
- bulk_assign_item.go
- bulk_provision_extension_resource.go
- bulk_provision_unassigned_extensions_request_resource.go
- bulk_provision_unassigned_extensions_response_resource.go
- bulk_role_assign_resource.go
- bulk_supported.go
- business_address_info.go
- business_hours_resource.go
- call_handling_settings_api.go
- call_log_api.go
- call_log_caller_info.go
- call_log_record.go
- call_log_record_device_info.go
- call_log_record_leg_info.go
- call_log_record_resource.go
- call_log_recording_info_resource.go
- call_log_recording_resource.go
- call_log_records.go
- call_log_sync.go
- call_queue_info.go
- call_queue_info_request.go
- called_number_info.go
- caller_id_by_device.go
- caller_id_by_device_info.go
- caller_id_by_feature.go
- caller_id_by_feature_info.go
- caller_id_device_info.go
- caller_id_phone_info.go
- caller_info.go
- caller_info_from.go
- caller_info_to.go
- caller_resource.go
- callers_info.go
- callers_info_request.go
- cfa_attachments.go
- cfa_recurrence.go
- cfa_schedule.go
- cfa_settings_resource.go
- cfa_view.go
- client_api_response.go
- client_application_info.go
- client_info_resource.go
- client_info_special_number_resource.go
- client_info_special_numbers_resource.go
- client_provisioning_hint_info.go
- client_provisioning_hints_info.go
- client_provisioning_info.go
- client_provisioning_web_uri_info.go
- client_resource.go
- company_answering_rule_called_number_info.go
- company_answering_rule_called_number_info_request.go
- company_answering_rule_callers_info_request.go
- company_answering_rule_extension_info_request.go
- company_answering_rule_info.go
- company_answering_rule_list.go
- company_answering_rule_ranges_info_request.go
- company_answering_rule_request.go
- company_answering_rule_schedule_info.go
- company_answering_rule_schedule_info_request.go
- company_answering_rule_time_interval_request.go
- company_answering_rule_update.go
- company_answering_rule_weekly_schedule_info_request.go
- company_business_hours.go
- company_business_hours_schedule_info.go
- company_business_hours_update_request.go
- company_contacts_api.go
- company_directory_account_info.go
- company_directory_contact_info.go
- company_directory_contacts.go
- company_directory_phone_number_info.go
- company_directory_profile_image_info.go
- company_settings_api.go
- conference_phone_number_info.go
- conferencing_info_resource.go
- conferencing_number_resource.go
- configuration.go
- conflicts_info.go
- contact_address_info.go
- contact_directory_event.go
- contact_info.go
- contact_info_update_request.go
- contact_list.go
- contacts_collection.go
- contacts_input.go
- content_disposition.go
- conversation_resource.go
- cookie.go
- countries_resource.go
- country_info.go
- country_resource.go
- create_account_request.go
- create_answering_rule_request.go
- create_fax_message_request.go
- create_forwarding_number_request.go
- create_pager_message_request.go
- create_sip_registration_request.go
- create_sip_registration_response.go
- create_sms_message.go
- create_subscription_request.go
- currency.go
- custom_company_greeting_answering_rule_info.go
- custom_company_greeting_info.go
- custom_company_greeting_request.go
- custom_data_api_response.go
- custom_data_attachment_info.go
- custom_data_request.go
- custom_data_resource.go
- custom_greeting_answering_rule_info.go
- custom_greeting_answering_rule_info_request.go
- custom_greeting_request.go
- date_time_interval_resource.go
- default_user_role_request.go
- delivery_mode_resource.go
- department_bulk_assign_resource.go
- department_info.go
- department_member_list.go
- department_resource.go
- detailed_call_info.go
- detailed_extension_presence_event.go
- detailed_extension_presence_with_sip_event.go
- device_info_request.go
- device_instance.go
- device_model_ext_resource.go
- device_model_exts_resource.go
- device_model_resource.go
- device_order.go
- device_order_creation.go
- device_order_resource.go
- device_resource.go
- device_to_register.go
- devices_resource.go
- dial_in_number_resource.go
- dictionary_greeting_info.go
- dictionary_greeting_list.go
- dictionary_shipping_options.go
- edit_group_request.go
- edit_paging_group_request.go
- edit_park_location_request.go
- email_info.go
- email_info_request.go
- email_resource.go
- emergency_address.go
- emergency_address_info.go
- emergency_address_info_request.go
- emergency_service_address_resource.go
- enterprise_user.go
- entity_tag.go
- error_entity.go
- extension_active_calls_response.go
- extension_assignment_result.go
- extension_call_log_response.go
- extension_caller_id_info.go
- extension_country_info_request.go
- extension_creation_request.go
- extension_favorites_event.go
- extension_favorites_presence_event.go
- extension_formatting_locale_info_request.go
- extension_grant_list_event.go
- extension_grant_resource.go
- extension_grants_resource.go
- extension_greeting_language_info_request.go
- extension_id_resource.go
- extension_info.go
- extension_info_call_log.go
- extension_info_event.go
- extension_info_grants.go
- extension_info_int_id.go
- extension_info_monitored_lines.go
- extension_info_provision_phone_numbers.go
- extension_info_sip.go
- extension_language_info_request.go
- extension_list_event.go
- extension_notification_info.go
- extension_permissions.go
- extension_permissions_resource.go
- extension_presence_event.go
- extension_presence_line_event.go
- extension_reference_resource.go
- extension_regional_setting_request.go
- extension_resource.go
- extension_resource_int_id.go
- extension_secret_question_info.go
- extension_service_feature_info.go
- extension_status_info.go
- extension_timezone_info_request.go
- extension_update_request.go
- extension_user_credentails_request.go
- extension_user_credentials.go
- extension_user_groups_resource.go
- extension_with_roles_collection_resource.go
- extension_with_roles_resource.go
- extensions.go
- favorite_collection.go
- favorite_contact_resource.go
- fax_caller_info.go
- fax_country_info.go
- fax_resend_info.go
- fax_response.go
- feature.go
- features.go
- federation_account_info.go
- federation_conflicts.go
- federation_conflicts_account_info.go
- federation_extension_info.go
- federation_extension_numbers.go
- federation_extension_numbers_extension_info.go
- federation_info.go
- federation_main_number_info.go
- fee_charge_resource.go
- file.go
- filter_supported.go
- fixed_order_agents.go
- form_data_content_disposition.go
- form_field_resource.go
- formatting_locale_info.go
- forwarding_info.go
- forwarding_info_create_rule_request.go
- forwarding_number_info.go
- forwarding_number_info_rules.go
- forwarding_number_info_rules_create_rule_request.go
- forwarding_number_resource.go
- forwarding_numbers_resource.go
- gcm_data.go
- gcm_info.go
- get_account_call_log_record_response.go
- get_account_devices_response.go
- get_account_info_response.go
- get_call_recording_response.go
- get_conferencing_info_response.go
- get_country_info_conferencing.go
- get_country_info_dictionary_response.go
- get_country_info_number_parser.go
- get_country_info_state.go
- get_country_list_response.go
- get_device_info_response.go
- get_dialing_plan_country_info.go
- get_dialing_plan_info.go
- get_extension_call_log_record_response.go
- get_extension_devices_response.go
- get_extension_forwarding_number_list_response.go
- get_extension_grant_list_response.go
- get_extension_info_response.go
- get_extension_list_response.go
- get_extension_phone_numbers_response.go
- get_location_list_response.go
- get_message_info_response.go
- get_message_info_response_int_id.go
- get_message_list.go
- get_message_sync_response.go
- get_monitored_extensions_response.go
- get_presence_extension_info.go
- get_presence_info.go
- get_reporting_settings_response.go
- get_ring_out_status_response.go
- get_ring_out_status_response_int_id.go
- get_secret_question_list_response.go
- get_service_info_response.go
- get_state_info_response.go
- get_state_list_response.go
- get_timezone_info_response.go
- get_timezone_list_response.go
- get_user_business_hours_response.go
- get_user_list_response.go
- get_version_response.go
- get_versions_response.go
- glip_api.go
- glip_apns_info.go
- glip_company.go
- glip_create_group.go
- glip_create_post.go
- glip_group_info.go
- glip_group_list.go
- glip_groups_event.go
- glip_mentions_info.go
- glip_message_attachment_author_info.go
- glip_message_attachment_fields_info.go
- glip_message_attachment_footnote_info.go
- glip_message_attachment_info.go
- glip_message_attachment_info_request.go
- glip_navigation_info.go
- glip_person_info.go
- glip_post_event.go
- glip_post_info.go
- glip_posts.go
- glip_unread_message_count.go
- glip_unread_message_count_event.go
- glip_unread_message_count_info.go
- grant_info.go
- greeting_info.go
- greeting_language_info.go
- group_contacts_collection.go
- group_resource.go
- groups_collection.go
- hint_resource.go
- hints_resource.go
- home_country.go
- home_country_resource.go
- host_info_request.go
- in_product_messages.go
- inbound_faxes_info.go
- inbound_message_event.go
- inbound_texts_info.go
- incoming_call_event.go
- incoming_call_information_resource.go
- inlined_extension_resource.go
- instant_message_event.go
- internal_message_resource.go
- interval_resource.go
- invoice_settings_resource.go
- ivr_menu_actions_info.go
- ivr_menu_extension_info.go
- ivr_menu_info.go
- ivr_menu_prompt_info.go
- ivr_prompts.go
- language_info.go
- language_info_resource.go
- language_info_resources.go
- language_list.go
- language_resource.go
- license_extension_info.go
- license_feature_info.go
- license_info.go
- license_info_request.go
- license_list.go
- license_type_info.go
- license_type_info_request.go
- license_types.go
- line_info.go
- list_company_answering_rule_info.go
- locale.go
- location_info.go
- location_resource.go
- locations_resource.go
- lookup_phone_number_info.go
- make_ring_out_caller_info_request_from.go
- make_ring_out_caller_info_request_to.go
- make_ring_out_coutry_info.go
- make_ring_out_request.go
- matching_entity_tag.go
- media_type.go
- meeting_external_user_info_resource.go
- meeting_links.go
- meeting_request_resource.go
- meeting_response_resource.go
- meeting_schedule_resource.go
- meeting_service_info_resource.go
- meetings_api.go
- meetings_resource.go
- message_attachment_info.go
- message_attachment_info_int_id.go
- message_changes.go
- message_event.go
- message_info_resource.go
- message_store_caller_info_request.go
- message_store_caller_info_response.go
- messages.go
- messages_api.go
- meta_info.go
- method_info.go
- method_resource.go
- missed_call_event.go
- missed_calls_info.go
- model_info.go
- model_type.go
- modify_account_business_address_request.go
- modify_subscription_request.go
- monitoring_extension_resource.go
- monitoring_extensions_resource.go
- name_info.go
- name_info_request.go
- navigable_collection_resource_extension_id_resource.go
- navigable_collection_resource_user_group_resource.go
- navigation.go
- navigation_info.go
- navigation_info_uri.go
- new_cookie.go
- notification_blacklisted_data.go
- notification_delivery_mode.go
- notification_delivery_mode_request.go
- notification_info.go
- notification_recipient_info.go
- notification_settings.go
- notification_settings_update_request.go
- number_pool_phone_number_request.go
- number_porting_request.go
- option_info.go
- option_info_reason.go
- order_licenses_request.go
- order_resource.go
- organization_resource.go
- outbound_faxes_info.go
- pages_info_reporting.go
- paging.go
- paging_device_info.go
- paging_group_extension_info.go
- paging_info.go
- paging_only_group_devices.go
- paging_only_group_users.go
- parameterized_header.go
- park_location_response.go
- parse_phone_number_request.go
- parse_phone_number_response.go
- parsed_number_resource.go
- parsed_phone_numbers_resource.go
- patch_operation_info.go
- path_pattern.go
- pattern_with_groups.go
- payment_info_address_resource.go
- payment_info_card_holder_resource.go
- payment_info_card_resource.go
- payment_info_resource.go
- permission.go
- permission_category_collection_resource.go
- permission_category_id_resource.go
- permission_category_resource.go
- permission_collection_resource.go
- permission_id_resource.go
- permission_info.go
- permission_resource.go
- personal_contact_resource.go
- phone_line_resource.go
- phone_lines_info.go
- phone_number_for_provisioning_resource.go
- phone_number_info.go
- phone_number_info_conferencing.go
- phone_number_info_int_id.go
- phone_number_info_number_parser.go
- phone_number_info_request.go
- phone_number_resource.go
- phone_number_resource_int_id.go
- phone_number_strings_resource.go
- phone_numbers.go
- phone_numbers_api.go
- phone_numbers_records_resource.go
- phone_numbers_resource.go
- photo_info.go
- pool_request_resource.go
- pool_response_resource.go
- post_glip_file.go
- presence_api.go
- presence_extension_info.go
- presence_info_resource.go
- presence_line_info.go
- presence_line_resource.go
- presence_lines_navigation_resource.go
- presence_permissions.go
- presence_permissions_extension_info_request.go
- preset_info.go
- principal.go
- profile_image_info.go
- profile_image_info_uri.go
- profile_image_resource.go
- promotion_code_resource.go
- prompt_info.go
- prompt_language_info.go
- pronounced_name_info.go
- properties_delegate.go
- provision_phone_number_request.go
- provisioning_resource.go
- push_notifications_api.go
- put_presence_resource.go
- queue_info.go
- ranges_info.go
- rc_video_notifications_event.go
- rcv_participants_info.go
- rcv_recording_info.go
- reason.go
- reassign_phone_number_resource.go
- recipient_info.go
- recording_info.go
- records_collection_resource_subscription_response.go
- recurrence_info_reporting.go
- reference.go
- reference_info.go
- regional_settings.go
- regional_settings_api.go
- regional_settings_resource.go
- registration_request.go
- registration_response.go
- reporting_api.go
- reporting_attachment_info.go
- reporting_pages_info.go
- reporting_recurrence_info.go
- reporting_schedules_info.go
- reporting_settings.go
- reporting_view_info.go
- request.go
- reservation_date.go
- reserve_phone_number_resource.go
- reserve_phone_numbers_records_resource.go
- resource_link.go
- resource_model_component.go
- ring_out_api.go
- ring_out_country.go
- ring_out_from_info.go
- ring_out_phone_number_info.go
- ring_out_resource.go
- ring_out_status_info.go
- role_id_resource.go
- role_resource.go
- roles_and_permissions_api.go
- roles_collection_resource.go
- rule_info.go
- rule_info_create_rule_request.go
- save_request_resource.go
- scaled_profile_image_resource.go
- schedule_info.go
- schedule_info_user_business_hours.go
- schedule_resource.go
- schedules_info_reporting.go
- scim_api.go
- scim_error_response.go
- scim_search_request_info.go
- scim_user_patch.go
- secret_question_info.go
- secret_question_info_resource.go
- secret_question_info_validation_request.go
- secret_question_info_verification_request.go
- secret_questions_info_resource.go
- security_context.go
- sender_info.go
- service_feature_info.go
- service_feature_value.go
- service_info.go
- service_info_request.go
- service_parameter_resource.go
- service_plan.go
- service_plan_info.go
- service_plan_resource.go
- service_provider_config.go
- session_resource.go
- sessions_resource.go
- set_reporting_settings_request.go
- shipping_address_info.go
- shipping_info.go
- shipping_method.go
- shipping_option_resource.go
- shipping_options_resource.go
- shipping_resource.go
- signup_info_resource.go
- simple_resource.go
- sip_details_to_register.go
- sip_flags.go
- sip_flags_respones.go
- sip_info.go
- sip_info_request.go
- sip_info_resource.go
- sip_info_response.go
- site_info.go
- sms_resource.go
- special_number_features_info.go
- special_number_info.go
- stack_trace_element.go
- state_resource.go
- states_resource.go
- status_info.go
- status_type.go
- sub_resource.go
- subscription_info.go
- subscription_request.go
- subscription_response.go
- supported.go
- sync_call_log_records.go
- sync_info.go
- sync_info_call_log.go
- sync_info_messages.go
- sync_messages.go
- target_service_plan_info.go
- task_info.go
- tester_flags_resource.go
- throwable.go
- time_interval.go
- timezone_info.go
- timezone_resource.go
- timezones_resource.go
- touch_request_resource.go
- transcription_result.go
- transferred_extension_info.go
- transition_info.go
- unconditional_forwarding_info.go
- unconditional_forwarding_resource.go
- update_account_request.go
- update_answering_rule_request.go
- update_conferencing_info_request.go
- update_forwarding_number_request.go
- update_message_request.go
- update_presence_lines_request.go
- update_presence_lines_response.go
- uri_template.go
- urn_info_request.go
- user_business_hours_schedule_info.go
- user_business_hours_update.go
- user_business_hours_update_request.go
- user_call_log_record.go
- user_contacts_api.go
- user_creation_request.go
- user_group_bulk_assign_resource.go
- user_group_id_resource.go
- user_group_manager_resource.go
- user_group_resource.go
- user_info.go
- user_presence_permissions_update_request.go
- user_settings_api.go
- user_update_request.go
- validate_extension_user_credentials.go
- verify_extension_user_credentials.go
- version_info.go
- versioned_resource.go
- versioning_resource.go
- view_info_reporting.go
- voicemail_info.go
- voicemail_settings_resource.go
- voicemails_info.go
- web_uris_resource.go
- weekly_schedule_info.go