merge_ticketing_client 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -9
- data/docs/SyncStatusApi.md +4 -10
- data/lib/merge_ticketing_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_ticketing_client/version.rb +1 -1
- data/spec/api/sync_status_api_spec.rb +1 -1
- metadata +90 -90
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eac02fa0dcdc6e8fad65dc98871288671524d58c81dc842ffc41a7063671c304
|
4
|
+
data.tar.gz: 39982571b7bb1f90b7d0b2ffd9c94cf3064c83fa6d89c52c6343ee25353aa3ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f527b230e99299955a2055cbee3a305a0e2a0a20958e8b6a4fc3ee9af755bd104eff55d9aba7f243a7d17e58b272fa8c93d07083152ac062e84ccf55411c4f90
|
7
|
+
data.tar.gz: 90f698bb396166b1f31b30e66b44e0ff44505cf8727174bc625c06b4f65249fad665eda43e1180596b7a059f8bc86e1837581095b0d74a411b651896f9199c67
|
data/README.md
CHANGED
@@ -7,9 +7,9 @@ The unified API for building rich integrations with multiple Ticketing platforms
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 1.0.
|
10
|
+
- Package version: 1.0.4
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
|
-
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
12
|
+
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
@@ -24,16 +24,16 @@ gem build merge_ticketing_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./merge_ticketing_client-1.0.
|
27
|
+
gem install ./merge_ticketing_client-1.0.4.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./merge_ticketing_client-1.0.
|
30
|
+
(for development, run `gem install --dev ./merge_ticketing_client-1.0.4.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'merge_ticketing_client', '~> 1.0.
|
36
|
+
gem 'merge_ticketing_client', '~> 1.0.4'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -226,14 +226,10 @@ Class | Method | HTTP request | Description
|
|
226
226
|
- [MergeTicketingClient::WebhookReceiver](docs/WebhookReceiver.md)
|
227
227
|
- [MergeTicketingClient::WebhookReceiverRequest](docs/WebhookReceiverRequest.md)
|
228
228
|
|
229
|
-
|
230
229
|
## Documentation for Authorization
|
231
230
|
|
232
|
-
|
233
231
|
### tokenAuth
|
234
232
|
|
235
|
-
|
236
233
|
- **Type**: API key
|
237
234
|
- **API key parameter name**: Authorization
|
238
235
|
- **Location**: HTTP header
|
239
|
-
|
data/docs/SyncStatusApi.md
CHANGED
@@ -2,18 +2,15 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.merge.dev/api/ticketing/v1*
|
4
4
|
|
5
|
-
| Method
|
6
|
-
|
|
7
|
-
| [**sync_status_list**](SyncStatusApi.md#sync_status_list) | **GET** /sync-status |
|
8
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| --------------------------------------------------------- | -------------------- | ----------- |
|
7
|
+
| [**sync_status_list**](SyncStatusApi.md#sync_status_list) | **GET** /sync-status | |
|
9
8
|
|
10
9
|
## sync_status_list
|
11
10
|
|
12
11
|
> <PaginatedSyncStatusList> sync_status_list(x_account_token, opts)
|
13
12
|
|
14
|
-
|
15
|
-
|
16
|
-
Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
13
|
+
Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`, `PARTIALLY_SYNCED`
|
17
14
|
|
18
15
|
### Examples
|
19
16
|
|
@@ -36,7 +33,6 @@ opts = {
|
|
36
33
|
}
|
37
34
|
|
38
35
|
begin
|
39
|
-
|
40
36
|
result = api_instance.sync_status_list(x_account_token, opts)
|
41
37
|
p result
|
42
38
|
rescue MergeTicketingClient::ApiError => e
|
@@ -52,7 +48,6 @@ This returns an Array which contains the response data, status code and headers.
|
|
52
48
|
|
53
49
|
```ruby
|
54
50
|
begin
|
55
|
-
|
56
51
|
data, status_code, headers = api_instance.sync_status_list_with_http_info(x_account_token, opts)
|
57
52
|
p status_code # => 2xx
|
58
53
|
p headers # => { ... }
|
@@ -82,4 +77,3 @@ end
|
|
82
77
|
|
83
78
|
- **Content-Type**: Not defined
|
84
79
|
- **Accept**: application/json
|
85
|
-
|
@@ -19,7 +19,7 @@ module MergeTicketingClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
22
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`, `PARTIALLY_SYNCED`
|
23
23
|
# @param x_account_token [String] Token identifying the end user.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :cursor The pagination cursor value.
|
@@ -30,7 +30,7 @@ module MergeTicketingClient
|
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
33
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`, `PARTIALLY_SYNCED`
|
34
34
|
# @param x_account_token [String] Token identifying the end user.
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @option opts [String] :cursor The pagination cursor value.
|
@@ -20,6 +20,7 @@ module MergeTicketingClient
|
|
20
20
|
FAILED = "FAILED".freeze
|
21
21
|
DISABLED = "DISABLED".freeze
|
22
22
|
PAUSED = "PAUSED".freeze
|
23
|
+
PARTIALLY_SYNCED = "PARTIALLY_SYNCED".freeze
|
23
24
|
|
24
25
|
MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
|
25
26
|
|
@@ -31,7 +32,7 @@ module MergeTicketingClient
|
|
31
32
|
# @return [String] The enum value
|
32
33
|
def build_from_hash(value)
|
33
34
|
@raw_value = value
|
34
|
-
if ["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", ].include? value
|
35
|
+
if ["SYNCING", "DONE", "FAILED", "DISABLED", "PAUSED", "PARTIALLY_SYNCED"].include? value
|
35
36
|
@value = value
|
36
37
|
else
|
37
38
|
@value = MERGE_NONSTANDARD_VALUE
|
@@ -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: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
36
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`, `PARTIALLY_SYNCED`
|
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.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: merge_ticketing_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -430,113 +430,113 @@ signing_key:
|
|
430
430
|
specification_version: 4
|
431
431
|
summary: Merge Ticketing API Ruby Gem
|
432
432
|
test_files:
|
433
|
-
- spec/api/projects_api_spec.rb
|
434
|
-
- spec/api/issues_api_spec.rb
|
435
|
-
- spec/api/accounts_api_spec.rb
|
436
|
-
- spec/api/contacts_api_spec.rb
|
437
|
-
- spec/api/regenerate_key_api_spec.rb
|
438
|
-
- spec/api/webhook_receivers_api_spec.rb
|
439
433
|
- spec/api/tags_api_spec.rb
|
434
|
+
- spec/api/regenerate_key_api_spec.rb
|
435
|
+
- spec/api/sync_status_api_spec.rb
|
436
|
+
- spec/api/teams_api_spec.rb
|
437
|
+
- spec/api/comments_api_spec.rb
|
438
|
+
- spec/api/collections_api_spec.rb
|
439
|
+
- spec/api/tickets_api_spec.rb
|
440
440
|
- spec/api/attachments_api_spec.rb
|
441
|
+
- spec/api/issues_api_spec.rb
|
442
|
+
- spec/api/webhook_receivers_api_spec.rb
|
443
|
+
- spec/api/available_actions_api_spec.rb
|
444
|
+
- spec/api/projects_api_spec.rb
|
441
445
|
- spec/api/account_token_api_spec.rb
|
442
446
|
- spec/api/linked_accounts_api_spec.rb
|
447
|
+
- spec/api/users_api_spec.rb
|
448
|
+
- spec/api/selective_sync_api_spec.rb
|
443
449
|
- spec/api/account_details_api_spec.rb
|
450
|
+
- spec/api/accounts_api_spec.rb
|
451
|
+
- spec/api/generate_key_api_spec.rb
|
444
452
|
- spec/api/passthrough_api_spec.rb
|
445
|
-
- spec/api/users_api_spec.rb
|
446
453
|
- spec/api/force_resync_api_spec.rb
|
447
|
-
- spec/api/delete_account_api_spec.rb
|
448
|
-
- spec/api/teams_api_spec.rb
|
449
|
-
- spec/api/tickets_api_spec.rb
|
450
|
-
- spec/api/available_actions_api_spec.rb
|
451
|
-
- spec/api/comments_api_spec.rb
|
452
454
|
- spec/api/link_token_api_spec.rb
|
453
|
-
- spec/api/
|
454
|
-
- spec/api/
|
455
|
-
- spec/api/generate_key_api_spec.rb
|
456
|
-
- spec/api/collections_api_spec.rb
|
455
|
+
- spec/api/contacts_api_spec.rb
|
456
|
+
- spec/api/delete_account_api_spec.rb
|
457
457
|
- spec/api_client_spec.rb
|
458
458
|
- spec/configuration_spec.rb
|
459
|
-
- spec/models/
|
460
|
-
- spec/models/
|
461
|
-
- spec/models/account_details_and_actions_status_enum_spec.rb
|
462
|
-
- spec/models/collection_spec.rb
|
463
|
-
- spec/models/paginated_comment_list_spec.rb
|
464
|
-
- spec/models/patched_ticket_request_spec.rb
|
465
|
-
- spec/models/paginated_attachment_list_spec.rb
|
466
|
-
- spec/models/patched_ticket_endpoint_request_spec.rb
|
467
|
-
- spec/models/encoding_enum_spec.rb
|
468
|
-
- spec/models/end_user_details_request_spec.rb
|
469
|
-
- spec/models/paginated_condition_schema_list_spec.rb
|
470
|
-
- spec/models/ticketing_attachment_endpoint_request_spec.rb
|
471
|
-
- spec/models/method_enum_spec.rb
|
472
|
-
- spec/models/paginated_project_list_spec.rb
|
473
|
-
- spec/models/ticketing_attachment_response_spec.rb
|
459
|
+
- spec/models/link_token_spec.rb
|
460
|
+
- spec/models/ticket_request_spec.rb
|
474
461
|
- spec/models/remote_response_spec.rb
|
475
|
-
- spec/models/
|
476
|
-
- spec/models/
|
477
|
-
- spec/models/sync_status_status_enum_spec.rb
|
462
|
+
- spec/models/patched_ticket_endpoint_request_spec.rb
|
463
|
+
- spec/models/contact_spec.rb
|
478
464
|
- spec/models/generate_remote_key_request_spec.rb
|
479
|
-
- spec/models/
|
480
|
-
- spec/models/
|
481
|
-
- spec/models/
|
482
|
-
- spec/models/
|
483
|
-
- spec/models/
|
484
|
-
- spec/models/
|
465
|
+
- spec/models/comment_endpoint_request_spec.rb
|
466
|
+
- spec/models/paginated_collection_list_spec.rb
|
467
|
+
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
468
|
+
- spec/models/paginated_condition_schema_list_spec.rb
|
469
|
+
- spec/models/sync_status_spec.rb
|
470
|
+
- spec/models/linked_account_status_spec.rb
|
485
471
|
- spec/models/linked_account_selective_sync_configuration_list_request_spec.rb
|
472
|
+
- spec/models/tag_spec.rb
|
473
|
+
- spec/models/warning_validation_problem_spec.rb
|
474
|
+
- spec/models/ticket_spec.rb
|
475
|
+
- spec/models/paginated_ticket_list_spec.rb
|
476
|
+
- spec/models/condition_type_enum_spec.rb
|
477
|
+
- spec/models/debug_mode_log_spec.rb
|
478
|
+
- spec/models/paginated_attachment_list_spec.rb
|
479
|
+
- spec/models/error_validation_problem_spec.rb
|
480
|
+
- spec/models/sync_status_status_enum_spec.rb
|
481
|
+
- spec/models/account_details_and_actions_spec.rb
|
482
|
+
- spec/models/ticketing_attachment_response_spec.rb
|
483
|
+
- spec/models/end_user_details_request_spec.rb
|
484
|
+
- spec/models/collection_spec.rb
|
485
|
+
- spec/models/attachment_spec.rb
|
486
486
|
- spec/models/selective_sync_configurations_usage_enum_spec.rb
|
487
|
-
- spec/models/
|
488
|
-
- spec/models/
|
489
|
-
- spec/models/
|
490
|
-
- spec/models/issue_spec.rb
|
487
|
+
- spec/models/attachment_request_spec.rb
|
488
|
+
- spec/models/paginated_sync_status_list_spec.rb
|
489
|
+
- spec/models/paginated_user_list_spec.rb
|
491
490
|
- spec/models/model_operation_spec.rb
|
492
|
-
- spec/models/
|
493
|
-
- spec/models/
|
494
|
-
- spec/models/ticket_endpoint_request_spec.rb
|
495
|
-
- spec/models/ticket_response_spec.rb
|
496
|
-
- spec/models/comment_request_spec.rb
|
497
|
-
- spec/models/webhook_receiver_request_spec.rb
|
498
|
-
- spec/models/account_details_spec.rb
|
499
|
-
- spec/models/account_token_spec.rb
|
500
|
-
- spec/models/paginated_account_details_and_actions_list_spec.rb
|
501
|
-
- spec/models/paginated_collection_list_spec.rb
|
502
|
-
- spec/models/request_format_enum_spec.rb
|
503
|
-
- spec/models/available_actions_spec.rb
|
504
|
-
- spec/models/team_spec.rb
|
505
|
-
- spec/models/validation_problem_source_spec.rb
|
506
|
-
- spec/models/warning_validation_problem_spec.rb
|
507
|
-
- spec/models/linked_account_condition_spec.rb
|
508
|
-
- spec/models/account_integration_spec.rb
|
509
|
-
- spec/models/paginated_account_list_spec.rb
|
510
|
-
- spec/models/paginated_team_list_spec.rb
|
511
|
-
- spec/models/account_details_and_actions_integration_spec.rb
|
512
|
-
- spec/models/link_token_spec.rb
|
513
|
-
- spec/models/debug_model_log_summary_spec.rb
|
491
|
+
- spec/models/user_spec.rb
|
492
|
+
- spec/models/comment_response_spec.rb
|
514
493
|
- spec/models/issue_status_enum_spec.rb
|
515
|
-
- spec/models/
|
516
|
-
- spec/models/
|
517
|
-
- spec/models/data_passthrough_request_spec.rb
|
518
|
-
- spec/models/ticket_request_spec.rb
|
519
|
-
- spec/models/condition_type_enum_spec.rb
|
494
|
+
- spec/models/account_spec.rb
|
495
|
+
- spec/models/paginated_account_list_spec.rb
|
520
496
|
- spec/models/multipart_form_field_request_spec.rb
|
521
|
-
- spec/models/
|
497
|
+
- spec/models/ticket_endpoint_request_spec.rb
|
498
|
+
- spec/models/webhook_receiver_spec.rb
|
499
|
+
- spec/models/priority_enum_spec.rb
|
522
500
|
- spec/models/categories_enum_spec.rb
|
523
|
-
- spec/models/
|
524
|
-
- spec/models/
|
525
|
-
- spec/models/
|
501
|
+
- spec/models/collection_type_enum_spec.rb
|
502
|
+
- spec/models/condition_schema_spec.rb
|
503
|
+
- spec/models/method_enum_spec.rb
|
504
|
+
- spec/models/debug_model_log_summary_spec.rb
|
505
|
+
- spec/models/data_passthrough_request_spec.rb
|
506
|
+
- spec/models/account_integration_spec.rb
|
507
|
+
- spec/models/paginated_project_list_spec.rb
|
508
|
+
- spec/models/operator_schema_spec.rb
|
509
|
+
- spec/models/validation_problem_source_spec.rb
|
510
|
+
- spec/models/available_actions_spec.rb
|
511
|
+
- spec/models/linked_account_selective_sync_configuration_spec.rb
|
526
512
|
- spec/models/remote_data_spec.rb
|
527
|
-
- spec/models/
|
528
|
-
- spec/models/
|
513
|
+
- spec/models/remote_key_for_regeneration_request_spec.rb
|
514
|
+
- spec/models/paginated_team_list_spec.rb
|
515
|
+
- spec/models/ticketing_attachment_endpoint_request_spec.rb
|
529
516
|
- spec/models/paginated_contact_list_spec.rb
|
530
|
-
- spec/models/
|
531
|
-
- spec/models/
|
532
|
-
- spec/models/
|
533
|
-
- spec/models/
|
534
|
-
- spec/models/
|
535
|
-
- spec/models/
|
536
|
-
- spec/models/
|
517
|
+
- spec/models/response_type_enum_spec.rb
|
518
|
+
- spec/models/account_details_spec.rb
|
519
|
+
- spec/models/ticket_status_enum_spec.rb
|
520
|
+
- spec/models/encoding_enum_spec.rb
|
521
|
+
- spec/models/linked_account_condition_spec.rb
|
522
|
+
- spec/models/comment_request_spec.rb
|
523
|
+
- spec/models/linked_account_condition_request_spec.rb
|
524
|
+
- spec/models/ticket_response_spec.rb
|
537
525
|
- spec/models/category_enum_spec.rb
|
538
|
-
- spec/models/
|
539
|
-
- spec/models/
|
540
|
-
- spec/models/
|
541
|
-
- spec/models/
|
526
|
+
- spec/models/paginated_tag_list_spec.rb
|
527
|
+
- spec/models/paginated_issue_list_spec.rb
|
528
|
+
- spec/models/request_format_enum_spec.rb
|
529
|
+
- spec/models/patched_ticket_request_spec.rb
|
530
|
+
- spec/models/issue_spec.rb
|
531
|
+
- spec/models/account_details_and_actions_status_enum_spec.rb
|
532
|
+
- spec/models/paginated_comment_list_spec.rb
|
533
|
+
- spec/models/linked_account_selective_sync_configuration_request_spec.rb
|
534
|
+
- spec/models/comment_spec.rb
|
535
|
+
- spec/models/account_token_spec.rb
|
536
|
+
- spec/models/remote_key_spec.rb
|
537
|
+
- spec/models/team_spec.rb
|
538
|
+
- spec/models/project_spec.rb
|
539
|
+
- spec/models/account_details_and_actions_integration_spec.rb
|
540
|
+
- spec/models/meta_response_spec.rb
|
541
|
+
- spec/models/webhook_receiver_request_spec.rb
|
542
542
|
- spec/spec_helper.rb
|