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.
Files changed (410) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_SNIPPETS.md +1871 -0
  3. data/Gemfile.lock +7 -7
  4. data/MIGRATION.md +174 -0
  5. data/README.md +10 -34
  6. data/__tests__/Api/Address.unit.rb +1 -1
  7. data/__tests__/Api/BankAccount.unit.rb +1 -1
  8. data/__tests__/Api/BillingGroup.unit.rb +1 -1
  9. data/__tests__/Api/Card.unit.rb +1 -1
  10. data/__tests__/Api/CardOrder.unit.rb +1 -1
  11. data/__tests__/Api/Check.unit.rb +1 -1
  12. data/__tests__/Api/IntlAutocompletion.unit.rb +1 -1
  13. data/__tests__/Api/IntlVerification.unit.rb +1 -1
  14. data/__tests__/Api/Letter.unit.rb +1 -1
  15. data/__tests__/Api/Postcard.unit.rb +1 -1
  16. data/__tests__/Api/ReverseGeocodeLookup.unit.rb +1 -1
  17. data/__tests__/Api/SelfMailer.unit.rb +1 -1
  18. data/__tests__/Api/Template.unit.rb +1 -1
  19. data/__tests__/Api/TemplateVersion.unit.rb +1 -1
  20. data/__tests__/Api/UsAutocompletion.unit.rb +8 -8
  21. data/__tests__/Api/UsVerification.unit.rb +1 -1
  22. data/__tests__/Api/ZipLookup.unit.rb +1 -1
  23. data/__tests__/Integration/Address.spec.rb +3 -3
  24. data/__tests__/Integration/BankAccount.spec.rb +3 -3
  25. data/__tests__/Integration/BillingGroup.spec.rb +3 -3
  26. data/__tests__/Integration/Card.spec.rb +3 -3
  27. data/__tests__/Integration/CardOrder.spec.rb +3 -3
  28. data/__tests__/Integration/Check.spec.rb +3 -3
  29. data/__tests__/Integration/IntlAutocompletion.spec.rb +3 -3
  30. data/__tests__/Integration/IntlVerification.spec.rb +3 -3
  31. data/__tests__/Integration/Letter.spec.rb +3 -3
  32. data/__tests__/Integration/Postcard.spec.rb +3 -3
  33. data/__tests__/Integration/ReverseGeocodeLookup.spec.rb +1 -1
  34. data/__tests__/Integration/SelfMailer.spec.rb +15 -9
  35. data/__tests__/Integration/Template.spec.rb +3 -3
  36. data/__tests__/Integration/TemplateVersion.spec.rb +3 -3
  37. data/__tests__/Integration/UsAutocompletion.spec.rb +3 -3
  38. data/__tests__/Integration/UsVerification.spec.rb +3 -3
  39. data/__tests__/Integration/ZipLookup.spec.rb +1 -1
  40. data/__tests__/TestFixtures.rb +5 -5
  41. data/docs/Address.md +2 -2
  42. data/docs/AddressDeletion.md +2 -2
  43. data/docs/AddressDomestic.md +2 -2
  44. data/docs/AddressDomesticExpanded.md +2 -2
  45. data/docs/AddressEditable.md +2 -2
  46. data/docs/AddressList.md +2 -2
  47. data/docs/AddressesApi.md +18 -18
  48. data/docs/BankAccount.md +2 -2
  49. data/docs/BankAccountDeletion.md +2 -2
  50. data/docs/BankAccountList.md +2 -2
  51. data/docs/BankAccountVerify.md +2 -2
  52. data/docs/BankAccountWritable.md +2 -2
  53. data/docs/BankAccountsApi.md +23 -23
  54. data/docs/BankTypeEnum.md +2 -2
  55. data/docs/BillingGroup.md +2 -2
  56. data/docs/BillingGroupEditable.md +2 -2
  57. data/docs/BillingGroupList.md +2 -2
  58. data/docs/BillingGroupsApi.md +20 -20
  59. data/docs/Buckslip.md +2 -2
  60. data/docs/BuckslipDeletion.md +2 -2
  61. data/docs/BuckslipEditable.md +2 -2
  62. data/docs/BuckslipOrder.md +2 -2
  63. data/docs/BuckslipOrderEditable.md +2 -2
  64. data/docs/BuckslipOrdersApi.md +10 -10
  65. data/docs/BuckslipOrdersList.md +2 -2
  66. data/docs/BuckslipUpdatable.md +2 -2
  67. data/docs/BuckslipsApi.md +23 -23
  68. data/docs/BuckslipsList.md +2 -2
  69. data/docs/BulkError.md +2 -2
  70. data/docs/BulkErrorProperties.md +2 -2
  71. data/docs/Campaign.md +2 -2
  72. data/docs/CampaignCreative.md +2 -2
  73. data/docs/CampaignDeletion.md +2 -2
  74. data/docs/CampaignUpdatable.md +2 -2
  75. data/docs/CampaignWritable.md +2 -2
  76. data/docs/CampaignsApi.md +23 -23
  77. data/docs/CampaignsList.md +2 -2
  78. data/docs/Card.md +2 -2
  79. data/docs/CardDeletion.md +2 -2
  80. data/docs/CardEditable.md +2 -2
  81. data/docs/CardList.md +2 -2
  82. data/docs/CardOrder.md +2 -2
  83. data/docs/CardOrderEditable.md +2 -2
  84. data/docs/CardOrderList.md +2 -2
  85. data/docs/CardOrdersApi.md +10 -10
  86. data/docs/CardUpdatable.md +2 -2
  87. data/docs/CardsApi.md +23 -23
  88. data/docs/Check.md +2 -2
  89. data/docs/CheckDeletion.md +2 -2
  90. data/docs/CheckEditable.md +2 -2
  91. data/docs/CheckList.md +2 -2
  92. data/docs/ChecksApi.md +20 -20
  93. data/docs/CmpScheduleType.md +2 -2
  94. data/docs/CmpUseType.md +2 -2
  95. data/docs/CountryExtended.md +2 -2
  96. data/docs/CountryExtendedExpanded.md +2 -2
  97. data/docs/CreativePatch.md +2 -2
  98. data/docs/CreativeResponse.md +2 -2
  99. data/docs/CreativeWritable.md +2 -2
  100. data/docs/CreativesApi.md +15 -15
  101. data/docs/CustomEnvelopeReturned.md +2 -2
  102. data/docs/DefaultApi.md +5 -5
  103. data/docs/DeliverabilityAnalysis.md +2 -2
  104. data/docs/DpvFootnote.md +2 -2
  105. data/docs/EngineHtml.md +2 -2
  106. data/docs/EventType.md +2 -2
  107. data/docs/Events.md +2 -2
  108. data/docs/Export.md +2 -2
  109. data/docs/ExportModel.md +2 -2
  110. data/docs/GeocodeAddresses.md +2 -2
  111. data/docs/GeocodeComponents.md +2 -2
  112. data/docs/HTTPValidationError.md +2 -2
  113. data/docs/IdentityValidation.md +2 -2
  114. data/docs/IdentityValidationApi.md +6 -6
  115. data/docs/InlineObject.md +2 -2
  116. data/docs/IntlAutocompletions.md +2 -2
  117. data/docs/IntlAutocompletionsApi.md +6 -6
  118. data/docs/IntlAutocompletionsWritable.md +2 -2
  119. data/docs/IntlComponents.md +2 -2
  120. data/docs/IntlSuggestions.md +2 -2
  121. data/docs/IntlVerification.md +2 -2
  122. data/docs/IntlVerificationOrError.md +2 -2
  123. data/docs/IntlVerificationWritable.md +2 -2
  124. data/docs/IntlVerifications.md +2 -2
  125. data/docs/IntlVerificationsApi.md +11 -11
  126. data/docs/IntlVerificationsPayload.md +2 -2
  127. data/docs/Letter.md +2 -2
  128. data/docs/LetterCustomEnvelope.md +2 -2
  129. data/docs/LetterDeletion.md +2 -2
  130. data/docs/LetterDetailsReturned.md +2 -2
  131. data/docs/LetterDetailsWritable.md +2 -2
  132. data/docs/LetterEditable.md +2 -2
  133. data/docs/LetterList.md +2 -2
  134. data/docs/LettersApi.md +20 -20
  135. data/docs/LobConfidenceScore.md +2 -2
  136. data/docs/LobError.md +2 -2
  137. data/docs/Location.md +2 -2
  138. data/docs/LocationAnalysis.md +2 -2
  139. data/docs/MailType.md +2 -2
  140. data/docs/MultiLineAddress.md +2 -2
  141. data/docs/MultipleComponents.md +2 -2
  142. data/docs/MultipleComponentsIntl.md +2 -2
  143. data/docs/MultipleComponentsList.md +2 -2
  144. data/docs/PlaceholderModel.md +2 -2
  145. data/docs/Postcard.md +2 -2
  146. data/docs/PostcardDeletion.md +2 -2
  147. data/docs/PostcardDetailsReturned.md +2 -2
  148. data/docs/PostcardDetailsWritable.md +2 -2
  149. data/docs/PostcardEditable.md +2 -2
  150. data/docs/PostcardList.md +2 -2
  151. data/docs/PostcardSize.md +2 -2
  152. data/docs/PostcardsApi.md +21 -21
  153. data/docs/QrCode.md +2 -2
  154. data/docs/ReturnEnvelope.md +2 -2
  155. data/docs/ReverseGeocode.md +2 -2
  156. data/docs/ReverseGeocodeLookupsApi.md +6 -6
  157. data/docs/SelfMailer.md +2 -2
  158. data/docs/SelfMailerDeletion.md +2 -2
  159. data/docs/SelfMailerEditable.md +2 -2
  160. data/docs/SelfMailerList.md +2 -2
  161. data/docs/SelfMailerSize.md +2 -2
  162. data/docs/SelfMailersApi.md +21 -21
  163. data/docs/SortBy.md +2 -2
  164. data/docs/SortBy1.md +2 -2
  165. data/docs/SortBy2.md +2 -2
  166. data/docs/SortBy3.md +2 -2
  167. data/docs/SortByDateModified.md +2 -2
  168. data/docs/Suggestions.md +2 -2
  169. data/docs/Template.md +2 -2
  170. data/docs/TemplateDeletion.md +2 -2
  171. data/docs/TemplateList.md +2 -2
  172. data/docs/TemplateUpdate.md +2 -2
  173. data/docs/TemplateVersion.md +2 -2
  174. data/docs/TemplateVersionDeletion.md +2 -2
  175. data/docs/TemplateVersionList.md +2 -2
  176. data/docs/TemplateVersionUpdatable.md +2 -2
  177. data/docs/TemplateVersionWritable.md +2 -2
  178. data/docs/TemplateVersionsApi.md +23 -23
  179. data/docs/TemplateWritable.md +2 -2
  180. data/docs/TemplatesApi.md +23 -23
  181. data/docs/Thumbnail.md +2 -2
  182. data/docs/TrackingEventCertified.md +2 -2
  183. data/docs/TrackingEventDetails.md +2 -2
  184. data/docs/TrackingEventNormal.md +2 -2
  185. data/docs/Upload.md +2 -2
  186. data/docs/UploadCreateExport.md +2 -2
  187. data/docs/UploadFile.md +2 -2
  188. data/docs/UploadState.md +2 -2
  189. data/docs/UploadUpdatable.md +2 -2
  190. data/docs/UploadWritable.md +2 -2
  191. data/docs/UploadsApi.md +36 -36
  192. data/docs/UsAutocompletions.md +2 -2
  193. data/docs/UsAutocompletionsApi.md +6 -6
  194. data/docs/UsAutocompletionsWritable.md +2 -2
  195. data/docs/UsComponents.md +2 -2
  196. data/docs/UsVerification.md +2 -2
  197. data/docs/UsVerificationOrError.md +2 -2
  198. data/docs/UsVerifications.md +2 -2
  199. data/docs/UsVerificationsApi.md +11 -11
  200. data/docs/UsVerificationsWritable.md +2 -2
  201. data/docs/ValidationError.md +2 -2
  202. data/docs/Zip.md +2 -2
  203. data/docs/ZipCodeType.md +2 -2
  204. data/docs/ZipEditable.md +2 -2
  205. data/docs/ZipLookupCity.md +2 -2
  206. data/docs/ZipLookupsApi.md +6 -6
  207. data/lib/openapi_client/api/addresses_api.rb +1 -1
  208. data/lib/openapi_client/api/bank_accounts_api.rb +1 -1
  209. data/lib/openapi_client/api/billing_groups_api.rb +1 -1
  210. data/lib/openapi_client/api/buckslip_orders_api.rb +1 -1
  211. data/lib/openapi_client/api/buckslips_api.rb +1 -1
  212. data/lib/openapi_client/api/campaigns_api.rb +1 -1
  213. data/lib/openapi_client/api/card_orders_api.rb +1 -1
  214. data/lib/openapi_client/api/cards_api.rb +1 -1
  215. data/lib/openapi_client/api/checks_api.rb +1 -1
  216. data/lib/openapi_client/api/creatives_api.rb +1 -1
  217. data/lib/openapi_client/api/default_api.rb +1 -1
  218. data/lib/openapi_client/api/identity_validation_api.rb +1 -1
  219. data/lib/openapi_client/api/intl_autocompletions_api.rb +1 -1
  220. data/lib/openapi_client/api/intl_verifications_api.rb +1 -1
  221. data/lib/openapi_client/api/letters_api.rb +1 -1
  222. data/lib/openapi_client/api/postcards_api.rb +1 -1
  223. data/lib/openapi_client/api/reverse_geocode_lookups_api.rb +1 -1
  224. data/lib/openapi_client/api/self_mailers_api.rb +1 -1
  225. data/lib/openapi_client/api/template_versions_api.rb +1 -1
  226. data/lib/openapi_client/api/templates_api.rb +1 -1
  227. data/lib/openapi_client/api/uploads_api.rb +1 -1
  228. data/lib/openapi_client/api/us_autocompletions_api.rb +1 -1
  229. data/lib/openapi_client/api/us_verifications_api.rb +1 -1
  230. data/lib/openapi_client/api/zip_lookups_api.rb +1 -1
  231. data/lib/openapi_client/api_client.rb +2 -2
  232. data/lib/openapi_client/api_error.rb +1 -1
  233. data/lib/openapi_client/configuration.rb +1 -1
  234. data/lib/openapi_client/models/address.rb +4 -4
  235. data/lib/openapi_client/models/address_deletion.rb +4 -4
  236. data/lib/openapi_client/models/address_domestic.rb +4 -4
  237. data/lib/openapi_client/models/address_domestic_expanded.rb +4 -4
  238. data/lib/openapi_client/models/address_editable.rb +4 -4
  239. data/lib/openapi_client/models/address_list.rb +4 -4
  240. data/lib/openapi_client/models/bank_account.rb +4 -4
  241. data/lib/openapi_client/models/bank_account_deletion.rb +4 -4
  242. data/lib/openapi_client/models/bank_account_list.rb +4 -4
  243. data/lib/openapi_client/models/bank_account_verify.rb +4 -4
  244. data/lib/openapi_client/models/bank_account_writable.rb +4 -4
  245. data/lib/openapi_client/models/bank_type_enum.rb +1 -1
  246. data/lib/openapi_client/models/billing_group.rb +4 -4
  247. data/lib/openapi_client/models/billing_group_editable.rb +4 -4
  248. data/lib/openapi_client/models/billing_group_list.rb +4 -4
  249. data/lib/openapi_client/models/buckslip.rb +4 -4
  250. data/lib/openapi_client/models/buckslip_deletion.rb +4 -4
  251. data/lib/openapi_client/models/buckslip_editable.rb +4 -4
  252. data/lib/openapi_client/models/buckslip_order.rb +4 -4
  253. data/lib/openapi_client/models/buckslip_order_editable.rb +4 -4
  254. data/lib/openapi_client/models/buckslip_orders_list.rb +4 -4
  255. data/lib/openapi_client/models/buckslip_updatable.rb +4 -4
  256. data/lib/openapi_client/models/buckslips_list.rb +4 -4
  257. data/lib/openapi_client/models/bulk_error.rb +4 -4
  258. data/lib/openapi_client/models/bulk_error_properties.rb +4 -4
  259. data/lib/openapi_client/models/campaign.rb +4 -4
  260. data/lib/openapi_client/models/campaign_creative.rb +4 -4
  261. data/lib/openapi_client/models/campaign_deletion.rb +4 -4
  262. data/lib/openapi_client/models/campaign_updatable.rb +4 -4
  263. data/lib/openapi_client/models/campaign_writable.rb +4 -4
  264. data/lib/openapi_client/models/campaigns_list.rb +4 -4
  265. data/lib/openapi_client/models/card.rb +4 -4
  266. data/lib/openapi_client/models/card_deletion.rb +4 -4
  267. data/lib/openapi_client/models/card_editable.rb +4 -4
  268. data/lib/openapi_client/models/card_list.rb +4 -4
  269. data/lib/openapi_client/models/card_order.rb +4 -4
  270. data/lib/openapi_client/models/card_order_editable.rb +4 -4
  271. data/lib/openapi_client/models/card_order_list.rb +4 -4
  272. data/lib/openapi_client/models/card_updatable.rb +4 -4
  273. data/lib/openapi_client/models/check.rb +18 -8
  274. data/lib/openapi_client/models/check_deletion.rb +4 -4
  275. data/lib/openapi_client/models/check_editable.rb +18 -8
  276. data/lib/openapi_client/models/check_list.rb +4 -4
  277. data/lib/openapi_client/models/chk_use_type.rb +38 -0
  278. data/lib/openapi_client/models/cmp_schedule_type.rb +1 -1
  279. data/lib/openapi_client/models/cmp_use_type.rb +1 -1
  280. data/lib/openapi_client/models/country_extended.rb +1 -1
  281. data/lib/openapi_client/models/country_extended_expanded.rb +1 -1
  282. data/lib/openapi_client/models/creative_patch.rb +4 -4
  283. data/lib/openapi_client/models/creative_response.rb +4 -4
  284. data/lib/openapi_client/models/creative_writable.rb +5 -5
  285. data/lib/openapi_client/models/custom_envelope_returned.rb +4 -4
  286. data/lib/openapi_client/models/deliverability_analysis.rb +4 -4
  287. data/lib/openapi_client/models/dpv_footnote.rb +1 -1
  288. data/lib/openapi_client/models/engine_html.rb +1 -1
  289. data/lib/openapi_client/models/event_type.rb +4 -4
  290. data/lib/openapi_client/models/events.rb +4 -4
  291. data/lib/openapi_client/models/export.rb +4 -4
  292. data/lib/openapi_client/models/export_model.rb +4 -4
  293. data/lib/openapi_client/models/geocode_addresses.rb +4 -4
  294. data/lib/openapi_client/models/geocode_components.rb +4 -4
  295. data/lib/openapi_client/models/http_validation_error.rb +4 -4
  296. data/lib/openapi_client/models/identity_validation.rb +4 -4
  297. data/lib/openapi_client/models/inline_object.rb +4 -4
  298. data/lib/openapi_client/models/intl_autocompletions.rb +4 -4
  299. data/lib/openapi_client/models/intl_autocompletions_writable.rb +4 -4
  300. data/lib/openapi_client/models/intl_components.rb +4 -4
  301. data/lib/openapi_client/models/intl_suggestions.rb +4 -4
  302. data/lib/openapi_client/models/intl_verification.rb +4 -4
  303. data/lib/openapi_client/models/intl_verification_or_error.rb +4 -4
  304. data/lib/openapi_client/models/intl_verification_writable.rb +4 -4
  305. data/lib/openapi_client/models/intl_verifications.rb +4 -4
  306. data/lib/openapi_client/models/intl_verifications_payload.rb +4 -4
  307. data/lib/openapi_client/models/letter.rb +30 -9
  308. data/lib/openapi_client/models/letter_custom_envelope.rb +4 -4
  309. data/lib/openapi_client/models/letter_deletion.rb +4 -4
  310. data/lib/openapi_client/models/letter_details_returned.rb +5 -5
  311. data/lib/openapi_client/models/letter_details_writable.rb +4 -4
  312. data/lib/openapi_client/models/letter_editable.rb +18 -8
  313. data/lib/openapi_client/models/letter_list.rb +4 -4
  314. data/lib/openapi_client/models/lob_confidence_score.rb +4 -4
  315. data/lib/openapi_client/models/lob_error.rb +4 -4
  316. data/lib/openapi_client/models/location.rb +4 -4
  317. data/lib/openapi_client/models/location_analysis.rb +4 -4
  318. data/lib/openapi_client/models/ltr_use_type.rb +38 -0
  319. data/lib/openapi_client/models/mail_type.rb +1 -1
  320. data/lib/openapi_client/models/multi_line_address.rb +4 -4
  321. data/lib/openapi_client/models/multiple_components.rb +4 -4
  322. data/lib/openapi_client/models/multiple_components_intl.rb +4 -4
  323. data/lib/openapi_client/models/multiple_components_list.rb +4 -4
  324. data/lib/openapi_client/models/optional_address_column_mapping.rb +259 -0
  325. data/lib/openapi_client/models/placeholder_model.rb +4 -4
  326. data/lib/openapi_client/models/postcard.rb +18 -8
  327. data/lib/openapi_client/models/postcard_deletion.rb +4 -4
  328. data/lib/openapi_client/models/postcard_details_returned.rb +4 -4
  329. data/lib/openapi_client/models/postcard_details_writable.rb +4 -4
  330. data/lib/openapi_client/models/postcard_editable.rb +18 -8
  331. data/lib/openapi_client/models/postcard_list.rb +4 -4
  332. data/lib/openapi_client/models/postcard_size.rb +1 -1
  333. data/lib/openapi_client/models/psc_use_type.rb +38 -0
  334. data/lib/openapi_client/models/qr_code.rb +4 -4
  335. data/lib/openapi_client/models/required_address_column_mapping.rb +285 -0
  336. data/lib/openapi_client/models/return_envelope.rb +4 -4
  337. data/lib/openapi_client/models/reverse_geocode.rb +4 -4
  338. data/lib/openapi_client/models/self_mailer.rb +18 -8
  339. data/lib/openapi_client/models/self_mailer_deletion.rb +4 -4
  340. data/lib/openapi_client/models/self_mailer_editable.rb +18 -8
  341. data/lib/openapi_client/models/self_mailer_list.rb +4 -4
  342. data/lib/openapi_client/models/self_mailer_size.rb +1 -1
  343. data/lib/openapi_client/models/sfm_use_type.rb +38 -0
  344. data/lib/openapi_client/models/sort_by.rb +4 -4
  345. data/lib/openapi_client/models/sort_by1.rb +4 -4
  346. data/lib/openapi_client/models/sort_by2.rb +4 -4
  347. data/lib/openapi_client/models/sort_by3.rb +4 -4
  348. data/lib/openapi_client/models/sort_by_date_modified.rb +4 -4
  349. data/lib/openapi_client/models/suggestions.rb +4 -4
  350. data/lib/openapi_client/models/template.rb +4 -4
  351. data/lib/openapi_client/models/template_deletion.rb +4 -4
  352. data/lib/openapi_client/models/template_list.rb +4 -4
  353. data/lib/openapi_client/models/template_update.rb +4 -4
  354. data/lib/openapi_client/models/template_version.rb +4 -4
  355. data/lib/openapi_client/models/template_version_deletion.rb +4 -4
  356. data/lib/openapi_client/models/template_version_list.rb +4 -4
  357. data/lib/openapi_client/models/template_version_updatable.rb +4 -4
  358. data/lib/openapi_client/models/template_version_writable.rb +4 -4
  359. data/lib/openapi_client/models/template_writable.rb +4 -4
  360. data/lib/openapi_client/models/thumbnail.rb +4 -4
  361. data/lib/openapi_client/models/tracking_event_certified.rb +4 -4
  362. data/lib/openapi_client/models/tracking_event_details.rb +4 -4
  363. data/lib/openapi_client/models/tracking_event_normal.rb +4 -4
  364. data/lib/openapi_client/models/upload.rb +55 -48
  365. data/lib/openapi_client/models/upload_create_export.rb +4 -4
  366. data/lib/openapi_client/models/upload_file.rb +4 -4
  367. data/lib/openapi_client/models/upload_state.rb +1 -1
  368. data/lib/openapi_client/models/upload_updatable.rb +46 -19
  369. data/lib/openapi_client/models/upload_writable.rb +46 -30
  370. data/lib/openapi_client/models/uploads_metadata.rb +237 -0
  371. data/lib/openapi_client/models/us_autocompletions.rb +4 -4
  372. data/lib/openapi_client/models/us_autocompletions_writable.rb +4 -4
  373. data/lib/openapi_client/models/us_components.rb +7 -7
  374. data/lib/openapi_client/models/us_verification.rb +15 -5
  375. data/lib/openapi_client/models/us_verification_or_error.rb +4 -4
  376. data/lib/openapi_client/models/us_verifications.rb +4 -4
  377. data/lib/openapi_client/models/us_verifications_writable.rb +4 -4
  378. data/lib/openapi_client/models/validation_error.rb +4 -4
  379. data/lib/openapi_client/models/zip.rb +4 -4
  380. data/lib/openapi_client/models/zip_code_type.rb +1 -1
  381. data/lib/openapi_client/models/zip_editable.rb +4 -4
  382. data/lib/openapi_client/models/zip_lookup_city.rb +4 -4
  383. data/lib/openapi_client/version.rb +2 -2
  384. data/lib/openapi_client.rb +7 -0
  385. data/openapi_client.gemspec +1 -1
  386. data/spec/api/addresses_api_spec.rb +3 -3
  387. data/spec/api/bank_accounts_api_spec.rb +3 -3
  388. data/spec/api/billing_groups_api_spec.rb +3 -3
  389. data/spec/api/campaigns_api_spec.rb +3 -3
  390. data/spec/api/card_orders_api_spec.rb +3 -3
  391. data/spec/api/cards_api_spec.rb +3 -3
  392. data/spec/api/checks_api_spec.rb +3 -3
  393. data/spec/api/creatives_api_spec.rb +3 -3
  394. data/spec/api/default_api_spec.rb +3 -3
  395. data/spec/api/identity_validation_api_spec.rb +3 -3
  396. data/spec/api/intl_autocompletions_api_spec.rb +3 -3
  397. data/spec/api/intl_verifications_api_spec.rb +3 -3
  398. data/spec/api/letters_api_spec.rb +3 -3
  399. data/spec/api/postcards_api_spec.rb +3 -3
  400. data/spec/api/reverse_geocode_lookups_api_spec.rb +3 -3
  401. data/spec/api/self_mailers_api_spec.rb +3 -3
  402. data/spec/api/template_versions_api_spec.rb +3 -3
  403. data/spec/api/templates_api_spec.rb +3 -3
  404. data/spec/api/uploads_api_spec.rb +3 -3
  405. data/spec/api/us_autocompletions_api_spec.rb +3 -3
  406. data/spec/api/us_verifications_api_spec.rb +3 -3
  407. data/spec/api/zip_lookups_api_spec.rb +3 -3
  408. data/spec/api_client_spec.rb +29 -29
  409. data/spec/configuration_spec.rb +3 -3
  410. metadata +29 -20
data/docs/LettersApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::LettersApi
1
+ # Lob::LettersApi
2
2
 
3
3
  All URIs are relative to *https://api.lob.com/v1*
4
4
 
@@ -24,20 +24,20 @@ Completely removes a letter from production. This can only be done if the letter
24
24
  require 'time'
25
25
  require 'openapi_client'
26
26
  # setup authorization
27
- OpenapiClient.configure do |config|
27
+ Lob.configure do |config|
28
28
  # Configure HTTP basic authorization: basicAuth
29
29
  config.username = 'YOUR USERNAME'
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = OpenapiClient::LettersApi.new
33
+ api_instance = Lob::LettersApi.new
34
34
  ltr_id = 'ltr_id_example' # String | id of the letter
35
35
 
36
36
  begin
37
37
  # cancel
38
38
  result = api_instance.cancel(ltr_id)
39
39
  p result
40
- rescue OpenapiClient::ApiError => e
40
+ rescue Lob::ApiError => e
41
41
  puts "Error when calling LettersApi->cancel: #{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 # => <LetterDeletion>
58
- rescue OpenapiClient::ApiError => e
58
+ rescue Lob::ApiError => e
59
59
  puts "Error when calling LettersApi->letter_cancel_with_http_info: #{e}"
60
60
  end
61
61
  ```
@@ -94,14 +94,14 @@ Creates a new letter given information
94
94
  require 'time'
95
95
  require 'openapi_client'
96
96
  # setup authorization
97
- OpenapiClient.configure do |config|
97
+ Lob.configure do |config|
98
98
  # Configure HTTP basic authorization: basicAuth
99
99
  config.username = 'YOUR USERNAME'
100
100
  config.password = 'YOUR PASSWORD'
101
101
  end
102
102
 
103
- api_instance = OpenapiClient::LettersApi.new
104
- letter_editable = OpenapiClient::LetterEditable.new({color: false, to: TODO, from: TODO, file: 'file_example'}) # LetterEditable |
103
+ api_instance = Lob::LettersApi.new
104
+ letter_editable = Lob::LetterEditable.new({color: false, to: TODO, from: TODO, file: 'file_example'}) # LetterEditable |
105
105
  opts = {
106
106
  idempotency_key: 'idempotency_key_example' # String | A string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our [implementation guide](https://www.lob.com/guides#idempotent_request).
107
107
  }
@@ -110,7 +110,7 @@ begin
110
110
  # create
111
111
  result = api_instance.create(letter_editable, opts)
112
112
  p result
113
- rescue OpenapiClient::ApiError => e
113
+ rescue Lob::ApiError => e
114
114
  puts "Error when calling LettersApi->create: #{e}"
115
115
  end
116
116
  ```
@@ -128,7 +128,7 @@ begin
128
128
  p status_code # => 2xx
129
129
  p headers # => { ... }
130
130
  p data # => <Letter>
131
- rescue OpenapiClient::ApiError => e
131
+ rescue Lob::ApiError => e
132
132
  puts "Error when calling LettersApi->letter_create_with_http_info: #{e}"
133
133
  end
134
134
  ```
@@ -168,20 +168,20 @@ Retrieves the details of an existing letter. You need only supply the unique let
168
168
  require 'time'
169
169
  require 'openapi_client'
170
170
  # setup authorization
171
- OpenapiClient.configure do |config|
171
+ Lob.configure do |config|
172
172
  # Configure HTTP basic authorization: basicAuth
173
173
  config.username = 'YOUR USERNAME'
174
174
  config.password = 'YOUR PASSWORD'
175
175
  end
176
176
 
177
- api_instance = OpenapiClient::LettersApi.new
177
+ api_instance = Lob::LettersApi.new
178
178
  ltr_id = 'ltr_id_example' # String | id of the letter
179
179
 
180
180
  begin
181
181
  # get
182
182
  result = api_instance.get(ltr_id)
183
183
  p result
184
- rescue OpenapiClient::ApiError => e
184
+ rescue Lob::ApiError => e
185
185
  puts "Error when calling LettersApi->get: #{e}"
186
186
  end
187
187
  ```
@@ -199,7 +199,7 @@ begin
199
199
  p status_code # => 2xx
200
200
  p headers # => { ... }
201
201
  p data # => <Letter>
202
- rescue OpenapiClient::ApiError => e
202
+ rescue Lob::ApiError => e
203
203
  puts "Error when calling LettersApi->letter_retrieve_with_http_info: #{e}"
204
204
  end
205
205
  ```
@@ -238,13 +238,13 @@ Returns a list of your letters. The letters are returned sorted by creation date
238
238
  require 'time'
239
239
  require 'openapi_client'
240
240
  # setup authorization
241
- OpenapiClient.configure do |config|
241
+ Lob.configure do |config|
242
242
  # Configure HTTP basic authorization: basicAuth
243
243
  config.username = 'YOUR USERNAME'
244
244
  config.password = 'YOUR PASSWORD'
245
245
  end
246
246
 
247
- api_instance = OpenapiClient::LettersApi.new
247
+ api_instance = Lob::LettersApi.new
248
248
  opts = {
249
249
  limit: 56, # Integer | How many results to return.
250
250
  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.
@@ -255,15 +255,15 @@ opts = {
255
255
  color: true, # Boolean | Set to `true` to return only color letters. Set to `false` to return only black & white letters.
256
256
  scheduled: true, # Boolean | * `true` - only return orders (past or future) where `send_date` is greater than `date_created` * `false` - only return orders where `send_date` is equal to `date_created`
257
257
  send_date: { key: 'inner_example'}, # Hash<String, String> | Filter by date sent.
258
- mail_type: OpenapiClient::MailType::FIRST_CLASS, # MailType | A string designating the mail postage type: * `usps_first_class` - (default) * `usps_standard` - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. `usps_standard` cannot be used with `4x6` postcards or for any postcards sent outside of the United States.
259
- sort_by: OpenapiClient::SortBy3.new # SortBy3 | Sorts items by ascending or descending dates. Use either `date_created` or `send_date`, not both.
258
+ mail_type: Lob::MailType::FIRST_CLASS, # MailType | A string designating the mail postage type: * `usps_first_class` - (default) * `usps_standard` - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. `usps_standard` cannot be used with `4x6` postcards or for any postcards sent outside of the United States.
259
+ sort_by: Lob::SortBy3.new # SortBy3 | Sorts items by ascending or descending dates. Use either `date_created` or `send_date`, not both.
260
260
  }
261
261
 
262
262
  begin
263
263
  # list
264
264
  result = api_instance.list(opts)
265
265
  p result
266
- rescue OpenapiClient::ApiError => e
266
+ rescue Lob::ApiError => e
267
267
  puts "Error when calling LettersApi->list: #{e}"
268
268
  end
269
269
  ```
@@ -281,7 +281,7 @@ begin
281
281
  p status_code # => 2xx
282
282
  p headers # => { ... }
283
283
  p data # => <LetterList>
284
- rescue OpenapiClient::ApiError => e
284
+ rescue Lob::ApiError => e
285
285
  puts "Error when calling LettersApi->letters_list_with_http_info: #{e}"
286
286
  end
287
287
  ```
@@ -1,4 +1,4 @@
1
- # OpenapiClient::LobConfidenceScore
1
+ # Lob::LobConfidenceScore
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'openapi_client'
14
14
 
15
- instance = OpenapiClient::LobConfidenceScore.new(
15
+ instance = Lob::LobConfidenceScore.new(
16
16
  score: null,
17
17
  level: null
18
18
  )
data/docs/LobError.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::LobError
1
+ # Lob::LobError
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'openapi_client'
15
15
 
16
- instance = OpenapiClient::LobError.new(
16
+ instance = Lob::LobError.new(
17
17
  message: null,
18
18
  status_code: null,
19
19
  code: null
data/docs/Location.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::Location
1
+ # Lob::Location
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'openapi_client'
14
14
 
15
- instance = OpenapiClient::Location.new(
15
+ instance = Lob::Location.new(
16
16
  latitude: null,
17
17
  longitude: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # OpenapiClient::LocationAnalysis
1
+ # Lob::LocationAnalysis
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'openapi_client'
15
15
 
16
- instance = OpenapiClient::LocationAnalysis.new(
16
+ instance = Lob::LocationAnalysis.new(
17
17
  latitude: null,
18
18
  longitude: null,
19
19
  distance: null
data/docs/MailType.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::MailType
1
+ # Lob::MailType
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,6 +10,6 @@
10
10
  ```ruby
11
11
  require 'openapi_client'
12
12
 
13
- instance = OpenapiClient::MailType.new()
13
+ instance = Lob::MailType.new()
14
14
  ```
15
15
 
@@ -1,4 +1,4 @@
1
- # OpenapiClient::MultiLineAddress
1
+ # Lob::MultiLineAddress
2
2
 
3
3
  ## Properties
4
4
 
@@ -18,7 +18,7 @@
18
18
  ```ruby
19
19
  require 'openapi_client'
20
20
 
21
- instance = OpenapiClient::MultiLineAddress.new(
21
+ instance = Lob::MultiLineAddress.new(
22
22
  recipient: null,
23
23
  company: null,
24
24
  primary_line: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::MultipleComponents
1
+ # Lob::MultipleComponents
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@
17
17
  ```ruby
18
18
  require 'openapi_client'
19
19
 
20
- instance = OpenapiClient::MultipleComponents.new(
20
+ instance = Lob::MultipleComponents.new(
21
21
  recipient: null,
22
22
  primary_line: null,
23
23
  secondary_line: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::MultipleComponentsIntl
1
+ # Lob::MultipleComponentsIntl
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@
17
17
  ```ruby
18
18
  require 'openapi_client'
19
19
 
20
- instance = OpenapiClient::MultipleComponentsIntl.new(
20
+ instance = Lob::MultipleComponentsIntl.new(
21
21
  recipient: null,
22
22
  primary_line: null,
23
23
  secondary_line: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::MultipleComponentsList
1
+ # Lob::MultipleComponentsList
2
2
 
3
3
  ## Properties
4
4
 
@@ -11,7 +11,7 @@
11
11
  ```ruby
12
12
  require 'openapi_client'
13
13
 
14
- instance = OpenapiClient::MultipleComponentsList.new(
14
+ instance = Lob::MultipleComponentsList.new(
15
15
  addresses: null
16
16
  )
17
17
  ```
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PlaceholderModel
1
+ # Lob::PlaceholderModel
2
2
 
3
3
  ## Properties
4
4
 
@@ -16,7 +16,7 @@
16
16
  ```ruby
17
17
  require 'openapi_client'
18
18
 
19
- instance = OpenapiClient::PlaceholderModel.new(
19
+ instance = Lob::PlaceholderModel.new(
20
20
  return_envelope: null,
21
21
  address_domestic: null,
22
22
  letter_details_writable: null,
data/docs/Postcard.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::Postcard
1
+ # Lob::Postcard
2
2
 
3
3
  ## Properties
4
4
 
@@ -32,7 +32,7 @@
32
32
  ```ruby
33
33
  require 'openapi_client'
34
34
 
35
- instance = OpenapiClient::Postcard.new(
35
+ instance = Lob::Postcard.new(
36
36
  id: null,
37
37
  to: null,
38
38
  from: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardDeletion
1
+ # Lob::PostcardDeletion
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'openapi_client'
15
15
 
16
- instance = OpenapiClient::PostcardDeletion.new(
16
+ instance = Lob::PostcardDeletion.new(
17
17
  id: null,
18
18
  deleted: null,
19
19
  object: null
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardDetailsReturned
1
+ # Lob::PostcardDetailsReturned
2
2
 
3
3
  ## Properties
4
4
 
@@ -15,7 +15,7 @@
15
15
  ```ruby
16
16
  require 'openapi_client'
17
17
 
18
- instance = OpenapiClient::PostcardDetailsReturned.new(
18
+ instance = Lob::PostcardDetailsReturned.new(
19
19
  mail_type: null,
20
20
  size: null,
21
21
  setting: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardDetailsWritable
1
+ # Lob::PostcardDetailsWritable
2
2
 
3
3
  ## Properties
4
4
 
@@ -12,7 +12,7 @@
12
12
  ```ruby
13
13
  require 'openapi_client'
14
14
 
15
- instance = OpenapiClient::PostcardDetailsWritable.new(
15
+ instance = Lob::PostcardDetailsWritable.new(
16
16
  mail_type: null,
17
17
  size: null
18
18
  )
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardEditable
1
+ # Lob::PostcardEditable
2
2
 
3
3
  ## Properties
4
4
 
@@ -22,7 +22,7 @@
22
22
  ```ruby
23
23
  require 'openapi_client'
24
24
 
25
- instance = OpenapiClient::PostcardEditable.new(
25
+ instance = Lob::PostcardEditable.new(
26
26
  to: null,
27
27
  from: null,
28
28
  size: null,
data/docs/PostcardList.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardList
1
+ # Lob::PostcardList
2
2
 
3
3
  ## Properties
4
4
 
@@ -16,7 +16,7 @@
16
16
  ```ruby
17
17
  require 'openapi_client'
18
18
 
19
- instance = OpenapiClient::PostcardList.new(
19
+ instance = Lob::PostcardList.new(
20
20
  data: null,
21
21
  object: null,
22
22
  next_url: null,
data/docs/PostcardSize.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardSize
1
+ # Lob::PostcardSize
2
2
 
3
3
  ## Properties
4
4
 
@@ -10,6 +10,6 @@
10
10
  ```ruby
11
11
  require 'openapi_client'
12
12
 
13
- instance = OpenapiClient::PostcardSize.new()
13
+ instance = Lob::PostcardSize.new()
14
14
  ```
15
15
 
data/docs/PostcardsApi.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::PostcardsApi
1
+ # Lob::PostcardsApi
2
2
 
3
3
  All URIs are relative to *https://api.lob.com/v1*
4
4
 
@@ -24,14 +24,14 @@ Creates a new postcard given information
24
24
  require 'time'
25
25
  require 'openapi_client'
26
26
  # setup authorization
27
- OpenapiClient.configure do |config|
27
+ Lob.configure do |config|
28
28
  # Configure HTTP basic authorization: basicAuth
29
29
  config.username = 'YOUR USERNAME'
30
30
  config.password = 'YOUR PASSWORD'
31
31
  end
32
32
 
33
- api_instance = OpenapiClient::PostcardsApi.new
34
- postcard_editable = OpenapiClient::PostcardEditable.new({to: TODO, front: 'front_example', back: 'back_example'}) # PostcardEditable |
33
+ api_instance = Lob::PostcardsApi.new
34
+ postcard_editable = Lob::PostcardEditable.new({to: TODO, front: 'front_example', back: 'back_example'}) # PostcardEditable |
35
35
  opts = {
36
36
  idempotency_key: 'idempotency_key_example' # String | A string of no longer than 256 characters that uniquely identifies this resource. For more help integrating idempotency keys, refer to our [implementation guide](https://www.lob.com/guides#idempotent_request).
37
37
  }
@@ -40,7 +40,7 @@ begin
40
40
  # create
41
41
  result = api_instance.create(postcard_editable, opts)
42
42
  p result
43
- rescue OpenapiClient::ApiError => e
43
+ rescue Lob::ApiError => e
44
44
  puts "Error when calling PostcardsApi->create: #{e}"
45
45
  end
46
46
  ```
@@ -58,7 +58,7 @@ begin
58
58
  p status_code # => 2xx
59
59
  p headers # => { ... }
60
60
  p data # => <Postcard>
61
- rescue OpenapiClient::ApiError => e
61
+ rescue Lob::ApiError => e
62
62
  puts "Error when calling PostcardsApi->postcard_create_with_http_info: #{e}"
63
63
  end
64
64
  ```
@@ -98,20 +98,20 @@ Completely removes a postcard from production. This can only be done if the post
98
98
  require 'time'
99
99
  require 'openapi_client'
100
100
  # setup authorization
101
- OpenapiClient.configure do |config|
101
+ Lob.configure do |config|
102
102
  # Configure HTTP basic authorization: basicAuth
103
103
  config.username = 'YOUR USERNAME'
104
104
  config.password = 'YOUR PASSWORD'
105
105
  end
106
106
 
107
- api_instance = OpenapiClient::PostcardsApi.new
107
+ api_instance = Lob::PostcardsApi.new
108
108
  psc_id = 'psc_id_example' # String | id of the postcard
109
109
 
110
110
  begin
111
111
  # cancel
112
112
  result = api_instance.cancel(psc_id)
113
113
  p result
114
- rescue OpenapiClient::ApiError => e
114
+ rescue Lob::ApiError => e
115
115
  puts "Error when calling PostcardsApi->cancel: #{e}"
116
116
  end
117
117
  ```
@@ -129,7 +129,7 @@ begin
129
129
  p status_code # => 2xx
130
130
  p headers # => { ... }
131
131
  p data # => <PostcardDeletion>
132
- rescue OpenapiClient::ApiError => e
132
+ rescue Lob::ApiError => e
133
133
  puts "Error when calling PostcardsApi->postcard_delete_with_http_info: #{e}"
134
134
  end
135
135
  ```
@@ -168,20 +168,20 @@ Retrieves the details of an existing postcard. You need only supply the unique c
168
168
  require 'time'
169
169
  require 'openapi_client'
170
170
  # setup authorization
171
- OpenapiClient.configure do |config|
171
+ Lob.configure do |config|
172
172
  # Configure HTTP basic authorization: basicAuth
173
173
  config.username = 'YOUR USERNAME'
174
174
  config.password = 'YOUR PASSWORD'
175
175
  end
176
176
 
177
- api_instance = OpenapiClient::PostcardsApi.new
177
+ api_instance = Lob::PostcardsApi.new
178
178
  psc_id = 'psc_id_example' # String | id of the postcard
179
179
 
180
180
  begin
181
181
  # get
182
182
  result = api_instance.get(psc_id)
183
183
  p result
184
- rescue OpenapiClient::ApiError => e
184
+ rescue Lob::ApiError => e
185
185
  puts "Error when calling PostcardsApi->get: #{e}"
186
186
  end
187
187
  ```
@@ -199,7 +199,7 @@ begin
199
199
  p status_code # => 2xx
200
200
  p headers # => { ... }
201
201
  p data # => <Postcard>
202
- rescue OpenapiClient::ApiError => e
202
+ rescue Lob::ApiError => e
203
203
  puts "Error when calling PostcardsApi->postcard_retrieve_with_http_info: #{e}"
204
204
  end
205
205
  ```
@@ -238,13 +238,13 @@ Returns a list of your postcards. The addresses are returned sorted by creation
238
238
  require 'time'
239
239
  require 'openapi_client'
240
240
  # setup authorization
241
- OpenapiClient.configure do |config|
241
+ Lob.configure do |config|
242
242
  # Configure HTTP basic authorization: basicAuth
243
243
  config.username = 'YOUR USERNAME'
244
244
  config.password = 'YOUR PASSWORD'
245
245
  end
246
246
 
247
- api_instance = OpenapiClient::PostcardsApi.new
247
+ api_instance = Lob::PostcardsApi.new
248
248
  opts = {
249
249
  limit: 56, # Integer | How many results to return.
250
250
  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.
@@ -252,18 +252,18 @@ opts = {
252
252
  include: ['inner_example'], # Array<String> | Request that the response include the total count by specifying `include[]=total_count`.
253
253
  date_created: { key: Time.now}, # Hash<String, Time> | Filter by date created.
254
254
  metadata: { key: 'inner_example'}, # Hash<String, String> | Filter by metadata key-value pair`.
255
- size: [OpenapiClient::PostcardSize::N4X6], # Array<PostcardSize> | Specifies the size of the postcard. Only `4x6` postcards can be sent to international destinations.
255
+ size: [Lob::PostcardSize::N4X6], # Array<PostcardSize> | Specifies the size of the postcard. Only `4x6` postcards can be sent to international destinations.
256
256
  scheduled: true, # Boolean | * `true` - only return orders (past or future) where `send_date` is greater than `date_created` * `false` - only return orders where `send_date` is equal to `date_created`
257
257
  send_date: { key: 'inner_example'}, # Hash<String, String> | Filter by date sent.
258
- mail_type: OpenapiClient::MailType::FIRST_CLASS, # MailType | A string designating the mail postage type: * `usps_first_class` - (default) * `usps_standard` - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. `usps_standard` cannot be used with `4x6` postcards or for any postcards sent outside of the United States.
259
- sort_by: OpenapiClient::SortBy3.new # SortBy3 | Sorts items by ascending or descending dates. Use either `date_created` or `send_date`, not both.
258
+ mail_type: Lob::MailType::FIRST_CLASS, # MailType | A string designating the mail postage type: * `usps_first_class` - (default) * `usps_standard` - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. `usps_standard` cannot be used with `4x6` postcards or for any postcards sent outside of the United States.
259
+ sort_by: Lob::SortBy3.new # SortBy3 | Sorts items by ascending or descending dates. Use either `date_created` or `send_date`, not both.
260
260
  }
261
261
 
262
262
  begin
263
263
  # list
264
264
  result = api_instance.list(opts)
265
265
  p result
266
- rescue OpenapiClient::ApiError => e
266
+ rescue Lob::ApiError => e
267
267
  puts "Error when calling PostcardsApi->list: #{e}"
268
268
  end
269
269
  ```
@@ -281,7 +281,7 @@ begin
281
281
  p status_code # => 2xx
282
282
  p headers # => { ... }
283
283
  p data # => <PostcardList>
284
- rescue OpenapiClient::ApiError => e
284
+ rescue Lob::ApiError => e
285
285
  puts "Error when calling PostcardsApi->postcards_list_with_http_info: #{e}"
286
286
  end
287
287
  ```
data/docs/QrCode.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::QrCode
1
+ # Lob::QrCode
2
2
 
3
3
  ## Properties
4
4
 
@@ -17,7 +17,7 @@
17
17
  ```ruby
18
18
  require 'openapi_client'
19
19
 
20
- instance = OpenapiClient::QrCode.new(
20
+ instance = Lob::QrCode.new(
21
21
  position: null,
22
22
  top: null,
23
23
  right: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::ReturnEnvelope
1
+ # Lob::ReturnEnvelope
2
2
 
3
3
  ## Properties
4
4
 
@@ -14,7 +14,7 @@
14
14
  ```ruby
15
15
  require 'openapi_client'
16
16
 
17
- instance = OpenapiClient::ReturnEnvelope.new(
17
+ instance = Lob::ReturnEnvelope.new(
18
18
  id: null,
19
19
  _alias: null,
20
20
  url: null,
@@ -1,4 +1,4 @@
1
- # OpenapiClient::ReverseGeocode
1
+ # Lob::ReverseGeocode
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'openapi_client'
15
15
 
16
- instance = OpenapiClient::ReverseGeocode.new(
16
+ instance = Lob::ReverseGeocode.new(
17
17
  id: null,
18
18
  addresses: null,
19
19
  object: null
@@ -1,4 +1,4 @@
1
- # OpenapiClient::ReverseGeocodeLookupsApi
1
+ # Lob::ReverseGeocodeLookupsApi
2
2
 
3
3
  All URIs are relative to *https://api.lob.com/v1*
4
4
 
@@ -21,14 +21,14 @@ Reverse geocode a valid US location with a live API key.
21
21
  require 'time'
22
22
  require 'openapi_client'
23
23
  # setup authorization
24
- OpenapiClient.configure do |config|
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 = OpenapiClient::ReverseGeocodeLookupsApi.new
31
- location = OpenapiClient::Location.new({latitude: 3.56, longitude: 3.56}) # Location |
30
+ api_instance = Lob::ReverseGeocodeLookupsApi.new
31
+ location = Lob::Location.new({latitude: 3.56, longitude: 3.56}) # Location |
32
32
  opts = {
33
33
  size: 56 # Integer | Determines the number of locations returned. Possible values are between 1 and 50 and any number higher will be rounded down to 50. Default size is a list of 5 reverse geocoded locations.
34
34
  }
@@ -37,7 +37,7 @@ begin
37
37
  # lookup
38
38
  result = api_instance.lookup(location, opts)
39
39
  p result
40
- rescue OpenapiClient::ApiError => e
40
+ rescue Lob::ApiError => e
41
41
  puts "Error when calling ReverseGeocodeLookupsApi->lookup: #{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 # => <ReverseGeocode>
58
- rescue OpenapiClient::ApiError => e
58
+ rescue Lob::ApiError => e
59
59
  puts "Error when calling ReverseGeocodeLookupsApi->reverse_geocode_lookup_with_http_info: #{e}"
60
60
  end
61
61
  ```
data/docs/SelfMailer.md CHANGED
@@ -1,4 +1,4 @@
1
- # OpenapiClient::SelfMailer
1
+ # Lob::SelfMailer
2
2
 
3
3
  ## Properties
4
4
 
@@ -26,7 +26,7 @@
26
26
  ```ruby
27
27
  require 'openapi_client'
28
28
 
29
- instance = OpenapiClient::SelfMailer.new(
29
+ instance = Lob::SelfMailer.new(
30
30
  id: null,
31
31
  to: null,
32
32
  from: null,