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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0a447245a66fa14b166c0bc743b05d485d17bb8c4fa55b689d8ebedfea39a08
4
- data.tar.gz: c6e49ca82f44bf99e37db1b7ce0b6ed166cb2381213ecc97eaf8cbb56178b722
3
+ metadata.gz: eac02fa0dcdc6e8fad65dc98871288671524d58c81dc842ffc41a7063671c304
4
+ data.tar.gz: 39982571b7bb1f90b7d0b2ffd9c94cf3064c83fa6d89c52c6343ee25353aa3ed
5
5
  SHA512:
6
- metadata.gz: 117749a1255f19e225030880aedb7dbfd86f1d1313258078d194312d89b8d410d0da01f3ef0afb3a340a8daf31fc891f60b35919ab6e5969f4d22aa6a2ee2778
7
- data.tar.gz: 7fe9330c53d6a9412c6d168b22de12dda07db331255b5c7cdf701ddc78258263e5316e2f135423f497ee1fb68245dd0551c5d9ddce53bd42987ff3ae227ab12d
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.3
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.3.gem
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.3.gem` to install the development dependencies)
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.3'
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
-
@@ -2,18 +2,15 @@
2
2
 
3
3
  All URIs are relative to *https://api.merge.dev/api/ticketing/v1*
4
4
 
5
- | Method | HTTP request | Description |
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: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;
33
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;, &#x60;PARTIALLY_SYNCED&#x60;
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
@@ -11,5 +11,5 @@ OpenAPI Generator version: 5.1.1
11
11
  =end
12
12
 
13
13
  module MergeTicketingClient
14
- VERSION = '1.0.3'
14
+ VERSION = '1.0.4'
15
15
  end
@@ -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;
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;
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.3
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-02-07 00:00:00.000000000 Z
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/selective_sync_api_spec.rb
454
- - spec/api/sync_status_api_spec.rb
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/collection_type_enum_spec.rb
460
- - spec/models/linked_account_selective_sync_configuration_request_spec.rb
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/project_spec.rb
476
- - spec/models/response_type_enum_spec.rb
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/meta_response_spec.rb
480
- - spec/models/remote_key_spec.rb
481
- - spec/models/paginated_ticket_list_spec.rb
482
- - spec/models/linked_account_selective_sync_configuration_spec.rb
483
- - spec/models/remote_key_for_regeneration_request_spec.rb
484
- - spec/models/account_spec.rb
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/contact_spec.rb
488
- - spec/models/comment_response_spec.rb
489
- - spec/models/condition_schema_spec.rb
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/paginated_issue_list_spec.rb
493
- - spec/models/account_details_and_actions_spec.rb
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/debug_mode_log_spec.rb
516
- - spec/models/linked_account_status_spec.rb
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/ticket_status_enum_spec.rb
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/linked_account_condition_request_spec.rb
524
- - spec/models/comment_endpoint_request_spec.rb
525
- - spec/models/comment_spec.rb
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/paginated_tag_list_spec.rb
528
- - spec/models/tag_spec.rb
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/sync_status_spec.rb
531
- - spec/models/attachment_request_spec.rb
532
- - spec/models/ticket_spec.rb
533
- - spec/models/attachment_spec.rb
534
- - spec/models/user_spec.rb
535
- - spec/models/operator_schema_spec.rb
536
- - spec/models/paginated_user_list_spec.rb
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/webhook_receiver_spec.rb
539
- - spec/models/paginated_sync_status_list_spec.rb
540
- - spec/models/priority_enum_spec.rb
541
- - spec/models/error_validation_problem_spec.rb
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