lob 6.0.7 → 6.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (449) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_SNIPPETS.md +10 -10
  3. data/Gemfile +0 -0
  4. data/Gemfile.lock +3 -3
  5. data/LICENSE +0 -0
  6. data/MIGRATION.md +0 -0
  7. data/Rakefile +0 -0
  8. data/__tests__/Api/Address.unit.rb +1 -1
  9. data/__tests__/Api/BankAccount.unit.rb +1 -1
  10. data/__tests__/Api/BillingGroup.unit.rb +1 -1
  11. data/__tests__/Api/Card.unit.rb +1 -1
  12. data/__tests__/Api/CardOrder.unit.rb +1 -1
  13. data/__tests__/Api/Check.unit.rb +1 -1
  14. data/__tests__/Api/IntlAutocompletion.unit.rb +1 -1
  15. data/__tests__/Api/IntlVerification.unit.rb +1 -1
  16. data/__tests__/Api/Letter.unit.rb +1 -1
  17. data/__tests__/Api/Postcard.unit.rb +1 -1
  18. data/__tests__/Api/Require.unit.rb +0 -1
  19. data/__tests__/Api/ReverseGeocodeLookup.unit.rb +1 -1
  20. data/__tests__/Api/SelfMailer.unit.rb +1 -1
  21. data/__tests__/Api/Template.unit.rb +1 -1
  22. data/__tests__/Api/TemplateVersion.unit.rb +1 -1
  23. data/__tests__/Api/UsAutocompletion.unit.rb +1 -1
  24. data/__tests__/Api/UsVerification.unit.rb +1 -1
  25. data/__tests__/Api/ZipLookup.unit.rb +1 -1
  26. data/__tests__/Integration/Address.spec.rb +1 -1
  27. data/__tests__/Integration/BankAccount.spec.rb +2 -2
  28. data/__tests__/Integration/BillingGroup.spec.rb +3 -3
  29. data/__tests__/Integration/Card.spec.rb +1 -1
  30. data/__tests__/Integration/CardOrder.spec.rb +1 -1
  31. data/__tests__/Integration/Check.spec.rb +9 -5
  32. data/__tests__/Integration/IntlAutocompletion.spec.rb +2 -2
  33. data/__tests__/Integration/IntlVerification.spec.rb +3 -3
  34. data/__tests__/Integration/Letter.spec.rb +15 -8
  35. data/__tests__/Integration/Postcard.spec.rb +4 -4
  36. data/__tests__/Integration/ReverseGeocodeLookup.spec.rb +1 -1
  37. data/__tests__/Integration/SelfMailer.spec.rb +2 -2
  38. data/__tests__/Integration/Template.spec.rb +1 -1
  39. data/__tests__/Integration/TemplateVersion.spec.rb +1 -1
  40. data/__tests__/Integration/UsAutocompletion.spec.rb +1 -1
  41. data/__tests__/Integration/UsVerification.spec.rb +1 -1
  42. data/__tests__/Integration/ZipLookup.spec.rb +1 -1
  43. data/__tests__/TestFixtures.rb +0 -0
  44. data/docs/Address.md +1 -1
  45. data/docs/AddressDeletion.md +1 -1
  46. data/docs/AddressDomestic.md +1 -1
  47. data/docs/AddressDomesticExpanded.md +1 -1
  48. data/docs/AddressEditable.md +1 -1
  49. data/docs/AddressList.md +1 -1
  50. data/docs/AddressesApi.md +4 -4
  51. data/docs/BankAccount.md +1 -1
  52. data/docs/BankAccountDeletion.md +1 -1
  53. data/docs/BankAccountList.md +1 -1
  54. data/docs/BankAccountVerify.md +1 -1
  55. data/docs/BankAccountWritable.md +1 -1
  56. data/docs/BankAccountsApi.md +5 -5
  57. data/docs/BankTypeEnum.md +1 -1
  58. data/docs/BillingGroup.md +1 -1
  59. data/docs/BillingGroupEditable.md +1 -1
  60. data/docs/BillingGroupList.md +1 -1
  61. data/docs/BillingGroupsApi.md +4 -4
  62. data/docs/Buckslip.md +1 -1
  63. data/docs/BuckslipDeletion.md +1 -1
  64. data/docs/BuckslipEditable.md +1 -1
  65. data/docs/BuckslipOrder.md +1 -1
  66. data/docs/BuckslipOrderEditable.md +1 -1
  67. data/docs/BuckslipOrdersApi.md +2 -2
  68. data/docs/BuckslipOrdersList.md +1 -1
  69. data/docs/BuckslipUpdatable.md +1 -1
  70. data/docs/BuckslipsApi.md +13 -9
  71. data/docs/BuckslipsList.md +1 -1
  72. data/docs/BulkError.md +1 -1
  73. data/docs/BulkErrorProperties.md +1 -1
  74. data/docs/Campaign.md +2 -2
  75. data/docs/CampaignCreative.md +1 -1
  76. data/docs/CampaignDeletion.md +1 -1
  77. data/docs/CampaignUpdatable.md +1 -1
  78. data/docs/CampaignWritable.md +2 -2
  79. data/docs/CampaignsApi.md +6 -6
  80. data/docs/CampaignsList.md +1 -1
  81. data/docs/Card.md +1 -1
  82. data/docs/CardDeletion.md +1 -1
  83. data/docs/CardEditable.md +1 -1
  84. data/docs/CardList.md +1 -1
  85. data/docs/CardOrder.md +1 -1
  86. data/docs/CardOrderEditable.md +1 -1
  87. data/docs/CardOrderList.md +1 -1
  88. data/docs/CardOrdersApi.md +2 -2
  89. data/docs/CardUpdatable.md +1 -1
  90. data/docs/CardsApi.md +5 -5
  91. data/docs/Check.md +4 -2
  92. data/docs/CheckDeletion.md +1 -1
  93. data/docs/CheckEditable.md +4 -2
  94. data/docs/CheckList.md +1 -1
  95. data/docs/ChecksApi.md +7 -7
  96. data/docs/ChkUseType.md +15 -0
  97. data/docs/CmpScheduleType.md +1 -1
  98. data/docs/CmpUseType.md +1 -1
  99. data/docs/CountryExtended.md +1 -1
  100. data/docs/CountryExtendedExpanded.md +1 -1
  101. data/docs/CountryExtendedExpandedNoUs.md +15 -0
  102. data/docs/CreativePatch.md +1 -1
  103. data/docs/CreativeResponse.md +1 -1
  104. data/docs/CreativeWritable.md +1 -1
  105. data/docs/CreativesApi.md +3 -3
  106. data/docs/CustomEnvelopeReturned.md +1 -1
  107. data/docs/DefaultApi.md +1 -1
  108. data/docs/DeliverabilityAnalysis.md +16 -16
  109. data/docs/DpvFootnote.md +1 -1
  110. data/docs/EngineHtml.md +1 -1
  111. data/docs/EventType.md +1 -1
  112. data/docs/Events.md +1 -1
  113. data/docs/Export.md +1 -1
  114. data/docs/ExportModel.md +1 -1
  115. data/docs/GeocodeAddresses.md +1 -1
  116. data/docs/GeocodeComponents.md +1 -1
  117. data/docs/HTTPValidationError.md +1 -1
  118. data/docs/IdentityValidation.md +1 -1
  119. data/docs/IdentityValidationApi.md +1 -1
  120. data/docs/InlineObject.md +1 -1
  121. data/docs/IntlAddress.md +54 -0
  122. data/docs/IntlAutocompletions.md +1 -1
  123. data/docs/IntlAutocompletionsApi.md +2 -2
  124. data/docs/IntlAutocompletionsWritable.md +1 -1
  125. data/docs/IntlComponents.md +1 -1
  126. data/docs/IntlSuggestions.md +1 -1
  127. data/docs/IntlVerification.md +1 -1
  128. data/docs/IntlVerificationOrError.md +1 -1
  129. data/docs/IntlVerificationWritable.md +1 -1
  130. data/docs/IntlVerifications.md +1 -1
  131. data/docs/IntlVerificationsApi.md +3 -3
  132. data/docs/IntlVerificationsPayload.md +1 -1
  133. data/docs/Letter.md +6 -2
  134. data/docs/LetterCustomEnvelope.md +1 -1
  135. data/docs/LetterDeletion.md +1 -1
  136. data/docs/LetterDetailsReturned.md +1 -1
  137. data/docs/LetterDetailsWritable.md +1 -1
  138. data/docs/LetterEditable.md +4 -2
  139. data/docs/LetterList.md +1 -1
  140. data/docs/LettersApi.md +10 -8
  141. data/docs/LobConfidenceScore.md +1 -1
  142. data/docs/LobError.md +1 -1
  143. data/docs/Location.md +1 -1
  144. data/docs/LocationAnalysis.md +1 -1
  145. data/docs/LtrUseType.md +15 -0
  146. data/docs/MailType.md +1 -1
  147. data/docs/MultiLineAddress.md +1 -1
  148. data/docs/MultipleComponents.md +1 -1
  149. data/docs/MultipleComponentsIntl.md +1 -1
  150. data/docs/MultipleComponentsList.md +1 -1
  151. data/docs/OptionalAddressColumnMapping.md +22 -0
  152. data/docs/PlaceholderModel.md +1 -1
  153. data/docs/Postcard.md +4 -2
  154. data/docs/PostcardDeletion.md +1 -1
  155. data/docs/PostcardDetailsReturned.md +1 -1
  156. data/docs/PostcardDetailsWritable.md +1 -1
  157. data/docs/PostcardEditable.md +4 -2
  158. data/docs/PostcardList.md +1 -1
  159. data/docs/PostcardSize.md +1 -1
  160. data/docs/PostcardsApi.md +7 -7
  161. data/docs/PscUseType.md +15 -0
  162. data/docs/QrCode.md +1 -1
  163. data/docs/RequiredAddressColumnMapping.md +26 -0
  164. data/docs/ReturnEnvelope.md +1 -1
  165. data/docs/ReverseGeocode.md +1 -1
  166. data/docs/ReverseGeocodeLookupsApi.md +1 -1
  167. data/docs/SelfMailer.md +5 -3
  168. data/docs/SelfMailerDeletion.md +1 -1
  169. data/docs/SelfMailerEditable.md +4 -2
  170. data/docs/SelfMailerList.md +1 -1
  171. data/docs/SelfMailerSize.md +1 -1
  172. data/docs/SelfMailersApi.md +7 -7
  173. data/docs/SfmUseType.md +15 -0
  174. data/docs/SnapPack.md +50 -0
  175. data/docs/SnapPackDeletion.md +22 -0
  176. data/docs/SnapPackEditable.md +40 -0
  177. data/docs/SnapPackList.md +28 -0
  178. data/docs/SnapPackSize.md +15 -0
  179. data/docs/SnapPacksApi.md +317 -0
  180. data/docs/SnpUseType.md +15 -0
  181. data/docs/SortBy.md +1 -1
  182. data/docs/SortBy1.md +1 -1
  183. data/docs/SortBy2.md +1 -1
  184. data/docs/SortBy3.md +1 -1
  185. data/docs/SortBy4.md +20 -0
  186. data/docs/SortByDateModified.md +1 -1
  187. data/docs/Suggestions.md +1 -1
  188. data/docs/Template.md +1 -1
  189. data/docs/TemplateDeletion.md +1 -1
  190. data/docs/TemplateList.md +1 -1
  191. data/docs/TemplateUpdate.md +1 -1
  192. data/docs/TemplateVersion.md +1 -1
  193. data/docs/TemplateVersionDeletion.md +1 -1
  194. data/docs/TemplateVersionList.md +1 -1
  195. data/docs/TemplateVersionUpdatable.md +1 -1
  196. data/docs/TemplateVersionWritable.md +1 -1
  197. data/docs/TemplateVersionsApi.md +5 -5
  198. data/docs/TemplateWritable.md +1 -1
  199. data/docs/TemplatesApi.md +5 -5
  200. data/docs/Thumbnail.md +1 -1
  201. data/docs/TrackingEventCertified.md +1 -1
  202. data/docs/TrackingEventDetails.md +1 -1
  203. data/docs/TrackingEventNormal.md +2 -2
  204. data/docs/Upload.md +12 -6
  205. data/docs/UploadCreateExport.md +1 -1
  206. data/docs/UploadFile.md +1 -1
  207. data/docs/UploadState.md +1 -1
  208. data/docs/UploadUpdatable.md +10 -4
  209. data/docs/UploadWritable.md +11 -3
  210. data/docs/UploadsApi.md +102 -102
  211. data/docs/UploadsMetadata.md +18 -0
  212. data/docs/UsAddress.md +54 -0
  213. data/docs/UsAutocompletions.md +1 -1
  214. data/docs/UsAutocompletionsApi.md +1 -1
  215. data/docs/UsAutocompletionsWritable.md +1 -1
  216. data/docs/UsComponents.md +28 -28
  217. data/docs/UsVerification.md +1 -1
  218. data/docs/UsVerificationOrError.md +1 -1
  219. data/docs/UsVerifications.md +1 -1
  220. data/docs/UsVerificationsApi.md +2 -2
  221. data/docs/UsVerificationsWritable.md +1 -1
  222. data/docs/ValidationError.md +1 -1
  223. data/docs/Zip.md +1 -1
  224. data/docs/ZipCodeType.md +1 -1
  225. data/docs/ZipEditable.md +1 -1
  226. data/docs/ZipLookupCity.md +1 -1
  227. data/docs/ZipLookupsApi.md +1 -1
  228. data/git_push.sh +0 -0
  229. data/lib/{openapi_client → lob}/api/checks_api.rb +2 -2
  230. data/lib/{openapi_client → lob}/api/letters_api.rb +2 -2
  231. data/lib/{openapi_client → lob}/api/postcards_api.rb +2 -2
  232. data/lib/{openapi_client → lob}/api/self_mailers_api.rb +2 -2
  233. data/lib/lob/api/snap_packs_api.rb +340 -0
  234. data/lib/lob/api_client.rb +392 -0
  235. data/lib/lob/api_error.rb +57 -0
  236. data/lib/lob/configuration.rb +279 -0
  237. data/lib/{openapi_client → lob}/models/bank_account.rb +3 -3
  238. data/lib/{openapi_client → lob}/models/check.rb +3 -3
  239. data/lib/lob/models/country_extended_expanded_no_us.rb +254 -0
  240. data/lib/lob/models/intl_address.rb +624 -0
  241. data/lib/{openapi_client → lob}/models/intl_components.rb +0 -0
  242. data/lib/{openapi_client → lob}/models/letter.rb +4 -19
  243. data/lib/{openapi_client → lob}/models/multiple_components.rb +5 -5
  244. data/lib/{openapi_client → lob}/models/postcard.rb +3 -3
  245. data/lib/{openapi_client → lob}/models/self_mailer.rb +3 -3
  246. data/lib/{openapi_client → lob}/models/self_mailer_size.rb +1 -0
  247. data/lib/lob/models/snap_pack.rb +584 -0
  248. data/lib/lob/models/snap_pack_deletion.rb +303 -0
  249. data/lib/lob/models/snap_pack_editable.rb +384 -0
  250. data/lib/lob/models/snap_pack_list.rb +324 -0
  251. data/lib/lob/models/snap_pack_size.rb +36 -0
  252. data/lib/lob/models/snp_use_type.rb +38 -0
  253. data/lib/lob/models/sort_by4.rb +283 -0
  254. data/lib/{openapi_client → lob}/models/thumbnail.rb +9 -9
  255. data/lib/{openapi_client → lob}/models/upload.rb +16 -1
  256. data/lib/lob/models/us_address.rb +644 -0
  257. data/lib/{openapi_client → lob}/models/us_verification.rb +8 -8
  258. data/lib/{openapi_client → lob}/models/us_verification_or_error.rb +6 -6
  259. data/lib/{openapi_client → lob}/models/us_verifications.rb +1 -1
  260. data/lib/{openapi_client → lob}/models/us_verifications_writable.rb +6 -6
  261. data/lib/lob/version.rb +15 -0
  262. data/lib/lob.rb +220 -1
  263. data/lib/openapi_client/version.rb +1 -1
  264. data/lib/openapi_client.rb +173 -173
  265. data/{openapi_client.gemspec → lob.gemspec} +8 -7
  266. data/spec/api/addresses_api_spec.rb +0 -0
  267. data/spec/api/bank_accounts_api_spec.rb +0 -0
  268. data/spec/api/billing_groups_api_spec.rb +0 -0
  269. data/spec/api/buckslip_orders_api_spec.rb +62 -0
  270. data/spec/api/buckslips_api_spec.rb +100 -0
  271. data/spec/api/campaigns_api_spec.rb +0 -0
  272. data/spec/api/card_orders_api_spec.rb +0 -0
  273. data/spec/api/cards_api_spec.rb +0 -0
  274. data/spec/api/checks_api_spec.rb +0 -0
  275. data/spec/api/creatives_api_spec.rb +0 -0
  276. data/spec/api/default_api_spec.rb +0 -0
  277. data/spec/api/identity_validation_api_spec.rb +0 -0
  278. data/spec/api/intl_autocompletions_api_spec.rb +0 -0
  279. data/spec/api/intl_verifications_api_spec.rb +0 -0
  280. data/spec/api/letters_api_spec.rb +0 -0
  281. data/spec/api/postcards_api_spec.rb +0 -0
  282. data/spec/api/reverse_geocode_lookups_api_spec.rb +0 -0
  283. data/spec/api/self_mailers_api_spec.rb +0 -0
  284. data/spec/api/snap_packs_api_spec.rb +94 -0
  285. data/spec/api/template_versions_api_spec.rb +0 -0
  286. data/spec/api/templates_api_spec.rb +0 -0
  287. data/spec/api/uploads_api_spec.rb +0 -0
  288. data/spec/api/us_autocompletions_api_spec.rb +0 -0
  289. data/spec/api/us_verifications_api_spec.rb +0 -0
  290. data/spec/api/zip_lookups_api_spec.rb +0 -0
  291. data/spec/api_client_spec.rb +0 -0
  292. data/spec/configuration_spec.rb +0 -0
  293. data/spec/spec_helper.rb +1 -1
  294. metadata +239 -198
  295. /data/lib/{openapi_client → lob}/api/addresses_api.rb +0 -0
  296. /data/lib/{openapi_client → lob}/api/bank_accounts_api.rb +0 -0
  297. /data/lib/{openapi_client → lob}/api/billing_groups_api.rb +0 -0
  298. /data/lib/{openapi_client → lob}/api/buckslip_orders_api.rb +0 -0
  299. /data/lib/{openapi_client → lob}/api/buckslips_api.rb +0 -0
  300. /data/lib/{openapi_client → lob}/api/campaigns_api.rb +0 -0
  301. /data/lib/{openapi_client → lob}/api/card_orders_api.rb +0 -0
  302. /data/lib/{openapi_client → lob}/api/cards_api.rb +0 -0
  303. /data/lib/{openapi_client → lob}/api/creatives_api.rb +0 -0
  304. /data/lib/{openapi_client → lob}/api/default_api.rb +0 -0
  305. /data/lib/{openapi_client → lob}/api/identity_validation_api.rb +0 -0
  306. /data/lib/{openapi_client → lob}/api/intl_autocompletions_api.rb +0 -0
  307. /data/lib/{openapi_client → lob}/api/intl_verifications_api.rb +0 -0
  308. /data/lib/{openapi_client → lob}/api/reverse_geocode_lookups_api.rb +0 -0
  309. /data/lib/{openapi_client → lob}/api/template_versions_api.rb +0 -0
  310. /data/lib/{openapi_client → lob}/api/templates_api.rb +0 -0
  311. /data/lib/{openapi_client → lob}/api/uploads_api.rb +0 -0
  312. /data/lib/{openapi_client → lob}/api/us_autocompletions_api.rb +0 -0
  313. /data/lib/{openapi_client → lob}/api/us_verifications_api.rb +0 -0
  314. /data/lib/{openapi_client → lob}/api/zip_lookups_api.rb +0 -0
  315. /data/lib/{openapi_client → lob}/models/address.rb +0 -0
  316. /data/lib/{openapi_client → lob}/models/address_deletion.rb +0 -0
  317. /data/lib/{openapi_client → lob}/models/address_domestic.rb +0 -0
  318. /data/lib/{openapi_client → lob}/models/address_domestic_expanded.rb +0 -0
  319. /data/lib/{openapi_client → lob}/models/address_editable.rb +0 -0
  320. /data/lib/{openapi_client → lob}/models/address_list.rb +0 -0
  321. /data/lib/{openapi_client → lob}/models/bank_account_deletion.rb +0 -0
  322. /data/lib/{openapi_client → lob}/models/bank_account_list.rb +0 -0
  323. /data/lib/{openapi_client → lob}/models/bank_account_verify.rb +0 -0
  324. /data/lib/{openapi_client → lob}/models/bank_account_writable.rb +0 -0
  325. /data/lib/{openapi_client → lob}/models/bank_type_enum.rb +0 -0
  326. /data/lib/{openapi_client → lob}/models/billing_group.rb +0 -0
  327. /data/lib/{openapi_client → lob}/models/billing_group_editable.rb +0 -0
  328. /data/lib/{openapi_client → lob}/models/billing_group_list.rb +0 -0
  329. /data/lib/{openapi_client → lob}/models/buckslip.rb +0 -0
  330. /data/lib/{openapi_client → lob}/models/buckslip_deletion.rb +0 -0
  331. /data/lib/{openapi_client → lob}/models/buckslip_editable.rb +0 -0
  332. /data/lib/{openapi_client → lob}/models/buckslip_order.rb +0 -0
  333. /data/lib/{openapi_client → lob}/models/buckslip_order_editable.rb +0 -0
  334. /data/lib/{openapi_client → lob}/models/buckslip_orders_list.rb +0 -0
  335. /data/lib/{openapi_client → lob}/models/buckslip_updatable.rb +0 -0
  336. /data/lib/{openapi_client → lob}/models/buckslips_list.rb +0 -0
  337. /data/lib/{openapi_client → lob}/models/bulk_error.rb +0 -0
  338. /data/lib/{openapi_client → lob}/models/bulk_error_properties.rb +0 -0
  339. /data/lib/{openapi_client → lob}/models/campaign.rb +0 -0
  340. /data/lib/{openapi_client → lob}/models/campaign_creative.rb +0 -0
  341. /data/lib/{openapi_client → lob}/models/campaign_deletion.rb +0 -0
  342. /data/lib/{openapi_client → lob}/models/campaign_updatable.rb +0 -0
  343. /data/lib/{openapi_client → lob}/models/campaign_writable.rb +0 -0
  344. /data/lib/{openapi_client → lob}/models/campaigns_list.rb +0 -0
  345. /data/lib/{openapi_client → lob}/models/card.rb +0 -0
  346. /data/lib/{openapi_client → lob}/models/card_deletion.rb +0 -0
  347. /data/lib/{openapi_client → lob}/models/card_editable.rb +0 -0
  348. /data/lib/{openapi_client → lob}/models/card_list.rb +0 -0
  349. /data/lib/{openapi_client → lob}/models/card_order.rb +0 -0
  350. /data/lib/{openapi_client → lob}/models/card_order_editable.rb +0 -0
  351. /data/lib/{openapi_client → lob}/models/card_order_list.rb +0 -0
  352. /data/lib/{openapi_client → lob}/models/card_updatable.rb +0 -0
  353. /data/lib/{openapi_client → lob}/models/check_deletion.rb +0 -0
  354. /data/lib/{openapi_client → lob}/models/check_editable.rb +0 -0
  355. /data/lib/{openapi_client → lob}/models/check_list.rb +0 -0
  356. /data/lib/{openapi_client → lob}/models/chk_use_type.rb +0 -0
  357. /data/lib/{openapi_client → lob}/models/cmp_schedule_type.rb +0 -0
  358. /data/lib/{openapi_client → lob}/models/cmp_use_type.rb +0 -0
  359. /data/lib/{openapi_client → lob}/models/country_extended.rb +0 -0
  360. /data/lib/{openapi_client → lob}/models/country_extended_expanded.rb +0 -0
  361. /data/lib/{openapi_client → lob}/models/creative_patch.rb +0 -0
  362. /data/lib/{openapi_client → lob}/models/creative_response.rb +0 -0
  363. /data/lib/{openapi_client → lob}/models/creative_writable.rb +0 -0
  364. /data/lib/{openapi_client → lob}/models/custom_envelope_returned.rb +0 -0
  365. /data/lib/{openapi_client → lob}/models/deliverability_analysis.rb +0 -0
  366. /data/lib/{openapi_client → lob}/models/dpv_footnote.rb +0 -0
  367. /data/lib/{openapi_client → lob}/models/engine_html.rb +0 -0
  368. /data/lib/{openapi_client → lob}/models/event_type.rb +0 -0
  369. /data/lib/{openapi_client → lob}/models/events.rb +0 -0
  370. /data/lib/{openapi_client → lob}/models/export.rb +0 -0
  371. /data/lib/{openapi_client → lob}/models/export_model.rb +0 -0
  372. /data/lib/{openapi_client → lob}/models/geocode_addresses.rb +0 -0
  373. /data/lib/{openapi_client → lob}/models/geocode_components.rb +0 -0
  374. /data/lib/{openapi_client → lob}/models/http_validation_error.rb +0 -0
  375. /data/lib/{openapi_client → lob}/models/identity_validation.rb +0 -0
  376. /data/lib/{openapi_client → lob}/models/inline_object.rb +0 -0
  377. /data/lib/{openapi_client → lob}/models/intl_autocompletions.rb +0 -0
  378. /data/lib/{openapi_client → lob}/models/intl_autocompletions_writable.rb +0 -0
  379. /data/lib/{openapi_client → lob}/models/intl_suggestions.rb +0 -0
  380. /data/lib/{openapi_client → lob}/models/intl_verification.rb +0 -0
  381. /data/lib/{openapi_client → lob}/models/intl_verification_or_error.rb +0 -0
  382. /data/lib/{openapi_client → lob}/models/intl_verification_writable.rb +0 -0
  383. /data/lib/{openapi_client → lob}/models/intl_verifications.rb +0 -0
  384. /data/lib/{openapi_client → lob}/models/intl_verifications_payload.rb +0 -0
  385. /data/lib/{openapi_client → lob}/models/letter_custom_envelope.rb +0 -0
  386. /data/lib/{openapi_client → lob}/models/letter_deletion.rb +0 -0
  387. /data/lib/{openapi_client → lob}/models/letter_details_returned.rb +0 -0
  388. /data/lib/{openapi_client → lob}/models/letter_details_writable.rb +0 -0
  389. /data/lib/{openapi_client → lob}/models/letter_editable.rb +0 -0
  390. /data/lib/{openapi_client → lob}/models/letter_list.rb +0 -0
  391. /data/lib/{openapi_client → lob}/models/lob_confidence_score.rb +0 -0
  392. /data/lib/{openapi_client → lob}/models/lob_error.rb +0 -0
  393. /data/lib/{openapi_client → lob}/models/location.rb +0 -0
  394. /data/lib/{openapi_client → lob}/models/location_analysis.rb +0 -0
  395. /data/lib/{openapi_client → lob}/models/ltr_use_type.rb +0 -0
  396. /data/lib/{openapi_client → lob}/models/mail_type.rb +0 -0
  397. /data/lib/{openapi_client → lob}/models/multi_line_address.rb +0 -0
  398. /data/lib/{openapi_client → lob}/models/multiple_components_intl.rb +0 -0
  399. /data/lib/{openapi_client → lob}/models/multiple_components_list.rb +0 -0
  400. /data/lib/{openapi_client → lob}/models/optional_address_column_mapping.rb +0 -0
  401. /data/lib/{openapi_client → lob}/models/placeholder_model.rb +0 -0
  402. /data/lib/{openapi_client → lob}/models/postcard_deletion.rb +0 -0
  403. /data/lib/{openapi_client → lob}/models/postcard_details_returned.rb +0 -0
  404. /data/lib/{openapi_client → lob}/models/postcard_details_writable.rb +0 -0
  405. /data/lib/{openapi_client → lob}/models/postcard_editable.rb +0 -0
  406. /data/lib/{openapi_client → lob}/models/postcard_list.rb +0 -0
  407. /data/lib/{openapi_client → lob}/models/postcard_size.rb +0 -0
  408. /data/lib/{openapi_client → lob}/models/psc_use_type.rb +0 -0
  409. /data/lib/{openapi_client → lob}/models/qr_code.rb +0 -0
  410. /data/lib/{openapi_client → lob}/models/required_address_column_mapping.rb +0 -0
  411. /data/lib/{openapi_client → lob}/models/return_envelope.rb +0 -0
  412. /data/lib/{openapi_client → lob}/models/reverse_geocode.rb +0 -0
  413. /data/lib/{openapi_client → lob}/models/self_mailer_deletion.rb +0 -0
  414. /data/lib/{openapi_client → lob}/models/self_mailer_editable.rb +0 -0
  415. /data/lib/{openapi_client → lob}/models/self_mailer_list.rb +0 -0
  416. /data/lib/{openapi_client → lob}/models/sfm_use_type.rb +0 -0
  417. /data/lib/{openapi_client → lob}/models/sort_by.rb +0 -0
  418. /data/lib/{openapi_client → lob}/models/sort_by1.rb +0 -0
  419. /data/lib/{openapi_client → lob}/models/sort_by2.rb +0 -0
  420. /data/lib/{openapi_client → lob}/models/sort_by3.rb +0 -0
  421. /data/lib/{openapi_client → lob}/models/sort_by_date_modified.rb +0 -0
  422. /data/lib/{openapi_client → lob}/models/suggestions.rb +0 -0
  423. /data/lib/{openapi_client → lob}/models/template.rb +0 -0
  424. /data/lib/{openapi_client → lob}/models/template_deletion.rb +0 -0
  425. /data/lib/{openapi_client → lob}/models/template_list.rb +0 -0
  426. /data/lib/{openapi_client → lob}/models/template_update.rb +0 -0
  427. /data/lib/{openapi_client → lob}/models/template_version.rb +0 -0
  428. /data/lib/{openapi_client → lob}/models/template_version_deletion.rb +0 -0
  429. /data/lib/{openapi_client → lob}/models/template_version_list.rb +0 -0
  430. /data/lib/{openapi_client → lob}/models/template_version_updatable.rb +0 -0
  431. /data/lib/{openapi_client → lob}/models/template_version_writable.rb +0 -0
  432. /data/lib/{openapi_client → lob}/models/template_writable.rb +0 -0
  433. /data/lib/{openapi_client → lob}/models/tracking_event_certified.rb +0 -0
  434. /data/lib/{openapi_client → lob}/models/tracking_event_details.rb +0 -0
  435. /data/lib/{openapi_client → lob}/models/tracking_event_normal.rb +0 -0
  436. /data/lib/{openapi_client → lob}/models/upload_create_export.rb +0 -0
  437. /data/lib/{openapi_client → lob}/models/upload_file.rb +0 -0
  438. /data/lib/{openapi_client → lob}/models/upload_state.rb +0 -0
  439. /data/lib/{openapi_client → lob}/models/upload_updatable.rb +0 -0
  440. /data/lib/{openapi_client → lob}/models/upload_writable.rb +0 -0
  441. /data/lib/{openapi_client → lob}/models/uploads_metadata.rb +0 -0
  442. /data/lib/{openapi_client → lob}/models/us_autocompletions.rb +0 -0
  443. /data/lib/{openapi_client → lob}/models/us_autocompletions_writable.rb +0 -0
  444. /data/lib/{openapi_client → lob}/models/us_components.rb +0 -0
  445. /data/lib/{openapi_client → lob}/models/validation_error.rb +0 -0
  446. /data/lib/{openapi_client → lob}/models/zip.rb +0 -0
  447. /data/lib/{openapi_client → lob}/models/zip_code_type.rb +0 -0
  448. /data/lib/{openapi_client → lob}/models/zip_editable.rb +0 -0
  449. /data/lib/{openapi_client → lob}/models/zip_lookup_city.rb +0 -0
data/docs/UploadsApi.md CHANGED
@@ -5,13 +5,13 @@ All URIs are relative to *https://api.lob.com/v1*
5
5
  | Method | HTTP request | Description |
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**export_retrieve**](UploadsApi.md#export_retrieve) | **GET** /uploads/{upl_id}/exports/{ex_id} | get_export |
8
- | [**upload_create**](UploadsApi.md#upload_create) | **POST** /uploads | create_upload |
9
- | [**upload_delete**](UploadsApi.md#upload_delete) | **DELETE** /uploads/{upl_id} | delete_upload |
8
+ | [**get**](UploadsApi.md#get) | **GET** /uploads/{upl_id} | get |
9
+ | [**upload_create**](UploadsApi.md#upload_create) | **POST** /uploads | create |
10
+ | [**upload_delete**](UploadsApi.md#upload_delete) | **DELETE** /uploads/{upl_id} | delete |
10
11
  | [**upload_export_create**](UploadsApi.md#upload_export_create) | **POST** /uploads/{upl_id}/exports | create_export |
11
12
  | [**upload_file_create**](UploadsApi.md#upload_file_create) | **POST** /uploads/{upl_id}/file | upload_file |
12
- | [**upload_retrieve**](UploadsApi.md#upload_retrieve) | **GET** /uploads/{upl_id} | get_upload |
13
- | [**upload_update**](UploadsApi.md#upload_update) | **PATCH** /uploads/{upl_id} | update_upload |
14
- | [**uploads_list**](UploadsApi.md#uploads_list) | **GET** /uploads | list_upload |
13
+ | [**upload_update**](UploadsApi.md#upload_update) | **PATCH** /uploads/{upl_id} | update |
14
+ | [**uploads_list**](UploadsApi.md#uploads_list) | **GET** /uploads | list |
15
15
 
16
16
 
17
17
  ## export_retrieve
@@ -26,7 +26,7 @@ Retrieves the details of an existing export. You need only supply the unique exp
26
26
 
27
27
  ```ruby
28
28
  require 'time'
29
- require 'openapi_client'
29
+ require 'lob'
30
30
  # setup authorization
31
31
  Lob.configure do |config|
32
32
  # Configure HTTP basic authorization: basicAuth
@@ -86,11 +86,81 @@ end
86
86
  - **Accept**: application/json
87
87
 
88
88
 
89
+ ## get
90
+
91
+ > <Upload> get(upl_id)
92
+
93
+ get
94
+
95
+ Retrieves the details of an existing upload. You need only supply the unique upload identifier that was returned upon upload creation.
96
+
97
+ ### Examples
98
+
99
+ ```ruby
100
+ require 'time'
101
+ require 'lob'
102
+ # setup authorization
103
+ Lob.configure do |config|
104
+ # Configure HTTP basic authorization: basicAuth
105
+ config.username = 'YOUR USERNAME'
106
+ config.password = 'YOUR PASSWORD'
107
+ end
108
+
109
+ api_instance = Lob::UploadsApi.new
110
+ upl_id = 'upl_id_example' # String | id of the upload
111
+
112
+ begin
113
+ # get
114
+ result = api_instance.get(upl_id)
115
+ p result
116
+ rescue Lob::ApiError => e
117
+ puts "Error when calling UploadsApi->get: #{e}"
118
+ end
119
+ ```
120
+
121
+ #### Using the get_with_http_info variant
122
+
123
+ This returns an Array which contains the response data, status code and headers.
124
+
125
+ > <Array(<Upload>, Integer, Hash)> get_with_http_info(upl_id)
126
+
127
+ ```ruby
128
+ begin
129
+ # get
130
+ data, status_code, headers = api_instance.get_with_http_info(upl_id)
131
+ p status_code # => 2xx
132
+ p headers # => { ... }
133
+ p data # => <Upload>
134
+ rescue Lob::ApiError => e
135
+ puts "Error when calling UploadsApi->get_with_http_info: #{e}"
136
+ end
137
+ ```
138
+
139
+ ### Parameters
140
+
141
+ | Name | Type | Description | Notes |
142
+ | ---- | ---- | ----------- | ----- |
143
+ | **upl_id** | **String** | id of the upload | |
144
+
145
+ ### Return type
146
+
147
+ [**Upload**](Upload.md)
148
+
149
+ ### Authorization
150
+
151
+ [basicAuth](../README.md#basicAuth)
152
+
153
+ ### HTTP request headers
154
+
155
+ - **Content-Type**: Not defined
156
+ - **Accept**: application/json
157
+
158
+
89
159
  ## upload_create
90
160
 
91
161
  > <Upload> upload_create(upload_writable)
92
162
 
93
- create_upload
163
+ create
94
164
 
95
165
  Creates a new upload with the provided properties.
96
166
 
@@ -98,7 +168,7 @@ Creates a new upload with the provided properties.
98
168
 
99
169
  ```ruby
100
170
  require 'time'
101
- require 'openapi_client'
171
+ require 'lob'
102
172
  # setup authorization
103
173
  Lob.configure do |config|
104
174
  # Configure HTTP basic authorization: basicAuth
@@ -110,11 +180,11 @@ api_instance = Lob::UploadsApi.new
110
180
  upload_writable = Lob::UploadWritable.new({campaign_id: 'campaign_id_example'}) # UploadWritable |
111
181
 
112
182
  begin
113
- # create_upload
114
- result = api_instance.create_upload(upload_writable)
183
+ # create
184
+ result = api_instance.create(upload_writable)
115
185
  p result
116
186
  rescue Lob::ApiError => e
117
- puts "Error when calling UploadsApi->create_upload: #{e}"
187
+ puts "Error when calling UploadsApi->create: #{e}"
118
188
  end
119
189
  ```
120
190
 
@@ -126,7 +196,7 @@ This returns an Array which contains the response data, status code and headers.
126
196
 
127
197
  ```ruby
128
198
  begin
129
- # create_upload
199
+ # create
130
200
  data, status_code, headers = api_instance.upload_create_with_http_info(upload_writable)
131
201
  p status_code # => 2xx
132
202
  p headers # => { ... }
@@ -160,7 +230,7 @@ end
160
230
 
161
231
  > upload_delete(upl_id)
162
232
 
163
- delete_upload
233
+ delete
164
234
 
165
235
  Delete an existing upload. You need only supply the unique identifier that was returned upon upload creation.
166
236
 
@@ -168,7 +238,7 @@ Delete an existing upload. You need only supply the unique identifier that was r
168
238
 
169
239
  ```ruby
170
240
  require 'time'
171
- require 'openapi_client'
241
+ require 'lob'
172
242
  # setup authorization
173
243
  Lob.configure do |config|
174
244
  # Configure HTTP basic authorization: basicAuth
@@ -180,10 +250,10 @@ api_instance = Lob::UploadsApi.new
180
250
  upl_id = 'upl_id_example' # String | id of the upload
181
251
 
182
252
  begin
183
- # delete_upload
184
- api_instance.delete_upload(upl_id)
253
+ # delete
254
+ api_instance.delete(upl_id)
185
255
  rescue Lob::ApiError => e
186
- puts "Error when calling UploadsApi->delete_upload: #{e}"
256
+ puts "Error when calling UploadsApi->delete: #{e}"
187
257
  end
188
258
  ```
189
259
 
@@ -195,7 +265,7 @@ This returns an Array which contains the response data (`nil` in this case), sta
195
265
 
196
266
  ```ruby
197
267
  begin
198
- # delete_upload
268
+ # delete
199
269
  data, status_code, headers = api_instance.upload_delete_with_http_info(upl_id)
200
270
  p status_code # => 2xx
201
271
  p headers # => { ... }
@@ -237,7 +307,7 @@ Campaign Exports can help you understand exactly which records in a campaign cou
237
307
 
238
308
  ```ruby
239
309
  require 'time'
240
- require 'openapi_client'
310
+ require 'lob'
241
311
  # setup authorization
242
312
  Lob.configure do |config|
243
313
  # Configure HTTP basic authorization: basicAuth
@@ -309,7 +379,7 @@ Upload an [audience file](https://help.lob.com/best-practices/campaign-audience-
309
379
 
310
380
  ```ruby
311
381
  require 'time'
312
- require 'openapi_client'
382
+ require 'lob'
313
383
  # setup authorization
314
384
  Lob.configure do |config|
315
385
  # Configure HTTP basic authorization: basicAuth
@@ -369,81 +439,11 @@ end
369
439
  - **Accept**: application/json
370
440
 
371
441
 
372
- ## upload_retrieve
373
-
374
- > <Upload> upload_retrieve(upl_id)
375
-
376
- get_upload
377
-
378
- Retrieves the details of an existing upload. You need only supply the unique upload identifier that was returned upon upload creation.
379
-
380
- ### Examples
381
-
382
- ```ruby
383
- require 'time'
384
- require 'openapi_client'
385
- # setup authorization
386
- Lob.configure do |config|
387
- # Configure HTTP basic authorization: basicAuth
388
- config.username = 'YOUR USERNAME'
389
- config.password = 'YOUR PASSWORD'
390
- end
391
-
392
- api_instance = Lob::UploadsApi.new
393
- upl_id = 'upl_id_example' # String | id of the upload
394
-
395
- begin
396
- # get_upload
397
- result = api_instance.get_upload(upl_id)
398
- p result
399
- rescue Lob::ApiError => e
400
- puts "Error when calling UploadsApi->get_upload: #{e}"
401
- end
402
- ```
403
-
404
- #### Using the upload_retrieve_with_http_info variant
405
-
406
- This returns an Array which contains the response data, status code and headers.
407
-
408
- > <Array(<Upload>, Integer, Hash)> upload_retrieve_with_http_info(upl_id)
409
-
410
- ```ruby
411
- begin
412
- # get_upload
413
- data, status_code, headers = api_instance.upload_retrieve_with_http_info(upl_id)
414
- p status_code # => 2xx
415
- p headers # => { ... }
416
- p data # => <Upload>
417
- rescue Lob::ApiError => e
418
- puts "Error when calling UploadsApi->upload_retrieve_with_http_info: #{e}"
419
- end
420
- ```
421
-
422
- ### Parameters
423
-
424
- | Name | Type | Description | Notes |
425
- | ---- | ---- | ----------- | ----- |
426
- | **upl_id** | **String** | id of the upload | |
427
-
428
- ### Return type
429
-
430
- [**Upload**](Upload.md)
431
-
432
- ### Authorization
433
-
434
- [basicAuth](../README.md#basicAuth)
435
-
436
- ### HTTP request headers
437
-
438
- - **Content-Type**: Not defined
439
- - **Accept**: application/json
440
-
441
-
442
442
  ## upload_update
443
443
 
444
444
  > <Upload> upload_update(upl_id, upload_updatable)
445
445
 
446
- update_upload
446
+ update
447
447
 
448
448
  Update the details of an existing upload. You need only supply the unique identifier that was returned upon upload creation.
449
449
 
@@ -451,7 +451,7 @@ Update the details of an existing upload. You need only supply the unique identi
451
451
 
452
452
  ```ruby
453
453
  require 'time'
454
- require 'openapi_client'
454
+ require 'lob'
455
455
  # setup authorization
456
456
  Lob.configure do |config|
457
457
  # Configure HTTP basic authorization: basicAuth
@@ -464,11 +464,11 @@ upl_id = 'upl_id_example' # String | id of the upload
464
464
  upload_updatable = Lob::UploadUpdatable.new # UploadUpdatable |
465
465
 
466
466
  begin
467
- # update_upload
468
- result = api_instance.update_upload(upl_id, upload_updatable)
467
+ # update
468
+ result = api_instance.update(upl_id, upload_updatable)
469
469
  p result
470
470
  rescue Lob::ApiError => e
471
- puts "Error when calling UploadsApi->update_upload: #{e}"
471
+ puts "Error when calling UploadsApi->update: #{e}"
472
472
  end
473
473
  ```
474
474
 
@@ -480,7 +480,7 @@ This returns an Array which contains the response data, status code and headers.
480
480
 
481
481
  ```ruby
482
482
  begin
483
- # update_upload
483
+ # update
484
484
  data, status_code, headers = api_instance.upload_update_with_http_info(upl_id, upload_updatable)
485
485
  p status_code # => 2xx
486
486
  p headers # => { ... }
@@ -515,7 +515,7 @@ end
515
515
 
516
516
  > <Array<Upload>> uploads_list(opts)
517
517
 
518
- list_upload
518
+ list
519
519
 
520
520
  Returns a list of your uploads. Optionally, filter uploads by campaign.
521
521
 
@@ -523,7 +523,7 @@ Returns a list of your uploads. Optionally, filter uploads by campaign.
523
523
 
524
524
  ```ruby
525
525
  require 'time'
526
- require 'openapi_client'
526
+ require 'lob'
527
527
  # setup authorization
528
528
  Lob.configure do |config|
529
529
  # Configure HTTP basic authorization: basicAuth
@@ -537,11 +537,11 @@ opts = {
537
537
  }
538
538
 
539
539
  begin
540
- # list_upload
541
- result = api_instance.list_upload(opts)
540
+ # list
541
+ result = api_instance.list(opts)
542
542
  p result
543
543
  rescue Lob::ApiError => e
544
- puts "Error when calling UploadsApi->list_upload: #{e}"
544
+ puts "Error when calling UploadsApi->list: #{e}"
545
545
  end
546
546
  ```
547
547
 
@@ -553,7 +553,7 @@ This returns an Array which contains the response data, status code and headers.
553
553
 
554
554
  ```ruby
555
555
  begin
556
- # list_upload
556
+ # list
557
557
  data, status_code, headers = api_instance.uploads_list_with_http_info(opts)
558
558
  p status_code # => 2xx
559
559
  p headers # => { ... }
@@ -0,0 +1,18 @@
1
+ # Lob::UploadsMetadata
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **columns** | **Array&lt;String&gt;** | The list of column names from the csv file which you want associated with each of your mailpieces | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'lob'
13
+
14
+ instance = Lob::UploadsMetadata.new(
15
+ columns: null
16
+ )
17
+ ```
18
+
data/docs/UsAddress.md ADDED
@@ -0,0 +1,54 @@
1
+ # Lob::UsAddress
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | Unique identifier prefixed with &#x60;adr_&#x60;. | [optional] |
8
+ | **description** | **String** | An internal description that identifies this resource. Must be no longer than 255 characters. | [optional] |
9
+ | **name** | **String** | name associated with address | [optional] |
10
+ | **company** | **String** | Either &#x60;name&#x60; or &#x60;company&#x60; is required, you may also add both. | [optional] |
11
+ | **phone** | **String** | Must be no longer than 40 characters. | [optional] |
12
+ | **email** | **String** | Must be no longer than 100 characters. | [optional] |
13
+ | **metadata** | **Hash&lt;String, String&gt;** | Use metadata to store custom information for tagging and labeling back to your internal systems. Must be an object with up to 20 key-value pairs. Keys must be at most 40 characters and values must be at most 500 characters. Neither can contain the characters &#x60;\&quot;&#x60; and &#x60;\\&#x60;. i.e. &#39;{\&quot;customer_id\&quot; : \&quot;NEWYORK2015\&quot;}&#39; Nested objects are not supported. See [Metadata](#section/Metadata) for more information. | [optional] |
14
+ | **address_line1** | **String** | | [optional] |
15
+ | **address_line2** | **String** | | [optional] |
16
+ | **address_city** | **String** | | [optional] |
17
+ | **address_state** | **String** | 2 letter state short-name code | [optional] |
18
+ | **address_zip** | **String** | Must follow the ZIP format of &#x60;12345&#x60; or ZIP+4 format of &#x60;12345-1234&#x60;. | [optional] |
19
+ | **address_country** | **String** | Full name of country | [optional] |
20
+ | **object** | **String** | | [optional][default to &#39;address&#39;] |
21
+ | **date_created** | **Time** | A timestamp in ISO 8601 format of the date the resource was created. | [optional] |
22
+ | **date_modified** | **Time** | A timestamp in ISO 8601 format of the date the resource was last modified. | [optional] |
23
+ | **deleted** | **Boolean** | Only returned if the resource has been successfully deleted. | [optional] |
24
+ | **inline** | **Boolean** | Checks if address id is used or not | [optional] |
25
+ | **recipient_moved** | **Boolean** | Only returned for accounts on certain &lt;a href&#x3D;\&quot;https://dashboard.lob.com/#/settings/editions\&quot;&gt;Print &amp;amp; Mail Editions&lt;/a&gt;. Value is &#x60;true&#x60; if the address was altered because the recipient filed for a &lt;a href&#x3D;\&quot;#ncoa\&quot;&gt;National Change of Address (NCOA)&lt;/a&gt;, &#x60;false&#x60; if the NCOA check was run but no altered address was found, and &#x60;null&#x60; if the NCOA check was not run. The NCOA check does not happen for non-US addresses, for non-deliverable US addresses, or for addresses created before the NCOA feature was added to your account. | [optional] |
26
+
27
+ ## Example
28
+
29
+ ```ruby
30
+ require 'lob'
31
+
32
+ instance = Lob::UsAddress.new(
33
+ id: null,
34
+ description: null,
35
+ name: null,
36
+ company: null,
37
+ phone: null,
38
+ email: null,
39
+ metadata: null,
40
+ address_line1: null,
41
+ address_line2: null,
42
+ address_city: null,
43
+ address_state: null,
44
+ address_zip: null,
45
+ address_country: null,
46
+ object: null,
47
+ date_created: null,
48
+ date_modified: null,
49
+ deleted: null,
50
+ inline: null,
51
+ recipient_moved: null
52
+ )
53
+ ```
54
+
@@ -11,7 +11,7 @@
11
11
  ## Example
12
12
 
13
13
  ```ruby
14
- require 'openapi_client'
14
+ require 'lob'
15
15
 
16
16
  instance = Lob::UsAutocompletions.new(
17
17
  id: null,
@@ -19,7 +19,7 @@ Given an address prefix consisting of a partial primary line, as well as optiona
19
19
 
20
20
  ```ruby
21
21
  require 'time'
22
- require 'openapi_client'
22
+ require 'lob'
23
23
  # setup authorization
24
24
  Lob.configure do |config|
25
25
  # Configure HTTP basic authorization: basicAuth
@@ -13,7 +13,7 @@
13
13
  ## Example
14
14
 
15
15
  ```ruby
16
- require 'openapi_client'
16
+ require 'lob'
17
17
 
18
18
  instance = Lob::UsAutocompletionsWritable.new(
19
19
  address_prefix: null,
data/docs/UsComponents.md CHANGED
@@ -35,36 +35,36 @@
35
35
  ## Example
36
36
 
37
37
  ```ruby
38
- require 'openapi_client'
38
+ require 'lob'
39
39
 
40
40
  instance = Lob::UsComponents.new(
41
- primary_number: nil,
42
- street_predirection: nil,
43
- street_name: nil,
44
- street_suffix: nil,
45
- street_postdirection: nil,
46
- secondary_designator: nil,
47
- secondary_number: nil,
48
- pmb_designator: nil,
49
- pmb_number: nil,
50
- extra_secondary_designator: nil,
51
- extra_secondary_number: nil,
52
- city: nil,
53
- state: nil,
54
- zip_code: nil,
55
- zip_code_plus_4: nil,
56
- zip_code_type: nil,
57
- delivery_point_barcode: nil,
58
- address_type: nil,
59
- record_type: nil,
60
- default_building_address: nil,
61
- county: nil,
62
- county_fips: nil,
63
- carrier_route: nil,
64
- carrier_route_type: nil,
65
- po_box_only_flag: nil,
66
- latitude: nil,
67
- longitude: nil
41
+ primary_number: null,
42
+ street_predirection: null,
43
+ street_name: null,
44
+ street_suffix: null,
45
+ street_postdirection: null,
46
+ secondary_designator: null,
47
+ secondary_number: null,
48
+ pmb_designator: null,
49
+ pmb_number: null,
50
+ extra_secondary_designator: null,
51
+ extra_secondary_number: null,
52
+ city: null,
53
+ state: null,
54
+ zip_code: null,
55
+ zip_code_plus_4: null,
56
+ zip_code_type: null,
57
+ delivery_point_barcode: null,
58
+ address_type: null,
59
+ record_type: null,
60
+ default_building_address: null,
61
+ county: null,
62
+ county_fips: null,
63
+ carrier_route: null,
64
+ carrier_route_type: null,
65
+ po_box_only_flag: null,
66
+ latitude: null,
67
+ longitude: null
68
68
  )
69
69
  ```
70
70
 
@@ -21,7 +21,7 @@
21
21
  ## Example
22
22
 
23
23
  ```ruby
24
- require 'openapi_client'
24
+ require 'lob'
25
25
 
26
26
  instance = Lob::UsVerification.new(
27
27
  id: null,
@@ -21,7 +21,7 @@
21
21
  ## Example
22
22
 
23
23
  ```ruby
24
- require 'openapi_client'
24
+ require 'lob'
25
25
 
26
26
  instance = Lob::UsVerificationOrError.new(
27
27
  id: null,
@@ -10,7 +10,7 @@
10
10
  ## Example
11
11
 
12
12
  ```ruby
13
- require 'openapi_client'
13
+ require 'lob'
14
14
 
15
15
  instance = Lob::UsVerifications.new(
16
16
  addresses: null,
@@ -20,7 +20,7 @@ Verify a list of US or US territory addresses with a live API key.
20
20
 
21
21
  ```ruby
22
22
  require 'time'
23
- require 'openapi_client'
23
+ require 'lob'
24
24
  # setup authorization
25
25
  Lob.configure do |config|
26
26
  # Configure HTTP basic authorization: basicAuth
@@ -94,7 +94,7 @@ Verify a US or US territory address with a live API key.
94
94
 
95
95
  ```ruby
96
96
  require 'time'
97
- require 'openapi_client'
97
+ require 'lob'
98
98
  # setup authorization
99
99
  Lob.configure do |config|
100
100
  # Configure HTTP basic authorization: basicAuth
@@ -17,7 +17,7 @@
17
17
  ## Example
18
18
 
19
19
  ```ruby
20
- require 'openapi_client'
20
+ require 'lob'
21
21
 
22
22
  instance = Lob::UsVerificationsWritable.new(
23
23
  address: null,
@@ -11,7 +11,7 @@
11
11
  ## Example
12
12
 
13
13
  ```ruby
14
- require 'openapi_client'
14
+ require 'lob'
15
15
 
16
16
  instance = Lob::ValidationError.new(
17
17
  loc: null,
data/docs/Zip.md CHANGED
@@ -13,7 +13,7 @@
13
13
  ## Example
14
14
 
15
15
  ```ruby
16
- require 'openapi_client'
16
+ require 'lob'
17
17
 
18
18
  instance = Lob::Zip.new(
19
19
  zip_code: null,
data/docs/ZipCodeType.md CHANGED
@@ -8,7 +8,7 @@
8
8
  ## Example
9
9
 
10
10
  ```ruby
11
- require 'openapi_client'
11
+ require 'lob'
12
12
 
13
13
  instance = Lob::ZipCodeType.new()
14
14
  ```
data/docs/ZipEditable.md CHANGED
@@ -9,7 +9,7 @@
9
9
  ## Example
10
10
 
11
11
  ```ruby
12
- require 'openapi_client'
12
+ require 'lob'
13
13
 
14
14
  instance = Lob::ZipEditable.new(
15
15
  zip_code: null
@@ -13,7 +13,7 @@
13
13
  ## Example
14
14
 
15
15
  ```ruby
16
- require 'openapi_client'
16
+ require 'lob'
17
17
 
18
18
  instance = Lob::ZipLookupCity.new(
19
19
  city: null,
@@ -19,7 +19,7 @@ Returns information about a ZIP code
19
19
 
20
20
  ```ruby
21
21
  require 'time'
22
- require 'openapi_client'
22
+ require 'lob'
23
23
  # setup authorization
24
24
  Lob.configure do |config|
25
25
  # Configure HTTP basic authorization: basicAuth
data/git_push.sh CHANGED
File without changes
@@ -242,7 +242,7 @@ module Lob
242
242
  # @option opts [Boolean] :scheduled * &#x60;true&#x60; - only return orders (past or future) where &#x60;send_date&#x60; is greater than &#x60;date_created&#x60; * &#x60;false&#x60; - only return orders where &#x60;send_date&#x60; is equal to &#x60;date_created&#x60;
243
243
  # @option opts [Hash<String, String>] :send_date Filter by date sent.
244
244
  # @option opts [MailType] :mail_type A string designating the mail postage type: * &#x60;usps_first_class&#x60; - (default) * &#x60;usps_standard&#x60; - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. &#x60;usps_standard&#x60; cannot be used with &#x60;4x6&#x60; postcards or for any postcards sent outside of the United States. (default to 'usps_first_class')
245
- # @option opts [SortBy3] :sort_by Sorts items by ascending or descending dates. Use either &#x60;date_created&#x60; or &#x60;send_date&#x60;, not both.
245
+ # @option opts [SortBy4] :sort_by Sorts items by ascending or descending dates. Use either &#x60;date_created&#x60; or &#x60;send_date&#x60;, not both.
246
246
  # @return [CheckList]
247
247
  def list(opts = {})
248
248
  data, _status_code, _headers = checks_list_with_http_info(opts)
@@ -261,7 +261,7 @@ module Lob
261
261
  # @option opts [Boolean] :scheduled * &#x60;true&#x60; - only return orders (past or future) where &#x60;send_date&#x60; is greater than &#x60;date_created&#x60; * &#x60;false&#x60; - only return orders where &#x60;send_date&#x60; is equal to &#x60;date_created&#x60;
262
262
  # @option opts [Hash<String, String>] :send_date Filter by date sent.
263
263
  # @option opts [MailType] :mail_type A string designating the mail postage type: * &#x60;usps_first_class&#x60; - (default) * &#x60;usps_standard&#x60; - a [cheaper option](https://lob.com/pricing/print-mail#compare) which is less predictable and takes longer to deliver. &#x60;usps_standard&#x60; cannot be used with &#x60;4x6&#x60; postcards or for any postcards sent outside of the United States. (default to 'usps_first_class')
264
- # @option opts [SortBy3] :sort_by Sorts items by ascending or descending dates. Use either &#x60;date_created&#x60; or &#x60;send_date&#x60;, not both.
264
+ # @option opts [SortBy4] :sort_by Sorts items by ascending or descending dates. Use either &#x60;date_created&#x60; or &#x60;send_date&#x60;, not both.
265
265
  # @return [Array<(CheckList, Integer, Hash)>] CheckList data, response status code and response headers
266
266
  def checks_list_with_http_info(opts = {})
267
267
  if @api_client.config.debugging