pingram 1.0.24 → 1.0.27
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 +2 -2
- data/lib/pingram/api/email_api.rb +5 -5
- data/lib/pingram/api/environments_api.rb +0 -66
- data/lib/pingram/api/registrations_api.rb +330 -0
- data/lib/pingram/api_client.rb +1 -1
- data/lib/pingram/client_wrapper.rb +10 -0
- data/lib/pingram/models/account_get_response.rb +26 -4
- data/lib/pingram/models/billing_post_response_body.rb +23 -1
- data/lib/pingram/models/logs_get_response_logs_inner.rb +10 -10
- data/lib/pingram/models/ten_dlc_brand_admin_update_request.rb +378 -0
- data/lib/pingram/models/ten_dlc_brand_create_request.rb +41 -10
- data/lib/pingram/models/ten_dlc_brand_registration.rb +2 -2
- data/lib/pingram/models/ten_dlc_brand_registration_details.rb +3 -2
- data/lib/pingram/models/ten_dlc_brand_update_request.rb +24 -38
- data/lib/pingram/models/ten_dlc_campaign_admin_update_request.rb +363 -0
- data/lib/pingram/models/ten_dlc_campaign_registration.rb +448 -0
- data/lib/pingram/models/ten_dlc_campaign_registration_details.rb +14 -14
- data/lib/pingram/models/ten_dlc_campaign_update_request.rb +5 -49
- data/lib/pingram/version.rb +1 -1
- data/lib/pingram.rb +4 -2
- data/vendor/bundle/ruby/3.2.0/cache/psych-5.5.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-13.0.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/date-3.5.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/io-console-0.9.2/mkmf.log +3 -3
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/gem_make.out +10 -10
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.5.0/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/racc-1.8.1/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.2.0/gem_make.out +5 -5
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/README.md +53 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/extconf.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/ext/psych/psych.c +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych.h +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_emitter.c +4 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_parser.c +79 -18
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/class_loader.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/parser.rb +40 -1
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/scalar_scanner.rb +15 -3
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/versions.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/to_ruby.rb +20 -9
- data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/yaml_tree.rb +0 -3
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.5.0/lib/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/specifications/{psych-5.4.0.gemspec → psych-5.5.0.gemspec} +2 -2
- metadata +66 -64
- data/lib/pingram/models/delete_email_suppressions_response.rb +0 -192
- data/lib/pingram/models/environment_create_request.rb +0 -164
- data/vendor/bundle/ruby/3.2.0/cache/psych-5.4.0.gem +0 -0
- data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-5.4.0/psych.so +0 -0
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/ext/psych/psych.c +0 -36
- data/vendor/bundle/ruby/3.2.0/gems/psych-5.4.0/lib/psych.so +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/gem.build_complete +0 -0
- /data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/{psych-5.4.0 → psych-5.5.0}/mkmf.log +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/CONTRIBUTING.md +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/Makefile +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/depend +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_emitter.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_parser.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_to_ruby.c +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_to_ruby.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_yaml_tree.c +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/ext/psych/psych_yaml_tree.h +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/coder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/core_ext.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/exception.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handlers/document_stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/handlers/recorder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/ruby_events.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/tree_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/json/yaml_events.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/alias.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/document.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/mapping.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/node.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/scalar.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/sequence.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/nodes.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/omap.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/set.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/stream.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/streaming.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/tree_builder.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/depth_first.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/emitter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/json_tree.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors/visitor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/visitors.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych/y.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{psych-5.4.0 → psych-5.5.0}/lib/psych.rb +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9c682a7732ba9868e586369b82a719570baf9f9fe029e13a8ef895e0fc451042
|
|
4
|
+
data.tar.gz: c54f21943d81cabf01873ba3086f2d64efb6339d45f285bd7d521039c20697ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2b5b66b2b13533f553ea0e01922c293c33d5706f53791011965e5af6e9951312aeb7478f6eb7943781fa9fc9ade4a69a5ca6a4d7808cc2d010b0a0d3728b84d8
|
|
7
|
+
data.tar.gz: d1b588e8de8d3d6683022be600a650bfae370dbc518fa7b7169aa8ee43965d153b596abdb5378b3ba619cf8a74d6a3cd020163de3ef9845fead0985fc15b904f
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
pingram (1.0.
|
|
4
|
+
pingram (1.0.27)
|
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -32,7 +32,7 @@ GEM
|
|
|
32
32
|
pry-byebug (3.12.0)
|
|
33
33
|
byebug (~> 13.0)
|
|
34
34
|
pry (>= 0.13, < 0.17)
|
|
35
|
-
psych (5.
|
|
35
|
+
psych (5.5.0)
|
|
36
36
|
date
|
|
37
37
|
stringio
|
|
38
38
|
racc (1.8.1)
|
|
@@ -19,19 +19,19 @@ module Pingram
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
#
|
|
22
|
+
# Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
23
23
|
# @param reason [String] Suppression reason to clear (retryable | bounces)
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @return [
|
|
25
|
+
# @return [MessageResponse]
|
|
26
26
|
def email_delete_suppressions(reason, opts = {})
|
|
27
27
|
data, _status_code, _headers = email_delete_suppressions_with_http_info(reason, opts)
|
|
28
28
|
data
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
-
#
|
|
31
|
+
# Start removing all email suppressions of the given reason (`retryable` or `bounces`) for users in the environment. Returns immediately after the job is queued — suppressions are not yet cleared when this response is received. Large removals are processed in the background in batches.
|
|
32
32
|
# @param reason [String] Suppression reason to clear (retryable | bounces)
|
|
33
33
|
# @param [Hash] opts the optional parameters
|
|
34
|
-
# @return [Array<(
|
|
34
|
+
# @return [Array<(MessageResponse, Integer, Hash)>] MessageResponse data, response status code and response headers
|
|
35
35
|
def email_delete_suppressions_with_http_info(reason, opts = {})
|
|
36
36
|
if @api_client.config.debugging
|
|
37
37
|
@api_client.config.logger.debug 'Calling API: EmailApi.email_delete_suppressions ...'
|
|
@@ -58,7 +58,7 @@ module Pingram
|
|
|
58
58
|
post_body = opts[:debug_body]
|
|
59
59
|
|
|
60
60
|
# return_type
|
|
61
|
-
return_type = opts[:debug_return_type] || '
|
|
61
|
+
return_type = opts[:debug_return_type] || 'MessageResponse'
|
|
62
62
|
|
|
63
63
|
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
64
64
|
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
@@ -19,72 +19,6 @@ module Pingram
|
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
|
-
# Create a new environment for the account
|
|
23
|
-
# @param environment_create_request [EnvironmentCreateRequest]
|
|
24
|
-
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @return [Environment]
|
|
26
|
-
def environments_create_environment(environment_create_request, opts = {})
|
|
27
|
-
data, _status_code, _headers = environments_create_environment_with_http_info(environment_create_request, opts)
|
|
28
|
-
data
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
# Create a new environment for the account
|
|
32
|
-
# @param environment_create_request [EnvironmentCreateRequest]
|
|
33
|
-
# @param [Hash] opts the optional parameters
|
|
34
|
-
# @return [Array<(Environment, Integer, Hash)>] Environment data, response status code and response headers
|
|
35
|
-
def environments_create_environment_with_http_info(environment_create_request, opts = {})
|
|
36
|
-
if @api_client.config.debugging
|
|
37
|
-
@api_client.config.logger.debug 'Calling API: EnvironmentsApi.environments_create_environment ...'
|
|
38
|
-
end
|
|
39
|
-
# verify the required parameter 'environment_create_request' is set
|
|
40
|
-
if @api_client.config.client_side_validation && environment_create_request.nil?
|
|
41
|
-
fail ArgumentError, "Missing the required parameter 'environment_create_request' when calling EnvironmentsApi.environments_create_environment"
|
|
42
|
-
end
|
|
43
|
-
# resource path
|
|
44
|
-
local_var_path = '/environments'
|
|
45
|
-
|
|
46
|
-
# query parameters
|
|
47
|
-
query_params = opts[:query_params] || {}
|
|
48
|
-
|
|
49
|
-
# header parameters
|
|
50
|
-
header_params = opts[:header_params] || {}
|
|
51
|
-
# HTTP header 'Accept' (if needed)
|
|
52
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
53
|
-
# HTTP header 'Content-Type'
|
|
54
|
-
content_type = @api_client.select_header_content_type(['application/json'])
|
|
55
|
-
if !content_type.nil?
|
|
56
|
-
header_params['Content-Type'] = content_type
|
|
57
|
-
end
|
|
58
|
-
|
|
59
|
-
# form parameters
|
|
60
|
-
form_params = opts[:form_params] || {}
|
|
61
|
-
|
|
62
|
-
# http body (model)
|
|
63
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(environment_create_request)
|
|
64
|
-
|
|
65
|
-
# return_type
|
|
66
|
-
return_type = opts[:debug_return_type] || 'Environment'
|
|
67
|
-
|
|
68
|
-
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
69
|
-
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
70
|
-
|
|
71
|
-
new_options = opts.merge(
|
|
72
|
-
:operation => :"EnvironmentsApi.environments_create_environment",
|
|
73
|
-
:header_params => header_params,
|
|
74
|
-
:query_params => query_params,
|
|
75
|
-
:form_params => form_params,
|
|
76
|
-
:body => post_body,
|
|
77
|
-
:auth_names => auth_names,
|
|
78
|
-
:return_type => return_type
|
|
79
|
-
)
|
|
80
|
-
|
|
81
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
82
|
-
if @api_client.config.debugging
|
|
83
|
-
@api_client.config.logger.debug "API called: EnvironmentsApi#environments_create_environment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
84
|
-
end
|
|
85
|
-
return data, status_code, headers
|
|
86
|
-
end
|
|
87
|
-
|
|
88
22
|
# Get all environments for the authenticated account
|
|
89
23
|
# @param [Hash] opts the optional parameters
|
|
90
24
|
# @return [Array<GetEnvironmentsResponseInner>]
|
|
@@ -0,0 +1,330 @@
|
|
|
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 'cgi'
|
|
14
|
+
|
|
15
|
+
module Pingram
|
|
16
|
+
class RegistrationsApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
23
|
+
# @param ten_dlc_brand_create_request [TenDlcBrandCreateRequest]
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @return [TenDlcBrandRegistration]
|
|
26
|
+
def registrations_create_us10dlc_brand(ten_dlc_brand_create_request, opts = {})
|
|
27
|
+
data, _status_code, _headers = registrations_create_us10dlc_brand_with_http_info(ten_dlc_brand_create_request, opts)
|
|
28
|
+
data
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
# Create a new 10DLC brand registration. Sets brandStatus to pending_review; Pingram handles carrier submission after review.
|
|
32
|
+
# @param ten_dlc_brand_create_request [TenDlcBrandCreateRequest]
|
|
33
|
+
# @param [Hash] opts the optional parameters
|
|
34
|
+
# @return [Array<(TenDlcBrandRegistration, Integer, Hash)>] TenDlcBrandRegistration data, response status code and response headers
|
|
35
|
+
def registrations_create_us10dlc_brand_with_http_info(ten_dlc_brand_create_request, opts = {})
|
|
36
|
+
if @api_client.config.debugging
|
|
37
|
+
@api_client.config.logger.debug 'Calling API: RegistrationsApi.registrations_create_us10dlc_brand ...'
|
|
38
|
+
end
|
|
39
|
+
# verify the required parameter 'ten_dlc_brand_create_request' is set
|
|
40
|
+
if @api_client.config.client_side_validation && ten_dlc_brand_create_request.nil?
|
|
41
|
+
fail ArgumentError, "Missing the required parameter 'ten_dlc_brand_create_request' when calling RegistrationsApi.registrations_create_us10dlc_brand"
|
|
42
|
+
end
|
|
43
|
+
# resource path
|
|
44
|
+
local_var_path = '/registrations/us/10dlc/brand'
|
|
45
|
+
|
|
46
|
+
# query parameters
|
|
47
|
+
query_params = opts[:query_params] || {}
|
|
48
|
+
|
|
49
|
+
# header parameters
|
|
50
|
+
header_params = opts[:header_params] || {}
|
|
51
|
+
# HTTP header 'Accept' (if needed)
|
|
52
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
53
|
+
# HTTP header 'Content-Type'
|
|
54
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
55
|
+
if !content_type.nil?
|
|
56
|
+
header_params['Content-Type'] = content_type
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# form parameters
|
|
60
|
+
form_params = opts[:form_params] || {}
|
|
61
|
+
|
|
62
|
+
# http body (model)
|
|
63
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ten_dlc_brand_create_request)
|
|
64
|
+
|
|
65
|
+
# return_type
|
|
66
|
+
return_type = opts[:debug_return_type] || 'TenDlcBrandRegistration'
|
|
67
|
+
|
|
68
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
69
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
70
|
+
|
|
71
|
+
new_options = opts.merge(
|
|
72
|
+
:operation => :"RegistrationsApi.registrations_create_us10dlc_brand",
|
|
73
|
+
:header_params => header_params,
|
|
74
|
+
:query_params => query_params,
|
|
75
|
+
:form_params => form_params,
|
|
76
|
+
:body => post_body,
|
|
77
|
+
:auth_names => auth_names,
|
|
78
|
+
:return_type => return_type
|
|
79
|
+
)
|
|
80
|
+
|
|
81
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
82
|
+
if @api_client.config.debugging
|
|
83
|
+
@api_client.config.logger.debug "API called: RegistrationsApi#registrations_create_us10dlc_brand\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
84
|
+
end
|
|
85
|
+
return data, status_code, headers
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
89
|
+
# @param [Hash] opts the optional parameters
|
|
90
|
+
# @return [TenDlcBrandRegistration]
|
|
91
|
+
def registrations_get_us10dlc_brand(opts = {})
|
|
92
|
+
data, _status_code, _headers = registrations_get_us10dlc_brand_with_http_info(opts)
|
|
93
|
+
data
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Get the 10DLC brand registration for the authenticated account. Returns null when no registration exists yet.
|
|
97
|
+
# @param [Hash] opts the optional parameters
|
|
98
|
+
# @return [Array<(TenDlcBrandRegistration, Integer, Hash)>] TenDlcBrandRegistration data, response status code and response headers
|
|
99
|
+
def registrations_get_us10dlc_brand_with_http_info(opts = {})
|
|
100
|
+
if @api_client.config.debugging
|
|
101
|
+
@api_client.config.logger.debug 'Calling API: RegistrationsApi.registrations_get_us10dlc_brand ...'
|
|
102
|
+
end
|
|
103
|
+
# resource path
|
|
104
|
+
local_var_path = '/registrations/us/10dlc/brand'
|
|
105
|
+
|
|
106
|
+
# query parameters
|
|
107
|
+
query_params = opts[:query_params] || {}
|
|
108
|
+
|
|
109
|
+
# header parameters
|
|
110
|
+
header_params = opts[:header_params] || {}
|
|
111
|
+
# HTTP header 'Accept' (if needed)
|
|
112
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
113
|
+
|
|
114
|
+
# form parameters
|
|
115
|
+
form_params = opts[:form_params] || {}
|
|
116
|
+
|
|
117
|
+
# http body (model)
|
|
118
|
+
post_body = opts[:debug_body]
|
|
119
|
+
|
|
120
|
+
# return_type
|
|
121
|
+
return_type = opts[:debug_return_type] || 'TenDlcBrandRegistration'
|
|
122
|
+
|
|
123
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
124
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
125
|
+
|
|
126
|
+
new_options = opts.merge(
|
|
127
|
+
:operation => :"RegistrationsApi.registrations_get_us10dlc_brand",
|
|
128
|
+
:header_params => header_params,
|
|
129
|
+
:query_params => query_params,
|
|
130
|
+
:form_params => form_params,
|
|
131
|
+
:body => post_body,
|
|
132
|
+
:auth_names => auth_names,
|
|
133
|
+
:return_type => return_type
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
137
|
+
if @api_client.config.debugging
|
|
138
|
+
@api_client.config.logger.debug "API called: RegistrationsApi#registrations_get_us10dlc_brand\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
139
|
+
end
|
|
140
|
+
return data, status_code, headers
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Get the 10DLC campaign registration for the authenticated account. Returns null when no brand registration exists yet.
|
|
144
|
+
# @param [Hash] opts the optional parameters
|
|
145
|
+
# @return [TenDlcCampaignRegistration]
|
|
146
|
+
def registrations_get_us10dlc_campaign(opts = {})
|
|
147
|
+
data, _status_code, _headers = registrations_get_us10dlc_campaign_with_http_info(opts)
|
|
148
|
+
data
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
# Get the 10DLC campaign registration for the authenticated account. Returns null when no brand registration exists yet.
|
|
152
|
+
# @param [Hash] opts the optional parameters
|
|
153
|
+
# @return [Array<(TenDlcCampaignRegistration, Integer, Hash)>] TenDlcCampaignRegistration data, response status code and response headers
|
|
154
|
+
def registrations_get_us10dlc_campaign_with_http_info(opts = {})
|
|
155
|
+
if @api_client.config.debugging
|
|
156
|
+
@api_client.config.logger.debug 'Calling API: RegistrationsApi.registrations_get_us10dlc_campaign ...'
|
|
157
|
+
end
|
|
158
|
+
# resource path
|
|
159
|
+
local_var_path = '/registrations/us/10dlc/campaign'
|
|
160
|
+
|
|
161
|
+
# query parameters
|
|
162
|
+
query_params = opts[:query_params] || {}
|
|
163
|
+
|
|
164
|
+
# header parameters
|
|
165
|
+
header_params = opts[:header_params] || {}
|
|
166
|
+
# HTTP header 'Accept' (if needed)
|
|
167
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
168
|
+
|
|
169
|
+
# form parameters
|
|
170
|
+
form_params = opts[:form_params] || {}
|
|
171
|
+
|
|
172
|
+
# http body (model)
|
|
173
|
+
post_body = opts[:debug_body]
|
|
174
|
+
|
|
175
|
+
# return_type
|
|
176
|
+
return_type = opts[:debug_return_type] || 'TenDlcCampaignRegistration'
|
|
177
|
+
|
|
178
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
179
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
180
|
+
|
|
181
|
+
new_options = opts.merge(
|
|
182
|
+
:operation => :"RegistrationsApi.registrations_get_us10dlc_campaign",
|
|
183
|
+
:header_params => header_params,
|
|
184
|
+
:query_params => query_params,
|
|
185
|
+
:form_params => form_params,
|
|
186
|
+
:body => post_body,
|
|
187
|
+
:auth_names => auth_names,
|
|
188
|
+
:return_type => return_type
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
192
|
+
if @api_client.config.debugging
|
|
193
|
+
@api_client.config.logger.debug "API called: RegistrationsApi#registrations_get_us10dlc_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
194
|
+
end
|
|
195
|
+
return data, status_code, headers
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
# Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
199
|
+
# @param ten_dlc_brand_update_request [TenDlcBrandUpdateRequest]
|
|
200
|
+
# @param [Hash] opts the optional parameters
|
|
201
|
+
# @return [TenDlcBrandRegistration]
|
|
202
|
+
def registrations_update_us10dlc_brand(ten_dlc_brand_update_request, opts = {})
|
|
203
|
+
data, _status_code, _headers = registrations_update_us10dlc_brand_with_http_info(ten_dlc_brand_update_request, opts)
|
|
204
|
+
data
|
|
205
|
+
end
|
|
206
|
+
|
|
207
|
+
# Update an existing 10DLC brand registration. Business fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
208
|
+
# @param ten_dlc_brand_update_request [TenDlcBrandUpdateRequest]
|
|
209
|
+
# @param [Hash] opts the optional parameters
|
|
210
|
+
# @return [Array<(TenDlcBrandRegistration, Integer, Hash)>] TenDlcBrandRegistration data, response status code and response headers
|
|
211
|
+
def registrations_update_us10dlc_brand_with_http_info(ten_dlc_brand_update_request, opts = {})
|
|
212
|
+
if @api_client.config.debugging
|
|
213
|
+
@api_client.config.logger.debug 'Calling API: RegistrationsApi.registrations_update_us10dlc_brand ...'
|
|
214
|
+
end
|
|
215
|
+
# verify the required parameter 'ten_dlc_brand_update_request' is set
|
|
216
|
+
if @api_client.config.client_side_validation && ten_dlc_brand_update_request.nil?
|
|
217
|
+
fail ArgumentError, "Missing the required parameter 'ten_dlc_brand_update_request' when calling RegistrationsApi.registrations_update_us10dlc_brand"
|
|
218
|
+
end
|
|
219
|
+
# resource path
|
|
220
|
+
local_var_path = '/registrations/us/10dlc/brand'
|
|
221
|
+
|
|
222
|
+
# query parameters
|
|
223
|
+
query_params = opts[:query_params] || {}
|
|
224
|
+
|
|
225
|
+
# header parameters
|
|
226
|
+
header_params = opts[:header_params] || {}
|
|
227
|
+
# HTTP header 'Accept' (if needed)
|
|
228
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
229
|
+
# HTTP header 'Content-Type'
|
|
230
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
231
|
+
if !content_type.nil?
|
|
232
|
+
header_params['Content-Type'] = content_type
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
# form parameters
|
|
236
|
+
form_params = opts[:form_params] || {}
|
|
237
|
+
|
|
238
|
+
# http body (model)
|
|
239
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ten_dlc_brand_update_request)
|
|
240
|
+
|
|
241
|
+
# return_type
|
|
242
|
+
return_type = opts[:debug_return_type] || 'TenDlcBrandRegistration'
|
|
243
|
+
|
|
244
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
245
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
246
|
+
|
|
247
|
+
new_options = opts.merge(
|
|
248
|
+
:operation => :"RegistrationsApi.registrations_update_us10dlc_brand",
|
|
249
|
+
:header_params => header_params,
|
|
250
|
+
:query_params => query_params,
|
|
251
|
+
:form_params => form_params,
|
|
252
|
+
:body => post_body,
|
|
253
|
+
:auth_names => auth_names,
|
|
254
|
+
:return_type => return_type
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
258
|
+
if @api_client.config.debugging
|
|
259
|
+
@api_client.config.logger.debug "API called: RegistrationsApi#registrations_update_us10dlc_brand\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
260
|
+
end
|
|
261
|
+
return data, status_code, headers
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# Update an existing 10DLC campaign registration. Campaign fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
265
|
+
# @param ten_dlc_campaign_update_request [TenDlcCampaignUpdateRequest]
|
|
266
|
+
# @param [Hash] opts the optional parameters
|
|
267
|
+
# @return [TenDlcCampaignRegistration]
|
|
268
|
+
def registrations_update_us10dlc_campaign(ten_dlc_campaign_update_request, opts = {})
|
|
269
|
+
data, _status_code, _headers = registrations_update_us10dlc_campaign_with_http_info(ten_dlc_campaign_update_request, opts)
|
|
270
|
+
data
|
|
271
|
+
end
|
|
272
|
+
|
|
273
|
+
# Update an existing 10DLC campaign registration. Campaign fields are editable before carrier submission; workflow status is managed by Pingram.
|
|
274
|
+
# @param ten_dlc_campaign_update_request [TenDlcCampaignUpdateRequest]
|
|
275
|
+
# @param [Hash] opts the optional parameters
|
|
276
|
+
# @return [Array<(TenDlcCampaignRegistration, Integer, Hash)>] TenDlcCampaignRegistration data, response status code and response headers
|
|
277
|
+
def registrations_update_us10dlc_campaign_with_http_info(ten_dlc_campaign_update_request, opts = {})
|
|
278
|
+
if @api_client.config.debugging
|
|
279
|
+
@api_client.config.logger.debug 'Calling API: RegistrationsApi.registrations_update_us10dlc_campaign ...'
|
|
280
|
+
end
|
|
281
|
+
# verify the required parameter 'ten_dlc_campaign_update_request' is set
|
|
282
|
+
if @api_client.config.client_side_validation && ten_dlc_campaign_update_request.nil?
|
|
283
|
+
fail ArgumentError, "Missing the required parameter 'ten_dlc_campaign_update_request' when calling RegistrationsApi.registrations_update_us10dlc_campaign"
|
|
284
|
+
end
|
|
285
|
+
# resource path
|
|
286
|
+
local_var_path = '/registrations/us/10dlc/campaign'
|
|
287
|
+
|
|
288
|
+
# query parameters
|
|
289
|
+
query_params = opts[:query_params] || {}
|
|
290
|
+
|
|
291
|
+
# header parameters
|
|
292
|
+
header_params = opts[:header_params] || {}
|
|
293
|
+
# HTTP header 'Accept' (if needed)
|
|
294
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
295
|
+
# HTTP header 'Content-Type'
|
|
296
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
297
|
+
if !content_type.nil?
|
|
298
|
+
header_params['Content-Type'] = content_type
|
|
299
|
+
end
|
|
300
|
+
|
|
301
|
+
# form parameters
|
|
302
|
+
form_params = opts[:form_params] || {}
|
|
303
|
+
|
|
304
|
+
# http body (model)
|
|
305
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(ten_dlc_campaign_update_request)
|
|
306
|
+
|
|
307
|
+
# return_type
|
|
308
|
+
return_type = opts[:debug_return_type] || 'TenDlcCampaignRegistration'
|
|
309
|
+
|
|
310
|
+
# auth_names (apiKey last so Bearer wins when multiple schemes set Authorization)
|
|
311
|
+
auth_names = opts[:debug_auth_names] || ['endUserHashed', 'endUser', 'clientCredentials', 'apiKey']
|
|
312
|
+
|
|
313
|
+
new_options = opts.merge(
|
|
314
|
+
:operation => :"RegistrationsApi.registrations_update_us10dlc_campaign",
|
|
315
|
+
:header_params => header_params,
|
|
316
|
+
:query_params => query_params,
|
|
317
|
+
:form_params => form_params,
|
|
318
|
+
:body => post_body,
|
|
319
|
+
:auth_names => auth_names,
|
|
320
|
+
:return_type => return_type
|
|
321
|
+
)
|
|
322
|
+
|
|
323
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
324
|
+
if @api_client.config.debugging
|
|
325
|
+
@api_client.config.logger.debug "API called: RegistrationsApi#registrations_update_us10dlc_campaign\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
326
|
+
end
|
|
327
|
+
return data, status_code, headers
|
|
328
|
+
end
|
|
329
|
+
end
|
|
330
|
+
end
|
data/lib/pingram/api_client.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Pingram
|
|
|
32
32
|
# @option config [Configuration] Configuration for initializing the object, default to Configuration.default
|
|
33
33
|
def initialize(config = Configuration.default)
|
|
34
34
|
@config = config
|
|
35
|
-
@user_agent = "pingram-ruby/1.0.
|
|
35
|
+
@user_agent = "pingram-ruby/1.0.27"
|
|
36
36
|
@default_headers = {
|
|
37
37
|
'Content-Type' => 'application/json',
|
|
38
38
|
'User-Agent' => @user_agent
|
|
@@ -40,6 +40,8 @@ require_relative 'api/numbers_api'
|
|
|
40
40
|
|
|
41
41
|
require_relative 'api/profile_api'
|
|
42
42
|
|
|
43
|
+
require_relative 'api/registrations_api'
|
|
44
|
+
|
|
43
45
|
require_relative 'api/sender_api'
|
|
44
46
|
|
|
45
47
|
require_relative 'api/sms_api'
|
|
@@ -116,6 +118,8 @@ module Pingram
|
|
|
116
118
|
|
|
117
119
|
@profile = Pingram::ProfileApi.new(@api_client)
|
|
118
120
|
|
|
121
|
+
@registrations = Pingram::RegistrationsApi.new(@api_client)
|
|
122
|
+
|
|
119
123
|
@sender = Pingram::SenderApi.new(@api_client)
|
|
120
124
|
|
|
121
125
|
@sms = Pingram::SmsApi.new(@api_client)
|
|
@@ -231,6 +235,12 @@ module Pingram
|
|
|
231
235
|
end
|
|
232
236
|
|
|
233
237
|
|
|
238
|
+
# @return [Pingram::RegistrationsApi]
|
|
239
|
+
def registrations
|
|
240
|
+
@registrations
|
|
241
|
+
end
|
|
242
|
+
|
|
243
|
+
|
|
234
244
|
# @return [Pingram::SenderApi]
|
|
235
245
|
def sender
|
|
236
246
|
@sender
|
|
@@ -46,6 +46,8 @@ module Pingram
|
|
|
46
46
|
|
|
47
47
|
attr_accessor :status
|
|
48
48
|
|
|
49
|
+
attr_accessor :subscription_status
|
|
50
|
+
|
|
49
51
|
class EnumAttributeValidator
|
|
50
52
|
attr_reader :datatype
|
|
51
53
|
attr_reader :allowable_values
|
|
@@ -84,7 +86,8 @@ module Pingram
|
|
|
84
86
|
:'allow_overage' => :'allowOverage',
|
|
85
87
|
:'created_at' => :'createdAt',
|
|
86
88
|
:'updated_at' => :'updatedAt',
|
|
87
|
-
:'status' => :'status'
|
|
89
|
+
:'status' => :'status',
|
|
90
|
+
:'subscription_status' => :'subscriptionStatus'
|
|
88
91
|
}
|
|
89
92
|
end
|
|
90
93
|
|
|
@@ -114,13 +117,15 @@ module Pingram
|
|
|
114
117
|
:'allow_overage' => :'Boolean',
|
|
115
118
|
:'created_at' => :'String',
|
|
116
119
|
:'updated_at' => :'String',
|
|
117
|
-
:'status' => :'String'
|
|
120
|
+
:'status' => :'String',
|
|
121
|
+
:'subscription_status' => :'String'
|
|
118
122
|
}
|
|
119
123
|
end
|
|
120
124
|
|
|
121
125
|
# List of attributes with nullable: true
|
|
122
126
|
def self.openapi_nullable
|
|
123
127
|
Set.new([
|
|
128
|
+
:'subscription_status'
|
|
124
129
|
])
|
|
125
130
|
end
|
|
126
131
|
|
|
@@ -211,6 +216,10 @@ module Pingram
|
|
|
211
216
|
if attributes.key?(:'status')
|
|
212
217
|
self.status = attributes[:'status']
|
|
213
218
|
end
|
|
219
|
+
|
|
220
|
+
if attributes.key?(:'subscription_status')
|
|
221
|
+
self.subscription_status = attributes[:'subscription_status']
|
|
222
|
+
end
|
|
214
223
|
end
|
|
215
224
|
|
|
216
225
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -271,6 +280,8 @@ module Pingram
|
|
|
271
280
|
return false if @updated_at.nil?
|
|
272
281
|
status_validator = EnumAttributeValidator.new('String', ["verified", "unverified", "blocked"])
|
|
273
282
|
return false unless status_validator.valid?(@status)
|
|
283
|
+
subscription_status_validator = EnumAttributeValidator.new('String', ["active", "canceled", "past_due", "paused"])
|
|
284
|
+
return false unless subscription_status_validator.valid?(@subscription_status)
|
|
274
285
|
true
|
|
275
286
|
end
|
|
276
287
|
|
|
@@ -374,6 +385,16 @@ module Pingram
|
|
|
374
385
|
@status = status
|
|
375
386
|
end
|
|
376
387
|
|
|
388
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
389
|
+
# @param [Object] subscription_status Object to be assigned
|
|
390
|
+
def subscription_status=(subscription_status)
|
|
391
|
+
validator = EnumAttributeValidator.new('String', ["active", "canceled", "past_due", "paused"])
|
|
392
|
+
unless validator.valid?(subscription_status)
|
|
393
|
+
fail ArgumentError, "invalid value for \"subscription_status\", must be one of #{validator.allowable_values}."
|
|
394
|
+
end
|
|
395
|
+
@subscription_status = subscription_status
|
|
396
|
+
end
|
|
397
|
+
|
|
377
398
|
# Checks equality by comparing each attribute.
|
|
378
399
|
# @param [Object] Object to be compared
|
|
379
400
|
def ==(o)
|
|
@@ -392,7 +413,8 @@ module Pingram
|
|
|
392
413
|
allow_overage == o.allow_overage &&
|
|
393
414
|
created_at == o.created_at &&
|
|
394
415
|
updated_at == o.updated_at &&
|
|
395
|
-
status == o.status
|
|
416
|
+
status == o.status &&
|
|
417
|
+
subscription_status == o.subscription_status
|
|
396
418
|
end
|
|
397
419
|
|
|
398
420
|
# @see the `==` method
|
|
@@ -404,7 +426,7 @@ module Pingram
|
|
|
404
426
|
# Calculates hash code according to all attributes.
|
|
405
427
|
# @return [Integer] Hash code
|
|
406
428
|
def hash
|
|
407
|
-
[account_id, account_type, creator, name, messages_cap, cost_cap, sms_cap, call_cap, billing_version, anniversary_date, allow_overage, created_at, updated_at, status].hash
|
|
429
|
+
[account_id, account_type, creator, name, messages_cap, cost_cap, sms_cap, call_cap, billing_version, anniversary_date, allow_overage, created_at, updated_at, status, subscription_status].hash
|
|
408
430
|
end
|
|
409
431
|
|
|
410
432
|
# Builds the object from hash
|