purecloudplatformclientv2 9.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/docs/AgentActivityEntityListing.md +1 -1
- data/docs/AttemptLimitsEntityListing.md +1 -1
- data/docs/AttributeEntityListing.md +1 -1
- data/docs/CalibrationEntityListing.md +1 -1
- data/docs/CallConversationEntityListing.md +1 -1
- data/docs/CallableTimeSetEntityListing.md +1 -1
- data/docs/CallbackConversationEntityListing.md +1 -1
- data/docs/CampaignEntityListing.md +1 -1
- data/docs/CampaignRuleEntityListing.md +1 -1
- data/docs/CampaignSequenceEntityListing.md +1 -1
- data/docs/CertificateAuthorityEntityListing.md +1 -1
- data/docs/ChatConversationEntityListing.md +1 -1
- data/docs/CobrowseConversationEntityListing.md +1 -1
- data/docs/CommandStatusEntityListing.md +1 -1
- data/docs/ConsumedResourcesEntityListing.md +1 -1
- data/docs/ConsumingResourcesEntityListing.md +1 -1
- data/docs/ContactListEntityListing.md +1 -1
- data/docs/ContactListFilterEntityListing.md +1 -1
- data/docs/ContactListing.md +1 -1
- data/docs/ConversationEntityListing.md +1 -1
- data/docs/DIDEntityListing.md +1 -1
- data/docs/DIDPoolEntityListing.md +1 -1
- data/docs/DependencyObjectEntityListing.md +1 -1
- data/docs/DependencyTypeEntityListing.md +1 -1
- data/docs/DialerEventEntityListing.md +1 -1
- data/docs/DncListEntityListing.md +1 -1
- data/docs/DocumentAuditEntityListing.md +1 -1
- data/docs/DocumentEntityListing.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDto.md +1 -1
- data/docs/DomainEdgeSoftwareVersionDtoEntityListing.md +1 -1
- data/docs/DomainEntityListing.md +1 -1
- data/docs/DomainEntityListingEvaluationForm.md +1 -1
- data/docs/DomainEntityListingQueryResult.md +1 -1
- data/docs/EdgeEntityListing.md +1 -1
- data/docs/EdgeGroupEntityListing.md +1 -1
- data/docs/EdgeLineEntityListing.md +1 -1
- data/docs/EmailConversationEntityListing.md +1 -1
- data/docs/EmailMessageListing.md +1 -1
- data/docs/EncryptionKeyEntityListing.md +1 -1
- data/docs/EndpointEntityListing.md +1 -1
- data/docs/EvaluationEntityListing.md +1 -1
- data/docs/EvaluationFormEntityListing.md +1 -1
- data/docs/EvaluatorActivityEntityListing.md +1 -1
- data/docs/ExtensionEntityListing.md +1 -1
- data/docs/ExtensionPoolEntityListing.md +1 -1
- data/docs/ExternalContactsApi.md +130 -4
- data/docs/ExternalOrganization.md +1 -0
- data/docs/ExternalOrganizationListing.md +1 -1
- data/docs/FaxDocumentEntityListing.md +1 -1
- data/docs/FlowEntityListing.md +1 -1
- data/docs/FlowVersionEntityListing.md +1 -1
- data/docs/GreetingListing.md +1 -1
- data/docs/GroupEntityListing.md +1 -1
- data/docs/HeartBeatAlertContainer.md +1 -1
- data/docs/HeartBeatRuleContainer.md +1 -1
- data/docs/InboundDomainEntityListing.md +1 -1
- data/docs/InboundRouteEntityListing.md +1 -1
- data/docs/InteractionStatsAlertContainer.md +1 -1
- data/docs/InteractionStatsRuleContainer.md +1 -1
- data/docs/JsonNode.md +3 -3
- data/docs/KeywordSetEntityListing.md +1 -1
- data/docs/LanguageEntityListing.md +1 -1
- data/docs/LibraryEntityListing.md +1 -1
- data/docs/LicenseApi.md +4 -4
- data/docs/LineBaseEntityListing.md +1 -1
- data/docs/LineEntityListing.md +1 -1
- data/docs/LocationEntityListing.md +1 -1
- data/docs/LogicalInterfaceEntityListing.md +1 -1
- data/docs/NoteListing.md +1 -1
- data/docs/OAuthClientEntityListing.md +1 -1
- data/docs/OAuthProviderEntityListing.md +1 -1
- data/docs/OrgUser.md +36 -0
- data/docs/OrganizationPresenceEntityListing.md +1 -1
- data/docs/OrganizationRoleEntityListing.md +1 -1
- data/docs/OrphanRecordingListing.md +1 -1
- data/docs/OutboundRouteBaseEntityListing.md +1 -1
- data/docs/OutboundRouteEntityListing.md +1 -1
- data/docs/PermissionCollectionEntityListing.md +1 -1
- data/docs/PhoneBaseEntityListing.md +1 -1
- data/docs/PhoneEntityListing.md +1 -1
- data/docs/PhoneMetaBaseEntityListing.md +1 -1
- data/docs/PhysicalInterfaceEntityListing.md +1 -1
- data/docs/PolicyEntityListing.md +1 -1
- data/docs/PromptAssetEntityListing.md +1 -1
- data/docs/PromptEntityListing.md +1 -1
- data/docs/QualityAuditPage.md +1 -1
- data/docs/QueueEntityListing.md +1 -1
- data/docs/QueueMemberEntityListing.md +1 -1
- data/docs/RelationshipListing.md +1 -1
- data/docs/ReportMetaDataEntityListing.md +1 -1
- data/docs/ReportRunEntryEntityDomainListing.md +1 -1
- data/docs/ReportScheduleEntityListing.md +1 -1
- data/docs/ResponseEntityList.md +1 -1
- data/docs/ResponseEntityListing.md +1 -1
- data/docs/ResponseSetEntityListing.md +1 -1
- data/docs/RoutingStatusAlertContainer.md +1 -1
- data/docs/RoutingStatusRuleContainer.md +1 -1
- data/docs/RuleSetEntityListing.md +1 -1
- data/docs/SchemaCategoryEntityListing.md +1 -1
- data/docs/SchemaReferenceEntityListing.md +1 -1
- data/docs/ScreenRecordingSessionListing.md +1 -1
- data/docs/ScriptEntityListing.md +1 -1
- data/docs/SecurityProfileEntityListing.md +1 -1
- data/docs/ShareEntityListing.md +1 -1
- data/docs/SiteEntityListing.md +1 -1
- data/docs/SkillEntityListing.md +1 -1
- data/docs/StationEntityListing.md +1 -1
- data/docs/SystemPromptAssetEntityListing.md +1 -1
- data/docs/SystemPromptEntityListing.md +1 -1
- data/docs/TagValueEntityListing.md +1 -1
- data/docs/TimeZoneEntityListing.md +1 -1
- data/docs/TrunkBaseEntityListing.md +1 -1
- data/docs/TrunkEntityListing.md +1 -1
- data/docs/TrunkMetabaseEntityListing.md +1 -1
- data/docs/Trustor.md +18 -0
- data/docs/UserEntityListing.md +1 -1
- data/docs/UserPresenceAlertContainer.md +1 -1
- data/docs/UserPresenceRuleContainer.md +1 -1
- data/docs/UserQueueEntityListing.md +1 -1
- data/docs/UserRecordingEntityListing.md +1 -1
- data/docs/UserSkillEntityListing.md +1 -1
- data/docs/VoicemailMessageEntityListing.md +1 -1
- data/docs/WorkspaceEntityListing.md +1 -1
- data/docs/WorkspaceMemberEntityListing.md +1 -1
- data/docs/WrapupCodeEntityListing.md +1 -1
- data/lib/purecloudplatformclientv2.rb +2 -2
- data/lib/purecloudplatformclientv2/api/external_contacts_api.rb +166 -9
- data/lib/purecloudplatformclientv2/api/license_api.rb +6 -6
- data/lib/purecloudplatformclientv2/models/agent_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/attempt_limits_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/attribute_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/calibration_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/call_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callable_time_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/callback_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_rule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/campaign_sequence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/certificate_authority_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/chat_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/cobrowse_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/command_status_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consumed_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/consuming_resources_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_list_filter_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/contact_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_object_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dependency_type_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dialer_event_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/did_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/dnc_list_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_audit_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_edge_software_version_dto_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_evaluation_form.rb +12 -12
- data/lib/purecloudplatformclientv2/models/domain_entity_listing_query_result.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/edge_line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_conversation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/email_message_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/encryption_key_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/endpoint_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluation_form_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/evaluator_activity_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/extension_pool_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/external_organization.rb +26 -1
- data/lib/purecloudplatformclientv2/models/external_organization_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/fax_document_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/flow_version_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/greeting_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/group_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/heart_beat_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/heart_beat_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_domain_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/inbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/interaction_stats_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/json_node.rb +29 -29
- data/lib/purecloudplatformclientv2/models/keyword_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/language_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/library_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/line_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/location_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/logical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/note_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_client_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/o_auth_provider_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/org_user.rb +822 -0
- data/lib/purecloudplatformclientv2/models/organization_presence_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/organization_role_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/orphan_recording_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/outbound_route_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/permission_collection_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/phone_meta_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/physical_interface_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/policy_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/quality_audit_page.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/queue_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/relationship_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_meta_data_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_run_entry_entity_domain_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/report_schedule_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_list.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/response_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/routing_status_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/routing_status_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/rule_set_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_category_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/schema_reference_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/screen_recording_session_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/script_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/security_profile_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/share_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/site_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/station_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_asset_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/system_prompt_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/tag_value_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/time_zone_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_base_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/trunk_metabase_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/{license_definition_listing.rb → trustor.rb} +48 -139
- data/lib/purecloudplatformclientv2/models/user_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_presence_alert_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_presence_rule_container.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_queue_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_recording_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/user_skill_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/voicemail_message_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/workspace_member_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/models/wrapup_code_entity_listing.rb +12 -12
- data/lib/purecloudplatformclientv2/version.rb +1 -1
- metadata +6 -6
- data/docs/LicenseDefinitionListing.md +0 -22
- data/docs/LicenseUpdateResponse.md +0 -13
- data/lib/purecloudplatformclientv2/models/license_update_response.rb +0 -203
data/docs/ShareEntityListing.md
CHANGED
|
@@ -14,8 +14,8 @@ title: ShareEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
data/docs/SiteEntityListing.md
CHANGED
|
@@ -14,8 +14,8 @@ title: SiteEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
data/docs/SkillEntityListing.md
CHANGED
|
@@ -14,8 +14,8 @@ title: SkillEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: StationEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: SystemPromptAssetEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: SystemPromptEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: TagValueEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: TimeZoneEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: TrunkBaseEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
data/docs/TrunkEntityListing.md
CHANGED
|
@@ -14,8 +14,8 @@ title: TrunkEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: TrunkMetabaseEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
data/docs/Trustor.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Trustor
|
|
3
|
+
---
|
|
4
|
+
## PureCloud::Trustor
|
|
5
|
+
|
|
6
|
+
## Properties
|
|
7
|
+
|
|
8
|
+
|Name | Type | Description | Notes|
|
|
9
|
+
|------------ | ------------- | ------------- | -------------|
|
|
10
|
+
| **id** | **String** | Organization Id for this trust. | [optional] |
|
|
11
|
+
| **enabled** | **BOOLEAN** | If disabled no trustee user will have access, even if they were previously added. | |
|
|
12
|
+
| **date_created** | **DateTime** | Date Trust was created. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] |
|
|
13
|
+
| **created_by** | [**OrgUser**](OrgUser.html) | User that created trust. | [optional] |
|
|
14
|
+
| **organization** | [**Organization**](Organization.html) | Organization associated with this trust. | [optional] |
|
|
15
|
+
| **self_uri** | **String** | The URI for this object | [optional] |
|
|
16
|
+
{: class="table table-striped"}
|
|
17
|
+
|
|
18
|
+
|
data/docs/UserEntityListing.md
CHANGED
|
@@ -14,8 +14,8 @@ title: UserEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserPresenceAlertContainer
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserPresenceRuleContainer
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserQueueEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserRecordingEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: UserSkillEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: VoicemailMessageEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: WorkspaceEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: WorkspaceMemberEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -14,8 +14,8 @@ title: WrapupCodeEntityListing
|
|
|
14
14
|
| **self_uri** | **String** | | [optional] |
|
|
15
15
|
| **first_uri** | **String** | | [optional] |
|
|
16
16
|
| **next_uri** | **String** | | [optional] |
|
|
17
|
-
| **last_uri** | **String** | | [optional] |
|
|
18
17
|
| **previous_uri** | **String** | | [optional] |
|
|
18
|
+
| **last_uri** | **String** | | [optional] |
|
|
19
19
|
| **page_count** | **Integer** | | [optional] |
|
|
20
20
|
{: class="table table-striped"}
|
|
21
21
|
|
|
@@ -569,9 +569,7 @@ require 'purecloudplatformclientv2/models/library_entity_listing'
|
|
|
569
569
|
require 'purecloudplatformclientv2/models/license_assignment_request'
|
|
570
570
|
require 'purecloudplatformclientv2/models/license_batch_assignment_request'
|
|
571
571
|
require 'purecloudplatformclientv2/models/license_definition'
|
|
572
|
-
require 'purecloudplatformclientv2/models/license_definition_listing'
|
|
573
572
|
require 'purecloudplatformclientv2/models/license_organization'
|
|
574
|
-
require 'purecloudplatformclientv2/models/license_update_response'
|
|
575
573
|
require 'purecloudplatformclientv2/models/license_update_status'
|
|
576
574
|
require 'purecloudplatformclientv2/models/license_user'
|
|
577
575
|
require 'purecloudplatformclientv2/models/line'
|
|
@@ -623,6 +621,7 @@ require 'purecloudplatformclientv2/models/one_login'
|
|
|
623
621
|
require 'purecloudplatformclientv2/models/operation'
|
|
624
622
|
require 'purecloudplatformclientv2/models/org_media_utilization'
|
|
625
623
|
require 'purecloudplatformclientv2/models/org_o_auth_client'
|
|
624
|
+
require 'purecloudplatformclientv2/models/org_user'
|
|
626
625
|
require 'purecloudplatformclientv2/models/organization'
|
|
627
626
|
require 'purecloudplatformclientv2/models/organization_features'
|
|
628
627
|
require 'purecloudplatformclientv2/models/organization_presence'
|
|
@@ -865,6 +864,7 @@ require 'purecloudplatformclientv2/models/trunk_metrics_network_type_ip'
|
|
|
865
864
|
require 'purecloudplatformclientv2/models/trunk_metrics_options'
|
|
866
865
|
require 'purecloudplatformclientv2/models/trunk_metrics_registers'
|
|
867
866
|
require 'purecloudplatformclientv2/models/trunk_recording_enabled_count'
|
|
867
|
+
require 'purecloudplatformclientv2/models/trustor'
|
|
868
868
|
require 'purecloudplatformclientv2/models/twitter_id'
|
|
869
869
|
require 'purecloudplatformclientv2/models/unread_metric'
|
|
870
870
|
require 'purecloudplatformclientv2/models/unread_status'
|
|
@@ -300,6 +300,70 @@ module PureCloud
|
|
|
300
300
|
return data, status_code, headers
|
|
301
301
|
end
|
|
302
302
|
|
|
303
|
+
# Unlink the Trustor for this External Organization
|
|
304
|
+
#
|
|
305
|
+
# @param external_organization_id External Organization ID
|
|
306
|
+
# @param [Hash] opts the optional parameters
|
|
307
|
+
# @return [nil]
|
|
308
|
+
def delete_externalcontacts_organization_trustor(external_organization_id, opts = {})
|
|
309
|
+
delete_externalcontacts_organization_trustor_with_http_info(external_organization_id, opts)
|
|
310
|
+
return nil
|
|
311
|
+
end
|
|
312
|
+
|
|
313
|
+
# Unlink the Trustor for this External Organization
|
|
314
|
+
#
|
|
315
|
+
# @param external_organization_id External Organization ID
|
|
316
|
+
# @param [Hash] opts the optional parameters
|
|
317
|
+
# @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
|
|
318
|
+
def delete_externalcontacts_organization_trustor_with_http_info(external_organization_id, opts = {})
|
|
319
|
+
if @api_client.config.debugging
|
|
320
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi.delete_externalcontacts_organization_trustor ..."
|
|
321
|
+
end
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
# verify the required parameter 'external_organization_id' is set
|
|
325
|
+
fail ArgumentError, "Missing the required parameter 'external_organization_id' when calling ExternalContactsApi.delete_externalcontacts_organization_trustor" if external_organization_id.nil?
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
# resource path
|
|
332
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s)
|
|
333
|
+
|
|
334
|
+
# query parameters
|
|
335
|
+
query_params = {}
|
|
336
|
+
|
|
337
|
+
# header parameters
|
|
338
|
+
header_params = {}
|
|
339
|
+
|
|
340
|
+
# HTTP header 'Accept' (if needed)
|
|
341
|
+
local_header_accept = ['application/json']
|
|
342
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
343
|
+
|
|
344
|
+
# HTTP header 'Content-Type'
|
|
345
|
+
local_header_content_type = ['application/json']
|
|
346
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
347
|
+
|
|
348
|
+
# form parameters
|
|
349
|
+
form_params = {}
|
|
350
|
+
|
|
351
|
+
# http body (model)
|
|
352
|
+
post_body = nil
|
|
353
|
+
|
|
354
|
+
auth_names = ['PureCloud Auth']
|
|
355
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
|
356
|
+
:header_params => header_params,
|
|
357
|
+
:query_params => query_params,
|
|
358
|
+
:form_params => form_params,
|
|
359
|
+
:body => post_body,
|
|
360
|
+
:auth_names => auth_names)
|
|
361
|
+
if @api_client.config.debugging
|
|
362
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#delete_externalcontacts_organization_trustor\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
363
|
+
end
|
|
364
|
+
return data, status_code, headers
|
|
365
|
+
end
|
|
366
|
+
|
|
303
367
|
# Delete a relationship
|
|
304
368
|
#
|
|
305
369
|
# @param relationship_id Relationship Id
|
|
@@ -727,7 +791,8 @@ module PureCloud
|
|
|
727
791
|
#
|
|
728
792
|
# @param external_organization_id External Organization ID
|
|
729
793
|
# @param [Hash] opts the optional parameters
|
|
730
|
-
# @option opts [
|
|
794
|
+
# @option opts [String] :expand which fields, if any, to expand (externalDataSources)
|
|
795
|
+
# @option opts [BOOLEAN] :include_trustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
731
796
|
# @return [ExternalOrganization]
|
|
732
797
|
def get_externalcontacts_organization(external_organization_id, opts = {})
|
|
733
798
|
data, _status_code, _headers = get_externalcontacts_organization_with_http_info(external_organization_id, opts)
|
|
@@ -738,7 +803,8 @@ module PureCloud
|
|
|
738
803
|
#
|
|
739
804
|
# @param external_organization_id External Organization ID
|
|
740
805
|
# @param [Hash] opts the optional parameters
|
|
741
|
-
# @option opts [
|
|
806
|
+
# @option opts [String] :expand which fields, if any, to expand (externalDataSources)
|
|
807
|
+
# @option opts [BOOLEAN] :include_trustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
742
808
|
# @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
|
|
743
809
|
def get_externalcontacts_organization_with_http_info(external_organization_id, opts = {})
|
|
744
810
|
if @api_client.config.debugging
|
|
@@ -756,6 +822,16 @@ module PureCloud
|
|
|
756
822
|
|
|
757
823
|
|
|
758
824
|
|
|
825
|
+
if opts[:'expand'] && !['externalDataSources'].include?(opts[:'expand'])
|
|
826
|
+
fail ArgumentError, 'invalid value for "expand", must be one of externalDataSources'
|
|
827
|
+
end
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
|
|
759
835
|
|
|
760
836
|
|
|
761
837
|
|
|
@@ -764,7 +840,8 @@ module PureCloud
|
|
|
764
840
|
|
|
765
841
|
# query parameters
|
|
766
842
|
query_params = {}
|
|
767
|
-
query_params[:'expand'] =
|
|
843
|
+
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
|
844
|
+
query_params[:'includeTrustors'] = opts[:'include_trustors'] if opts[:'include_trustors']
|
|
768
845
|
|
|
769
846
|
# header parameters
|
|
770
847
|
header_params = {}
|
|
@@ -1204,7 +1281,8 @@ module PureCloud
|
|
|
1204
1281
|
# @option opts [Integer] :page_number Page number (default to 1)
|
|
1205
1282
|
# @option opts [String] :q Search query
|
|
1206
1283
|
# @option opts [String] :sort_order Sort order
|
|
1207
|
-
# @option opts [String] :expand which fields, if any, to expand
|
|
1284
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
1285
|
+
# @option opts [BOOLEAN] :include_trustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
1208
1286
|
# @return [ExternalOrganizationListing]
|
|
1209
1287
|
def get_externalcontacts_organizations(opts = {})
|
|
1210
1288
|
data, _status_code, _headers = get_externalcontacts_organizations_with_http_info(opts)
|
|
@@ -1218,7 +1296,8 @@ module PureCloud
|
|
|
1218
1296
|
# @option opts [Integer] :page_number Page number
|
|
1219
1297
|
# @option opts [String] :q Search query
|
|
1220
1298
|
# @option opts [String] :sort_order Sort order
|
|
1221
|
-
# @option opts [String] :expand which fields, if any, to expand
|
|
1299
|
+
# @option opts [Array<String>] :expand which fields, if any, to expand
|
|
1300
|
+
# @option opts [BOOLEAN] :include_trustors (true or false) whether or not to include trustor information embedded in the externalOrganization
|
|
1222
1301
|
# @return [Array<(ExternalOrganizationListing, Fixnum, Hash)>] ExternalOrganizationListing data, response status code and response headers
|
|
1223
1302
|
def get_externalcontacts_organizations_with_http_info(opts = {})
|
|
1224
1303
|
if @api_client.config.debugging
|
|
@@ -1252,9 +1331,11 @@ module PureCloud
|
|
|
1252
1331
|
|
|
1253
1332
|
|
|
1254
1333
|
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1258
1339
|
|
|
1259
1340
|
|
|
1260
1341
|
|
|
@@ -1268,7 +1349,8 @@ module PureCloud
|
|
|
1268
1349
|
query_params[:'pageNumber'] = opts[:'page_number'] if opts[:'page_number']
|
|
1269
1350
|
query_params[:'q'] = opts[:'q'] if opts[:'q']
|
|
1270
1351
|
query_params[:'sortOrder'] = opts[:'sort_order'] if opts[:'sort_order']
|
|
1271
|
-
query_params[:'expand'] = opts[:'expand'] if opts[:'expand']
|
|
1352
|
+
query_params[:'expand'] = @api_client.build_collection_param(opts[:'expand'], :multi) if opts[:'expand']
|
|
1353
|
+
query_params[:'includeTrustors'] = opts[:'include_trustors'] if opts[:'include_trustors']
|
|
1272
1354
|
|
|
1273
1355
|
# header parameters
|
|
1274
1356
|
header_params = {}
|
|
@@ -2173,6 +2255,81 @@ module PureCloud
|
|
|
2173
2255
|
return data, status_code, headers
|
|
2174
2256
|
end
|
|
2175
2257
|
|
|
2258
|
+
# Links a Trustor with an Extenral Organization
|
|
2259
|
+
#
|
|
2260
|
+
# @param external_organization_id External Organization ID
|
|
2261
|
+
# @param trustor_id Trustor ID
|
|
2262
|
+
# @param [Hash] opts the optional parameters
|
|
2263
|
+
# @return [ExternalOrganization]
|
|
2264
|
+
def put_externalcontacts_organization_trustor_trustor_id(external_organization_id, trustor_id, opts = {})
|
|
2265
|
+
data, _status_code, _headers = put_externalcontacts_organization_trustor_trustor_id_with_http_info(external_organization_id, trustor_id, opts)
|
|
2266
|
+
return data
|
|
2267
|
+
end
|
|
2268
|
+
|
|
2269
|
+
# Links a Trustor with an Extenral Organization
|
|
2270
|
+
#
|
|
2271
|
+
# @param external_organization_id External Organization ID
|
|
2272
|
+
# @param trustor_id Trustor ID
|
|
2273
|
+
# @param [Hash] opts the optional parameters
|
|
2274
|
+
# @return [Array<(ExternalOrganization, Fixnum, Hash)>] ExternalOrganization data, response status code and response headers
|
|
2275
|
+
def put_externalcontacts_organization_trustor_trustor_id_with_http_info(external_organization_id, trustor_id, opts = {})
|
|
2276
|
+
if @api_client.config.debugging
|
|
2277
|
+
@api_client.config.logger.debug "Calling API: ExternalContactsApi.put_externalcontacts_organization_trustor_trustor_id ..."
|
|
2278
|
+
end
|
|
2279
|
+
|
|
2280
|
+
|
|
2281
|
+
# verify the required parameter 'external_organization_id' is set
|
|
2282
|
+
fail ArgumentError, "Missing the required parameter 'external_organization_id' when calling ExternalContactsApi.put_externalcontacts_organization_trustor_trustor_id" if external_organization_id.nil?
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
|
|
2288
|
+
|
|
2289
|
+
# verify the required parameter 'trustor_id' is set
|
|
2290
|
+
fail ArgumentError, "Missing the required parameter 'trustor_id' when calling ExternalContactsApi.put_externalcontacts_organization_trustor_trustor_id" if trustor_id.nil?
|
|
2291
|
+
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
# resource path
|
|
2297
|
+
local_var_path = "/api/v2/externalcontacts/organizations/{externalOrganizationId}/trustor/{trustorId}".sub('{format}','json').sub('{' + 'externalOrganizationId' + '}', external_organization_id.to_s).sub('{' + 'trustorId' + '}', trustor_id.to_s)
|
|
2298
|
+
|
|
2299
|
+
# query parameters
|
|
2300
|
+
query_params = {}
|
|
2301
|
+
|
|
2302
|
+
# header parameters
|
|
2303
|
+
header_params = {}
|
|
2304
|
+
|
|
2305
|
+
# HTTP header 'Accept' (if needed)
|
|
2306
|
+
local_header_accept = ['application/json']
|
|
2307
|
+
local_header_accept_result = @api_client.select_header_accept(local_header_accept) and header_params['Accept'] = local_header_accept_result
|
|
2308
|
+
|
|
2309
|
+
# HTTP header 'Content-Type'
|
|
2310
|
+
local_header_content_type = ['application/json']
|
|
2311
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(local_header_content_type)
|
|
2312
|
+
|
|
2313
|
+
# form parameters
|
|
2314
|
+
form_params = {}
|
|
2315
|
+
|
|
2316
|
+
# http body (model)
|
|
2317
|
+
post_body = nil
|
|
2318
|
+
|
|
2319
|
+
auth_names = ['PureCloud Auth']
|
|
2320
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
|
|
2321
|
+
:header_params => header_params,
|
|
2322
|
+
:query_params => query_params,
|
|
2323
|
+
:form_params => form_params,
|
|
2324
|
+
:body => post_body,
|
|
2325
|
+
:auth_names => auth_names,
|
|
2326
|
+
:return_type => 'ExternalOrganization')
|
|
2327
|
+
if @api_client.config.debugging
|
|
2328
|
+
@api_client.config.logger.debug "API called: ExternalContactsApi#put_externalcontacts_organization_trustor_trustor_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2329
|
+
end
|
|
2330
|
+
return data, status_code, headers
|
|
2331
|
+
end
|
|
2332
|
+
|
|
2176
2333
|
# Update a relationship
|
|
2177
2334
|
#
|
|
2178
2335
|
# @param relationship_id Relationship Id
|