pingram 1.0.29 → 1.0.31

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.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/lib/pingram/api/account_api.rb +66 -0
  4. data/lib/pingram/api/webhooks_api.rb +117 -39
  5. data/lib/pingram/api_client.rb +1 -1
  6. data/lib/pingram/models/account_get_response.rb +14 -4
  7. data/lib/pingram/models/account_patch_request.rb +149 -0
  8. data/lib/pingram/models/billing_post_response_body.rb +11 -1
  9. data/lib/pingram/models/{events_webhook_response.rb → webhook_endpoint.rb} +22 -22
  10. data/lib/pingram/models/{events_webhook_upsert_request.rb → webhook_endpoint_upsert_request.rb} +4 -4
  11. data/lib/pingram/models/webhook_endpoints_response.rb +168 -0
  12. data/lib/pingram/models/webhook_endpoints_response_endpoints_inner.rb +261 -0
  13. data/lib/pingram/version.rb +1 -1
  14. data/lib/pingram.rb +5 -2
  15. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
  16. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
  17. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/gem_make.out +5 -5
  18. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/mkmf.log +3 -3
  19. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
  20. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/gem_make.out +5 -5
  21. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
  22. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
  23. metadata +7 -4
@@ -14,15 +14,15 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- # Events webhook configuration returned by the API.
18
- class EventsWebhookResponse < ApiModelBase
19
- # Storage key in the format accountId:envId (currently accountId:accountId for account-scoped usage).
20
- attr_accessor :webhook_id
17
+ # Destination URL that receives signed event payloads for a set of subscribed events.
18
+ class WebhookEndpoint < ApiModelBase
19
+ # Unique identifier for this endpoint within the account.
20
+ attr_accessor :id
21
21
 
22
22
  # Destination URL that receives webhook event payloads.
23
23
  attr_accessor :webhook
24
24
 
25
- # List of subscribed event types for this webhook configuration.
25
+ # List of subscribed event types for this endpoint.
26
26
  attr_accessor :events
27
27
 
28
28
  # HMAC secret for verifying webhook signatures. Use this with your X-Pingram-Signature verification.
@@ -53,7 +53,7 @@ module Pingram
53
53
  # Attribute mapping from ruby-style variable name to JSON key.
54
54
  def self.attribute_map
55
55
  {
56
- :'webhook_id' => :'webhookId',
56
+ :'id' => :'id',
57
57
  :'webhook' => :'webhook',
58
58
  :'events' => :'events',
59
59
  :'secret' => :'secret'
@@ -73,7 +73,7 @@ module Pingram
73
73
  # Attribute type mapping.
74
74
  def self.openapi_types
75
75
  {
76
- :'webhook_id' => :'String',
76
+ :'id' => :'String',
77
77
  :'webhook' => :'String',
78
78
  :'events' => :'Array<String>',
79
79
  :'secret' => :'String'
@@ -90,22 +90,22 @@ module Pingram
90
90
  # @param [Hash] attributes Model attributes in the form of hash
91
91
  def initialize(attributes = {})
92
92
  if (!attributes.is_a?(Hash))
93
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::EventsWebhookResponse` initialize method"
93
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::WebhookEndpoint` initialize method"
94
94
  end
95
95
 
96
96
  # check to see if the attribute exists and convert string to symbol for hash key
97
97
  acceptable_attribute_map = self.class.acceptable_attribute_map
98
98
  attributes = attributes.each_with_object({}) { |(k, v), h|
99
99
  if (!acceptable_attribute_map.key?(k.to_sym))
100
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::EventsWebhookResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
100
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::WebhookEndpoint`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
101
101
  end
102
102
  h[k.to_sym] = v
103
103
  }
104
104
 
105
- if attributes.key?(:'webhook_id')
106
- self.webhook_id = attributes[:'webhook_id']
105
+ if attributes.key?(:'id')
106
+ self.id = attributes[:'id']
107
107
  else
108
- self.webhook_id = nil
108
+ self.id = nil
109
109
  end
110
110
 
111
111
  if attributes.key?(:'webhook')
@@ -134,8 +134,8 @@ module Pingram
134
134
  def list_invalid_properties
135
135
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
136
136
  invalid_properties = Array.new
137
- if @webhook_id.nil?
138
- invalid_properties.push('invalid value for "webhook_id", webhook_id cannot be nil.')
137
+ if @id.nil?
138
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
139
139
  end
140
140
 
141
141
  if @webhook.nil?
@@ -157,7 +157,7 @@ module Pingram
157
157
  # @return true if the model is valid
158
158
  def valid?
159
159
  warn '[DEPRECATED] the `valid?` method is obsolete'
160
- return false if @webhook_id.nil?
160
+ return false if @id.nil?
161
161
  return false if @webhook.nil?
162
162
  return false if @events.nil?
163
163
  return false if @secret.nil?
@@ -165,13 +165,13 @@ module Pingram
165
165
  end
166
166
 
167
167
  # Custom attribute writer method with validation
168
- # @param [Object] webhook_id Value to be assigned
169
- def webhook_id=(webhook_id)
170
- if webhook_id.nil?
171
- fail ArgumentError, 'webhook_id cannot be nil'
168
+ # @param [Object] id Value to be assigned
169
+ def id=(id)
170
+ if id.nil?
171
+ fail ArgumentError, 'id cannot be nil'
172
172
  end
173
173
 
174
- @webhook_id = webhook_id
174
+ @id = id
175
175
  end
176
176
 
177
177
  # Custom attribute writer method with validation
@@ -199,7 +199,7 @@ module Pingram
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- webhook_id == o.webhook_id &&
202
+ id == o.id &&
203
203
  webhook == o.webhook &&
204
204
  events == o.events &&
205
205
  secret == o.secret
@@ -214,7 +214,7 @@ module Pingram
214
214
  # Calculates hash code according to all attributes.
215
215
  # @return [Integer] Hash code
216
216
  def hash
217
- [webhook_id, webhook, events, secret].hash
217
+ [id, webhook, events, secret].hash
218
218
  end
219
219
 
220
220
  # Builds the object from hash
@@ -14,8 +14,8 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Pingram
17
- # Request body for creating or updating the events webhook configuration.
18
- class EventsWebhookUpsertRequest < ApiModelBase
17
+ # Request body for creating or updating an events webhook endpoint.
18
+ class WebhookEndpointUpsertRequest < ApiModelBase
19
19
  # Destination URL that receives webhook event payloads. Must be a valid http(s) URL.
20
20
  attr_accessor :webhook
21
21
 
@@ -80,14 +80,14 @@ module Pingram
80
80
  # @param [Hash] attributes Model attributes in the form of hash
81
81
  def initialize(attributes = {})
82
82
  if (!attributes.is_a?(Hash))
83
- fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::EventsWebhookUpsertRequest` initialize method"
83
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::WebhookEndpointUpsertRequest` initialize method"
84
84
  end
85
85
 
86
86
  # check to see if the attribute exists and convert string to symbol for hash key
87
87
  acceptable_attribute_map = self.class.acceptable_attribute_map
88
88
  attributes = attributes.each_with_object({}) { |(k, v), h|
89
89
  if (!acceptable_attribute_map.key?(k.to_sym))
90
- fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::EventsWebhookUpsertRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
90
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::WebhookEndpointUpsertRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
91
91
  end
92
92
  h[k.to_sym] = v
93
93
  }
@@ -0,0 +1,168 @@
1
+ =begin
2
+ #Pingram
3
+
4
+ #Internal API for notification delivery and management
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Pingram
17
+ # Events webhook endpoints configured for the current account.
18
+ class WebhookEndpointsResponse < ApiModelBase
19
+ # Configured webhook endpoints. Empty when none exist.
20
+ attr_accessor :endpoints
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'endpoints' => :'endpoints'
26
+ }
27
+ end
28
+
29
+ # Returns attribute mapping this model knows about
30
+ def self.acceptable_attribute_map
31
+ attribute_map
32
+ end
33
+
34
+ # Returns all the JSON keys this model knows about
35
+ def self.acceptable_attributes
36
+ acceptable_attribute_map.values
37
+ end
38
+
39
+ # Attribute type mapping.
40
+ def self.openapi_types
41
+ {
42
+ :'endpoints' => :'Array<WebhookEndpointsResponseEndpointsInner>'
43
+ }
44
+ end
45
+
46
+ # List of attributes with nullable: true
47
+ def self.openapi_nullable
48
+ Set.new([
49
+ ])
50
+ end
51
+
52
+ # Initializes the object
53
+ # @param [Hash] attributes Model attributes in the form of hash
54
+ def initialize(attributes = {})
55
+ if (!attributes.is_a?(Hash))
56
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::WebhookEndpointsResponse` initialize method"
57
+ end
58
+
59
+ # check to see if the attribute exists and convert string to symbol for hash key
60
+ acceptable_attribute_map = self.class.acceptable_attribute_map
61
+ attributes = attributes.each_with_object({}) { |(k, v), h|
62
+ if (!acceptable_attribute_map.key?(k.to_sym))
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::WebhookEndpointsResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
64
+ end
65
+ h[k.to_sym] = v
66
+ }
67
+
68
+ if attributes.key?(:'endpoints')
69
+ if (value = attributes[:'endpoints']).is_a?(Array)
70
+ self.endpoints = value
71
+ end
72
+ else
73
+ self.endpoints = nil
74
+ end
75
+ end
76
+
77
+ # Show invalid properties with the reasons. Usually used together with valid?
78
+ # @return Array for valid properties with the reasons
79
+ def list_invalid_properties
80
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
81
+ invalid_properties = Array.new
82
+ if @endpoints.nil?
83
+ invalid_properties.push('invalid value for "endpoints", endpoints cannot be nil.')
84
+ end
85
+
86
+ invalid_properties
87
+ end
88
+
89
+ # Check to see if the all the properties in the model are valid
90
+ # @return true if the model is valid
91
+ def valid?
92
+ warn '[DEPRECATED] the `valid?` method is obsolete'
93
+ return false if @endpoints.nil?
94
+ true
95
+ end
96
+
97
+ # Custom attribute writer method with validation
98
+ # @param [Object] endpoints Value to be assigned
99
+ def endpoints=(endpoints)
100
+ if endpoints.nil?
101
+ fail ArgumentError, 'endpoints cannot be nil'
102
+ end
103
+
104
+ @endpoints = endpoints
105
+ end
106
+
107
+ # Checks equality by comparing each attribute.
108
+ # @param [Object] Object to be compared
109
+ def ==(o)
110
+ return true if self.equal?(o)
111
+ self.class == o.class &&
112
+ endpoints == o.endpoints
113
+ end
114
+
115
+ # @see the `==` method
116
+ # @param [Object] Object to be compared
117
+ def eql?(o)
118
+ self == o
119
+ end
120
+
121
+ # Calculates hash code according to all attributes.
122
+ # @return [Integer] Hash code
123
+ def hash
124
+ [endpoints].hash
125
+ end
126
+
127
+ # Builds the object from hash
128
+ # @param [Hash] attributes Model attributes in the form of hash
129
+ # @return [Object] Returns the model itself
130
+ def self.build_from_hash(attributes)
131
+ return nil unless attributes.is_a?(Hash)
132
+ attributes = attributes.transform_keys(&:to_sym)
133
+ transformed_hash = {}
134
+ openapi_types.each_pair do |key, type|
135
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
136
+ transformed_hash["#{key}"] = nil
137
+ elsif type =~ /\AArray<(.*)>/i
138
+ # check to ensure the input is an array given that the attribute
139
+ # is documented as an array but the input is not
140
+ if attributes[attribute_map[key]].is_a?(Array)
141
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
142
+ end
143
+ elsif !attributes[attribute_map[key]].nil?
144
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
145
+ end
146
+ end
147
+ new(transformed_hash)
148
+ end
149
+
150
+ # Returns the object in the form of hash
151
+ # @return [Hash] Returns the object in the form of hash
152
+ def to_hash
153
+ hash = {}
154
+ self.class.attribute_map.each_pair do |attr, param|
155
+ value = self.send(attr)
156
+ if value.nil?
157
+ is_nullable = self.class.openapi_nullable.include?(attr)
158
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
159
+ end
160
+
161
+ hash[param] = _to_hash(value)
162
+ end
163
+ hash
164
+ end
165
+
166
+ end
167
+
168
+ end
@@ -0,0 +1,261 @@
1
+ =begin
2
+ #Pingram
3
+
4
+ #Internal API for notification delivery and management
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Pingram
17
+ # Destination URL that receives signed event payloads for a set of subscribed events.
18
+ class WebhookEndpointsResponseEndpointsInner < ApiModelBase
19
+ # Unique identifier for this endpoint within the account.
20
+ attr_accessor :id
21
+
22
+ # Destination URL that receives webhook event payloads.
23
+ attr_accessor :webhook
24
+
25
+ # List of subscribed event types for this endpoint.
26
+ attr_accessor :events
27
+
28
+ # HMAC secret for verifying webhook signatures. Use this with your X-Pingram-Signature verification.
29
+ attr_accessor :secret
30
+
31
+ class EnumAttributeValidator
32
+ attr_reader :datatype
33
+ attr_reader :allowable_values
34
+
35
+ def initialize(datatype, allowable_values)
36
+ @allowable_values = allowable_values.map do |value|
37
+ case datatype.to_s
38
+ when /Integer/i
39
+ value.to_i
40
+ when /Float/i
41
+ value.to_f
42
+ else
43
+ value
44
+ end
45
+ end
46
+ end
47
+
48
+ def valid?(value)
49
+ !value || allowable_values.include?(value)
50
+ end
51
+ end
52
+
53
+ # Attribute mapping from ruby-style variable name to JSON key.
54
+ def self.attribute_map
55
+ {
56
+ :'id' => :'id',
57
+ :'webhook' => :'webhook',
58
+ :'events' => :'events',
59
+ :'secret' => :'secret'
60
+ }
61
+ end
62
+
63
+ # Returns attribute mapping this model knows about
64
+ def self.acceptable_attribute_map
65
+ attribute_map
66
+ end
67
+
68
+ # Returns all the JSON keys this model knows about
69
+ def self.acceptable_attributes
70
+ acceptable_attribute_map.values
71
+ end
72
+
73
+ # Attribute type mapping.
74
+ def self.openapi_types
75
+ {
76
+ :'id' => :'String',
77
+ :'webhook' => :'String',
78
+ :'events' => :'Array<String>',
79
+ :'secret' => :'String'
80
+ }
81
+ end
82
+
83
+ # List of attributes with nullable: true
84
+ def self.openapi_nullable
85
+ Set.new([
86
+ ])
87
+ end
88
+
89
+ # Initializes the object
90
+ # @param [Hash] attributes Model attributes in the form of hash
91
+ def initialize(attributes = {})
92
+ if (!attributes.is_a?(Hash))
93
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Pingram::WebhookEndpointsResponseEndpointsInner` initialize method"
94
+ end
95
+
96
+ # check to see if the attribute exists and convert string to symbol for hash key
97
+ acceptable_attribute_map = self.class.acceptable_attribute_map
98
+ attributes = attributes.each_with_object({}) { |(k, v), h|
99
+ if (!acceptable_attribute_map.key?(k.to_sym))
100
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Pingram::WebhookEndpointsResponseEndpointsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
101
+ end
102
+ h[k.to_sym] = v
103
+ }
104
+
105
+ if attributes.key?(:'id')
106
+ self.id = attributes[:'id']
107
+ else
108
+ self.id = nil
109
+ end
110
+
111
+ if attributes.key?(:'webhook')
112
+ self.webhook = attributes[:'webhook']
113
+ else
114
+ self.webhook = nil
115
+ end
116
+
117
+ if attributes.key?(:'events')
118
+ if (value = attributes[:'events']).is_a?(Array)
119
+ self.events = value
120
+ end
121
+ else
122
+ self.events = nil
123
+ end
124
+
125
+ if attributes.key?(:'secret')
126
+ self.secret = attributes[:'secret']
127
+ else
128
+ self.secret = nil
129
+ end
130
+ end
131
+
132
+ # Show invalid properties with the reasons. Usually used together with valid?
133
+ # @return Array for valid properties with the reasons
134
+ def list_invalid_properties
135
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
136
+ invalid_properties = Array.new
137
+ if @id.nil?
138
+ invalid_properties.push('invalid value for "id", id cannot be nil.')
139
+ end
140
+
141
+ if @webhook.nil?
142
+ invalid_properties.push('invalid value for "webhook", webhook cannot be nil.')
143
+ end
144
+
145
+ if @events.nil?
146
+ invalid_properties.push('invalid value for "events", events cannot be nil.')
147
+ end
148
+
149
+ if @secret.nil?
150
+ invalid_properties.push('invalid value for "secret", secret cannot be nil.')
151
+ end
152
+
153
+ invalid_properties
154
+ end
155
+
156
+ # Check to see if the all the properties in the model are valid
157
+ # @return true if the model is valid
158
+ def valid?
159
+ warn '[DEPRECATED] the `valid?` method is obsolete'
160
+ return false if @id.nil?
161
+ return false if @webhook.nil?
162
+ return false if @events.nil?
163
+ return false if @secret.nil?
164
+ true
165
+ end
166
+
167
+ # Custom attribute writer method with validation
168
+ # @param [Object] id Value to be assigned
169
+ def id=(id)
170
+ if id.nil?
171
+ fail ArgumentError, 'id cannot be nil'
172
+ end
173
+
174
+ @id = id
175
+ end
176
+
177
+ # Custom attribute writer method with validation
178
+ # @param [Object] webhook Value to be assigned
179
+ def webhook=(webhook)
180
+ if webhook.nil?
181
+ fail ArgumentError, 'webhook cannot be nil'
182
+ end
183
+
184
+ @webhook = webhook
185
+ end
186
+
187
+ # Custom attribute writer method with validation
188
+ # @param [Object] secret Value to be assigned
189
+ def secret=(secret)
190
+ if secret.nil?
191
+ fail ArgumentError, 'secret cannot be nil'
192
+ end
193
+
194
+ @secret = secret
195
+ end
196
+
197
+ # Checks equality by comparing each attribute.
198
+ # @param [Object] Object to be compared
199
+ def ==(o)
200
+ return true if self.equal?(o)
201
+ self.class == o.class &&
202
+ id == o.id &&
203
+ webhook == o.webhook &&
204
+ events == o.events &&
205
+ secret == o.secret
206
+ end
207
+
208
+ # @see the `==` method
209
+ # @param [Object] Object to be compared
210
+ def eql?(o)
211
+ self == o
212
+ end
213
+
214
+ # Calculates hash code according to all attributes.
215
+ # @return [Integer] Hash code
216
+ def hash
217
+ [id, webhook, events, secret].hash
218
+ end
219
+
220
+ # Builds the object from hash
221
+ # @param [Hash] attributes Model attributes in the form of hash
222
+ # @return [Object] Returns the model itself
223
+ def self.build_from_hash(attributes)
224
+ return nil unless attributes.is_a?(Hash)
225
+ attributes = attributes.transform_keys(&:to_sym)
226
+ transformed_hash = {}
227
+ openapi_types.each_pair do |key, type|
228
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
229
+ transformed_hash["#{key}"] = nil
230
+ elsif type =~ /\AArray<(.*)>/i
231
+ # check to ensure the input is an array given that the attribute
232
+ # is documented as an array but the input is not
233
+ if attributes[attribute_map[key]].is_a?(Array)
234
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
235
+ end
236
+ elsif !attributes[attribute_map[key]].nil?
237
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
238
+ end
239
+ end
240
+ new(transformed_hash)
241
+ end
242
+
243
+ # Returns the object in the form of hash
244
+ # @return [Hash] Returns the object in the form of hash
245
+ def to_hash
246
+ hash = {}
247
+ self.class.attribute_map.each_pair do |attr, param|
248
+ value = self.send(attr)
249
+ if value.nil?
250
+ is_nullable = self.class.openapi_nullable.include?(attr)
251
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
252
+ end
253
+
254
+ hash[param] = _to_hash(value)
255
+ end
256
+ hash
257
+ end
258
+
259
+ end
260
+
261
+ end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Pingram
14
- VERSION = '1.0.29'
14
+ VERSION = '1.0.31'
15
15
  end
data/lib/pingram.rb CHANGED
@@ -25,6 +25,7 @@ require 'pingram/models/accept_invite_response'
25
25
  require 'pingram/models/account_addresses_response'
26
26
  require 'pingram/models/account_addresses_response_addresses_inner'
27
27
  require 'pingram/models/account_get_response'
28
+ require 'pingram/models/account_patch_request'
28
29
  require 'pingram/models/address_response'
29
30
  require 'pingram/models/api_error_body'
30
31
  require 'pingram/models/api_error_response'
@@ -76,8 +77,6 @@ require 'pingram/models/email_component_response'
76
77
  require 'pingram/models/email_component_response_referenced_by_inner'
77
78
  require 'pingram/models/environment'
78
79
  require 'pingram/models/environment_patch_request'
79
- require 'pingram/models/events_webhook_response'
80
- require 'pingram/models/events_webhook_upsert_request'
81
80
  require 'pingram/models/first_account_request'
82
81
  require 'pingram/models/first_account_response'
83
82
  require 'pingram/models/get_account_metadata_response'
@@ -289,6 +288,10 @@ require 'pingram/models/voice_browser_call_request'
289
288
  require 'pingram/models/voice_browser_call_response'
290
289
  require 'pingram/models/voice_call_request'
291
290
  require 'pingram/models/voice_call_response'
291
+ require 'pingram/models/webhook_endpoint'
292
+ require 'pingram/models/webhook_endpoint_upsert_request'
293
+ require 'pingram/models/webhook_endpoints_response'
294
+ require 'pingram/models/webhook_endpoints_response_endpoints_inner'
292
295
  require 'pingram/models/webhook_event'
293
296
  require 'pingram/models/webhook_response'
294
297
 
@@ -3,10 +3,10 @@ current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/v
3
3
  creating Makefile
4
4
 
5
5
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
6
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-1bd7ps sitelibdir\=./.gem.20260910-2474-1bd7ps clean
6
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-o65qgz sitelibdir\=./.gem.20260911-2524-o65qgz clean
7
7
 
8
8
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
9
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-1bd7ps sitelibdir\=./.gem.20260910-2474-1bd7ps
9
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-o65qgz sitelibdir\=./.gem.20260911-2524-o65qgz
10
10
  compiling breakpoint.c
11
11
  compiling byebug.c
12
12
  byebug.c: In function ‘check_started’:
@@ -35,8 +35,8 @@ compiling threads.c
35
35
  linking shared-object byebug/byebug.so
36
36
 
37
37
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
38
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-1bd7ps sitelibdir\=./.gem.20260910-2474-1bd7ps install
39
- /usr/bin/install -c -m 0755 byebug.so ./.gem.20260910-2474-1bd7ps/byebug
38
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-o65qgz sitelibdir\=./.gem.20260911-2524-o65qgz install
39
+ /usr/bin/install -c -m 0755 byebug.so ./.gem.20260911-2524-o65qgz/byebug
40
40
 
41
41
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/byebug-13.0.0/ext/byebug
42
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-1bd7ps sitelibdir\=./.gem.20260910-2474-1bd7ps clean
42
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-o65qgz sitelibdir\=./.gem.20260911-2524-o65qgz clean
@@ -6,10 +6,10 @@ checking for altzone in time.h with -Werror... no
6
6
  creating Makefile
7
7
 
8
8
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
9
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-c0hrrx sitelibdir\=./.gem.20260910-2474-c0hrrx clean
9
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-me45g0 sitelibdir\=./.gem.20260911-2524-me45g0 clean
10
10
 
11
11
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
12
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-c0hrrx sitelibdir\=./.gem.20260910-2474-c0hrrx
12
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-me45g0 sitelibdir\=./.gem.20260911-2524-me45g0
13
13
  compiling date_core.c
14
14
  compiling date_parse.c
15
15
  compiling date_strftime.c
@@ -17,8 +17,8 @@ compiling date_strptime.c
17
17
  linking shared-object date_core.so
18
18
 
19
19
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
20
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-c0hrrx sitelibdir\=./.gem.20260910-2474-c0hrrx install
21
- /usr/bin/install -c -m 0755 date_core.so ./.gem.20260910-2474-c0hrrx
20
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-me45g0 sitelibdir\=./.gem.20260911-2524-me45g0 install
21
+ /usr/bin/install -c -m 0755 date_core.so ./.gem.20260911-2524-me45g0
22
22
 
23
23
  current directory: /home/runner/work/serverless/serverless/sdks/ruby/generated/vendor/bundle/ruby/3.2.0/gems/date-3.5.1/ext/date
24
- make DESTDIR\= sitearchdir\=./.gem.20260910-2474-c0hrrx sitelibdir\=./.gem.20260910-2474-c0hrrx clean
24
+ make DESTDIR\= sitearchdir\=./.gem.20260911-2524-me45g0 sitelibdir\=./.gem.20260911-2524-me45g0 clean