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
@@ -46,6 +46,18 @@ describe 'AttachmentsApi' do
46
46
  end
47
47
  end
48
48
 
49
+ # unit tests for attachments_download_retrieve
50
+ # Returns an `Attachment` object with the given `id`.
51
+ # @param x_account_token Token identifying the end user.
52
+ # @param id
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [File]
55
+ describe 'attachments_download_retrieve test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
49
61
  # unit tests for attachments_list
50
62
  # Returns a list of `Attachment` objects.
51
63
  # @param x_account_token Token identifying the end user.
@@ -56,9 +68,10 @@ describe 'AttachmentsApi' do
56
68
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
69
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
70
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
60
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
71
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
72
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
61
73
  # @option opts [Integer] :page_size Number of results to return per page.
74
+ # @option opts [Time] :remote_created_after If provided, will only return attachments created in the third party platform after this datetime.
62
75
  # @option opts [String] :remote_id The API provider's ID for the given object.
63
76
  # @option opts [String] :ticket_id If provided, will only return comments for this ticket.
64
77
  # @return [PaginatedAttachmentList]
@@ -36,15 +36,15 @@ describe 'CollectionsApi' do
36
36
  # Returns a list of `Collection` objects.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
- # @option opts [String] :collection_type If provided, will only return collections of the given type.
39
+ # @option opts [String] :collection_type If provided, will only return collections of the given type. * `LIST` - LIST * `PROJECT` - PROJECT
40
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
41
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
42
42
  # @option opts [String] :cursor The pagination cursor value.
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :parent_collection_id If provided, will only return collections whose parent collection matches the given id.
50
50
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
@@ -73,4 +73,21 @@ describe 'CollectionsApi' do
73
73
  end
74
74
  end
75
75
 
76
+ # unit tests for collections_users_list
77
+ # Returns a list of `User` objects.
78
+ # @param x_account_token Token identifying the end user.
79
+ # @param parent_id
80
+ # @param [Hash] opts the optional parameters
81
+ # @option opts [String] :cursor The pagination cursor value.
82
+ # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
83
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
84
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
85
+ # @option opts [Integer] :page_size Number of results to return per page.
86
+ # @return [PaginatedUserList]
87
+ describe 'collections_users_list test' do
88
+ it 'should work' do
89
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
90
+ end
91
+ end
92
+
76
93
  end
@@ -56,9 +56,10 @@ describe 'CommentsApi' do
56
56
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
57
57
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
58
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
60
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
59
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
60
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
61
61
  # @option opts [Integer] :page_size Number of results to return per page.
62
+ # @option opts [Time] :remote_created_after If provided, will only return Comments created in the third party platform after this datetime.
62
63
  # @option opts [String] :remote_id The API provider's ID for the given object.
63
64
  # @option opts [String] :ticket_id If provided, will only return comments for this ticket.
64
65
  # @return [PaginatedCommentList]
@@ -42,8 +42,8 @@ describe 'ContactsApi' do
42
42
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
43
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
44
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
46
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
47
47
  # @option opts [Integer] :page_size Number of results to return per page.
48
48
  # @option opts [String] :remote_id The API provider's ID for the given object.
49
49
  # @return [PaginatedContactList]
@@ -32,12 +32,12 @@ describe 'DeleteAccountApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for delete_account_create
35
+ # unit tests for delete_account_delete
36
36
  # Delete a linked account.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [nil]
40
- describe 'delete_account_create test' do
40
+ describe 'delete_account_delete test' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
43
  end
@@ -33,7 +33,7 @@ describe 'ForceResyncApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_resync_create
36
- # Force re-sync of all models. This is only available for organizations on Merge's Grow and Expand plans.
36
+ # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<SyncStatus>]
@@ -43,11 +43,11 @@ describe 'IssuesApi' do
43
43
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
44
44
  # @option opts [String] :include_muted If True, will include muted issues
45
45
  # @option opts [String] :integration_name
46
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
47
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
46
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
47
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
50
- # @option opts [String] :status
50
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
51
51
  # @return [PaginatedIssueList]
52
52
  describe 'issues_list test' do
53
53
  it 'should work' do
@@ -35,7 +35,7 @@ describe 'LinkedAccountsApi' do
35
35
  # unit tests for linked_accounts_list
36
36
  # List linked accounts for your organization.
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :category
38
+ # @option opts [String] :category Options: (&#39;hris&#39;, &#39;ats&#39;, &#39;accounting&#39;, &#39;ticketing&#39;, &#39;crm&#39;, &#39;mktg&#39;, &#39;filestorage&#39;) * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage
39
39
  # @option opts [String] :cursor The pagination cursor value.
40
40
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
41
41
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -41,8 +41,8 @@ describe 'ProjectsApi' do
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
42
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
43
43
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
45
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
44
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
45
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
46
46
  # @option opts [Integer] :page_size Number of results to return per page.
47
47
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
48
48
  # @return [PaginatedProjectList]
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_list
36
- # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;, &#x60;PARTIALLY_SYNCED&#x60;
36
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PARTIALLY_SYNCED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :cursor The pagination cursor value.
@@ -41,8 +41,8 @@ describe 'TagsApi' do
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
42
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
43
43
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
45
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
44
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
45
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
46
46
  # @option opts [Integer] :page_size Number of results to return per page.
47
47
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
48
48
  # @return [PaginatedTagList]
@@ -41,8 +41,8 @@ describe 'TeamsApi' do
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
42
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
43
43
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
44
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
45
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
44
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
45
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
46
46
  # @option opts [Integer] :page_size Number of results to return per page.
47
47
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
48
48
  # @return [PaginatedTeamList]
@@ -81,11 +81,12 @@ describe 'TicketsApi' do
81
81
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
82
82
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
83
83
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
84
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
85
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
84
+ # @option opts [Boolean] :include_remote_fields Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
85
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
86
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
86
87
  # @option opts [Integer] :page_size Number of results to return per page.
87
88
  # @option opts [String] :parent_ticket_id If provided, will only return sub tickets of the parent_ticket_id.
88
- # @option opts [String] :priority If provided, will only return tickets of this priority.
89
+ # @option opts [String] :priority If provided, will only return tickets of this priority. * &#x60;URGENT&#x60; - URGENT * &#x60;HIGH&#x60; - HIGH * &#x60;NORMAL&#x60; - NORMAL * &#x60;LOW&#x60; - LOW
89
90
  # @option opts [String] :project_id If provided, will only return tickets for this project.
90
91
  # @option opts [Time] :remote_created_after If provided, will only return tickets created in the third party platform after this datetime.
91
92
  # @option opts [Time] :remote_created_before If provided, will only return tickets created in the third party platform before this datetime.
@@ -94,7 +95,7 @@ describe 'TicketsApi' do
94
95
  # @option opts [Time] :remote_updated_after If provided, will only return tickets updated in the third party platform after this datetime.
95
96
  # @option opts [Time] :remote_updated_before If provided, will only return tickets updated in the third party platform before this datetime.
96
97
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
97
- # @option opts [String] :status If provided, will only return tickets of this status.
98
+ # @option opts [String] :status If provided, will only return tickets of this status. * &#x60;OPEN&#x60; - OPEN * &#x60;CLOSED&#x60; - CLOSED * &#x60;IN_PROGRESS&#x60; - IN_PROGRESS * &#x60;ON_HOLD&#x60; - ON_HOLD
98
99
  # @option opts [String] :tags If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
99
100
  # @option opts [String] :ticket_type If provided, will only return tickets of this type.
100
101
  # @return [PaginatedTicketList]
@@ -142,6 +143,21 @@ describe 'TicketsApi' do
142
143
  end
143
144
  end
144
145
 
146
+ # unit tests for tickets_remote_field_classes_list
147
+ # Returns a list of &#x60;RemoteFieldClass&#x60; objects.
148
+ # @param x_account_token Token identifying the end user.
149
+ # @param [Hash] opts the optional parameters
150
+ # @option opts [String] :cursor The pagination cursor value.
151
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
152
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
153
+ # @option opts [Integer] :page_size Number of results to return per page.
154
+ # @return [PaginatedRemoteFieldClassList]
155
+ describe 'tickets_remote_field_classes_list test' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
145
161
  # unit tests for tickets_retrieve
146
162
  # Returns a &#x60;Ticket&#x60; object with the given &#x60;id&#x60;.
147
163
  # @param x_account_token Token identifying the end user.
@@ -149,6 +165,7 @@ describe 'TicketsApi' do
149
165
  # @param [Hash] opts the optional parameters
150
166
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
151
167
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
168
+ # @option opts [Boolean] :include_remote_fields Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
152
169
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
153
170
  # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
154
171
  # @return [Ticket]
@@ -43,8 +43,8 @@ describe 'UsersApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @return [PaginatedUserList]
@@ -0,0 +1,28 @@
1
+ =begin
2
+ #Merge Ticketing API
3
+
4
+ #The unified API for building rich integrations with multiple Ticketing platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeTicketingClient::AccessLevelEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::AccessLevelEnum do
21
+ let(:instance) { MergeTicketingClient::AccessLevelEnum.new }
22
+
23
+ describe 'test an instance of AccessLevelEnum' do
24
+ it 'should create an instance of AccessLevelEnum' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::AccessLevelEnum)
26
+ end
27
+ end
28
+ end
@@ -61,4 +61,16 @@ describe MergeTicketingClient::AccountIntegration do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "is_in_beta"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "api_endpoints_to_documentation_urls"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
64
76
  end
@@ -49,13 +49,13 @@ describe MergeTicketingClient::Account do
49
49
  end
50
50
  end
51
51
 
52
- describe 'test attribute "remote_data"' do
52
+ describe 'test attribute "remote_was_deleted"' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
55
  end
56
56
  end
57
57
 
58
- describe 'test attribute "remote_was_deleted"' do
58
+ describe 'test attribute "modified_at"' do
59
59
  it 'should work' do
60
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
61
  end
@@ -67,4 +67,10 @@ describe MergeTicketingClient::Account do
67
67
  end
68
68
  end
69
69
 
70
+ describe 'test attribute "remote_data"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
70
76
  end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Merge Ticketing API
3
+
4
+ #The unified API for building rich integrations with multiple Ticketing platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeTicketingClient::AsyncPassthroughReciept
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::AsyncPassthroughReciept do
21
+ let(:instance) { MergeTicketingClient::AsyncPassthroughReciept.new }
22
+
23
+ describe 'test an instance of AsyncPassthroughReciept' do
24
+ it 'should create an instance of AsyncPassthroughReciept' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::AsyncPassthroughReciept)
26
+ end
27
+ end
28
+ describe 'test attribute "async_passthrough_receipt_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -25,12 +25,6 @@ describe MergeTicketingClient::AttachmentRequest do
25
25
  expect(instance).to be_instance_of(MergeTicketingClient::AttachmentRequest)
26
26
  end
27
27
  end
28
- describe 'test attribute "remote_id"' do
29
- it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- end
32
- end
33
-
34
28
  describe 'test attribute "file_name"' do
35
29
  it 'should work' do
36
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,12 +55,6 @@ describe MergeTicketingClient::AttachmentRequest do
61
55
  end
62
56
  end
63
57
 
64
- describe 'test attribute "remote_created_at"' do
65
- it 'should work' do
66
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
- end
68
- end
69
-
70
58
  describe 'test attribute "integration_params"' do
71
59
  it 'should work' do
72
60
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -73,13 +73,13 @@ describe MergeTicketingClient::Attachment do
73
73
  end
74
74
  end
75
75
 
76
- describe 'test attribute "remote_data"' do
76
+ describe 'test attribute "remote_was_deleted"' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
79
  end
80
80
  end
81
81
 
82
- describe 'test attribute "remote_was_deleted"' do
82
+ describe 'test attribute "modified_at"' do
83
83
  it 'should work' do
84
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
85
  end
@@ -91,4 +91,10 @@ describe MergeTicketingClient::Attachment do
91
91
  end
92
92
  end
93
93
 
94
+ describe 'test attribute "remote_data"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
94
100
  end
@@ -61,13 +61,19 @@ describe MergeTicketingClient::Collection do
61
61
  end
62
62
  end
63
63
 
64
- describe 'test attribute "remote_data"' do
64
+ describe 'test attribute "remote_was_deleted"' do
65
65
  it 'should work' do
66
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
67
  end
68
68
  end
69
69
 
70
- describe 'test attribute "remote_was_deleted"' do
70
+ describe 'test attribute "access_level"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "modified_at"' do
71
77
  it 'should work' do
72
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
79
  end
@@ -79,4 +85,10 @@ describe MergeTicketingClient::Collection do
79
85
  end
80
86
  end
81
87
 
88
+ describe 'test attribute "remote_data"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
82
94
  end
@@ -25,12 +25,6 @@ describe MergeTicketingClient::CommentRequest do
25
25
  expect(instance).to be_instance_of(MergeTicketingClient::CommentRequest)
26
26
  end
27
27
  end
28
- describe 'test attribute "remote_id"' do
29
- it 'should work' do
30
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
- end
32
- end
33
-
34
28
  describe 'test attribute "user"' do
35
29
  it 'should work' do
36
30
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -67,12 +61,6 @@ describe MergeTicketingClient::CommentRequest do
67
61
  end
68
62
  end
69
63
 
70
- describe 'test attribute "remote_created_at"' do
71
- it 'should work' do
72
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
- end
74
- end
75
-
76
64
  describe 'test attribute "integration_params"' do
77
65
  it 'should work' do
78
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -79,13 +79,13 @@ describe MergeTicketingClient::Comment do
79
79
  end
80
80
  end
81
81
 
82
- describe 'test attribute "remote_data"' do
82
+ describe 'test attribute "remote_was_deleted"' do
83
83
  it 'should work' do
84
84
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
85
  end
86
86
  end
87
87
 
88
- describe 'test attribute "remote_was_deleted"' do
88
+ describe 'test attribute "modified_at"' do
89
89
  it 'should work' do
90
90
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
91
  end
@@ -97,4 +97,10 @@ describe MergeTicketingClient::Comment do
97
97
  end
98
98
  end
99
99
 
100
+ describe 'test attribute "remote_data"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
100
106
  end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Merge Ticketing API
3
+
4
+ #The unified API for building rich integrations with multiple Ticketing platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeTicketingClient::CommonModelScopesBodyRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::CommonModelScopesBodyRequest do
21
+ let(:instance) { MergeTicketingClient::CommonModelScopesBodyRequest.new }
22
+
23
+ describe 'test an instance of CommonModelScopesBodyRequest' do
24
+ it 'should create an instance of CommonModelScopesBodyRequest' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::CommonModelScopesBodyRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "model_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "enabled_actions"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "disabled_fields"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -67,13 +67,13 @@ describe MergeTicketingClient::Contact do
67
67
  end
68
68
  end
69
69
 
70
- describe 'test attribute "remote_data"' do
70
+ describe 'test attribute "remote_was_deleted"' do
71
71
  it 'should work' do
72
72
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
73
  end
74
74
  end
75
75
 
76
- describe 'test attribute "remote_was_deleted"' do
76
+ describe 'test attribute "modified_at"' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
79
  end
@@ -85,4 +85,10 @@ describe MergeTicketingClient::Contact do
85
85
  end
86
86
  end
87
87
 
88
+ describe 'test attribute "remote_data"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
88
94
  end
@@ -0,0 +1,28 @@
1
+ =begin
2
+ #Merge Ticketing API
3
+
4
+ #The unified API for building rich integrations with multiple Ticketing platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeTicketingClient::EnabledActionsEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::EnabledActionsEnum do
21
+ let(:instance) { MergeTicketingClient::EnabledActionsEnum.new }
22
+
23
+ describe 'test an instance of EnabledActionsEnum' do
24
+ it 'should create an instance of EnabledActionsEnum' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::EnabledActionsEnum)
26
+ end
27
+ end
28
+ end
@@ -67,4 +67,10 @@ describe MergeTicketingClient::EndUserDetailsRequest do
67
67
  end
68
68
  end
69
69
 
70
+ describe 'test attribute "common_models"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
70
76
  end