merge_ticketing_client 1.0.2 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -9
- data/docs/Account.md +9 -10
- data/docs/Attachment.md +13 -14
- data/docs/AttachmentRequest.md +9 -14
- data/docs/Collection.md +11 -12
- data/docs/Comment.md +14 -15
- data/docs/CommentRequest.md +10 -15
- data/docs/Contact.md +12 -13
- data/docs/DataPassthroughRequest.md +10 -11
- data/docs/FieldFormatEnum.md +15 -0
- data/docs/FieldTypeEnum.md +15 -0
- data/docs/Issue.md +10 -11
- data/docs/LinkedAccountCondition.md +8 -9
- data/docs/LinkedAccountConditionRequest.md +5 -6
- data/docs/MetaResponse.md +6 -7
- data/docs/PaginatedRemoteFieldClassList.md +22 -0
- data/docs/PatchedTicketRequest.md +20 -25
- data/docs/Project.md +9 -10
- data/docs/RemoteData.md +4 -5
- data/docs/RemoteField.md +19 -0
- data/docs/RemoteFieldClass.md +38 -0
- data/docs/RemoteFieldClassItemSchema.md +22 -0
- data/docs/RemoteResponse.md +9 -10
- data/docs/SyncStatusApi.md +4 -10
- data/docs/Tag.md +7 -8
- data/docs/Team.md +9 -10
- data/docs/Ticket.md +29 -28
- data/docs/TicketRequest.md +21 -28
- data/docs/TicketsApi.md +88 -0
- data/docs/User.md +12 -13
- data/lib/merge_ticketing_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ticketing_client/api/tickets_api.rb +83 -0
- data/lib/merge_ticketing_client/models/attachment_request.rb +1 -23
- data/lib/merge_ticketing_client/models/categories_enum.rb +2 -1
- data/lib/merge_ticketing_client/models/category_enum.rb +2 -1
- data/lib/merge_ticketing_client/models/comment_request.rb +1 -23
- data/lib/merge_ticketing_client/models/field_format_enum.rb +49 -0
- data/lib/merge_ticketing_client/models/field_type_enum.rb +49 -0
- data/lib/merge_ticketing_client/models/paginated_remote_field_class_list.rb +240 -0
- data/lib/merge_ticketing_client/models/patched_ticket_request.rb +1 -23
- data/lib/merge_ticketing_client/models/remote_data.rb +9 -7
- data/lib/merge_ticketing_client/models/remote_field.rb +231 -0
- data/lib/merge_ticketing_client/models/remote_field_class.rb +318 -0
- data/lib/merge_ticketing_client/models/remote_field_class_item_schema.rb +241 -0
- data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_ticketing_client/models/ticket.rb +16 -5
- data/lib/merge_ticketing_client/models/ticket_request.rb +1 -34
- data/lib/merge_ticketing_client/version.rb +1 -1
- data/lib/merge_ticketing_client.rb +6 -0
- data/spec/api/sync_status_api_spec.rb +1 -1
- metadata +102 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eac02fa0dcdc6e8fad65dc98871288671524d58c81dc842ffc41a7063671c304
|
4
|
+
data.tar.gz: 39982571b7bb1f90b7d0b2ffd9c94cf3064c83fa6d89c52c6343ee25353aa3ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f527b230e99299955a2055cbee3a305a0e2a0a20958e8b6a4fc3ee9af755bd104eff55d9aba7f243a7d17e58b272fa8c93d07083152ac062e84ccf55411c4f90
|
7
|
+
data.tar.gz: 90f698bb396166b1f31b30e66b44e0ff44505cf8727174bc625c06b4f65249fad665eda43e1180596b7a059f8bc86e1837581095b0d74a411b651896f9199c67
|
data/README.md
CHANGED
@@ -7,9 +7,9 @@ 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.4
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
-
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
12
|
+
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
@@ -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.4.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.4.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.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -126,6 +126,7 @@ Class | Method | HTTP request | Description
|
|
126
126
|
*MergeTicketingClient::TicketsApi* | [**tickets_meta_patch_retrieve**](docs/TicketsApi.md#tickets_meta_patch_retrieve) | **GET** /tickets/meta/patch/{id} |
|
127
127
|
*MergeTicketingClient::TicketsApi* | [**tickets_meta_post_retrieve**](docs/TicketsApi.md#tickets_meta_post_retrieve) | **GET** /tickets/meta/post |
|
128
128
|
*MergeTicketingClient::TicketsApi* | [**tickets_partial_update**](docs/TicketsApi.md#tickets_partial_update) | **PATCH** /tickets/{id} |
|
129
|
+
*MergeTicketingClient::TicketsApi* | [**tickets_remote_field_classes_list**](docs/TicketsApi.md#tickets_remote_field_classes_list) | **GET** /tickets/remote-field-classes |
|
129
130
|
*MergeTicketingClient::TicketsApi* | [**tickets_retrieve**](docs/TicketsApi.md#tickets_retrieve) | **GET** /tickets/{id} |
|
130
131
|
*MergeTicketingClient::UsersApi* | [**users_list**](docs/UsersApi.md#users_list) | **GET** /users |
|
131
132
|
*MergeTicketingClient::UsersApi* | [**users_retrieve**](docs/UsersApi.md#users_retrieve) | **GET** /users/{id} |
|
@@ -162,6 +163,8 @@ Class | Method | HTTP request | Description
|
|
162
163
|
- [MergeTicketingClient::EncodingEnum](docs/EncodingEnum.md)
|
163
164
|
- [MergeTicketingClient::EndUserDetailsRequest](docs/EndUserDetailsRequest.md)
|
164
165
|
- [MergeTicketingClient::ErrorValidationProblem](docs/ErrorValidationProblem.md)
|
166
|
+
- [MergeTicketingClient::FieldFormatEnum](docs/FieldFormatEnum.md)
|
167
|
+
- [MergeTicketingClient::FieldTypeEnum](docs/FieldTypeEnum.md)
|
165
168
|
- [MergeTicketingClient::GenerateRemoteKeyRequest](docs/GenerateRemoteKeyRequest.md)
|
166
169
|
- [MergeTicketingClient::Issue](docs/Issue.md)
|
167
170
|
- [MergeTicketingClient::IssueStatusEnum](docs/IssueStatusEnum.md)
|
@@ -186,6 +189,7 @@ Class | Method | HTTP request | Description
|
|
186
189
|
- [MergeTicketingClient::PaginatedContactList](docs/PaginatedContactList.md)
|
187
190
|
- [MergeTicketingClient::PaginatedIssueList](docs/PaginatedIssueList.md)
|
188
191
|
- [MergeTicketingClient::PaginatedProjectList](docs/PaginatedProjectList.md)
|
192
|
+
- [MergeTicketingClient::PaginatedRemoteFieldClassList](docs/PaginatedRemoteFieldClassList.md)
|
189
193
|
- [MergeTicketingClient::PaginatedSyncStatusList](docs/PaginatedSyncStatusList.md)
|
190
194
|
- [MergeTicketingClient::PaginatedTagList](docs/PaginatedTagList.md)
|
191
195
|
- [MergeTicketingClient::PaginatedTeamList](docs/PaginatedTeamList.md)
|
@@ -196,6 +200,9 @@ Class | Method | HTTP request | Description
|
|
196
200
|
- [MergeTicketingClient::PriorityEnum](docs/PriorityEnum.md)
|
197
201
|
- [MergeTicketingClient::Project](docs/Project.md)
|
198
202
|
- [MergeTicketingClient::RemoteData](docs/RemoteData.md)
|
203
|
+
- [MergeTicketingClient::RemoteField](docs/RemoteField.md)
|
204
|
+
- [MergeTicketingClient::RemoteFieldClass](docs/RemoteFieldClass.md)
|
205
|
+
- [MergeTicketingClient::RemoteFieldClassItemSchema](docs/RemoteFieldClassItemSchema.md)
|
199
206
|
- [MergeTicketingClient::RemoteKey](docs/RemoteKey.md)
|
200
207
|
- [MergeTicketingClient::RemoteKeyForRegenerationRequest](docs/RemoteKeyForRegenerationRequest.md)
|
201
208
|
- [MergeTicketingClient::RemoteResponse](docs/RemoteResponse.md)
|
@@ -219,14 +226,10 @@ Class | Method | HTTP request | Description
|
|
219
226
|
- [MergeTicketingClient::WebhookReceiver](docs/WebhookReceiver.md)
|
220
227
|
- [MergeTicketingClient::WebhookReceiverRequest](docs/WebhookReceiverRequest.md)
|
221
228
|
|
222
|
-
|
223
229
|
## Documentation for Authorization
|
224
230
|
|
225
|
-
|
226
231
|
### tokenAuth
|
227
232
|
|
228
|
-
|
229
233
|
- **Type**: API key
|
230
234
|
- **API key parameter name**: Authorization
|
231
235
|
- **Location**: HTTP header
|
232
|
-
|
data/docs/Account.md
CHANGED
@@ -2,15 +2,15 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **name**
|
10
|
-
| **domains**
|
11
|
-
| **remote_data**
|
12
|
-
| **remote_was_deleted** | **Boolean**
|
13
|
-
| **field_mappings**
|
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 account's name. | [optional] |
|
10
|
+
| **domains** | **Array<String>** | The account's domain names. | [optional] |
|
11
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
12
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
|
13
|
+
| **field_mappings** | [**Hash<String, Object>**](Object.md) | | [optional][readonly] |
|
14
14
|
|
15
15
|
## Example
|
16
16
|
|
@@ -27,4 +27,3 @@ instance = MergeTicketingClient::Account.new(
|
|
27
27
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
28
28
|
)
|
29
29
|
```
|
30
|
-
|
data/docs/Attachment.md
CHANGED
@@ -2,19 +2,19 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **file_name**
|
10
|
-
| **ticket**
|
11
|
-
| **file_url**
|
12
|
-
| **content_type**
|
13
|
-
| **uploaded_by**
|
14
|
-
| **remote_created_at**
|
15
|
-
| **remote_data**
|
16
|
-
| **remote_was_deleted** | **Boolean**
|
17
|
-
| **field_mappings**
|
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
|
+
| **file_name** | **String** | The attachment's name. | [optional] |
|
10
|
+
| **ticket** | **String** | The ticket associated with the attachment. | [optional] |
|
11
|
+
| **file_url** | **String** | The attachment's url. | [optional] |
|
12
|
+
| **content_type** | **String** | The attachment's file format. | [optional] |
|
13
|
+
| **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
|
14
|
+
| **remote_created_at** | **Time** | When the third party's attachment was created. | [optional] |
|
15
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
16
|
+
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
17
|
+
| **field_mappings** | [**Hash<String, Object>**](Object.md) | | [optional][readonly] |
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
@@ -35,4 +35,3 @@ instance = MergeTicketingClient::Attachment.new(
|
|
35
35
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
36
36
|
)
|
37
37
|
```
|
38
|
-
|
data/docs/AttachmentRequest.md
CHANGED
@@ -2,17 +2,15 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
15
|
-
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ------------------------- | ------------------------------------------- | ------------------------------------------ | ---------- |
|
7
|
+
| **file_name** | **String** | The attachment's name. | [optional] |
|
8
|
+
| **ticket** | **String** | The ticket associated with the attachment. | [optional] |
|
9
|
+
| **file_url** | **String** | The attachment's url. | [optional] |
|
10
|
+
| **content_type** | **String** | The attachment's file format. | [optional] |
|
11
|
+
| **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
|
12
|
+
| **integration_params** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
13
|
+
| **linked_account_params** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
16
14
|
|
17
15
|
## Example
|
18
16
|
|
@@ -20,15 +18,12 @@
|
|
20
18
|
require 'merge_ticketing_client'
|
21
19
|
|
22
20
|
instance = MergeTicketingClient::AttachmentRequest.new(
|
23
|
-
remote_id: 19202938,
|
24
21
|
file_name: Screenshot.png,
|
25
22
|
ticket: 0958cbc6-6040-430a-848e-aafacbadf4ae,
|
26
23
|
file_url: http://alturl.com/p749b,
|
27
24
|
content_type: jpeg,
|
28
25
|
uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68,
|
29
|
-
remote_created_at: 2022-11-10T00:00Z,
|
30
26
|
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
31
27
|
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
32
28
|
)
|
33
29
|
```
|
34
|
-
|
data/docs/Collection.md
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **name**
|
10
|
-
| **description**
|
11
|
-
| **collection_type**
|
12
|
-
| **parent_collection**
|
13
|
-
| **remote_data**
|
14
|
-
| **remote_was_deleted** | **Boolean**
|
15
|
-
| **field_mappings**
|
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, Object>**](Object.md) | | [optional][readonly] |
|
16
16
|
|
17
17
|
## Example
|
18
18
|
|
@@ -31,4 +31,3 @@ instance = MergeTicketingClient::Collection.new(
|
|
31
31
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
32
32
|
)
|
33
33
|
```
|
34
|
-
|
data/docs/Comment.md
CHANGED
@@ -2,20 +2,20 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **user**
|
10
|
-
| **contact**
|
11
|
-
| **body**
|
12
|
-
| **html_body**
|
13
|
-
| **ticket**
|
14
|
-
| **is_private**
|
15
|
-
| **remote_created_at**
|
16
|
-
| **remote_data**
|
17
|
-
| **remote_was_deleted** | **Boolean**
|
18
|
-
| **field_mappings**
|
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
|
+
| **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
|
+
| **body** | **String** | The comment's text body. | [optional] |
|
12
|
+
| **html_body** | **String** | The comment's text body formatted as html. | [optional] |
|
13
|
+
| **ticket** | **String** | The ticket associated with the comment. | [optional] |
|
14
|
+
| **is_private** | **Boolean** | Whether or not the comment is internal. | [optional] |
|
15
|
+
| **remote_created_at** | **Time** | When the third party's comment was created. | [optional] |
|
16
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
17
|
+
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
18
|
+
| **field_mappings** | [**Hash<String, Object>**](Object.md) | | [optional][readonly] |
|
19
19
|
|
20
20
|
## Example
|
21
21
|
|
@@ -37,4 +37,3 @@ instance = MergeTicketingClient::Comment.new(
|
|
37
37
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
38
38
|
)
|
39
39
|
```
|
40
|
-
|
data/docs/CommentRequest.md
CHANGED
@@ -2,18 +2,16 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
16
|
-
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ------------------------- | ------------------------------------------- | ------------------------------------------------------ | ---------- |
|
7
|
+
| **user** | **String** | The author of the Comment, if the author is a User. | [optional] |
|
8
|
+
| **contact** | **String** | The author of the Comment, if the author is a Contact. | [optional] |
|
9
|
+
| **body** | **String** | The comment's text body. | [optional] |
|
10
|
+
| **html_body** | **String** | The comment's text body formatted as html. | [optional] |
|
11
|
+
| **ticket** | **String** | The ticket associated with the comment. | [optional] |
|
12
|
+
| **is_private** | **Boolean** | Whether or not the comment is internal. | [optional] |
|
13
|
+
| **integration_params** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
14
|
+
| **linked_account_params** | [**Hash<String, Object>**](Object.md) | | [optional] |
|
17
15
|
|
18
16
|
## Example
|
19
17
|
|
@@ -21,16 +19,13 @@
|
|
21
19
|
require 'merge_ticketing_client'
|
22
20
|
|
23
21
|
instance = MergeTicketingClient::CommentRequest.new(
|
24
|
-
remote_id: 19202938,
|
25
22
|
user: 17a54124-287f-494d-965e-3c5b330c9a68,
|
26
23
|
contact: dde3fb16-b8eb-483d-81c4-b78100816f15,
|
27
24
|
body: When will these integrations be done? You all should use Merge.,
|
28
25
|
html_body: When will these integrations be done? You all should use <b>Merge<b>.,
|
29
26
|
ticket: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
|
30
27
|
is_private: null,
|
31
|
-
remote_created_at: 1990-11-10T00:00Z,
|
32
28
|
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
33
29
|
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
34
30
|
)
|
35
31
|
```
|
36
|
-
|
data/docs/Contact.md
CHANGED
@@ -2,18 +2,18 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **name**
|
10
|
-
| **email_address**
|
11
|
-
| **phone_number**
|
12
|
-
| **details**
|
13
|
-
| **account**
|
14
|
-
| **remote_data**
|
15
|
-
| **remote_was_deleted** | **Boolean**
|
16
|
-
| **field_mappings**
|
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 contact's name. | [optional] |
|
10
|
+
| **email_address** | **String** | The contact's email address. | [optional] |
|
11
|
+
| **phone_number** | **String** | The contact's phone number. | [optional] |
|
12
|
+
| **details** | **String** | The contact's details. | [optional] |
|
13
|
+
| **account** | **String** | The contact's account. | [optional] |
|
14
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
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, Object>**](Object.md) | | [optional][readonly] |
|
17
17
|
|
18
18
|
## Example
|
19
19
|
|
@@ -33,4 +33,3 @@ instance = MergeTicketingClient::Contact.new(
|
|
33
33
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
|
34
34
|
)
|
35
35
|
```
|
36
|
-
|
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **method**
|
8
|
-
| **path**
|
9
|
-
| **base_url_override**
|
10
|
-
| **data**
|
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`.
|
12
|
-
| **headers**
|
13
|
-
| **request_format**
|
14
|
-
| **normalize_response**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ----------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- |
|
7
|
+
| **method** | [**MethodEnum**](MethodEnum.md) | | |
|
8
|
+
| **path** | **String** | | |
|
9
|
+
| **base_url_override** | **String** | | [optional] |
|
10
|
+
| **data** | **String** | | [optional] |
|
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
|
+
| **headers** | [**Hash<String, Object>**](Object.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
|
+
| **request_format** | [**RequestFormatEnum**](RequestFormatEnum.md) | | [optional] |
|
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
|
|
@@ -29,4 +29,3 @@ instance = MergeTicketingClient::DataPassthroughRequest.new(
|
|
29
29
|
normalize_response: null
|
30
30
|
)
|
31
31
|
```
|
32
|
-
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeTicketingClient::FieldFormatEnum
|
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::FieldFormatEnum.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# MergeTicketingClient::FieldTypeEnum
|
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::FieldTypeEnum.new()
|
14
|
+
```
|
15
|
+
|
data/docs/Issue.md
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **status**
|
9
|
-
| **error_description**
|
10
|
-
| **end_user**
|
11
|
-
| **first_incident_time** | **Time**
|
12
|
-
| **last_incident_time**
|
13
|
-
| **is_muted**
|
14
|
-
| **error_details**
|
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, Object>**](Object.md) | | [optional][readonly] |
|
11
|
+
| **first_incident_time** | **Time** | | [optional] |
|
12
|
+
| **last_incident_time** | **Time** | | [optional] |
|
13
|
+
| **is_muted** | **Boolean** | | [optional][readonly] |
|
14
|
+
| **error_details** | [**Hash<String, Object>**](Object.md) | | [optional][readonly] |
|
15
15
|
|
16
16
|
## Example
|
17
17
|
|
@@ -29,4 +29,3 @@ instance = MergeTicketingClient::Issue.new(
|
|
29
29
|
error_details: ["Missing employee permissions.","Missing time off permissions."]
|
30
30
|
)
|
31
31
|
```
|
32
|
-
|
@@ -2,14 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **condition_schema_id** | **String**
|
8
|
-
| **common_model**
|
9
|
-
| **native_name**
|
10
|
-
| **operator**
|
11
|
-
| **value**
|
12
|
-
| **field_name**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ----------------------- | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- |
|
7
|
+
| **condition_schema_id** | **String** | The ID indicating which condition schema to use for a specific condition. | |
|
8
|
+
| **common_model** | **String** | The common model for a specific condition. | [optional][readonly] |
|
9
|
+
| **native_name** | **String** | User-facing _native condition_ name. e.g. \"Skip Manager\". | |
|
10
|
+
| **operator** | **String** | The operator for a specific condition. | |
|
11
|
+
| **value** | [**Object**](.md) | The value for a condition. | [optional][readonly] |
|
12
|
+
| **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\". | |
|
13
13
|
|
14
14
|
## Example
|
15
15
|
|
@@ -25,4 +25,3 @@ instance = MergeTicketingClient::LinkedAccountCondition.new(
|
|
25
25
|
field_name: null
|
26
26
|
)
|
27
27
|
```
|
28
|
-
|
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **condition_schema_id** | **String**
|
8
|
-
| **operator**
|
9
|
-
| **value**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ----------------------- | ----------------- | ------------------------------------------------------------------------- | ----- |
|
7
|
+
| **condition_schema_id** | **String** | The ID indicating which condition schema to use for a specific condition. | |
|
8
|
+
| **operator** | **String** | The operator for a specific condition. | |
|
9
|
+
| **value** | [**Object**](.md) | The value for a specific condition. | |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -19,4 +19,3 @@ instance = MergeTicketingClient::LinkedAccountConditionRequest.new(
|
|
19
19
|
value: null
|
20
20
|
)
|
21
21
|
```
|
22
|
-
|
data/docs/MetaResponse.md
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **request_schema**
|
8
|
-
| **status**
|
9
|
-
| **has_conditional_params**
|
10
|
-
| **has_required_linked_account_params** | **Boolean**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| -------------------------------------- | ------------------------------------------------- | ----------- | ---------- |
|
7
|
+
| **request_schema** | [**Hash<String, Object>**](Object.md) | | |
|
8
|
+
| **status** | [**LinkedAccountStatus**](LinkedAccountStatus.md) | | [optional] |
|
9
|
+
| **has_conditional_params** | **Boolean** | | |
|
10
|
+
| **has_required_linked_account_params** | **Boolean** | | |
|
11
11
|
|
12
12
|
## Example
|
13
13
|
|
@@ -21,4 +21,3 @@ instance = MergeTicketingClient::MetaResponse.new(
|
|
21
21
|
has_required_linked_account_params: null
|
22
22
|
)
|
23
23
|
```
|
24
|
-
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MergeTicketingClient::PaginatedRemoteFieldClassList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **_next** | **String** | | [optional] |
|
8
|
+
| **previous** | **String** | | [optional] |
|
9
|
+
| **results** | [**Array<RemoteFieldClass>**](RemoteFieldClass.md) | | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'merge_ticketing_client'
|
15
|
+
|
16
|
+
instance = MergeTicketingClient::PaginatedRemoteFieldClassList.new(
|
17
|
+
_next: cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw,
|
18
|
+
previous: cj1sZXdwd2VycWVtY29zZnNkc2NzUWxNMEUxTXk0ME16UXpNallsTWtJ,
|
19
|
+
results: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|