ultracart_api 3.10.193 → 3.10.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ConversationAgentAuth.md +3 -0
- data/docs/ConversationApi.md +1 -1
- data/docs/ConversationPbxQueue.md +1 -0
- data/docs/EmailCommseqEmail.md +8 -0
- data/docs/ItemChargeback.md +2 -2
- data/docs/OrderRefundableResponse.md +1 -0
- data/lib/ultracart_api/api/conversation_api.rb +1 -1
- data/lib/ultracart_api/models/conversation_agent_auth.rb +28 -1
- data/lib/ultracart_api/models/conversation_pbx_queue.rb +14 -4
- data/lib/ultracart_api/models/email_commseq_email.rb +73 -1
- data/lib/ultracart_api/models/item_chargeback.rb +2 -2
- data/lib/ultracart_api/models/order_refundable_response.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da0eece3a08a56672c19b5145d329d9f86ca6bb92d2bd34de88685ee4903c4a0
|
|
4
|
+
data.tar.gz: 1f467075da0dd65f0d6f77fbf4a27f5ac3458fee145eb5df8208f9e6f0438441
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c2a72cdeaa61878876e7441459e61bdc62327ec866e2cca11c9a48f8d383a11c564130f8a3f658ca0bc3593fc9687194e3912966404f34da4b120d430f3266d
|
|
7
|
+
data.tar.gz: 5eeb00b3a7fdd9c144dc5831fd11fa762c3616ee8445290567f7eaa630854e9672d3d6db2607b5699dbbf0924406691353a0082ef856e801071f9ed1a873122b
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 3.10.
|
|
10
|
+
- Package version: 3.10.194
|
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
|
13
13
|
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./ultracart_api-3.10.
|
|
27
|
+
gem install ./ultracart_api-3.10.194.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.194.gem` to install the development dependencies)
|
|
30
30
|
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
32
32
|
|
|
33
33
|
Finally add this to the Gemfile:
|
|
34
34
|
|
|
35
|
-
gem 'ultracart_api', '~> 3.10.
|
|
35
|
+
gem 'ultracart_api', '~> 3.10.194'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -199,7 +199,7 @@ Class | Method | HTTP request | Description
|
|
|
199
199
|
*UltracartClient::ConversationApi* | [**join_conversation**](docs/ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
|
|
200
200
|
*UltracartClient::ConversationApi* | [**leave_conversation**](docs/ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
|
|
201
201
|
*UltracartClient::ConversationApi* | [**listened_pbx_agent_voicemail**](docs/ConversationApi.md#listened_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid}/listened | Listened Agent Voicemail
|
|
202
|
-
*UltracartClient::ConversationApi* | [**listened_pbx_queue_voicemail**](docs/ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/{queue_uuid}/voicemails/
|
|
202
|
+
*UltracartClient::ConversationApi* | [**listened_pbx_queue_voicemail**](docs/ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened | Listened Queue Voicemail
|
|
203
203
|
*UltracartClient::ConversationApi* | [**mark_read_conversation**](docs/ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
|
|
204
204
|
*UltracartClient::ConversationApi* | [**reset_conversation_pbx_queue_statistics**](docs/ConversationApi.md#reset_conversation_pbx_queue_statistics) | **POST** /conversation/pbx/queues/{queue_uuid}/reset_statistics | reset statistics within the queue
|
|
205
205
|
*UltracartClient::ConversationApi* | [**search_conversation_canned_messages**](docs/ConversationApi.md#search_conversation_canned_messages) | **POST** /conversation/canned_messages/search | Search for canned messages by short_code
|
|
@@ -1499,6 +1499,7 @@ Not every change is committed to every SDK.
|
|
|
1499
1499
|
|
|
1500
1500
|
| Version | Date | Comments |
|
|
1501
1501
|
| --: | :-: | --- |
|
|
1502
|
+
| 3.10.194 | 04/24/2024 | esp - add fields for external generation on email |
|
|
1502
1503
|
| 3.10.193 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
|
|
1503
1504
|
| 3.10.192 | 04/01/2024 | added merchant_id as read-only top level property of AutoOrder object |
|
|
1504
1505
|
| 3.10.191 | 03/26/2024 | WorkflowTask - added assigned_to_user_or_group field |
|
|
@@ -7,7 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**conversation_participant_name** | **String** | | [optional]
|
|
8
8
|
**jwt** | **String** | | [optional]
|
|
9
9
|
**merchant_id** | **String** | | [optional]
|
|
10
|
+
**pbx_admin** | **BOOLEAN** | | [optional]
|
|
10
11
|
**pbx_jwt** | **String** | | [optional]
|
|
12
|
+
**pbx_supervisor** | **BOOLEAN** | | [optional]
|
|
13
|
+
**pbx_user** | **BOOLEAN** | | [optional]
|
|
11
14
|
**pbx_voice_identity** | **String** | | [optional]
|
|
12
15
|
**pbx_voice_token** | **String** | | [optional]
|
|
13
16
|
**pbx_worker_token** | **String** | | [optional]
|
data/docs/ConversationApi.md
CHANGED
|
@@ -71,7 +71,7 @@ Method | HTTP request | Description
|
|
|
71
71
|
[**join_conversation**](ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
|
|
72
72
|
[**leave_conversation**](ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
|
|
73
73
|
[**listened_pbx_agent_voicemail**](ConversationApi.md#listened_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid}/listened | Listened Agent Voicemail
|
|
74
|
-
[**listened_pbx_queue_voicemail**](ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/{queue_uuid}/voicemails/
|
|
74
|
+
[**listened_pbx_queue_voicemail**](ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened | Listened Queue Voicemail
|
|
75
75
|
[**mark_read_conversation**](ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
|
|
76
76
|
[**reset_conversation_pbx_queue_statistics**](ConversationApi.md#reset_conversation_pbx_queue_statistics) | **POST** /conversation/pbx/queues/{queue_uuid}/reset_statistics | reset statistics within the queue
|
|
77
77
|
[**search_conversation_canned_messages**](ConversationApi.md#search_conversation_canned_messages) | **POST** /conversation/canned_messages/search | Search for canned messages by short_code
|
|
@@ -23,5 +23,6 @@ Name | Type | Description | Notes
|
|
|
23
23
|
**voicemail** | **BOOLEAN** | If true, this queue has a voicemail associated with it | [optional]
|
|
24
24
|
**wait_critical_seconds** | **Integer** | Wait time in seconds before critical | [optional]
|
|
25
25
|
**wait_warning_seconds** | **Integer** | Wait time in seconds before warning | [optional]
|
|
26
|
+
**wrap_up_seconds** | **Integer** | Wrap up time in seconds | [optional]
|
|
26
27
|
|
|
27
28
|
|
data/docs/EmailCommseqEmail.md
CHANGED
|
@@ -10,6 +10,14 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**email_container_cjson** | **String** | Email container cjson | [optional]
|
|
11
11
|
**email_container_cjson_last_modified_dts** | **String** | Timestamp the last time the container was modified. | [optional]
|
|
12
12
|
**email_template_vm_path** | **String** | Email template virtual path | [optional]
|
|
13
|
+
**external_generation** | **BOOLEAN** | | [optional]
|
|
14
|
+
**external_generation_authentication** | **String** | | [optional]
|
|
15
|
+
**external_generation_basic_password** | **String** | | [optional]
|
|
16
|
+
**external_generation_basic_username** | **String** | | [optional]
|
|
17
|
+
**external_generation_header_name** | **String** | | [optional]
|
|
18
|
+
**external_generation_header_value** | **String** | | [optional]
|
|
19
|
+
**external_generation_id** | **String** | | [optional]
|
|
20
|
+
**external_generation_url** | **String** | | [optional]
|
|
13
21
|
**filter_profile_equation_json** | **String** | Filter profile equation json | [optional]
|
|
14
22
|
**individually_render** | **BOOLEAN** | Individually render | [optional]
|
|
15
23
|
**library_item_oid** | **Integer** | If this item was ever added to the Code Library, this is the oid for that library item, or 0 if never added before. This value is used to determine if a library item should be inserted or updated. | [optional]
|
data/docs/ItemChargeback.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Properties
|
|
4
4
|
Name | Type | Description | Notes
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
|
-
**addendums** | [**Array<ItemChargebackAddendum>**](ItemChargebackAddendum.md) | Addendums | [optional]
|
|
7
|
-
**adjustment_requests** | [**Array<ItemChargebackAdjustmentRequest>**](ItemChargebackAdjustmentRequest.md) | Adjustment requests | [optional]
|
|
6
|
+
**addendums** | [**Array<ItemChargebackAddendum>**](ItemChargebackAddendum.md) | Addendums (deprecated) | [optional]
|
|
7
|
+
**adjustment_requests** | [**Array<ItemChargebackAdjustmentRequest>**](ItemChargebackAdjustmentRequest.md) | Adjustment requests (deprecated) | [optional]
|
|
8
8
|
|
|
9
9
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional]
|
|
12
12
|
**order_level_refund_reason_required** | **BOOLEAN** | True if the order level refund reason is required | [optional]
|
|
13
13
|
**order_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the order level. | [optional]
|
|
14
|
+
**order_level_reject_reason_required** | **BOOLEAN** | True if the order level reject reason is required | [optional]
|
|
14
15
|
**order_level_reject_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reject codes available at the order level. | [optional]
|
|
15
16
|
**refundable** | **BOOLEAN** | Whether the order is refundable or not. Null should be interpreted as false. | [optional]
|
|
16
17
|
**success** | **BOOLEAN** | Indicates if API call was successful | [optional]
|
|
@@ -3656,7 +3656,7 @@ module UltracartClient
|
|
|
3656
3656
|
fail ArgumentError, "Missing the required parameter 'recording_sid' when calling ConversationApi.listened_pbx_queue_voicemail"
|
|
3657
3657
|
end
|
|
3658
3658
|
# resource path
|
|
3659
|
-
local_var_path = '/conversation/pbx/{queue_uuid}/voicemails/
|
|
3659
|
+
local_var_path = '/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened'.sub('{' + 'queue_uuid' + '}', queue_uuid.to_s).sub('{' + 'recording_sid' + '}', recording_sid.to_s)
|
|
3660
3660
|
|
|
3661
3661
|
# query parameters
|
|
3662
3662
|
query_params = {}
|
|
@@ -22,8 +22,14 @@ module UltracartClient
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :merchant_id
|
|
24
24
|
|
|
25
|
+
attr_accessor :pbx_admin
|
|
26
|
+
|
|
25
27
|
attr_accessor :pbx_jwt
|
|
26
28
|
|
|
29
|
+
attr_accessor :pbx_supervisor
|
|
30
|
+
|
|
31
|
+
attr_accessor :pbx_user
|
|
32
|
+
|
|
27
33
|
attr_accessor :pbx_voice_identity
|
|
28
34
|
|
|
29
35
|
attr_accessor :pbx_voice_token
|
|
@@ -41,7 +47,10 @@ module UltracartClient
|
|
|
41
47
|
:'conversation_participant_name' => :'conversation_participant_name',
|
|
42
48
|
:'jwt' => :'jwt',
|
|
43
49
|
:'merchant_id' => :'merchant_id',
|
|
50
|
+
:'pbx_admin' => :'pbx_admin',
|
|
44
51
|
:'pbx_jwt' => :'pbx_jwt',
|
|
52
|
+
:'pbx_supervisor' => :'pbx_supervisor',
|
|
53
|
+
:'pbx_user' => :'pbx_user',
|
|
45
54
|
:'pbx_voice_identity' => :'pbx_voice_identity',
|
|
46
55
|
:'pbx_voice_token' => :'pbx_voice_token',
|
|
47
56
|
:'pbx_worker_token' => :'pbx_worker_token',
|
|
@@ -57,7 +66,10 @@ module UltracartClient
|
|
|
57
66
|
:'conversation_participant_name' => :'String',
|
|
58
67
|
:'jwt' => :'String',
|
|
59
68
|
:'merchant_id' => :'String',
|
|
69
|
+
:'pbx_admin' => :'BOOLEAN',
|
|
60
70
|
:'pbx_jwt' => :'String',
|
|
71
|
+
:'pbx_supervisor' => :'BOOLEAN',
|
|
72
|
+
:'pbx_user' => :'BOOLEAN',
|
|
61
73
|
:'pbx_voice_identity' => :'String',
|
|
62
74
|
:'pbx_voice_token' => :'String',
|
|
63
75
|
:'pbx_worker_token' => :'String',
|
|
@@ -90,10 +102,22 @@ module UltracartClient
|
|
|
90
102
|
self.merchant_id = attributes[:'merchant_id']
|
|
91
103
|
end
|
|
92
104
|
|
|
105
|
+
if attributes.has_key?(:'pbx_admin')
|
|
106
|
+
self.pbx_admin = attributes[:'pbx_admin']
|
|
107
|
+
end
|
|
108
|
+
|
|
93
109
|
if attributes.has_key?(:'pbx_jwt')
|
|
94
110
|
self.pbx_jwt = attributes[:'pbx_jwt']
|
|
95
111
|
end
|
|
96
112
|
|
|
113
|
+
if attributes.has_key?(:'pbx_supervisor')
|
|
114
|
+
self.pbx_supervisor = attributes[:'pbx_supervisor']
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if attributes.has_key?(:'pbx_user')
|
|
118
|
+
self.pbx_user = attributes[:'pbx_user']
|
|
119
|
+
end
|
|
120
|
+
|
|
97
121
|
if attributes.has_key?(:'pbx_voice_identity')
|
|
98
122
|
self.pbx_voice_identity = attributes[:'pbx_voice_identity']
|
|
99
123
|
end
|
|
@@ -139,7 +163,10 @@ module UltracartClient
|
|
|
139
163
|
conversation_participant_name == o.conversation_participant_name &&
|
|
140
164
|
jwt == o.jwt &&
|
|
141
165
|
merchant_id == o.merchant_id &&
|
|
166
|
+
pbx_admin == o.pbx_admin &&
|
|
142
167
|
pbx_jwt == o.pbx_jwt &&
|
|
168
|
+
pbx_supervisor == o.pbx_supervisor &&
|
|
169
|
+
pbx_user == o.pbx_user &&
|
|
143
170
|
pbx_voice_identity == o.pbx_voice_identity &&
|
|
144
171
|
pbx_voice_token == o.pbx_voice_token &&
|
|
145
172
|
pbx_worker_token == o.pbx_worker_token &&
|
|
@@ -156,7 +183,7 @@ module UltracartClient
|
|
|
156
183
|
# Calculates hash code according to all attributes.
|
|
157
184
|
# @return [Fixnum] Hash code
|
|
158
185
|
def hash
|
|
159
|
-
[conversation_participant_arn, conversation_participant_name, jwt, merchant_id, pbx_jwt, pbx_voice_identity, pbx_voice_token, pbx_worker_token, twilio_accounts, websocket_url].hash
|
|
186
|
+
[conversation_participant_arn, conversation_participant_name, jwt, merchant_id, pbx_admin, pbx_jwt, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, twilio_accounts, websocket_url].hash
|
|
160
187
|
end
|
|
161
188
|
|
|
162
189
|
# Builds the object from hash
|
|
@@ -73,6 +73,9 @@ module UltracartClient
|
|
|
73
73
|
# Wait time in seconds before warning
|
|
74
74
|
attr_accessor :wait_warning_seconds
|
|
75
75
|
|
|
76
|
+
# Wrap up time in seconds
|
|
77
|
+
attr_accessor :wrap_up_seconds
|
|
78
|
+
|
|
76
79
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
77
80
|
def self.attribute_map
|
|
78
81
|
{
|
|
@@ -95,7 +98,8 @@ module UltracartClient
|
|
|
95
98
|
:'twilio_workspace_queue_sid' => :'twilio_workspace_queue_sid',
|
|
96
99
|
:'voicemail' => :'voicemail',
|
|
97
100
|
:'wait_critical_seconds' => :'wait_critical_seconds',
|
|
98
|
-
:'wait_warning_seconds' => :'wait_warning_seconds'
|
|
101
|
+
:'wait_warning_seconds' => :'wait_warning_seconds',
|
|
102
|
+
:'wrap_up_seconds' => :'wrap_up_seconds'
|
|
99
103
|
}
|
|
100
104
|
end
|
|
101
105
|
|
|
@@ -121,7 +125,8 @@ module UltracartClient
|
|
|
121
125
|
:'twilio_workspace_queue_sid' => :'String',
|
|
122
126
|
:'voicemail' => :'BOOLEAN',
|
|
123
127
|
:'wait_critical_seconds' => :'Integer',
|
|
124
|
-
:'wait_warning_seconds' => :'Integer'
|
|
128
|
+
:'wait_warning_seconds' => :'Integer',
|
|
129
|
+
:'wrap_up_seconds' => :'Integer'
|
|
125
130
|
}
|
|
126
131
|
end
|
|
127
132
|
|
|
@@ -212,6 +217,10 @@ module UltracartClient
|
|
|
212
217
|
if attributes.has_key?(:'wait_warning_seconds')
|
|
213
218
|
self.wait_warning_seconds = attributes[:'wait_warning_seconds']
|
|
214
219
|
end
|
|
220
|
+
|
|
221
|
+
if attributes.has_key?(:'wrap_up_seconds')
|
|
222
|
+
self.wrap_up_seconds = attributes[:'wrap_up_seconds']
|
|
223
|
+
end
|
|
215
224
|
end
|
|
216
225
|
|
|
217
226
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -401,7 +410,8 @@ module UltracartClient
|
|
|
401
410
|
twilio_workspace_queue_sid == o.twilio_workspace_queue_sid &&
|
|
402
411
|
voicemail == o.voicemail &&
|
|
403
412
|
wait_critical_seconds == o.wait_critical_seconds &&
|
|
404
|
-
wait_warning_seconds == o.wait_warning_seconds
|
|
413
|
+
wait_warning_seconds == o.wait_warning_seconds &&
|
|
414
|
+
wrap_up_seconds == o.wrap_up_seconds
|
|
405
415
|
end
|
|
406
416
|
|
|
407
417
|
# @see the `==` method
|
|
@@ -413,7 +423,7 @@ module UltracartClient
|
|
|
413
423
|
# Calculates hash code according to all attributes.
|
|
414
424
|
# @return [Fixnum] Hash code
|
|
415
425
|
def hash
|
|
416
|
-
[announce_queue_position, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds].hash
|
|
426
|
+
[announce_queue_position, conversation_pbx_queue_uuid, conversation_voicemail_mailbox_uuid, hold_conversation_pbx_audio_uuid, max_hold_seconds, members, merchant_id, name, no_agent_available_play_audio_uuid, no_agent_available_say, no_agent_available_say_voice, play_audio_uuid, record_call, say, say_voice, twilio_taskrouter_workflow_sid, twilio_workspace_queue_sid, voicemail, wait_critical_seconds, wait_warning_seconds, wrap_up_seconds].hash
|
|
417
427
|
end
|
|
418
428
|
|
|
419
429
|
# Builds the object from hash
|
|
@@ -35,6 +35,22 @@ module UltracartClient
|
|
|
35
35
|
# Email template virtual path
|
|
36
36
|
attr_accessor :email_template_vm_path
|
|
37
37
|
|
|
38
|
+
attr_accessor :external_generation
|
|
39
|
+
|
|
40
|
+
attr_accessor :external_generation_authentication
|
|
41
|
+
|
|
42
|
+
attr_accessor :external_generation_basic_password
|
|
43
|
+
|
|
44
|
+
attr_accessor :external_generation_basic_username
|
|
45
|
+
|
|
46
|
+
attr_accessor :external_generation_header_name
|
|
47
|
+
|
|
48
|
+
attr_accessor :external_generation_header_value
|
|
49
|
+
|
|
50
|
+
attr_accessor :external_generation_id
|
|
51
|
+
|
|
52
|
+
attr_accessor :external_generation_url
|
|
53
|
+
|
|
38
54
|
# Filter profile equation json
|
|
39
55
|
attr_accessor :filter_profile_equation_json
|
|
40
56
|
|
|
@@ -102,6 +118,14 @@ module UltracartClient
|
|
|
102
118
|
:'email_container_cjson' => :'email_container_cjson',
|
|
103
119
|
:'email_container_cjson_last_modified_dts' => :'email_container_cjson_last_modified_dts',
|
|
104
120
|
:'email_template_vm_path' => :'email_template_vm_path',
|
|
121
|
+
:'external_generation' => :'external_generation',
|
|
122
|
+
:'external_generation_authentication' => :'external_generation_authentication',
|
|
123
|
+
:'external_generation_basic_password' => :'external_generation_basic_password',
|
|
124
|
+
:'external_generation_basic_username' => :'external_generation_basic_username',
|
|
125
|
+
:'external_generation_header_name' => :'external_generation_header_name',
|
|
126
|
+
:'external_generation_header_value' => :'external_generation_header_value',
|
|
127
|
+
:'external_generation_id' => :'external_generation_id',
|
|
128
|
+
:'external_generation_url' => :'external_generation_url',
|
|
105
129
|
:'filter_profile_equation_json' => :'filter_profile_equation_json',
|
|
106
130
|
:'individually_render' => :'individually_render',
|
|
107
131
|
:'library_item_oid' => :'library_item_oid',
|
|
@@ -134,6 +158,14 @@ module UltracartClient
|
|
|
134
158
|
:'email_container_cjson' => :'String',
|
|
135
159
|
:'email_container_cjson_last_modified_dts' => :'String',
|
|
136
160
|
:'email_template_vm_path' => :'String',
|
|
161
|
+
:'external_generation' => :'BOOLEAN',
|
|
162
|
+
:'external_generation_authentication' => :'String',
|
|
163
|
+
:'external_generation_basic_password' => :'String',
|
|
164
|
+
:'external_generation_basic_username' => :'String',
|
|
165
|
+
:'external_generation_header_name' => :'String',
|
|
166
|
+
:'external_generation_header_value' => :'String',
|
|
167
|
+
:'external_generation_id' => :'String',
|
|
168
|
+
:'external_generation_url' => :'String',
|
|
137
169
|
:'filter_profile_equation_json' => :'String',
|
|
138
170
|
:'individually_render' => :'BOOLEAN',
|
|
139
171
|
:'library_item_oid' => :'Integer',
|
|
@@ -192,6 +224,38 @@ module UltracartClient
|
|
|
192
224
|
self.email_template_vm_path = attributes[:'email_template_vm_path']
|
|
193
225
|
end
|
|
194
226
|
|
|
227
|
+
if attributes.has_key?(:'external_generation')
|
|
228
|
+
self.external_generation = attributes[:'external_generation']
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
if attributes.has_key?(:'external_generation_authentication')
|
|
232
|
+
self.external_generation_authentication = attributes[:'external_generation_authentication']
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
if attributes.has_key?(:'external_generation_basic_password')
|
|
236
|
+
self.external_generation_basic_password = attributes[:'external_generation_basic_password']
|
|
237
|
+
end
|
|
238
|
+
|
|
239
|
+
if attributes.has_key?(:'external_generation_basic_username')
|
|
240
|
+
self.external_generation_basic_username = attributes[:'external_generation_basic_username']
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
if attributes.has_key?(:'external_generation_header_name')
|
|
244
|
+
self.external_generation_header_name = attributes[:'external_generation_header_name']
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
if attributes.has_key?(:'external_generation_header_value')
|
|
248
|
+
self.external_generation_header_value = attributes[:'external_generation_header_value']
|
|
249
|
+
end
|
|
250
|
+
|
|
251
|
+
if attributes.has_key?(:'external_generation_id')
|
|
252
|
+
self.external_generation_id = attributes[:'external_generation_id']
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
if attributes.has_key?(:'external_generation_url')
|
|
256
|
+
self.external_generation_url = attributes[:'external_generation_url']
|
|
257
|
+
end
|
|
258
|
+
|
|
195
259
|
if attributes.has_key?(:'filter_profile_equation_json')
|
|
196
260
|
self.filter_profile_equation_json = attributes[:'filter_profile_equation_json']
|
|
197
261
|
end
|
|
@@ -294,6 +358,14 @@ module UltracartClient
|
|
|
294
358
|
email_container_cjson == o.email_container_cjson &&
|
|
295
359
|
email_container_cjson_last_modified_dts == o.email_container_cjson_last_modified_dts &&
|
|
296
360
|
email_template_vm_path == o.email_template_vm_path &&
|
|
361
|
+
external_generation == o.external_generation &&
|
|
362
|
+
external_generation_authentication == o.external_generation_authentication &&
|
|
363
|
+
external_generation_basic_password == o.external_generation_basic_password &&
|
|
364
|
+
external_generation_basic_username == o.external_generation_basic_username &&
|
|
365
|
+
external_generation_header_name == o.external_generation_header_name &&
|
|
366
|
+
external_generation_header_value == o.external_generation_header_value &&
|
|
367
|
+
external_generation_id == o.external_generation_id &&
|
|
368
|
+
external_generation_url == o.external_generation_url &&
|
|
297
369
|
filter_profile_equation_json == o.filter_profile_equation_json &&
|
|
298
370
|
individually_render == o.individually_render &&
|
|
299
371
|
library_item_oid == o.library_item_oid &&
|
|
@@ -324,7 +396,7 @@ module UltracartClient
|
|
|
324
396
|
# Calculates hash code according to all attributes.
|
|
325
397
|
# @return [Fixnum] Hash code
|
|
326
398
|
def hash
|
|
327
|
-
[deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
|
|
399
|
+
[deleted, edited_by_user, email_communication_sequence_email_uuid, email_communication_sequence_uuid, email_container_cjson, email_container_cjson_last_modified_dts, email_template_vm_path, external_generation, external_generation_authentication, external_generation_basic_password, external_generation_basic_username, external_generation_header_name, external_generation_header_value, external_generation_id, external_generation_url, filter_profile_equation_json, individually_render, library_item_oid, magic_link, merchant_id, pending_review, preview_text, rejected, requires_review, screenshot_large_full_url, screenshot_large_viewport_url, screenshot_small_full_url, screenshot_small_viewport_url, smart_sending, storefront_oid, subject, suspended_for_spam, transactional_email, version].hash
|
|
328
400
|
end
|
|
329
401
|
|
|
330
402
|
# Builds the object from hash
|
|
@@ -14,10 +14,10 @@ require 'date'
|
|
|
14
14
|
|
|
15
15
|
module UltracartClient
|
|
16
16
|
class ItemChargeback
|
|
17
|
-
# Addendums
|
|
17
|
+
# Addendums (deprecated)
|
|
18
18
|
attr_accessor :addendums
|
|
19
19
|
|
|
20
|
-
# Adjustment requests
|
|
20
|
+
# Adjustment requests (deprecated)
|
|
21
21
|
attr_accessor :adjustment_requests
|
|
22
22
|
|
|
23
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -36,6 +36,9 @@ module UltracartClient
|
|
|
36
36
|
# Reason codes available at the order level.
|
|
37
37
|
attr_accessor :order_level_refund_reasons
|
|
38
38
|
|
|
39
|
+
# True if the order level reject reason is required
|
|
40
|
+
attr_accessor :order_level_reject_reason_required
|
|
41
|
+
|
|
39
42
|
# Reject codes available at the order level.
|
|
40
43
|
attr_accessor :order_level_reject_reasons
|
|
41
44
|
|
|
@@ -58,6 +61,7 @@ module UltracartClient
|
|
|
58
61
|
:'metadata' => :'metadata',
|
|
59
62
|
:'order_level_refund_reason_required' => :'order_level_refund_reason_required',
|
|
60
63
|
:'order_level_refund_reasons' => :'order_level_refund_reasons',
|
|
64
|
+
:'order_level_reject_reason_required' => :'order_level_reject_reason_required',
|
|
61
65
|
:'order_level_reject_reasons' => :'order_level_reject_reasons',
|
|
62
66
|
:'refundable' => :'refundable',
|
|
63
67
|
:'success' => :'success',
|
|
@@ -76,6 +80,7 @@ module UltracartClient
|
|
|
76
80
|
:'metadata' => :'ResponseMetadata',
|
|
77
81
|
:'order_level_refund_reason_required' => :'BOOLEAN',
|
|
78
82
|
:'order_level_refund_reasons' => :'Array<OrderReason>',
|
|
83
|
+
:'order_level_reject_reason_required' => :'BOOLEAN',
|
|
79
84
|
:'order_level_reject_reasons' => :'Array<OrderReason>',
|
|
80
85
|
:'refundable' => :'BOOLEAN',
|
|
81
86
|
:'success' => :'BOOLEAN',
|
|
@@ -129,6 +134,10 @@ module UltracartClient
|
|
|
129
134
|
end
|
|
130
135
|
end
|
|
131
136
|
|
|
137
|
+
if attributes.has_key?(:'order_level_reject_reason_required')
|
|
138
|
+
self.order_level_reject_reason_required = attributes[:'order_level_reject_reason_required']
|
|
139
|
+
end
|
|
140
|
+
|
|
132
141
|
if attributes.has_key?(:'order_level_reject_reasons')
|
|
133
142
|
if (value = attributes[:'order_level_reject_reasons']).is_a?(Array)
|
|
134
143
|
self.order_level_reject_reasons = value
|
|
@@ -174,6 +183,7 @@ module UltracartClient
|
|
|
174
183
|
metadata == o.metadata &&
|
|
175
184
|
order_level_refund_reason_required == o.order_level_refund_reason_required &&
|
|
176
185
|
order_level_refund_reasons == o.order_level_refund_reasons &&
|
|
186
|
+
order_level_reject_reason_required == o.order_level_reject_reason_required &&
|
|
177
187
|
order_level_reject_reasons == o.order_level_reject_reasons &&
|
|
178
188
|
refundable == o.refundable &&
|
|
179
189
|
success == o.success &&
|
|
@@ -189,7 +199,7 @@ module UltracartClient
|
|
|
189
199
|
# Calculates hash code according to all attributes.
|
|
190
200
|
# @return [Fixnum] Hash code
|
|
191
201
|
def hash
|
|
192
|
-
[error, item_level_refund_reason_required, item_level_refund_reasons, item_level_return_reasons, manual_because_multiple_charges, metadata, order_level_refund_reason_required, order_level_refund_reasons, order_level_reject_reasons, refundable, success, warning].hash
|
|
202
|
+
[error, item_level_refund_reason_required, item_level_refund_reasons, item_level_return_reasons, manual_because_multiple_charges, metadata, order_level_refund_reason_required, order_level_refund_reasons, order_level_reject_reason_required, order_level_reject_reasons, refundable, success, warning].hash
|
|
193
203
|
end
|
|
194
204
|
|
|
195
205
|
# Builds the object from hash
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ultracart_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.10.
|
|
4
|
+
version: 3.10.194
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-04-
|
|
11
|
+
date: 2024-04-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|