merge_ticketing_client 1.0.1 → 1.0.2
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 +24 -6
- data/docs/Account.md +3 -1
- data/docs/AccountIntegration.md +1 -1
- data/docs/Attachment.md +5 -3
- data/docs/AttachmentRequest.md +7 -3
- data/docs/Collection.md +34 -0
- data/docs/CollectionTypeEnum.md +15 -0
- data/docs/CollectionsApi.md +193 -0
- data/docs/Comment.md +6 -4
- data/docs/CommentRequest.md +8 -4
- data/docs/ConditionSchema.md +30 -0
- data/docs/ConditionTypeEnum.md +15 -0
- data/docs/Contact.md +3 -1
- data/docs/DataPassthroughRequest.md +1 -1
- data/docs/EndUserDetailsRequest.md +2 -2
- data/docs/Issue.md +9 -7
- data/docs/LinkToken.md +1 -1
- data/docs/LinkedAccountCondition.md +28 -0
- data/docs/LinkedAccountConditionRequest.md +22 -0
- data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
- data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
- data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
- data/docs/OperatorSchema.md +20 -0
- data/docs/PaginatedCollectionList.md +22 -0
- data/docs/PaginatedConditionSchemaList.md +22 -0
- data/docs/PatchedTicketRequest.md +15 -7
- data/docs/Project.md +3 -1
- data/docs/ProjectsApi.md +10 -8
- data/docs/SelectiveSyncApi.md +233 -0
- data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
- data/docs/SyncStatus.md +5 -3
- data/docs/Tag.md +3 -1
- data/docs/Team.md +3 -1
- data/docs/Ticket.md +13 -7
- data/docs/TicketRequest.md +15 -7
- data/docs/TicketsApi.md +53 -13
- data/docs/User.md +3 -1
- data/docs/UsersApi.md +2 -0
- data/lib/merge_ticketing_client/api/collections_api.rb +234 -0
- data/lib/merge_ticketing_client/api/linked_accounts_api.rb +1 -1
- data/lib/merge_ticketing_client/api/projects_api.rb +14 -11
- data/lib/merge_ticketing_client/api/selective_sync_api.rb +225 -0
- data/lib/merge_ticketing_client/api/tickets_api.rb +94 -19
- data/lib/merge_ticketing_client/api/users_api.rb +3 -0
- data/lib/merge_ticketing_client/models/account.rb +16 -4
- data/lib/merge_ticketing_client/models/account_details_and_actions_status_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/account_integration.rb +1 -1
- data/lib/merge_ticketing_client/models/attachment.rb +18 -4
- data/lib/merge_ticketing_client/models/attachment_request.rb +31 -5
- data/lib/merge_ticketing_client/models/categories_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/category_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/collection.rb +308 -0
- data/lib/merge_ticketing_client/models/collection_type_enum.rb +45 -0
- data/lib/merge_ticketing_client/models/comment.rb +19 -4
- data/lib/merge_ticketing_client/models/comment_request.rb +32 -5
- data/lib/merge_ticketing_client/models/condition_schema.rb +297 -0
- data/lib/merge_ticketing_client/models/condition_type_enum.rb +50 -0
- data/lib/merge_ticketing_client/models/contact.rb +16 -4
- data/lib/merge_ticketing_client/models/data_passthrough_request.rb +1 -0
- data/lib/merge_ticketing_client/models/encoding_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/end_user_details_request.rb +2 -2
- data/lib/merge_ticketing_client/models/issue.rb +15 -4
- data/lib/merge_ticketing_client/models/link_token.rb +0 -5
- data/lib/merge_ticketing_client/models/linked_account_condition.rb +282 -0
- data/lib/merge_ticketing_client/models/linked_account_condition_request.rb +269 -0
- data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration.rb +221 -0
- data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
- data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
- data/lib/merge_ticketing_client/models/method_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/operator_schema.rb +229 -0
- data/lib/merge_ticketing_client/models/paginated_collection_list.rb +240 -0
- data/lib/merge_ticketing_client/models/paginated_condition_schema_list.rb +240 -0
- data/lib/merge_ticketing_client/models/patched_ticket_request.rb +57 -7
- data/lib/merge_ticketing_client/models/priority_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/project.rb +16 -4
- data/lib/merge_ticketing_client/models/request_format_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/response_type_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/selective_sync_configurations_usage_enum.rb +45 -0
- data/lib/merge_ticketing_client/models/sync_status.rb +13 -4
- data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/tag.rb +16 -4
- data/lib/merge_ticketing_client/models/team.rb +16 -4
- data/lib/merge_ticketing_client/models/ticket.rb +45 -7
- data/lib/merge_ticketing_client/models/ticket_request.rb +57 -7
- data/lib/merge_ticketing_client/models/ticket_status_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/user.rb +16 -4
- data/lib/merge_ticketing_client/version.rb +1 -1
- data/lib/merge_ticketing_client.rb +15 -0
- data/spec/api/collections_api_spec.rb +76 -0
- data/spec/api/projects_api_spec.rb +3 -2
- data/spec/api/selective_sync_api_spec.rb +72 -0
- data/spec/api/tickets_api_spec.rb +24 -4
- data/spec/api/users_api_spec.rb +1 -0
- data/spec/models/account_spec.rb +6 -0
- data/spec/models/attachment_request_spec.rb +12 -0
- data/spec/models/attachment_spec.rb +6 -0
- data/spec/models/collection_spec.rb +82 -0
- data/spec/models/collection_type_enum_spec.rb +28 -0
- data/spec/models/comment_request_spec.rb +12 -0
- data/spec/models/comment_spec.rb +6 -0
- data/spec/models/condition_schema_spec.rb +70 -0
- data/spec/models/condition_type_enum_spec.rb +28 -0
- data/spec/models/contact_spec.rb +6 -0
- data/spec/models/issue_spec.rb +6 -0
- data/spec/models/linked_account_condition_request_spec.rb +46 -0
- data/spec/models/linked_account_condition_spec.rb +64 -0
- data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
- data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
- data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
- data/spec/models/operator_schema_spec.rb +40 -0
- data/spec/models/paginated_collection_list_spec.rb +46 -0
- data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
- data/spec/models/patched_ticket_request_spec.rb +24 -0
- data/spec/models/project_spec.rb +6 -0
- data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
- data/spec/models/sync_status_spec.rb +6 -0
- data/spec/models/tag_spec.rb +6 -0
- data/spec/models/team_spec.rb +6 -0
- data/spec/models/ticket_request_spec.rb +24 -0
- data/spec/models/ticket_spec.rb +18 -0
- data/spec/models/user_spec.rb +6 -0
- metadata +132 -72
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 55a597270c8f26b79876c4effd7e51d849d6e38e217706ff306ce293b2a94071
|
|
4
|
+
data.tar.gz: 9ded608e558e60a4fc54eadcded0b359f92042fdc006ae7f12e54151fc82c2b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '03478ef967821ab8095a1c27cea32f4badb4a9c4d7cf95344b9b2238517de2886fd985c200037241a2b631f56fa15d42045b2450f8e31b0ae5d3ba16972f428f'
|
|
7
|
+
data.tar.gz: 5f2f801f3f12e6cb50b47c5b11217ce1550e67a84c393405459d7b893d4f246b5a75ad02e5f286040b229fd4550392da8327abf025c3b8ecf44f7e8572dea0fe
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ The unified API for building rich integrations with multiple Ticketing platforms
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 1.0
|
|
10
|
-
- Package version: 1.0.
|
|
10
|
+
- Package version: 1.0.2
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build merge_ticketing_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./merge_ticketing_client-1.0.
|
|
27
|
+
gem install ./merge_ticketing_client-1.0.2.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./merge_ticketing_client-1.0.
|
|
30
|
+
(for development, run `gem install --dev ./merge_ticketing_client-1.0.2.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'merge_ticketing_client', '~> 1.0.
|
|
36
|
+
gem 'merge_ticketing_client', '~> 1.0.2'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -92,6 +92,8 @@ Class | Method | HTTP request | Description
|
|
|
92
92
|
*MergeTicketingClient::AttachmentsApi* | [**attachments_meta_post_retrieve**](docs/AttachmentsApi.md#attachments_meta_post_retrieve) | **GET** /attachments/meta/post |
|
|
93
93
|
*MergeTicketingClient::AttachmentsApi* | [**attachments_retrieve**](docs/AttachmentsApi.md#attachments_retrieve) | **GET** /attachments/{id} |
|
|
94
94
|
*MergeTicketingClient::AvailableActionsApi* | [**available_actions_retrieve**](docs/AvailableActionsApi.md#available_actions_retrieve) | **GET** /available-actions |
|
|
95
|
+
*MergeTicketingClient::CollectionsApi* | [**collections_list**](docs/CollectionsApi.md#collections_list) | **GET** /collections |
|
|
96
|
+
*MergeTicketingClient::CollectionsApi* | [**collections_retrieve**](docs/CollectionsApi.md#collections_retrieve) | **GET** /collections/{id} |
|
|
95
97
|
*MergeTicketingClient::CommentsApi* | [**comments_create**](docs/CommentsApi.md#comments_create) | **POST** /comments |
|
|
96
98
|
*MergeTicketingClient::CommentsApi* | [**comments_list**](docs/CommentsApi.md#comments_list) | **GET** /comments |
|
|
97
99
|
*MergeTicketingClient::CommentsApi* | [**comments_meta_post_retrieve**](docs/CommentsApi.md#comments_meta_post_retrieve) | **GET** /comments/meta/post |
|
|
@@ -108,14 +110,17 @@ Class | Method | HTTP request | Description
|
|
|
108
110
|
*MergeTicketingClient::PassthroughApi* | [**passthrough_create**](docs/PassthroughApi.md#passthrough_create) | **POST** /passthrough |
|
|
109
111
|
*MergeTicketingClient::ProjectsApi* | [**projects_list**](docs/ProjectsApi.md#projects_list) | **GET** /projects |
|
|
110
112
|
*MergeTicketingClient::ProjectsApi* | [**projects_retrieve**](docs/ProjectsApi.md#projects_retrieve) | **GET** /projects/{id} |
|
|
111
|
-
*MergeTicketingClient::ProjectsApi* | [**projects_users_list**](docs/ProjectsApi.md#projects_users_list) | **GET** /projects/{
|
|
113
|
+
*MergeTicketingClient::ProjectsApi* | [**projects_users_list**](docs/ProjectsApi.md#projects_users_list) | **GET** /projects/{parent_id}/users |
|
|
112
114
|
*MergeTicketingClient::RegenerateKeyApi* | [**regenerate_key_create**](docs/RegenerateKeyApi.md#regenerate_key_create) | **POST** /regenerate-key |
|
|
115
|
+
*MergeTicketingClient::SelectiveSyncApi* | [**selective_sync_configurations_list**](docs/SelectiveSyncApi.md#selective_sync_configurations_list) | **GET** /selective-sync/configurations |
|
|
116
|
+
*MergeTicketingClient::SelectiveSyncApi* | [**selective_sync_configurations_update**](docs/SelectiveSyncApi.md#selective_sync_configurations_update) | **PUT** /selective-sync/configurations |
|
|
117
|
+
*MergeTicketingClient::SelectiveSyncApi* | [**selective_sync_meta_list**](docs/SelectiveSyncApi.md#selective_sync_meta_list) | **GET** /selective-sync/meta |
|
|
113
118
|
*MergeTicketingClient::SyncStatusApi* | [**sync_status_list**](docs/SyncStatusApi.md#sync_status_list) | **GET** /sync-status |
|
|
114
119
|
*MergeTicketingClient::TagsApi* | [**tags_list**](docs/TagsApi.md#tags_list) | **GET** /tags |
|
|
115
120
|
*MergeTicketingClient::TagsApi* | [**tags_retrieve**](docs/TagsApi.md#tags_retrieve) | **GET** /tags/{id} |
|
|
116
121
|
*MergeTicketingClient::TeamsApi* | [**teams_list**](docs/TeamsApi.md#teams_list) | **GET** /teams |
|
|
117
122
|
*MergeTicketingClient::TeamsApi* | [**teams_retrieve**](docs/TeamsApi.md#teams_retrieve) | **GET** /teams/{id} |
|
|
118
|
-
*MergeTicketingClient::TicketsApi* | [**tickets_collaborators_list**](docs/TicketsApi.md#tickets_collaborators_list) | **GET** /tickets/{
|
|
123
|
+
*MergeTicketingClient::TicketsApi* | [**tickets_collaborators_list**](docs/TicketsApi.md#tickets_collaborators_list) | **GET** /tickets/{parent_id}/collaborators |
|
|
119
124
|
*MergeTicketingClient::TicketsApi* | [**tickets_create**](docs/TicketsApi.md#tickets_create) | **POST** /tickets |
|
|
120
125
|
*MergeTicketingClient::TicketsApi* | [**tickets_list**](docs/TicketsApi.md#tickets_list) | **GET** /tickets |
|
|
121
126
|
*MergeTicketingClient::TicketsApi* | [**tickets_meta_patch_retrieve**](docs/TicketsApi.md#tickets_meta_patch_retrieve) | **GET** /tickets/meta/patch/{id} |
|
|
@@ -142,10 +147,14 @@ Class | Method | HTTP request | Description
|
|
|
142
147
|
- [MergeTicketingClient::AvailableActions](docs/AvailableActions.md)
|
|
143
148
|
- [MergeTicketingClient::CategoriesEnum](docs/CategoriesEnum.md)
|
|
144
149
|
- [MergeTicketingClient::CategoryEnum](docs/CategoryEnum.md)
|
|
150
|
+
- [MergeTicketingClient::Collection](docs/Collection.md)
|
|
151
|
+
- [MergeTicketingClient::CollectionTypeEnum](docs/CollectionTypeEnum.md)
|
|
145
152
|
- [MergeTicketingClient::Comment](docs/Comment.md)
|
|
146
153
|
- [MergeTicketingClient::CommentEndpointRequest](docs/CommentEndpointRequest.md)
|
|
147
154
|
- [MergeTicketingClient::CommentRequest](docs/CommentRequest.md)
|
|
148
155
|
- [MergeTicketingClient::CommentResponse](docs/CommentResponse.md)
|
|
156
|
+
- [MergeTicketingClient::ConditionSchema](docs/ConditionSchema.md)
|
|
157
|
+
- [MergeTicketingClient::ConditionTypeEnum](docs/ConditionTypeEnum.md)
|
|
149
158
|
- [MergeTicketingClient::Contact](docs/Contact.md)
|
|
150
159
|
- [MergeTicketingClient::DataPassthroughRequest](docs/DataPassthroughRequest.md)
|
|
151
160
|
- [MergeTicketingClient::DebugModeLog](docs/DebugModeLog.md)
|
|
@@ -157,15 +166,23 @@ Class | Method | HTTP request | Description
|
|
|
157
166
|
- [MergeTicketingClient::Issue](docs/Issue.md)
|
|
158
167
|
- [MergeTicketingClient::IssueStatusEnum](docs/IssueStatusEnum.md)
|
|
159
168
|
- [MergeTicketingClient::LinkToken](docs/LinkToken.md)
|
|
169
|
+
- [MergeTicketingClient::LinkedAccountCondition](docs/LinkedAccountCondition.md)
|
|
170
|
+
- [MergeTicketingClient::LinkedAccountConditionRequest](docs/LinkedAccountConditionRequest.md)
|
|
171
|
+
- [MergeTicketingClient::LinkedAccountSelectiveSyncConfiguration](docs/LinkedAccountSelectiveSyncConfiguration.md)
|
|
172
|
+
- [MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationListRequest](docs/LinkedAccountSelectiveSyncConfigurationListRequest.md)
|
|
173
|
+
- [MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationRequest](docs/LinkedAccountSelectiveSyncConfigurationRequest.md)
|
|
160
174
|
- [MergeTicketingClient::LinkedAccountStatus](docs/LinkedAccountStatus.md)
|
|
161
175
|
- [MergeTicketingClient::MetaResponse](docs/MetaResponse.md)
|
|
162
176
|
- [MergeTicketingClient::MethodEnum](docs/MethodEnum.md)
|
|
163
177
|
- [MergeTicketingClient::ModelOperation](docs/ModelOperation.md)
|
|
164
178
|
- [MergeTicketingClient::MultipartFormFieldRequest](docs/MultipartFormFieldRequest.md)
|
|
179
|
+
- [MergeTicketingClient::OperatorSchema](docs/OperatorSchema.md)
|
|
165
180
|
- [MergeTicketingClient::PaginatedAccountDetailsAndActionsList](docs/PaginatedAccountDetailsAndActionsList.md)
|
|
166
181
|
- [MergeTicketingClient::PaginatedAccountList](docs/PaginatedAccountList.md)
|
|
167
182
|
- [MergeTicketingClient::PaginatedAttachmentList](docs/PaginatedAttachmentList.md)
|
|
183
|
+
- [MergeTicketingClient::PaginatedCollectionList](docs/PaginatedCollectionList.md)
|
|
168
184
|
- [MergeTicketingClient::PaginatedCommentList](docs/PaginatedCommentList.md)
|
|
185
|
+
- [MergeTicketingClient::PaginatedConditionSchemaList](docs/PaginatedConditionSchemaList.md)
|
|
169
186
|
- [MergeTicketingClient::PaginatedContactList](docs/PaginatedContactList.md)
|
|
170
187
|
- [MergeTicketingClient::PaginatedIssueList](docs/PaginatedIssueList.md)
|
|
171
188
|
- [MergeTicketingClient::PaginatedProjectList](docs/PaginatedProjectList.md)
|
|
@@ -184,6 +201,7 @@ Class | Method | HTTP request | Description
|
|
|
184
201
|
- [MergeTicketingClient::RemoteResponse](docs/RemoteResponse.md)
|
|
185
202
|
- [MergeTicketingClient::RequestFormatEnum](docs/RequestFormatEnum.md)
|
|
186
203
|
- [MergeTicketingClient::ResponseTypeEnum](docs/ResponseTypeEnum.md)
|
|
204
|
+
- [MergeTicketingClient::SelectiveSyncConfigurationsUsageEnum](docs/SelectiveSyncConfigurationsUsageEnum.md)
|
|
187
205
|
- [MergeTicketingClient::SyncStatus](docs/SyncStatus.md)
|
|
188
206
|
- [MergeTicketingClient::SyncStatusStatusEnum](docs/SyncStatusStatusEnum.md)
|
|
189
207
|
- [MergeTicketingClient::Tag](docs/Tag.md)
|
data/docs/Account.md
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **domains** | **Array<String>** | The account's domain names. | [optional] |
|
|
11
11
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
|
12
12
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
|
|
13
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
|
13
14
|
|
|
14
15
|
## Example
|
|
15
16
|
|
|
@@ -22,7 +23,8 @@ instance = MergeTicketingClient::Account.new(
|
|
|
22
23
|
name: Waystar Royco,
|
|
23
24
|
domains: ["waystar-royco.com","royco.com"],
|
|
24
25
|
remote_data: null,
|
|
25
|
-
remote_was_deleted: null
|
|
26
|
+
remote_was_deleted: null,
|
|
27
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
|
26
28
|
)
|
|
27
29
|
```
|
|
28
30
|
|
data/docs/AccountIntegration.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | Company name. | |
|
|
8
|
-
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | Category or categories this integration belongs to. Multiple categories should be comma separated
|
|
8
|
+
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. | [optional] |
|
|
9
9
|
| **image** | **String** | Company logo in rectangular shape. <b>Upload an image with a clear background.</b> | [optional] |
|
|
10
10
|
| **square_image** | **String** | Company logo in square shape. <b>Upload an image with a white background.</b> | [optional] |
|
|
11
11
|
| **color** | **String** | The color of this integration used for buttons and text throughout the app and landing pages. <b>Choose a darker, saturated color.</b> | [optional] |
|
data/docs/Attachment.md
CHANGED
|
@@ -7,13 +7,14 @@
|
|
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
|
9
9
|
| **file_name** | **String** | The attachment's name. | [optional] |
|
|
10
|
-
| **ticket** | **String** |
|
|
10
|
+
| **ticket** | **String** | The ticket associated with the attachment. | [optional] |
|
|
11
11
|
| **file_url** | **String** | The attachment's url. | [optional] |
|
|
12
12
|
| **content_type** | **String** | The attachment's file format. | [optional] |
|
|
13
|
-
| **uploaded_by** | **String** |
|
|
13
|
+
| **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
|
|
14
14
|
| **remote_created_at** | **Time** | When the third party's attachment was created. | [optional] |
|
|
15
15
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
|
16
16
|
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
|
17
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
|
17
18
|
|
|
18
19
|
## Example
|
|
19
20
|
|
|
@@ -30,7 +31,8 @@ instance = MergeTicketingClient::Attachment.new(
|
|
|
30
31
|
uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68,
|
|
31
32
|
remote_created_at: 2022-11-10T00:00Z,
|
|
32
33
|
remote_data: null,
|
|
33
|
-
remote_was_deleted: null
|
|
34
|
+
remote_was_deleted: null,
|
|
35
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
|
34
36
|
)
|
|
35
37
|
```
|
|
36
38
|
|
data/docs/AttachmentRequest.md
CHANGED
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
|
8
8
|
| **file_name** | **String** | The attachment's name. | [optional] |
|
|
9
|
-
| **ticket** | **String** |
|
|
9
|
+
| **ticket** | **String** | The ticket associated with the attachment. | [optional] |
|
|
10
10
|
| **file_url** | **String** | The attachment's url. | [optional] |
|
|
11
11
|
| **content_type** | **String** | The attachment's file format. | [optional] |
|
|
12
|
-
| **uploaded_by** | **String** |
|
|
12
|
+
| **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
|
|
13
13
|
| **remote_created_at** | **Time** | When the third party's attachment was created. | [optional] |
|
|
14
|
+
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
|
15
|
+
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
|
14
16
|
|
|
15
17
|
## Example
|
|
16
18
|
|
|
@@ -24,7 +26,9 @@ instance = MergeTicketingClient::AttachmentRequest.new(
|
|
|
24
26
|
file_url: http://alturl.com/p749b,
|
|
25
27
|
content_type: jpeg,
|
|
26
28
|
uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68,
|
|
27
|
-
remote_created_at: 2022-11-10T00:00Z
|
|
29
|
+
remote_created_at: 2022-11-10T00:00Z,
|
|
30
|
+
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
|
31
|
+
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
|
28
32
|
)
|
|
29
33
|
```
|
|
30
34
|
|
data/docs/Collection.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# MergeTicketingClient::Collection
|
|
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
|
+
| **name** | **String** | The collection's name. | [optional] |
|
|
10
|
+
| **description** | **String** | The collection's description. | [optional] |
|
|
11
|
+
| **collection_type** | [**CollectionTypeEnum**](CollectionTypeEnum.md) | The collection's type. | [optional] |
|
|
12
|
+
| **parent_collection** | **String** | The parent collection for this collection. | [optional] |
|
|
13
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
|
14
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
|
|
15
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```ruby
|
|
20
|
+
require 'merge_ticketing_client'
|
|
21
|
+
|
|
22
|
+
instance = MergeTicketingClient::Collection.new(
|
|
23
|
+
id: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
|
|
24
|
+
remote_id: 19202938,
|
|
25
|
+
name: Q1 Platform,
|
|
26
|
+
description: For tracking all tasks related to Platform for Q1,
|
|
27
|
+
collection_type: LIST,
|
|
28
|
+
parent_collection: 25782302-5be1-4d78-8f46-2a5db72204ef,
|
|
29
|
+
remote_data: null,
|
|
30
|
+
remote_was_deleted: null,
|
|
31
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
|
32
|
+
)
|
|
33
|
+
```
|
|
34
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# MergeTicketingClient::CollectionTypeEnum
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'merge_ticketing_client'
|
|
12
|
+
|
|
13
|
+
instance = MergeTicketingClient::CollectionTypeEnum.new()
|
|
14
|
+
```
|
|
15
|
+
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
# MergeTicketingClient::CollectionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.merge.dev/api/ticketing/v1*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**collections_list**](CollectionsApi.md#collections_list) | **GET** /collections | |
|
|
8
|
+
| [**collections_retrieve**](CollectionsApi.md#collections_retrieve) | **GET** /collections/{id} | |
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## collections_list
|
|
12
|
+
|
|
13
|
+
> <PaginatedCollectionList> collections_list(x_account_token, opts)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Returns a list of `Collection` objects.
|
|
18
|
+
|
|
19
|
+
### Examples
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
require 'time'
|
|
23
|
+
require 'merge_ticketing_client'
|
|
24
|
+
# setup authorization
|
|
25
|
+
MergeTicketingClient.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 = MergeTicketingClient::CollectionsApi.new
|
|
33
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
|
34
|
+
opts = {
|
|
35
|
+
collection_type: 'LIST', # String | If provided, will only return collections of the given type.
|
|
36
|
+
created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created after this datetime.
|
|
37
|
+
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
|
38
|
+
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
|
39
|
+
expand: 'parent_collection', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
40
|
+
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
|
41
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
42
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
|
|
43
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
|
|
44
|
+
page_size: 56, # Integer | Number of results to return per page.
|
|
45
|
+
parent_collection_id: 'parent_collection_id_example', # String | If provided, will only return collections whose parent collection matches the given id.
|
|
46
|
+
remote_fields: 'collection_type', # String | Deprecated. Use show_enum_origins.
|
|
47
|
+
remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
|
|
48
|
+
show_enum_origins: 'collection_type' # String | Which fields should be returned in non-normalized form.
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
begin
|
|
52
|
+
|
|
53
|
+
result = api_instance.collections_list(x_account_token, opts)
|
|
54
|
+
p result
|
|
55
|
+
rescue MergeTicketingClient::ApiError => e
|
|
56
|
+
puts "Error when calling CollectionsApi->collections_list: #{e}"
|
|
57
|
+
end
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
#### Using the collections_list_with_http_info variant
|
|
61
|
+
|
|
62
|
+
This returns an Array which contains the response data, status code and headers.
|
|
63
|
+
|
|
64
|
+
> <Array(<PaginatedCollectionList>, Integer, Hash)> collections_list_with_http_info(x_account_token, opts)
|
|
65
|
+
|
|
66
|
+
```ruby
|
|
67
|
+
begin
|
|
68
|
+
|
|
69
|
+
data, status_code, headers = api_instance.collections_list_with_http_info(x_account_token, opts)
|
|
70
|
+
p status_code # => 2xx
|
|
71
|
+
p headers # => { ... }
|
|
72
|
+
p data # => <PaginatedCollectionList>
|
|
73
|
+
rescue MergeTicketingClient::ApiError => e
|
|
74
|
+
puts "Error when calling CollectionsApi->collections_list_with_http_info: #{e}"
|
|
75
|
+
end
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Parameters
|
|
79
|
+
|
|
80
|
+
| Name | Type | Description | Notes |
|
|
81
|
+
| ---- | ---- | ----------- | ----- |
|
|
82
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
|
83
|
+
| **collection_type** | **String** | If provided, will only return collections of the given type. | [optional] |
|
|
84
|
+
| **created_after** | **Time** | If provided, will only return objects created after this datetime. | [optional] |
|
|
85
|
+
| **created_before** | **Time** | If provided, will only return objects created before this datetime. | [optional] |
|
|
86
|
+
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
|
87
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
|
88
|
+
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
|
89
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
|
90
|
+
| **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
|
|
91
|
+
| **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
|
|
92
|
+
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
|
93
|
+
| **parent_collection_id** | **String** | If provided, will only return collections whose parent collection matches the given id. | [optional] |
|
|
94
|
+
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
|
95
|
+
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
|
96
|
+
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
[**PaginatedCollectionList**](PaginatedCollectionList.md)
|
|
101
|
+
|
|
102
|
+
### Authorization
|
|
103
|
+
|
|
104
|
+
[tokenAuth](../README.md#tokenAuth)
|
|
105
|
+
|
|
106
|
+
### HTTP request headers
|
|
107
|
+
|
|
108
|
+
- **Content-Type**: Not defined
|
|
109
|
+
- **Accept**: application/json
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
## collections_retrieve
|
|
113
|
+
|
|
114
|
+
> <Collection> collections_retrieve(x_account_token, id, opts)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
Returns a `Collection` object with the given `id`.
|
|
119
|
+
|
|
120
|
+
### Examples
|
|
121
|
+
|
|
122
|
+
```ruby
|
|
123
|
+
require 'time'
|
|
124
|
+
require 'merge_ticketing_client'
|
|
125
|
+
# setup authorization
|
|
126
|
+
MergeTicketingClient.configure do |config|
|
|
127
|
+
# Configure API key authorization: tokenAuth
|
|
128
|
+
config.api_key['tokenAuth'] = 'YOUR API KEY'
|
|
129
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
130
|
+
# config.api_key_prefix['tokenAuth'] = 'Bearer'
|
|
131
|
+
end
|
|
132
|
+
|
|
133
|
+
api_instance = MergeTicketingClient::CollectionsApi.new
|
|
134
|
+
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
|
135
|
+
id = TODO # String |
|
|
136
|
+
opts = {
|
|
137
|
+
expand: 'parent_collection', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
|
138
|
+
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
|
139
|
+
remote_fields: 'collection_type', # String | Deprecated. Use show_enum_origins.
|
|
140
|
+
show_enum_origins: 'collection_type' # String | Which fields should be returned in non-normalized form.
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
begin
|
|
144
|
+
|
|
145
|
+
result = api_instance.collections_retrieve(x_account_token, id, opts)
|
|
146
|
+
p result
|
|
147
|
+
rescue MergeTicketingClient::ApiError => e
|
|
148
|
+
puts "Error when calling CollectionsApi->collections_retrieve: #{e}"
|
|
149
|
+
end
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
#### Using the collections_retrieve_with_http_info variant
|
|
153
|
+
|
|
154
|
+
This returns an Array which contains the response data, status code and headers.
|
|
155
|
+
|
|
156
|
+
> <Array(<Collection>, Integer, Hash)> collections_retrieve_with_http_info(x_account_token, id, opts)
|
|
157
|
+
|
|
158
|
+
```ruby
|
|
159
|
+
begin
|
|
160
|
+
|
|
161
|
+
data, status_code, headers = api_instance.collections_retrieve_with_http_info(x_account_token, id, opts)
|
|
162
|
+
p status_code # => 2xx
|
|
163
|
+
p headers # => { ... }
|
|
164
|
+
p data # => <Collection>
|
|
165
|
+
rescue MergeTicketingClient::ApiError => e
|
|
166
|
+
puts "Error when calling CollectionsApi->collections_retrieve_with_http_info: #{e}"
|
|
167
|
+
end
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
### Parameters
|
|
171
|
+
|
|
172
|
+
| Name | Type | Description | Notes |
|
|
173
|
+
| ---- | ---- | ----------- | ----- |
|
|
174
|
+
| **x_account_token** | **String** | Token identifying the end user. | |
|
|
175
|
+
| **id** | [**String**](.md) | | |
|
|
176
|
+
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
|
177
|
+
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
|
178
|
+
| **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
|
|
179
|
+
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
|
180
|
+
|
|
181
|
+
### Return type
|
|
182
|
+
|
|
183
|
+
[**Collection**](Collection.md)
|
|
184
|
+
|
|
185
|
+
### Authorization
|
|
186
|
+
|
|
187
|
+
[tokenAuth](../README.md#tokenAuth)
|
|
188
|
+
|
|
189
|
+
### HTTP request headers
|
|
190
|
+
|
|
191
|
+
- **Content-Type**: Not defined
|
|
192
|
+
- **Accept**: application/json
|
|
193
|
+
|
data/docs/Comment.md
CHANGED
|
@@ -6,15 +6,16 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **id** | **String** | | [optional][readonly] |
|
|
8
8
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
|
9
|
-
| **user** | **String** |
|
|
10
|
-
| **contact** | **String** |
|
|
9
|
+
| **user** | **String** | The author of the Comment, if the author is a User. | [optional] |
|
|
10
|
+
| **contact** | **String** | The author of the Comment, if the author is a Contact. | [optional] |
|
|
11
11
|
| **body** | **String** | The comment's text body. | [optional] |
|
|
12
12
|
| **html_body** | **String** | The comment's text body formatted as html. | [optional] |
|
|
13
|
-
| **ticket** | **String** | | [optional] |
|
|
13
|
+
| **ticket** | **String** | The ticket associated with the comment. | [optional] |
|
|
14
14
|
| **is_private** | **Boolean** | Whether or not the comment is internal. | [optional] |
|
|
15
15
|
| **remote_created_at** | **Time** | When the third party's comment was created. | [optional] |
|
|
16
16
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
|
17
17
|
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
|
18
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
|
18
19
|
|
|
19
20
|
## Example
|
|
20
21
|
|
|
@@ -32,7 +33,8 @@ instance = MergeTicketingClient::Comment.new(
|
|
|
32
33
|
is_private: null,
|
|
33
34
|
remote_created_at: 1990-11-10T00:00Z,
|
|
34
35
|
remote_data: null,
|
|
35
|
-
remote_was_deleted: null
|
|
36
|
+
remote_was_deleted: null,
|
|
37
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
|
36
38
|
)
|
|
37
39
|
```
|
|
38
40
|
|
data/docs/CommentRequest.md
CHANGED
|
@@ -5,13 +5,15 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
|
8
|
-
| **user** | **String** |
|
|
9
|
-
| **contact** | **String** |
|
|
8
|
+
| **user** | **String** | The author of the Comment, if the author is a User. | [optional] |
|
|
9
|
+
| **contact** | **String** | The author of the Comment, if the author is a Contact. | [optional] |
|
|
10
10
|
| **body** | **String** | The comment's text body. | [optional] |
|
|
11
11
|
| **html_body** | **String** | The comment's text body formatted as html. | [optional] |
|
|
12
|
-
| **ticket** | **String** | | [optional] |
|
|
12
|
+
| **ticket** | **String** | The ticket associated with the comment. | [optional] |
|
|
13
13
|
| **is_private** | **Boolean** | Whether or not the comment is internal. | [optional] |
|
|
14
14
|
| **remote_created_at** | **Time** | When the third party's comment was created. | [optional] |
|
|
15
|
+
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
|
16
|
+
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
|
15
17
|
|
|
16
18
|
## Example
|
|
17
19
|
|
|
@@ -26,7 +28,9 @@ instance = MergeTicketingClient::CommentRequest.new(
|
|
|
26
28
|
html_body: When will these integrations be done? You all should use <b>Merge<b>.,
|
|
27
29
|
ticket: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
|
|
28
30
|
is_private: null,
|
|
29
|
-
remote_created_at: 1990-11-10T00:00Z
|
|
31
|
+
remote_created_at: 1990-11-10T00:00Z,
|
|
32
|
+
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
|
33
|
+
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
|
30
34
|
)
|
|
31
35
|
```
|
|
32
36
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# MergeTicketingClient::ConditionSchema
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | The ID of the condition schema. This ID is used when updating selective syncs for a linked account. | |
|
|
8
|
+
| **common_model** | **String** | The common model for which a condition schema is defined. | [optional][readonly] |
|
|
9
|
+
| **native_name** | **String** | User-facing *native condition* name. e.g. \"Skip Manager\". | |
|
|
10
|
+
| **field_name** | **String** | The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. \"location_type\". | |
|
|
11
|
+
| **is_unique** | **Boolean** | Whether this condition can only be applied once. If false, the condition can be AND'd together multiple times. | [optional] |
|
|
12
|
+
| **condition_type** | [**ConditionTypeEnum**](ConditionTypeEnum.md) | | |
|
|
13
|
+
| **operators** | [**Array<OperatorSchema>**](OperatorSchema.md) | The schemas for the operators that can be used on a condition. | |
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```ruby
|
|
18
|
+
require 'merge_ticketing_client'
|
|
19
|
+
|
|
20
|
+
instance = MergeTicketingClient::ConditionSchema.new(
|
|
21
|
+
id: null,
|
|
22
|
+
common_model: null,
|
|
23
|
+
native_name: null,
|
|
24
|
+
field_name: null,
|
|
25
|
+
is_unique: null,
|
|
26
|
+
condition_type: null,
|
|
27
|
+
operators: null
|
|
28
|
+
)
|
|
29
|
+
```
|
|
30
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# MergeTicketingClient::ConditionTypeEnum
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
```ruby
|
|
11
|
+
require 'merge_ticketing_client'
|
|
12
|
+
|
|
13
|
+
instance = MergeTicketingClient::ConditionTypeEnum.new()
|
|
14
|
+
```
|
|
15
|
+
|
data/docs/Contact.md
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
| **account** | **String** | The contact's account. | [optional] |
|
|
14
14
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
|
15
15
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
|
16
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -28,7 +29,8 @@ instance = MergeTicketingClient::Contact.new(
|
|
|
28
29
|
details: Executive Assistant to Tom Wambsgans,
|
|
29
30
|
account: 28b54125-287f-494d-965e-3c5b330c9a68,
|
|
30
31
|
remote_data: null,
|
|
31
|
-
remote_was_deleted: null
|
|
32
|
+
remote_was_deleted: null,
|
|
33
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
|
32
34
|
)
|
|
33
35
|
```
|
|
34
36
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
| **multipart_form_data** | [**Array<MultipartFormFieldRequest>**](MultipartFormFieldRequest.md) | Pass an array of `MultipartFormField` objects in here instead of using the `data` param if `request_format` is set to `MULTIPART`. | [optional] |
|
|
12
12
|
| **headers** | [**Hash<String, AnyType>**](AnyType.md) | The headers to use for the request (Merge will handle the account's authorization headers). `Content-Type` header is required for passthrough. Choose content type corresponding to expected format of receiving server. | [optional] |
|
|
13
13
|
| **request_format** | [**RequestFormatEnum**](RequestFormatEnum.md) | | [optional] |
|
|
14
|
-
| **normalize_response** | **Boolean** |
|
|
14
|
+
| **normalize_response** | **Boolean** | Optional. If true, the response will always be an object of the form `{\"type\": T, \"value\": ...}` where `T` will be one of `string, boolean, number, null, array, object`. | [optional] |
|
|
15
15
|
|
|
16
16
|
## Example
|
|
17
17
|
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **end_user_email_address** | **String** | Your end user's email address. | |
|
|
7
|
+
| **end_user_email_address** | **String** | Your end user's email address. This is purely for identification purposes - setting this value will not cause any emails to be sent. | |
|
|
8
8
|
| **end_user_organization_name** | **String** | Your end user's organization. | |
|
|
9
|
-
| **end_user_origin_id** | **String** |
|
|
9
|
+
| **end_user_origin_id** | **String** | This unique identifier typically represents the ID for your end user in your product's database. This value must be distinct from other Linked Accounts' unique identifiers. | |
|
|
10
10
|
| **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | The integration categories to show in Merge Link. | |
|
|
11
11
|
| **integration** | **String** | The slug of a specific pre-selected integration for this linking flow token. For examples of slugs, see https://www.merge.dev/docs/basics/integration-metadata/. | [optional] |
|
|
12
12
|
| **link_expiry_mins** | **Integer** | An integer number of minutes between [30, 720 or 10080 if for a Magic Link URL] for how long this token is valid. Defaults to 30. | [optional][default to 30] |
|
data/docs/Issue.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
| **first_incident_time** | **Time** | | [optional] |
|
|
12
12
|
| **last_incident_time** | **Time** | | [optional] |
|
|
13
13
|
| **is_muted** | **Boolean** | | [optional][readonly] |
|
|
14
|
+
| **error_details** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -18,13 +19,14 @@
|
|
|
18
19
|
require 'merge_ticketing_client'
|
|
19
20
|
|
|
20
21
|
instance = MergeTicketingClient::Issue.new(
|
|
21
|
-
id:
|
|
22
|
-
status:
|
|
23
|
-
error_description:
|
|
24
|
-
end_user:
|
|
25
|
-
first_incident_time:
|
|
26
|
-
last_incident_time:
|
|
27
|
-
is_muted:
|
|
22
|
+
id: 3fa85f64-5717-4562-b3fc-2c963f66afa6,
|
|
23
|
+
status: ONGOING,
|
|
24
|
+
error_description: string,
|
|
25
|
+
end_user: b82302de-852e-4e60-b050-edf9da3b7c02,
|
|
26
|
+
first_incident_time: 2022-12-05T16:19:15.161Z,
|
|
27
|
+
last_incident_time: 2022-12-05T16:19:15.161Z,
|
|
28
|
+
is_muted: true,
|
|
29
|
+
error_details: ["Missing employee permissions.","Missing time off permissions."]
|
|
28
30
|
)
|
|
29
31
|
```
|
|
30
32
|
|
data/docs/LinkToken.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **link_token** | **String** | | |
|
|
8
|
-
| **integration_name** | **String** | |
|
|
8
|
+
| **integration_name** | **String** | | [optional] |
|
|
9
9
|
| **magic_link_url** | **String** | | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|