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,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::PurchaseWhatsAppPhoneNumber200ResponseOneOf
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf do
|
|
21
|
+
#let(:instance) { Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf)
|
|
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 "checkout_url"' 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,32 @@
|
|
|
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::PurchaseWhatsAppPhoneNumber200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::PurchaseWhatsAppPhoneNumber200Response do
|
|
21
|
+
describe '.openapi_one_of' do
|
|
22
|
+
it 'lists the items referenced in the oneOf array' do
|
|
23
|
+
expect(described_class.openapi_one_of).to_not be_empty
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
describe '.build' do
|
|
28
|
+
it 'returns the correct model' do
|
|
29
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
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::PurchaseWhatsAppPhoneNumberRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::PurchaseWhatsAppPhoneNumberRequest do
|
|
21
|
+
#let(:instance) { Late::PurchaseWhatsAppPhoneNumberRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumberRequest' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumberRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::PurchaseWhatsAppPhoneNumberRequest)
|
|
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
|
+
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::ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber do
|
|
21
|
+
#let(:instance) { Late::ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber' do
|
|
24
|
+
it 'should create an instance of ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ReleaseWhatsAppPhoneNumber200ResponsePhoneNumber)
|
|
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 "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 "released_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
|
+
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::ReleaseWhatsAppPhoneNumber200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ReleaseWhatsAppPhoneNumber200Response do
|
|
21
|
+
#let(:instance) { Late::ReleaseWhatsAppPhoneNumber200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ReleaseWhatsAppPhoneNumber200Response' do
|
|
24
|
+
it 'should create an instance of ReleaseWhatsAppPhoneNumber200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ReleaseWhatsAppPhoneNumber200Response)
|
|
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 "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
|
+
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::RemoveWhatsAppBroadcastRecipients200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::RemoveWhatsAppBroadcastRecipients200Response do
|
|
21
|
+
#let(:instance) { Late::RemoveWhatsAppBroadcastRecipients200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RemoveWhatsAppBroadcastRecipients200Response' do
|
|
24
|
+
it 'should create an instance of RemoveWhatsAppBroadcastRecipients200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::RemoveWhatsAppBroadcastRecipients200Response)
|
|
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 "removed"' 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 "total_recipients"' 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,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::RemoveWhatsAppBroadcastRecipientsRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::RemoveWhatsAppBroadcastRecipientsRequest do
|
|
21
|
+
#let(:instance) { Late::RemoveWhatsAppBroadcastRecipientsRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RemoveWhatsAppBroadcastRecipientsRequest' do
|
|
24
|
+
it 'should create an instance of RemoveWhatsAppBroadcastRecipientsRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::RemoveWhatsAppBroadcastRecipientsRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "phones"' 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
|
+
#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::RenameWhatsAppGroup200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::RenameWhatsAppGroup200Response do
|
|
21
|
+
#let(:instance) { Late::RenameWhatsAppGroup200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RenameWhatsAppGroup200Response' do
|
|
24
|
+
it 'should create an instance of RenameWhatsAppGroup200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::RenameWhatsAppGroup200Response)
|
|
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 "modified"' 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,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::RenameWhatsAppGroupRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::RenameWhatsAppGroupRequest do
|
|
21
|
+
#let(:instance) { Late::RenameWhatsAppGroupRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RenameWhatsAppGroupRequest' do
|
|
24
|
+
it 'should create an instance of RenameWhatsAppGroupRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::RenameWhatsAppGroupRequest)
|
|
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 "old_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 "new_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,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::RequestWhatsAppVerificationCode200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::RequestWhatsAppVerificationCode200Response do
|
|
21
|
+
#let(:instance) { Late::RequestWhatsAppVerificationCode200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RequestWhatsAppVerificationCode200Response' do
|
|
24
|
+
it 'should create an instance of RequestWhatsAppVerificationCode200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::RequestWhatsAppVerificationCode200Response)
|
|
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 "method"' 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', ["SMS", "VOICE"])
|
|
40
|
+
# validator.allowable_values.each do |value|
|
|
41
|
+
# expect { instance.method = value }.not_to raise_error
|
|
42
|
+
# end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
end
|
|
@@ -0,0 +1,40 @@
|
|
|
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::RequestWhatsAppVerificationCodeRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::RequestWhatsAppVerificationCodeRequest do
|
|
21
|
+
#let(:instance) { Late::RequestWhatsAppVerificationCodeRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of RequestWhatsAppVerificationCodeRequest' do
|
|
24
|
+
it 'should create an instance of RequestWhatsAppVerificationCodeRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::RequestWhatsAppVerificationCodeRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "method"' 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', ["SMS", "VOICE"])
|
|
34
|
+
# validator.allowable_values.each do |value|
|
|
35
|
+
# expect { instance.method = value }.not_to raise_error
|
|
36
|
+
# end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
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::ScheduleWhatsAppBroadcast200ResponseBroadcast
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ScheduleWhatsAppBroadcast200ResponseBroadcast do
|
|
21
|
+
#let(:instance) { Late::ScheduleWhatsAppBroadcast200ResponseBroadcast.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ScheduleWhatsAppBroadcast200ResponseBroadcast' do
|
|
24
|
+
it 'should create an instance of ScheduleWhatsAppBroadcast200ResponseBroadcast' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ScheduleWhatsAppBroadcast200ResponseBroadcast)
|
|
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 "status"' 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 "scheduled_at"' 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::ScheduleWhatsAppBroadcast200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ScheduleWhatsAppBroadcast200Response do
|
|
21
|
+
#let(:instance) { Late::ScheduleWhatsAppBroadcast200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ScheduleWhatsAppBroadcast200Response' do
|
|
24
|
+
it 'should create an instance of ScheduleWhatsAppBroadcast200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ScheduleWhatsAppBroadcast200Response)
|
|
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,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::ScheduleWhatsAppBroadcastRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ScheduleWhatsAppBroadcastRequest do
|
|
21
|
+
#let(:instance) { Late::ScheduleWhatsAppBroadcastRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ScheduleWhatsAppBroadcastRequest' do
|
|
24
|
+
it 'should create an instance of ScheduleWhatsAppBroadcastRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ScheduleWhatsAppBroadcastRequest)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "scheduled_at"' 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
|
+
#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::SearchAvailableWhatsAppNumbers200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::SearchAvailableWhatsAppNumbers200Response do
|
|
21
|
+
#let(:instance) { Late::SearchAvailableWhatsAppNumbers200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of SearchAvailableWhatsAppNumbers200Response' do
|
|
24
|
+
it 'should create an instance of SearchAvailableWhatsAppNumbers200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::SearchAvailableWhatsAppNumbers200Response)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "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
|