merge_crm_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/LICENSE.md +16 -0
- data/README.md +236 -0
- data/Rakefile +10 -0
- data/docs/Account.md +46 -0
- data/docs/AccountDetails.md +36 -0
- data/docs/AccountDetailsAndActions.md +36 -0
- data/docs/AccountDetailsAndActionsIntegration.md +32 -0
- data/docs/AccountDetailsAndActionsStatusEnum.md +15 -0
- data/docs/AccountDetailsApi.md +79 -0
- data/docs/AccountIntegration.md +28 -0
- data/docs/AccountRequest.md +40 -0
- data/docs/AccountToken.md +20 -0
- data/docs/AccountTokenApi.md +79 -0
- data/docs/AccountsApi.md +335 -0
- data/docs/ActivityTypeEnum.md +15 -0
- data/docs/Address.md +30 -0
- data/docs/AddressRequest.md +30 -0
- data/docs/AddressTypeEnum.md +15 -0
- data/docs/AvailableActions.md +22 -0
- data/docs/AvailableActionsApi.md +79 -0
- data/docs/CRMAccountEndpointRequest.md +18 -0
- data/docs/CRMAccountResponse.md +24 -0
- data/docs/CRMContactEndpointRequest.md +18 -0
- data/docs/CRMContactResponse.md +24 -0
- data/docs/CategoriesEnum.md +15 -0
- data/docs/CategoryEnum.md +15 -0
- data/docs/Contact.md +40 -0
- data/docs/ContactRequest.md +32 -0
- data/docs/ContactsApi.md +335 -0
- data/docs/CountryEnum.md +15 -0
- data/docs/DataPassthroughRequest.md +32 -0
- data/docs/DebugModeLog.md +22 -0
- data/docs/DebugModelLogSummary.md +22 -0
- data/docs/DeleteAccountApi.md +78 -0
- data/docs/DirectionEnum.md +15 -0
- data/docs/EmailAddress.md +20 -0
- data/docs/EmailAddressRequest.md +20 -0
- data/docs/EncodingEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +30 -0
- data/docs/Engagement.md +40 -0
- data/docs/EngagementEndpointRequest.md +18 -0
- data/docs/EngagementRequest.md +38 -0
- data/docs/EngagementResponse.md +24 -0
- data/docs/EngagementType.md +24 -0
- data/docs/EngagementTypesApi.md +177 -0
- data/docs/EngagementsApi.md +333 -0
- data/docs/ErrorValidationProblem.md +24 -0
- data/docs/ForceResyncApi.md +79 -0
- data/docs/GenerateKeyApi.md +79 -0
- data/docs/GenerateRemoteKeyRequest.md +18 -0
- data/docs/Issue.md +30 -0
- data/docs/IssueStatusEnum.md +15 -0
- data/docs/IssuesApi.md +177 -0
- data/docs/Lead.md +52 -0
- data/docs/LeadEndpointRequest.md +18 -0
- data/docs/LeadRequest.md +44 -0
- data/docs/LeadResponse.md +24 -0
- data/docs/LeadsApi.md +339 -0
- data/docs/LinkToken.md +22 -0
- data/docs/LinkTokenApi.md +79 -0
- data/docs/LinkedAccountStatus.md +20 -0
- data/docs/LinkedAccountsApi.md +105 -0
- data/docs/MetaResponse.md +24 -0
- data/docs/MethodEnum.md +15 -0
- data/docs/ModelOperation.md +24 -0
- data/docs/MultipartFormFieldRequest.md +26 -0
- data/docs/Note.md +38 -0
- data/docs/NoteEndpointRequest.md +18 -0
- data/docs/NoteRequest.md +36 -0
- data/docs/NoteResponse.md +24 -0
- data/docs/NotesApi.md +341 -0
- data/docs/OpportunitiesApi.md +345 -0
- data/docs/Opportunity.md +44 -0
- data/docs/OpportunityEndpointRequest.md +18 -0
- data/docs/OpportunityRequest.md +42 -0
- data/docs/OpportunityResponse.md +24 -0
- data/docs/OpportunityStatusEnum.md +15 -0
- data/docs/PaginatedAccountDetailsAndActionsList.md +22 -0
- data/docs/PaginatedAccountList.md +22 -0
- data/docs/PaginatedContactList.md +22 -0
- data/docs/PaginatedEngagementList.md +22 -0
- data/docs/PaginatedEngagementTypeList.md +22 -0
- data/docs/PaginatedIssueList.md +22 -0
- data/docs/PaginatedLeadList.md +22 -0
- data/docs/PaginatedNoteList.md +22 -0
- data/docs/PaginatedOpportunityList.md +22 -0
- data/docs/PaginatedStageList.md +22 -0
- data/docs/PaginatedSyncStatusList.md +22 -0
- data/docs/PaginatedTaskList.md +22 -0
- data/docs/PaginatedUserList.md +22 -0
- data/docs/PassthroughApi.md +81 -0
- data/docs/PhoneNumber.md +20 -0
- data/docs/PhoneNumberRequest.md +20 -0
- data/docs/RegenerateKeyApi.md +79 -0
- data/docs/RemoteData.md +20 -0
- data/docs/RemoteKey.md +20 -0
- data/docs/RemoteKeyForRegenerationRequest.md +18 -0
- data/docs/RemoteResponse.md +28 -0
- data/docs/RequestFormatEnum.md +15 -0
- data/docs/Stage.md +26 -0
- data/docs/StagesApi.md +177 -0
- data/docs/SyncStatus.md +28 -0
- data/docs/SyncStatusApi.md +85 -0
- data/docs/SyncStatusStatusEnum.md +15 -0
- data/docs/Task.md +38 -0
- data/docs/TaskStatusEnum.md +15 -0
- data/docs/TasksApi.md +181 -0
- data/docs/User.md +30 -0
- data/docs/UsersApi.md +177 -0
- data/docs/ValidationProblemSource.md +18 -0
- data/docs/WarningValidationProblem.md +24 -0
- data/docs/WebhookReceiver.md +22 -0
- data/docs/WebhookReceiverRequest.md +22 -0
- data/docs/WebhookReceiversApi.md +153 -0
- data/git_push.sh +58 -0
- data/lib/merge_crm_client/api/account_details_api.rb +84 -0
- data/lib/merge_crm_client/api/account_token_api.rb +83 -0
- data/lib/merge_crm_client/api/accounts_api.rb +337 -0
- data/lib/merge_crm_client/api/available_actions_api.rb +84 -0
- data/lib/merge_crm_client/api/contacts_api.rb +337 -0
- data/lib/merge_crm_client/api/delete_account_api.rb +82 -0
- data/lib/merge_crm_client/api/engagement_types_api.rb +182 -0
- data/lib/merge_crm_client/api/engagements_api.rb +334 -0
- data/lib/merge_crm_client/api/force_resync_api.rb +84 -0
- data/lib/merge_crm_client/api/generate_key_api.rb +85 -0
- data/lib/merge_crm_client/api/issues_api.rb +181 -0
- data/lib/merge_crm_client/api/leads_api.rb +343 -0
- data/lib/merge_crm_client/api/link_token_api.rb +85 -0
- data/lib/merge_crm_client/api/linked_accounts_api.rb +120 -0
- data/lib/merge_crm_client/api/notes_api.rb +346 -0
- data/lib/merge_crm_client/api/opportunities_api.rb +364 -0
- data/lib/merge_crm_client/api/passthrough_api.rb +92 -0
- data/lib/merge_crm_client/api/regenerate_key_api.rb +85 -0
- data/lib/merge_crm_client/api/stages_api.rb +182 -0
- data/lib/merge_crm_client/api/sync_status_api.rb +90 -0
- data/lib/merge_crm_client/api/tasks_api.rb +196 -0
- data/lib/merge_crm_client/api/users_api.rb +182 -0
- data/lib/merge_crm_client/api/webhook_receivers_api.rb +154 -0
- data/lib/merge_crm_client/api_client.rb +390 -0
- data/lib/merge_crm_client/api_error.rb +57 -0
- data/lib/merge_crm_client/configuration.rb +281 -0
- data/lib/merge_crm_client/models/account.rb +410 -0
- data/lib/merge_crm_client/models/account_details.rb +302 -0
- data/lib/merge_crm_client/models/account_details_and_actions.rb +327 -0
- data/lib/merge_crm_client/models/account_details_and_actions_integration.rb +310 -0
- data/lib/merge_crm_client/models/account_details_and_actions_status_enum.rb +46 -0
- data/lib/merge_crm_client/models/account_integration.rb +303 -0
- data/lib/merge_crm_client/models/account_request.rb +382 -0
- data/lib/merge_crm_client/models/account_token.rb +237 -0
- data/lib/merge_crm_client/models/activity_type_enum.rb +46 -0
- data/lib/merge_crm_client/models/address.rb +287 -0
- data/lib/merge_crm_client/models/address_request.rb +287 -0
- data/lib/merge_crm_client/models/address_type_enum.rb +45 -0
- data/lib/merge_crm_client/models/available_actions.rb +249 -0
- data/lib/merge_crm_client/models/categories_enum.rb +48 -0
- data/lib/merge_crm_client/models/category_enum.rb +48 -0
- data/lib/merge_crm_client/models/contact.rb +338 -0
- data/lib/merge_crm_client/models/contact_request.rb +299 -0
- data/lib/merge_crm_client/models/country_enum.rb +292 -0
- data/lib/merge_crm_client/models/crm_account_endpoint_request.rb +223 -0
- data/lib/merge_crm_client/models/crm_account_response.rb +266 -0
- data/lib/merge_crm_client/models/crm_contact_endpoint_request.rb +223 -0
- data/lib/merge_crm_client/models/crm_contact_response.rb +266 -0
- data/lib/merge_crm_client/models/data_passthrough_request.rb +352 -0
- data/lib/merge_crm_client/models/debug_mode_log.rb +251 -0
- data/lib/merge_crm_client/models/debug_model_log_summary.rb +251 -0
- data/lib/merge_crm_client/models/direction_enum.rb +45 -0
- data/lib/merge_crm_client/models/email_address.rb +232 -0
- data/lib/merge_crm_client/models/email_address_request.rb +232 -0
- data/lib/merge_crm_client/models/encoding_enum.rb +46 -0
- data/lib/merge_crm_client/models/end_user_details_request.rb +430 -0
- data/lib/merge_crm_client/models/engagement.rb +337 -0
- data/lib/merge_crm_client/models/engagement_endpoint_request.rb +223 -0
- data/lib/merge_crm_client/models/engagement_request.rb +330 -0
- data/lib/merge_crm_client/models/engagement_response.rb +266 -0
- data/lib/merge_crm_client/models/engagement_type.rb +252 -0
- data/lib/merge_crm_client/models/error_validation_problem.rb +260 -0
- data/lib/merge_crm_client/models/generate_remote_key_request.rb +243 -0
- data/lib/merge_crm_client/models/issue.rb +281 -0
- data/lib/merge_crm_client/models/issue_status_enum.rb +45 -0
- data/lib/merge_crm_client/models/lead.rb +402 -0
- data/lib/merge_crm_client/models/lead_endpoint_request.rb +223 -0
- data/lib/merge_crm_client/models/lead_request.rb +363 -0
- data/lib/merge_crm_client/models/lead_response.rb +266 -0
- data/lib/merge_crm_client/models/link_token.rb +246 -0
- data/lib/merge_crm_client/models/linked_account_status.rb +237 -0
- data/lib/merge_crm_client/models/meta_response.rb +262 -0
- data/lib/merge_crm_client/models/method_enum.rb +50 -0
- data/lib/merge_crm_client/models/model_operation.rb +272 -0
- data/lib/merge_crm_client/models/multipart_form_field_request.rb +341 -0
- data/lib/merge_crm_client/models/note.rb +324 -0
- data/lib/merge_crm_client/models/note_endpoint_request.rb +223 -0
- data/lib/merge_crm_client/models/note_request.rb +318 -0
- data/lib/merge_crm_client/models/note_response.rb +266 -0
- data/lib/merge_crm_client/models/opportunity.rb +382 -0
- data/lib/merge_crm_client/models/opportunity_endpoint_request.rb +223 -0
- data/lib/merge_crm_client/models/opportunity_request.rb +376 -0
- data/lib/merge_crm_client/models/opportunity_response.rb +266 -0
- data/lib/merge_crm_client/models/opportunity_status_enum.rb +46 -0
- data/lib/merge_crm_client/models/paginated_account_details_and_actions_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_account_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_contact_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_engagement_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_engagement_type_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_issue_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_lead_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_note_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_opportunity_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_stage_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_sync_status_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_task_list.rb +240 -0
- data/lib/merge_crm_client/models/paginated_user_list.rb +240 -0
- data/lib/merge_crm_client/models/phone_number.rb +232 -0
- data/lib/merge_crm_client/models/phone_number_request.rb +232 -0
- data/lib/merge_crm_client/models/remote_data.rb +234 -0
- data/lib/merge_crm_client/models/remote_key.rb +238 -0
- data/lib/merge_crm_client/models/remote_key_for_regeneration_request.rb +243 -0
- data/lib/merge_crm_client/models/remote_response.rb +290 -0
- data/lib/merge_crm_client/models/request_format_enum.rb +46 -0
- data/lib/merge_crm_client/models/stage.rb +263 -0
- data/lib/merge_crm_client/models/sync_status.rb +294 -0
- data/lib/merge_crm_client/models/sync_status_status_enum.rb +48 -0
- data/lib/merge_crm_client/models/task.rb +327 -0
- data/lib/merge_crm_client/models/task_status_enum.rb +45 -0
- data/lib/merge_crm_client/models/user.rb +285 -0
- data/lib/merge_crm_client/models/validation_problem_source.rb +223 -0
- data/lib/merge_crm_client/models/warning_validation_problem.rb +260 -0
- data/lib/merge_crm_client/models/webhook_receiver.rb +246 -0
- data/lib/merge_crm_client/models/webhook_receiver_request.rb +280 -0
- data/lib/merge_crm_client/version.rb +15 -0
- data/lib/merge_crm_client.rb +150 -0
- data/merge_crm_client.gemspec +38 -0
- data/pull_request_template.md +19 -0
- data/spec/api/account_details_api_spec.rb +46 -0
- data/spec/api/account_token_api_spec.rb +46 -0
- data/spec/api/accounts_api_spec.rb +96 -0
- data/spec/api/available_actions_api_spec.rb +46 -0
- data/spec/api/contacts_api_spec.rb +108 -0
- data/spec/api/delete_account_api_spec.rb +46 -0
- data/spec/api/engagement_types_api_spec.rb +68 -0
- data/spec/api/engagements_api_spec.rb +95 -0
- data/spec/api/force_resync_api_spec.rb +46 -0
- data/spec/api/generate_key_api_spec.rb +46 -0
- data/spec/api/issues_api_spec.rb +69 -0
- data/spec/api/leads_api_spec.rb +98 -0
- data/spec/api/link_token_api_spec.rb +46 -0
- data/spec/api/linked_accounts_api_spec.rb +58 -0
- data/spec/api/notes_api_spec.rb +99 -0
- data/spec/api/opportunities_api_spec.rb +101 -0
- data/spec/api/passthrough_api_spec.rb +47 -0
- data/spec/api/regenerate_key_api_spec.rb +46 -0
- data/spec/api/stages_api_spec.rb +68 -0
- data/spec/api/sync_status_api_spec.rb +48 -0
- data/spec/api/tasks_api_spec.rb +70 -0
- data/spec/api/users_api_spec.rb +68 -0
- data/spec/api/webhook_receivers_api_spec.rb +58 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/account_details_and_actions_integration_spec.rb +76 -0
- data/spec/models/account_details_and_actions_spec.rb +88 -0
- data/spec/models/account_details_and_actions_status_enum_spec.rb +28 -0
- data/spec/models/account_details_spec.rb +88 -0
- data/spec/models/account_integration_spec.rb +64 -0
- data/spec/models/account_request_spec.rb +100 -0
- data/spec/models/account_spec.rb +118 -0
- data/spec/models/account_token_spec.rb +40 -0
- data/spec/models/activity_type_enum_spec.rb +28 -0
- data/spec/models/address_request_spec.rb +70 -0
- data/spec/models/address_spec.rb +70 -0
- data/spec/models/address_type_enum_spec.rb +28 -0
- data/spec/models/available_actions_spec.rb +46 -0
- data/spec/models/categories_enum_spec.rb +28 -0
- data/spec/models/category_enum_spec.rb +28 -0
- data/spec/models/contact_request_spec.rb +76 -0
- data/spec/models/contact_spec.rb +100 -0
- data/spec/models/country_enum_spec.rb +28 -0
- data/spec/models/crm_account_endpoint_request_spec.rb +34 -0
- data/spec/models/crm_account_response_spec.rb +52 -0
- data/spec/models/crm_contact_endpoint_request_spec.rb +34 -0
- data/spec/models/crm_contact_response_spec.rb +52 -0
- data/spec/models/data_passthrough_request_spec.rb +76 -0
- data/spec/models/debug_mode_log_spec.rb +46 -0
- data/spec/models/debug_model_log_summary_spec.rb +46 -0
- data/spec/models/direction_enum_spec.rb +28 -0
- data/spec/models/email_address_request_spec.rb +40 -0
- data/spec/models/email_address_spec.rb +40 -0
- data/spec/models/encoding_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +70 -0
- data/spec/models/engagement_endpoint_request_spec.rb +34 -0
- data/spec/models/engagement_request_spec.rb +94 -0
- data/spec/models/engagement_response_spec.rb +52 -0
- data/spec/models/engagement_spec.rb +100 -0
- data/spec/models/engagement_type_spec.rb +52 -0
- data/spec/models/error_validation_problem_spec.rb +52 -0
- data/spec/models/generate_remote_key_request_spec.rb +34 -0
- data/spec/models/issue_spec.rb +70 -0
- data/spec/models/issue_status_enum_spec.rb +35 -0
- data/spec/models/lead_endpoint_request_spec.rb +34 -0
- data/spec/models/lead_request_spec.rb +112 -0
- data/spec/models/lead_response_spec.rb +52 -0
- data/spec/models/lead_spec.rb +136 -0
- data/spec/models/link_token_spec.rb +46 -0
- data/spec/models/linked_account_status_spec.rb +40 -0
- data/spec/models/meta_response_spec.rb +52 -0
- data/spec/models/method_enum_spec.rb +28 -0
- data/spec/models/model_operation_spec.rb +52 -0
- data/spec/models/multipart_form_field_request_spec.rb +58 -0
- data/spec/models/note_endpoint_request_spec.rb +34 -0
- data/spec/models/note_request_spec.rb +88 -0
- data/spec/models/note_response_spec.rb +52 -0
- data/spec/models/note_spec.rb +94 -0
- data/spec/models/opportunity_endpoint_request_spec.rb +34 -0
- data/spec/models/opportunity_request_spec.rb +106 -0
- data/spec/models/opportunity_response_spec.rb +52 -0
- data/spec/models/opportunity_spec.rb +112 -0
- data/spec/models/opportunity_status_enum_spec.rb +28 -0
- data/spec/models/paginated_account_details_and_actions_list_spec.rb +46 -0
- data/spec/models/paginated_account_list_spec.rb +46 -0
- data/spec/models/paginated_contact_list_spec.rb +46 -0
- data/spec/models/paginated_engagement_list_spec.rb +46 -0
- data/spec/models/paginated_engagement_type_list_spec.rb +46 -0
- data/spec/models/paginated_issue_list_spec.rb +46 -0
- data/spec/models/paginated_lead_list_spec.rb +46 -0
- data/spec/models/paginated_note_list_spec.rb +46 -0
- data/spec/models/paginated_opportunity_list_spec.rb +46 -0
- data/spec/models/paginated_stage_list_spec.rb +46 -0
- data/spec/models/paginated_sync_status_list_spec.rb +46 -0
- data/spec/models/paginated_task_list_spec.rb +46 -0
- data/spec/models/paginated_user_list_spec.rb +46 -0
- data/spec/models/phone_number_request_spec.rb +40 -0
- data/spec/models/phone_number_spec.rb +40 -0
- data/spec/models/remote_data_spec.rb +40 -0
- data/spec/models/remote_key_for_regeneration_request_spec.rb +34 -0
- data/spec/models/remote_key_spec.rb +40 -0
- data/spec/models/remote_response_spec.rb +64 -0
- data/spec/models/request_format_enum_spec.rb +28 -0
- data/spec/models/stage_spec.rb +58 -0
- data/spec/models/sync_status_spec.rb +64 -0
- data/spec/models/sync_status_status_enum_spec.rb +28 -0
- data/spec/models/task_spec.rb +94 -0
- data/spec/models/task_status_enum_spec.rb +28 -0
- data/spec/models/user_spec.rb +70 -0
- data/spec/models/validation_problem_source_spec.rb +34 -0
- data/spec/models/warning_validation_problem_spec.rb +52 -0
- data/spec/models/webhook_receiver_request_spec.rb +46 -0
- data/spec/models/webhook_receiver_spec.rb +46 -0
- data/spec/spec_helper.rb +111 -0
- metadata +545 -0
@@ -0,0 +1,24 @@
|
|
1
|
+
# MergeCRMClient::ErrorValidationProblem
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **source** | [**ValidationProblemSource**](ValidationProblemSource.md) | | [optional] |
|
8
|
+
| **title** | **String** | | |
|
9
|
+
| **detail** | **String** | | |
|
10
|
+
| **problem_type** | **String** | | |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'merge_crm_client'
|
16
|
+
|
17
|
+
instance = MergeCRMClient::ErrorValidationProblem.new(
|
18
|
+
source: null,
|
19
|
+
title: Missing Required Field,
|
20
|
+
detail: custom_fields is a required field on model.,
|
21
|
+
problem_type: MISSING_REQUIRED_FIELD
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# MergeCRMClient::ForceResyncApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/crm/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**sync_status_resync_create**](ForceResyncApi.md#sync_status_resync_create) | **POST** /sync-status/resync | |
|
8
|
+
|
9
|
+
|
10
|
+
## sync_status_resync_create
|
11
|
+
|
12
|
+
> <Array<SyncStatus>> sync_status_resync_create(x_account_token)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
|
17
|
+
|
18
|
+
### Examples
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'time'
|
22
|
+
require 'merge_crm_client'
|
23
|
+
# setup authorization
|
24
|
+
MergeCRMClient.configure do |config|
|
25
|
+
# Configure API key authorization: tokenAuth
|
26
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
27
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = MergeCRMClient::ForceResyncApi.new
|
32
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
33
|
+
|
34
|
+
begin
|
35
|
+
|
36
|
+
result = api_instance.sync_status_resync_create(x_account_token)
|
37
|
+
p result
|
38
|
+
rescue MergeCRMClient::ApiError => e
|
39
|
+
puts "Error when calling ForceResyncApi->sync_status_resync_create: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Using the sync_status_resync_create_with_http_info variant
|
44
|
+
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
46
|
+
|
47
|
+
> <Array(<Array<SyncStatus>>, Integer, Hash)> sync_status_resync_create_with_http_info(x_account_token)
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
begin
|
51
|
+
|
52
|
+
data, status_code, headers = api_instance.sync_status_resync_create_with_http_info(x_account_token)
|
53
|
+
p status_code # => 2xx
|
54
|
+
p headers # => { ... }
|
55
|
+
p data # => <Array<SyncStatus>>
|
56
|
+
rescue MergeCRMClient::ApiError => e
|
57
|
+
puts "Error when calling ForceResyncApi->sync_status_resync_create_with_http_info: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
| Name | Type | Description | Notes |
|
64
|
+
| ---- | ---- | ----------- | ----- |
|
65
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
[**Array<SyncStatus>**](SyncStatus.md)
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[tokenAuth](../README.md#tokenAuth)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: Not defined
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
@@ -0,0 +1,79 @@
|
|
1
|
+
# MergeCRMClient::GenerateKeyApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/crm/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**generate_key_create**](GenerateKeyApi.md#generate_key_create) | **POST** /generate-key | |
|
8
|
+
|
9
|
+
|
10
|
+
## generate_key_create
|
11
|
+
|
12
|
+
> <RemoteKey> generate_key_create(generate_remote_key_request)
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
Create a remote key.
|
17
|
+
|
18
|
+
### Examples
|
19
|
+
|
20
|
+
```ruby
|
21
|
+
require 'time'
|
22
|
+
require 'merge_crm_client'
|
23
|
+
# setup authorization
|
24
|
+
MergeCRMClient.configure do |config|
|
25
|
+
# Configure API key authorization: tokenAuth
|
26
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
27
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
28
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
29
|
+
end
|
30
|
+
|
31
|
+
api_instance = MergeCRMClient::GenerateKeyApi.new
|
32
|
+
generate_remote_key_request = MergeCRMClient::GenerateRemoteKeyRequest.new({name: 'Remote Deployment Key 1'}) # GenerateRemoteKeyRequest |
|
33
|
+
|
34
|
+
begin
|
35
|
+
|
36
|
+
result = api_instance.generate_key_create(generate_remote_key_request)
|
37
|
+
p result
|
38
|
+
rescue MergeCRMClient::ApiError => e
|
39
|
+
puts "Error when calling GenerateKeyApi->generate_key_create: #{e}"
|
40
|
+
end
|
41
|
+
```
|
42
|
+
|
43
|
+
#### Using the generate_key_create_with_http_info variant
|
44
|
+
|
45
|
+
This returns an Array which contains the response data, status code and headers.
|
46
|
+
|
47
|
+
> <Array(<RemoteKey>, Integer, Hash)> generate_key_create_with_http_info(generate_remote_key_request)
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
begin
|
51
|
+
|
52
|
+
data, status_code, headers = api_instance.generate_key_create_with_http_info(generate_remote_key_request)
|
53
|
+
p status_code # => 2xx
|
54
|
+
p headers # => { ... }
|
55
|
+
p data # => <RemoteKey>
|
56
|
+
rescue MergeCRMClient::ApiError => e
|
57
|
+
puts "Error when calling GenerateKeyApi->generate_key_create_with_http_info: #{e}"
|
58
|
+
end
|
59
|
+
```
|
60
|
+
|
61
|
+
### Parameters
|
62
|
+
|
63
|
+
| Name | Type | Description | Notes |
|
64
|
+
| ---- | ---- | ----------- | ----- |
|
65
|
+
| **generate_remote_key_request** | [**GenerateRemoteKeyRequest**](GenerateRemoteKeyRequest.md) | | |
|
66
|
+
|
67
|
+
### Return type
|
68
|
+
|
69
|
+
[**RemoteKey**](RemoteKey.md)
|
70
|
+
|
71
|
+
### Authorization
|
72
|
+
|
73
|
+
[tokenAuth](../README.md#tokenAuth)
|
74
|
+
|
75
|
+
### HTTP request headers
|
76
|
+
|
77
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
78
|
+
- **Accept**: application/json
|
79
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MergeCRMClient::GenerateRemoteKeyRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'merge_crm_client'
|
13
|
+
|
14
|
+
instance = MergeCRMClient::GenerateRemoteKeyRequest.new(
|
15
|
+
name: Remote Deployment Key 1
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/Issue.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# MergeCRMClient::Issue
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **status** | [**IssueStatusEnum**](IssueStatusEnum.md) | | [optional] |
|
9
|
+
| **error_description** | **String** | | |
|
10
|
+
| **end_user** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
11
|
+
| **first_incident_time** | **Time** | | [optional] |
|
12
|
+
| **last_incident_time** | **Time** | | [optional] |
|
13
|
+
| **is_muted** | **Boolean** | | [optional][readonly] |
|
14
|
+
|
15
|
+
## Example
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'merge_crm_client'
|
19
|
+
|
20
|
+
instance = MergeCRMClient::Issue.new(
|
21
|
+
id: null,
|
22
|
+
status: null,
|
23
|
+
error_description: null,
|
24
|
+
end_user: null,
|
25
|
+
first_incident_time: null,
|
26
|
+
last_incident_time: null,
|
27
|
+
is_muted: null
|
28
|
+
)
|
29
|
+
```
|
30
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeCRMClient::IssueStatusEnum
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'merge_crm_client'
|
12
|
+
|
13
|
+
instance = MergeCRMClient::IssueStatusEnum.new()
|
14
|
+
```
|
15
|
+
|
data/docs/IssuesApi.md
ADDED
@@ -0,0 +1,177 @@
|
|
1
|
+
# MergeCRMClient::IssuesApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/crm/v1*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**issues_list**](IssuesApi.md#issues_list) | **GET** /issues | |
|
8
|
+
| [**issues_retrieve**](IssuesApi.md#issues_retrieve) | **GET** /issues/{id} | |
|
9
|
+
|
10
|
+
|
11
|
+
## issues_list
|
12
|
+
|
13
|
+
> <PaginatedIssueList> issues_list(opts)
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
Gets issues.
|
18
|
+
|
19
|
+
### Examples
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'time'
|
23
|
+
require 'merge_crm_client'
|
24
|
+
# setup authorization
|
25
|
+
MergeCRMClient.configure do |config|
|
26
|
+
# Configure API key authorization: tokenAuth
|
27
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = MergeCRMClient::IssuesApi.new
|
33
|
+
opts = {
|
34
|
+
account_token: 'account_token_example', # String |
|
35
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
36
|
+
end_date: 'end_date_example', # String | If included, will only include issues whose most recent action occurred before this time
|
37
|
+
end_user_organization_name: 'end_user_organization_name_example', # String |
|
38
|
+
first_incident_time_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was after this datetime.
|
39
|
+
first_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was before this datetime.
|
40
|
+
include_muted: 'include_muted_example', # String | If True, will include muted issues
|
41
|
+
integration_name: 'integration_name_example', # String |
|
42
|
+
last_incident_time_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was after this datetime.
|
43
|
+
last_incident_time_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return issues whose first incident time was before this datetime.
|
44
|
+
page_size: 56, # Integer | Number of results to return per page.
|
45
|
+
start_date: 'start_date_example', # String | If included, will only include issues whose most recent action occurred after this time
|
46
|
+
status: 'ONGOING' # String |
|
47
|
+
}
|
48
|
+
|
49
|
+
begin
|
50
|
+
|
51
|
+
result = api_instance.issues_list(opts)
|
52
|
+
p result
|
53
|
+
rescue MergeCRMClient::ApiError => e
|
54
|
+
puts "Error when calling IssuesApi->issues_list: #{e}"
|
55
|
+
end
|
56
|
+
```
|
57
|
+
|
58
|
+
#### Using the issues_list_with_http_info variant
|
59
|
+
|
60
|
+
This returns an Array which contains the response data, status code and headers.
|
61
|
+
|
62
|
+
> <Array(<PaginatedIssueList>, Integer, Hash)> issues_list_with_http_info(opts)
|
63
|
+
|
64
|
+
```ruby
|
65
|
+
begin
|
66
|
+
|
67
|
+
data, status_code, headers = api_instance.issues_list_with_http_info(opts)
|
68
|
+
p status_code # => 2xx
|
69
|
+
p headers # => { ... }
|
70
|
+
p data # => <PaginatedIssueList>
|
71
|
+
rescue MergeCRMClient::ApiError => e
|
72
|
+
puts "Error when calling IssuesApi->issues_list_with_http_info: #{e}"
|
73
|
+
end
|
74
|
+
```
|
75
|
+
|
76
|
+
### Parameters
|
77
|
+
|
78
|
+
| Name | Type | Description | Notes |
|
79
|
+
| ---- | ---- | ----------- | ----- |
|
80
|
+
| **account_token** | **String** | | [optional] |
|
81
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
82
|
+
| **end_date** | **String** | If included, will only include issues whose most recent action occurred before this time | [optional] |
|
83
|
+
| **end_user_organization_name** | **String** | | [optional] |
|
84
|
+
| **first_incident_time_after** | **Time** | If provided, will only return issues whose first incident time was after this datetime. | [optional] |
|
85
|
+
| **first_incident_time_before** | **Time** | If provided, will only return issues whose first incident time was before this datetime. | [optional] |
|
86
|
+
| **include_muted** | **String** | If True, will include muted issues | [optional] |
|
87
|
+
| **integration_name** | **String** | | [optional] |
|
88
|
+
| **last_incident_time_after** | **Time** | If provided, will only return issues whose first incident time was after this datetime. | [optional] |
|
89
|
+
| **last_incident_time_before** | **Time** | If provided, will only return issues whose first incident time was before this datetime. | [optional] |
|
90
|
+
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
91
|
+
| **start_date** | **String** | If included, will only include issues whose most recent action occurred after this time | [optional] |
|
92
|
+
| **status** | **String** | | [optional] |
|
93
|
+
|
94
|
+
### Return type
|
95
|
+
|
96
|
+
[**PaginatedIssueList**](PaginatedIssueList.md)
|
97
|
+
|
98
|
+
### Authorization
|
99
|
+
|
100
|
+
[tokenAuth](../README.md#tokenAuth)
|
101
|
+
|
102
|
+
### HTTP request headers
|
103
|
+
|
104
|
+
- **Content-Type**: Not defined
|
105
|
+
- **Accept**: application/json
|
106
|
+
|
107
|
+
|
108
|
+
## issues_retrieve
|
109
|
+
|
110
|
+
> <Issue> issues_retrieve(id)
|
111
|
+
|
112
|
+
|
113
|
+
|
114
|
+
Get a specific issue.
|
115
|
+
|
116
|
+
### Examples
|
117
|
+
|
118
|
+
```ruby
|
119
|
+
require 'time'
|
120
|
+
require 'merge_crm_client'
|
121
|
+
# setup authorization
|
122
|
+
MergeCRMClient.configure do |config|
|
123
|
+
# Configure API key authorization: tokenAuth
|
124
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
125
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
126
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
127
|
+
end
|
128
|
+
|
129
|
+
api_instance = MergeCRMClient::IssuesApi.new
|
130
|
+
id = TODO # String |
|
131
|
+
|
132
|
+
begin
|
133
|
+
|
134
|
+
result = api_instance.issues_retrieve(id)
|
135
|
+
p result
|
136
|
+
rescue MergeCRMClient::ApiError => e
|
137
|
+
puts "Error when calling IssuesApi->issues_retrieve: #{e}"
|
138
|
+
end
|
139
|
+
```
|
140
|
+
|
141
|
+
#### Using the issues_retrieve_with_http_info variant
|
142
|
+
|
143
|
+
This returns an Array which contains the response data, status code and headers.
|
144
|
+
|
145
|
+
> <Array(<Issue>, Integer, Hash)> issues_retrieve_with_http_info(id)
|
146
|
+
|
147
|
+
```ruby
|
148
|
+
begin
|
149
|
+
|
150
|
+
data, status_code, headers = api_instance.issues_retrieve_with_http_info(id)
|
151
|
+
p status_code # => 2xx
|
152
|
+
p headers # => { ... }
|
153
|
+
p data # => <Issue>
|
154
|
+
rescue MergeCRMClient::ApiError => e
|
155
|
+
puts "Error when calling IssuesApi->issues_retrieve_with_http_info: #{e}"
|
156
|
+
end
|
157
|
+
```
|
158
|
+
|
159
|
+
### Parameters
|
160
|
+
|
161
|
+
| Name | Type | Description | Notes |
|
162
|
+
| ---- | ---- | ----------- | ----- |
|
163
|
+
| **id** | [**String**](.md) | | |
|
164
|
+
|
165
|
+
### Return type
|
166
|
+
|
167
|
+
[**Issue**](Issue.md)
|
168
|
+
|
169
|
+
### Authorization
|
170
|
+
|
171
|
+
[tokenAuth](../README.md#tokenAuth)
|
172
|
+
|
173
|
+
### HTTP request headers
|
174
|
+
|
175
|
+
- **Content-Type**: Not defined
|
176
|
+
- **Accept**: application/json
|
177
|
+
|
data/docs/Lead.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# MergeCRMClient::Lead
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **owner** | **String** | | [optional] |
|
10
|
+
| **lead_source** | **String** | The lead's source. | [optional] |
|
11
|
+
| **title** | **String** | The lead's title. | [optional] |
|
12
|
+
| **company** | **String** | The lead's company. | [optional] |
|
13
|
+
| **first_name** | **String** | The lead's first name. | [optional] |
|
14
|
+
| **last_name** | **String** | The lead's last name. | [optional] |
|
15
|
+
| **addresses** | [**Array<Address>**](Address.md) | | [optional][readonly] |
|
16
|
+
| **email_addresses** | [**Array<EmailAddress>**](EmailAddress.md) | | [optional][readonly] |
|
17
|
+
| **phone_numbers** | [**Array<PhoneNumber>**](PhoneNumber.md) | | [optional][readonly] |
|
18
|
+
| **remote_updated_at** | **Time** | When the third party's lead was updated. | [optional] |
|
19
|
+
| **remote_created_at** | **Time** | When the third party's lead was created. | [optional] |
|
20
|
+
| **converted_date** | **Time** | When the lead was converted. | [optional] |
|
21
|
+
| **converted_contact** | **String** | | [optional] |
|
22
|
+
| **converted_account** | **String** | | [optional] |
|
23
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
24
|
+
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
25
|
+
|
26
|
+
## Example
|
27
|
+
|
28
|
+
```ruby
|
29
|
+
require 'merge_crm_client'
|
30
|
+
|
31
|
+
instance = MergeCRMClient::Lead.new(
|
32
|
+
id: null,
|
33
|
+
remote_id: 19202938,
|
34
|
+
owner: 0358cbc6-2040-430a-848e-aafacbadf3aa,
|
35
|
+
lead_source: API Blogger,
|
36
|
+
title: Co-Founder,
|
37
|
+
company: Merge API,
|
38
|
+
first_name: Gil,
|
39
|
+
last_name: Feig,
|
40
|
+
addresses: [{"street_1":"50 Bowling Green Dr","street_2":"Golden Gate Park","city":"San Francisco","state":"CA","postal_code":"94122","country":"USA","address_type":"Shipping"}],
|
41
|
+
email_addresses: [{"email_address":"hello@merge.dev","email_address_type":"Work"}],
|
42
|
+
phone_numbers: [{"phone_number":"+16789932455","phone_number_type":"Mobile"}],
|
43
|
+
remote_updated_at: 2022-02-10T00:00Z,
|
44
|
+
remote_created_at: 2021-11-10T00:00Z,
|
45
|
+
converted_date: 2022-03-10T00:00Z,
|
46
|
+
converted_contact: null,
|
47
|
+
converted_account: 9c9de072-29cf-48e3-9578-1ca5b145b40e,
|
48
|
+
remote_data: [{"path":"/leads","data":["Varies by platform"]}],
|
49
|
+
remote_was_deleted: null
|
50
|
+
)
|
51
|
+
```
|
52
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MergeCRMClient::LeadEndpointRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **model** | [**LeadRequest**](LeadRequest.md) | | |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'merge_crm_client'
|
13
|
+
|
14
|
+
instance = MergeCRMClient::LeadEndpointRequest.new(
|
15
|
+
model: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/LeadRequest.md
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# MergeCRMClient::LeadRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
8
|
+
| **owner** | **String** | | [optional] |
|
9
|
+
| **lead_source** | **String** | The lead's source. | [optional] |
|
10
|
+
| **title** | **String** | The lead's title. | [optional] |
|
11
|
+
| **company** | **String** | The lead's company. | [optional] |
|
12
|
+
| **first_name** | **String** | The lead's first name. | [optional] |
|
13
|
+
| **last_name** | **String** | The lead's last name. | [optional] |
|
14
|
+
| **remote_updated_at** | **Time** | When the third party's lead was updated. | [optional] |
|
15
|
+
| **remote_created_at** | **Time** | When the third party's lead was created. | [optional] |
|
16
|
+
| **converted_date** | **Time** | When the lead was converted. | [optional] |
|
17
|
+
| **converted_contact** | **String** | | [optional] |
|
18
|
+
| **converted_account** | **String** | | [optional] |
|
19
|
+
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
20
|
+
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
21
|
+
|
22
|
+
## Example
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
require 'merge_crm_client'
|
26
|
+
|
27
|
+
instance = MergeCRMClient::LeadRequest.new(
|
28
|
+
remote_id: 19202938,
|
29
|
+
owner: 0358cbc6-2040-430a-848e-aafacbadf3aa,
|
30
|
+
lead_source: API Blogger,
|
31
|
+
title: Co-Founder,
|
32
|
+
company: Merge API,
|
33
|
+
first_name: Gil,
|
34
|
+
last_name: Feig,
|
35
|
+
remote_updated_at: 2022-02-10T00:00Z,
|
36
|
+
remote_created_at: 2021-11-10T00:00Z,
|
37
|
+
converted_date: 2022-03-10T00:00Z,
|
38
|
+
converted_contact: null,
|
39
|
+
converted_account: 9c9de072-29cf-48e3-9578-1ca5b145b40e,
|
40
|
+
integration_params: null,
|
41
|
+
linked_account_params: null
|
42
|
+
)
|
43
|
+
```
|
44
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# MergeCRMClient::LeadResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **model** | [**Lead**](Lead.md) | | |
|
8
|
+
| **warnings** | [**Array<WarningValidationProblem>**](WarningValidationProblem.md) | | |
|
9
|
+
| **errors** | [**Array<ErrorValidationProblem>**](ErrorValidationProblem.md) | | |
|
10
|
+
| **logs** | [**Array<DebugModeLog>**](DebugModeLog.md) | | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'merge_crm_client'
|
16
|
+
|
17
|
+
instance = MergeCRMClient::LeadResponse.new(
|
18
|
+
model: null,
|
19
|
+
warnings: null,
|
20
|
+
errors: null,
|
21
|
+
logs: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|