freeclimb 4.3.0 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +20 -4
- data/docs/DefaultApi.md +433 -0
- data/docs/IncomingNumberRequest.md +3 -1
- data/docs/SMSTenDLCBrand.md +78 -0
- data/docs/SMSTenDLCBrandsListResult.md +32 -0
- data/docs/SMSTenDLCBrandsListResultAllOf.md +18 -0
- data/docs/SMSTenDLCCampaign.md +78 -0
- data/docs/SMSTenDLCCampaignsListResult.md +32 -0
- data/docs/SMSTenDLCCampaignsListResultAllOf.md +18 -0
- data/docs/SMSTenDLCPartnerCampaign.md +74 -0
- data/docs/SMSTenDLCPartnerCampaignBrand.md +38 -0
- data/docs/SMSTenDLCPartnerCampaignsListResult.md +32 -0
- data/docs/SMSTenDLCPartnerCampaignsListResultAllOf.md +18 -0
- data/lib/freeclimb/api/default_api.rb +360 -0
- data/lib/freeclimb/models/incoming_number_request.rb +15 -4
- data/lib/freeclimb/models/sms_ten_dlc_brand.rb +960 -0
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result.rb +306 -0
- data/lib/freeclimb/models/sms_ten_dlc_brands_list_result_all_of.rb +221 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaign.rb +814 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result.rb +306 -0
- data/lib/freeclimb/models/sms_ten_dlc_campaigns_list_result_all_of.rb +221 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign.rb +807 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaign_brand.rb +445 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result.rb +306 -0
- data/lib/freeclimb/models/sms_ten_dlc_partner_campaigns_list_result_all_of.rb +221 -0
- data/lib/freeclimb/version.rb +1 -1
- data/lib/freeclimb.rb +10 -0
- data/openapi.json +1162 -2
- data/spec/api/default_api_spec.rb +151 -1
- data/spec/models/sms_ten_dlc_brand_spec.rb +234 -0
- data/spec/models/sms_ten_dlc_brands_list_result_spec.rb +76 -0
- data/spec/models/sms_ten_dlc_campaign_spec.rb +218 -0
- data/spec/models/sms_ten_dlc_campaigns_list_result_spec.rb +76 -0
- data/spec/models/sms_ten_dlc_partner_campaign_brand_spec.rb +94 -0
- data/spec/models/sms_ten_dlc_partner_campaign_spec.rb +206 -0
- data/spec/models/sms_ten_dlc_partner_campaigns_list_result_spec.rb +76 -0
- metadata +105 -71
@@ -0,0 +1,18 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCBrandsListResultAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **brands** | [**Array<SMSTenDLCBrand>**](SMSTenDLCBrand.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::SMSTenDLCBrandsListResultAllOf.new(
|
15
|
+
brands: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCCampaign
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_id** | **String** | ID of the account that created this Queue. | [optional] |
|
8
|
+
| **campaign_id** | **String** | Alphanumeric identifier assigned by the registry for a campaign. This identifier is required by the NetNumber OSR SMS enabling process of 10DLC. | |
|
9
|
+
| **csp_id** | **String** | Alphanumeric identifier of the CSP associated with this campaign. | |
|
10
|
+
| **reseller_id** | **String** | Alphanumeric identifier of the reseller that you want to associate with this campaign. | [optional] |
|
11
|
+
| **status** | **String** | Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. | [optional] |
|
12
|
+
| **create_date** | **Time** | Unix timestamp when campaign was created. | [optional] |
|
13
|
+
| **auto_renewal** | **Boolean** | Campaign subscription auto-renewal status. | [optional] |
|
14
|
+
| **billed_date** | **Time** | Campaign recent billed date. | [optional] |
|
15
|
+
| **brand_id** | **String** | Alphanumeric identifier of the brand associated with this campaign. | |
|
16
|
+
| **usecase** | **String** | Campaign usecase. Must be of defined valid types. Use `/registry/enum/usecase` operation to retrieve usecases available for given brand. | |
|
17
|
+
| **sub_usecases** | **Array<String>** | Campaign sub-usecases. Must be of defined valid sub-usecase types. Use `/registry/enum/usecase` operation to retrieve list of valid sub-usecases | |
|
18
|
+
| **description** | **String** | Summary description of this campaign. | |
|
19
|
+
| **embedded_link** | **Boolean** | Does message generated by the campaign include URL link in SMS? | [optional][default to false] |
|
20
|
+
| **embedded_phone** | **Boolean** | Does message generated by the campaign include phone number in SMS? | [optional][default to false] |
|
21
|
+
| **affiliate_marketing** | **Boolean** | Does message content controlled by affiliate marketing other than the brand? | [optional] |
|
22
|
+
| **number_pool** | **Boolean** | Does campaign utilize pool of phone nubers? | [optional][default to false] |
|
23
|
+
| **age_gated** | **Boolean** | Age gated content in campaign. | [optional] |
|
24
|
+
| **direct_lending** | **Boolean** | | [optional] |
|
25
|
+
| **subscriber_optin** | **Boolean** | Does campaign require subscriber to opt-in before SMS is sent to subscriber? | [optional][default to false] |
|
26
|
+
| **subscriber_optout** | **Boolean** | Does campaign support subscriber opt-out keyword(s)? | [optional][default to false] |
|
27
|
+
| **subscriber_help** | **Boolean** | Does campaign responds to help keyword(s)? | [optional][default to false] |
|
28
|
+
| **sample1** | **String** | Message sample. Some campaign tiers require 1 or more message samples. | [optional] |
|
29
|
+
| **sample2** | **String** | Message sample. Some campaign tiers require 2 or more message samples. | [optional] |
|
30
|
+
| **sample3** | **String** | Message sample. Some campaign tiers require 3 or more message samples. | [optional] |
|
31
|
+
| **sample4** | **String** | Message sample. Some campaign tiers require 4 or more message samples. | [optional] |
|
32
|
+
| **sample5** | **String** | Message sample. Some campaign tiers require 5 or more message samples. | [optional] |
|
33
|
+
| **message_flow** | **String** | Message flow description. | [optional] |
|
34
|
+
| **help_message** | **String** | Help message of the campaign. | [optional] |
|
35
|
+
| **reference_id** | **String** | Caller supplied campaign reference ID. If supplied, the value must be unique across all submitted campaigns. Can be used to prevent duplicate campaign registrations. | [optional] |
|
36
|
+
| **mock** | **Boolean** | Campaign created from mock brand. Mocked campaign cannot be shared with an upstream CNP. | |
|
37
|
+
| **next_renewal_or_expiration_date** | **Date** | When the campaign would be due for its next renew/bill date. | [optional] |
|
38
|
+
|
39
|
+
## Example
|
40
|
+
|
41
|
+
```ruby
|
42
|
+
require 'freeclimb'
|
43
|
+
|
44
|
+
instance = Freeclimb::SMSTenDLCCampaign.new(
|
45
|
+
account_id: null,
|
46
|
+
campaign_id: null,
|
47
|
+
csp_id: null,
|
48
|
+
reseller_id: null,
|
49
|
+
status: null,
|
50
|
+
create_date: null,
|
51
|
+
auto_renewal: null,
|
52
|
+
billed_date: null,
|
53
|
+
brand_id: null,
|
54
|
+
usecase: null,
|
55
|
+
sub_usecases: null,
|
56
|
+
description: null,
|
57
|
+
embedded_link: null,
|
58
|
+
embedded_phone: null,
|
59
|
+
affiliate_marketing: null,
|
60
|
+
number_pool: null,
|
61
|
+
age_gated: null,
|
62
|
+
direct_lending: null,
|
63
|
+
subscriber_optin: null,
|
64
|
+
subscriber_optout: null,
|
65
|
+
subscriber_help: null,
|
66
|
+
sample1: null,
|
67
|
+
sample2: null,
|
68
|
+
sample3: null,
|
69
|
+
sample4: null,
|
70
|
+
sample5: null,
|
71
|
+
message_flow: null,
|
72
|
+
help_message: null,
|
73
|
+
reference_id: null,
|
74
|
+
mock: null,
|
75
|
+
next_renewal_or_expiration_date: Fri Dec 31 19:00:00 EST 1999
|
76
|
+
)
|
77
|
+
```
|
78
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCCampaignsListResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **total** | **Integer** | Total amount of requested resource. | [optional] |
|
8
|
+
| **start** | **Integer** | Resource index at start of current page | [optional] |
|
9
|
+
| **_end** | **Integer** | Resource index at end of current page | [optional] |
|
10
|
+
| **page** | **Integer** | Current page | [optional] |
|
11
|
+
| **num_pages** | **Integer** | Total number of pages | [optional] |
|
12
|
+
| **page_size** | **Integer** | Number of items per page | [optional] |
|
13
|
+
| **next_page_uri** | **String** | Uri to retrieve the next page of items | [optional] |
|
14
|
+
| **campaigns** | [**Array<SMSTenDLCCampaign>**](SMSTenDLCCampaign.md) | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'freeclimb'
|
20
|
+
|
21
|
+
instance = Freeclimb::SMSTenDLCCampaignsListResult.new(
|
22
|
+
total: null,
|
23
|
+
start: null,
|
24
|
+
_end: null,
|
25
|
+
page: null,
|
26
|
+
num_pages: null,
|
27
|
+
page_size: null,
|
28
|
+
next_page_uri: null,
|
29
|
+
campaigns: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCCampaignsListResultAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **campaigns** | [**Array<SMSTenDLCCampaign>**](SMSTenDLCCampaign.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::SMSTenDLCCampaignsListResultAllOf.new(
|
15
|
+
campaigns: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
@@ -0,0 +1,74 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCPartnerCampaign
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_id** | **String** | ID of the account that created this Queue. | [optional] |
|
8
|
+
| **campaign_id** | **String** | Alphanumeric identifier assigned by the registry for a campaign. This identifier is required by the NetNumber OSR SMS enabling process of 10DLC. | |
|
9
|
+
| **status** | **String** | Current campaign status. Possible values: ACTIVE, EXPIRED. A newly created campaign defaults to ACTIVE status. | [optional] |
|
10
|
+
| **create_date** | **Time** | Unix timestamp when campaign was created. | [optional] |
|
11
|
+
| **brand_id** | **String** | Alphanumeric identifier of the brand associated with this campaign. | |
|
12
|
+
| **usecase** | **String** | Campaign usecase. Must be of defined valid types. Use `/registry/enum/usecase` operation to retrieve usecases available for given brand. | |
|
13
|
+
| **description** | **String** | Summary description of this campaign. | |
|
14
|
+
| **embedded_link** | **Boolean** | Does message generated by the campaign include URL link in SMS? | [optional][default to false] |
|
15
|
+
| **embedded_phone** | **Boolean** | Does message generated by the campaign include phone number in SMS? | [optional][default to false] |
|
16
|
+
| **affiliate_marketing** | **Boolean** | Does message content controlled by affiliate marketing other than the brand? | [optional] |
|
17
|
+
| **number_pool** | **Boolean** | Does campaign utilize pool of phone nubers? | [optional][default to false] |
|
18
|
+
| **age_gated** | **Boolean** | Age gated content in campaign. | [optional] |
|
19
|
+
| **direct_lending** | **Boolean** | | [optional] |
|
20
|
+
| **subscriber_optin** | **Boolean** | Does campaign require subscriber to opt-in before SMS is sent to subscriber? | [optional][default to false] |
|
21
|
+
| **subscriber_optout** | **Boolean** | Does campaign support subscriber opt-out keyword(s)? | [optional][default to false] |
|
22
|
+
| **subscriber_help** | **Boolean** | Does campaign responds to help keyword(s)? | [optional][default to false] |
|
23
|
+
| **sample1** | **String** | Message sample. Some campaign tiers require 1 or more message samples. | [optional] |
|
24
|
+
| **sample2** | **String** | Message sample. Some campaign tiers require 2 or more message samples. | [optional] |
|
25
|
+
| **sample3** | **String** | Message sample. Some campaign tiers require 3 or more message samples. | [optional] |
|
26
|
+
| **sample4** | **String** | Message sample. Some campaign tiers require 4 or more message samples. | [optional] |
|
27
|
+
| **sample5** | **String** | Message sample. Some campaign tiers require 5 or more message samples. | [optional] |
|
28
|
+
| **message_flow** | **String** | Message flow description. | [optional] |
|
29
|
+
| **help_message** | **String** | Help message of the campaign. | [optional] |
|
30
|
+
| **optin_keywords** | **String** | Subscriber opt-in keywords. Multiple keywords are comma separated without space. | [optional] |
|
31
|
+
| **optout_keywords** | **String** | Subscriber opt-out keywords. Multiple keywords are comma separated without space. | [optional] |
|
32
|
+
| **help_keywords** | **String** | Subscriber help keywords. Multiple keywords are comma separated without space. | [optional] |
|
33
|
+
| **optin_message** | **String** | Subscriber opt-in message. | [optional] |
|
34
|
+
| **optout_message** | **String** | Subscriber opt-out message. | [optional] |
|
35
|
+
| **brand** | [**SMSTenDLCPartnerCampaignBrand**](SMSTenDLCPartnerCampaignBrand.md) | | [optional] |
|
36
|
+
|
37
|
+
## Example
|
38
|
+
|
39
|
+
```ruby
|
40
|
+
require 'freeclimb'
|
41
|
+
|
42
|
+
instance = Freeclimb::SMSTenDLCPartnerCampaign.new(
|
43
|
+
account_id: null,
|
44
|
+
campaign_id: null,
|
45
|
+
status: null,
|
46
|
+
create_date: null,
|
47
|
+
brand_id: null,
|
48
|
+
usecase: null,
|
49
|
+
description: null,
|
50
|
+
embedded_link: null,
|
51
|
+
embedded_phone: null,
|
52
|
+
affiliate_marketing: null,
|
53
|
+
number_pool: null,
|
54
|
+
age_gated: null,
|
55
|
+
direct_lending: null,
|
56
|
+
subscriber_optin: null,
|
57
|
+
subscriber_optout: null,
|
58
|
+
subscriber_help: null,
|
59
|
+
sample1: null,
|
60
|
+
sample2: null,
|
61
|
+
sample3: null,
|
62
|
+
sample4: null,
|
63
|
+
sample5: null,
|
64
|
+
message_flow: null,
|
65
|
+
help_message: null,
|
66
|
+
optin_keywords: null,
|
67
|
+
optout_keywords: null,
|
68
|
+
help_keywords: null,
|
69
|
+
optin_message: null,
|
70
|
+
optout_message: null,
|
71
|
+
brand: null
|
72
|
+
)
|
73
|
+
```
|
74
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCPartnerCampaignBrand
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **account_id** | **String** | ID of the account that created this Queue. | [optional] |
|
8
|
+
| **brand_id** | **String** | Unique identifier assigned to the brand by the registry. | [optional][readonly] |
|
9
|
+
| **first_name** | **String** | First or given name. | [optional] |
|
10
|
+
| **last_name** | **String** | Last or Surname. | [optional] |
|
11
|
+
| **display_name** | **String** | Display or marketing name of the brand. | [optional] |
|
12
|
+
| **company_name** | **String** | (Required for Non-profit/private/public) Legal company name. | [optional] |
|
13
|
+
| **phone** | **String** | Valid phone number in e.164 international format. | |
|
14
|
+
| **email** | **String** | Valid email address of brand support contact. | |
|
15
|
+
| **website** | **String** | Brand website URL. | [optional] |
|
16
|
+
| **optional_attributes** | **Hash<String, Object>** | Optional brand attributes. Please refer to GET /enum/optionalAttributeNames for dictionary of optional attribute names. | [optional] |
|
17
|
+
| **evp_vetting_score** | **Integer** | External vetting score. | [optional] |
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
```ruby
|
22
|
+
require 'freeclimb'
|
23
|
+
|
24
|
+
instance = Freeclimb::SMSTenDLCPartnerCampaignBrand.new(
|
25
|
+
account_id: null,
|
26
|
+
brand_id: null,
|
27
|
+
first_name: John,
|
28
|
+
last_name: Doe,
|
29
|
+
display_name: ABC Mobile,
|
30
|
+
company_name: ABC Inc.,
|
31
|
+
phone: +12024567890,
|
32
|
+
email: null,
|
33
|
+
website: http://www.abcmobile.com,
|
34
|
+
optional_attributes: null,
|
35
|
+
evp_vetting_score: null
|
36
|
+
)
|
37
|
+
```
|
38
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCPartnerCampaignsListResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **total** | **Integer** | Total amount of requested resource. | [optional] |
|
8
|
+
| **start** | **Integer** | Resource index at start of current page | [optional] |
|
9
|
+
| **_end** | **Integer** | Resource index at end of current page | [optional] |
|
10
|
+
| **page** | **Integer** | Current page | [optional] |
|
11
|
+
| **num_pages** | **Integer** | Total number of pages | [optional] |
|
12
|
+
| **page_size** | **Integer** | Number of items per page | [optional] |
|
13
|
+
| **next_page_uri** | **String** | Uri to retrieve the next page of items | [optional] |
|
14
|
+
| **partner_campaigns** | [**Array<SMSTenDLCPartnerCampaign>**](SMSTenDLCPartnerCampaign.md) | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'freeclimb'
|
20
|
+
|
21
|
+
instance = Freeclimb::SMSTenDLCPartnerCampaignsListResult.new(
|
22
|
+
total: null,
|
23
|
+
start: null,
|
24
|
+
_end: null,
|
25
|
+
page: null,
|
26
|
+
num_pages: null,
|
27
|
+
page_size: null,
|
28
|
+
next_page_uri: null,
|
29
|
+
partner_campaigns: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Freeclimb::SMSTenDLCPartnerCampaignsListResultAllOf
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **partner_campaigns** | [**Array<SMSTenDLCPartnerCampaign>**](SMSTenDLCPartnerCampaign.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'freeclimb'
|
13
|
+
|
14
|
+
instance = Freeclimb::SMSTenDLCPartnerCampaignsListResultAllOf.new(
|
15
|
+
partner_campaigns: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|