late-sdk 0.0.83 → 0.0.85

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +32 -0
  3. data/docs/AddWhatsAppGroupParticipantsRequest.md +18 -0
  4. data/docs/ApproveWhatsAppGroupJoinRequestsRequest.md +18 -0
  5. data/docs/CreateWhatsAppGroupChat201Response.md +20 -0
  6. data/docs/CreateWhatsAppGroupChat201ResponseGroup.md +20 -0
  7. data/docs/CreateWhatsAppGroupChatRequest.md +24 -0
  8. data/docs/CreateWhatsAppGroupInviteLink200Response.md +20 -0
  9. data/docs/GetWhatsAppGroupChat200Response.md +20 -0
  10. data/docs/GetWhatsAppGroupChat200ResponseGroup.md +32 -0
  11. data/docs/GetWhatsAppGroupChat200ResponseGroupParticipantsInner.md +20 -0
  12. data/docs/ListWhatsAppGroupChats200Response.md +20 -0
  13. data/docs/ListWhatsAppGroupChats200ResponseGroupsInner.md +22 -0
  14. data/docs/ListWhatsAppGroupChats200ResponsePaging.md +18 -0
  15. data/docs/ListWhatsAppGroupChats200ResponsePagingCursors.md +20 -0
  16. data/docs/ListWhatsAppGroupJoinRequests200Response.md +20 -0
  17. data/docs/ListWhatsAppGroupJoinRequests200ResponseJoinRequestsInner.md +20 -0
  18. data/docs/PostsApi.md +72 -0
  19. data/docs/RejectWhatsAppGroupJoinRequestsRequest.md +18 -0
  20. data/docs/RemoveWhatsAppGroupParticipantsRequest.md +18 -0
  21. data/docs/UpdatePostMetadata200Response.md +22 -0
  22. data/docs/UpdatePostMetadataRequest.md +28 -0
  23. data/docs/UpdateWhatsAppGroupChatRequest.md +22 -0
  24. data/docs/WhatsAppApi.md +958 -154
  25. data/lib/late-sdk/api/posts_api.rb +74 -0
  26. data/lib/late-sdk/api/whats_app_api.rb +945 -118
  27. data/lib/late-sdk/models/add_whats_app_group_participants_request.rb +176 -0
  28. data/lib/late-sdk/models/approve_whats_app_group_join_requests_request.rb +167 -0
  29. data/lib/late-sdk/models/create_whats_app_group_chat201_response.rb +156 -0
  30. data/lib/late-sdk/models/create_whats_app_group_chat201_response_group.rb +156 -0
  31. data/lib/late-sdk/models/create_whats_app_group_chat_request.rb +274 -0
  32. data/lib/late-sdk/models/create_whats_app_group_invite_link200_response.rb +156 -0
  33. data/lib/late-sdk/models/get_whats_app_group_chat200_response.rb +156 -0
  34. data/lib/late-sdk/models/get_whats_app_group_chat200_response_group.rb +213 -0
  35. data/lib/late-sdk/models/get_whats_app_group_chat200_response_group_participants_inner.rb +157 -0
  36. data/lib/late-sdk/models/list_whats_app_group_chats200_response.rb +158 -0
  37. data/lib/late-sdk/models/list_whats_app_group_chats200_response_groups_inner.rb +168 -0
  38. data/lib/late-sdk/models/list_whats_app_group_chats200_response_paging.rb +147 -0
  39. data/lib/late-sdk/models/list_whats_app_group_chats200_response_paging_cursors.rb +156 -0
  40. data/lib/late-sdk/models/list_whats_app_group_join_requests200_response.rb +158 -0
  41. data/lib/late-sdk/models/list_whats_app_group_join_requests200_response_join_requests_inner.rb +158 -0
  42. data/lib/late-sdk/models/reject_whats_app_group_join_requests_request.rb +167 -0
  43. data/lib/late-sdk/models/remove_whats_app_group_participants_request.rb +167 -0
  44. data/lib/late-sdk/models/update_post_metadata200_response.rb +167 -0
  45. data/lib/late-sdk/models/update_post_metadata_request.rb +272 -0
  46. data/lib/late-sdk/models/update_whats_app_group_chat_request.rb +237 -0
  47. data/lib/late-sdk/version.rb +1 -1
  48. data/lib/late-sdk.rb +20 -0
  49. data/openapi.yaml +448 -0
  50. data/spec/api/posts_api_spec.rb +13 -0
  51. data/spec/api/whats_app_api_spec.rb +148 -0
  52. data/spec/models/add_whats_app_group_participants_request_spec.rb +36 -0
  53. data/spec/models/approve_whats_app_group_join_requests_request_spec.rb +36 -0
  54. data/spec/models/create_whats_app_group_chat201_response_group_spec.rb +42 -0
  55. data/spec/models/create_whats_app_group_chat201_response_spec.rb +42 -0
  56. data/spec/models/create_whats_app_group_chat_request_spec.rb +58 -0
  57. data/spec/models/create_whats_app_group_invite_link200_response_spec.rb +42 -0
  58. data/spec/models/get_whats_app_group_chat200_response_group_participants_inner_spec.rb +42 -0
  59. data/spec/models/get_whats_app_group_chat200_response_group_spec.rb +78 -0
  60. data/spec/models/get_whats_app_group_chat200_response_spec.rb +42 -0
  61. data/spec/models/list_whats_app_group_chats200_response_groups_inner_spec.rb +48 -0
  62. data/spec/models/list_whats_app_group_chats200_response_paging_cursors_spec.rb +42 -0
  63. data/spec/models/list_whats_app_group_chats200_response_paging_spec.rb +36 -0
  64. data/spec/models/list_whats_app_group_chats200_response_spec.rb +42 -0
  65. data/spec/models/list_whats_app_group_join_requests200_response_join_requests_inner_spec.rb +42 -0
  66. data/spec/models/list_whats_app_group_join_requests200_response_spec.rb +42 -0
  67. data/spec/models/reject_whats_app_group_join_requests_request_spec.rb +36 -0
  68. data/spec/models/remove_whats_app_group_participants_request_spec.rb +36 -0
  69. data/spec/models/update_post_metadata200_response_spec.rb +48 -0
  70. data/spec/models/update_post_metadata_request_spec.rb +74 -0
  71. data/spec/models/update_whats_app_group_chat_request_spec.rb +52 -0
  72. data/zernio-sdk-0.0.85.gem +0 -0
  73. metadata +716 -636
  74. data/zernio-sdk-0.0.83.gem +0 -0
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
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::RejectWhatsAppGroupJoinRequestsRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::RejectWhatsAppGroupJoinRequestsRequest do
21
+ #let(:instance) { Late::RejectWhatsAppGroupJoinRequestsRequest.new }
22
+
23
+ describe 'test an instance of RejectWhatsAppGroupJoinRequestsRequest' do
24
+ it 'should create an instance of RejectWhatsAppGroupJoinRequestsRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::RejectWhatsAppGroupJoinRequestsRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "phone_numbers"' 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
@@ -0,0 +1,36 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
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::RemoveWhatsAppGroupParticipantsRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::RemoveWhatsAppGroupParticipantsRequest do
21
+ #let(:instance) { Late::RemoveWhatsAppGroupParticipantsRequest.new }
22
+
23
+ describe 'test an instance of RemoveWhatsAppGroupParticipantsRequest' do
24
+ it 'should create an instance of RemoveWhatsAppGroupParticipantsRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::RemoveWhatsAppGroupParticipantsRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "phone_numbers"' 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
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
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::UpdatePostMetadata200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::UpdatePostMetadata200Response do
21
+ #let(:instance) { Late::UpdatePostMetadata200Response.new }
22
+
23
+ describe 'test an instance of UpdatePostMetadata200Response' do
24
+ it 'should create an instance of UpdatePostMetadata200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::UpdatePostMetadata200Response)
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 "updated_fields"' 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,74 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
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::UpdatePostMetadataRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::UpdatePostMetadataRequest do
21
+ #let(:instance) { Late::UpdatePostMetadataRequest.new }
22
+
23
+ describe 'test an instance of UpdatePostMetadataRequest' do
24
+ it 'should create an instance of UpdatePostMetadataRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::UpdatePostMetadataRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "platform"' 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', ["youtube"])
34
+ # validator.allowable_values.each do |value|
35
+ # expect { instance.platform = value }.not_to raise_error
36
+ # end
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "title"' 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 "description"' 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 "tags"' 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 "category_id"' 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 "privacy_status"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
67
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["public", "private", "unlisted"])
68
+ # validator.allowable_values.each do |value|
69
+ # expect { instance.privacy_status = value }.not_to raise_error
70
+ # end
71
+ end
72
+ end
73
+
74
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.1
7
+ Contact: support@zernio.com
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::UpdateWhatsAppGroupChatRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Late::UpdateWhatsAppGroupChatRequest do
21
+ #let(:instance) { Late::UpdateWhatsAppGroupChatRequest.new }
22
+
23
+ describe 'test an instance of UpdateWhatsAppGroupChatRequest' do
24
+ it 'should create an instance of UpdateWhatsAppGroupChatRequest' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Late::UpdateWhatsAppGroupChatRequest)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "subject"' 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 "description"' 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 "join_approval_mode"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["approval_required", "auto_approve"])
46
+ # validator.allowable_values.each do |value|
47
+ # expect { instance.join_approval_mode = value }.not_to raise_error
48
+ # end
49
+ end
50
+ end
51
+
52
+ end
Binary file