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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eac02fa0dcdc6e8fad65dc98871288671524d58c81dc842ffc41a7063671c304
4
- data.tar.gz: 39982571b7bb1f90b7d0b2ffd9c94cf3064c83fa6d89c52c6343ee25353aa3ed
3
+ metadata.gz: 28675ec9fc6845ca7dad51969e3a3b39908e24e1db8a6753e576e5da5542abab
4
+ data.tar.gz: f5991c61bc7822145499d7acd76be5efd91b525504e3b2ca0b9abc65c3102a2c
5
5
  SHA512:
6
- metadata.gz: f527b230e99299955a2055cbee3a305a0e2a0a20958e8b6a4fc3ee9af755bd104eff55d9aba7f243a7d17e58b272fa8c93d07083152ac062e84ccf55411c4f90
7
- data.tar.gz: 90f698bb396166b1f31b30e66b44e0ff44505cf8727174bc625c06b4f65249fad665eda43e1180596b7a059f8bc86e1837581095b0d74a411b651896f9199c67
6
+ metadata.gz: 39cb78519aa3ff586a63d99529b16263e6675fc7a430e08024c608cf6b36640e7885637cb8232c406a389294a7987e976421a6ca1f57a818604719eda4ff2db6
7
+ data.tar.gz: a9bd25bef27fa00c3220328e2c10677e5025e5876469f4447817366703e7f2179b290dd4757c372a4e96655d40b3de1bc4c67facfed15037bce787467c517b0d
data/Gemfile.lock ADDED
@@ -0,0 +1,72 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ merge_ticketing_client (1.0.5)
5
+ typhoeus (~> 1.0, >= 1.0.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ byebug (11.1.3)
12
+ coderay (1.1.3)
13
+ diff-lcs (1.5.0)
14
+ ethon (0.16.0)
15
+ ffi (>= 1.15.0)
16
+ ffi (1.15.5)
17
+ jaro_winkler (1.5.6)
18
+ method_source (1.0.0)
19
+ parallel (1.23.0)
20
+ parser (3.2.2.3)
21
+ ast (~> 2.4.1)
22
+ racc
23
+ pry (0.13.1)
24
+ coderay (~> 1.1)
25
+ method_source (~> 1.0)
26
+ pry-byebug (3.9.0)
27
+ byebug (~> 11.0)
28
+ pry (~> 0.13.0)
29
+ psych (5.1.0)
30
+ stringio
31
+ racc (1.7.1)
32
+ rainbow (3.1.1)
33
+ rake (13.0.6)
34
+ rspec (3.12.0)
35
+ rspec-core (~> 3.12.0)
36
+ rspec-expectations (~> 3.12.0)
37
+ rspec-mocks (~> 3.12.0)
38
+ rspec-core (3.12.2)
39
+ rspec-support (~> 3.12.0)
40
+ rspec-expectations (3.12.3)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.12.0)
43
+ rspec-mocks (3.12.6)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.12.0)
46
+ rspec-support (3.12.1)
47
+ rubocop (0.66.0)
48
+ jaro_winkler (~> 1.5.1)
49
+ parallel (~> 1.10)
50
+ parser (>= 2.5, != 2.5.1.1)
51
+ psych (>= 3.1.0)
52
+ rainbow (>= 2.2.2, < 4.0)
53
+ ruby-progressbar (~> 1.7)
54
+ unicode-display_width (>= 1.4.0, < 1.6)
55
+ ruby-progressbar (1.13.0)
56
+ stringio (3.0.6)
57
+ typhoeus (1.4.0)
58
+ ethon (>= 0.9.0)
59
+ unicode-display_width (1.5.0)
60
+
61
+ PLATFORMS
62
+ ruby
63
+
64
+ DEPENDENCIES
65
+ merge_ticketing_client!
66
+ pry-byebug
67
+ rake (~> 13.0.1)
68
+ rspec (~> 3.6, >= 3.6.0)
69
+ rubocop (~> 0.66.0)
70
+
71
+ BUNDLED WITH
72
+ 1.17.2
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.4
10
+ - Package version: 1.0.5
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.4.gem
27
+ gem install ./merge_ticketing_client-1.0.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./merge_ticketing_client-1.0.4.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./merge_ticketing_client-1.0.5.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.4'
36
+ gem 'merge_ticketing_client', '~> 1.0.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -87,20 +87,24 @@ Class | Method | HTTP request | Description
87
87
  *MergeTicketingClient::AccountTokenApi* | [**account_token_retrieve**](docs/AccountTokenApi.md#account_token_retrieve) | **GET** /account-token/{public_token} |
88
88
  *MergeTicketingClient::AccountsApi* | [**accounts_list**](docs/AccountsApi.md#accounts_list) | **GET** /accounts |
89
89
  *MergeTicketingClient::AccountsApi* | [**accounts_retrieve**](docs/AccountsApi.md#accounts_retrieve) | **GET** /accounts/{id} |
90
+ *MergeTicketingClient::AsyncPassthroughApi* | [**async_passthrough_create**](docs/AsyncPassthroughApi.md#async_passthrough_create) | **POST** /async-passthrough |
91
+ *MergeTicketingClient::AsyncPassthroughApi* | [**async_passthrough_retrieve**](docs/AsyncPassthroughApi.md#async_passthrough_retrieve) | **GET** /async-passthrough/{async_passthrough_receipt_id} |
90
92
  *MergeTicketingClient::AttachmentsApi* | [**attachments_create**](docs/AttachmentsApi.md#attachments_create) | **POST** /attachments |
93
+ *MergeTicketingClient::AttachmentsApi* | [**attachments_download_retrieve**](docs/AttachmentsApi.md#attachments_download_retrieve) | **GET** /attachments/{id}/download |
91
94
  *MergeTicketingClient::AttachmentsApi* | [**attachments_list**](docs/AttachmentsApi.md#attachments_list) | **GET** /attachments |
92
95
  *MergeTicketingClient::AttachmentsApi* | [**attachments_meta_post_retrieve**](docs/AttachmentsApi.md#attachments_meta_post_retrieve) | **GET** /attachments/meta/post |
93
96
  *MergeTicketingClient::AttachmentsApi* | [**attachments_retrieve**](docs/AttachmentsApi.md#attachments_retrieve) | **GET** /attachments/{id} |
94
97
  *MergeTicketingClient::AvailableActionsApi* | [**available_actions_retrieve**](docs/AvailableActionsApi.md#available_actions_retrieve) | **GET** /available-actions |
95
98
  *MergeTicketingClient::CollectionsApi* | [**collections_list**](docs/CollectionsApi.md#collections_list) | **GET** /collections |
96
99
  *MergeTicketingClient::CollectionsApi* | [**collections_retrieve**](docs/CollectionsApi.md#collections_retrieve) | **GET** /collections/{id} |
100
+ *MergeTicketingClient::CollectionsApi* | [**collections_users_list**](docs/CollectionsApi.md#collections_users_list) | **GET** /collections/{parent_id}/users |
97
101
  *MergeTicketingClient::CommentsApi* | [**comments_create**](docs/CommentsApi.md#comments_create) | **POST** /comments |
98
102
  *MergeTicketingClient::CommentsApi* | [**comments_list**](docs/CommentsApi.md#comments_list) | **GET** /comments |
99
103
  *MergeTicketingClient::CommentsApi* | [**comments_meta_post_retrieve**](docs/CommentsApi.md#comments_meta_post_retrieve) | **GET** /comments/meta/post |
100
104
  *MergeTicketingClient::CommentsApi* | [**comments_retrieve**](docs/CommentsApi.md#comments_retrieve) | **GET** /comments/{id} |
101
105
  *MergeTicketingClient::ContactsApi* | [**contacts_list**](docs/ContactsApi.md#contacts_list) | **GET** /contacts |
102
106
  *MergeTicketingClient::ContactsApi* | [**contacts_retrieve**](docs/ContactsApi.md#contacts_retrieve) | **GET** /contacts/{id} |
103
- *MergeTicketingClient::DeleteAccountApi* | [**delete_account_create**](docs/DeleteAccountApi.md#delete_account_create) | **POST** /delete-account |
107
+ *MergeTicketingClient::DeleteAccountApi* | [**delete_account_delete**](docs/DeleteAccountApi.md#delete_account_delete) | **POST** /delete-account |
104
108
  *MergeTicketingClient::ForceResyncApi* | [**sync_status_resync_create**](docs/ForceResyncApi.md#sync_status_resync_create) | **POST** /sync-status/resync |
105
109
  *MergeTicketingClient::GenerateKeyApi* | [**generate_key_create**](docs/GenerateKeyApi.md#generate_key_create) | **POST** /generate-key |
106
110
  *MergeTicketingClient::IssuesApi* | [**issues_list**](docs/IssuesApi.md#issues_list) | **GET** /issues |
@@ -136,6 +140,7 @@ Class | Method | HTTP request | Description
136
140
 
137
141
  ## Documentation for Models
138
142
 
143
+ - [MergeTicketingClient::AccessLevelEnum](docs/AccessLevelEnum.md)
139
144
  - [MergeTicketingClient::Account](docs/Account.md)
140
145
  - [MergeTicketingClient::AccountDetails](docs/AccountDetails.md)
141
146
  - [MergeTicketingClient::AccountDetailsAndActions](docs/AccountDetailsAndActions.md)
@@ -143,6 +148,7 @@ Class | Method | HTTP request | Description
143
148
  - [MergeTicketingClient::AccountDetailsAndActionsStatusEnum](docs/AccountDetailsAndActionsStatusEnum.md)
144
149
  - [MergeTicketingClient::AccountIntegration](docs/AccountIntegration.md)
145
150
  - [MergeTicketingClient::AccountToken](docs/AccountToken.md)
151
+ - [MergeTicketingClient::AsyncPassthroughReciept](docs/AsyncPassthroughReciept.md)
146
152
  - [MergeTicketingClient::Attachment](docs/Attachment.md)
147
153
  - [MergeTicketingClient::AttachmentRequest](docs/AttachmentRequest.md)
148
154
  - [MergeTicketingClient::AvailableActions](docs/AvailableActions.md)
@@ -154,12 +160,14 @@ Class | Method | HTTP request | Description
154
160
  - [MergeTicketingClient::CommentEndpointRequest](docs/CommentEndpointRequest.md)
155
161
  - [MergeTicketingClient::CommentRequest](docs/CommentRequest.md)
156
162
  - [MergeTicketingClient::CommentResponse](docs/CommentResponse.md)
163
+ - [MergeTicketingClient::CommonModelScopesBodyRequest](docs/CommonModelScopesBodyRequest.md)
157
164
  - [MergeTicketingClient::ConditionSchema](docs/ConditionSchema.md)
158
165
  - [MergeTicketingClient::ConditionTypeEnum](docs/ConditionTypeEnum.md)
159
166
  - [MergeTicketingClient::Contact](docs/Contact.md)
160
167
  - [MergeTicketingClient::DataPassthroughRequest](docs/DataPassthroughRequest.md)
161
168
  - [MergeTicketingClient::DebugModeLog](docs/DebugModeLog.md)
162
169
  - [MergeTicketingClient::DebugModelLogSummary](docs/DebugModelLogSummary.md)
170
+ - [MergeTicketingClient::EnabledActionsEnum](docs/EnabledActionsEnum.md)
163
171
  - [MergeTicketingClient::EncodingEnum](docs/EncodingEnum.md)
164
172
  - [MergeTicketingClient::EndUserDetailsRequest](docs/EndUserDetailsRequest.md)
165
173
  - [MergeTicketingClient::ErrorValidationProblem](docs/ErrorValidationProblem.md)
@@ -168,6 +176,9 @@ Class | Method | HTTP request | Description
168
176
  - [MergeTicketingClient::GenerateRemoteKeyRequest](docs/GenerateRemoteKeyRequest.md)
169
177
  - [MergeTicketingClient::Issue](docs/Issue.md)
170
178
  - [MergeTicketingClient::IssueStatusEnum](docs/IssueStatusEnum.md)
179
+ - [MergeTicketingClient::ItemFormatEnum](docs/ItemFormatEnum.md)
180
+ - [MergeTicketingClient::ItemSchema](docs/ItemSchema.md)
181
+ - [MergeTicketingClient::ItemTypeEnum](docs/ItemTypeEnum.md)
171
182
  - [MergeTicketingClient::LinkToken](docs/LinkToken.md)
172
183
  - [MergeTicketingClient::LinkedAccountCondition](docs/LinkedAccountCondition.md)
173
184
  - [MergeTicketingClient::LinkedAccountConditionRequest](docs/LinkedAccountConditionRequest.md)
@@ -202,7 +213,7 @@ Class | Method | HTTP request | Description
202
213
  - [MergeTicketingClient::RemoteData](docs/RemoteData.md)
203
214
  - [MergeTicketingClient::RemoteField](docs/RemoteField.md)
204
215
  - [MergeTicketingClient::RemoteFieldClass](docs/RemoteFieldClass.md)
205
- - [MergeTicketingClient::RemoteFieldClassItemSchema](docs/RemoteFieldClassItemSchema.md)
216
+ - [MergeTicketingClient::RemoteFieldRequest](docs/RemoteFieldRequest.md)
206
217
  - [MergeTicketingClient::RemoteKey](docs/RemoteKey.md)
207
218
  - [MergeTicketingClient::RemoteKeyForRegenerationRequest](docs/RemoteKeyForRegenerationRequest.md)
208
219
  - [MergeTicketingClient::RemoteResponse](docs/RemoteResponse.md)
@@ -226,10 +237,14 @@ Class | Method | HTTP request | Description
226
237
  - [MergeTicketingClient::WebhookReceiver](docs/WebhookReceiver.md)
227
238
  - [MergeTicketingClient::WebhookReceiverRequest](docs/WebhookReceiverRequest.md)
228
239
 
240
+
229
241
  ## Documentation for Authorization
230
242
 
243
+
231
244
  ### tokenAuth
232
245
 
246
+
233
247
  - **Type**: API key
234
248
  - **API key parameter name**: Authorization
235
249
  - **Location**: HTTP header
250
+
@@ -0,0 +1,15 @@
1
+ # MergeTicketingClient::AccessLevelEnum
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::AccessLevelEnum.new()
14
+ ```
15
+
data/docs/Account.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 account&#39;s name. | [optional] |
10
- | **domains** | **Array&lt;String&gt;** | The account&#39;s domain names. | [optional] |
11
- | **remote_data** | [**Array&lt;RemoteData&gt;**](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&lt;String, Object&gt;**](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 account&#39;s name. | [optional] |
10
+ | **domains** | **Array&lt;String&gt;** | The account&#39;s domain names. | [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&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
14
+ | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
14
15
 
15
16
  ## Example
16
17
 
@@ -22,8 +23,10 @@ instance = MergeTicketingClient::Account.new(
22
23
  remote_id: 19202938,
23
24
  name: Waystar Royco,
24
25
  domains: [&quot;waystar-royco.com&quot;,&quot;royco.com&quot;],
25
- remote_data: null,
26
26
  remote_was_deleted: null,
27
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}}
27
+ modified_at: 2021-10-16T00:00Z,
28
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
29
+ remote_data: null
28
30
  )
29
31
  ```
32
+
@@ -10,6 +10,8 @@
10
10
  | **square_image** | **String** | Company logo in square shape. &lt;b&gt;Upload an image with a white background.&lt;/b&gt; | [optional] |
11
11
  | **color** | **String** | The color of this integration used for buttons and text throughout the app and landing pages. &lt;b&gt;Choose a darker, saturated color.&lt;/b&gt; | [optional] |
12
12
  | **slug** | **String** | | [optional][readonly] |
13
+ | **is_in_beta** | **Boolean** | If checked, this integration will not appear in the linking flow, and will appear elsewhere with a Beta tag. | [optional] |
14
+ | **api_endpoints_to_documentation_urls** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | Mapping of API endpoints to documentation urls for support. Example: {&#39;GET&#39;: [[&#39;/common-model-scopes&#39;, &#39;https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve&#39;],[&#39;/common-model-actions&#39;, &#39;https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve&#39;]], &#39;POST&#39;: []} | [optional] |
13
15
 
14
16
  ## Example
15
17
 
@@ -22,7 +24,9 @@ instance = MergeTicketingClient::AccountIntegration.new(
22
24
  image: null,
23
25
  square_image: null,
24
26
  color: null,
25
- slug: null
27
+ slug: null,
28
+ is_in_beta: null,
29
+ api_endpoints_to_documentation_urls: null
26
30
  )
27
31
  ```
28
32
 
data/docs/AccountsApi.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&#39;s ID for the given object. | [optional] |
87
87
 
@@ -0,0 +1,155 @@
1
+ # MergeTicketingClient::AsyncPassthroughApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/ticketing/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**async_passthrough_create**](AsyncPassthroughApi.md#async_passthrough_create) | **POST** /async-passthrough | |
8
+ | [**async_passthrough_retrieve**](AsyncPassthroughApi.md#async_passthrough_retrieve) | **GET** /async-passthrough/{async_passthrough_receipt_id} | |
9
+
10
+
11
+ ## async_passthrough_create
12
+
13
+ > <AsyncPassthroughReciept> async_passthrough_create(x_account_token, data_passthrough_request)
14
+
15
+
16
+
17
+ Asynchronously pull data from an endpoint not currently supported by Merge.
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::AsyncPassthroughApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ data_passthrough_request = MergeTicketingClient::DataPassthroughRequest.new({method: MergeTicketingClient::MethodEnum::GET, path: '/scooters'}) # DataPassthroughRequest |
35
+
36
+ begin
37
+
38
+ result = api_instance.async_passthrough_create(x_account_token, data_passthrough_request)
39
+ p result
40
+ rescue MergeTicketingClient::ApiError => e
41
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_create: #{e}"
42
+ end
43
+ ```
44
+
45
+ #### Using the async_passthrough_create_with_http_info variant
46
+
47
+ This returns an Array which contains the response data, status code and headers.
48
+
49
+ > <Array(<AsyncPassthroughReciept>, Integer, Hash)> async_passthrough_create_with_http_info(x_account_token, data_passthrough_request)
50
+
51
+ ```ruby
52
+ begin
53
+
54
+ data, status_code, headers = api_instance.async_passthrough_create_with_http_info(x_account_token, data_passthrough_request)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => <AsyncPassthroughReciept>
58
+ rescue MergeTicketingClient::ApiError => e
59
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_create_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **x_account_token** | **String** | Token identifying the end user. | |
68
+ | **data_passthrough_request** | [**DataPassthroughRequest**](DataPassthroughRequest.md) | | |
69
+
70
+ ### Return type
71
+
72
+ [**AsyncPassthroughReciept**](AsyncPassthroughReciept.md)
73
+
74
+ ### Authorization
75
+
76
+ [tokenAuth](../README.md#tokenAuth)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## async_passthrough_retrieve
85
+
86
+ > <RemoteResponse> async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id)
87
+
88
+
89
+
90
+ Retrieves data from earlier async-passthrough POST request
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'merge_ticketing_client'
97
+ # setup authorization
98
+ MergeTicketingClient.configure do |config|
99
+ # Configure API key authorization: tokenAuth
100
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
101
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
102
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
103
+ end
104
+
105
+ api_instance = MergeTicketingClient::AsyncPassthroughApi.new
106
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
107
+ async_passthrough_receipt_id = TODO # String |
108
+
109
+ begin
110
+
111
+ result = api_instance.async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id)
112
+ p result
113
+ rescue MergeTicketingClient::ApiError => e
114
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_retrieve: #{e}"
115
+ end
116
+ ```
117
+
118
+ #### Using the async_passthrough_retrieve_with_http_info variant
119
+
120
+ This returns an Array which contains the response data, status code and headers.
121
+
122
+ > <Array(<RemoteResponse>, Integer, Hash)> async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id)
123
+
124
+ ```ruby
125
+ begin
126
+
127
+ data, status_code, headers = api_instance.async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id)
128
+ p status_code # => 2xx
129
+ p headers # => { ... }
130
+ p data # => <RemoteResponse>
131
+ rescue MergeTicketingClient::ApiError => e
132
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_retrieve_with_http_info: #{e}"
133
+ end
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ | Name | Type | Description | Notes |
139
+ | ---- | ---- | ----------- | ----- |
140
+ | **x_account_token** | **String** | Token identifying the end user. | |
141
+ | **async_passthrough_receipt_id** | [**String**](.md) | | |
142
+
143
+ ### Return type
144
+
145
+ [**RemoteResponse**](RemoteResponse.md)
146
+
147
+ ### Authorization
148
+
149
+ [tokenAuth](../README.md#tokenAuth)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
@@ -0,0 +1,18 @@
1
+ # MergeTicketingClient::AsyncPassthroughReciept
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **async_passthrough_receipt_id** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_ticketing_client'
13
+
14
+ instance = MergeTicketingClient::AsyncPassthroughReciept.new(
15
+ async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd
16
+ )
17
+ ```
18
+
data/docs/Attachment.md CHANGED
@@ -2,19 +2,20 @@
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
- | **file_name** | **String** | The attachment&#39;s name. | [optional] |
10
- | **ticket** | **String** | The ticket associated with the attachment. | [optional] |
11
- | **file_url** | **String** | The attachment&#39;s url. | [optional] |
12
- | **content_type** | **String** | The attachment&#39;s file format. | [optional] |
13
- | **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
14
- | **remote_created_at** | **Time** | When the third party&#39;s attachment was created. | [optional] |
15
- | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
16
- | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
17
- | **field_mappings** | [**Hash&lt;String, Object&gt;**](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
+ | **file_name** | **String** | The attachment&#39;s name. It is required to include the file extension in the attachment&#39;s name. | [optional] |
10
+ | **ticket** | **String** | The ticket associated with the attachment. | [optional] |
11
+ | **file_url** | **String** | The attachment&#39;s url. It is required to include the file extension in the file&#39;s URL. | [optional] |
12
+ | **content_type** | **String** | The attachment&#39;s file format. | [optional] |
13
+ | **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
14
+ | **remote_created_at** | **Time** | When the third party&#39;s attachment was created. | [optional] |
15
+ | **remote_was_deleted** | **Boolean** | | [optional][readonly] |
16
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
17
+ | **field_mappings** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional][readonly] |
18
+ | **remote_data** | [**Array&lt;RemoteData&gt;**](RemoteData.md) | | [optional][readonly] |
18
19
 
19
20
  ## Example
20
21
 
@@ -30,8 +31,10 @@ instance = MergeTicketingClient::Attachment.new(
30
31
  content_type: jpeg,
31
32
  uploaded_by: 28b54125-287f-494d-965e-3c5b330c9a68,
32
33
  remote_created_at: 2022-11-10T00:00Z,
33
- remote_data: null,
34
34
  remote_was_deleted: null,
35
- field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}}
35
+ modified_at: 2021-10-16T00:00Z,
36
+ field_mappings: {&quot;organization_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;},&quot;linked_account_defined_targets&quot;:{&quot;custom_key&quot;:&quot;custom_value&quot;}},
37
+ remote_data: null
36
38
  )
37
39
  ```
40
+
@@ -2,15 +2,15 @@
2
2
 
3
3
  ## Properties
4
4
 
5
- | Name | Type | Description | Notes |
6
- | ------------------------- | ------------------------------------------- | ------------------------------------------ | ---------- |
7
- | **file_name** | **String** | The attachment&#39;s name. | [optional] |
8
- | **ticket** | **String** | The ticket associated with the attachment. | [optional] |
9
- | **file_url** | **String** | The attachment&#39;s url. | [optional] |
10
- | **content_type** | **String** | The attachment&#39;s file format. | [optional] |
11
- | **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
12
- | **integration_params** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
13
- | **linked_account_params** | [**Hash&lt;String, Object&gt;**](Object.md) | | [optional] |
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **file_name** | **String** | The attachment&#39;s name. It is required to include the file extension in the attachment&#39;s name. | [optional] |
8
+ | **ticket** | **String** | The ticket associated with the attachment. | [optional] |
9
+ | **file_url** | **String** | The attachment&#39;s url. It is required to include the file extension in the file&#39;s URL. | [optional] |
10
+ | **content_type** | **String** | The attachment&#39;s file format. | [optional] |
11
+ | **uploaded_by** | **String** | The user who uploaded the attachment. | [optional] |
12
+ | **integration_params** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional] |
13
+ | **linked_account_params** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional] |
14
14
 
15
15
  ## Example
16
16
 
@@ -27,3 +27,4 @@ instance = MergeTicketingClient::AttachmentRequest.new(
27
27
  linked_account_params: {&quot;unique_linked_account_field&quot;:&quot;unique_linked_account_field_value&quot;}
28
28
  )
29
29
  ```
30
+