ultracart_api 4.0.237 → 4.0.238

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70320428b3368a33b9283fc894e8ec57a3054f2e71e040a272ea9f03ed9479db
4
- data.tar.gz: 984041ff23c00ff11a1ca2cce5fce0c48a36526be28e8538504d3a423b9ab2bc
3
+ metadata.gz: a70af5cb98d0587cbecfdfc9662ba4a9c14347670f13a9a677702467a19f276f
4
+ data.tar.gz: 42144c4b4b82d971a51d482cd7bda59f93d8bd624a0a9dab0d6980fa48073bee
5
5
  SHA512:
6
- metadata.gz: 7917d8d7a6e21166ce81ff970c29ac31167c372eddc9890a09d382b67c557802333b93edcc8e7d093081b970537bb86b355af95a721cc55bc2b8068473b59ee7
7
- data.tar.gz: e3646b6ac060803486b37efea721b67fd2273701a357f8bfc9bcfb1764841d89cc65496a0eae72a47471b867ac45b61a579bdf6642537b401b6ad43c44e5e0b7
6
+ metadata.gz: 634982a5946314032f882d5081b47275cb57e5258da2521d665ceadfce47b56565a6215357c9b5daebdcff4cc771c271d3815c9506b558f48385cb9e3e024d19
7
+ data.tar.gz: f80d7b15d9a4318e15af41e0bcd63208aac7927d231a475991f6774b0c3d89abe6f53f84c20f672e7b6b7ef31e4334ceb3f2279d2762a6805a8574eed38cd811
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.237
10
+ - Package version: 4.0.238
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.237.gem
27
+ gem install ./ultracart_api-4.0.238.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.237.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.238.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.237'
36
+ gem 'ultracart_api', '~> 4.0.238'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1520,6 +1520,7 @@ Not every change is committed to every SDK.
1520
1520
 
1521
1521
  | Version | Date | Comments |
1522
1522
  | --: | :-: | --- |
1523
+ | 4.0.238 | 12/13/2024 | added user and group ids to conversation agent auth object |
1523
1524
  | 4.0.237 | 11/11/2024 | added seo properties to item.content object |
1524
1525
  | 4.0.236 | 11/07/2024 | Coupon - PercentOffWithItemsQuantityPurchase - added support for tags |
1525
1526
  | 4.0.235 | 11/04/2024 | item - new constant for auto order schedule of every 5 months |
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **conversation_participant_arn** | **String** | | [optional] |
8
8
  | **conversation_participant_name** | **String** | | [optional] |
9
+ | **group_ids** | **Array<Integer>** | UltraCart Groups this user belongs to | [optional] |
9
10
  | **jwt** | **String** | | [optional] |
10
11
  | **merchant_id** | **String** | | [optional] |
11
12
  | **pbx_admin** | **Boolean** | | [optional] |
@@ -16,6 +17,7 @@
16
17
  | **pbx_voice_token** | **String** | | [optional] |
17
18
  | **pbx_worker_token** | **String** | | [optional] |
18
19
  | **twilio_accounts** | [**Array<ConversationTwilioAccount>**](ConversationTwilioAccount.md) | | [optional] |
20
+ | **user_id** | **Integer** | UltraCart User ID | [optional] |
19
21
  | **websocket_url** | **String** | | [optional] |
20
22
 
21
23
  ## Example
@@ -26,6 +28,7 @@ require 'ultracart_api'
26
28
  instance = UltracartClient::ConversationAgentAuth.new(
27
29
  conversation_participant_arn: null,
28
30
  conversation_participant_name: null,
31
+ group_ids: null,
29
32
  jwt: null,
30
33
  merchant_id: null,
31
34
  pbx_admin: null,
@@ -36,6 +39,7 @@ instance = UltracartClient::ConversationAgentAuth.new(
36
39
  pbx_voice_token: null,
37
40
  pbx_worker_token: null,
38
41
  twilio_accounts: null,
42
+ user_id: null,
39
43
  websocket_url: null
40
44
  )
41
45
  ```
@@ -19,6 +19,9 @@ module UltracartClient
19
19
 
20
20
  attr_accessor :conversation_participant_name
21
21
 
22
+ # UltraCart Groups this user belongs to
23
+ attr_accessor :group_ids
24
+
22
25
  attr_accessor :jwt
23
26
 
24
27
  attr_accessor :merchant_id
@@ -39,6 +42,9 @@ module UltracartClient
39
42
 
40
43
  attr_accessor :twilio_accounts
41
44
 
45
+ # UltraCart User ID
46
+ attr_accessor :user_id
47
+
42
48
  attr_accessor :websocket_url
43
49
 
44
50
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -46,6 +52,7 @@ module UltracartClient
46
52
  {
47
53
  :'conversation_participant_arn' => :'conversation_participant_arn',
48
54
  :'conversation_participant_name' => :'conversation_participant_name',
55
+ :'group_ids' => :'group_ids',
49
56
  :'jwt' => :'jwt',
50
57
  :'merchant_id' => :'merchant_id',
51
58
  :'pbx_admin' => :'pbx_admin',
@@ -56,6 +63,7 @@ module UltracartClient
56
63
  :'pbx_voice_token' => :'pbx_voice_token',
57
64
  :'pbx_worker_token' => :'pbx_worker_token',
58
65
  :'twilio_accounts' => :'twilio_accounts',
66
+ :'user_id' => :'user_id',
59
67
  :'websocket_url' => :'websocket_url'
60
68
  }
61
69
  end
@@ -70,6 +78,7 @@ module UltracartClient
70
78
  {
71
79
  :'conversation_participant_arn' => :'String',
72
80
  :'conversation_participant_name' => :'String',
81
+ :'group_ids' => :'Array<Integer>',
73
82
  :'jwt' => :'String',
74
83
  :'merchant_id' => :'String',
75
84
  :'pbx_admin' => :'Boolean',
@@ -80,6 +89,7 @@ module UltracartClient
80
89
  :'pbx_voice_token' => :'String',
81
90
  :'pbx_worker_token' => :'String',
82
91
  :'twilio_accounts' => :'Array<ConversationTwilioAccount>',
92
+ :'user_id' => :'Integer',
83
93
  :'websocket_url' => :'String'
84
94
  }
85
95
  end
@@ -113,6 +123,12 @@ module UltracartClient
113
123
  self.conversation_participant_name = attributes[:'conversation_participant_name']
114
124
  end
115
125
 
126
+ if attributes.key?(:'group_ids')
127
+ if (value = attributes[:'group_ids']).is_a?(Array)
128
+ self.group_ids = value
129
+ end
130
+ end
131
+
116
132
  if attributes.key?(:'jwt')
117
133
  self.jwt = attributes[:'jwt']
118
134
  end
@@ -155,6 +171,10 @@ module UltracartClient
155
171
  end
156
172
  end
157
173
 
174
+ if attributes.key?(:'user_id')
175
+ self.user_id = attributes[:'user_id']
176
+ end
177
+
158
178
  if attributes.key?(:'websocket_url')
159
179
  self.websocket_url = attributes[:'websocket_url']
160
180
  end
@@ -180,6 +200,7 @@ module UltracartClient
180
200
  self.class == o.class &&
181
201
  conversation_participant_arn == o.conversation_participant_arn &&
182
202
  conversation_participant_name == o.conversation_participant_name &&
203
+ group_ids == o.group_ids &&
183
204
  jwt == o.jwt &&
184
205
  merchant_id == o.merchant_id &&
185
206
  pbx_admin == o.pbx_admin &&
@@ -190,6 +211,7 @@ module UltracartClient
190
211
  pbx_voice_token == o.pbx_voice_token &&
191
212
  pbx_worker_token == o.pbx_worker_token &&
192
213
  twilio_accounts == o.twilio_accounts &&
214
+ user_id == o.user_id &&
193
215
  websocket_url == o.websocket_url
194
216
  end
195
217
 
@@ -202,7 +224,7 @@ module UltracartClient
202
224
  # Calculates hash code according to all attributes.
203
225
  # @return [Integer] Hash code
204
226
  def 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
227
+ [conversation_participant_arn, conversation_participant_name, group_ids, jwt, merchant_id, pbx_admin, pbx_jwt, pbx_supervisor, pbx_user, pbx_voice_identity, pbx_voice_token, pbx_worker_token, twilio_accounts, user_id, websocket_url].hash
206
228
  end
207
229
 
208
230
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.237'
14
+ VERSION = '4.0.238'
15
15
  end
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.237
4
+ version: 4.0.238
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-11 00:00:00.000000000 Z
11
+ date: 2024-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus