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::GetWhatsAppTemplate200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppTemplate200Response do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppTemplate200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppTemplate200Response' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppTemplate200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppTemplate200Response)
|
|
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,66 @@
|
|
|
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::GetWhatsAppTemplate200ResponseTemplate
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppTemplate200ResponseTemplate do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppTemplate200ResponseTemplate.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppTemplate200ResponseTemplate' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppTemplate200ResponseTemplate' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppTemplate200ResponseTemplate)
|
|
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
|
+
describe 'test attribute "components"' 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
|
+
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::GetWhatsAppTemplates200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppTemplates200Response do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppTemplates200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppTemplates200Response' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppTemplates200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppTemplates200Response)
|
|
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 "templates"' 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,74 @@
|
|
|
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::GetWhatsAppTemplates200ResponseTemplatesInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::GetWhatsAppTemplates200ResponseTemplatesInner do
|
|
21
|
+
#let(:instance) { Late::GetWhatsAppTemplates200ResponseTemplatesInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of GetWhatsAppTemplates200ResponseTemplatesInner' do
|
|
24
|
+
it 'should create an instance of GetWhatsAppTemplates200ResponseTemplatesInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::GetWhatsAppTemplates200ResponseTemplatesInner)
|
|
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
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["APPROVED", "PENDING", "REJECTED"])
|
|
46
|
+
# validator.allowable_values.each do |value|
|
|
47
|
+
# expect { instance.status = value }.not_to raise_error
|
|
48
|
+
# end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
52
|
+
describe 'test attribute "category"' do
|
|
53
|
+
it 'should work' do
|
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
55
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["AUTHENTICATION", "MARKETING", "UTILITY"])
|
|
56
|
+
# validator.allowable_values.each do |value|
|
|
57
|
+
# expect { instance.category = value }.not_to raise_error
|
|
58
|
+
# end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
describe 'test attribute "language"' do
|
|
63
|
+
it 'should work' do
|
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
describe 'test attribute "components"' do
|
|
69
|
+
it 'should work' do
|
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
71
|
+
end
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
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::ImportWhatsAppContacts200ResponseResultsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ImportWhatsAppContacts200ResponseResultsInner do
|
|
21
|
+
#let(:instance) { Late::ImportWhatsAppContacts200ResponseResultsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImportWhatsAppContacts200ResponseResultsInner' do
|
|
24
|
+
it 'should create an instance of ImportWhatsAppContacts200ResponseResultsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ImportWhatsAppContacts200ResponseResultsInner)
|
|
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 "success"' 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 "contact_id"' do
|
|
49
|
+
it 'should work' do
|
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
54
|
+
describe 'test attribute "error"' 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,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::ImportWhatsAppContacts200Response
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ImportWhatsAppContacts200Response do
|
|
21
|
+
#let(:instance) { Late::ImportWhatsAppContacts200Response.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImportWhatsAppContacts200Response' do
|
|
24
|
+
it 'should create an instance of ImportWhatsAppContacts200Response' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ImportWhatsAppContacts200Response)
|
|
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 "summary"' 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 "results"' 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,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::ImportWhatsAppContacts200ResponseSummary
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ImportWhatsAppContacts200ResponseSummary do
|
|
21
|
+
#let(:instance) { Late::ImportWhatsAppContacts200ResponseSummary.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImportWhatsAppContacts200ResponseSummary' do
|
|
24
|
+
it 'should create an instance of ImportWhatsAppContacts200ResponseSummary' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ImportWhatsAppContacts200ResponseSummary)
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
describe 'test attribute "total"' 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 "created"' 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 "skipped"' 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 "failed"' 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,78 @@
|
|
|
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::ImportWhatsAppContactsRequestContactsInner
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ImportWhatsAppContactsRequestContactsInner do
|
|
21
|
+
#let(:instance) { Late::ImportWhatsAppContactsRequestContactsInner.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImportWhatsAppContactsRequestContactsInner' do
|
|
24
|
+
it 'should create an instance of ImportWhatsAppContactsRequestContactsInner' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ImportWhatsAppContactsRequestContactsInner)
|
|
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 "email"' 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 "company"' 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 "tags"' 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 "groups"' 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 "custom_fields"' 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 "notes"' 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
|
+
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::ImportWhatsAppContactsRequest
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::ImportWhatsAppContactsRequest do
|
|
21
|
+
#let(:instance) { Late::ImportWhatsAppContactsRequest.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of ImportWhatsAppContactsRequest' do
|
|
24
|
+
it 'should create an instance of ImportWhatsAppContactsRequest' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::ImportWhatsAppContactsRequest)
|
|
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 "contacts"' 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 "default_tags"' 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 "default_groups"' 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 "skip_duplicates"' 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,72 @@
|
|
|
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::PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber do
|
|
21
|
+
#let(:instance) { Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1PhoneNumber)
|
|
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 "country"' 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 "provisioned_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
|
+
describe 'test attribute "meta_preverified_id"' 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 "meta_verification_status"' 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
|
+
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::PurchaseWhatsAppPhoneNumber200ResponseOneOf1
|
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
19
|
+
# Please update as you see appropriate
|
|
20
|
+
describe Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1 do
|
|
21
|
+
#let(:instance) { Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1.new }
|
|
22
|
+
|
|
23
|
+
describe 'test an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf1' do
|
|
24
|
+
it 'should create an instance of PurchaseWhatsAppPhoneNumber200ResponseOneOf1' do
|
|
25
|
+
# uncomment below to test the instance creation
|
|
26
|
+
#expect(instance).to be_instance_of(Late::PurchaseWhatsAppPhoneNumber200ResponseOneOf1)
|
|
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
|