late-sdk 0.0.50 → 0.0.52
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/README.md +9 -0
- data/docs/AccountWithFollowerStats.md +3 -1
- data/docs/AccountWithFollowerStatsAllOfAccountStats.md +38 -0
- data/docs/GetWhatsAppDisplayName200Response.md +20 -0
- data/docs/GetWhatsAppDisplayName200ResponseDisplayName.md +22 -0
- data/docs/UpdateWhatsAppDisplayName200Response.md +22 -0
- data/docs/UpdateWhatsAppDisplayName200ResponseDisplayName.md +20 -0
- data/docs/UpdateWhatsAppDisplayNameRequest.md +20 -0
- data/docs/UsageStats.md +2 -0
- data/docs/WhatsAppApi.md +212 -0
- data/lib/late-sdk/api/whats_app_api.rb +208 -0
- data/lib/late-sdk/models/account_with_follower_stats.rb +13 -4
- data/lib/late-sdk/models/account_with_follower_stats_all_of_account_stats.rb +249 -0
- data/lib/late-sdk/models/get_whats_app_display_name200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_display_name200_response_display_name.rb +202 -0
- data/lib/late-sdk/models/update_whats_app_display_name200_response.rb +165 -0
- data/lib/late-sdk/models/update_whats_app_display_name200_response_display_name.rb +190 -0
- data/lib/late-sdk/models/update_whats_app_display_name_request.rb +210 -0
- data/lib/late-sdk/models/usage_stats.rb +11 -1
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +6 -0
- data/openapi.yaml +144 -0
- data/spec/api/whats_app_api_spec.rb +37 -0
- data/spec/models/account_with_follower_stats_all_of_account_stats_spec.rb +96 -0
- data/spec/models/account_with_follower_stats_spec.rb +6 -0
- data/spec/models/get_whats_app_display_name200_response_display_name_spec.rb +52 -0
- data/spec/models/get_whats_app_display_name200_response_spec.rb +42 -0
- data/spec/models/update_whats_app_display_name200_response_display_name_spec.rb +46 -0
- data/spec/models/update_whats_app_display_name200_response_spec.rb +48 -0
- data/spec/models/update_whats_app_display_name_request_spec.rb +42 -0
- data/spec/models/usage_stats_spec.rb +6 -0
- metadata +25 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::GetWhatsAppDisplayName200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppDisplayName200Response do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppDisplayName200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppDisplayName200Response' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppDisplayName200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppDisplayName200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "display_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::UpdateWhatsAppDisplayName200ResponseDisplayName
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::UpdateWhatsAppDisplayName200ResponseDisplayName do
|
|
21
|
+
#let(:instance) { Late::UpdateWhatsAppDisplayName200ResponseDisplayName.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpdateWhatsAppDisplayName200ResponseDisplayName' do
|
|
24
|
+
it 'should create an instance of UpdateWhatsAppDisplayName200ResponseDisplayName' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::UpdateWhatsAppDisplayName200ResponseDisplayName)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "name"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "status"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING_REVIEW"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.status = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::UpdateWhatsAppDisplayName200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::UpdateWhatsAppDisplayName200Response do
|
|
21
|
+
#let(:instance) { Late::UpdateWhatsAppDisplayName200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpdateWhatsAppDisplayName200Response' do
|
|
24
|
+
it 'should create an instance of UpdateWhatsAppDisplayName200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::UpdateWhatsAppDisplayName200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "success"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "message"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
describe 'test attribute "display_name"' do
|
|
43
|
+
it 'should work' do
|
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
end
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#Late API
|
|
3
|
+
|
|
4
|
+
#API reference for Late. Authenticate with a Bearer API key. Base URL: https://getlate.dev/api
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0.1
|
|
7
|
+
Contact: support@getlate.dev
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
Generator version: 7.19.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'spec_helper'
|
|
14
|
+
require 'json'
|
|
15
|
+
require 'date'
|
|
16
|
+
|
|
17
|
+
# Unit tests for Late::UpdateWhatsAppDisplayNameRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::UpdateWhatsAppDisplayNameRequest do
|
|
21
|
+
#let(:instance) { Late::UpdateWhatsAppDisplayNameRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of UpdateWhatsAppDisplayNameRequest' do
|
|
24
|
+
it 'should create an instance of UpdateWhatsAppDisplayNameRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::UpdateWhatsAppDisplayNameRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "account_id"' do
|
|
31
|
+
it 'should work' do
|
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
describe 'test attribute "display_name"' do
|
|
37
|
+
it 'should work' do
|
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
end
|
|
@@ -49,6 +49,12 @@ describe Late::UsageStats do
|
|
|
49
49
|
end
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
+
describe 'test attribute "billing_anchor_day"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
52
58
|
describe 'test attribute "limits"' do
|
|
53
59
|
it 'should work' do
|
|
54
60
|
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: late-sdk
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.52
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- docs/AccountGroupsApi.md
|
|
69
69
|
- docs/AccountSettingsApi.md
|
|
70
70
|
- docs/AccountWithFollowerStats.md
|
|
71
|
+
- docs/AccountWithFollowerStatsAllOfAccountStats.md
|
|
71
72
|
- docs/AccountsApi.md
|
|
72
73
|
- docs/AccountsListResponse.md
|
|
73
74
|
- docs/AddWhatsAppBroadcastRecipients200Response.md
|
|
@@ -294,6 +295,8 @@ files:
|
|
|
294
295
|
- docs/GetWhatsAppContacts200ResponseContactsInner.md
|
|
295
296
|
- docs/GetWhatsAppContacts200ResponseFilters.md
|
|
296
297
|
- docs/GetWhatsAppContacts200ResponsePagination.md
|
|
298
|
+
- docs/GetWhatsAppDisplayName200Response.md
|
|
299
|
+
- docs/GetWhatsAppDisplayName200ResponseDisplayName.md
|
|
297
300
|
- docs/GetWhatsAppGroups200Response.md
|
|
298
301
|
- docs/GetWhatsAppGroups200ResponseGroupsInner.md
|
|
299
302
|
- docs/GetWhatsAppGroups200ResponseSummary.md
|
|
@@ -549,6 +552,9 @@ files:
|
|
|
549
552
|
- docs/UpdateWhatsAppContact200Response.md
|
|
550
553
|
- docs/UpdateWhatsAppContact200ResponseContact.md
|
|
551
554
|
- docs/UpdateWhatsAppContactRequest.md
|
|
555
|
+
- docs/UpdateWhatsAppDisplayName200Response.md
|
|
556
|
+
- docs/UpdateWhatsAppDisplayName200ResponseDisplayName.md
|
|
557
|
+
- docs/UpdateWhatsAppDisplayNameRequest.md
|
|
552
558
|
- docs/UpdateWhatsAppTemplate200Response.md
|
|
553
559
|
- docs/UpdateWhatsAppTemplate200ResponseTemplate.md
|
|
554
560
|
- docs/UpdateWhatsAppTemplateRequest.md
|
|
@@ -654,6 +660,7 @@ files:
|
|
|
654
660
|
- lib/late-sdk/configuration.rb
|
|
655
661
|
- lib/late-sdk/models/account_get_response.rb
|
|
656
662
|
- lib/late-sdk/models/account_with_follower_stats.rb
|
|
663
|
+
- lib/late-sdk/models/account_with_follower_stats_all_of_account_stats.rb
|
|
657
664
|
- lib/late-sdk/models/accounts_list_response.rb
|
|
658
665
|
- lib/late-sdk/models/add_whats_app_broadcast_recipients200_response.rb
|
|
659
666
|
- lib/late-sdk/models/add_whats_app_broadcast_recipients_request.rb
|
|
@@ -870,6 +877,8 @@ files:
|
|
|
870
877
|
- lib/late-sdk/models/get_whats_app_contacts200_response_contacts_inner.rb
|
|
871
878
|
- lib/late-sdk/models/get_whats_app_contacts200_response_filters.rb
|
|
872
879
|
- lib/late-sdk/models/get_whats_app_contacts200_response_pagination.rb
|
|
880
|
+
- lib/late-sdk/models/get_whats_app_display_name200_response.rb
|
|
881
|
+
- lib/late-sdk/models/get_whats_app_display_name200_response_display_name.rb
|
|
873
882
|
- lib/late-sdk/models/get_whats_app_groups200_response.rb
|
|
874
883
|
- lib/late-sdk/models/get_whats_app_groups200_response_groups_inner.rb
|
|
875
884
|
- lib/late-sdk/models/get_whats_app_groups200_response_summary.rb
|
|
@@ -1114,6 +1123,9 @@ files:
|
|
|
1114
1123
|
- lib/late-sdk/models/update_whats_app_contact200_response.rb
|
|
1115
1124
|
- lib/late-sdk/models/update_whats_app_contact200_response_contact.rb
|
|
1116
1125
|
- lib/late-sdk/models/update_whats_app_contact_request.rb
|
|
1126
|
+
- lib/late-sdk/models/update_whats_app_display_name200_response.rb
|
|
1127
|
+
- lib/late-sdk/models/update_whats_app_display_name200_response_display_name.rb
|
|
1128
|
+
- lib/late-sdk/models/update_whats_app_display_name_request.rb
|
|
1117
1129
|
- lib/late-sdk/models/update_whats_app_template200_response.rb
|
|
1118
1130
|
- lib/late-sdk/models/update_whats_app_template200_response_template.rb
|
|
1119
1131
|
- lib/late-sdk/models/update_whats_app_template_request.rb
|
|
@@ -1208,6 +1220,7 @@ files:
|
|
|
1208
1220
|
- spec/api/whats_app_api_spec.rb
|
|
1209
1221
|
- spec/api/whats_app_phone_numbers_api_spec.rb
|
|
1210
1222
|
- spec/models/account_get_response_spec.rb
|
|
1223
|
+
- spec/models/account_with_follower_stats_all_of_account_stats_spec.rb
|
|
1211
1224
|
- spec/models/account_with_follower_stats_spec.rb
|
|
1212
1225
|
- spec/models/accounts_list_response_spec.rb
|
|
1213
1226
|
- spec/models/add_whats_app_broadcast_recipients200_response_spec.rb
|
|
@@ -1425,6 +1438,8 @@ files:
|
|
|
1425
1438
|
- spec/models/get_whats_app_contacts200_response_filters_spec.rb
|
|
1426
1439
|
- spec/models/get_whats_app_contacts200_response_pagination_spec.rb
|
|
1427
1440
|
- spec/models/get_whats_app_contacts200_response_spec.rb
|
|
1441
|
+
- spec/models/get_whats_app_display_name200_response_display_name_spec.rb
|
|
1442
|
+
- spec/models/get_whats_app_display_name200_response_spec.rb
|
|
1428
1443
|
- spec/models/get_whats_app_groups200_response_groups_inner_spec.rb
|
|
1429
1444
|
- spec/models/get_whats_app_groups200_response_spec.rb
|
|
1430
1445
|
- spec/models/get_whats_app_groups200_response_summary_spec.rb
|
|
@@ -1669,6 +1684,9 @@ files:
|
|
|
1669
1684
|
- spec/models/update_whats_app_contact200_response_contact_spec.rb
|
|
1670
1685
|
- spec/models/update_whats_app_contact200_response_spec.rb
|
|
1671
1686
|
- spec/models/update_whats_app_contact_request_spec.rb
|
|
1687
|
+
- spec/models/update_whats_app_display_name200_response_display_name_spec.rb
|
|
1688
|
+
- spec/models/update_whats_app_display_name200_response_spec.rb
|
|
1689
|
+
- spec/models/update_whats_app_display_name_request_spec.rb
|
|
1672
1690
|
- spec/models/update_whats_app_template200_response_spec.rb
|
|
1673
1691
|
- spec/models/update_whats_app_template200_response_template_spec.rb
|
|
1674
1692
|
- spec/models/update_whats_app_template_request_spec.rb
|
|
@@ -1877,6 +1895,7 @@ test_files:
|
|
|
1877
1895
|
- spec/models/analytics_list_response_posts_inner_spec.rb
|
|
1878
1896
|
- spec/models/select_google_business_location200_response_spec.rb
|
|
1879
1897
|
- spec/models/connect_whats_app_credentials_request_spec.rb
|
|
1898
|
+
- spec/models/account_with_follower_stats_all_of_account_stats_spec.rb
|
|
1880
1899
|
- spec/models/update_webhook_settings200_response_spec.rb
|
|
1881
1900
|
- spec/models/food_menu_section_spec.rb
|
|
1882
1901
|
- spec/models/create_google_business_place_action200_response_spec.rb
|
|
@@ -2067,6 +2086,7 @@ test_files:
|
|
|
2067
2086
|
- spec/models/send_whats_app_bulk200_response_summary_spec.rb
|
|
2068
2087
|
- spec/models/expired_spec.rb
|
|
2069
2088
|
- spec/models/usage_stats_spec.rb
|
|
2089
|
+
- spec/models/get_whats_app_display_name200_response_display_name_spec.rb
|
|
2070
2090
|
- spec/models/list_inbox_conversations200_response_data_inner_instagram_profile_spec.rb
|
|
2071
2091
|
- spec/models/post_log_post_id_one_of_spec.rb
|
|
2072
2092
|
- spec/models/get_linked_in_post_reactions200_response_reactions_inner_from_spec.rb
|
|
@@ -2082,6 +2102,7 @@ test_files:
|
|
|
2082
2102
|
- spec/models/bulk_delete_whats_app_contacts200_response_spec.rb
|
|
2083
2103
|
- spec/models/webhook_payload_message_spec.rb
|
|
2084
2104
|
- spec/models/create_api_key201_response_spec.rb
|
|
2105
|
+
- spec/models/get_whats_app_display_name200_response_spec.rb
|
|
2085
2106
|
- spec/models/update_whats_app_template200_response_spec.rb
|
|
2086
2107
|
- spec/models/send_inbox_message_request_template_elements_inner_spec.rb
|
|
2087
2108
|
- spec/models/get_linked_in_post_reactions200_response_pagination_spec.rb
|
|
@@ -2122,6 +2143,7 @@ test_files:
|
|
|
2122
2143
|
- spec/models/get_google_business_attributes200_response_attributes_inner_repeated_enum_value_spec.rb
|
|
2123
2144
|
- spec/models/add_whats_app_broadcast_recipients200_response_spec.rb
|
|
2124
2145
|
- spec/models/get_you_tube_daily_views500_response_spec.rb
|
|
2146
|
+
- spec/models/update_whats_app_display_name200_response_spec.rb
|
|
2125
2147
|
- spec/models/list_snapchat_profiles200_response_spec.rb
|
|
2126
2148
|
- spec/models/purchase_whats_app_phone_number200_response_spec.rb
|
|
2127
2149
|
- spec/models/platform_target_spec.rb
|
|
@@ -2188,9 +2210,11 @@ test_files:
|
|
|
2188
2210
|
- spec/models/follower_stats_response_spec.rb
|
|
2189
2211
|
- spec/models/connected_spec.rb
|
|
2190
2212
|
- spec/models/account_get_response_spec.rb
|
|
2213
|
+
- spec/models/update_whats_app_display_name_request_spec.rb
|
|
2191
2214
|
- spec/models/reply_to_inbox_review_request_spec.rb
|
|
2192
2215
|
- spec/models/update_google_business_attributes_request_attributes_inner_spec.rb
|
|
2193
2216
|
- spec/models/list_facebook_pages200_response_pages_inner_spec.rb
|
|
2217
|
+
- spec/models/update_whats_app_display_name200_response_display_name_spec.rb
|
|
2194
2218
|
- spec/models/pinterest_platform_data_spec.rb
|
|
2195
2219
|
- spec/models/connection_log_context_spec.rb
|
|
2196
2220
|
- spec/models/initiate_telegram_connect_request_spec.rb
|