ultracart_api 4.0.180 → 4.0.182

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +30 -5
  3. data/docs/ConversationApi.md +5 -5
  4. data/docs/WorkflowApi.md +603 -0
  5. data/docs/WorkflowAttachment.md +26 -0
  6. data/docs/WorkflowAttachmentUploadUrl.md +20 -0
  7. data/docs/WorkflowAttachmentUploadUrlResponse.md +26 -0
  8. data/docs/WorkflowGroup.md +20 -0
  9. data/docs/WorkflowGroupsResponse.md +26 -0
  10. data/docs/WorkflowNote.md +28 -0
  11. data/docs/WorkflowTask.md +60 -0
  12. data/docs/WorkflowTaskHistory.md +24 -0
  13. data/docs/WorkflowTaskResponse.md +26 -0
  14. data/docs/WorkflowTasksRequest.md +48 -0
  15. data/docs/WorkflowTasksResponse.md +26 -0
  16. data/docs/WorkflowUser.md +22 -0
  17. data/docs/WorkflowUsersResponse.md +26 -0
  18. data/lib/ultracart_api/api/conversation_api.rb +4 -4
  19. data/lib/ultracart_api/api/workflow_api.rb +583 -0
  20. data/lib/ultracart_api/models/workflow_attachment.rb +260 -0
  21. data/lib/ultracart_api/models/workflow_attachment_upload_url.rb +228 -0
  22. data/lib/ultracart_api/models/workflow_attachment_upload_url_response.rb +256 -0
  23. data/lib/ultracart_api/models/workflow_group.rb +230 -0
  24. data/lib/ultracart_api/models/workflow_groups_response.rb +259 -0
  25. data/lib/ultracart_api/models/workflow_note.rb +271 -0
  26. data/lib/ultracart_api/models/workflow_task.rb +493 -0
  27. data/lib/ultracart_api/models/workflow_task_history.rb +249 -0
  28. data/lib/ultracart_api/models/workflow_task_response.rb +256 -0
  29. data/lib/ultracart_api/models/workflow_tasks_request.rb +427 -0
  30. data/lib/ultracart_api/models/workflow_tasks_response.rb +259 -0
  31. data/lib/ultracart_api/models/workflow_user.rb +240 -0
  32. data/lib/ultracart_api/models/workflow_users_response.rb +259 -0
  33. data/lib/ultracart_api/version.rb +1 -1
  34. data/lib/ultracart_api.rb +14 -0
  35. metadata +30 -2
@@ -0,0 +1,26 @@
1
+ # UltracartClient::WorkflowGroupsResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | [**Error**](Error.md) | | [optional] |
8
+ | **groups** | [**Array<WorkflowGroup>**](WorkflowGroup.md) | groups | [optional] |
9
+ | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
10
+ | **success** | **Boolean** | Indicates if API call was successful | [optional] |
11
+ | **warning** | [**Warning**](Warning.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ultracart_api'
17
+
18
+ instance = UltracartClient::WorkflowGroupsResponse.new(
19
+ error: null,
20
+ groups: null,
21
+ metadata: null,
22
+ success: null,
23
+ warning: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,28 @@
1
+ # UltracartClient::WorkflowNote
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **attachments** | [**Array<WorkflowAttachment>**](WorkflowAttachment.md) | Attachments to the Workflow Task | [optional] |
8
+ | **edit_dts** | **String** | Date/time that the note was edited | [optional] |
9
+ | **note** | **String** | Note | [optional] |
10
+ | **note_dts** | **String** | Date/time that the note was written | [optional] |
11
+ | **original_note** | **String** | Note originally written before any edits | [optional] |
12
+ | **user** | [**WorkflowUser**](WorkflowUser.md) | | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'ultracart_api'
18
+
19
+ instance = UltracartClient::WorkflowNote.new(
20
+ attachments: null,
21
+ edit_dts: null,
22
+ note: null,
23
+ note_dts: null,
24
+ original_note: null,
25
+ user: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,60 @@
1
+ # UltracartClient::WorkflowTask
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **assigned_to_group** | **String** | Assigned to group | [optional] |
8
+ | **assigned_to_group_id** | **Integer** | Assigned to group ID | [optional] |
9
+ | **assigned_to_user** | **String** | Assigned to user | [optional] |
10
+ | **assigned_to_user_id** | **Integer** | Assigned to user ID | [optional] |
11
+ | **attachments** | [**Array<WorkflowAttachment>**](WorkflowAttachment.md) | Attachments to the Workflow Task | [optional] |
12
+ | **created_by** | [**WorkflowUser**](WorkflowUser.md) | | [optional] |
13
+ | **created_dts** | **String** | Date/time that the workflow task was created | [optional] |
14
+ | **delay_until_dts** | **String** | Date/time that the workflow task should delay until | [optional] |
15
+ | **due_dts** | **String** | Date/time that the workflow task is due | [optional] |
16
+ | **histories** | [**Array<WorkflowTaskHistory>**](WorkflowTaskHistory.md) | Array of history records for the task | [optional] |
17
+ | **last_update_dts** | **String** | Date/time that the workflow task was last updated | [optional] |
18
+ | **merchant_id** | **String** | Merchant ID | [optional] |
19
+ | **notes** | [**Array<WorkflowNote>**](WorkflowNote.md) | Notes on the Workflow Task | [optional] |
20
+ | **object_email** | **String** | Object is associated with customer email | [optional] |
21
+ | **object_id** | **String** | Object ID | [optional] |
22
+ | **object_type** | **String** | Object Type | [optional] |
23
+ | **object_url** | **String** | Object URL | [optional] |
24
+ | **priority** | **String** | Priority | [optional] |
25
+ | **status** | **String** | Status of the workflow task | [optional] |
26
+ | **task_details** | **String** | Task Details | [optional] |
27
+ | **task_name** | **String** | Task Name | [optional] |
28
+ | **workflow_task_uuid** | **String** | Workflow Task UUID | [optional] |
29
+
30
+ ## Example
31
+
32
+ ```ruby
33
+ require 'ultracart_api'
34
+
35
+ instance = UltracartClient::WorkflowTask.new(
36
+ assigned_to_group: null,
37
+ assigned_to_group_id: null,
38
+ assigned_to_user: null,
39
+ assigned_to_user_id: null,
40
+ attachments: null,
41
+ created_by: null,
42
+ created_dts: null,
43
+ delay_until_dts: null,
44
+ due_dts: null,
45
+ histories: null,
46
+ last_update_dts: null,
47
+ merchant_id: null,
48
+ notes: null,
49
+ object_email: null,
50
+ object_id: null,
51
+ object_type: null,
52
+ object_url: null,
53
+ priority: null,
54
+ status: null,
55
+ task_details: null,
56
+ task_name: null,
57
+ workflow_task_uuid: null
58
+ )
59
+ ```
60
+
@@ -0,0 +1,24 @@
1
+ # UltracartClient::WorkflowTaskHistory
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **activity_dts** | **String** | Date/time that the workflow task history record was created | [optional] |
8
+ | **description** | **String** | Description of the activity | [optional] |
9
+ | **ip_address** | **String** | IP Address that originated the activity | [optional] |
10
+ | **user** | [**WorkflowUser**](WorkflowUser.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'ultracart_api'
16
+
17
+ instance = UltracartClient::WorkflowTaskHistory.new(
18
+ activity_dts: null,
19
+ description: null,
20
+ ip_address: null,
21
+ user: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,26 @@
1
+ # UltracartClient::WorkflowTaskResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | [**Error**](Error.md) | | [optional] |
8
+ | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
9
+ | **success** | **Boolean** | Indicates if API call was successful | [optional] |
10
+ | **task** | [**WorkflowTask**](WorkflowTask.md) | | [optional] |
11
+ | **warning** | [**Warning**](Warning.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ultracart_api'
17
+
18
+ instance = UltracartClient::WorkflowTaskResponse.new(
19
+ error: null,
20
+ metadata: null,
21
+ success: null,
22
+ task: null,
23
+ warning: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,48 @@
1
+ # UltracartClient::WorkflowTasksRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **assigned_to_group_id** | **Integer** | Assigned to group ID | [optional] |
8
+ | **assigned_to_me** | **Boolean** | Tasks are assigned to me either by direct user id or a group that the user is a member of | [optional] |
9
+ | **assigned_to_user_id** | **Integer** | Assigned to user ID | [optional] |
10
+ | **created_by** | [**WorkflowUser**](WorkflowUser.md) | | [optional] |
11
+ | **created_dts_begin** | **String** | Date/time that the workflow task was created | [optional] |
12
+ | **created_dts_end** | **String** | Date/time that the workflow task was created | [optional] |
13
+ | **delay_until_dts** | **String** | Date/time that the workflow task should delay until | [optional] |
14
+ | **due_dts_begin** | **String** | Date/time that the workflow task is due | [optional] |
15
+ | **due_dts_end** | **String** | Date/time that the workflow task is due | [optional] |
16
+ | **last_update_dts_begin** | **String** | Date/time that the workflow task was last updated | [optional] |
17
+ | **last_update_dts_end** | **String** | Date/time that the workflow task was last updated | [optional] |
18
+ | **object_email** | **String** | Object is associated with customer email | [optional] |
19
+ | **object_type** | **String** | Object Type | [optional] |
20
+ | **priority** | **String** | Priority | [optional] |
21
+ | **status** | **String** | Status of the workflow task | [optional] |
22
+ | **unassigned** | **Boolean** | Tasks that are unassigned to a user or group | [optional] |
23
+
24
+ ## Example
25
+
26
+ ```ruby
27
+ require 'ultracart_api'
28
+
29
+ instance = UltracartClient::WorkflowTasksRequest.new(
30
+ assigned_to_group_id: null,
31
+ assigned_to_me: null,
32
+ assigned_to_user_id: null,
33
+ created_by: null,
34
+ created_dts_begin: null,
35
+ created_dts_end: null,
36
+ delay_until_dts: null,
37
+ due_dts_begin: null,
38
+ due_dts_end: null,
39
+ last_update_dts_begin: null,
40
+ last_update_dts_end: null,
41
+ object_email: null,
42
+ object_type: null,
43
+ priority: null,
44
+ status: null,
45
+ unassigned: null
46
+ )
47
+ ```
48
+
@@ -0,0 +1,26 @@
1
+ # UltracartClient::WorkflowTasksResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | [**Error**](Error.md) | | [optional] |
8
+ | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
9
+ | **success** | **Boolean** | Indicates if API call was successful | [optional] |
10
+ | **tasks** | [**Array<WorkflowTask>**](WorkflowTask.md) | tasks | [optional] |
11
+ | **warning** | [**Warning**](Warning.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ultracart_api'
17
+
18
+ instance = UltracartClient::WorkflowTasksResponse.new(
19
+ error: null,
20
+ metadata: null,
21
+ success: null,
22
+ tasks: null,
23
+ warning: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # UltracartClient::WorkflowUser
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **user** | **String** | The user | [optional] |
8
+ | **user_icon_url** | **String** | The user icon URL if available | [optional] |
9
+ | **user_id** | **Integer** | User ID | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'ultracart_api'
15
+
16
+ instance = UltracartClient::WorkflowUser.new(
17
+ user: null,
18
+ user_icon_url: null,
19
+ user_id: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,26 @@
1
+ # UltracartClient::WorkflowUsersResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **error** | [**Error**](Error.md) | | [optional] |
8
+ | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
9
+ | **success** | **Boolean** | Indicates if API call was successful | [optional] |
10
+ | **users** | [**Array<WorkflowUser>**](WorkflowUser.md) | users | [optional] |
11
+ | **warning** | [**Warning**](Warning.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ultracart_api'
17
+
18
+ instance = UltracartClient::WorkflowUsersResponse.new(
19
+ error: null,
20
+ metadata: null,
21
+ success: null,
22
+ users: null,
23
+ warning: null
24
+ )
25
+ ```
26
+
@@ -898,8 +898,8 @@ module UltracartClient
898
898
  return data, status_code, headers
899
899
  end
900
900
 
901
- # Get a presigned conersation multimedia upload URL
902
- # Get a presigned conersation multimedia upload URL
901
+ # Get a presigned conversation multimedia upload URL
902
+ # Get a presigned conversation multimedia upload URL
903
903
  # @param extension [String]
904
904
  # @param [Hash] opts the optional parameters
905
905
  # @return [ConversationMultimediaUploadUrlResponse]
@@ -908,8 +908,8 @@ module UltracartClient
908
908
  data
909
909
  end
910
910
 
911
- # Get a presigned conersation multimedia upload URL
912
- # Get a presigned conersation multimedia upload URL
911
+ # Get a presigned conversation multimedia upload URL
912
+ # Get a presigned conversation multimedia upload URL
913
913
  # @param extension [String]
914
914
  # @param [Hash] opts the optional parameters
915
915
  # @return [Array<(ConversationMultimediaUploadUrlResponse, Integer, Hash)>] ConversationMultimediaUploadUrlResponse data, response status code and response headers