lob 6.0.0.pre.rc → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CODE_SNIPPETS.md +1871 -0
- data/Gemfile.lock +7 -7
- data/MIGRATION.md +174 -0
- data/README.md +10 -34
- data/__tests__/Api/Address.unit.rb +1 -1
- data/__tests__/Api/BankAccount.unit.rb +1 -1
- data/__tests__/Api/BillingGroup.unit.rb +1 -1
- data/__tests__/Api/Card.unit.rb +1 -1
- data/__tests__/Api/CardOrder.unit.rb +1 -1
- data/__tests__/Api/Check.unit.rb +1 -1
- data/__tests__/Api/IntlAutocompletion.unit.rb +1 -1
- data/__tests__/Api/IntlVerification.unit.rb +1 -1
- data/__tests__/Api/Letter.unit.rb +1 -1
- data/__tests__/Api/Postcard.unit.rb +1 -1
- data/__tests__/Api/ReverseGeocodeLookup.unit.rb +1 -1
- data/__tests__/Api/SelfMailer.unit.rb +1 -1
- data/__tests__/Api/Template.unit.rb +1 -1
- data/__tests__/Api/TemplateVersion.unit.rb +1 -1
- data/__tests__/Api/UsAutocompletion.unit.rb +8 -8
- data/__tests__/Api/UsVerification.unit.rb +1 -1
- data/__tests__/Api/ZipLookup.unit.rb +1 -1
- data/__tests__/Integration/Address.spec.rb +3 -3
- data/__tests__/Integration/BankAccount.spec.rb +3 -3
- data/__tests__/Integration/BillingGroup.spec.rb +3 -3
- data/__tests__/Integration/Card.spec.rb +3 -3
- data/__tests__/Integration/CardOrder.spec.rb +3 -3
- data/__tests__/Integration/Check.spec.rb +3 -3
- data/__tests__/Integration/IntlAutocompletion.spec.rb +3 -3
- data/__tests__/Integration/IntlVerification.spec.rb +3 -3
- data/__tests__/Integration/Letter.spec.rb +3 -3
- data/__tests__/Integration/Postcard.spec.rb +3 -3
- data/__tests__/Integration/ReverseGeocodeLookup.spec.rb +1 -1
- data/__tests__/Integration/SelfMailer.spec.rb +15 -9
- data/__tests__/Integration/Template.spec.rb +3 -3
- data/__tests__/Integration/TemplateVersion.spec.rb +3 -3
- data/__tests__/Integration/UsAutocompletion.spec.rb +3 -3
- data/__tests__/Integration/UsVerification.spec.rb +3 -3
- data/__tests__/Integration/ZipLookup.spec.rb +1 -1
- data/__tests__/TestFixtures.rb +5 -5
- data/docs/Address.md +2 -2
- data/docs/AddressDeletion.md +2 -2
- data/docs/AddressDomestic.md +2 -2
- data/docs/AddressDomesticExpanded.md +2 -2
- data/docs/AddressEditable.md +2 -2
- data/docs/AddressList.md +2 -2
- data/docs/AddressesApi.md +18 -18
- data/docs/BankAccount.md +2 -2
- data/docs/BankAccountDeletion.md +2 -2
- data/docs/BankAccountList.md +2 -2
- data/docs/BankAccountVerify.md +2 -2
- data/docs/BankAccountWritable.md +2 -2
- data/docs/BankAccountsApi.md +23 -23
- data/docs/BankTypeEnum.md +2 -2
- data/docs/BillingGroup.md +2 -2
- data/docs/BillingGroupEditable.md +2 -2
- data/docs/BillingGroupList.md +2 -2
- data/docs/BillingGroupsApi.md +20 -20
- data/docs/Buckslip.md +2 -2
- data/docs/BuckslipDeletion.md +2 -2
- data/docs/BuckslipEditable.md +2 -2
- data/docs/BuckslipOrder.md +2 -2
- data/docs/BuckslipOrderEditable.md +2 -2
- data/docs/BuckslipOrdersApi.md +10 -10
- data/docs/BuckslipOrdersList.md +2 -2
- data/docs/BuckslipUpdatable.md +2 -2
- data/docs/BuckslipsApi.md +23 -23
- data/docs/BuckslipsList.md +2 -2
- data/docs/BulkError.md +2 -2
- data/docs/BulkErrorProperties.md +2 -2
- data/docs/Campaign.md +2 -2
- data/docs/CampaignCreative.md +2 -2
- data/docs/CampaignDeletion.md +2 -2
- data/docs/CampaignUpdatable.md +2 -2
- data/docs/CampaignWritable.md +2 -2
- data/docs/CampaignsApi.md +23 -23
- data/docs/CampaignsList.md +2 -2
- data/docs/Card.md +2 -2
- data/docs/CardDeletion.md +2 -2
- data/docs/CardEditable.md +2 -2
- data/docs/CardList.md +2 -2
- data/docs/CardOrder.md +2 -2
- data/docs/CardOrderEditable.md +2 -2
- data/docs/CardOrderList.md +2 -2
- data/docs/CardOrdersApi.md +10 -10
- data/docs/CardUpdatable.md +2 -2
- data/docs/CardsApi.md +23 -23
- data/docs/Check.md +2 -2
- data/docs/CheckDeletion.md +2 -2
- data/docs/CheckEditable.md +2 -2
- data/docs/CheckList.md +2 -2
- data/docs/ChecksApi.md +20 -20
- data/docs/CmpScheduleType.md +2 -2
- data/docs/CmpUseType.md +2 -2
- data/docs/CountryExtended.md +2 -2
- data/docs/CountryExtendedExpanded.md +2 -2
- data/docs/CreativePatch.md +2 -2
- data/docs/CreativeResponse.md +2 -2
- data/docs/CreativeWritable.md +2 -2
- data/docs/CreativesApi.md +15 -15
- data/docs/CustomEnvelopeReturned.md +2 -2
- data/docs/DefaultApi.md +5 -5
- data/docs/DeliverabilityAnalysis.md +2 -2
- data/docs/DpvFootnote.md +2 -2
- data/docs/EngineHtml.md +2 -2
- data/docs/EventType.md +2 -2
- data/docs/Events.md +2 -2
- data/docs/Export.md +2 -2
- data/docs/ExportModel.md +2 -2
- data/docs/GeocodeAddresses.md +2 -2
- data/docs/GeocodeComponents.md +2 -2
- data/docs/HTTPValidationError.md +2 -2
- data/docs/IdentityValidation.md +2 -2
- data/docs/IdentityValidationApi.md +6 -6
- data/docs/InlineObject.md +2 -2
- data/docs/IntlAutocompletions.md +2 -2
- data/docs/IntlAutocompletionsApi.md +6 -6
- data/docs/IntlAutocompletionsWritable.md +2 -2
- data/docs/IntlComponents.md +2 -2
- data/docs/IntlSuggestions.md +2 -2
- data/docs/IntlVerification.md +2 -2
- data/docs/IntlVerificationOrError.md +2 -2
- data/docs/IntlVerificationWritable.md +2 -2
- data/docs/IntlVerifications.md +2 -2
- data/docs/IntlVerificationsApi.md +11 -11
- data/docs/IntlVerificationsPayload.md +2 -2
- data/docs/Letter.md +2 -2
- data/docs/LetterCustomEnvelope.md +2 -2
- data/docs/LetterDeletion.md +2 -2
- data/docs/LetterDetailsReturned.md +2 -2
- data/docs/LetterDetailsWritable.md +2 -2
- data/docs/LetterEditable.md +2 -2
- data/docs/LetterList.md +2 -2
- data/docs/LettersApi.md +20 -20
- data/docs/LobConfidenceScore.md +2 -2
- data/docs/LobError.md +2 -2
- data/docs/Location.md +2 -2
- data/docs/LocationAnalysis.md +2 -2
- data/docs/MailType.md +2 -2
- data/docs/MultiLineAddress.md +2 -2
- data/docs/MultipleComponents.md +2 -2
- data/docs/MultipleComponentsIntl.md +2 -2
- data/docs/MultipleComponentsList.md +2 -2
- data/docs/PlaceholderModel.md +2 -2
- data/docs/Postcard.md +2 -2
- data/docs/PostcardDeletion.md +2 -2
- data/docs/PostcardDetailsReturned.md +2 -2
- data/docs/PostcardDetailsWritable.md +2 -2
- data/docs/PostcardEditable.md +2 -2
- data/docs/PostcardList.md +2 -2
- data/docs/PostcardSize.md +2 -2
- data/docs/PostcardsApi.md +21 -21
- data/docs/QrCode.md +2 -2
- data/docs/ReturnEnvelope.md +2 -2
- data/docs/ReverseGeocode.md +2 -2
- data/docs/ReverseGeocodeLookupsApi.md +6 -6
- data/docs/SelfMailer.md +2 -2
- data/docs/SelfMailerDeletion.md +2 -2
- data/docs/SelfMailerEditable.md +2 -2
- data/docs/SelfMailerList.md +2 -2
- data/docs/SelfMailerSize.md +2 -2
- data/docs/SelfMailersApi.md +21 -21
- data/docs/SortBy.md +2 -2
- data/docs/SortBy1.md +2 -2
- data/docs/SortBy2.md +2 -2
- data/docs/SortBy3.md +2 -2
- data/docs/SortByDateModified.md +2 -2
- data/docs/Suggestions.md +2 -2
- data/docs/Template.md +2 -2
- data/docs/TemplateDeletion.md +2 -2
- data/docs/TemplateList.md +2 -2
- data/docs/TemplateUpdate.md +2 -2
- data/docs/TemplateVersion.md +2 -2
- data/docs/TemplateVersionDeletion.md +2 -2
- data/docs/TemplateVersionList.md +2 -2
- data/docs/TemplateVersionUpdatable.md +2 -2
- data/docs/TemplateVersionWritable.md +2 -2
- data/docs/TemplateVersionsApi.md +23 -23
- data/docs/TemplateWritable.md +2 -2
- data/docs/TemplatesApi.md +23 -23
- data/docs/Thumbnail.md +2 -2
- data/docs/TrackingEventCertified.md +2 -2
- data/docs/TrackingEventDetails.md +2 -2
- data/docs/TrackingEventNormal.md +2 -2
- data/docs/Upload.md +2 -2
- data/docs/UploadCreateExport.md +2 -2
- data/docs/UploadFile.md +2 -2
- data/docs/UploadState.md +2 -2
- data/docs/UploadUpdatable.md +2 -2
- data/docs/UploadWritable.md +2 -2
- data/docs/UploadsApi.md +36 -36
- data/docs/UsAutocompletions.md +2 -2
- data/docs/UsAutocompletionsApi.md +6 -6
- data/docs/UsAutocompletionsWritable.md +2 -2
- data/docs/UsComponents.md +2 -2
- data/docs/UsVerification.md +2 -2
- data/docs/UsVerificationOrError.md +2 -2
- data/docs/UsVerifications.md +2 -2
- data/docs/UsVerificationsApi.md +11 -11
- data/docs/UsVerificationsWritable.md +2 -2
- data/docs/ValidationError.md +2 -2
- data/docs/Zip.md +2 -2
- data/docs/ZipCodeType.md +2 -2
- data/docs/ZipEditable.md +2 -2
- data/docs/ZipLookupCity.md +2 -2
- data/docs/ZipLookupsApi.md +6 -6
- data/lib/openapi_client/api/addresses_api.rb +1 -1
- data/lib/openapi_client/api/bank_accounts_api.rb +1 -1
- data/lib/openapi_client/api/billing_groups_api.rb +1 -1
- data/lib/openapi_client/api/buckslip_orders_api.rb +1 -1
- data/lib/openapi_client/api/buckslips_api.rb +1 -1
- data/lib/openapi_client/api/campaigns_api.rb +1 -1
- data/lib/openapi_client/api/card_orders_api.rb +1 -1
- data/lib/openapi_client/api/cards_api.rb +1 -1
- data/lib/openapi_client/api/checks_api.rb +1 -1
- data/lib/openapi_client/api/creatives_api.rb +1 -1
- data/lib/openapi_client/api/default_api.rb +1 -1
- data/lib/openapi_client/api/identity_validation_api.rb +1 -1
- data/lib/openapi_client/api/intl_autocompletions_api.rb +1 -1
- data/lib/openapi_client/api/intl_verifications_api.rb +1 -1
- data/lib/openapi_client/api/letters_api.rb +1 -1
- data/lib/openapi_client/api/postcards_api.rb +1 -1
- data/lib/openapi_client/api/reverse_geocode_lookups_api.rb +1 -1
- data/lib/openapi_client/api/self_mailers_api.rb +1 -1
- data/lib/openapi_client/api/template_versions_api.rb +1 -1
- data/lib/openapi_client/api/templates_api.rb +1 -1
- data/lib/openapi_client/api/uploads_api.rb +1 -1
- data/lib/openapi_client/api/us_autocompletions_api.rb +1 -1
- data/lib/openapi_client/api/us_verifications_api.rb +1 -1
- data/lib/openapi_client/api/zip_lookups_api.rb +1 -1
- data/lib/openapi_client/api_client.rb +2 -2
- data/lib/openapi_client/api_error.rb +1 -1
- data/lib/openapi_client/configuration.rb +1 -1
- data/lib/openapi_client/models/address.rb +4 -4
- data/lib/openapi_client/models/address_deletion.rb +4 -4
- data/lib/openapi_client/models/address_domestic.rb +4 -4
- data/lib/openapi_client/models/address_domestic_expanded.rb +4 -4
- data/lib/openapi_client/models/address_editable.rb +4 -4
- data/lib/openapi_client/models/address_list.rb +4 -4
- data/lib/openapi_client/models/bank_account.rb +4 -4
- data/lib/openapi_client/models/bank_account_deletion.rb +4 -4
- data/lib/openapi_client/models/bank_account_list.rb +4 -4
- data/lib/openapi_client/models/bank_account_verify.rb +4 -4
- data/lib/openapi_client/models/bank_account_writable.rb +4 -4
- data/lib/openapi_client/models/bank_type_enum.rb +1 -1
- data/lib/openapi_client/models/billing_group.rb +4 -4
- data/lib/openapi_client/models/billing_group_editable.rb +4 -4
- data/lib/openapi_client/models/billing_group_list.rb +4 -4
- data/lib/openapi_client/models/buckslip.rb +4 -4
- data/lib/openapi_client/models/buckslip_deletion.rb +4 -4
- data/lib/openapi_client/models/buckslip_editable.rb +4 -4
- data/lib/openapi_client/models/buckslip_order.rb +4 -4
- data/lib/openapi_client/models/buckslip_order_editable.rb +4 -4
- data/lib/openapi_client/models/buckslip_orders_list.rb +4 -4
- data/lib/openapi_client/models/buckslip_updatable.rb +4 -4
- data/lib/openapi_client/models/buckslips_list.rb +4 -4
- data/lib/openapi_client/models/bulk_error.rb +4 -4
- data/lib/openapi_client/models/bulk_error_properties.rb +4 -4
- data/lib/openapi_client/models/campaign.rb +4 -4
- data/lib/openapi_client/models/campaign_creative.rb +4 -4
- data/lib/openapi_client/models/campaign_deletion.rb +4 -4
- data/lib/openapi_client/models/campaign_updatable.rb +4 -4
- data/lib/openapi_client/models/campaign_writable.rb +4 -4
- data/lib/openapi_client/models/campaigns_list.rb +4 -4
- data/lib/openapi_client/models/card.rb +4 -4
- data/lib/openapi_client/models/card_deletion.rb +4 -4
- data/lib/openapi_client/models/card_editable.rb +4 -4
- data/lib/openapi_client/models/card_list.rb +4 -4
- data/lib/openapi_client/models/card_order.rb +4 -4
- data/lib/openapi_client/models/card_order_editable.rb +4 -4
- data/lib/openapi_client/models/card_order_list.rb +4 -4
- data/lib/openapi_client/models/card_updatable.rb +4 -4
- data/lib/openapi_client/models/check.rb +18 -8
- data/lib/openapi_client/models/check_deletion.rb +4 -4
- data/lib/openapi_client/models/check_editable.rb +18 -8
- data/lib/openapi_client/models/check_list.rb +4 -4
- data/lib/openapi_client/models/chk_use_type.rb +38 -0
- data/lib/openapi_client/models/cmp_schedule_type.rb +1 -1
- data/lib/openapi_client/models/cmp_use_type.rb +1 -1
- data/lib/openapi_client/models/country_extended.rb +1 -1
- data/lib/openapi_client/models/country_extended_expanded.rb +1 -1
- data/lib/openapi_client/models/creative_patch.rb +4 -4
- data/lib/openapi_client/models/creative_response.rb +4 -4
- data/lib/openapi_client/models/creative_writable.rb +5 -5
- data/lib/openapi_client/models/custom_envelope_returned.rb +4 -4
- data/lib/openapi_client/models/deliverability_analysis.rb +4 -4
- data/lib/openapi_client/models/dpv_footnote.rb +1 -1
- data/lib/openapi_client/models/engine_html.rb +1 -1
- data/lib/openapi_client/models/event_type.rb +4 -4
- data/lib/openapi_client/models/events.rb +4 -4
- data/lib/openapi_client/models/export.rb +4 -4
- data/lib/openapi_client/models/export_model.rb +4 -4
- data/lib/openapi_client/models/geocode_addresses.rb +4 -4
- data/lib/openapi_client/models/geocode_components.rb +4 -4
- data/lib/openapi_client/models/http_validation_error.rb +4 -4
- data/lib/openapi_client/models/identity_validation.rb +4 -4
- data/lib/openapi_client/models/inline_object.rb +4 -4
- data/lib/openapi_client/models/intl_autocompletions.rb +4 -4
- data/lib/openapi_client/models/intl_autocompletions_writable.rb +4 -4
- data/lib/openapi_client/models/intl_components.rb +4 -4
- data/lib/openapi_client/models/intl_suggestions.rb +4 -4
- data/lib/openapi_client/models/intl_verification.rb +4 -4
- data/lib/openapi_client/models/intl_verification_or_error.rb +4 -4
- data/lib/openapi_client/models/intl_verification_writable.rb +4 -4
- data/lib/openapi_client/models/intl_verifications.rb +4 -4
- data/lib/openapi_client/models/intl_verifications_payload.rb +4 -4
- data/lib/openapi_client/models/letter.rb +30 -9
- data/lib/openapi_client/models/letter_custom_envelope.rb +4 -4
- data/lib/openapi_client/models/letter_deletion.rb +4 -4
- data/lib/openapi_client/models/letter_details_returned.rb +5 -5
- data/lib/openapi_client/models/letter_details_writable.rb +4 -4
- data/lib/openapi_client/models/letter_editable.rb +18 -8
- data/lib/openapi_client/models/letter_list.rb +4 -4
- data/lib/openapi_client/models/lob_confidence_score.rb +4 -4
- data/lib/openapi_client/models/lob_error.rb +4 -4
- data/lib/openapi_client/models/location.rb +4 -4
- data/lib/openapi_client/models/location_analysis.rb +4 -4
- data/lib/openapi_client/models/ltr_use_type.rb +38 -0
- data/lib/openapi_client/models/mail_type.rb +1 -1
- data/lib/openapi_client/models/multi_line_address.rb +4 -4
- data/lib/openapi_client/models/multiple_components.rb +4 -4
- data/lib/openapi_client/models/multiple_components_intl.rb +4 -4
- data/lib/openapi_client/models/multiple_components_list.rb +4 -4
- data/lib/openapi_client/models/optional_address_column_mapping.rb +259 -0
- data/lib/openapi_client/models/placeholder_model.rb +4 -4
- data/lib/openapi_client/models/postcard.rb +18 -8
- data/lib/openapi_client/models/postcard_deletion.rb +4 -4
- data/lib/openapi_client/models/postcard_details_returned.rb +4 -4
- data/lib/openapi_client/models/postcard_details_writable.rb +4 -4
- data/lib/openapi_client/models/postcard_editable.rb +18 -8
- data/lib/openapi_client/models/postcard_list.rb +4 -4
- data/lib/openapi_client/models/postcard_size.rb +1 -1
- data/lib/openapi_client/models/psc_use_type.rb +38 -0
- data/lib/openapi_client/models/qr_code.rb +4 -4
- data/lib/openapi_client/models/required_address_column_mapping.rb +285 -0
- data/lib/openapi_client/models/return_envelope.rb +4 -4
- data/lib/openapi_client/models/reverse_geocode.rb +4 -4
- data/lib/openapi_client/models/self_mailer.rb +18 -8
- data/lib/openapi_client/models/self_mailer_deletion.rb +4 -4
- data/lib/openapi_client/models/self_mailer_editable.rb +18 -8
- data/lib/openapi_client/models/self_mailer_list.rb +4 -4
- data/lib/openapi_client/models/self_mailer_size.rb +1 -1
- data/lib/openapi_client/models/sfm_use_type.rb +38 -0
- data/lib/openapi_client/models/sort_by.rb +4 -4
- data/lib/openapi_client/models/sort_by1.rb +4 -4
- data/lib/openapi_client/models/sort_by2.rb +4 -4
- data/lib/openapi_client/models/sort_by3.rb +4 -4
- data/lib/openapi_client/models/sort_by_date_modified.rb +4 -4
- data/lib/openapi_client/models/suggestions.rb +4 -4
- data/lib/openapi_client/models/template.rb +4 -4
- data/lib/openapi_client/models/template_deletion.rb +4 -4
- data/lib/openapi_client/models/template_list.rb +4 -4
- data/lib/openapi_client/models/template_update.rb +4 -4
- data/lib/openapi_client/models/template_version.rb +4 -4
- data/lib/openapi_client/models/template_version_deletion.rb +4 -4
- data/lib/openapi_client/models/template_version_list.rb +4 -4
- data/lib/openapi_client/models/template_version_updatable.rb +4 -4
- data/lib/openapi_client/models/template_version_writable.rb +4 -4
- data/lib/openapi_client/models/template_writable.rb +4 -4
- data/lib/openapi_client/models/thumbnail.rb +4 -4
- data/lib/openapi_client/models/tracking_event_certified.rb +4 -4
- data/lib/openapi_client/models/tracking_event_details.rb +4 -4
- data/lib/openapi_client/models/tracking_event_normal.rb +4 -4
- data/lib/openapi_client/models/upload.rb +55 -48
- data/lib/openapi_client/models/upload_create_export.rb +4 -4
- data/lib/openapi_client/models/upload_file.rb +4 -4
- data/lib/openapi_client/models/upload_state.rb +1 -1
- data/lib/openapi_client/models/upload_updatable.rb +46 -19
- data/lib/openapi_client/models/upload_writable.rb +46 -30
- data/lib/openapi_client/models/uploads_metadata.rb +237 -0
- data/lib/openapi_client/models/us_autocompletions.rb +4 -4
- data/lib/openapi_client/models/us_autocompletions_writable.rb +4 -4
- data/lib/openapi_client/models/us_components.rb +7 -7
- data/lib/openapi_client/models/us_verification.rb +15 -5
- data/lib/openapi_client/models/us_verification_or_error.rb +4 -4
- data/lib/openapi_client/models/us_verifications.rb +4 -4
- data/lib/openapi_client/models/us_verifications_writable.rb +4 -4
- data/lib/openapi_client/models/validation_error.rb +4 -4
- data/lib/openapi_client/models/zip.rb +4 -4
- data/lib/openapi_client/models/zip_code_type.rb +1 -1
- data/lib/openapi_client/models/zip_editable.rb +4 -4
- data/lib/openapi_client/models/zip_lookup_city.rb +4 -4
- data/lib/openapi_client/version.rb +2 -2
- data/lib/openapi_client.rb +7 -0
- data/openapi_client.gemspec +1 -1
- data/spec/api/addresses_api_spec.rb +3 -3
- data/spec/api/bank_accounts_api_spec.rb +3 -3
- data/spec/api/billing_groups_api_spec.rb +3 -3
- data/spec/api/campaigns_api_spec.rb +3 -3
- data/spec/api/card_orders_api_spec.rb +3 -3
- data/spec/api/cards_api_spec.rb +3 -3
- data/spec/api/checks_api_spec.rb +3 -3
- data/spec/api/creatives_api_spec.rb +3 -3
- data/spec/api/default_api_spec.rb +3 -3
- data/spec/api/identity_validation_api_spec.rb +3 -3
- data/spec/api/intl_autocompletions_api_spec.rb +3 -3
- data/spec/api/intl_verifications_api_spec.rb +3 -3
- data/spec/api/letters_api_spec.rb +3 -3
- data/spec/api/postcards_api_spec.rb +3 -3
- data/spec/api/reverse_geocode_lookups_api_spec.rb +3 -3
- data/spec/api/self_mailers_api_spec.rb +3 -3
- data/spec/api/template_versions_api_spec.rb +3 -3
- data/spec/api/templates_api_spec.rb +3 -3
- data/spec/api/uploads_api_spec.rb +3 -3
- data/spec/api/us_autocompletions_api_spec.rb +3 -3
- data/spec/api/us_verifications_api_spec.rb +3 -3
- data/spec/api/zip_lookups_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- metadata +29 -20
data/docs/EngineHtml.md
CHANGED
data/docs/EventType.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::EventType
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -14,7 +14,7 @@
|
|
14
14
|
```ruby
|
15
15
|
require 'openapi_client'
|
16
16
|
|
17
|
-
instance =
|
17
|
+
instance = Lob::EventType.new(
|
18
18
|
id: null,
|
19
19
|
enabled_for_test: null,
|
20
20
|
resource: null,
|
data/docs/Events.md
CHANGED
data/docs/Export.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::Export
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
```ruby
|
19
19
|
require 'openapi_client'
|
20
20
|
|
21
|
-
instance =
|
21
|
+
instance = Lob::Export.new(
|
22
22
|
id: null,
|
23
23
|
date_created: null,
|
24
24
|
date_modified: null,
|
data/docs/ExportModel.md
CHANGED
data/docs/GeocodeAddresses.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::GeocodeAddresses
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::GeocodeAddresses.new(
|
16
16
|
components: null,
|
17
17
|
location_analysis: null
|
18
18
|
)
|
data/docs/GeocodeComponents.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::GeocodeComponents
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::GeocodeComponents.new(
|
16
16
|
zip_code: null,
|
17
17
|
zip_code_plus_4: null
|
18
18
|
)
|
data/docs/HTTPValidationError.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::HTTPValidationError
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'openapi_client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = Lob::HTTPValidationError.new(
|
15
15
|
detail: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/IdentityValidation.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IdentityValidation
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -19,7 +19,7 @@
|
|
19
19
|
```ruby
|
20
20
|
require 'openapi_client'
|
21
21
|
|
22
|
-
instance =
|
22
|
+
instance = Lob::IdentityValidation.new(
|
23
23
|
id: null,
|
24
24
|
recipient: null,
|
25
25
|
primary_line: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IdentityValidationApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -21,20 +21,20 @@ Validates whether a given name is associated with an address.
|
|
21
21
|
require 'time'
|
22
22
|
require 'openapi_client'
|
23
23
|
# setup authorization
|
24
|
-
|
24
|
+
Lob.configure do |config|
|
25
25
|
# Configure HTTP basic authorization: basicAuth
|
26
26
|
config.username = 'YOUR USERNAME'
|
27
27
|
config.password = 'YOUR PASSWORD'
|
28
28
|
end
|
29
29
|
|
30
|
-
api_instance =
|
31
|
-
multi_line_address =
|
30
|
+
api_instance = Lob::IdentityValidationApi.new
|
31
|
+
multi_line_address = Lob::MultiLineAddress.new({primary_line: 'primary_line_example'}) # MultiLineAddress |
|
32
32
|
|
33
33
|
begin
|
34
34
|
# validate
|
35
35
|
result = api_instance.validate(multi_line_address)
|
36
36
|
p result
|
37
|
-
rescue
|
37
|
+
rescue Lob::ApiError => e
|
38
38
|
puts "Error when calling IdentityValidationApi->validate: #{e}"
|
39
39
|
end
|
40
40
|
```
|
@@ -52,7 +52,7 @@ begin
|
|
52
52
|
p status_code # => 2xx
|
53
53
|
p headers # => { ... }
|
54
54
|
p data # => <IdentityValidation>
|
55
|
-
rescue
|
55
|
+
rescue Lob::ApiError => e
|
56
56
|
puts "Error when calling IdentityValidationApi->identity_validation_with_http_info: #{e}"
|
57
57
|
end
|
58
58
|
```
|
data/docs/InlineObject.md
CHANGED
data/docs/IntlAutocompletions.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlAutocompletions
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::IntlAutocompletions.new(
|
16
16
|
id: null,
|
17
17
|
suggestions: null
|
18
18
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlAutocompletionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -21,14 +21,14 @@ Given an address prefix consisting of a partial primary line and country, as wel
|
|
21
21
|
require 'time'
|
22
22
|
require 'openapi_client'
|
23
23
|
# setup authorization
|
24
|
-
|
24
|
+
Lob.configure do |config|
|
25
25
|
# Configure HTTP basic authorization: basicAuth
|
26
26
|
config.username = 'YOUR USERNAME'
|
27
27
|
config.password = 'YOUR PASSWORD'
|
28
28
|
end
|
29
29
|
|
30
|
-
api_instance =
|
31
|
-
intl_autocompletions_writable =
|
30
|
+
api_instance = Lob::IntlAutocompletionsApi.new
|
31
|
+
intl_autocompletions_writable = Lob::IntlAutocompletionsWritable.new({address_prefix: 'address_prefix_example', country: Lob::CountryExtended::AD}) # IntlAutocompletionsWritable |
|
32
32
|
opts = {
|
33
33
|
x_lang_output: 'native' # String | * `native` - Translate response to the native language of the country in the request * `match` - match the response to the language in the request Default response is in English.
|
34
34
|
}
|
@@ -37,7 +37,7 @@ begin
|
|
37
37
|
# autocomplete
|
38
38
|
result = api_instance.autocomplete(intl_autocompletions_writable, opts)
|
39
39
|
p result
|
40
|
-
rescue
|
40
|
+
rescue Lob::ApiError => e
|
41
41
|
puts "Error when calling IntlAutocompletionsApi->autocomplete: #{e}"
|
42
42
|
end
|
43
43
|
```
|
@@ -55,7 +55,7 @@ begin
|
|
55
55
|
p status_code # => 2xx
|
56
56
|
p headers # => { ... }
|
57
57
|
p data # => <IntlAutocompletions>
|
58
|
-
rescue
|
58
|
+
rescue Lob::ApiError => e
|
59
59
|
puts "Error when calling IntlAutocompletionsApi->intl_autocompletion_with_http_info: #{e}"
|
60
60
|
end
|
61
61
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlAutocompletionsWritable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
```ruby
|
16
16
|
require 'openapi_client'
|
17
17
|
|
18
|
-
instance =
|
18
|
+
instance = Lob::IntlAutocompletionsWritable.new(
|
19
19
|
address_prefix: null,
|
20
20
|
city: null,
|
21
21
|
state: null,
|
data/docs/IntlComponents.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlComponents
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
```ruby
|
16
16
|
require 'openapi_client'
|
17
17
|
|
18
|
-
instance =
|
18
|
+
instance = Lob::IntlComponents.new(
|
19
19
|
primary_number: null,
|
20
20
|
street_name: null,
|
21
21
|
city: null,
|
data/docs/IntlSuggestions.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlSuggestions
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
```ruby
|
18
18
|
require 'openapi_client'
|
19
19
|
|
20
|
-
instance =
|
20
|
+
instance = Lob::IntlSuggestions.new(
|
21
21
|
primary_number_range: null,
|
22
22
|
primary_line: null,
|
23
23
|
city: null,
|
data/docs/IntlVerification.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlVerification
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -21,7 +21,7 @@
|
|
21
21
|
```ruby
|
22
22
|
require 'openapi_client'
|
23
23
|
|
24
|
-
instance =
|
24
|
+
instance = Lob::IntlVerification.new(
|
25
25
|
id: null,
|
26
26
|
recipient: null,
|
27
27
|
primary_line: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlVerificationOrError
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -22,7 +22,7 @@
|
|
22
22
|
```ruby
|
23
23
|
require 'openapi_client'
|
24
24
|
|
25
|
-
instance =
|
25
|
+
instance = Lob::IntlVerificationOrError.new(
|
26
26
|
id: null,
|
27
27
|
recipient: null,
|
28
28
|
primary_line: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlVerificationWritable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
```ruby
|
19
19
|
require 'openapi_client'
|
20
20
|
|
21
|
-
instance =
|
21
|
+
instance = Lob::IntlVerificationWritable.new(
|
22
22
|
recipient: null,
|
23
23
|
primary_line: null,
|
24
24
|
secondary_line: null,
|
data/docs/IntlVerifications.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlVerifications
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -12,7 +12,7 @@
|
|
12
12
|
```ruby
|
13
13
|
require 'openapi_client'
|
14
14
|
|
15
|
-
instance =
|
15
|
+
instance = Lob::IntlVerifications.new(
|
16
16
|
addresses: null,
|
17
17
|
errors: null
|
18
18
|
)
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlVerificationsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -22,20 +22,20 @@ Verify a list of international (except US or US territories) address with a live
|
|
22
22
|
require 'time'
|
23
23
|
require 'openapi_client'
|
24
24
|
# setup authorization
|
25
|
-
|
25
|
+
Lob.configure do |config|
|
26
26
|
# Configure HTTP basic authorization: basicAuth
|
27
27
|
config.username = 'YOUR USERNAME'
|
28
28
|
config.password = 'YOUR PASSWORD'
|
29
29
|
end
|
30
30
|
|
31
|
-
api_instance =
|
32
|
-
intl_verifications_payload =
|
31
|
+
api_instance = Lob::IntlVerificationsApi.new
|
32
|
+
intl_verifications_payload = Lob::IntlVerificationsPayload.new({addresses: [Lob::MultipleComponentsIntl.new({primary_line: 'primary_line_example', country: Lob::CountryExtended::AD})]}) # IntlVerificationsPayload |
|
33
33
|
|
34
34
|
begin
|
35
35
|
# verifyBulk
|
36
36
|
result = api_instance.verifyBulk(intl_verifications_payload)
|
37
37
|
p result
|
38
|
-
rescue
|
38
|
+
rescue Lob::ApiError => e
|
39
39
|
puts "Error when calling IntlVerificationsApi->verifyBulk: #{e}"
|
40
40
|
end
|
41
41
|
```
|
@@ -53,7 +53,7 @@ begin
|
|
53
53
|
p status_code # => 2xx
|
54
54
|
p headers # => { ... }
|
55
55
|
p data # => <IntlVerifications>
|
56
|
-
rescue
|
56
|
+
rescue Lob::ApiError => e
|
57
57
|
puts "Error when calling IntlVerificationsApi->bulk_intl_verifications_with_http_info: #{e}"
|
58
58
|
end
|
59
59
|
```
|
@@ -92,14 +92,14 @@ Verify an international (except US or US territories) address with a live API ke
|
|
92
92
|
require 'time'
|
93
93
|
require 'openapi_client'
|
94
94
|
# setup authorization
|
95
|
-
|
95
|
+
Lob.configure do |config|
|
96
96
|
# Configure HTTP basic authorization: basicAuth
|
97
97
|
config.username = 'YOUR USERNAME'
|
98
98
|
config.password = 'YOUR PASSWORD'
|
99
99
|
end
|
100
100
|
|
101
|
-
api_instance =
|
102
|
-
intl_verification_writable =
|
101
|
+
api_instance = Lob::IntlVerificationsApi.new
|
102
|
+
intl_verification_writable = Lob::IntlVerificationWritable.new # IntlVerificationWritable |
|
103
103
|
opts = {
|
104
104
|
x_lang_output: 'native' # String | * `native` - Translate response to the native language of the country in the request * `match` - match the response to the language in the request Default response is in English.
|
105
105
|
}
|
@@ -108,7 +108,7 @@ begin
|
|
108
108
|
# verifySingle
|
109
109
|
result = api_instance.verifySingle(intl_verification_writable, opts)
|
110
110
|
p result
|
111
|
-
rescue
|
111
|
+
rescue Lob::ApiError => e
|
112
112
|
puts "Error when calling IntlVerificationsApi->verifySingle: #{e}"
|
113
113
|
end
|
114
114
|
```
|
@@ -126,7 +126,7 @@ begin
|
|
126
126
|
p status_code # => 2xx
|
127
127
|
p headers # => { ... }
|
128
128
|
p data # => <IntlVerification>
|
129
|
-
rescue
|
129
|
+
rescue Lob::ApiError => e
|
130
130
|
puts "Error when calling IntlVerificationsApi->intl_verification_with_http_info: #{e}"
|
131
131
|
end
|
132
132
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::IntlVerificationsPayload
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -11,7 +11,7 @@
|
|
11
11
|
```ruby
|
12
12
|
require 'openapi_client'
|
13
13
|
|
14
|
-
instance =
|
14
|
+
instance = Lob::IntlVerificationsPayload.new(
|
15
15
|
addresses: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/Letter.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::LetterCustomEnvelope
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'openapi_client'
|
15
15
|
|
16
|
-
instance =
|
16
|
+
instance = Lob::LetterCustomEnvelope.new(
|
17
17
|
id: null,
|
18
18
|
url: null,
|
19
19
|
object: null
|
data/docs/LetterDeletion.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::LetterDeletion
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
```ruby
|
14
14
|
require 'openapi_client'
|
15
15
|
|
16
|
-
instance =
|
16
|
+
instance = Lob::LetterDeletion.new(
|
17
17
|
id: null,
|
18
18
|
deleted: null,
|
19
19
|
object: null
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::LetterDetailsReturned
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -20,7 +20,7 @@
|
|
20
20
|
```ruby
|
21
21
|
require 'openapi_client'
|
22
22
|
|
23
|
-
instance =
|
23
|
+
instance = Lob::LetterDetailsReturned.new(
|
24
24
|
color: null,
|
25
25
|
cards: null,
|
26
26
|
address_placement: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::LetterDetailsWritable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -18,7 +18,7 @@
|
|
18
18
|
```ruby
|
19
19
|
require 'openapi_client'
|
20
20
|
|
21
|
-
instance =
|
21
|
+
instance = Lob::LetterDetailsWritable.new(
|
22
22
|
address_placement: null,
|
23
23
|
cards: null,
|
24
24
|
color: null,
|
data/docs/LetterEditable.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::LetterEditable
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -28,7 +28,7 @@
|
|
28
28
|
```ruby
|
29
29
|
require 'openapi_client'
|
30
30
|
|
31
|
-
instance =
|
31
|
+
instance = Lob::LetterEditable.new(
|
32
32
|
description: null,
|
33
33
|
metadata: null,
|
34
34
|
mail_type: null,
|
data/docs/LetterList.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::LetterList
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -16,7 +16,7 @@
|
|
16
16
|
```ruby
|
17
17
|
require 'openapi_client'
|
18
18
|
|
19
|
-
instance =
|
19
|
+
instance = Lob::LetterList.new(
|
20
20
|
data: null,
|
21
21
|
object: null,
|
22
22
|
next_url: null,
|