merge_ticketing_client 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +72 -0
  3. data/README.md +22 -7
  4. data/docs/AccessLevelEnum.md +15 -0
  5. data/docs/Account.md +14 -11
  6. data/docs/AccountIntegration.md +5 -1
  7. data/docs/AccountsApi.md +4 -4
  8. data/docs/AsyncPassthroughApi.md +155 -0
  9. data/docs/AsyncPassthroughReciept.md +18 -0
  10. data/docs/Attachment.md +18 -15
  11. data/docs/AttachmentRequest.md +10 -9
  12. data/docs/AttachmentsApi.md +80 -4
  13. data/docs/Collection.md +18 -13
  14. data/docs/CollectionsApi.md +92 -6
  15. data/docs/Comment.md +19 -16
  16. data/docs/CommentRequest.md +11 -10
  17. data/docs/CommentsApi.md +6 -4
  18. data/docs/CommonModelScopesBodyRequest.md +22 -0
  19. data/docs/ConditionSchema.md +1 -1
  20. data/docs/Contact.md +17 -14
  21. data/docs/ContactsApi.md +4 -4
  22. data/docs/DataPassthroughRequest.md +11 -10
  23. data/docs/DeleteAccountApi.md +9 -9
  24. data/docs/EnabledActionsEnum.md +15 -0
  25. data/docs/EndUserDetailsRequest.md +4 -2
  26. data/docs/ForceResyncApi.md +1 -1
  27. data/docs/Issue.md +11 -10
  28. data/docs/IssuesApi.md +6 -6
  29. data/docs/ItemFormatEnum.md +15 -0
  30. data/docs/ItemSchema.md +22 -0
  31. data/docs/ItemTypeEnum.md +15 -0
  32. data/docs/LinkedAccountCondition.md +9 -8
  33. data/docs/LinkedAccountConditionRequest.md +6 -5
  34. data/docs/LinkedAccountsApi.md +2 -2
  35. data/docs/MetaResponse.md +9 -6
  36. data/docs/MultipartFormFieldRequest.md +1 -1
  37. data/docs/PatchedTicketRequest.md +23 -22
  38. data/docs/Project.md +14 -11
  39. data/docs/ProjectsApi.md +5 -5
  40. data/docs/RemoteData.md +5 -4
  41. data/docs/RemoteField.md +7 -6
  42. data/docs/RemoteFieldClass.md +9 -11
  43. data/docs/RemoteFieldRequest.md +20 -0
  44. data/docs/RemoteResponse.md +10 -9
  45. data/docs/SyncStatus.md +1 -1
  46. data/docs/SyncStatusApi.md +10 -4
  47. data/docs/Tag.md +12 -9
  48. data/docs/TagsApi.md +4 -4
  49. data/docs/Team.md +14 -11
  50. data/docs/TeamsApi.md +4 -4
  51. data/docs/Ticket.md +30 -29
  52. data/docs/TicketRequest.md +24 -23
  53. data/docs/TicketsApi.md +9 -11
  54. data/docs/User.md +17 -14
  55. data/docs/UsersApi.md +6 -6
  56. data/lib/merge_ticketing_client/api/accounts_api.rb +4 -4
  57. data/lib/merge_ticketing_client/api/async_passthrough_api.rb +160 -0
  58. data/lib/merge_ticketing_client/api/attachments_api.rb +75 -4
  59. data/lib/merge_ticketing_client/api/collections_api.rb +93 -6
  60. data/lib/merge_ticketing_client/api/comments_api.rb +7 -4
  61. data/lib/merge_ticketing_client/api/contacts_api.rb +4 -4
  62. data/lib/merge_ticketing_client/api/delete_account_api.rb +7 -7
  63. data/lib/merge_ticketing_client/api/force_resync_api.rb +2 -2
  64. data/lib/merge_ticketing_client/api/issues_api.rb +6 -6
  65. data/lib/merge_ticketing_client/api/linked_accounts_api.rb +3 -3
  66. data/lib/merge_ticketing_client/api/projects_api.rb +5 -5
  67. data/lib/merge_ticketing_client/api/sync_status_api.rb +2 -2
  68. data/lib/merge_ticketing_client/api/tags_api.rb +4 -4
  69. data/lib/merge_ticketing_client/api/teams_api.rb +4 -4
  70. data/lib/merge_ticketing_client/api/tickets_api.rb +11 -14
  71. data/lib/merge_ticketing_client/api/users_api.rb +6 -6
  72. data/lib/merge_ticketing_client/models/access_level_enum.rb +46 -0
  73. data/lib/merge_ticketing_client/models/account.rb +27 -17
  74. data/lib/merge_ticketing_client/models/account_integration.rb +29 -7
  75. data/lib/merge_ticketing_client/models/async_passthrough_reciept.rb +223 -0
  76. data/lib/merge_ticketing_client/models/attachment.rb +29 -19
  77. data/lib/merge_ticketing_client/models/attachment_request.rb +2 -2
  78. data/lib/merge_ticketing_client/models/categories_enum.rb +2 -1
  79. data/lib/merge_ticketing_client/models/category_enum.rb +2 -1
  80. data/lib/merge_ticketing_client/models/collection.rb +39 -18
  81. data/lib/merge_ticketing_client/models/comment.rb +27 -17
  82. data/lib/merge_ticketing_client/models/common_model_scopes_body_request.rb +274 -0
  83. data/lib/merge_ticketing_client/models/condition_schema.rb +1 -0
  84. data/lib/merge_ticketing_client/models/contact.rb +27 -17
  85. data/lib/merge_ticketing_client/models/enabled_actions_enum.rb +45 -0
  86. data/lib/merge_ticketing_client/models/end_user_details_request.rb +19 -6
  87. data/lib/merge_ticketing_client/models/issue.rb +3 -2
  88. data/lib/merge_ticketing_client/models/item_format_enum.rb +49 -0
  89. data/lib/merge_ticketing_client/models/item_schema.rb +238 -0
  90. data/lib/merge_ticketing_client/models/item_type_enum.rb +49 -0
  91. data/lib/merge_ticketing_client/models/meta_response.rb +12 -1
  92. data/lib/merge_ticketing_client/models/multipart_form_field_request.rb +1 -1
  93. data/lib/merge_ticketing_client/models/patched_ticket_request.rb +18 -18
  94. data/lib/merge_ticketing_client/models/project.rb +27 -17
  95. data/lib/merge_ticketing_client/models/remote_data.rb +6 -9
  96. data/lib/merge_ticketing_client/models/remote_field.rb +18 -15
  97. data/lib/merge_ticketing_client/models/remote_field_class.rb +22 -39
  98. data/lib/merge_ticketing_client/models/remote_field_request.rb +234 -0
  99. data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +1 -1
  100. data/lib/merge_ticketing_client/models/tag.rb +27 -17
  101. data/lib/merge_ticketing_client/models/team.rb +27 -17
  102. data/lib/merge_ticketing_client/models/ticket.rb +25 -26
  103. data/lib/merge_ticketing_client/models/ticket_request.rb +18 -18
  104. data/lib/merge_ticketing_client/models/user.rb +27 -17
  105. data/lib/merge_ticketing_client/version.rb +1 -1
  106. data/lib/merge_ticketing_client.rb +9 -1
  107. data/spec/api/accounts_api_spec.rb +2 -2
  108. data/spec/api/async_passthrough_api_spec.rb +59 -0
  109. data/spec/api/attachments_api_spec.rb +15 -2
  110. data/spec/api/collections_api_spec.rb +20 -3
  111. data/spec/api/comments_api_spec.rb +3 -2
  112. data/spec/api/contacts_api_spec.rb +2 -2
  113. data/spec/api/delete_account_api_spec.rb +2 -2
  114. data/spec/api/force_resync_api_spec.rb +1 -1
  115. data/spec/api/issues_api_spec.rb +3 -3
  116. data/spec/api/linked_accounts_api_spec.rb +1 -1
  117. data/spec/api/projects_api_spec.rb +2 -2
  118. data/spec/api/sync_status_api_spec.rb +1 -1
  119. data/spec/api/tags_api_spec.rb +2 -2
  120. data/spec/api/teams_api_spec.rb +2 -2
  121. data/spec/api/tickets_api_spec.rb +21 -4
  122. data/spec/api/users_api_spec.rb +2 -2
  123. data/spec/models/access_level_enum_spec.rb +28 -0
  124. data/spec/models/account_integration_spec.rb +12 -0
  125. data/spec/models/account_spec.rb +8 -2
  126. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  127. data/spec/models/attachment_request_spec.rb +0 -12
  128. data/spec/models/attachment_spec.rb +8 -2
  129. data/spec/models/collection_spec.rb +14 -2
  130. data/spec/models/comment_request_spec.rb +0 -12
  131. data/spec/models/comment_spec.rb +8 -2
  132. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  133. data/spec/models/contact_spec.rb +8 -2
  134. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  135. data/spec/models/end_user_details_request_spec.rb +6 -0
  136. data/spec/models/field_format_enum_spec.rb +28 -0
  137. data/spec/models/field_type_enum_spec.rb +28 -0
  138. data/spec/models/item_format_enum_spec.rb +28 -0
  139. data/spec/models/item_schema_spec.rb +46 -0
  140. data/spec/models/item_type_enum_spec.rb +28 -0
  141. data/spec/models/meta_response_spec.rb +6 -0
  142. data/spec/models/paginated_remote_field_class_list_spec.rb +46 -0
  143. data/spec/models/patched_ticket_request_spec.rb +6 -18
  144. data/spec/models/project_spec.rb +8 -2
  145. data/spec/models/remote_field_class_spec.rb +88 -0
  146. data/spec/models/remote_field_request_spec.rb +40 -0
  147. data/spec/models/remote_field_spec.rb +40 -0
  148. data/spec/models/tag_spec.rb +8 -2
  149. data/spec/models/team_spec.rb +8 -2
  150. data/spec/models/ticket_request_spec.rb +6 -24
  151. data/spec/models/ticket_spec.rb +16 -10
  152. data/spec/models/user_spec.rb +8 -2
  153. metadata +133 -86
data/docs/Tag.md CHANGED
@@ -2,13 +2,14 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- | Name | Type | Description | Notes |
6
- | ---------------------- | -------------------------------------------- | ------------------------------------------------------------------------------ | -------------------- |
7
- | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
8
- | **name** | **String** | The tag's name. | [optional] |
9
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
10
- | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
11
- | **field_mappings** | [**Hash<String, Object>**](Object.md) | | [optional][readonly] |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
8
+ | **name** | **String** | The tag's name. | [optional] |
9
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
10
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
11
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
12
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
12
13
 
13
14
  ## Example
14
15
 
@@ -18,8 +19,10 @@ require 'merge_ticketing_client'
18
19
  instance = MergeTicketingClient::Tag.new(
19
20
  remote_id: 19202938,
20
21
  name: Ticketing API,
21
- remote_data: null,
22
22
  remote_was_deleted: null,
23
- field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
23
+ modified_at: 2021-10-16T00:00Z,
24
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
25
+ remote_data: null
24
26
  )
25
27
  ```
28
+
data/docs/TagsApi.md CHANGED
@@ -37,8 +37,8 @@ opts = {
37
37
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
38
38
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
39
39
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
40
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
41
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
40
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
41
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
42
42
  page_size: 56, # Integer | Number of results to return per page.
43
43
  remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
44
44
  }
@@ -80,8 +80,8 @@ end
80
80
  | **cursor** | **String** | The pagination cursor value. | [optional] |
81
81
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
82
82
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
83
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
84
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
83
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
84
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
85
85
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
86
86
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
87
87
 
data/docs/Team.md CHANGED
@@ -2,15 +2,16 @@
2
2
 
3
3
  ## Properties
4
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 team's name. | [optional] |
10
- | **description** | **String** | The team's description. | [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] |
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 team's name. | [optional] |
10
+ | **description** | **String** | The team's description. | [optional] |
11
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
12
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
13
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
14
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
14
15
 
15
16
  ## Example
16
17
 
@@ -22,8 +23,10 @@ instance = MergeTicketingClient::Team.new(
22
23
  remote_id: 19202938,
23
24
  name: Platform,
24
25
  description: Platform and Integrations Team,
25
- remote_data: null,
26
26
  remote_was_deleted: null,
27
- field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
27
+ modified_at: 2021-10-16T00:00Z,
28
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
29
+ remote_data: null
28
30
  )
29
31
  ```
32
+
data/docs/TeamsApi.md CHANGED
@@ -37,8 +37,8 @@ opts = {
37
37
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
38
38
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
39
39
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
40
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
41
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
40
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
41
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
42
42
  page_size: 56, # Integer | Number of results to return per page.
43
43
  remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
44
44
  }
@@ -80,8 +80,8 @@ end
80
80
  | **cursor** | **String** | The pagination cursor value. | [optional] |
81
81
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
82
82
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
83
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
84
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
83
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
84
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
85
85
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
86
86
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
87
87
 
data/docs/Ticket.md CHANGED
@@ -2,33 +2,33 @@
2
2
 
3
3
  ## Properties
4
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 ticket's name. | [optional] |
10
- | **assignees** | **Array<String>** | | [optional] |
11
- | **creator** | **String** | The user who created this ticket. | [optional] |
12
- | **due_date** | **Time** | The ticket's due date. | [optional] |
13
- | **status** | [**TicketStatusEnum**](TicketStatusEnum.md) | The current status of the ticket. | [optional] |
14
- | **description** | **String** | The ticket’s description. HTML version of description is mapped if supported by the third-party platform. | [optional] |
15
- | **project** | **String** | The project the ticket belongs to. | [optional] |
16
- | **collections** | **Array<String>** | | [optional] |
17
- | **ticket_type** | **String** | The ticket's type. | [optional] |
18
- | **account** | **String** | The account associated with the ticket. | [optional] |
19
- | **contact** | **String** | The contact associated with the ticket. | [optional] |
20
- | **parent_ticket** | **String** | The ticket's parent ticket. | [optional] |
21
- | **attachments** | **Array<String>** | | [optional] |
22
- | **tags** | **Array<String>** | | [optional] |
23
- | **remote_created_at** | **Time** | When the third party's ticket was created. | [optional] |
24
- | **remote_updated_at** | **Time** | When the third party's ticket was updated. | [optional] |
25
- | **completed_at** | **Time** | When the ticket was completed. | [optional] |
26
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
27
- | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
28
- | **ticket_url** | **String** | The 3rd party url of the Ticket. | [optional] |
29
- | **priority** | [**PriorityEnum**](PriorityEnum.md) | The priority or urgency of the Ticket. | [optional] |
30
- | **field_mappings** | [**Hash<String, Object>**](Object.md) | | [optional][readonly] |
31
- | **remote_fields** | [**Array<RemoteField>**](RemoteField.md) | | [optional][readonly] |
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 ticket's name. | [optional] |
10
+ | **assignees** | **Array<String>** | | [optional] |
11
+ | **creator** | **String** | The user who created this ticket. | [optional] |
12
+ | **due_date** | **Time** | The ticket's due date. | [optional] |
13
+ | **status** | [**TicketStatusEnum**](TicketStatusEnum.md) | The current status of the ticket. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD | [optional] |
14
+ | **description** | **String** | The ticket’s description. HTML version of description is mapped if supported by the third-party platform. | [optional] |
15
+ | **collections** | **Array<String>** | | [optional] |
16
+ | **ticket_type** | **String** | The ticket's type. | [optional] |
17
+ | **account** | **String** | The account associated with the ticket. | [optional] |
18
+ | **contact** | **String** | The contact associated with the ticket. | [optional] |
19
+ | **parent_ticket** | **String** | The ticket's parent ticket. | [optional] |
20
+ | **attachments** | **Array<String>** | | [optional] |
21
+ | **tags** | **Array<String>** | | [optional] |
22
+ | **remote_created_at** | **Time** | When the third party's ticket was created. | [optional] |
23
+ | **remote_updated_at** | **Time** | When the third party's ticket was updated. | [optional] |
24
+ | **completed_at** | **Time** | When the ticket was completed. | [optional] |
25
+ | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
26
+ | **ticket_url** | **String** | The 3rd party url of the Ticket. | [optional] |
27
+ | **priority** | [**PriorityEnum**](PriorityEnum.md) | The priority or urgency of the Ticket. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW | [optional] |
28
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
29
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
30
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
31
+ | **remote_fields** | [**Array<RemoteField>**](RemoteField.md) | | [optional][readonly] |
32
32
 
33
33
  ## Example
34
34
 
@@ -44,7 +44,6 @@ instance = MergeTicketingClient::Ticket.new(
44
44
  due_date: 2022-10-11T00:00Z,
45
45
  status: OPEN,
46
46
  description: Can you please add more integrations? It'll make syncing data much easier!,
47
- project: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
48
47
  collections: ["fb8c55b6-1cb8-4b4c-9fb6-17924231619d"],
49
48
  ticket_type: incident,
50
49
  account: 0958cbc6-6040-430a-848e-aafacbadf4ae,
@@ -55,11 +54,13 @@ instance = MergeTicketingClient::Ticket.new(
55
54
  remote_created_at: 2021-11-10T00:00Z,
56
55
  remote_updated_at: 2021-12-09T00:00Z,
57
56
  completed_at: 2021-12-09T00:00Z,
58
- remote_data: null,
59
57
  remote_was_deleted: null,
60
58
  ticket_url: https://thirdpartysoftware.com/project/3/issue/1,
61
59
  priority: HIGH,
60
+ modified_at: 2021-10-16T00:00Z,
62
61
  field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
62
+ remote_data: null,
63
63
  remote_fields: null
64
64
  )
65
65
  ```
66
+
@@ -2,27 +2,27 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- | Name | Type | Description | Notes |
6
- | ------------------------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------- | ---------- |
7
- | **name** | **String** | The ticket's name. | [optional] |
8
- | **assignees** | **Array<String>** | | [optional] |
9
- | **creator** | **String** | The user who created this ticket. | [optional] |
10
- | **due_date** | **Time** | The ticket's due date. | [optional] |
11
- | **status** | [**TicketStatusEnum**](TicketStatusEnum.md) | The current status of the ticket. | [optional] |
12
- | **description** | **String** | The ticket’s description. HTML version of description is mapped if supported by the third-party platform. | [optional] |
13
- | **project** | **String** | The project the ticket belongs to. | [optional] |
14
- | **collections** | **Array<String>** | | [optional] |
15
- | **ticket_type** | **String** | The ticket's type. | [optional] |
16
- | **account** | **String** | The account associated with the ticket. | [optional] |
17
- | **contact** | **String** | The contact associated with the ticket. | [optional] |
18
- | **parent_ticket** | **String** | The ticket's parent ticket. | [optional] |
19
- | **attachments** | **Array<String>** | | [optional] |
20
- | **tags** | **Array<String>** | | [optional] |
21
- | **completed_at** | **Time** | When the ticket was completed. | [optional] |
22
- | **ticket_url** | **String** | The 3rd party url of the Ticket. | [optional] |
23
- | **priority** | [**PriorityEnum**](PriorityEnum.md) | The priority or urgency of the Ticket. | [optional] |
24
- | **integration_params** | [**Hash<String, Object>**](Object.md) | | [optional] |
25
- | **linked_account_params** | [**Hash<String, Object>**](Object.md) | | [optional] |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The ticket's name. | [optional] |
8
+ | **assignees** | **Array<String>** | | [optional] |
9
+ | **creator** | **String** | The user who created this ticket. | [optional] |
10
+ | **due_date** | **Time** | The ticket's due date. | [optional] |
11
+ | **status** | [**TicketStatusEnum**](TicketStatusEnum.md) | The current status of the ticket. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD | [optional] |
12
+ | **description** | **String** | The ticket’s description. HTML version of description is mapped if supported by the third-party platform. | [optional] |
13
+ | **collections** | **Array<String>** | | [optional] |
14
+ | **ticket_type** | **String** | The ticket's type. | [optional] |
15
+ | **account** | **String** | The account associated with the ticket. | [optional] |
16
+ | **contact** | **String** | The contact associated with the ticket. | [optional] |
17
+ | **parent_ticket** | **String** | The ticket's parent ticket. | [optional] |
18
+ | **attachments** | **Array<String>** | | [optional] |
19
+ | **tags** | **Array<String>** | | [optional] |
20
+ | **completed_at** | **Time** | When the ticket was completed. | [optional] |
21
+ | **ticket_url** | **String** | The 3rd party url of the Ticket. | [optional] |
22
+ | **priority** | [**PriorityEnum**](PriorityEnum.md) | The priority or urgency of the Ticket. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW | [optional] |
23
+ | **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
24
+ | **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
25
+ | **remote_fields** | [**Array<RemoteFieldRequest>**](RemoteFieldRequest.md) | | [optional] |
26
26
 
27
27
  ## Example
28
28
 
@@ -36,7 +36,6 @@ instance = MergeTicketingClient::TicketRequest.new(
36
36
  due_date: 2022-10-11T00:00Z,
37
37
  status: OPEN,
38
38
  description: Can you please add more integrations? It'll make syncing data much easier!,
39
- project: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
40
39
  collections: ["fb8c55b6-1cb8-4b4c-9fb6-17924231619d"],
41
40
  ticket_type: incident,
42
41
  account: 0958cbc6-6040-430a-848e-aafacbadf4ae,
@@ -48,6 +47,8 @@ instance = MergeTicketingClient::TicketRequest.new(
48
47
  ticket_url: https://thirdpartysoftware.com/project/3/issue/1,
49
48
  priority: HIGH,
50
49
  integration_params: {"unique_integration_field":"unique_integration_field_value"},
51
- linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
50
+ linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"},
51
+ remote_fields: null
52
52
  )
53
53
  ```
54
+
data/docs/TicketsApi.md CHANGED
@@ -40,7 +40,7 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
40
40
  parent_id = TODO # String |
41
41
  opts = {
42
42
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
43
- expand: 'teams', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
+ expand: 'roles', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
45
45
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
46
46
  page_size: 56 # Integer | Number of results to return per page.
@@ -217,11 +217,11 @@ opts = {
217
217
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
218
218
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
219
219
  include_remote_fields: true, # Boolean | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
220
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
221
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
220
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
221
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
222
222
  page_size: 56, # Integer | Number of results to return per page.
223
223
  parent_ticket_id: 'parent_ticket_id_example', # String | If provided, will only return sub tickets of the parent_ticket_id.
224
- priority: 'HIGH', # String | If provided, will only return tickets of this priority.
224
+ priority: 'HIGH', # String | If provided, will only return tickets of this priority. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW
225
225
  project_id: 'project_id_example', # String | If provided, will only return tickets for this project.
226
226
  remote_created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets created in the third party platform after this datetime.
227
227
  remote_created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets created in the third party platform before this datetime.
@@ -230,7 +230,7 @@ opts = {
230
230
  remote_updated_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets updated in the third party platform after this datetime.
231
231
  remote_updated_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets updated in the third party platform before this datetime.
232
232
  show_enum_origins: 'priority', # String | Which fields should be returned in non-normalized form.
233
- status: 'CLOSED', # String | If provided, will only return tickets of this status.
233
+ status: 'CLOSED', # String | If provided, will only return tickets of this status. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD
234
234
  tags: 'tags_example', # String | If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
235
235
  ticket_type: 'ticket_type_example' # String | If provided, will only return tickets of this type.
236
236
  }
@@ -282,11 +282,11 @@ end
282
282
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
283
283
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
284
284
  | **include_remote_fields** | **Boolean** | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. | [optional] |
285
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
286
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
285
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
286
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
287
287
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
288
288
  | **parent_ticket_id** | **String** | If provided, will only return sub tickets of the parent_ticket_id. | [optional] |
289
- | **priority** | **String** | If provided, will only return tickets of this priority. | [optional] |
289
+ | **priority** | **String** | If provided, will only return tickets of this priority. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW | [optional] |
290
290
  | **project_id** | **String** | If provided, will only return tickets for this project. | [optional] |
291
291
  | **remote_created_after** | **Time** | If provided, will only return tickets created in the third party platform after this datetime. | [optional] |
292
292
  | **remote_created_before** | **Time** | If provided, will only return tickets created in the third party platform before this datetime. | [optional] |
@@ -295,7 +295,7 @@ end
295
295
  | **remote_updated_after** | **Time** | If provided, will only return tickets updated in the third party platform after this datetime. | [optional] |
296
296
  | **remote_updated_before** | **Time** | If provided, will only return tickets updated in the third party platform before this datetime. | [optional] |
297
297
  | **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
298
- | **status** | **String** | If provided, will only return tickets of this status. | [optional] |
298
+ | **status** | **String** | If provided, will only return tickets of this status. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD | [optional] |
299
299
  | **tags** | **String** | If provided, will only return tickets matching the tags; multiple tags can be separated by commas. | [optional] |
300
300
  | **ticket_type** | **String** | If provided, will only return tickets of this type. | [optional] |
301
301
 
@@ -565,7 +565,6 @@ opts = {
565
565
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
566
566
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
567
567
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
568
- include_remote_fields: true, # Boolean | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
569
568
  page_size: 56 # Integer | Number of results to return per page.
570
569
  }
571
570
 
@@ -604,7 +603,6 @@ end
604
603
  | **cursor** | **String** | The pagination cursor value. | [optional] |
605
604
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
606
605
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
607
- | **include_remote_fields** | **Boolean** | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. | [optional] |
608
606
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
609
607
 
610
608
  ### Return type
data/docs/User.md CHANGED
@@ -2,18 +2,19 @@
2
2
 
3
3
  ## Properties
4
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 user's name. | [optional] |
10
- | **email_address** | **String** | The user's email address. | [optional] |
11
- | **is_active** | **Boolean** | Whether or not the user is active. | [optional] |
12
- | **teams** | **Array<String>** | | [optional] |
13
- | **avatar** | **String** | The user's avatar picture. | [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] |
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 user's name. | [optional] |
10
+ | **email_address** | **String** | The user's email address. | [optional] |
11
+ | **is_active** | **Boolean** | Whether or not the user is active. | [optional] |
12
+ | **teams** | **Array<String>** | | [optional] |
13
+ | **avatar** | **String** | The user's avatar picture. | [optional] |
14
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
15
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
16
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
17
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
17
18
 
18
19
  ## Example
19
20
 
@@ -28,8 +29,10 @@ instance = MergeTicketingClient::User.new(
28
29
  is_active: true,
29
30
  teams: ["28b54125-287f-494d-965e-3c5b330c9a68","17a54124-287f-494d-965e-3c5b330c9a68"],
30
31
  avatar: https://merge.dev/user_profile_pic.png,
31
- remote_data: null,
32
32
  remote_was_deleted: null,
33
- field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}}
33
+ modified_at: 2021-10-16T00:00Z,
34
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
35
+ remote_data: null
34
36
  )
35
37
  ```
38
+
data/docs/UsersApi.md CHANGED
@@ -36,11 +36,11 @@ opts = {
36
36
  created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
37
37
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
38
38
  email_address: 'email_address_example', # String | If provided, will only return users with emails equal to this value (case insensitive).
39
- expand: 'teams', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
39
+ expand: 'roles', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
40
40
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
41
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.
42
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
43
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
44
44
  page_size: 56, # Integer | Number of results to return per page.
45
45
  remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
46
46
  }
@@ -84,8 +84,8 @@ end
84
84
  | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
85
85
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
86
86
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
87
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
88
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
87
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
88
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
89
89
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
90
90
  | **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
91
91
 
@@ -128,7 +128,7 @@ api_instance = MergeTicketingClient::UsersApi.new
128
128
  x_account_token = 'x_account_token_example' # String | Token identifying the end user.
129
129
  id = TODO # String |
130
130
  opts = {
131
- expand: 'teams', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
131
+ expand: 'roles', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
132
132
  include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
133
133
  }
134
134
 
@@ -27,8 +27,8 @@ module MergeTicketingClient
27
27
  # @option opts [String] :cursor The pagination cursor value.
28
28
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
29
29
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
30
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
31
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
30
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
31
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
32
32
  # @option opts [Integer] :page_size Number of results to return per page.
33
33
  # @option opts [String] :remote_id The API provider's ID for the given object.
34
34
  # @return [PaginatedAccountList]
@@ -45,8 +45,8 @@ module MergeTicketingClient
45
45
  # @option opts [String] :cursor The pagination cursor value.
46
46
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
47
47
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
48
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
49
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
48
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
49
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
50
50
  # @option opts [Integer] :page_size Number of results to return per page.
51
51
  # @option opts [String] :remote_id The API provider's ID for the given object.
52
52
  # @return [Array<(PaginatedAccountList, Integer, Hash)>] PaginatedAccountList data, response status code and response headers