ultracart_api 4.0.210 → 4.0.211
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -5
- data/docs/ConversationAgentAuth.md +6 -0
- data/docs/ConversationApi.md +1 -1
- data/docs/ConversationPbxQueue.md +3 -1
- data/docs/EmailCommseqEmail.md +16 -0
- data/docs/ItemChargeback.md +2 -2
- data/docs/OrderRefundableResponse.md +2 -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: 44fbcf4e55d0ece4a0b2e9283d368f6fe5c188656b7f70bdef8d89bf03da92b4
|
4
|
+
data.tar.gz: 54f6c47174f5d33c4b1f24294f7ec7c021fe6018bbecbe4236a8258c07f5fae5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23d8d3a2e2f23a4a388be56b5fb0bd9445a4c4dcad8b883a43db37e5cb54010c941686f9a78ac3bf007322884289068a79540440fe48305838a6b90c2f1b4ab4
|
7
|
+
data.tar.gz: c47991c2592b8b2b15a33972e60aaa22db5f3cb4eb07ca4dd51ca69b08d5f56a1c9b43233067f6b2883d4c77e92e336f035f140365ff7f30c7e189b9d1499a31
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 4.0.
|
10
|
+
- Package version: 4.0.211
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-4.0.
|
27
|
+
gem install ./ultracart_api-4.0.211.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.211.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 'ultracart_api', '~> 4.0.
|
36
|
+
gem 'ultracart_api', '~> 4.0.211'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -205,7 +205,7 @@ Class | Method | HTTP request | Description
|
|
205
205
|
*UltracartClient::ConversationApi* | [**join_conversation**](docs/ConversationApi.md#join_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/join | Join a conversation
|
206
206
|
*UltracartClient::ConversationApi* | [**leave_conversation**](docs/ConversationApi.md#leave_conversation) | **DELETE** /conversation/conversations/{conversation_uuid}/leave | Leave a conversation
|
207
207
|
*UltracartClient::ConversationApi* | [**listened_pbx_agent_voicemail**](docs/ConversationApi.md#listened_pbx_agent_voicemail) | **GET** /conversation/pbx/agent/voicemails/{recording_sid}/listened | Listened Agent Voicemail
|
208
|
-
*UltracartClient::ConversationApi* | [**listened_pbx_queue_voicemail**](docs/ConversationApi.md#listened_pbx_queue_voicemail) | **GET** /conversation/pbx/{queue_uuid}/voicemails/
|
208
|
+
*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
|
209
209
|
*UltracartClient::ConversationApi* | [**mark_read_conversation**](docs/ConversationApi.md#mark_read_conversation) | **PUT** /conversation/conversations/{conversation_uuid}/markread | Mark a conversation as read
|
210
210
|
*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
|
211
211
|
*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
|
@@ -1507,6 +1507,7 @@ Not every change is committed to every SDK.
|
|
1507
1507
|
|
1508
1508
|
| Version | Date | Comments |
|
1509
1509
|
| --: | :-: | --- |
|
1510
|
+
| 4.0.211 | 04/24/2024 | esp - add fields for external generation on email |
|
1510
1511
|
| 4.0.210 | 04/04/2024 | AutoOrder.calculated_next_shipment_dts |
|
1511
1512
|
| 4.0.209 | 04/01/2024 | added merchant_id as read-only top level property of AutoOrder object |
|
1512
1513
|
| 4.0.208 | 03/26/2024 | WorkflowTask - added assigned_to_user_or_group field |
|
@@ -8,7 +8,10 @@
|
|
8
8
|
| **conversation_participant_name** | **String** | | [optional] |
|
9
9
|
| **jwt** | **String** | | [optional] |
|
10
10
|
| **merchant_id** | **String** | | [optional] |
|
11
|
+
| **pbx_admin** | **Boolean** | | [optional] |
|
11
12
|
| **pbx_jwt** | **String** | | [optional] |
|
13
|
+
| **pbx_supervisor** | **Boolean** | | [optional] |
|
14
|
+
| **pbx_user** | **Boolean** | | [optional] |
|
12
15
|
| **pbx_voice_identity** | **String** | | [optional] |
|
13
16
|
| **pbx_voice_token** | **String** | | [optional] |
|
14
17
|
| **pbx_worker_token** | **String** | | [optional] |
|
@@ -25,7 +28,10 @@ instance = UltracartClient::ConversationAgentAuth.new(
|
|
25
28
|
conversation_participant_name: null,
|
26
29
|
jwt: null,
|
27
30
|
merchant_id: null,
|
31
|
+
pbx_admin: null,
|
28
32
|
pbx_jwt: null,
|
33
|
+
pbx_supervisor: null,
|
34
|
+
pbx_user: null,
|
29
35
|
pbx_voice_identity: null,
|
30
36
|
pbx_voice_token: null,
|
31
37
|
pbx_worker_token: null,
|
data/docs/ConversationApi.md
CHANGED
@@ -71,7 +71,7 @@ All URIs are relative to *https://secure.ultracart.com/rest/v2*
|
|
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 |
|
@@ -24,6 +24,7 @@
|
|
24
24
|
| **voicemail** | **Boolean** | If true, this queue has a voicemail associated with it | [optional] |
|
25
25
|
| **wait_critical_seconds** | **Integer** | Wait time in seconds before critical | [optional] |
|
26
26
|
| **wait_warning_seconds** | **Integer** | Wait time in seconds before warning | [optional] |
|
27
|
+
| **wrap_up_seconds** | **Integer** | Wrap up time in seconds | [optional] |
|
27
28
|
|
28
29
|
## Example
|
29
30
|
|
@@ -50,7 +51,8 @@ instance = UltracartClient::ConversationPbxQueue.new(
|
|
50
51
|
twilio_workspace_queue_sid: null,
|
51
52
|
voicemail: null,
|
52
53
|
wait_critical_seconds: null,
|
53
|
-
wait_warning_seconds: null
|
54
|
+
wait_warning_seconds: null,
|
55
|
+
wrap_up_seconds: null
|
54
56
|
)
|
55
57
|
```
|
56
58
|
|
data/docs/EmailCommseqEmail.md
CHANGED
@@ -11,6 +11,14 @@
|
|
11
11
|
| **email_container_cjson** | **String** | Email container cjson | [optional] |
|
12
12
|
| **email_container_cjson_last_modified_dts** | **String** | Timestamp the last time the container was modified. | [optional] |
|
13
13
|
| **email_template_vm_path** | **String** | Email template virtual path | [optional] |
|
14
|
+
| **external_generation** | **Boolean** | | [optional] |
|
15
|
+
| **external_generation_authentication** | **String** | | [optional] |
|
16
|
+
| **external_generation_basic_password** | **String** | | [optional] |
|
17
|
+
| **external_generation_basic_username** | **String** | | [optional] |
|
18
|
+
| **external_generation_header_name** | **String** | | [optional] |
|
19
|
+
| **external_generation_header_value** | **String** | | [optional] |
|
20
|
+
| **external_generation_id** | **String** | | [optional] |
|
21
|
+
| **external_generation_url** | **String** | | [optional] |
|
14
22
|
| **filter_profile_equation_json** | **String** | Filter profile equation json | [optional] |
|
15
23
|
| **individually_render** | **Boolean** | Individually render | [optional] |
|
16
24
|
| **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] |
|
@@ -44,6 +52,14 @@ instance = UltracartClient::EmailCommseqEmail.new(
|
|
44
52
|
email_container_cjson: null,
|
45
53
|
email_container_cjson_last_modified_dts: null,
|
46
54
|
email_template_vm_path: null,
|
55
|
+
external_generation: null,
|
56
|
+
external_generation_authentication: null,
|
57
|
+
external_generation_basic_password: null,
|
58
|
+
external_generation_basic_username: null,
|
59
|
+
external_generation_header_name: null,
|
60
|
+
external_generation_header_value: null,
|
61
|
+
external_generation_id: null,
|
62
|
+
external_generation_url: null,
|
47
63
|
filter_profile_equation_json: null,
|
48
64
|
individually_render: null,
|
49
65
|
library_item_oid: null,
|
data/docs/ItemChargeback.md
CHANGED
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **addendums** | [**Array<ItemChargebackAddendum>**](ItemChargebackAddendum.md) | Addendums | [optional] |
|
8
|
-
| **adjustment_requests** | [**Array<ItemChargebackAdjustmentRequest>**](ItemChargebackAdjustmentRequest.md) | Adjustment requests | [optional] |
|
7
|
+
| **addendums** | [**Array<ItemChargebackAddendum>**](ItemChargebackAddendum.md) | Addendums (deprecated) | [optional] |
|
8
|
+
| **adjustment_requests** | [**Array<ItemChargebackAdjustmentRequest>**](ItemChargebackAdjustmentRequest.md) | Adjustment requests (deprecated) | [optional] |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -12,6 +12,7 @@
|
|
12
12
|
| **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
|
13
13
|
| **order_level_refund_reason_required** | **Boolean** | True if the order level refund reason is required | [optional] |
|
14
14
|
| **order_level_refund_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reason codes available at the order level. | [optional] |
|
15
|
+
| **order_level_reject_reason_required** | **Boolean** | True if the order level reject reason is required | [optional] |
|
15
16
|
| **order_level_reject_reasons** | [**Array<OrderReason>**](OrderReason.md) | Reject codes available at the order level. | [optional] |
|
16
17
|
| **refundable** | **Boolean** | Whether the order is refundable or not. Null should be interpreted as false. | [optional] |
|
17
18
|
| **success** | **Boolean** | Indicates if API call was successful | [optional] |
|
@@ -31,6 +32,7 @@ instance = UltracartClient::OrderRefundableResponse.new(
|
|
31
32
|
metadata: null,
|
32
33
|
order_level_refund_reason_required: null,
|
33
34
|
order_level_refund_reasons: null,
|
35
|
+
order_level_reject_reason_required: null,
|
34
36
|
order_level_reject_reasons: null,
|
35
37
|
refundable: null,
|
36
38
|
success: null,
|
@@ -4343,7 +4343,7 @@ module UltracartClient
|
|
4343
4343
|
fail ArgumentError, "Missing the required parameter 'recording_sid' when calling ConversationApi.listened_pbx_queue_voicemail"
|
4344
4344
|
end
|
4345
4345
|
# resource path
|
4346
|
-
local_var_path = '/conversation/pbx/{queue_uuid}/voicemails/
|
4346
|
+
local_var_path = '/conversation/pbx/queues/{queue_uuid}/voicemails/{recording_sid}/listened'.sub('{' + 'queue_uuid' + '}', CGI.escape(queue_uuid.to_s)).sub('{' + 'recording_sid' + '}', CGI.escape(recording_sid.to_s))
|
4347
4347
|
|
4348
4348
|
# query parameters
|
4349
4349
|
query_params = opts[:query_params] || {}
|
@@ -23,8 +23,14 @@ module UltracartClient
|
|
23
23
|
|
24
24
|
attr_accessor :merchant_id
|
25
25
|
|
26
|
+
attr_accessor :pbx_admin
|
27
|
+
|
26
28
|
attr_accessor :pbx_jwt
|
27
29
|
|
30
|
+
attr_accessor :pbx_supervisor
|
31
|
+
|
32
|
+
attr_accessor :pbx_user
|
33
|
+
|
28
34
|
attr_accessor :pbx_voice_identity
|
29
35
|
|
30
36
|
attr_accessor :pbx_voice_token
|
@@ -42,7 +48,10 @@ module UltracartClient
|
|
42
48
|
:'conversation_participant_name' => :'conversation_participant_name',
|
43
49
|
:'jwt' => :'jwt',
|
44
50
|
:'merchant_id' => :'merchant_id',
|
51
|
+
:'pbx_admin' => :'pbx_admin',
|
45
52
|
:'pbx_jwt' => :'pbx_jwt',
|
53
|
+
:'pbx_supervisor' => :'pbx_supervisor',
|
54
|
+
:'pbx_user' => :'pbx_user',
|
46
55
|
:'pbx_voice_identity' => :'pbx_voice_identity',
|
47
56
|
:'pbx_voice_token' => :'pbx_voice_token',
|
48
57
|
:'pbx_worker_token' => :'pbx_worker_token',
|
@@ -63,7 +72,10 @@ module UltracartClient
|
|
63
72
|
:'conversation_participant_name' => :'String',
|
64
73
|
:'jwt' => :'String',
|
65
74
|
:'merchant_id' => :'String',
|
75
|
+
:'pbx_admin' => :'Boolean',
|
66
76
|
:'pbx_jwt' => :'String',
|
77
|
+
:'pbx_supervisor' => :'Boolean',
|
78
|
+
:'pbx_user' => :'Boolean',
|
67
79
|
:'pbx_voice_identity' => :'String',
|
68
80
|
:'pbx_voice_token' => :'String',
|
69
81
|
:'pbx_worker_token' => :'String',
|
@@ -109,10 +121,22 @@ module UltracartClient
|
|
109
121
|
self.merchant_id = attributes[:'merchant_id']
|
110
122
|
end
|
111
123
|
|
124
|
+
if attributes.key?(:'pbx_admin')
|
125
|
+
self.pbx_admin = attributes[:'pbx_admin']
|
126
|
+
end
|
127
|
+
|
112
128
|
if attributes.key?(:'pbx_jwt')
|
113
129
|
self.pbx_jwt = attributes[:'pbx_jwt']
|
114
130
|
end
|
115
131
|
|
132
|
+
if attributes.key?(:'pbx_supervisor')
|
133
|
+
self.pbx_supervisor = attributes[:'pbx_supervisor']
|
134
|
+
end
|
135
|
+
|
136
|
+
if attributes.key?(:'pbx_user')
|
137
|
+
self.pbx_user = attributes[:'pbx_user']
|
138
|
+
end
|
139
|
+
|
116
140
|
if attributes.key?(:'pbx_voice_identity')
|
117
141
|
self.pbx_voice_identity = attributes[:'pbx_voice_identity']
|
118
142
|
end
|
@@ -158,7 +182,10 @@ module UltracartClient
|
|
158
182
|
conversation_participant_name == o.conversation_participant_name &&
|
159
183
|
jwt == o.jwt &&
|
160
184
|
merchant_id == o.merchant_id &&
|
185
|
+
pbx_admin == o.pbx_admin &&
|
161
186
|
pbx_jwt == o.pbx_jwt &&
|
187
|
+
pbx_supervisor == o.pbx_supervisor &&
|
188
|
+
pbx_user == o.pbx_user &&
|
162
189
|
pbx_voice_identity == o.pbx_voice_identity &&
|
163
190
|
pbx_voice_token == o.pbx_voice_token &&
|
164
191
|
pbx_worker_token == o.pbx_worker_token &&
|
@@ -175,7 +202,7 @@ module UltracartClient
|
|
175
202
|
# Calculates hash code according to all attributes.
|
176
203
|
# @return [Integer] Hash code
|
177
204
|
def hash
|
178
|
-
[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
|
205
|
+
[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
|
179
206
|
end
|
180
207
|
|
181
208
|
# Builds the object from hash
|
@@ -74,6 +74,9 @@ module UltracartClient
|
|
74
74
|
# Wait time in seconds before warning
|
75
75
|
attr_accessor :wait_warning_seconds
|
76
76
|
|
77
|
+
# Wrap up time in seconds
|
78
|
+
attr_accessor :wrap_up_seconds
|
79
|
+
|
77
80
|
# Attribute mapping from ruby-style variable name to JSON key.
|
78
81
|
def self.attribute_map
|
79
82
|
{
|
@@ -96,7 +99,8 @@ module UltracartClient
|
|
96
99
|
:'twilio_workspace_queue_sid' => :'twilio_workspace_queue_sid',
|
97
100
|
:'voicemail' => :'voicemail',
|
98
101
|
:'wait_critical_seconds' => :'wait_critical_seconds',
|
99
|
-
:'wait_warning_seconds' => :'wait_warning_seconds'
|
102
|
+
:'wait_warning_seconds' => :'wait_warning_seconds',
|
103
|
+
:'wrap_up_seconds' => :'wrap_up_seconds'
|
100
104
|
}
|
101
105
|
end
|
102
106
|
|
@@ -127,7 +131,8 @@ module UltracartClient
|
|
127
131
|
:'twilio_workspace_queue_sid' => :'String',
|
128
132
|
:'voicemail' => :'Boolean',
|
129
133
|
:'wait_critical_seconds' => :'Integer',
|
130
|
-
:'wait_warning_seconds' => :'Integer'
|
134
|
+
:'wait_warning_seconds' => :'Integer',
|
135
|
+
:'wrap_up_seconds' => :'Integer'
|
131
136
|
}
|
132
137
|
end
|
133
138
|
|
@@ -231,6 +236,10 @@ module UltracartClient
|
|
231
236
|
if attributes.key?(:'wait_warning_seconds')
|
232
237
|
self.wait_warning_seconds = attributes[:'wait_warning_seconds']
|
233
238
|
end
|
239
|
+
|
240
|
+
if attributes.key?(:'wrap_up_seconds')
|
241
|
+
self.wrap_up_seconds = attributes[:'wrap_up_seconds']
|
242
|
+
end
|
234
243
|
end
|
235
244
|
|
236
245
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -420,7 +429,8 @@ module UltracartClient
|
|
420
429
|
twilio_workspace_queue_sid == o.twilio_workspace_queue_sid &&
|
421
430
|
voicemail == o.voicemail &&
|
422
431
|
wait_critical_seconds == o.wait_critical_seconds &&
|
423
|
-
wait_warning_seconds == o.wait_warning_seconds
|
432
|
+
wait_warning_seconds == o.wait_warning_seconds &&
|
433
|
+
wrap_up_seconds == o.wrap_up_seconds
|
424
434
|
end
|
425
435
|
|
426
436
|
# @see the `==` method
|
@@ -432,7 +442,7 @@ module UltracartClient
|
|
432
442
|
# Calculates hash code according to all attributes.
|
433
443
|
# @return [Integer] Hash code
|
434
444
|
def hash
|
435
|
-
[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
|
445
|
+
[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
|
436
446
|
end
|
437
447
|
|
438
448
|
# Builds the object from hash
|
@@ -36,6 +36,22 @@ module UltracartClient
|
|
36
36
|
# Email template virtual path
|
37
37
|
attr_accessor :email_template_vm_path
|
38
38
|
|
39
|
+
attr_accessor :external_generation
|
40
|
+
|
41
|
+
attr_accessor :external_generation_authentication
|
42
|
+
|
43
|
+
attr_accessor :external_generation_basic_password
|
44
|
+
|
45
|
+
attr_accessor :external_generation_basic_username
|
46
|
+
|
47
|
+
attr_accessor :external_generation_header_name
|
48
|
+
|
49
|
+
attr_accessor :external_generation_header_value
|
50
|
+
|
51
|
+
attr_accessor :external_generation_id
|
52
|
+
|
53
|
+
attr_accessor :external_generation_url
|
54
|
+
|
39
55
|
# Filter profile equation json
|
40
56
|
attr_accessor :filter_profile_equation_json
|
41
57
|
|
@@ -103,6 +119,14 @@ module UltracartClient
|
|
103
119
|
:'email_container_cjson' => :'email_container_cjson',
|
104
120
|
:'email_container_cjson_last_modified_dts' => :'email_container_cjson_last_modified_dts',
|
105
121
|
:'email_template_vm_path' => :'email_template_vm_path',
|
122
|
+
:'external_generation' => :'external_generation',
|
123
|
+
:'external_generation_authentication' => :'external_generation_authentication',
|
124
|
+
:'external_generation_basic_password' => :'external_generation_basic_password',
|
125
|
+
:'external_generation_basic_username' => :'external_generation_basic_username',
|
126
|
+
:'external_generation_header_name' => :'external_generation_header_name',
|
127
|
+
:'external_generation_header_value' => :'external_generation_header_value',
|
128
|
+
:'external_generation_id' => :'external_generation_id',
|
129
|
+
:'external_generation_url' => :'external_generation_url',
|
106
130
|
:'filter_profile_equation_json' => :'filter_profile_equation_json',
|
107
131
|
:'individually_render' => :'individually_render',
|
108
132
|
:'library_item_oid' => :'library_item_oid',
|
@@ -140,6 +164,14 @@ module UltracartClient
|
|
140
164
|
:'email_container_cjson' => :'String',
|
141
165
|
:'email_container_cjson_last_modified_dts' => :'String',
|
142
166
|
:'email_template_vm_path' => :'String',
|
167
|
+
:'external_generation' => :'Boolean',
|
168
|
+
:'external_generation_authentication' => :'String',
|
169
|
+
:'external_generation_basic_password' => :'String',
|
170
|
+
:'external_generation_basic_username' => :'String',
|
171
|
+
:'external_generation_header_name' => :'String',
|
172
|
+
:'external_generation_header_value' => :'String',
|
173
|
+
:'external_generation_id' => :'String',
|
174
|
+
:'external_generation_url' => :'String',
|
143
175
|
:'filter_profile_equation_json' => :'String',
|
144
176
|
:'individually_render' => :'Boolean',
|
145
177
|
:'library_item_oid' => :'Integer',
|
@@ -211,6 +243,38 @@ module UltracartClient
|
|
211
243
|
self.email_template_vm_path = attributes[:'email_template_vm_path']
|
212
244
|
end
|
213
245
|
|
246
|
+
if attributes.key?(:'external_generation')
|
247
|
+
self.external_generation = attributes[:'external_generation']
|
248
|
+
end
|
249
|
+
|
250
|
+
if attributes.key?(:'external_generation_authentication')
|
251
|
+
self.external_generation_authentication = attributes[:'external_generation_authentication']
|
252
|
+
end
|
253
|
+
|
254
|
+
if attributes.key?(:'external_generation_basic_password')
|
255
|
+
self.external_generation_basic_password = attributes[:'external_generation_basic_password']
|
256
|
+
end
|
257
|
+
|
258
|
+
if attributes.key?(:'external_generation_basic_username')
|
259
|
+
self.external_generation_basic_username = attributes[:'external_generation_basic_username']
|
260
|
+
end
|
261
|
+
|
262
|
+
if attributes.key?(:'external_generation_header_name')
|
263
|
+
self.external_generation_header_name = attributes[:'external_generation_header_name']
|
264
|
+
end
|
265
|
+
|
266
|
+
if attributes.key?(:'external_generation_header_value')
|
267
|
+
self.external_generation_header_value = attributes[:'external_generation_header_value']
|
268
|
+
end
|
269
|
+
|
270
|
+
if attributes.key?(:'external_generation_id')
|
271
|
+
self.external_generation_id = attributes[:'external_generation_id']
|
272
|
+
end
|
273
|
+
|
274
|
+
if attributes.key?(:'external_generation_url')
|
275
|
+
self.external_generation_url = attributes[:'external_generation_url']
|
276
|
+
end
|
277
|
+
|
214
278
|
if attributes.key?(:'filter_profile_equation_json')
|
215
279
|
self.filter_profile_equation_json = attributes[:'filter_profile_equation_json']
|
216
280
|
end
|
@@ -313,6 +377,14 @@ module UltracartClient
|
|
313
377
|
email_container_cjson == o.email_container_cjson &&
|
314
378
|
email_container_cjson_last_modified_dts == o.email_container_cjson_last_modified_dts &&
|
315
379
|
email_template_vm_path == o.email_template_vm_path &&
|
380
|
+
external_generation == o.external_generation &&
|
381
|
+
external_generation_authentication == o.external_generation_authentication &&
|
382
|
+
external_generation_basic_password == o.external_generation_basic_password &&
|
383
|
+
external_generation_basic_username == o.external_generation_basic_username &&
|
384
|
+
external_generation_header_name == o.external_generation_header_name &&
|
385
|
+
external_generation_header_value == o.external_generation_header_value &&
|
386
|
+
external_generation_id == o.external_generation_id &&
|
387
|
+
external_generation_url == o.external_generation_url &&
|
316
388
|
filter_profile_equation_json == o.filter_profile_equation_json &&
|
317
389
|
individually_render == o.individually_render &&
|
318
390
|
library_item_oid == o.library_item_oid &&
|
@@ -343,7 +415,7 @@ module UltracartClient
|
|
343
415
|
# Calculates hash code according to all attributes.
|
344
416
|
# @return [Integer] Hash code
|
345
417
|
def hash
|
346
|
-
[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
|
418
|
+
[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
|
347
419
|
end
|
348
420
|
|
349
421
|
# Builds the object from hash
|
@@ -15,10 +15,10 @@ require 'time'
|
|
15
15
|
|
16
16
|
module UltracartClient
|
17
17
|
class ItemChargeback
|
18
|
-
# Addendums
|
18
|
+
# Addendums (deprecated)
|
19
19
|
attr_accessor :addendums
|
20
20
|
|
21
|
-
# Adjustment requests
|
21
|
+
# Adjustment requests (deprecated)
|
22
22
|
attr_accessor :adjustment_requests
|
23
23
|
|
24
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -37,6 +37,9 @@ module UltracartClient
|
|
37
37
|
# Reason codes available at the order level.
|
38
38
|
attr_accessor :order_level_refund_reasons
|
39
39
|
|
40
|
+
# True if the order level reject reason is required
|
41
|
+
attr_accessor :order_level_reject_reason_required
|
42
|
+
|
40
43
|
# Reject codes available at the order level.
|
41
44
|
attr_accessor :order_level_reject_reasons
|
42
45
|
|
@@ -59,6 +62,7 @@ module UltracartClient
|
|
59
62
|
:'metadata' => :'metadata',
|
60
63
|
:'order_level_refund_reason_required' => :'order_level_refund_reason_required',
|
61
64
|
:'order_level_refund_reasons' => :'order_level_refund_reasons',
|
65
|
+
:'order_level_reject_reason_required' => :'order_level_reject_reason_required',
|
62
66
|
:'order_level_reject_reasons' => :'order_level_reject_reasons',
|
63
67
|
:'refundable' => :'refundable',
|
64
68
|
:'success' => :'success',
|
@@ -82,6 +86,7 @@ module UltracartClient
|
|
82
86
|
:'metadata' => :'ResponseMetadata',
|
83
87
|
:'order_level_refund_reason_required' => :'Boolean',
|
84
88
|
:'order_level_refund_reasons' => :'Array<OrderReason>',
|
89
|
+
:'order_level_reject_reason_required' => :'Boolean',
|
85
90
|
:'order_level_reject_reasons' => :'Array<OrderReason>',
|
86
91
|
:'refundable' => :'Boolean',
|
87
92
|
:'success' => :'Boolean',
|
@@ -148,6 +153,10 @@ module UltracartClient
|
|
148
153
|
end
|
149
154
|
end
|
150
155
|
|
156
|
+
if attributes.key?(:'order_level_reject_reason_required')
|
157
|
+
self.order_level_reject_reason_required = attributes[:'order_level_reject_reason_required']
|
158
|
+
end
|
159
|
+
|
151
160
|
if attributes.key?(:'order_level_reject_reasons')
|
152
161
|
if (value = attributes[:'order_level_reject_reasons']).is_a?(Array)
|
153
162
|
self.order_level_reject_reasons = value
|
@@ -193,6 +202,7 @@ module UltracartClient
|
|
193
202
|
metadata == o.metadata &&
|
194
203
|
order_level_refund_reason_required == o.order_level_refund_reason_required &&
|
195
204
|
order_level_refund_reasons == o.order_level_refund_reasons &&
|
205
|
+
order_level_reject_reason_required == o.order_level_reject_reason_required &&
|
196
206
|
order_level_reject_reasons == o.order_level_reject_reasons &&
|
197
207
|
refundable == o.refundable &&
|
198
208
|
success == o.success &&
|
@@ -208,7 +218,7 @@ module UltracartClient
|
|
208
218
|
# Calculates hash code according to all attributes.
|
209
219
|
# @return [Integer] Hash code
|
210
220
|
def hash
|
211
|
-
[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
|
221
|
+
[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
|
212
222
|
end
|
213
223
|
|
214
224
|
# 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: 4.0.
|
4
|
+
version: 4.0.211
|
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
|