pingram 1.0.17 → 1.0.18
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/Gemfile.lock +1 -1
- data/lib/pingram/api/account_api.rb +95 -26
- data/lib/pingram/api/members_api.rb +10 -10
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +0 -10
- data/lib/pingram/models/account_get_response.rb +216 -29
- data/lib/pingram/models/auto_join_get_response.rb +16 -16
- data/lib/pingram/models/auto_join_post_response.rb +16 -16
- data/lib/pingram/models/billing_post_response_body.rb +35 -68
- data/lib/pingram/models/{create_organization_request.rb → brand_webhook_response.rb} +28 -13
- data/lib/pingram/models/get_members_response_inner.rb +1 -27
- data/lib/pingram/models/get_usage_history_query.rb +1 -1
- data/lib/pingram/models/{organization_usage_history.rb → get_usage_history_response.rb} +5 -5
- data/lib/pingram/models/{organization_usage_history_items_inner.rb → get_usage_history_response_items_inner.rb} +4 -4
- data/lib/pingram/models/{organization_usage_history_items_inner_counts.rb → get_usage_history_response_items_inner_counts.rb} +3 -3
- data/lib/pingram/models/{organization_usage.rb → get_usage_response.rb} +6 -6
- data/lib/pingram/models/{organization_usage_costs.rb → get_usage_response_costs.rb} +3 -3
- data/lib/pingram/models/{organization_usage_counts.rb → get_usage_response_counts.rb} +3 -3
- data/lib/pingram/models/sender_post_body_options_email.rb +4 -14
- data/lib/pingram/models/ten_dlc_brand_create_request.rb +19 -1
- data/lib/pingram/models/ten_dlc_brand_registration.rb +19 -1
- data/lib/pingram/models/ten_dlc_brand_registration_details.rb +599 -0
- data/lib/pingram/models/ten_dlc_brand_update_request.rb +92 -1
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +8 -10
- metadata +10 -12
- data/lib/pingram/api/organization_api.rb +0 -212
- data/lib/pingram/models/create_organization_response.rb +0 -216
- data/lib/pingram/models/organization.rb +0 -463
|
@@ -22,6 +22,10 @@ module Pingram
|
|
|
22
22
|
|
|
23
23
|
attr_accessor :legal_name
|
|
24
24
|
|
|
25
|
+
attr_accessor :first_name
|
|
26
|
+
|
|
27
|
+
attr_accessor :last_name
|
|
28
|
+
|
|
25
29
|
attr_accessor :tax_id
|
|
26
30
|
|
|
27
31
|
attr_accessor :website
|
|
@@ -46,6 +50,8 @@ module Pingram
|
|
|
46
50
|
:'scenario_id' => :'scenarioId',
|
|
47
51
|
:'business_type' => :'businessType',
|
|
48
52
|
:'legal_name' => :'legalName',
|
|
53
|
+
:'first_name' => :'firstName',
|
|
54
|
+
:'last_name' => :'lastName',
|
|
49
55
|
:'tax_id' => :'taxId',
|
|
50
56
|
:'website' => :'website',
|
|
51
57
|
:'country' => :'country',
|
|
@@ -74,6 +80,8 @@ module Pingram
|
|
|
74
80
|
:'scenario_id' => :'String',
|
|
75
81
|
:'business_type' => :'String',
|
|
76
82
|
:'legal_name' => :'String',
|
|
83
|
+
:'first_name' => :'String',
|
|
84
|
+
:'last_name' => :'String',
|
|
77
85
|
:'tax_id' => :'String',
|
|
78
86
|
:'website' => :'String',
|
|
79
87
|
:'country' => :'String',
|
|
@@ -126,6 +134,14 @@ module Pingram
|
|
|
126
134
|
self.legal_name = nil
|
|
127
135
|
end
|
|
128
136
|
|
|
137
|
+
if attributes.key?(:'first_name')
|
|
138
|
+
self.first_name = attributes[:'first_name']
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'last_name')
|
|
142
|
+
self.last_name = attributes[:'last_name']
|
|
143
|
+
end
|
|
144
|
+
|
|
129
145
|
if attributes.key?(:'tax_id')
|
|
130
146
|
self.tax_id = attributes[:'tax_id']
|
|
131
147
|
end
|
|
@@ -299,6 +315,8 @@ module Pingram
|
|
|
299
315
|
scenario_id == o.scenario_id &&
|
|
300
316
|
business_type == o.business_type &&
|
|
301
317
|
legal_name == o.legal_name &&
|
|
318
|
+
first_name == o.first_name &&
|
|
319
|
+
last_name == o.last_name &&
|
|
302
320
|
tax_id == o.tax_id &&
|
|
303
321
|
website == o.website &&
|
|
304
322
|
country == o.country &&
|
|
@@ -319,7 +337,7 @@ module Pingram
|
|
|
319
337
|
# Calculates hash code according to all attributes.
|
|
320
338
|
# @return [Integer] Hash code
|
|
321
339
|
def hash
|
|
322
|
-
[scenario_id, business_type, legal_name, tax_id, website, country, street, city, state, postal_code, compliance_contact_email, compliance_contact_phone].hash
|
|
340
|
+
[scenario_id, business_type, legal_name, first_name, last_name, tax_id, website, country, street, city, state, postal_code, compliance_contact_email, compliance_contact_phone].hash
|
|
323
341
|
end
|
|
324
342
|
|
|
325
343
|
# Builds the object from hash
|
|
@@ -27,6 +27,10 @@ module Pingram
|
|
|
27
27
|
# Brand display name (marketing/DBA); defaults to legalName on customer submit.
|
|
28
28
|
attr_accessor :display_name
|
|
29
29
|
|
|
30
|
+
attr_accessor :first_name
|
|
31
|
+
|
|
32
|
+
attr_accessor :last_name
|
|
33
|
+
|
|
30
34
|
attr_accessor :tax_id
|
|
31
35
|
|
|
32
36
|
attr_accessor :website
|
|
@@ -88,6 +92,8 @@ module Pingram
|
|
|
88
92
|
:'business_type' => :'businessType',
|
|
89
93
|
:'legal_name' => :'legalName',
|
|
90
94
|
:'display_name' => :'displayName',
|
|
95
|
+
:'first_name' => :'firstName',
|
|
96
|
+
:'last_name' => :'lastName',
|
|
91
97
|
:'tax_id' => :'taxId',
|
|
92
98
|
:'website' => :'website',
|
|
93
99
|
:'country' => :'country',
|
|
@@ -123,6 +129,8 @@ module Pingram
|
|
|
123
129
|
:'business_type' => :'String',
|
|
124
130
|
:'legal_name' => :'String',
|
|
125
131
|
:'display_name' => :'String',
|
|
132
|
+
:'first_name' => :'String',
|
|
133
|
+
:'last_name' => :'String',
|
|
126
134
|
:'tax_id' => :'String',
|
|
127
135
|
:'website' => :'String',
|
|
128
136
|
:'country' => :'String',
|
|
@@ -190,6 +198,14 @@ module Pingram
|
|
|
190
198
|
self.display_name = attributes[:'display_name']
|
|
191
199
|
end
|
|
192
200
|
|
|
201
|
+
if attributes.key?(:'first_name')
|
|
202
|
+
self.first_name = attributes[:'first_name']
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
if attributes.key?(:'last_name')
|
|
206
|
+
self.last_name = attributes[:'last_name']
|
|
207
|
+
end
|
|
208
|
+
|
|
193
209
|
if attributes.key?(:'tax_id')
|
|
194
210
|
self.tax_id = attributes[:'tax_id']
|
|
195
211
|
end
|
|
@@ -472,6 +488,8 @@ module Pingram
|
|
|
472
488
|
business_type == o.business_type &&
|
|
473
489
|
legal_name == o.legal_name &&
|
|
474
490
|
display_name == o.display_name &&
|
|
491
|
+
first_name == o.first_name &&
|
|
492
|
+
last_name == o.last_name &&
|
|
475
493
|
tax_id == o.tax_id &&
|
|
476
494
|
website == o.website &&
|
|
477
495
|
country == o.country &&
|
|
@@ -497,7 +515,7 @@ module Pingram
|
|
|
497
515
|
# Calculates hash code according to all attributes.
|
|
498
516
|
# @return [Integer] Hash code
|
|
499
517
|
def hash
|
|
500
|
-
[account_id, scenario_id, business_type, legal_name, display_name, tax_id, website, country, street, city, state, postal_code, full_address, compliance_contact_email, compliance_contact_phone, brand_status, campaign_status, created_at, updated_at].hash
|
|
518
|
+
[account_id, scenario_id, business_type, legal_name, display_name, first_name, last_name, tax_id, website, country, street, city, state, postal_code, full_address, compliance_contact_email, compliance_contact_phone, brand_status, campaign_status, created_at, updated_at].hash
|
|
501
519
|
end
|
|
502
520
|
|
|
503
521
|
# Builds the object from hash
|