merge_ticketing_client 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -6
  3. data/docs/Account.md +3 -1
  4. data/docs/AccountIntegration.md +1 -1
  5. data/docs/Attachment.md +5 -3
  6. data/docs/AttachmentRequest.md +7 -3
  7. data/docs/Collection.md +34 -0
  8. data/docs/CollectionTypeEnum.md +15 -0
  9. data/docs/CollectionsApi.md +193 -0
  10. data/docs/Comment.md +6 -4
  11. data/docs/CommentRequest.md +8 -4
  12. data/docs/ConditionSchema.md +30 -0
  13. data/docs/ConditionTypeEnum.md +15 -0
  14. data/docs/Contact.md +3 -1
  15. data/docs/DataPassthroughRequest.md +1 -1
  16. data/docs/EndUserDetailsRequest.md +2 -2
  17. data/docs/Issue.md +9 -7
  18. data/docs/LinkToken.md +1 -1
  19. data/docs/LinkedAccountCondition.md +28 -0
  20. data/docs/LinkedAccountConditionRequest.md +22 -0
  21. data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
  22. data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
  23. data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
  24. data/docs/OperatorSchema.md +20 -0
  25. data/docs/PaginatedCollectionList.md +22 -0
  26. data/docs/PaginatedConditionSchemaList.md +22 -0
  27. data/docs/PatchedTicketRequest.md +15 -7
  28. data/docs/Project.md +3 -1
  29. data/docs/ProjectsApi.md +10 -8
  30. data/docs/SelectiveSyncApi.md +233 -0
  31. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  32. data/docs/SyncStatus.md +5 -3
  33. data/docs/Tag.md +3 -1
  34. data/docs/Team.md +3 -1
  35. data/docs/Ticket.md +13 -7
  36. data/docs/TicketRequest.md +15 -7
  37. data/docs/TicketsApi.md +53 -13
  38. data/docs/User.md +3 -1
  39. data/docs/UsersApi.md +2 -0
  40. data/lib/merge_ticketing_client/api/collections_api.rb +234 -0
  41. data/lib/merge_ticketing_client/api/linked_accounts_api.rb +1 -1
  42. data/lib/merge_ticketing_client/api/projects_api.rb +14 -11
  43. data/lib/merge_ticketing_client/api/selective_sync_api.rb +225 -0
  44. data/lib/merge_ticketing_client/api/tickets_api.rb +94 -19
  45. data/lib/merge_ticketing_client/api/users_api.rb +3 -0
  46. data/lib/merge_ticketing_client/models/account.rb +16 -4
  47. data/lib/merge_ticketing_client/models/account_details_and_actions_status_enum.rb +1 -1
  48. data/lib/merge_ticketing_client/models/account_integration.rb +1 -1
  49. data/lib/merge_ticketing_client/models/attachment.rb +18 -4
  50. data/lib/merge_ticketing_client/models/attachment_request.rb +31 -5
  51. data/lib/merge_ticketing_client/models/categories_enum.rb +1 -1
  52. data/lib/merge_ticketing_client/models/category_enum.rb +1 -1
  53. data/lib/merge_ticketing_client/models/collection.rb +308 -0
  54. data/lib/merge_ticketing_client/models/collection_type_enum.rb +45 -0
  55. data/lib/merge_ticketing_client/models/comment.rb +19 -4
  56. data/lib/merge_ticketing_client/models/comment_request.rb +32 -5
  57. data/lib/merge_ticketing_client/models/condition_schema.rb +297 -0
  58. data/lib/merge_ticketing_client/models/condition_type_enum.rb +50 -0
  59. data/lib/merge_ticketing_client/models/contact.rb +16 -4
  60. data/lib/merge_ticketing_client/models/data_passthrough_request.rb +1 -0
  61. data/lib/merge_ticketing_client/models/encoding_enum.rb +1 -1
  62. data/lib/merge_ticketing_client/models/end_user_details_request.rb +2 -2
  63. data/lib/merge_ticketing_client/models/issue.rb +15 -4
  64. data/lib/merge_ticketing_client/models/link_token.rb +0 -5
  65. data/lib/merge_ticketing_client/models/linked_account_condition.rb +282 -0
  66. data/lib/merge_ticketing_client/models/linked_account_condition_request.rb +269 -0
  67. data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration.rb +221 -0
  68. data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
  69. data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
  70. data/lib/merge_ticketing_client/models/method_enum.rb +1 -1
  71. data/lib/merge_ticketing_client/models/operator_schema.rb +229 -0
  72. data/lib/merge_ticketing_client/models/paginated_collection_list.rb +240 -0
  73. data/lib/merge_ticketing_client/models/paginated_condition_schema_list.rb +240 -0
  74. data/lib/merge_ticketing_client/models/patched_ticket_request.rb +57 -7
  75. data/lib/merge_ticketing_client/models/priority_enum.rb +1 -1
  76. data/lib/merge_ticketing_client/models/project.rb +16 -4
  77. data/lib/merge_ticketing_client/models/request_format_enum.rb +1 -1
  78. data/lib/merge_ticketing_client/models/response_type_enum.rb +1 -1
  79. data/lib/merge_ticketing_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  80. data/lib/merge_ticketing_client/models/sync_status.rb +13 -4
  81. data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +1 -1
  82. data/lib/merge_ticketing_client/models/tag.rb +16 -4
  83. data/lib/merge_ticketing_client/models/team.rb +16 -4
  84. data/lib/merge_ticketing_client/models/ticket.rb +45 -7
  85. data/lib/merge_ticketing_client/models/ticket_request.rb +57 -7
  86. data/lib/merge_ticketing_client/models/ticket_status_enum.rb +1 -1
  87. data/lib/merge_ticketing_client/models/user.rb +16 -4
  88. data/lib/merge_ticketing_client/version.rb +1 -1
  89. data/lib/merge_ticketing_client.rb +15 -0
  90. data/spec/api/collections_api_spec.rb +76 -0
  91. data/spec/api/projects_api_spec.rb +3 -2
  92. data/spec/api/selective_sync_api_spec.rb +72 -0
  93. data/spec/api/tickets_api_spec.rb +24 -4
  94. data/spec/api/users_api_spec.rb +1 -0
  95. data/spec/models/account_spec.rb +6 -0
  96. data/spec/models/attachment_request_spec.rb +12 -0
  97. data/spec/models/attachment_spec.rb +6 -0
  98. data/spec/models/collection_spec.rb +82 -0
  99. data/spec/models/collection_type_enum_spec.rb +28 -0
  100. data/spec/models/comment_request_spec.rb +12 -0
  101. data/spec/models/comment_spec.rb +6 -0
  102. data/spec/models/condition_schema_spec.rb +70 -0
  103. data/spec/models/condition_type_enum_spec.rb +28 -0
  104. data/spec/models/contact_spec.rb +6 -0
  105. data/spec/models/issue_spec.rb +6 -0
  106. data/spec/models/linked_account_condition_request_spec.rb +46 -0
  107. data/spec/models/linked_account_condition_spec.rb +64 -0
  108. data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
  109. data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
  110. data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
  111. data/spec/models/operator_schema_spec.rb +40 -0
  112. data/spec/models/paginated_collection_list_spec.rb +46 -0
  113. data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
  114. data/spec/models/patched_ticket_request_spec.rb +24 -0
  115. data/spec/models/project_spec.rb +6 -0
  116. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  117. data/spec/models/sync_status_spec.rb +6 -0
  118. data/spec/models/tag_spec.rb +6 -0
  119. data/spec/models/team_spec.rb +6 -0
  120. data/spec/models/ticket_request_spec.rb +24 -0
  121. data/spec/models/ticket_spec.rb +18 -0
  122. data/spec/models/user_spec.rb +6 -0
  123. metadata +132 -72
@@ -33,12 +33,13 @@ describe 'TicketsApi' do
33
33
  end
34
34
 
35
35
  # unit tests for tickets_collaborators_list
36
- # Returns a `User` object with the given `id`.
36
+ # Returns a list of `User` objects.
37
37
  # @param x_account_token Token identifying the end user.
38
- # @param id
38
+ # @param parent_id
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :cursor The pagination cursor value.
41
41
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
42
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
42
43
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
43
44
  # @option opts [Integer] :page_size Number of results to return per page.
44
45
  # @return [PaginatedUserList]
@@ -67,18 +68,35 @@ describe 'TicketsApi' do
67
68
  # @param x_account_token Token identifying the end user.
68
69
  # @param [Hash] opts the optional parameters
69
70
  # @option opts [String] :account_id If provided, will only return tickets for this account.
71
+ # @option opts [String] :assignee_ids If provided, will only return tickets assigned to the assignee_ids; multiple assignee_ids can be separated by commas.
72
+ # @option opts [String] :collection_ids If provided, will only return tickets assigned to the collection_ids; multiple collection_ids can be separated by commas.
73
+ # @option opts [Time] :completed_after If provided, will only return tickets completed after this datetime.
74
+ # @option opts [Time] :completed_before If provided, will only return tickets completed before this datetime.
75
+ # @option opts [String] :contact_id If provided, will only return tickets for this contact.
70
76
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
71
77
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
72
78
  # @option opts [String] :cursor The pagination cursor value.
79
+ # @option opts [Time] :due_after If provided, will only return tickets due after this datetime.
80
+ # @option opts [Time] :due_before If provided, will only return tickets due before this datetime.
73
81
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
74
82
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
75
83
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
76
84
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
77
85
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
78
86
  # @option opts [Integer] :page_size Number of results to return per page.
87
+ # @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.
79
89
  # @option opts [String] :project_id If provided, will only return tickets for this project.
80
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
90
+ # @option opts [Time] :remote_created_after If provided, will only return tickets created in the third party platform after this datetime.
91
+ # @option opts [Time] :remote_created_before If provided, will only return tickets created in the third party platform before this datetime.
92
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
81
93
  # @option opts [String] :remote_id The API provider's ID for the given object.
94
+ # @option opts [Time] :remote_updated_after If provided, will only return tickets updated in the third party platform after this datetime.
95
+ # @option opts [Time] :remote_updated_before If provided, will only return tickets updated in the third party platform before this datetime.
96
+ # @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] :tags If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
99
+ # @option opts [String] :ticket_type If provided, will only return tickets of this type.
82
100
  # @return [PaginatedTicketList]
83
101
  describe 'tickets_list test' do
84
102
  it 'should work' do
@@ -110,6 +128,7 @@ describe 'TicketsApi' do
110
128
  end
111
129
 
112
130
  # unit tests for tickets_partial_update
131
+ # Updates a `Ticket` object with the given `id`.
113
132
  # @param x_account_token Token identifying the end user.
114
133
  # @param id
115
134
  # @param patched_ticket_endpoint_request
@@ -130,7 +149,8 @@ describe 'TicketsApi' do
130
149
  # @param [Hash] opts the optional parameters
131
150
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
132
151
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
133
- # @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
152
+ # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
153
+ # @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
134
154
  # @return [Ticket]
135
155
  describe 'tickets_retrieve test' do
136
156
  it 'should work' do
@@ -39,6 +39,7 @@ describe 'UsersApi' do
39
39
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
40
40
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
41
  # @option opts [String] :cursor The pagination cursor value.
42
+ # @option opts [String] :email_address If provided, will only return users with emails equal to this value (case insensitive).
42
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
@@ -61,4 +61,10 @@ describe MergeTicketingClient::Account do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "field_mappings"' 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
+
64
70
  end
@@ -67,4 +67,16 @@ describe MergeTicketingClient::AttachmentRequest do
67
67
  end
68
68
  end
69
69
 
70
+ describe 'test attribute "integration_params"' 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 "linked_account_params"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
70
82
  end
@@ -85,4 +85,10 @@ describe MergeTicketingClient::Attachment do
85
85
  end
86
86
  end
87
87
 
88
+ describe 'test attribute "field_mappings"' 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,82 @@
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::Collection
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::Collection do
21
+ let(:instance) { MergeTicketingClient::Collection.new }
22
+
23
+ describe 'test an instance of Collection' do
24
+ it 'should create an instance of Collection' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::Collection)
26
+ end
27
+ end
28
+ describe 'test attribute "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 "remote_id"' 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 "name"' 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
+ describe 'test attribute "description"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "collection_type"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "parent_collection"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "remote_data"' 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 "remote_was_deleted"' 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 "field_mappings"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ 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::CollectionTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::CollectionTypeEnum do
21
+ let(:instance) { MergeTicketingClient::CollectionTypeEnum.new }
22
+
23
+ describe 'test an instance of CollectionTypeEnum' do
24
+ it 'should create an instance of CollectionTypeEnum' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::CollectionTypeEnum)
26
+ end
27
+ end
28
+ end
@@ -73,4 +73,16 @@ describe MergeTicketingClient::CommentRequest do
73
73
  end
74
74
  end
75
75
 
76
+ describe 'test attribute "integration_params"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "linked_account_params"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
76
88
  end
@@ -91,4 +91,10 @@ describe MergeTicketingClient::Comment do
91
91
  end
92
92
  end
93
93
 
94
+ describe 'test attribute "field_mappings"' 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
@@ -0,0 +1,70 @@
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::ConditionSchema
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::ConditionSchema do
21
+ let(:instance) { MergeTicketingClient::ConditionSchema.new }
22
+
23
+ describe 'test an instance of ConditionSchema' do
24
+ it 'should create an instance of ConditionSchema' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::ConditionSchema)
26
+ end
27
+ end
28
+ describe 'test attribute "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 "common_model"' 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 "native_name"' 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
+ describe 'test attribute "field_name"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "is_unique"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "condition_type"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "operators"' 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
+ 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::ConditionTypeEnum
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::ConditionTypeEnum do
21
+ let(:instance) { MergeTicketingClient::ConditionTypeEnum.new }
22
+
23
+ describe 'test an instance of ConditionTypeEnum' do
24
+ it 'should create an instance of ConditionTypeEnum' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::ConditionTypeEnum)
26
+ end
27
+ end
28
+ end
@@ -79,4 +79,10 @@ describe MergeTicketingClient::Contact do
79
79
  end
80
80
  end
81
81
 
82
+ describe 'test attribute "field_mappings"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
82
88
  end
@@ -67,4 +67,10 @@ describe MergeTicketingClient::Issue do
67
67
  end
68
68
  end
69
69
 
70
+ describe 'test attribute "error_details"' 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,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::LinkedAccountConditionRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::LinkedAccountConditionRequest do
21
+ let(:instance) { MergeTicketingClient::LinkedAccountConditionRequest.new }
22
+
23
+ describe 'test an instance of LinkedAccountConditionRequest' do
24
+ it 'should create an instance of LinkedAccountConditionRequest' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::LinkedAccountConditionRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "condition_schema_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 "operator"' 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 "value"' 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
@@ -0,0 +1,64 @@
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::LinkedAccountCondition
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::LinkedAccountCondition do
21
+ let(:instance) { MergeTicketingClient::LinkedAccountCondition.new }
22
+
23
+ describe 'test an instance of LinkedAccountCondition' do
24
+ it 'should create an instance of LinkedAccountCondition' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::LinkedAccountCondition)
26
+ end
27
+ end
28
+ describe 'test attribute "condition_schema_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 "common_model"' 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 "native_name"' 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
+ describe 'test attribute "operator"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "value"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "field_name"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ 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::LinkedAccountSelectiveSyncConfigurationListRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationListRequest do
21
+ let(:instance) { MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationListRequest.new }
22
+
23
+ describe 'test an instance of LinkedAccountSelectiveSyncConfigurationListRequest' do
24
+ it 'should create an instance of LinkedAccountSelectiveSyncConfigurationListRequest' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationListRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "sync_configurations"' 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
@@ -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::LinkedAccountSelectiveSyncConfigurationRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationRequest do
21
+ let(:instance) { MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationRequest.new }
22
+
23
+ describe 'test an instance of LinkedAccountSelectiveSyncConfigurationRequest' do
24
+ it 'should create an instance of LinkedAccountSelectiveSyncConfigurationRequest' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::LinkedAccountSelectiveSyncConfigurationRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "linked_account_conditions"' 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
@@ -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::LinkedAccountSelectiveSyncConfiguration
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::LinkedAccountSelectiveSyncConfiguration do
21
+ let(:instance) { MergeTicketingClient::LinkedAccountSelectiveSyncConfiguration.new }
22
+
23
+ describe 'test an instance of LinkedAccountSelectiveSyncConfiguration' do
24
+ it 'should create an instance of LinkedAccountSelectiveSyncConfiguration' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::LinkedAccountSelectiveSyncConfiguration)
26
+ end
27
+ end
28
+ describe 'test attribute "linked_account_conditions"' 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
@@ -0,0 +1,40 @@
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::OperatorSchema
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeTicketingClient::OperatorSchema do
21
+ let(:instance) { MergeTicketingClient::OperatorSchema.new }
22
+
23
+ describe 'test an instance of OperatorSchema' do
24
+ it 'should create an instance of OperatorSchema' do
25
+ expect(instance).to be_instance_of(MergeTicketingClient::OperatorSchema)
26
+ end
27
+ end
28
+ describe 'test attribute "operator"' 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 "is_unique"' 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
+ end