merge_ticketing_client 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +72 -0
- data/README.md +17 -6
- data/docs/AccessLevelEnum.md +15 -0
- data/docs/Account.md +14 -11
- data/docs/AccountIntegration.md +5 -1
- data/docs/AccountsApi.md +4 -4
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/Attachment.md +18 -15
- data/docs/AttachmentRequest.md +10 -9
- data/docs/AttachmentsApi.md +80 -4
- data/docs/Collection.md +18 -13
- data/docs/CollectionsApi.md +92 -6
- data/docs/Comment.md +19 -16
- data/docs/CommentRequest.md +11 -10
- data/docs/CommentsApi.md +6 -4
- data/docs/CommonModelScopesBodyRequest.md +22 -0
- data/docs/ConditionSchema.md +1 -1
- data/docs/Contact.md +17 -14
- data/docs/ContactsApi.md +4 -4
- data/docs/DataPassthroughRequest.md +11 -10
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/EnabledActionsEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +4 -2
- data/docs/ForceResyncApi.md +1 -1
- data/docs/Issue.md +11 -10
- data/docs/IssuesApi.md +6 -6
- data/docs/ItemFormatEnum.md +15 -0
- data/docs/ItemSchema.md +22 -0
- data/docs/ItemTypeEnum.md +15 -0
- data/docs/LinkedAccountCondition.md +9 -8
- data/docs/LinkedAccountConditionRequest.md +6 -5
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/MetaResponse.md +9 -6
- data/docs/MultipartFormFieldRequest.md +1 -1
- data/docs/PatchedTicketRequest.md +23 -22
- data/docs/Project.md +14 -11
- data/docs/ProjectsApi.md +5 -5
- data/docs/RemoteData.md +5 -4
- data/docs/RemoteField.md +7 -6
- data/docs/RemoteFieldClass.md +9 -11
- data/docs/RemoteFieldRequest.md +20 -0
- data/docs/RemoteResponse.md +10 -9
- data/docs/SyncStatus.md +1 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tag.md +12 -9
- data/docs/TagsApi.md +4 -4
- data/docs/Team.md +14 -11
- data/docs/TeamsApi.md +4 -4
- data/docs/Ticket.md +30 -29
- data/docs/TicketRequest.md +24 -23
- data/docs/TicketsApi.md +9 -11
- data/docs/User.md +17 -14
- data/docs/UsersApi.md +6 -6
- data/lib/merge_ticketing_client/api/accounts_api.rb +4 -4
- data/lib/merge_ticketing_client/api/async_passthrough_api.rb +160 -0
- data/lib/merge_ticketing_client/api/attachments_api.rb +75 -4
- data/lib/merge_ticketing_client/api/collections_api.rb +93 -6
- data/lib/merge_ticketing_client/api/comments_api.rb +7 -4
- data/lib/merge_ticketing_client/api/contacts_api.rb +4 -4
- data/lib/merge_ticketing_client/api/delete_account_api.rb +7 -7
- data/lib/merge_ticketing_client/api/force_resync_api.rb +2 -2
- data/lib/merge_ticketing_client/api/issues_api.rb +6 -6
- data/lib/merge_ticketing_client/api/linked_accounts_api.rb +3 -3
- data/lib/merge_ticketing_client/api/projects_api.rb +5 -5
- data/lib/merge_ticketing_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ticketing_client/api/tags_api.rb +4 -4
- data/lib/merge_ticketing_client/api/teams_api.rb +4 -4
- data/lib/merge_ticketing_client/api/tickets_api.rb +11 -14
- data/lib/merge_ticketing_client/api/users_api.rb +6 -6
- data/lib/merge_ticketing_client/models/access_level_enum.rb +46 -0
- data/lib/merge_ticketing_client/models/account.rb +27 -17
- data/lib/merge_ticketing_client/models/account_integration.rb +29 -7
- data/lib/merge_ticketing_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_ticketing_client/models/attachment.rb +29 -19
- data/lib/merge_ticketing_client/models/attachment_request.rb +2 -2
- data/lib/merge_ticketing_client/models/categories_enum.rb +2 -1
- data/lib/merge_ticketing_client/models/category_enum.rb +2 -1
- data/lib/merge_ticketing_client/models/collection.rb +39 -18
- data/lib/merge_ticketing_client/models/comment.rb +27 -17
- data/lib/merge_ticketing_client/models/common_model_scopes_body_request.rb +274 -0
- data/lib/merge_ticketing_client/models/condition_schema.rb +1 -0
- data/lib/merge_ticketing_client/models/contact.rb +27 -17
- data/lib/merge_ticketing_client/models/enabled_actions_enum.rb +45 -0
- data/lib/merge_ticketing_client/models/end_user_details_request.rb +19 -6
- data/lib/merge_ticketing_client/models/issue.rb +3 -2
- data/lib/merge_ticketing_client/models/item_format_enum.rb +49 -0
- data/lib/merge_ticketing_client/models/item_schema.rb +238 -0
- data/lib/merge_ticketing_client/models/item_type_enum.rb +49 -0
- data/lib/merge_ticketing_client/models/meta_response.rb +12 -1
- data/lib/merge_ticketing_client/models/multipart_form_field_request.rb +1 -1
- data/lib/merge_ticketing_client/models/patched_ticket_request.rb +18 -18
- data/lib/merge_ticketing_client/models/project.rb +27 -17
- data/lib/merge_ticketing_client/models/remote_data.rb +6 -9
- data/lib/merge_ticketing_client/models/remote_field.rb +18 -15
- data/lib/merge_ticketing_client/models/remote_field_class.rb +22 -39
- data/lib/merge_ticketing_client/models/remote_field_request.rb +234 -0
- data/lib/merge_ticketing_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_ticketing_client/models/tag.rb +27 -17
- data/lib/merge_ticketing_client/models/team.rb +27 -17
- data/lib/merge_ticketing_client/models/ticket.rb +25 -26
- data/lib/merge_ticketing_client/models/ticket_request.rb +18 -18
- data/lib/merge_ticketing_client/models/user.rb +27 -17
- data/lib/merge_ticketing_client/version.rb +1 -1
- data/lib/merge_ticketing_client.rb +9 -1
- data/spec/api/accounts_api_spec.rb +2 -2
- data/spec/api/async_passthrough_api_spec.rb +59 -0
- data/spec/api/attachments_api_spec.rb +15 -2
- data/spec/api/collections_api_spec.rb +20 -3
- data/spec/api/comments_api_spec.rb +3 -2
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/delete_account_api_spec.rb +2 -2
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/projects_api_spec.rb +2 -2
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/teams_api_spec.rb +2 -2
- data/spec/api/tickets_api_spec.rb +21 -4
- data/spec/api/users_api_spec.rb +2 -2
- data/spec/models/access_level_enum_spec.rb +28 -0
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/account_spec.rb +8 -2
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/attachment_request_spec.rb +0 -12
- data/spec/models/attachment_spec.rb +8 -2
- data/spec/models/collection_spec.rb +14 -2
- data/spec/models/comment_request_spec.rb +0 -12
- data/spec/models/comment_spec.rb +8 -2
- data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
- data/spec/models/contact_spec.rb +8 -2
- data/spec/models/enabled_actions_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +6 -0
- data/spec/models/field_format_enum_spec.rb +28 -0
- data/spec/models/field_type_enum_spec.rb +28 -0
- data/spec/models/item_format_enum_spec.rb +28 -0
- data/spec/models/item_schema_spec.rb +46 -0
- data/spec/models/item_type_enum_spec.rb +28 -0
- data/spec/models/meta_response_spec.rb +6 -0
- data/spec/models/paginated_remote_field_class_list_spec.rb +46 -0
- data/spec/models/patched_ticket_request_spec.rb +6 -18
- data/spec/models/project_spec.rb +8 -2
- data/spec/models/remote_field_class_spec.rb +88 -0
- data/spec/models/remote_field_request_spec.rb +40 -0
- data/spec/models/remote_field_spec.rb +40 -0
- data/spec/models/tag_spec.rb +8 -2
- data/spec/models/team_spec.rb +8 -2
- data/spec/models/ticket_request_spec.rb +6 -24
- data/spec/models/ticket_spec.rb +16 -10
- data/spec/models/user_spec.rb +8 -2
- metadata +139 -92
data/docs/TagsApi.md
CHANGED
@@ -37,8 +37,8 @@ opts = {
|
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
38
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
39
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
41
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
40
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
41
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
42
42
|
page_size: 56, # Integer | Number of results to return per page.
|
43
43
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
44
44
|
}
|
@@ -80,8 +80,8 @@ end
|
|
80
80
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
81
81
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
82
82
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
83
|
-
| **modified_after** | **Time** | If provided,
|
84
|
-
| **modified_before** | **Time** | If provided,
|
83
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
84
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
85
85
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
86
86
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
87
87
|
|
data/docs/Team.md
CHANGED
@@ -2,15 +2,16 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **name**
|
10
|
-
| **description**
|
11
|
-
| **
|
12
|
-
| **
|
13
|
-
| **field_mappings**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **name** | **String** | The team's name. | [optional] |
|
10
|
+
| **description** | **String** | The team's description. | [optional] |
|
11
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional] |
|
12
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
13
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
14
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -22,8 +23,10 @@ instance = MergeTicketingClient::Team.new(
|
|
22
23
|
remote_id: 19202938,
|
23
24
|
name: Platform,
|
24
25
|
description: Platform and Integrations Team,
|
25
|
-
remote_data: null,
|
26
26
|
remote_was_deleted: null,
|
27
|
-
|
27
|
+
modified_at: 2021-10-16T00:00Z,
|
28
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
29
|
+
remote_data: null
|
28
30
|
)
|
29
31
|
```
|
32
|
+
|
data/docs/TeamsApi.md
CHANGED
@@ -37,8 +37,8 @@ opts = {
|
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
38
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
39
39
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
40
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
41
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
40
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
41
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
42
42
|
page_size: 56, # Integer | Number of results to return per page.
|
43
43
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
44
44
|
}
|
@@ -80,8 +80,8 @@ end
|
|
80
80
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
81
81
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
82
82
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
83
|
-
| **modified_after** | **Time** | If provided,
|
84
|
-
| **modified_before** | **Time** | If provided,
|
83
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
84
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
85
85
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
86
86
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
87
87
|
|
data/docs/Ticket.md
CHANGED
@@ -2,33 +2,33 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **name**
|
10
|
-
| **assignees**
|
11
|
-
| **creator**
|
12
|
-
| **due_date**
|
13
|
-
| **status**
|
14
|
-
| **description**
|
15
|
-
| **
|
16
|
-
| **
|
17
|
-
| **
|
18
|
-
| **
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **
|
22
|
-
| **
|
23
|
-
| **
|
24
|
-
| **
|
25
|
-
| **
|
26
|
-
| **
|
27
|
-
| **
|
28
|
-
| **
|
29
|
-
| **
|
30
|
-
| **
|
31
|
-
| **remote_fields**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **name** | **String** | The ticket's name. | [optional] |
|
10
|
+
| **assignees** | **Array<String>** | | [optional] |
|
11
|
+
| **creator** | **String** | The user who created this ticket. | [optional] |
|
12
|
+
| **due_date** | **Time** | The ticket's due date. | [optional] |
|
13
|
+
| **status** | [**TicketStatusEnum**](TicketStatusEnum.md) | The current status of the ticket. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD | [optional] |
|
14
|
+
| **description** | **String** | The ticket’s description. HTML version of description is mapped if supported by the third-party platform. | [optional] |
|
15
|
+
| **collections** | **Array<String>** | | [optional] |
|
16
|
+
| **ticket_type** | **String** | The ticket's type. | [optional] |
|
17
|
+
| **account** | **String** | The account associated with the ticket. | [optional] |
|
18
|
+
| **contact** | **String** | The contact associated with the ticket. | [optional] |
|
19
|
+
| **parent_ticket** | **String** | The ticket's parent ticket. | [optional] |
|
20
|
+
| **attachments** | **Array<String>** | | [optional] |
|
21
|
+
| **tags** | **Array<String>** | | [optional] |
|
22
|
+
| **remote_created_at** | **Time** | When the third party's ticket was created. | [optional] |
|
23
|
+
| **remote_updated_at** | **Time** | When the third party's ticket was updated. | [optional] |
|
24
|
+
| **completed_at** | **Time** | When the ticket was completed. | [optional] |
|
25
|
+
| **remote_was_deleted** | **Boolean** | | [optional][readonly] |
|
26
|
+
| **ticket_url** | **String** | The 3rd party url of the Ticket. | [optional] |
|
27
|
+
| **priority** | [**PriorityEnum**](PriorityEnum.md) | The priority or urgency of the Ticket. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW | [optional] |
|
28
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
29
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
30
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
31
|
+
| **remote_fields** | [**Array<RemoteField>**](RemoteField.md) | | [optional][readonly] |
|
32
32
|
|
33
33
|
## Example
|
34
34
|
|
@@ -44,7 +44,6 @@ instance = MergeTicketingClient::Ticket.new(
|
|
44
44
|
due_date: 2022-10-11T00:00Z,
|
45
45
|
status: OPEN,
|
46
46
|
description: Can you please add more integrations? It'll make syncing data much easier!,
|
47
|
-
project: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
|
48
47
|
collections: ["fb8c55b6-1cb8-4b4c-9fb6-17924231619d"],
|
49
48
|
ticket_type: incident,
|
50
49
|
account: 0958cbc6-6040-430a-848e-aafacbadf4ae,
|
@@ -55,11 +54,13 @@ instance = MergeTicketingClient::Ticket.new(
|
|
55
54
|
remote_created_at: 2021-11-10T00:00Z,
|
56
55
|
remote_updated_at: 2021-12-09T00:00Z,
|
57
56
|
completed_at: 2021-12-09T00:00Z,
|
58
|
-
remote_data: null,
|
59
57
|
remote_was_deleted: null,
|
60
58
|
ticket_url: https://thirdpartysoftware.com/project/3/issue/1,
|
61
59
|
priority: HIGH,
|
60
|
+
modified_at: 2021-10-16T00:00Z,
|
62
61
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
62
|
+
remote_data: null,
|
63
63
|
remote_fields: null
|
64
64
|
)
|
65
65
|
```
|
66
|
+
|
data/docs/TicketRequest.md
CHANGED
@@ -2,27 +2,27 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **name**
|
8
|
-
| **assignees**
|
9
|
-
| **creator**
|
10
|
-
| **due_date**
|
11
|
-
| **status**
|
12
|
-
| **description**
|
13
|
-
| **
|
14
|
-
| **
|
15
|
-
| **
|
16
|
-
| **
|
17
|
-
| **
|
18
|
-
| **
|
19
|
-
| **
|
20
|
-
| **
|
21
|
-
| **
|
22
|
-
| **
|
23
|
-
| **
|
24
|
-
| **
|
25
|
-
| **
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | The ticket's name. | [optional] |
|
8
|
+
| **assignees** | **Array<String>** | | [optional] |
|
9
|
+
| **creator** | **String** | The user who created this ticket. | [optional] |
|
10
|
+
| **due_date** | **Time** | The ticket's due date. | [optional] |
|
11
|
+
| **status** | [**TicketStatusEnum**](TicketStatusEnum.md) | The current status of the ticket. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD | [optional] |
|
12
|
+
| **description** | **String** | The ticket’s description. HTML version of description is mapped if supported by the third-party platform. | [optional] |
|
13
|
+
| **collections** | **Array<String>** | | [optional] |
|
14
|
+
| **ticket_type** | **String** | The ticket's type. | [optional] |
|
15
|
+
| **account** | **String** | The account associated with the ticket. | [optional] |
|
16
|
+
| **contact** | **String** | The contact associated with the ticket. | [optional] |
|
17
|
+
| **parent_ticket** | **String** | The ticket's parent ticket. | [optional] |
|
18
|
+
| **attachments** | **Array<String>** | | [optional] |
|
19
|
+
| **tags** | **Array<String>** | | [optional] |
|
20
|
+
| **completed_at** | **Time** | When the ticket was completed. | [optional] |
|
21
|
+
| **ticket_url** | **String** | The 3rd party url of the Ticket. | [optional] |
|
22
|
+
| **priority** | [**PriorityEnum**](PriorityEnum.md) | The priority or urgency of the Ticket. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW | [optional] |
|
23
|
+
| **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
24
|
+
| **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
|
25
|
+
| **remote_fields** | [**Array<RemoteFieldRequest>**](RemoteFieldRequest.md) | | [optional] |
|
26
26
|
|
27
27
|
## Example
|
28
28
|
|
@@ -36,7 +36,6 @@ instance = MergeTicketingClient::TicketRequest.new(
|
|
36
36
|
due_date: 2022-10-11T00:00Z,
|
37
37
|
status: OPEN,
|
38
38
|
description: Can you please add more integrations? It'll make syncing data much easier!,
|
39
|
-
project: fb8c55b6-1cb8-4b4c-9fb6-17924231619d,
|
40
39
|
collections: ["fb8c55b6-1cb8-4b4c-9fb6-17924231619d"],
|
41
40
|
ticket_type: incident,
|
42
41
|
account: 0958cbc6-6040-430a-848e-aafacbadf4ae,
|
@@ -48,6 +47,8 @@ instance = MergeTicketingClient::TicketRequest.new(
|
|
48
47
|
ticket_url: https://thirdpartysoftware.com/project/3/issue/1,
|
49
48
|
priority: HIGH,
|
50
49
|
integration_params: {"unique_integration_field":"unique_integration_field_value"},
|
51
|
-
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
|
50
|
+
linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"},
|
51
|
+
remote_fields: null
|
52
52
|
)
|
53
53
|
```
|
54
|
+
|
data/docs/TicketsApi.md
CHANGED
@@ -40,7 +40,7 @@ x_account_token = 'x_account_token_example' # String | Token identifying the end
|
|
40
40
|
parent_id = TODO # String |
|
41
41
|
opts = {
|
42
42
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
43
|
-
expand: '
|
43
|
+
expand: 'roles', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
page_size: 56 # Integer | Number of results to return per page.
|
@@ -217,11 +217,11 @@ opts = {
|
|
217
217
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
218
218
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
219
219
|
include_remote_fields: true, # Boolean | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
220
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
221
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
220
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
221
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
222
222
|
page_size: 56, # Integer | Number of results to return per page.
|
223
223
|
parent_ticket_id: 'parent_ticket_id_example', # String | If provided, will only return sub tickets of the parent_ticket_id.
|
224
|
-
priority: 'HIGH', # String | If provided, will only return tickets of this priority.
|
224
|
+
priority: 'HIGH', # String | If provided, will only return tickets of this priority. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW
|
225
225
|
project_id: 'project_id_example', # String | If provided, will only return tickets for this project.
|
226
226
|
remote_created_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets created in the third party platform after this datetime.
|
227
227
|
remote_created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets created in the third party platform before this datetime.
|
@@ -230,7 +230,7 @@ opts = {
|
|
230
230
|
remote_updated_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets updated in the third party platform after this datetime.
|
231
231
|
remote_updated_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return tickets updated in the third party platform before this datetime.
|
232
232
|
show_enum_origins: 'priority', # String | Which fields should be returned in non-normalized form.
|
233
|
-
status: 'CLOSED', # String | If provided, will only return tickets of this status.
|
233
|
+
status: 'CLOSED', # String | If provided, will only return tickets of this status. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD
|
234
234
|
tags: 'tags_example', # String | If provided, will only return tickets matching the tags; multiple tags can be separated by commas.
|
235
235
|
ticket_type: 'ticket_type_example' # String | If provided, will only return tickets of this type.
|
236
236
|
}
|
@@ -282,11 +282,11 @@ end
|
|
282
282
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
283
283
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
284
284
|
| **include_remote_fields** | **Boolean** | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. | [optional] |
|
285
|
-
| **modified_after** | **Time** | If provided,
|
286
|
-
| **modified_before** | **Time** | If provided,
|
285
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
286
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
287
287
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
288
288
|
| **parent_ticket_id** | **String** | If provided, will only return sub tickets of the parent_ticket_id. | [optional] |
|
289
|
-
| **priority** | **String** | If provided, will only return tickets of this priority. | [optional] |
|
289
|
+
| **priority** | **String** | If provided, will only return tickets of this priority. * `URGENT` - URGENT * `HIGH` - HIGH * `NORMAL` - NORMAL * `LOW` - LOW | [optional] |
|
290
290
|
| **project_id** | **String** | If provided, will only return tickets for this project. | [optional] |
|
291
291
|
| **remote_created_after** | **Time** | If provided, will only return tickets created in the third party platform after this datetime. | [optional] |
|
292
292
|
| **remote_created_before** | **Time** | If provided, will only return tickets created in the third party platform before this datetime. | [optional] |
|
@@ -295,7 +295,7 @@ end
|
|
295
295
|
| **remote_updated_after** | **Time** | If provided, will only return tickets updated in the third party platform after this datetime. | [optional] |
|
296
296
|
| **remote_updated_before** | **Time** | If provided, will only return tickets updated in the third party platform before this datetime. | [optional] |
|
297
297
|
| **show_enum_origins** | **String** | Which fields should be returned in non-normalized form. | [optional] |
|
298
|
-
| **status** | **String** | If provided, will only return tickets of this status. | [optional] |
|
298
|
+
| **status** | **String** | If provided, will only return tickets of this status. * `OPEN` - OPEN * `CLOSED` - CLOSED * `IN_PROGRESS` - IN_PROGRESS * `ON_HOLD` - ON_HOLD | [optional] |
|
299
299
|
| **tags** | **String** | If provided, will only return tickets matching the tags; multiple tags can be separated by commas. | [optional] |
|
300
300
|
| **ticket_type** | **String** | If provided, will only return tickets of this type. | [optional] |
|
301
301
|
|
@@ -565,7 +565,6 @@ opts = {
|
|
565
565
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
566
566
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
567
567
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
568
|
-
include_remote_fields: true, # Boolean | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format.
|
569
568
|
page_size: 56 # Integer | Number of results to return per page.
|
570
569
|
}
|
571
570
|
|
@@ -604,7 +603,6 @@ end
|
|
604
603
|
| **cursor** | **String** | The pagination cursor value. | [optional] |
|
605
604
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
606
605
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
607
|
-
| **include_remote_fields** | **Boolean** | Whether to include all remote fields, including fields that Merge did not map to common models, in a normalized format. | [optional] |
|
608
606
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
609
607
|
|
610
608
|
### Return type
|
data/docs/User.md
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
| Name
|
6
|
-
|
|
7
|
-
| **id**
|
8
|
-
| **remote_id**
|
9
|
-
| **name**
|
10
|
-
| **email_address**
|
11
|
-
| **is_active**
|
12
|
-
| **teams**
|
13
|
-
| **avatar**
|
14
|
-
| **
|
15
|
-
| **
|
16
|
-
| **field_mappings**
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | | [optional][readonly] |
|
8
|
+
| **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
|
9
|
+
| **name** | **String** | The user's name. | [optional] |
|
10
|
+
| **email_address** | **String** | The user's email address. | [optional] |
|
11
|
+
| **is_active** | **Boolean** | Whether or not the user is active. | [optional] |
|
12
|
+
| **teams** | **Array<String>** | | [optional] |
|
13
|
+
| **avatar** | **String** | The user's avatar picture. | [optional] |
|
14
|
+
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
15
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
16
|
+
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
17
|
+
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
17
18
|
|
18
19
|
## Example
|
19
20
|
|
@@ -28,8 +29,10 @@ instance = MergeTicketingClient::User.new(
|
|
28
29
|
is_active: true,
|
29
30
|
teams: ["28b54125-287f-494d-965e-3c5b330c9a68","17a54124-287f-494d-965e-3c5b330c9a68"],
|
30
31
|
avatar: https://merge.dev/user_profile_pic.png,
|
31
|
-
remote_data: null,
|
32
32
|
remote_was_deleted: null,
|
33
|
-
|
33
|
+
modified_at: 2021-10-16T00:00Z,
|
34
|
+
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
35
|
+
remote_data: null
|
34
36
|
)
|
35
37
|
```
|
38
|
+
|
data/docs/UsersApi.md
CHANGED
@@ -36,11 +36,11 @@ opts = {
|
|
36
36
|
created_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects created before this datetime.
|
37
37
|
cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
|
38
38
|
email_address: 'email_address_example', # String | If provided, will only return users with emails equal to this value (case insensitive).
|
39
|
-
expand: '
|
39
|
+
expand: 'roles', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
43
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
+
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
|
43
|
+
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
46
46
|
}
|
@@ -84,8 +84,8 @@ end
|
|
84
84
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
85
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
86
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
87
|
-
| **modified_after** | **Time** | If provided,
|
88
|
-
| **modified_before** | **Time** | If provided,
|
87
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
88
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
89
89
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
90
90
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
91
91
|
|
@@ -128,7 +128,7 @@ api_instance = MergeTicketingClient::UsersApi.new
|
|
128
128
|
x_account_token = 'x_account_token_example' # String | Token identifying the end user.
|
129
129
|
id = TODO # String |
|
130
130
|
opts = {
|
131
|
-
expand: '
|
131
|
+
expand: 'roles', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
132
132
|
include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
133
133
|
}
|
134
134
|
|
@@ -27,8 +27,8 @@ module MergeTicketingClient
|
|
27
27
|
# @option opts [String] :cursor The pagination cursor value.
|
28
28
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
29
29
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
30
|
-
# @option opts [Time] :modified_after If provided,
|
31
|
-
# @option opts [Time] :modified_before If provided,
|
30
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
31
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
32
32
|
# @option opts [Integer] :page_size Number of results to return per page.
|
33
33
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
34
34
|
# @return [PaginatedAccountList]
|
@@ -45,8 +45,8 @@ module MergeTicketingClient
|
|
45
45
|
# @option opts [String] :cursor The pagination cursor value.
|
46
46
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
47
47
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
48
|
-
# @option opts [Time] :modified_after If provided,
|
49
|
-
# @option opts [Time] :modified_before If provided,
|
48
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
49
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
50
50
|
# @option opts [Integer] :page_size Number of results to return per page.
|
51
51
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
52
52
|
# @return [Array<(PaginatedAccountList, Integer, Hash)>] PaginatedAccountList data, response status code and response headers
|
@@ -0,0 +1,160 @@
|
|
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 'cgi'
|
14
|
+
|
15
|
+
module MergeTicketingClient
|
16
|
+
class AsyncPassthroughApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Asynchronously pull data from an endpoint not currently supported by Merge.
|
23
|
+
# @param x_account_token [String] Token identifying the end user.
|
24
|
+
# @param data_passthrough_request [DataPassthroughRequest]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [AsyncPassthroughReciept]
|
27
|
+
def async_passthrough_create(x_account_token, data_passthrough_request, opts = {})
|
28
|
+
data, _status_code, _headers = async_passthrough_create_with_http_info(x_account_token, data_passthrough_request, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Asynchronously pull data from an endpoint not currently supported by Merge.
|
33
|
+
# @param x_account_token [String] Token identifying the end user.
|
34
|
+
# @param data_passthrough_request [DataPassthroughRequest]
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(AsyncPassthroughReciept, Integer, Hash)>] AsyncPassthroughReciept data, response status code and response headers
|
37
|
+
def async_passthrough_create_with_http_info(x_account_token, data_passthrough_request, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: AsyncPassthroughApi.async_passthrough_create ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'x_account_token' is set
|
42
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AsyncPassthroughApi.async_passthrough_create"
|
44
|
+
end
|
45
|
+
# verify the required parameter 'data_passthrough_request' is set
|
46
|
+
if @api_client.config.client_side_validation && data_passthrough_request.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'data_passthrough_request' when calling AsyncPassthroughApi.async_passthrough_create"
|
48
|
+
end
|
49
|
+
# resource path
|
50
|
+
local_var_path = '/async-passthrough'
|
51
|
+
|
52
|
+
# query parameters
|
53
|
+
query_params = opts[:query_params] || {}
|
54
|
+
|
55
|
+
# header parameters
|
56
|
+
header_params = opts[:header_params] || {}
|
57
|
+
# HTTP header 'Accept' (if needed)
|
58
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
59
|
+
# HTTP header 'Content-Type'
|
60
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
61
|
+
header_params[:'X-Account-Token'] = x_account_token
|
62
|
+
|
63
|
+
# form parameters
|
64
|
+
form_params = opts[:form_params] || {}
|
65
|
+
|
66
|
+
# http body (model)
|
67
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(data_passthrough_request)
|
68
|
+
|
69
|
+
# return_type
|
70
|
+
return_type = opts[:debug_return_type] || 'AsyncPassthroughReciept'
|
71
|
+
|
72
|
+
# auth_names
|
73
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
74
|
+
|
75
|
+
new_options = opts.merge(
|
76
|
+
:operation => :"AsyncPassthroughApi.async_passthrough_create",
|
77
|
+
:header_params => header_params,
|
78
|
+
:query_params => query_params,
|
79
|
+
:form_params => form_params,
|
80
|
+
:body => post_body,
|
81
|
+
:auth_names => auth_names,
|
82
|
+
:return_type => return_type
|
83
|
+
)
|
84
|
+
|
85
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
86
|
+
if @api_client.config.debugging
|
87
|
+
@api_client.config.logger.debug "API called: AsyncPassthroughApi#async_passthrough_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
88
|
+
end
|
89
|
+
return data, status_code, headers
|
90
|
+
end
|
91
|
+
|
92
|
+
# Retrieves data from earlier async-passthrough POST request
|
93
|
+
# @param x_account_token [String] Token identifying the end user.
|
94
|
+
# @param async_passthrough_receipt_id [String]
|
95
|
+
# @param [Hash] opts the optional parameters
|
96
|
+
# @return [RemoteResponse]
|
97
|
+
def async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id, opts = {})
|
98
|
+
data, _status_code, _headers = async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id, opts)
|
99
|
+
data
|
100
|
+
end
|
101
|
+
|
102
|
+
# Retrieves data from earlier async-passthrough POST request
|
103
|
+
# @param x_account_token [String] Token identifying the end user.
|
104
|
+
# @param async_passthrough_receipt_id [String]
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @return [Array<(RemoteResponse, Integer, Hash)>] RemoteResponse data, response status code and response headers
|
107
|
+
def async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id, opts = {})
|
108
|
+
if @api_client.config.debugging
|
109
|
+
@api_client.config.logger.debug 'Calling API: AsyncPassthroughApi.async_passthrough_retrieve ...'
|
110
|
+
end
|
111
|
+
# verify the required parameter 'x_account_token' is set
|
112
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
113
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AsyncPassthroughApi.async_passthrough_retrieve"
|
114
|
+
end
|
115
|
+
# verify the required parameter 'async_passthrough_receipt_id' is set
|
116
|
+
if @api_client.config.client_side_validation && async_passthrough_receipt_id.nil?
|
117
|
+
fail ArgumentError, "Missing the required parameter 'async_passthrough_receipt_id' when calling AsyncPassthroughApi.async_passthrough_retrieve"
|
118
|
+
end
|
119
|
+
# resource path
|
120
|
+
local_var_path = '/async-passthrough/{async_passthrough_receipt_id}'.sub('{' + 'async_passthrough_receipt_id' + '}', CGI.escape(async_passthrough_receipt_id.to_s))
|
121
|
+
|
122
|
+
# query parameters
|
123
|
+
query_params = opts[:query_params] || {}
|
124
|
+
|
125
|
+
# header parameters
|
126
|
+
header_params = opts[:header_params] || {}
|
127
|
+
# HTTP header 'Accept' (if needed)
|
128
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
129
|
+
header_params[:'X-Account-Token'] = x_account_token
|
130
|
+
|
131
|
+
# form parameters
|
132
|
+
form_params = opts[:form_params] || {}
|
133
|
+
|
134
|
+
# http body (model)
|
135
|
+
post_body = opts[:debug_body]
|
136
|
+
|
137
|
+
# return_type
|
138
|
+
return_type = opts[:debug_return_type] || 'RemoteResponse'
|
139
|
+
|
140
|
+
# auth_names
|
141
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
142
|
+
|
143
|
+
new_options = opts.merge(
|
144
|
+
:operation => :"AsyncPassthroughApi.async_passthrough_retrieve",
|
145
|
+
:header_params => header_params,
|
146
|
+
:query_params => query_params,
|
147
|
+
:form_params => form_params,
|
148
|
+
:body => post_body,
|
149
|
+
:auth_names => auth_names,
|
150
|
+
:return_type => return_type
|
151
|
+
)
|
152
|
+
|
153
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
154
|
+
if @api_client.config.debugging
|
155
|
+
@api_client.config.logger.debug "API called: AsyncPassthroughApi#async_passthrough_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
156
|
+
end
|
157
|
+
return data, status_code, headers
|
158
|
+
end
|
159
|
+
end
|
160
|
+
end
|