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/TemplatesApi.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TemplatesApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -25,20 +25,20 @@ Creates a new template for use with the Print & Mail API. In Live mode, you can
|
|
25
25
|
require 'time'
|
26
26
|
require 'openapi_client'
|
27
27
|
# setup authorization
|
28
|
-
|
28
|
+
Lob.configure do |config|
|
29
29
|
# Configure HTTP basic authorization: basicAuth
|
30
30
|
config.username = 'YOUR USERNAME'
|
31
31
|
config.password = 'YOUR PASSWORD'
|
32
32
|
end
|
33
33
|
|
34
|
-
api_instance =
|
35
|
-
template_writable =
|
34
|
+
api_instance = Lob::TemplatesApi.new
|
35
|
+
template_writable = Lob::TemplateWritable.new({html: 'html_example'}) # TemplateWritable |
|
36
36
|
|
37
37
|
begin
|
38
38
|
# create
|
39
39
|
result = api_instance.create(template_writable)
|
40
40
|
p result
|
41
|
-
rescue
|
41
|
+
rescue Lob::ApiError => e
|
42
42
|
puts "Error when calling TemplatesApi->create: #{e}"
|
43
43
|
end
|
44
44
|
```
|
@@ -56,7 +56,7 @@ begin
|
|
56
56
|
p status_code # => 2xx
|
57
57
|
p headers # => { ... }
|
58
58
|
p data # => <Template>
|
59
|
-
rescue
|
59
|
+
rescue Lob::ApiError => e
|
60
60
|
puts "Error when calling TemplatesApi->create_template_with_http_info: #{e}"
|
61
61
|
end
|
62
62
|
```
|
@@ -95,20 +95,20 @@ Permanently deletes a template.
|
|
95
95
|
require 'time'
|
96
96
|
require 'openapi_client'
|
97
97
|
# setup authorization
|
98
|
-
|
98
|
+
Lob.configure do |config|
|
99
99
|
# Configure HTTP basic authorization: basicAuth
|
100
100
|
config.username = 'YOUR USERNAME'
|
101
101
|
config.password = 'YOUR PASSWORD'
|
102
102
|
end
|
103
103
|
|
104
|
-
api_instance =
|
104
|
+
api_instance = Lob::TemplatesApi.new
|
105
105
|
tmpl_id = 'tmpl_id_example' # String | id of the template
|
106
106
|
|
107
107
|
begin
|
108
108
|
# delete
|
109
109
|
result = api_instance.delete(tmpl_id)
|
110
110
|
p result
|
111
|
-
rescue
|
111
|
+
rescue Lob::ApiError => e
|
112
112
|
puts "Error when calling TemplatesApi->delete: #{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 # => <TemplateDeletion>
|
129
|
-
rescue
|
129
|
+
rescue Lob::ApiError => e
|
130
130
|
puts "Error when calling TemplatesApi->template_delete_with_http_info: #{e}"
|
131
131
|
end
|
132
132
|
```
|
@@ -165,20 +165,20 @@ Retrieves the details of an existing template.
|
|
165
165
|
require 'time'
|
166
166
|
require 'openapi_client'
|
167
167
|
# setup authorization
|
168
|
-
|
168
|
+
Lob.configure do |config|
|
169
169
|
# Configure HTTP basic authorization: basicAuth
|
170
170
|
config.username = 'YOUR USERNAME'
|
171
171
|
config.password = 'YOUR PASSWORD'
|
172
172
|
end
|
173
173
|
|
174
|
-
api_instance =
|
174
|
+
api_instance = Lob::TemplatesApi.new
|
175
175
|
tmpl_id = 'tmpl_id_example' # String | id of the template
|
176
176
|
|
177
177
|
begin
|
178
178
|
# get
|
179
179
|
result = api_instance.get(tmpl_id)
|
180
180
|
p result
|
181
|
-
rescue
|
181
|
+
rescue Lob::ApiError => e
|
182
182
|
puts "Error when calling TemplatesApi->get: #{e}"
|
183
183
|
end
|
184
184
|
```
|
@@ -196,7 +196,7 @@ begin
|
|
196
196
|
p status_code # => 2xx
|
197
197
|
p headers # => { ... }
|
198
198
|
p data # => <Template>
|
199
|
-
rescue
|
199
|
+
rescue Lob::ApiError => e
|
200
200
|
puts "Error when calling TemplatesApi->template_retrieve_with_http_info: #{e}"
|
201
201
|
end
|
202
202
|
```
|
@@ -235,21 +235,21 @@ Updates the description and/or published version of the template with the given
|
|
235
235
|
require 'time'
|
236
236
|
require 'openapi_client'
|
237
237
|
# setup authorization
|
238
|
-
|
238
|
+
Lob.configure do |config|
|
239
239
|
# Configure HTTP basic authorization: basicAuth
|
240
240
|
config.username = 'YOUR USERNAME'
|
241
241
|
config.password = 'YOUR PASSWORD'
|
242
242
|
end
|
243
243
|
|
244
|
-
api_instance =
|
244
|
+
api_instance = Lob::TemplatesApi.new
|
245
245
|
tmpl_id = 'tmpl_id_example' # String | id of the template
|
246
|
-
template_update =
|
246
|
+
template_update = Lob::TemplateUpdate.new # TemplateUpdate |
|
247
247
|
|
248
248
|
begin
|
249
249
|
# update
|
250
250
|
result = api_instance.update(tmpl_id, template_update)
|
251
251
|
p result
|
252
|
-
rescue
|
252
|
+
rescue Lob::ApiError => e
|
253
253
|
puts "Error when calling TemplatesApi->update: #{e}"
|
254
254
|
end
|
255
255
|
```
|
@@ -267,7 +267,7 @@ begin
|
|
267
267
|
p status_code # => 2xx
|
268
268
|
p headers # => { ... }
|
269
269
|
p data # => <Template>
|
270
|
-
rescue
|
270
|
+
rescue Lob::ApiError => e
|
271
271
|
puts "Error when calling TemplatesApi->template_update_with_http_info: #{e}"
|
272
272
|
end
|
273
273
|
```
|
@@ -307,13 +307,13 @@ Returns a list of your templates. The templates are returned sorted by creation
|
|
307
307
|
require 'time'
|
308
308
|
require 'openapi_client'
|
309
309
|
# setup authorization
|
310
|
-
|
310
|
+
Lob.configure do |config|
|
311
311
|
# Configure HTTP basic authorization: basicAuth
|
312
312
|
config.username = 'YOUR USERNAME'
|
313
313
|
config.password = 'YOUR PASSWORD'
|
314
314
|
end
|
315
315
|
|
316
|
-
api_instance =
|
316
|
+
api_instance = Lob::TemplatesApi.new
|
317
317
|
opts = {
|
318
318
|
limit: 56, # Integer | How many results to return.
|
319
319
|
before: 'before_example', # String | A reference to a list entry used for paginating to the previous set of entries. This field is pre-populated in the `previous_url` field in the return response.
|
@@ -327,7 +327,7 @@ begin
|
|
327
327
|
# list
|
328
328
|
result = api_instance.list(opts)
|
329
329
|
p result
|
330
|
-
rescue
|
330
|
+
rescue Lob::ApiError => e
|
331
331
|
puts "Error when calling TemplatesApi->list: #{e}"
|
332
332
|
end
|
333
333
|
```
|
@@ -345,7 +345,7 @@ begin
|
|
345
345
|
p status_code # => 2xx
|
346
346
|
p headers # => { ... }
|
347
347
|
p data # => <TemplateList>
|
348
|
-
rescue
|
348
|
+
rescue Lob::ApiError => e
|
349
349
|
puts "Error when calling TemplatesApi->templates_list_with_http_info: #{e}"
|
350
350
|
end
|
351
351
|
```
|
data/docs/Thumbnail.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::Thumbnail
|
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::Thumbnail.new(
|
17
17
|
small: null,
|
18
18
|
medium: null,
|
19
19
|
large: null
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TrackingEventCertified
|
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::TrackingEventCertified.new(
|
23
23
|
type: null,
|
24
24
|
name: null,
|
25
25
|
details: null,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TrackingEventDetails
|
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::TrackingEventDetails.new(
|
18
18
|
event: null,
|
19
19
|
description: null,
|
20
20
|
notes: null,
|
data/docs/TrackingEventNormal.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::TrackingEventNormal
|
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::TrackingEventNormal.new(
|
23
23
|
type: null,
|
24
24
|
name: null,
|
25
25
|
details: null,
|
data/docs/Upload.md
CHANGED
data/docs/UploadCreateExport.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UploadCreateExport
|
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::UploadCreateExport.new(
|
16
16
|
message: null,
|
17
17
|
export_id: null
|
18
18
|
)
|
data/docs/UploadFile.md
CHANGED
data/docs/UploadState.md
CHANGED
data/docs/UploadUpdatable.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UploadUpdatable
|
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::UploadUpdatable.new(
|
16
16
|
state: null,
|
17
17
|
original_filename: null
|
18
18
|
)
|
data/docs/UploadWritable.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UploadWritable
|
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::UploadWritable.new(
|
15
15
|
campaign_id: null
|
16
16
|
)
|
17
17
|
```
|
data/docs/UploadsApi.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UploadsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -28,13 +28,13 @@ Retrieves the details of an existing export. You need only supply the unique exp
|
|
28
28
|
require 'time'
|
29
29
|
require 'openapi_client'
|
30
30
|
# setup authorization
|
31
|
-
|
31
|
+
Lob.configure do |config|
|
32
32
|
# Configure HTTP basic authorization: basicAuth
|
33
33
|
config.username = 'YOUR USERNAME'
|
34
34
|
config.password = 'YOUR PASSWORD'
|
35
35
|
end
|
36
36
|
|
37
|
-
api_instance =
|
37
|
+
api_instance = Lob::UploadsApi.new
|
38
38
|
upl_id = 'upl_id_example' # String | ID of the upload
|
39
39
|
ex_id = 'ex_id_example' # String | ID of the export
|
40
40
|
|
@@ -42,7 +42,7 @@ begin
|
|
42
42
|
# get_export
|
43
43
|
result = api_instance.get_export(upl_id, ex_id)
|
44
44
|
p result
|
45
|
-
rescue
|
45
|
+
rescue Lob::ApiError => e
|
46
46
|
puts "Error when calling UploadsApi->get_export: #{e}"
|
47
47
|
end
|
48
48
|
```
|
@@ -60,7 +60,7 @@ begin
|
|
60
60
|
p status_code # => 2xx
|
61
61
|
p headers # => { ... }
|
62
62
|
p data # => <Export>
|
63
|
-
rescue
|
63
|
+
rescue Lob::ApiError => e
|
64
64
|
puts "Error when calling UploadsApi->export_retrieve_with_http_info: #{e}"
|
65
65
|
end
|
66
66
|
```
|
@@ -100,20 +100,20 @@ Creates a new upload with the provided properties.
|
|
100
100
|
require 'time'
|
101
101
|
require 'openapi_client'
|
102
102
|
# setup authorization
|
103
|
-
|
103
|
+
Lob.configure do |config|
|
104
104
|
# Configure HTTP basic authorization: basicAuth
|
105
105
|
config.username = 'YOUR USERNAME'
|
106
106
|
config.password = 'YOUR PASSWORD'
|
107
107
|
end
|
108
108
|
|
109
|
-
api_instance =
|
110
|
-
upload_writable =
|
109
|
+
api_instance = Lob::UploadsApi.new
|
110
|
+
upload_writable = Lob::UploadWritable.new({campaign_id: 'campaign_id_example'}) # UploadWritable |
|
111
111
|
|
112
112
|
begin
|
113
113
|
# create_upload
|
114
114
|
result = api_instance.create_upload(upload_writable)
|
115
115
|
p result
|
116
|
-
rescue
|
116
|
+
rescue Lob::ApiError => e
|
117
117
|
puts "Error when calling UploadsApi->create_upload: #{e}"
|
118
118
|
end
|
119
119
|
```
|
@@ -131,7 +131,7 @@ begin
|
|
131
131
|
p status_code # => 2xx
|
132
132
|
p headers # => { ... }
|
133
133
|
p data # => <Upload>
|
134
|
-
rescue
|
134
|
+
rescue Lob::ApiError => e
|
135
135
|
puts "Error when calling UploadsApi->upload_create_with_http_info: #{e}"
|
136
136
|
end
|
137
137
|
```
|
@@ -170,19 +170,19 @@ Delete an existing upload. You need only supply the unique identifier that was r
|
|
170
170
|
require 'time'
|
171
171
|
require 'openapi_client'
|
172
172
|
# setup authorization
|
173
|
-
|
173
|
+
Lob.configure do |config|
|
174
174
|
# Configure HTTP basic authorization: basicAuth
|
175
175
|
config.username = 'YOUR USERNAME'
|
176
176
|
config.password = 'YOUR PASSWORD'
|
177
177
|
end
|
178
178
|
|
179
|
-
api_instance =
|
179
|
+
api_instance = Lob::UploadsApi.new
|
180
180
|
upl_id = 'upl_id_example' # String | id of the upload
|
181
181
|
|
182
182
|
begin
|
183
183
|
# delete_upload
|
184
184
|
api_instance.delete_upload(upl_id)
|
185
|
-
rescue
|
185
|
+
rescue Lob::ApiError => e
|
186
186
|
puts "Error when calling UploadsApi->delete_upload: #{e}"
|
187
187
|
end
|
188
188
|
```
|
@@ -200,7 +200,7 @@ begin
|
|
200
200
|
p status_code # => 2xx
|
201
201
|
p headers # => { ... }
|
202
202
|
p data # => nil
|
203
|
-
rescue
|
203
|
+
rescue Lob::ApiError => e
|
204
204
|
puts "Error when calling UploadsApi->upload_delete_with_http_info: #{e}"
|
205
205
|
end
|
206
206
|
```
|
@@ -239,21 +239,21 @@ Campaign Exports can help you understand exactly which records in a campaign cou
|
|
239
239
|
require 'time'
|
240
240
|
require 'openapi_client'
|
241
241
|
# setup authorization
|
242
|
-
|
242
|
+
Lob.configure do |config|
|
243
243
|
# Configure HTTP basic authorization: basicAuth
|
244
244
|
config.username = 'YOUR USERNAME'
|
245
245
|
config.password = 'YOUR PASSWORD'
|
246
246
|
end
|
247
247
|
|
248
|
-
api_instance =
|
248
|
+
api_instance = Lob::UploadsApi.new
|
249
249
|
upl_id = 'upl_id_example' # String | ID of the upload
|
250
|
-
export_model =
|
250
|
+
export_model = Lob::ExportModel.new # ExportModel |
|
251
251
|
|
252
252
|
begin
|
253
253
|
# create_export
|
254
254
|
result = api_instance.create_export(upl_id, export_model)
|
255
255
|
p result
|
256
|
-
rescue
|
256
|
+
rescue Lob::ApiError => e
|
257
257
|
puts "Error when calling UploadsApi->create_export: #{e}"
|
258
258
|
end
|
259
259
|
```
|
@@ -271,7 +271,7 @@ begin
|
|
271
271
|
p status_code # => 2xx
|
272
272
|
p headers # => { ... }
|
273
273
|
p data # => <UploadCreateExport>
|
274
|
-
rescue
|
274
|
+
rescue Lob::ApiError => e
|
275
275
|
puts "Error when calling UploadsApi->upload_export_create_with_http_info: #{e}"
|
276
276
|
end
|
277
277
|
```
|
@@ -311,13 +311,13 @@ Upload an [audience file](https://help.lob.com/best-practices/campaign-audience-
|
|
311
311
|
require 'time'
|
312
312
|
require 'openapi_client'
|
313
313
|
# setup authorization
|
314
|
-
|
314
|
+
Lob.configure do |config|
|
315
315
|
# Configure HTTP basic authorization: basicAuth
|
316
316
|
config.username = 'YOUR USERNAME'
|
317
317
|
config.password = 'YOUR PASSWORD'
|
318
318
|
end
|
319
319
|
|
320
|
-
api_instance =
|
320
|
+
api_instance = Lob::UploadsApi.new
|
321
321
|
upl_id = 'upl_id_example' # String | ID of the upload
|
322
322
|
file = TODO # AnyType |
|
323
323
|
|
@@ -325,7 +325,7 @@ begin
|
|
325
325
|
# upload_file
|
326
326
|
result = api_instance.upload_file(upl_id, file)
|
327
327
|
p result
|
328
|
-
rescue
|
328
|
+
rescue Lob::ApiError => e
|
329
329
|
puts "Error when calling UploadsApi->upload_file: #{e}"
|
330
330
|
end
|
331
331
|
```
|
@@ -343,7 +343,7 @@ begin
|
|
343
343
|
p status_code # => 2xx
|
344
344
|
p headers # => { ... }
|
345
345
|
p data # => <UploadFile>
|
346
|
-
rescue
|
346
|
+
rescue Lob::ApiError => e
|
347
347
|
puts "Error when calling UploadsApi->upload_file_create_with_http_info: #{e}"
|
348
348
|
end
|
349
349
|
```
|
@@ -383,20 +383,20 @@ Retrieves the details of an existing upload. You need only supply the unique upl
|
|
383
383
|
require 'time'
|
384
384
|
require 'openapi_client'
|
385
385
|
# setup authorization
|
386
|
-
|
386
|
+
Lob.configure do |config|
|
387
387
|
# Configure HTTP basic authorization: basicAuth
|
388
388
|
config.username = 'YOUR USERNAME'
|
389
389
|
config.password = 'YOUR PASSWORD'
|
390
390
|
end
|
391
391
|
|
392
|
-
api_instance =
|
392
|
+
api_instance = Lob::UploadsApi.new
|
393
393
|
upl_id = 'upl_id_example' # String | id of the upload
|
394
394
|
|
395
395
|
begin
|
396
396
|
# get_upload
|
397
397
|
result = api_instance.get_upload(upl_id)
|
398
398
|
p result
|
399
|
-
rescue
|
399
|
+
rescue Lob::ApiError => e
|
400
400
|
puts "Error when calling UploadsApi->get_upload: #{e}"
|
401
401
|
end
|
402
402
|
```
|
@@ -414,7 +414,7 @@ begin
|
|
414
414
|
p status_code # => 2xx
|
415
415
|
p headers # => { ... }
|
416
416
|
p data # => <Upload>
|
417
|
-
rescue
|
417
|
+
rescue Lob::ApiError => e
|
418
418
|
puts "Error when calling UploadsApi->upload_retrieve_with_http_info: #{e}"
|
419
419
|
end
|
420
420
|
```
|
@@ -453,21 +453,21 @@ Update the details of an existing upload. You need only supply the unique identi
|
|
453
453
|
require 'time'
|
454
454
|
require 'openapi_client'
|
455
455
|
# setup authorization
|
456
|
-
|
456
|
+
Lob.configure do |config|
|
457
457
|
# Configure HTTP basic authorization: basicAuth
|
458
458
|
config.username = 'YOUR USERNAME'
|
459
459
|
config.password = 'YOUR PASSWORD'
|
460
460
|
end
|
461
461
|
|
462
|
-
api_instance =
|
462
|
+
api_instance = Lob::UploadsApi.new
|
463
463
|
upl_id = 'upl_id_example' # String | id of the upload
|
464
|
-
upload_updatable =
|
464
|
+
upload_updatable = Lob::UploadUpdatable.new # UploadUpdatable |
|
465
465
|
|
466
466
|
begin
|
467
467
|
# update_upload
|
468
468
|
result = api_instance.update_upload(upl_id, upload_updatable)
|
469
469
|
p result
|
470
|
-
rescue
|
470
|
+
rescue Lob::ApiError => e
|
471
471
|
puts "Error when calling UploadsApi->update_upload: #{e}"
|
472
472
|
end
|
473
473
|
```
|
@@ -485,7 +485,7 @@ begin
|
|
485
485
|
p status_code # => 2xx
|
486
486
|
p headers # => { ... }
|
487
487
|
p data # => <Upload>
|
488
|
-
rescue
|
488
|
+
rescue Lob::ApiError => e
|
489
489
|
puts "Error when calling UploadsApi->upload_update_with_http_info: #{e}"
|
490
490
|
end
|
491
491
|
```
|
@@ -525,13 +525,13 @@ Returns a list of your uploads. Optionally, filter uploads by campaign.
|
|
525
525
|
require 'time'
|
526
526
|
require 'openapi_client'
|
527
527
|
# setup authorization
|
528
|
-
|
528
|
+
Lob.configure do |config|
|
529
529
|
# Configure HTTP basic authorization: basicAuth
|
530
530
|
config.username = 'YOUR USERNAME'
|
531
531
|
config.password = 'YOUR PASSWORD'
|
532
532
|
end
|
533
533
|
|
534
|
-
api_instance =
|
534
|
+
api_instance = Lob::UploadsApi.new
|
535
535
|
opts = {
|
536
536
|
campaign_id: 'campaign_id_example' # String | id of the campaign
|
537
537
|
}
|
@@ -540,7 +540,7 @@ begin
|
|
540
540
|
# list_upload
|
541
541
|
result = api_instance.list_upload(opts)
|
542
542
|
p result
|
543
|
-
rescue
|
543
|
+
rescue Lob::ApiError => e
|
544
544
|
puts "Error when calling UploadsApi->list_upload: #{e}"
|
545
545
|
end
|
546
546
|
```
|
@@ -558,7 +558,7 @@ begin
|
|
558
558
|
p status_code # => 2xx
|
559
559
|
p headers # => { ... }
|
560
560
|
p data # => <Array<Upload>>
|
561
|
-
rescue
|
561
|
+
rescue Lob::ApiError => e
|
562
562
|
puts "Error when calling UploadsApi->uploads_list_with_http_info: #{e}"
|
563
563
|
end
|
564
564
|
```
|
data/docs/UsAutocompletions.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UsAutocompletions
|
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::UsAutocompletions.new(
|
17
17
|
id: null,
|
18
18
|
suggestions: null,
|
19
19
|
object: null
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UsAutocompletionsApi
|
2
2
|
|
3
3
|
All URIs are relative to *https://api.lob.com/v1*
|
4
4
|
|
@@ -21,20 +21,20 @@ Given an address prefix consisting of a partial primary line, as well as optiona
|
|
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
|
-
us_autocompletions_writable =
|
30
|
+
api_instance = Lob::UsAutocompletionsApi.new
|
31
|
+
us_autocompletions_writable = Lob::UsAutocompletionsWritable.new({address_prefix: 'address_prefix_example'}) # UsAutocompletionsWritable |
|
32
32
|
|
33
33
|
begin
|
34
34
|
# autocomplete
|
35
35
|
result = api_instance.autocomplete(us_autocompletions_writable)
|
36
36
|
p result
|
37
|
-
rescue
|
37
|
+
rescue Lob::ApiError => e
|
38
38
|
puts "Error when calling UsAutocompletionsApi->autocomplete: #{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 # => <UsAutocompletions>
|
55
|
-
rescue
|
55
|
+
rescue Lob::ApiError => e
|
56
56
|
puts "Error when calling UsAutocompletionsApi->us_autocompletion_with_http_info: #{e}"
|
57
57
|
end
|
58
58
|
```
|
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UsAutocompletionsWritable
|
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::UsAutocompletionsWritable.new(
|
19
19
|
address_prefix: null,
|
20
20
|
city: null,
|
21
21
|
state: null,
|
data/docs/UsComponents.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Lob::UsComponents
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
@@ -36,7 +36,7 @@
|
|
36
36
|
```ruby
|
37
37
|
require 'openapi_client'
|
38
38
|
|
39
|
-
instance =
|
39
|
+
instance = Lob::UsComponents.new(
|
40
40
|
primary_number: null,
|
41
41
|
street_predirection: null,
|
42
42
|
street_name: null,
|