late-sdk 0.0.46 → 0.0.48

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -0
  3. data/docs/ConnectApi.md +70 -0
  4. data/docs/ConnectWhatsAppCredentials200Response.md +20 -0
  5. data/docs/ConnectWhatsAppCredentials200ResponseAccount.md +32 -0
  6. data/docs/ConnectWhatsAppCredentialsRequest.md +24 -0
  7. data/docs/CreateWhatsAppTemplate200ResponseTemplate.md +1 -1
  8. data/docs/CreateWhatsAppTemplateRequest.md +8 -2
  9. data/docs/CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner.md +22 -0
  10. data/docs/CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl.md +18 -0
  11. data/docs/WhatsAppApi.md +2 -2
  12. data/lib/late-sdk/api/connect_api.rb +68 -0
  13. data/lib/late-sdk/api/whats_app_api.rb +2 -2
  14. data/lib/late-sdk/models/connect_whats_app_credentials200_response.rb +156 -0
  15. data/lib/late-sdk/models/connect_whats_app_credentials200_response_account.rb +247 -0
  16. data/lib/late-sdk/models/connect_whats_app_credentials_request.rb +246 -0
  17. data/lib/late-sdk/models/create_whats_app_template200_response_template.rb +1 -0
  18. data/lib/late-sdk/models/create_whats_app_template_request.rb +37 -22
  19. data/lib/late-sdk/models/create_whats_app_template_request_library_template_button_inputs_inner.rb +199 -0
  20. data/lib/late-sdk/models/create_whats_app_template_request_library_template_button_inputs_inner_url.rb +147 -0
  21. data/lib/late-sdk/version.rb +1 -1
  22. data/lib/late-sdk.rb +5 -0
  23. data/openapi.yaml +149 -14
  24. data/spec/api/connect_api_spec.rb +12 -0
  25. data/spec/api/whats_app_api_spec.rb +1 -1
  26. data/spec/models/connect_whats_app_credentials200_response_account_spec.rb +82 -0
  27. data/spec/models/connect_whats_app_credentials200_response_spec.rb +42 -0
  28. data/spec/models/connect_whats_app_credentials_request_spec.rb +54 -0
  29. data/spec/models/create_whats_app_template_request_library_template_button_inputs_inner_spec.rb +52 -0
  30. data/spec/models/create_whats_app_template_request_library_template_button_inputs_inner_url_spec.rb +36 -0
  31. data/spec/models/create_whats_app_template_request_spec.rb +18 -0
  32. metadata +22 -2
@@ -0,0 +1,82 @@
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::ConnectWhatsAppCredentials200ResponseAccount
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::ConnectWhatsAppCredentials200ResponseAccount do
21
+ #let(:instance) { Late::ConnectWhatsAppCredentials200ResponseAccount.new }
22
+
23
+ describe 'test an instance of ConnectWhatsAppCredentials200ResponseAccount' do
24
+ it 'should create an instance of ConnectWhatsAppCredentials200ResponseAccount' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::ConnectWhatsAppCredentials200ResponseAccount)
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 "platform"' 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', ["whatsapp"])
40
+ # validator.allowable_values.each do |value|
41
+ # expect { instance.platform = value }.not_to raise_error
42
+ # end
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "username"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "display_name"' 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
+
58
+ describe 'test attribute "is_active"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "phone_number"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "verified_name"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "quality_rating"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
82
+ 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::ConnectWhatsAppCredentials200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::ConnectWhatsAppCredentials200Response do
21
+ #let(:instance) { Late::ConnectWhatsAppCredentials200Response.new }
22
+
23
+ describe 'test an instance of ConnectWhatsAppCredentials200Response' do
24
+ it 'should create an instance of ConnectWhatsAppCredentials200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::ConnectWhatsAppCredentials200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "message"' 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 "account"' 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,54 @@
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::ConnectWhatsAppCredentialsRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::ConnectWhatsAppCredentialsRequest do
21
+ #let(:instance) { Late::ConnectWhatsAppCredentialsRequest.new }
22
+
23
+ describe 'test an instance of ConnectWhatsAppCredentialsRequest' do
24
+ it 'should create an instance of ConnectWhatsAppCredentialsRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::ConnectWhatsAppCredentialsRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "profile_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 "access_token"' 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 "waba_id"' 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
+ describe 'test attribute "phone_number_id"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -0,0 +1,52 @@
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::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner do
21
+ #let(:instance) { Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner.new }
22
+
23
+ describe 'test an instance of CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner' do
24
+ it 'should create an instance of CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "type"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["QUICK_REPLY", "URL", "PHONE_NUMBER"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.type = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "url"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "phone_number"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
49
+ end
50
+ end
51
+
52
+ end
@@ -0,0 +1,36 @@
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::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl do
21
+ #let(:instance) { Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl.new }
22
+
23
+ describe 'test an instance of CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl' do
24
+ it 'should create an instance of CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "base_url"' 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
+ end
@@ -61,4 +61,22 @@ describe Late::CreateWhatsAppTemplateRequest do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "library_template_name"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "library_template_body_inputs"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "library_template_button_inputs"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
79
+ end
80
+ end
81
+
64
82
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.46
4
+ version: 0.0.48
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-11 00:00:00.000000000 Z
11
+ date: 2026-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -100,6 +100,9 @@ files:
100
100
  - docs/ConnectApi.md
101
101
  - docs/ConnectBlueskyCredentials200Response.md
102
102
  - docs/ConnectBlueskyCredentialsRequest.md
103
+ - docs/ConnectWhatsAppCredentials200Response.md
104
+ - docs/ConnectWhatsAppCredentials200ResponseAccount.md
105
+ - docs/ConnectWhatsAppCredentialsRequest.md
103
106
  - docs/Connected.md
104
107
  - docs/ConnectedAccount.md
105
108
  - docs/ConnectionLog.md
@@ -137,6 +140,8 @@ files:
137
140
  - docs/CreateWhatsAppTemplate200Response.md
138
141
  - docs/CreateWhatsAppTemplate200ResponseTemplate.md
139
142
  - docs/CreateWhatsAppTemplateRequest.md
143
+ - docs/CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInner.md
144
+ - docs/CreateWhatsAppTemplateRequestLibraryTemplateButtonInputsInnerUrl.md
140
145
  - docs/DeleteAccountGroup200Response.md
141
146
  - docs/DeleteGoogleBusinessMedia200Response.md
142
147
  - docs/DeleteGoogleBusinessPlaceAction200Response.md
@@ -677,6 +682,9 @@ files:
677
682
  - lib/late-sdk/models/complete_telegram_connect200_response.rb
678
683
  - lib/late-sdk/models/connect_bluesky_credentials200_response.rb
679
684
  - lib/late-sdk/models/connect_bluesky_credentials_request.rb
685
+ - lib/late-sdk/models/connect_whats_app_credentials200_response.rb
686
+ - lib/late-sdk/models/connect_whats_app_credentials200_response_account.rb
687
+ - lib/late-sdk/models/connect_whats_app_credentials_request.rb
680
688
  - lib/late-sdk/models/connected.rb
681
689
  - lib/late-sdk/models/connected_account.rb
682
690
  - lib/late-sdk/models/connection_log.rb
@@ -714,6 +722,8 @@ files:
714
722
  - lib/late-sdk/models/create_whats_app_template200_response.rb
715
723
  - lib/late-sdk/models/create_whats_app_template200_response_template.rb
716
724
  - lib/late-sdk/models/create_whats_app_template_request.rb
725
+ - lib/late-sdk/models/create_whats_app_template_request_library_template_button_inputs_inner.rb
726
+ - lib/late-sdk/models/create_whats_app_template_request_library_template_button_inputs_inner_url.rb
717
727
  - lib/late-sdk/models/delete_account_group200_response.rb
718
728
  - lib/late-sdk/models/delete_google_business_media200_response.rb
719
729
  - lib/late-sdk/models/delete_google_business_place_action200_response.rb
@@ -1227,6 +1237,9 @@ files:
1227
1237
  - spec/models/complete_telegram_connect200_response_spec.rb
1228
1238
  - spec/models/connect_bluesky_credentials200_response_spec.rb
1229
1239
  - spec/models/connect_bluesky_credentials_request_spec.rb
1240
+ - spec/models/connect_whats_app_credentials200_response_account_spec.rb
1241
+ - spec/models/connect_whats_app_credentials200_response_spec.rb
1242
+ - spec/models/connect_whats_app_credentials_request_spec.rb
1230
1243
  - spec/models/connected_account_spec.rb
1231
1244
  - spec/models/connected_spec.rb
1232
1245
  - spec/models/connection_log_context_spec.rb
@@ -1263,6 +1276,8 @@ files:
1263
1276
  - spec/models/create_whats_app_contact_request_spec.rb
1264
1277
  - spec/models/create_whats_app_template200_response_spec.rb
1265
1278
  - spec/models/create_whats_app_template200_response_template_spec.rb
1279
+ - spec/models/create_whats_app_template_request_library_template_button_inputs_inner_spec.rb
1280
+ - spec/models/create_whats_app_template_request_library_template_button_inputs_inner_url_spec.rb
1266
1281
  - spec/models/create_whats_app_template_request_spec.rb
1267
1282
  - spec/models/delete_account_group200_response_spec.rb
1268
1283
  - spec/models/delete_google_business_media200_response_spec.rb
@@ -1807,6 +1822,7 @@ test_files:
1807
1822
  - spec/models/post_user_id_spec.rb
1808
1823
  - spec/models/validate_media200_response_spec.rb
1809
1824
  - spec/models/posts_list_response_spec.rb
1825
+ - spec/models/connect_whats_app_credentials200_response_account_spec.rb
1810
1826
  - spec/models/get_post_timeline200_response_spec.rb
1811
1827
  - spec/models/update_google_business_food_menus200_response_spec.rb
1812
1828
  - spec/models/twitter_platform_data_spec.rb
@@ -1860,6 +1876,7 @@ test_files:
1860
1876
  - spec/models/list_account_groups200_response_groups_inner_spec.rb
1861
1877
  - spec/models/analytics_list_response_posts_inner_spec.rb
1862
1878
  - spec/models/select_google_business_location200_response_spec.rb
1879
+ - spec/models/connect_whats_app_credentials_request_spec.rb
1863
1880
  - spec/models/update_webhook_settings200_response_spec.rb
1864
1881
  - spec/models/food_menu_section_spec.rb
1865
1882
  - spec/models/create_google_business_place_action200_response_spec.rb
@@ -2045,6 +2062,7 @@ test_files:
2045
2062
  - spec/models/delete_whats_app_group_request_spec.rb
2046
2063
  - spec/models/get_linked_in_aggregate_analytics403_response_spec.rb
2047
2064
  - spec/models/webhook_payload_post_post_platforms_inner_spec.rb
2065
+ - spec/models/connect_whats_app_credentials200_response_spec.rb
2048
2066
  - spec/models/send_whats_app_bulk200_response_spec.rb
2049
2067
  - spec/models/send_whats_app_bulk200_response_summary_spec.rb
2050
2068
  - spec/models/expired_spec.rb
@@ -2123,6 +2141,7 @@ test_files:
2123
2141
  - spec/models/get_inbox_post_comments200_response_spec.rb
2124
2142
  - spec/models/platform_analytics_account_metrics_spec.rb
2125
2143
  - spec/models/validate_post_request_platforms_inner_custom_media_inner_spec.rb
2144
+ - spec/models/create_whats_app_template_request_library_template_button_inputs_inner_url_spec.rb
2126
2145
  - spec/models/create_whats_app_contact_request_spec.rb
2127
2146
  - spec/models/set_messenger_menu_request_spec.rb
2128
2147
  - spec/models/validate_post_length200_response_spec.rb
@@ -2201,6 +2220,7 @@ test_files:
2201
2220
  - spec/models/create_webhook_settings_request_spec.rb
2202
2221
  - spec/models/purchase_whats_app_phone_number200_response_one_of1_phone_number_spec.rb
2203
2222
  - spec/models/update_linked_in_organization_request_spec.rb
2223
+ - spec/models/create_whats_app_template_request_library_template_button_inputs_inner_spec.rb
2204
2224
  - spec/models/get_linked_in_post_reactions200_response_reactions_inner_spec.rb
2205
2225
  - spec/models/usage_stats_limits_spec.rb
2206
2226
  - spec/models/list_users200_response_spec.rb