late-sdk 0.0.43 → 0.0.44
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 +124 -0
- data/docs/AddWhatsAppBroadcastRecipients200Response.md +24 -0
- data/docs/AddWhatsAppBroadcastRecipientsRequest.md +18 -0
- data/docs/AddWhatsAppBroadcastRecipientsRequestRecipientsInner.md +22 -0
- data/docs/BulkDeleteWhatsAppContacts200Response.md +20 -0
- data/docs/BulkDeleteWhatsAppContactsRequest.md +18 -0
- data/docs/BulkUpdateWhatsAppContacts200Response.md +24 -0
- data/docs/BulkUpdateWhatsAppContactsRequest.md +24 -0
- data/docs/CancelWhatsAppBroadcastSchedule200Response.md +22 -0
- data/docs/CancelWhatsAppBroadcastSchedule200ResponseBroadcast.md +20 -0
- data/docs/CreateWhatsAppBroadcast200Response.md +20 -0
- data/docs/CreateWhatsAppBroadcast200ResponseBroadcast.md +30 -0
- data/docs/CreateWhatsAppBroadcastRequest.md +26 -0
- data/docs/CreateWhatsAppBroadcastRequestRecipientsInner.md +22 -0
- data/docs/CreateWhatsAppContact200Response.md +20 -0
- data/docs/CreateWhatsAppContact200ResponseContact.md +34 -0
- data/docs/CreateWhatsAppContactRequest.md +36 -0
- data/docs/CreateWhatsAppTemplate200Response.md +20 -0
- data/docs/CreateWhatsAppTemplate200ResponseTemplate.md +26 -0
- data/docs/CreateWhatsAppTemplateRequest.md +26 -0
- data/docs/DeleteWhatsAppGroupRequest.md +20 -0
- data/docs/GetPreverifiedWhatsAppNumbers200Response.md +20 -0
- data/docs/GetPreverifiedWhatsAppNumbers200ResponseNumbersInner.md +26 -0
- data/docs/GetWhatsAppBroadcast200Response.md +20 -0
- data/docs/GetWhatsAppBroadcast200ResponseBroadcast.md +46 -0
- data/docs/GetWhatsAppBroadcastRecipients200Response.md +24 -0
- data/docs/GetWhatsAppBroadcastRecipients200ResponseRecipientsInner.md +34 -0
- data/docs/GetWhatsAppBroadcastRecipients200ResponseSummary.md +28 -0
- data/docs/GetWhatsAppBroadcasts200Response.md +22 -0
- data/docs/GetWhatsAppBroadcasts200ResponseBroadcastsInner.md +44 -0
- data/docs/GetWhatsAppBroadcasts200ResponseBroadcastsInnerTemplate.md +20 -0
- data/docs/GetWhatsAppBusinessProfile200Response.md +20 -0
- data/docs/GetWhatsAppBusinessProfile200ResponseBusinessProfile.md +30 -0
- data/docs/GetWhatsAppContact200Response.md +20 -0
- data/docs/GetWhatsAppContact200ResponseContact.md +56 -0
- data/docs/GetWhatsAppContacts200Response.md +24 -0
- data/docs/GetWhatsAppContacts200ResponseContactsInner.md +48 -0
- data/docs/GetWhatsAppContacts200ResponseFilters.md +20 -0
- data/docs/GetWhatsAppContacts200ResponsePagination.md +24 -0
- data/docs/GetWhatsAppGroups200Response.md +22 -0
- data/docs/GetWhatsAppGroups200ResponseGroupsInner.md +22 -0
- data/docs/GetWhatsAppGroups200ResponseSummary.md +22 -0
- data/docs/GetWhatsAppPhoneNumber200Response.md +18 -0
- data/docs/GetWhatsAppPhoneNumber200ResponsePhoneNumber.md +30 -0
- data/docs/GetWhatsAppPhoneNumbers200Response.md +18 -0
- data/docs/GetWhatsAppPhoneNumbers200ResponseNumbersInner.md +34 -0
- data/docs/GetWhatsAppTemplate200Response.md +20 -0
- data/docs/GetWhatsAppTemplate200ResponseTemplate.md +28 -0
- data/docs/GetWhatsAppTemplates200Response.md +20 -0
- data/docs/GetWhatsAppTemplates200ResponseTemplatesInner.md +28 -0
- data/docs/ImportWhatsAppContacts200Response.md +22 -0
- data/docs/ImportWhatsAppContacts200ResponseResultsInner.md +26 -0
- data/docs/ImportWhatsAppContacts200ResponseSummary.md +24 -0
- data/docs/ImportWhatsAppContactsRequest.md +26 -0
- data/docs/ImportWhatsAppContactsRequestContactsInner.md +32 -0
- data/docs/PurchaseWhatsAppPhoneNumber200Response.md +49 -0
- data/docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf.md +20 -0
- data/docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf1.md +20 -0
- data/docs/PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber.md +30 -0
- data/docs/PurchaseWhatsAppPhoneNumberRequest.md +18 -0
- data/docs/ReleaseWhatsAppPhoneNumber200Response.md +20 -0
- data/docs/ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber.md +24 -0
- data/docs/RemoveWhatsAppBroadcastRecipients200Response.md +22 -0
- data/docs/RemoveWhatsAppBroadcastRecipientsRequest.md +18 -0
- data/docs/RenameWhatsAppGroup200Response.md +22 -0
- data/docs/RenameWhatsAppGroupRequest.md +22 -0
- data/docs/RequestWhatsAppVerificationCode200Response.md +20 -0
- data/docs/RequestWhatsAppVerificationCodeRequest.md +18 -0
- data/docs/ScheduleWhatsAppBroadcast200Response.md +20 -0
- data/docs/ScheduleWhatsAppBroadcast200ResponseBroadcast.md +22 -0
- data/docs/ScheduleWhatsAppBroadcastRequest.md +18 -0
- data/docs/SearchAvailableWhatsAppNumbers200Response.md +18 -0
- data/docs/SendWhatsAppBroadcast200Response.md +26 -0
- data/docs/SendWhatsAppBulk200Response.md +22 -0
- data/docs/SendWhatsAppBulk200ResponseResultsInner.md +24 -0
- data/docs/SendWhatsAppBulk200ResponseSummary.md +22 -0
- data/docs/SendWhatsAppBulkRequest.md +22 -0
- data/docs/SendWhatsAppBulkRequestRecipientsInner.md +20 -0
- data/docs/SendWhatsAppBulkRequestTemplate.md +22 -0
- data/docs/UpdateWhatsAppBusinessProfileRequest.md +32 -0
- data/docs/UpdateWhatsAppContact200Response.md +20 -0
- data/docs/UpdateWhatsAppContact200ResponseContact.md +40 -0
- data/docs/UpdateWhatsAppContactRequest.md +34 -0
- data/docs/UpdateWhatsAppTemplate200Response.md +20 -0
- data/docs/UpdateWhatsAppTemplate200ResponseTemplate.md +22 -0
- data/docs/UpdateWhatsAppTemplateRequest.md +20 -0
- data/docs/VerifyWhatsAppPhoneNumber200Response.md +22 -0
- data/docs/VerifyWhatsAppPhoneNumberRequest.md +18 -0
- data/docs/WhatsAppApi.md +2081 -0
- data/docs/WhatsAppPhoneNumbersApi.md +585 -0
- data/lib/late-sdk/api/whats_app_api.rb +2021 -0
- data/lib/late-sdk/api/whats_app_phone_numbers_api.rb +564 -0
- data/lib/late-sdk/models/add_whats_app_broadcast_recipients200_response.rb +177 -0
- data/lib/late-sdk/models/add_whats_app_broadcast_recipients_request.rb +176 -0
- data/lib/late-sdk/models/add_whats_app_broadcast_recipients_request_recipients_inner.rb +185 -0
- data/lib/late-sdk/models/bulk_delete_whats_app_contacts200_response.rb +157 -0
- data/lib/late-sdk/models/bulk_delete_whats_app_contacts_request.rb +176 -0
- data/lib/late-sdk/models/bulk_update_whats_app_contacts200_response.rb +176 -0
- data/lib/late-sdk/models/bulk_update_whats_app_contacts_request.rb +251 -0
- data/lib/late-sdk/models/cancel_whats_app_broadcast_schedule200_response.rb +165 -0
- data/lib/late-sdk/models/cancel_whats_app_broadcast_schedule200_response_broadcast.rb +157 -0
- data/lib/late-sdk/models/create_whats_app_broadcast200_response.rb +156 -0
- data/lib/late-sdk/models/create_whats_app_broadcast200_response_broadcast.rb +202 -0
- data/lib/late-sdk/models/create_whats_app_broadcast_request.rb +240 -0
- data/lib/late-sdk/models/create_whats_app_broadcast_request_recipients_inner.rb +186 -0
- data/lib/late-sdk/models/create_whats_app_contact200_response.rb +156 -0
- data/lib/late-sdk/models/create_whats_app_contact200_response_contact.rb +223 -0
- data/lib/late-sdk/models/create_whats_app_contact_request.rb +297 -0
- data/lib/late-sdk/models/create_whats_app_template200_response.rb +156 -0
- data/lib/late-sdk/models/create_whats_app_template200_response_template.rb +183 -0
- data/lib/late-sdk/models/create_whats_app_template_request.rb +310 -0
- data/lib/late-sdk/models/delete_whats_app_group_request.rb +192 -0
- data/lib/late-sdk/models/get_preverified_whats_app_numbers200_response.rb +161 -0
- data/lib/late-sdk/models/get_preverified_whats_app_numbers200_response_numbers_inner.rb +183 -0
- data/lib/late-sdk/models/get_whats_app_broadcast200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_broadcast200_response_broadcast.rb +307 -0
- data/lib/late-sdk/models/get_whats_app_broadcast_recipients200_response.rb +176 -0
- data/lib/late-sdk/models/get_whats_app_broadcast_recipients200_response_recipients_inner.rb +253 -0
- data/lib/late-sdk/models/get_whats_app_broadcast_recipients200_response_summary.rb +192 -0
- data/lib/late-sdk/models/get_whats_app_broadcasts200_response.rb +167 -0
- data/lib/late-sdk/models/get_whats_app_broadcasts200_response_broadcasts_inner.rb +298 -0
- data/lib/late-sdk/models/get_whats_app_broadcasts200_response_broadcasts_inner_template.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_business_profile200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_business_profile200_response_business_profile.rb +225 -0
- data/lib/late-sdk/models/get_whats_app_contact200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_contact200_response_contact.rb +322 -0
- data/lib/late-sdk/models/get_whats_app_contacts200_response.rb +176 -0
- data/lib/late-sdk/models/get_whats_app_contacts200_response_contacts_inner.rb +286 -0
- data/lib/late-sdk/models/get_whats_app_contacts200_response_filters.rb +160 -0
- data/lib/late-sdk/models/get_whats_app_contacts200_response_pagination.rb +174 -0
- data/lib/late-sdk/models/get_whats_app_groups200_response.rb +167 -0
- data/lib/late-sdk/models/get_whats_app_groups200_response_groups_inner.rb +167 -0
- data/lib/late-sdk/models/get_whats_app_groups200_response_summary.rb +165 -0
- data/lib/late-sdk/models/get_whats_app_phone_number200_response.rb +147 -0
- data/lib/late-sdk/models/get_whats_app_phone_number200_response_phone_number.rb +235 -0
- data/lib/late-sdk/models/get_whats_app_phone_numbers200_response.rb +149 -0
- data/lib/late-sdk/models/get_whats_app_phone_numbers200_response_numbers_inner.rb +253 -0
- data/lib/late-sdk/models/get_whats_app_template200_response.rb +156 -0
- data/lib/late-sdk/models/get_whats_app_template200_response_template.rb +194 -0
- data/lib/late-sdk/models/get_whats_app_templates200_response.rb +158 -0
- data/lib/late-sdk/models/get_whats_app_templates200_response_templates_inner.rb +241 -0
- data/lib/late-sdk/models/import_whats_app_contacts200_response.rb +167 -0
- data/lib/late-sdk/models/import_whats_app_contacts200_response_results_inner.rb +183 -0
- data/lib/late-sdk/models/import_whats_app_contacts200_response_summary.rb +174 -0
- data/lib/late-sdk/models/import_whats_app_contacts_request.rb +239 -0
- data/lib/late-sdk/models/import_whats_app_contacts_request_contacts_inner.rb +252 -0
- data/lib/late-sdk/models/purchase_whats_app_phone_number200_response.rb +104 -0
- data/lib/late-sdk/models/purchase_whats_app_phone_number200_response_one_of.rb +157 -0
- data/lib/late-sdk/models/purchase_whats_app_phone_number200_response_one_of1.rb +157 -0
- data/lib/late-sdk/models/purchase_whats_app_phone_number200_response_one_of1_phone_number.rb +201 -0
- data/lib/late-sdk/models/purchase_whats_app_phone_number_request.rb +165 -0
- data/lib/late-sdk/models/release_whats_app_phone_number200_response.rb +156 -0
- data/lib/late-sdk/models/release_whats_app_phone_number200_response_phone_number.rb +175 -0
- data/lib/late-sdk/models/remove_whats_app_broadcast_recipients200_response.rb +167 -0
- data/lib/late-sdk/models/remove_whats_app_broadcast_recipients_request.rb +167 -0
- data/lib/late-sdk/models/rename_whats_app_group200_response.rb +166 -0
- data/lib/late-sdk/models/rename_whats_app_group_request.rb +219 -0
- data/lib/late-sdk/models/request_whats_app_verification_code200_response.rb +190 -0
- data/lib/late-sdk/models/request_whats_app_verification_code_request.rb +184 -0
- data/lib/late-sdk/models/schedule_whats_app_broadcast200_response.rb +156 -0
- data/lib/late-sdk/models/schedule_whats_app_broadcast200_response_broadcast.rb +166 -0
- data/lib/late-sdk/models/schedule_whats_app_broadcast_request.rb +165 -0
- data/lib/late-sdk/models/search_available_whats_app_numbers200_response.rb +149 -0
- data/lib/late-sdk/models/send_whats_app_broadcast200_response.rb +221 -0
- data/lib/late-sdk/models/send_whats_app_bulk200_response.rb +167 -0
- data/lib/late-sdk/models/send_whats_app_bulk200_response_results_inner.rb +174 -0
- data/lib/late-sdk/models/send_whats_app_bulk200_response_summary.rb +165 -0
- data/lib/late-sdk/models/send_whats_app_bulk_request.rb +229 -0
- data/lib/late-sdk/models/send_whats_app_bulk_request_recipients_inner.rb +177 -0
- data/lib/late-sdk/models/send_whats_app_bulk_request_template.rb +204 -0
- data/lib/late-sdk/models/update_whats_app_business_profile_request.rb +294 -0
- data/lib/late-sdk/models/update_whats_app_contact200_response.rb +156 -0
- data/lib/late-sdk/models/update_whats_app_contact200_response_contact.rb +250 -0
- data/lib/late-sdk/models/update_whats_app_contact_request.rb +234 -0
- data/lib/late-sdk/models/update_whats_app_template200_response.rb +156 -0
- data/lib/late-sdk/models/update_whats_app_template200_response_template.rb +165 -0
- data/lib/late-sdk/models/update_whats_app_template_request.rb +194 -0
- data/lib/late-sdk/models/verify_whats_app_phone_number200_response.rb +165 -0
- data/lib/late-sdk/models/verify_whats_app_phone_number_request.rb +165 -0
- data/lib/late-sdk/version.rb +1 -1
- data/lib/late-sdk.rb +89 -0
- data/openapi.yaml +2144 -0
- data/spec/api/whats_app_api_spec.rb +402 -0
- data/spec/api/whats_app_phone_numbers_api_spec.rb +137 -0
- data/spec/models/add_whats_app_broadcast_recipients200_response_spec.rb +54 -0
- data/spec/models/add_whats_app_broadcast_recipients_request_recipients_inner_spec.rb +48 -0
- data/spec/models/add_whats_app_broadcast_recipients_request_spec.rb +36 -0
- data/spec/models/bulk_delete_whats_app_contacts200_response_spec.rb +42 -0
- data/spec/models/bulk_delete_whats_app_contacts_request_spec.rb +36 -0
- data/spec/models/bulk_update_whats_app_contacts200_response_spec.rb +54 -0
- data/spec/models/bulk_update_whats_app_contacts_request_spec.rb +58 -0
- data/spec/models/cancel_whats_app_broadcast_schedule200_response_broadcast_spec.rb +42 -0
- data/spec/models/cancel_whats_app_broadcast_schedule200_response_spec.rb +48 -0
- data/spec/models/create_whats_app_broadcast200_response_broadcast_spec.rb +72 -0
- data/spec/models/create_whats_app_broadcast200_response_spec.rb +42 -0
- data/spec/models/create_whats_app_broadcast_request_recipients_inner_spec.rb +48 -0
- data/spec/models/create_whats_app_broadcast_request_spec.rb +60 -0
- data/spec/models/create_whats_app_contact200_response_contact_spec.rb +84 -0
- data/spec/models/create_whats_app_contact200_response_spec.rb +42 -0
- data/spec/models/create_whats_app_contact_request_spec.rb +90 -0
- data/spec/models/create_whats_app_template200_response_spec.rb +42 -0
- data/spec/models/create_whats_app_template200_response_template_spec.rb +60 -0
- data/spec/models/create_whats_app_template_request_spec.rb +64 -0
- data/spec/models/delete_whats_app_group_request_spec.rb +42 -0
- data/spec/models/get_preverified_whats_app_numbers200_response_numbers_inner_spec.rb +60 -0
- data/spec/models/get_preverified_whats_app_numbers200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_broadcast200_response_broadcast_spec.rb +124 -0
- data/spec/models/get_whats_app_broadcast200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_broadcast_recipients200_response_recipients_inner_spec.rb +88 -0
- data/spec/models/get_whats_app_broadcast_recipients200_response_spec.rb +54 -0
- data/spec/models/get_whats_app_broadcast_recipients200_response_summary_spec.rb +66 -0
- data/spec/models/get_whats_app_broadcasts200_response_broadcasts_inner_spec.rb +118 -0
- data/spec/models/get_whats_app_broadcasts200_response_broadcasts_inner_template_spec.rb +42 -0
- data/spec/models/get_whats_app_broadcasts200_response_spec.rb +48 -0
- data/spec/models/get_whats_app_business_profile200_response_business_profile_spec.rb +72 -0
- data/spec/models/get_whats_app_business_profile200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_contact200_response_contact_spec.rb +150 -0
- data/spec/models/get_whats_app_contact200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_contacts200_response_contacts_inner_spec.rb +126 -0
- data/spec/models/get_whats_app_contacts200_response_filters_spec.rb +42 -0
- data/spec/models/get_whats_app_contacts200_response_pagination_spec.rb +54 -0
- data/spec/models/get_whats_app_contacts200_response_spec.rb +54 -0
- data/spec/models/get_whats_app_groups200_response_groups_inner_spec.rb +48 -0
- data/spec/models/get_whats_app_groups200_response_spec.rb +48 -0
- data/spec/models/get_whats_app_groups200_response_summary_spec.rb +48 -0
- data/spec/models/get_whats_app_phone_number200_response_phone_number_spec.rb +76 -0
- data/spec/models/get_whats_app_phone_number200_response_spec.rb +36 -0
- data/spec/models/get_whats_app_phone_numbers200_response_numbers_inner_spec.rb +88 -0
- data/spec/models/get_whats_app_phone_numbers200_response_spec.rb +36 -0
- data/spec/models/get_whats_app_template200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_template200_response_template_spec.rb +66 -0
- data/spec/models/get_whats_app_templates200_response_spec.rb +42 -0
- data/spec/models/get_whats_app_templates200_response_templates_inner_spec.rb +74 -0
- data/spec/models/import_whats_app_contacts200_response_results_inner_spec.rb +60 -0
- data/spec/models/import_whats_app_contacts200_response_spec.rb +48 -0
- data/spec/models/import_whats_app_contacts200_response_summary_spec.rb +54 -0
- data/spec/models/import_whats_app_contacts_request_contacts_inner_spec.rb +78 -0
- data/spec/models/import_whats_app_contacts_request_spec.rb +60 -0
- data/spec/models/purchase_whats_app_phone_number200_response_one_of1_phone_number_spec.rb +72 -0
- data/spec/models/purchase_whats_app_phone_number200_response_one_of1_spec.rb +42 -0
- data/spec/models/purchase_whats_app_phone_number200_response_one_of_spec.rb +42 -0
- data/spec/models/purchase_whats_app_phone_number200_response_spec.rb +32 -0
- data/spec/models/purchase_whats_app_phone_number_request_spec.rb +36 -0
- data/spec/models/release_whats_app_phone_number200_response_phone_number_spec.rb +54 -0
- data/spec/models/release_whats_app_phone_number200_response_spec.rb +42 -0
- data/spec/models/remove_whats_app_broadcast_recipients200_response_spec.rb +48 -0
- data/spec/models/remove_whats_app_broadcast_recipients_request_spec.rb +36 -0
- data/spec/models/rename_whats_app_group200_response_spec.rb +48 -0
- data/spec/models/rename_whats_app_group_request_spec.rb +48 -0
- data/spec/models/request_whats_app_verification_code200_response_spec.rb +46 -0
- data/spec/models/request_whats_app_verification_code_request_spec.rb +40 -0
- data/spec/models/schedule_whats_app_broadcast200_response_broadcast_spec.rb +48 -0
- data/spec/models/schedule_whats_app_broadcast200_response_spec.rb +42 -0
- data/spec/models/schedule_whats_app_broadcast_request_spec.rb +36 -0
- data/spec/models/search_available_whats_app_numbers200_response_spec.rb +36 -0
- data/spec/models/send_whats_app_broadcast200_response_spec.rb +64 -0
- data/spec/models/send_whats_app_bulk200_response_results_inner_spec.rb +54 -0
- data/spec/models/send_whats_app_bulk200_response_spec.rb +48 -0
- data/spec/models/send_whats_app_bulk200_response_summary_spec.rb +48 -0
- data/spec/models/send_whats_app_bulk_request_recipients_inner_spec.rb +42 -0
- data/spec/models/send_whats_app_bulk_request_spec.rb +48 -0
- data/spec/models/send_whats_app_bulk_request_template_spec.rb +48 -0
- data/spec/models/update_whats_app_business_profile_request_spec.rb +78 -0
- data/spec/models/update_whats_app_contact200_response_contact_spec.rb +102 -0
- data/spec/models/update_whats_app_contact200_response_spec.rb +42 -0
- data/spec/models/update_whats_app_contact_request_spec.rb +84 -0
- data/spec/models/update_whats_app_template200_response_spec.rb +42 -0
- data/spec/models/update_whats_app_template200_response_template_spec.rb +48 -0
- data/spec/models/update_whats_app_template_request_spec.rb +42 -0
- data/spec/models/verify_whats_app_phone_number200_response_spec.rb +48 -0
- data/spec/models/verify_whats_app_phone_number_request_spec.rb +36 -0
- metadata +357 -1
|
@@ -0,0 +1,90 @@
|
|
|
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::CreateWhatsAppContactRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateWhatsAppContactRequest do
|
|
21
|
+
#let(:instance) { Late::CreateWhatsAppContactRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateWhatsAppContactRequest' do
|
|
24
|
+
it 'should create an instance of CreateWhatsAppContactRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateWhatsAppContactRequest)
|
|
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 "phone"' 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 "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
|
+
describe 'test attribute "email"' 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
|
+
describe 'test attribute "company"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
describe 'test attribute "tags"' do
|
|
61
|
+
it 'should work' do
|
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
describe 'test attribute "groups"' do
|
|
67
|
+
it 'should work' do
|
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
69
|
+
end
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
describe 'test attribute "is_opted_in"' do
|
|
73
|
+
it 'should work' do
|
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
describe 'test attribute "custom_fields"' do
|
|
79
|
+
it 'should work' do
|
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
describe 'test attribute "notes"' do
|
|
85
|
+
it 'should work' do
|
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
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::CreateWhatsAppTemplate200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateWhatsAppTemplate200Response do
|
|
21
|
+
#let(:instance) { Late::CreateWhatsAppTemplate200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateWhatsAppTemplate200Response' do
|
|
24
|
+
it 'should create an instance of CreateWhatsAppTemplate200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateWhatsAppTemplate200Response)
|
|
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 "template"' 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,60 @@
|
|
|
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::CreateWhatsAppTemplate200ResponseTemplate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateWhatsAppTemplate200ResponseTemplate do
|
|
21
|
+
#let(:instance) { Late::CreateWhatsAppTemplate200ResponseTemplate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateWhatsAppTemplate200ResponseTemplate' do
|
|
24
|
+
it 'should create an instance of CreateWhatsAppTemplate200ResponseTemplate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateWhatsAppTemplate200ResponseTemplate)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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 "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
|
+
describe 'test attribute "status"' 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 "category"' 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
|
+
describe 'test attribute "language"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
end
|
|
@@ -0,0 +1,64 @@
|
|
|
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::CreateWhatsAppTemplateRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::CreateWhatsAppTemplateRequest do
|
|
21
|
+
#let(:instance) { Late::CreateWhatsAppTemplateRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of CreateWhatsAppTemplateRequest' do
|
|
24
|
+
it 'should create an instance of CreateWhatsAppTemplateRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::CreateWhatsAppTemplateRequest)
|
|
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 "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
|
+
describe 'test attribute "category"' 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', ["AUTHENTICATION", "MARKETING", "UTILITY"])
|
|
46
|
+
# validator.allowable_values.each do |value|
|
|
47
|
+
# expect { instance.category = value }.not_to raise_error
|
|
48
|
+
# end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "language"' 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 "components"' 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
|
+
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::DeleteWhatsAppGroupRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::DeleteWhatsAppGroupRequest do
|
|
21
|
+
#let(:instance) { Late::DeleteWhatsAppGroupRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of DeleteWhatsAppGroupRequest' do
|
|
24
|
+
it 'should create an instance of DeleteWhatsAppGroupRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::DeleteWhatsAppGroupRequest)
|
|
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 "group_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,60 @@
|
|
|
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::GetPreverifiedWhatsAppNumbers200ResponseNumbersInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetPreverifiedWhatsAppNumbers200ResponseNumbersInner do
|
|
21
|
+
#let(:instance) { Late::GetPreverifiedWhatsAppNumbers200ResponseNumbersInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetPreverifiedWhatsAppNumbers200ResponseNumbersInner' do
|
|
24
|
+
it 'should create an instance of GetPreverifiedWhatsAppNumbers200ResponseNumbersInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetPreverifiedWhatsAppNumbers200ResponseNumbersInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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 "phone_number"' 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 "meta_preverified_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 "meta_verified_at"' 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
|
+
describe 'test attribute "meta_verification_expires_at"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
end
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
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::GetPreverifiedWhatsAppNumbers200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetPreverifiedWhatsAppNumbers200Response do
|
|
21
|
+
#let(:instance) { Late::GetPreverifiedWhatsAppNumbers200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetPreverifiedWhatsAppNumbers200Response' do
|
|
24
|
+
it 'should create an instance of GetPreverifiedWhatsAppNumbers200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetPreverifiedWhatsAppNumbers200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "pre_verified_ids"' 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 "numbers"' 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,124 @@
|
|
|
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::GetWhatsAppBroadcast200ResponseBroadcast
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppBroadcast200ResponseBroadcast do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppBroadcast200ResponseBroadcast.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppBroadcast200ResponseBroadcast' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppBroadcast200ResponseBroadcast' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppBroadcast200ResponseBroadcast)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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 "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
|
+
describe 'test attribute "description"' 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 "template"' 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
|
+
describe 'test attribute "status"' do
|
|
55
|
+
it 'should work' do
|
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
57
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["draft", "scheduled", "sending", "completed", "failed", "cancelled"])
|
|
58
|
+
# validator.allowable_values.each do |value|
|
|
59
|
+
# expect { instance.status = value }.not_to raise_error
|
|
60
|
+
# end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
|
|
64
|
+
describe 'test attribute "recipient_count"' 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 "scheduled_at"' 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 "started_at"' 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
|
+
describe 'test attribute "completed_at"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
describe 'test attribute "sent_count"' do
|
|
89
|
+
it 'should work' do
|
|
90
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
describe 'test attribute "delivered_count"' do
|
|
95
|
+
it 'should work' do
|
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
describe 'test attribute "read_count"' do
|
|
101
|
+
it 'should work' do
|
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
describe 'test attribute "failed_count"' do
|
|
107
|
+
it 'should work' do
|
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
109
|
+
end
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
describe 'test attribute "created_at"' do
|
|
113
|
+
it 'should work' do
|
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
115
|
+
end
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
describe 'test attribute "updated_at"' do
|
|
119
|
+
it 'should work' do
|
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
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::GetWhatsAppBroadcast200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppBroadcast200Response do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppBroadcast200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppBroadcast200Response' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppBroadcast200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppBroadcast200Response)
|
|
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 "broadcast"' 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,88 @@
|
|
|
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::GetWhatsAppBroadcastRecipients200ResponseRecipientsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppBroadcastRecipients200ResponseRecipientsInner do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppBroadcastRecipients200ResponseRecipientsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppBroadcastRecipients200ResponseRecipientsInner' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppBroadcastRecipients200ResponseRecipientsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppBroadcastRecipients200ResponseRecipientsInner)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "phone"' 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 "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
|
+
describe 'test attribute "variables"' 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 "status"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pending", "sent", "delivered", "read", "failed"])
|
|
52
|
+
# validator.allowable_values.each do |value|
|
|
53
|
+
# expect { instance.status = value }.not_to raise_error
|
|
54
|
+
# end
|
|
55
|
+
end
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
describe 'test attribute "message_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 "error"' 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 "sent_at"' 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 "delivered_at"' 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
|
+
describe 'test attribute "read_at"' do
|
|
83
|
+
it 'should work' do
|
|
84
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
end
|