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.
- checksums.yaml +4 -4
- data/README.md +24 -6
- data/docs/Account.md +3 -1
- data/docs/AccountIntegration.md +1 -1
- data/docs/Attachment.md +5 -3
- data/docs/AttachmentRequest.md +7 -3
- data/docs/Collection.md +34 -0
- data/docs/CollectionTypeEnum.md +15 -0
- data/docs/CollectionsApi.md +193 -0
- data/docs/Comment.md +6 -4
- data/docs/CommentRequest.md +8 -4
- data/docs/ConditionSchema.md +30 -0
- data/docs/ConditionTypeEnum.md +15 -0
- data/docs/Contact.md +3 -1
- data/docs/DataPassthroughRequest.md +1 -1
- data/docs/EndUserDetailsRequest.md +2 -2
- data/docs/Issue.md +9 -7
- data/docs/LinkToken.md +1 -1
- data/docs/LinkedAccountCondition.md +28 -0
- data/docs/LinkedAccountConditionRequest.md +22 -0
- data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
- data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
- data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
- data/docs/OperatorSchema.md +20 -0
- data/docs/PaginatedCollectionList.md +22 -0
- data/docs/PaginatedConditionSchemaList.md +22 -0
- data/docs/PatchedTicketRequest.md +15 -7
- data/docs/Project.md +3 -1
- data/docs/ProjectsApi.md +10 -8
- data/docs/SelectiveSyncApi.md +233 -0
- data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
- data/docs/SyncStatus.md +5 -3
- data/docs/Tag.md +3 -1
- data/docs/Team.md +3 -1
- data/docs/Ticket.md +13 -7
- data/docs/TicketRequest.md +15 -7
- data/docs/TicketsApi.md +53 -13
- data/docs/User.md +3 -1
- data/docs/UsersApi.md +2 -0
- data/lib/merge_ticketing_client/api/collections_api.rb +234 -0
- data/lib/merge_ticketing_client/api/linked_accounts_api.rb +1 -1
- data/lib/merge_ticketing_client/api/projects_api.rb +14 -11
- data/lib/merge_ticketing_client/api/selective_sync_api.rb +225 -0
- data/lib/merge_ticketing_client/api/tickets_api.rb +94 -19
- data/lib/merge_ticketing_client/api/users_api.rb +3 -0
- data/lib/merge_ticketing_client/models/account.rb +16 -4
- data/lib/merge_ticketing_client/models/account_details_and_actions_status_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/account_integration.rb +1 -1
- data/lib/merge_ticketing_client/models/attachment.rb +18 -4
- data/lib/merge_ticketing_client/models/attachment_request.rb +31 -5
- data/lib/merge_ticketing_client/models/categories_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/category_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/collection.rb +308 -0
- data/lib/merge_ticketing_client/models/collection_type_enum.rb +45 -0
- data/lib/merge_ticketing_client/models/comment.rb +19 -4
- data/lib/merge_ticketing_client/models/comment_request.rb +32 -5
- data/lib/merge_ticketing_client/models/condition_schema.rb +297 -0
- data/lib/merge_ticketing_client/models/condition_type_enum.rb +50 -0
- data/lib/merge_ticketing_client/models/contact.rb +16 -4
- data/lib/merge_ticketing_client/models/data_passthrough_request.rb +1 -0
- data/lib/merge_ticketing_client/models/encoding_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/end_user_details_request.rb +2 -2
- data/lib/merge_ticketing_client/models/issue.rb +15 -4
- data/lib/merge_ticketing_client/models/link_token.rb +0 -5
- data/lib/merge_ticketing_client/models/linked_account_condition.rb +282 -0
- data/lib/merge_ticketing_client/models/linked_account_condition_request.rb +269 -0
- data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration.rb +221 -0
- data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
- data/lib/merge_ticketing_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
- data/lib/merge_ticketing_client/models/method_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/operator_schema.rb +229 -0
- data/lib/merge_ticketing_client/models/paginated_collection_list.rb +240 -0
- data/lib/merge_ticketing_client/models/paginated_condition_schema_list.rb +240 -0
- data/lib/merge_ticketing_client/models/patched_ticket_request.rb +57 -7
- data/lib/merge_ticketing_client/models/priority_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/project.rb +16 -4
- data/lib/merge_ticketing_client/models/request_format_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/response_type_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/selective_sync_configurations_usage_enum.rb +45 -0
- data/lib/merge_ticketing_client/models/sync_status.rb +13 -4
- data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/tag.rb +16 -4
- data/lib/merge_ticketing_client/models/team.rb +16 -4
- data/lib/merge_ticketing_client/models/ticket.rb +45 -7
- data/lib/merge_ticketing_client/models/ticket_request.rb +57 -7
- data/lib/merge_ticketing_client/models/ticket_status_enum.rb +1 -1
- data/lib/merge_ticketing_client/models/user.rb +16 -4
- data/lib/merge_ticketing_client/version.rb +1 -1
- data/lib/merge_ticketing_client.rb +15 -0
- data/spec/api/collections_api_spec.rb +76 -0
- data/spec/api/projects_api_spec.rb +3 -2
- data/spec/api/selective_sync_api_spec.rb +72 -0
- data/spec/api/tickets_api_spec.rb +24 -4
- data/spec/api/users_api_spec.rb +1 -0
- data/spec/models/account_spec.rb +6 -0
- data/spec/models/attachment_request_spec.rb +12 -0
- data/spec/models/attachment_spec.rb +6 -0
- data/spec/models/collection_spec.rb +82 -0
- data/spec/models/collection_type_enum_spec.rb +28 -0
- data/spec/models/comment_request_spec.rb +12 -0
- data/spec/models/comment_spec.rb +6 -0
- data/spec/models/condition_schema_spec.rb +70 -0
- data/spec/models/condition_type_enum_spec.rb +28 -0
- data/spec/models/contact_spec.rb +6 -0
- data/spec/models/issue_spec.rb +6 -0
- data/spec/models/linked_account_condition_request_spec.rb +46 -0
- data/spec/models/linked_account_condition_spec.rb +64 -0
- data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
- data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
- data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
- data/spec/models/operator_schema_spec.rb +40 -0
- data/spec/models/paginated_collection_list_spec.rb +46 -0
- data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
- data/spec/models/patched_ticket_request_spec.rb +24 -0
- data/spec/models/project_spec.rb +6 -0
- data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
- data/spec/models/sync_status_spec.rb +6 -0
- data/spec/models/tag_spec.rb +6 -0
- data/spec/models/team_spec.rb +6 -0
- data/spec/models/ticket_request_spec.rb +24 -0
- data/spec/models/ticket_spec.rb +18 -0
- data/spec/models/user_spec.rb +6 -0
- 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`
|
36
|
+
# Returns a list of `User` objects.
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
|
-
# @param
|
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 [
|
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
|
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
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -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.
|
data/spec/models/account_spec.rb
CHANGED
@@ -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
|
data/spec/models/comment_spec.rb
CHANGED
@@ -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
|
data/spec/models/contact_spec.rb
CHANGED
data/spec/models/issue_spec.rb
CHANGED
@@ -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
|