ultracart_api 3.10.213 → 4.0.32.rc

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1765) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -7
  3. data/README.md +1166 -1703
  4. data/Rakefile +10 -8
  5. data/docs/AccountsReceivableRetryConfig.md +46 -23
  6. data/docs/AccountsReceivableRetryConfigResponse.md +32 -15
  7. data/docs/AccountsReceivableRetryDayActivity.md +22 -10
  8. data/docs/AccountsReceivableRetryStatAccount.md +24 -11
  9. data/docs/AccountsReceivableRetryStatMetrics.md +38 -18
  10. data/docs/AccountsReceivableRetryStatRevenue.md +20 -9
  11. data/docs/AccountsReceivableRetryStatsResponse.md +28 -13
  12. data/docs/Activity.md +28 -15
  13. data/docs/AddLibraryItemRequest.md +38 -18
  14. data/docs/AdjustInternalCertificateRequest.md +28 -13
  15. data/docs/AdjustInternalCertificateResponse.md +28 -13
  16. data/docs/AffiliateApi.md +173 -126
  17. data/docs/AffiliateClick.md +38 -20
  18. data/docs/AffiliateClickQuery.md +28 -13
  19. data/docs/AffiliateClicksResponse.md +26 -12
  20. data/docs/AffiliateLedger.md +54 -26
  21. data/docs/AffiliateLedgerQuery.md +28 -13
  22. data/docs/AffiliateLedgersResponse.md +26 -12
  23. data/docs/AffiliateLink.md +44 -21
  24. data/docs/ApiUserApplicationProfile.md +26 -12
  25. data/docs/ApplyLibraryItemRequest.md +24 -11
  26. data/docs/ApplyLibraryItemResponse.md +38 -18
  27. data/docs/AutoOrder.md +60 -34
  28. data/docs/AutoOrderApi.md +693 -617
  29. data/docs/AutoOrderItem.md +64 -35
  30. data/docs/AutoOrderItemFutureSchedule.md +24 -11
  31. data/docs/AutoOrderItemOption.md +20 -9
  32. data/docs/AutoOrderItemSimpleSchedule.md +22 -10
  33. data/docs/AutoOrderLog.md +20 -9
  34. data/docs/AutoOrderQuery.md +58 -28
  35. data/docs/AutoOrderQueryBatch.md +18 -8
  36. data/docs/AutoOrderResponse.md +26 -12
  37. data/docs/AutoOrdersRequest.md +18 -8
  38. data/docs/AutoOrdersResponse.md +26 -12
  39. data/docs/AvalaraConfig.md +42 -20
  40. data/docs/BaseResponse.md +24 -11
  41. data/docs/Browser.md +22 -10
  42. data/docs/BrowserDevice.md +18 -8
  43. data/docs/BrowserOS.md +26 -12
  44. data/docs/BrowserUserAgent.md +24 -11
  45. data/docs/Cart.md +68 -33
  46. data/docs/CartAffiliate.md +20 -9
  47. data/docs/CartAffirmCheckoutResponse.md +20 -9
  48. data/docs/CartBilling.md +46 -24
  49. data/docs/CartBuysafe.md +28 -13
  50. data/docs/CartCheckout.md +44 -25
  51. data/docs/CartCoupon.md +18 -8
  52. data/docs/CartCurrencyConversion.md +20 -9
  53. data/docs/CartCustomerProfile.md +60 -30
  54. data/docs/CartCustomerProfileAddress.md +44 -21
  55. data/docs/CartCustomerProfileCreditCard.md +28 -13
  56. data/docs/CartFinalizeOrderRequest.md +20 -9
  57. data/docs/CartFinalizeOrderRequestOptions.md +42 -20
  58. data/docs/CartFinalizeOrderResponse.md +26 -12
  59. data/docs/CartGift.md +28 -13
  60. data/docs/CartGiftCertificate.md +22 -10
  61. data/docs/CartItem.md +74 -37
  62. data/docs/CartItemAttribute.md +22 -10
  63. data/docs/CartItemMultimedia.md +34 -16
  64. data/docs/CartItemMultimediaThumbnail.md +26 -12
  65. data/docs/CartItemOption.md +40 -19
  66. data/docs/CartItemOptionValue.md +26 -12
  67. data/docs/CartItemPhysical.md +24 -11
  68. data/docs/CartItemVariationSelection.md +20 -9
  69. data/docs/CartKitComponentOption.md +44 -21
  70. data/docs/CartMarketing.md +20 -10
  71. data/docs/CartPayment.md +30 -15
  72. data/docs/CartPaymentAffirm.md +18 -8
  73. data/docs/CartPaymentAmazon.md +18 -8
  74. data/docs/CartPaymentCheck.md +18 -8
  75. data/docs/CartPaymentCreditCard.md +34 -16
  76. data/docs/CartPaymentPurchaseOrder.md +18 -8
  77. data/docs/CartProfileLoginRequest.md +22 -10
  78. data/docs/CartProfileLoginResponse.md +20 -9
  79. data/docs/CartProfileRegisterRequest.md +20 -9
  80. data/docs/CartProfileRegisterResponse.md +20 -9
  81. data/docs/CartProperty.md +24 -11
  82. data/docs/CartResponse.md +20 -9
  83. data/docs/CartSettings.md +28 -13
  84. data/docs/CartSettingsBilling.md +18 -8
  85. data/docs/CartSettingsGift.md +24 -11
  86. data/docs/CartSettingsGiftWrap.md +22 -10
  87. data/docs/CartSettingsPayment.md +42 -20
  88. data/docs/CartSettingsPaymentAmazon.md +22 -10
  89. data/docs/CartSettingsPaymentCreditCard.md +22 -11
  90. data/docs/CartSettingsPaymentPayPal.md +26 -12
  91. data/docs/CartSettingsProvince.md +20 -9
  92. data/docs/CartSettingsShipping.md +26 -12
  93. data/docs/CartSettingsShippingCalendar.md +26 -12
  94. data/docs/CartSettingsShippingEstimate.md +44 -21
  95. data/docs/CartSettingsTaxes.md +18 -8
  96. data/docs/CartSettingsTerms.md +20 -9
  97. data/docs/CartShipping.md +54 -26
  98. data/docs/CartSummary.md +48 -27
  99. data/docs/CartTaxes.md +22 -10
  100. data/docs/CartUpsellAfter.md +22 -10
  101. data/docs/CartValidationRequest.md +20 -9
  102. data/docs/CartValidationResponse.md +20 -9
  103. data/docs/ChannelPartnerApi.md +382 -578
  104. data/docs/ChannelPartnerCancelResponse.md +26 -12
  105. data/docs/ChannelPartnerEstimateShippingResponse.md +26 -12
  106. data/docs/ChannelPartnerEstimateTaxResponse.md +26 -12
  107. data/docs/ChannelPartnerImportResponse.md +30 -14
  108. data/docs/ChannelPartnerOrder.md +176 -98
  109. data/docs/ChannelPartnerOrderItem.md +30 -14
  110. data/docs/ChannelPartnerOrderItemOption.md +20 -9
  111. data/docs/ChannelPartnerOrderTransaction.md +20 -9
  112. data/docs/ChannelPartnerOrderTransactionDetail.md +20 -9
  113. data/docs/ChannelPartnerShippingEstimate.md +20 -9
  114. data/docs/ChargebackApi.md +420 -301
  115. data/docs/ChargebackDispute.md +62 -30
  116. data/docs/ChargebackDisputeResponse.md +26 -12
  117. data/docs/ChargebackDisputesResponse.md +26 -12
  118. data/docs/CheckoutAllowedCountriesResponse.md +18 -8
  119. data/docs/CheckoutApi.md +1566 -1023
  120. data/docs/CheckoutHandoffRequest.md +32 -15
  121. data/docs/CheckoutHandoffResponse.md +22 -10
  122. data/docs/CheckoutSetupBrowserKeyRequest.md +18 -8
  123. data/docs/CheckoutSetupBrowserKeyResponse.md +18 -8
  124. data/docs/CheckoutStateProvinceResponse.md +18 -8
  125. data/docs/CityStateZip.md +26 -12
  126. data/docs/CountriesResponse.md +18 -8
  127. data/docs/Country.md +20 -9
  128. data/docs/Coupon.md +136 -74
  129. data/docs/CouponAmountOffItems.md +24 -12
  130. data/docs/CouponAmountOffShipping.md +22 -10
  131. data/docs/CouponAmountOffShippingWithItemsPurchase.md +24 -11
  132. data/docs/CouponAmountOffSubtotal.md +20 -9
  133. data/docs/CouponAmountOffSubtotalAndShipping.md +20 -9
  134. data/docs/CouponAmountOffSubtotalFreeShippingWithPurchase.md +24 -11
  135. data/docs/CouponAmountOffSubtotalWithBlockPurchase.md +24 -11
  136. data/docs/CouponAmountOffSubtotalWithItemsPurchase.md +24 -11
  137. data/docs/CouponAmountOffSubtotalWithPurchase.md +22 -10
  138. data/docs/CouponAmountShippingWithSubtotal.md +24 -11
  139. data/docs/CouponApi.md +1500 -1043
  140. data/docs/CouponAutoApplyCondition.md +22 -10
  141. data/docs/CouponAutoApplyConditions.md +28 -13
  142. data/docs/CouponAutomaticallyApplyCouponCodes.md +18 -8
  143. data/docs/CouponBuyOneGetOneLimit.md +20 -10
  144. data/docs/CouponCodesRequest.md +30 -14
  145. data/docs/CouponCodesResponse.md +28 -13
  146. data/docs/CouponDeletesRequest.md +20 -9
  147. data/docs/CouponDiscountItemWithItemPurchase.md +26 -14
  148. data/docs/CouponDiscountItems.md +24 -11
  149. data/docs/CouponEditorValues.md +36 -18
  150. data/docs/CouponExistsResponse.md +28 -13
  151. data/docs/CouponFreeItemAndShippingWithSubtotal.md +26 -12
  152. data/docs/CouponFreeItemWithItemPurchase.md +24 -13
  153. data/docs/CouponFreeItemWithSubtotal.md +24 -11
  154. data/docs/CouponFreeItemsWithItemPurchase.md +26 -12
  155. data/docs/CouponFreeItemsWithMixMatchPurchase.md +26 -12
  156. data/docs/CouponFreeShipping.md +18 -8
  157. data/docs/CouponFreeShippingSpecificItems.md +18 -8
  158. data/docs/CouponFreeShippingWithItemsPurchase.md +20 -9
  159. data/docs/CouponFreeShippingWithSubtotal.md +22 -10
  160. data/docs/CouponItemSearchResult.md +32 -15
  161. data/docs/CouponItemSearchResultsResponse.md +26 -12
  162. data/docs/CouponMultipleAmountsOffItems.md +20 -9
  163. data/docs/CouponPercentOffItemWithItemsQuantityPurchase.md +26 -12
  164. data/docs/CouponPercentOffItems.md +24 -13
  165. data/docs/CouponPercentOffItemsAndFreeShipping.md +22 -12
  166. data/docs/CouponPercentOffItemsWithItemsPurchase.md +24 -13
  167. data/docs/CouponPercentOffMsrpItems.md +24 -13
  168. data/docs/CouponPercentOffRetailPriceItems.md +24 -11
  169. data/docs/CouponPercentOffShipping.md +20 -9
  170. data/docs/CouponPercentOffSubtotal.md +18 -8
  171. data/docs/CouponPercentOffSubtotalAndFreeShipping.md +20 -9
  172. data/docs/CouponPercentOffSubtotalLimit.md +22 -10
  173. data/docs/CouponPercentOffSubtotalWithItemsPurchase.md +20 -9
  174. data/docs/CouponPercentOffSubtotalWithSubtotal.md +22 -10
  175. data/docs/CouponQuery.md +36 -17
  176. data/docs/CouponResponse.md +28 -13
  177. data/docs/CouponRestriction.md +24 -11
  178. data/docs/CouponTierAmount.md +22 -10
  179. data/docs/CouponTierItemDiscount.md +20 -9
  180. data/docs/CouponTierPercent.md +22 -10
  181. data/docs/CouponTierQuantityAmount.md +22 -10
  182. data/docs/CouponTierQuantityPercent.md +22 -10
  183. data/docs/CouponTieredAmountOffItems.md +22 -11
  184. data/docs/CouponTieredAmountOffSubtotal.md +20 -9
  185. data/docs/CouponTieredPercentOffItems.md +22 -11
  186. data/docs/CouponTieredPercentOffShipping.md +22 -10
  187. data/docs/CouponTieredPercentOffSubtotal.md +20 -9
  188. data/docs/CouponType.md +20 -9
  189. data/docs/CouponsRequest.md +18 -8
  190. data/docs/CouponsResponse.md +26 -12
  191. data/docs/Currency.md +26 -12
  192. data/docs/Customer.md +134 -71
  193. data/docs/CustomerActivity.md +24 -15
  194. data/docs/CustomerAffiliate.md +24 -11
  195. data/docs/CustomerApi.md +1380 -1347
  196. data/docs/CustomerAttachment.md +26 -12
  197. data/docs/CustomerBilling.md +50 -24
  198. data/docs/CustomerCard.md +32 -15
  199. data/docs/CustomerEditorValues.md +36 -19
  200. data/docs/CustomerEmail.md +28 -13
  201. data/docs/CustomerEmailListChanges.md +20 -9
  202. data/docs/CustomerLoyalty.md +30 -14
  203. data/docs/CustomerLoyaltyLedger.md +46 -22
  204. data/docs/CustomerLoyaltyRedemption.md +42 -20
  205. data/docs/CustomerOrdersSummary.md +24 -11
  206. data/docs/CustomerPricingTier.md +20 -9
  207. data/docs/CustomerPrivacy.md +24 -11
  208. data/docs/CustomerQuery.md +74 -36
  209. data/docs/CustomerQuotesSummary.md +24 -11
  210. data/docs/CustomerResponse.md +26 -12
  211. data/docs/CustomerReviewer.md +36 -17
  212. data/docs/CustomerShipping.md +50 -24
  213. data/docs/CustomerSoftwareEntitlement.md +32 -15
  214. data/docs/CustomerStoreCredit.md +28 -13
  215. data/docs/CustomerStoreCreditAddRequest.md +24 -11
  216. data/docs/CustomerStoreCreditLedgerEntry.md +30 -14
  217. data/docs/CustomerStoreCreditResponse.md +26 -12
  218. data/docs/CustomerTag.md +18 -8
  219. data/docs/CustomerTaxCodes.md +26 -12
  220. data/docs/CustomersResponse.md +26 -12
  221. data/docs/DataTablesServerSideResponse.md +24 -11
  222. data/docs/Distance.md +20 -9
  223. data/docs/DistributionCenter.md +86 -57
  224. data/docs/DistributionCentersResponse.md +26 -12
  225. data/docs/EmailBaseTemplateListResponse.md +18 -8
  226. data/docs/EmailCampaign.md +64 -33
  227. data/docs/EmailCampaignFolder.md +26 -12
  228. data/docs/EmailCampaignFolderResponse.md +26 -12
  229. data/docs/EmailCampaignFoldersResponse.md +26 -12
  230. data/docs/EmailCampaignResponse.md +26 -12
  231. data/docs/EmailCampaignsResponse.md +26 -12
  232. data/docs/EmailClick.md +20 -9
  233. data/docs/EmailClicksResponse.md +26 -12
  234. data/docs/EmailCommseq.md +24 -11
  235. data/docs/EmailCommseqEmail.md +68 -41
  236. data/docs/EmailCommseqEmailResponse.md +26 -12
  237. data/docs/EmailCommseqEmailSendTestRequest.md +36 -17
  238. data/docs/EmailCommseqEmailSendTestResponse.md +24 -11
  239. data/docs/EmailCommseqEmailsRequest.md +26 -12
  240. data/docs/EmailCommseqEmailsResponse.md +26 -12
  241. data/docs/EmailCommseqPostcard.md +42 -20
  242. data/docs/EmailCommseqPostcardResponse.md +26 -12
  243. data/docs/EmailCommseqPostcardSendTestRequest.md +42 -20
  244. data/docs/EmailCommseqPostcardSendTestResponse.md +30 -14
  245. data/docs/EmailCommseqPostcardsRequest.md +18 -8
  246. data/docs/EmailCommseqPostcardsResponse.md +26 -12
  247. data/docs/EmailCommseqResponse.md +26 -12
  248. data/docs/EmailCommseqStat.md +90 -44
  249. data/docs/EmailCommseqStatResponse.md +26 -12
  250. data/docs/EmailCommseqStep.md +36 -17
  251. data/docs/EmailCommseqStepLog.md +22 -10
  252. data/docs/EmailCommseqStepLogsResponse.md +26 -12
  253. data/docs/EmailCommseqWebhookSendTestRequest.md +30 -14
  254. data/docs/EmailCommseqWebhookSendTestResponse.md +30 -14
  255. data/docs/EmailCommseqsResponse.md +26 -12
  256. data/docs/EmailCustomer.md +32 -15
  257. data/docs/EmailCustomerEditorUrlResponse.md +26 -12
  258. data/docs/EmailCustomersResponse.md +26 -12
  259. data/docs/EmailDashboardActivity.md +30 -14
  260. data/docs/EmailDashboardActivityResponse.md +26 -12
  261. data/docs/EmailDashboardStatsResponse.md +26 -12
  262. data/docs/EmailDomain.md +42 -20
  263. data/docs/EmailEditorTokenResponse.md +26 -12
  264. data/docs/EmailFlow.md +72 -38
  265. data/docs/EmailFlowBackPopulateRequest.md +20 -9
  266. data/docs/EmailFlowBackPopulateResponse.md +24 -11
  267. data/docs/EmailFlowFolder.md +26 -12
  268. data/docs/EmailFlowFolderResponse.md +26 -12
  269. data/docs/EmailFlowFoldersResponse.md +26 -12
  270. data/docs/EmailFlowResponse.md +26 -12
  271. data/docs/EmailFlowsResponse.md +26 -12
  272. data/docs/EmailGlobalSettings.md +18 -8
  273. data/docs/EmailGlobalSettingsResponse.md +26 -12
  274. data/docs/EmailGlobalUnsubscribeRequest.md +18 -8
  275. data/docs/EmailGlobalUnsubscribeResponse.md +18 -8
  276. data/docs/EmailHistogramPropertyNamesResponse.md +18 -8
  277. data/docs/EmailHistogramPropertyValuesResponse.md +18 -8
  278. data/docs/EmailList.md +40 -19
  279. data/docs/EmailListArchiveResponse.md +26 -12
  280. data/docs/EmailListCustomer.md +24 -11
  281. data/docs/EmailListCustomersResponse.md +26 -12
  282. data/docs/EmailListResponse.md +26 -12
  283. data/docs/EmailListSegmentFolder.md +26 -12
  284. data/docs/EmailListSegmentFolderResponse.md +26 -12
  285. data/docs/EmailListSegmentFoldersResponse.md +26 -12
  286. data/docs/EmailListSegmentMembership.md +24 -11
  287. data/docs/EmailListSegmentUsedBy.md +22 -10
  288. data/docs/EmailListSubscribeResponse.md +20 -9
  289. data/docs/EmailListsResponse.md +26 -12
  290. data/docs/EmailOrder.md +24 -11
  291. data/docs/EmailOrdersResponse.md +26 -12
  292. data/docs/EmailPerformance.md +62 -30
  293. data/docs/EmailPerformanceCustomerHistogram.md +18 -8
  294. data/docs/EmailPerformanceCustomerHistogramPeriod.md +26 -12
  295. data/docs/EmailPerformanceDaily.md +30 -14
  296. data/docs/EmailPerformanceResponse.md +26 -12
  297. data/docs/EmailPlan.md +50 -24
  298. data/docs/EmailPlanAdditional.md +34 -16
  299. data/docs/EmailPlanResponse.md +26 -12
  300. data/docs/EmailPostcardStat.md +80 -39
  301. data/docs/EmailSegment.md +58 -29
  302. data/docs/EmailSegmentArchiveResponse.md +26 -12
  303. data/docs/EmailSegmentCustomer.md +24 -11
  304. data/docs/EmailSegmentCustomersResponse.md +26 -12
  305. data/docs/EmailSegmentDownloadPrepareResponse.md +32 -15
  306. data/docs/EmailSegmentResponse.md +26 -12
  307. data/docs/EmailSegmentsResponse.md +26 -12
  308. data/docs/EmailSendingDomainResponse.md +26 -12
  309. data/docs/EmailSendingDomainsResponse.md +26 -12
  310. data/docs/EmailSettings.md +40 -26
  311. data/docs/EmailSettingsResponse.md +26 -12
  312. data/docs/EmailStat.md +92 -45
  313. data/docs/EmailStatPostcardSummaryRequest.md +20 -9
  314. data/docs/EmailStatPostcardSummaryResponse.md +26 -12
  315. data/docs/EmailStatSummaryRequest.md +22 -10
  316. data/docs/EmailStatSummaryResponse.md +26 -12
  317. data/docs/EmailStepStat.md +56 -37
  318. data/docs/EmailStepStatRequest.md +20 -9
  319. data/docs/EmailStepStatResponse.md +26 -12
  320. data/docs/EmailStepWaitingRequest.md +18 -8
  321. data/docs/EmailStepWaitingResponse.md +18 -8
  322. data/docs/EmailTemplate.md +38 -18
  323. data/docs/EmailTemplatesResponse.md +26 -12
  324. data/docs/EmailThirdPartyList.md +20 -9
  325. data/docs/EmailThirdPartyListImportRequest.md +18 -8
  326. data/docs/EmailThirdPartyProvider.md +38 -18
  327. data/docs/EmailThirdPartyProvidersResponse.md +26 -12
  328. data/docs/EmailThirdPartyTag.md +20 -9
  329. data/docs/EmailVerifyTokenRequest.md +20 -9
  330. data/docs/EmailVerifyTokenResponse.md +26 -12
  331. data/docs/EmailVerifyTokenValidateRequest.md +18 -8
  332. data/docs/EmailVerifyTokenValidateResponse.md +24 -11
  333. data/docs/EmailWebhookEditorValuesResponse.md +30 -14
  334. data/docs/Error.md +26 -12
  335. data/docs/ErrorResponse.md +24 -11
  336. data/docs/Experiment.md +52 -31
  337. data/docs/ExperimentResponse.md +26 -12
  338. data/docs/ExperimentVariation.md +60 -30
  339. data/docs/ExperimentVariationStat.md +38 -20
  340. data/docs/ExperimentsResponse.md +26 -12
  341. data/docs/FulfillmentApi.md +459 -318
  342. data/docs/FulfillmentInventory.md +20 -9
  343. data/docs/FulfillmentShipment.md +26 -12
  344. data/docs/GeoPoint.md +20 -9
  345. data/docs/GeocodeRequest.md +26 -12
  346. data/docs/GeocodeResponse.md +28 -13
  347. data/docs/GiftCertificate.md +44 -21
  348. data/docs/GiftCertificateApi.md +622 -433
  349. data/docs/GiftCertificateCreateRequest.md +26 -12
  350. data/docs/GiftCertificateLedgerEntry.md +28 -13
  351. data/docs/GiftCertificateQuery.md +34 -16
  352. data/docs/GiftCertificateResponse.md +26 -12
  353. data/docs/GiftCertificatesResponse.md +26 -12
  354. data/docs/Group.md +26 -12
  355. data/docs/GroupResponse.md +26 -12
  356. data/docs/GroupUserMembership.md +26 -12
  357. data/docs/GroupsResponse.md +26 -12
  358. data/docs/HTTPHeader.md +20 -9
  359. data/docs/IntegrationLog.md +52 -26
  360. data/docs/IntegrationLogApi.md +400 -286
  361. data/docs/IntegrationLogFile.md +24 -11
  362. data/docs/IntegrationLogLog.md +20 -9
  363. data/docs/IntegrationLogQueryFilterValues.md +40 -19
  364. data/docs/IntegrationLogQueryRequest.md +42 -23
  365. data/docs/IntegrationLogQueryResponse.md +28 -13
  366. data/docs/IntegrationLogResponse.md +26 -12
  367. data/docs/IntegrationLogSummary.md +34 -16
  368. data/docs/IntegrationLogSummaryQueryRequest.md +20 -9
  369. data/docs/IntegrationLogSummaryQueryResponse.md +26 -12
  370. data/docs/Item.md +118 -58
  371. data/docs/ItemAccounting.md +20 -9
  372. data/docs/ItemAmember.md +20 -9
  373. data/docs/ItemApi.md +733 -1266
  374. data/docs/ItemAutoOrder.md +50 -29
  375. data/docs/ItemAutoOrderStep.md +46 -24
  376. data/docs/ItemAutoOrderStepArbitraryUnitCostSchedule.md +20 -9
  377. data/docs/ItemAutoOrderStepGrandfatherPricing.md +20 -9
  378. data/docs/ItemCCBill.md +28 -13
  379. data/docs/ItemChannelPartnerMapping.md +54 -26
  380. data/docs/ItemChargeback.md +20 -9
  381. data/docs/ItemChargebackAddendum.md +24 -11
  382. data/docs/ItemChargebackAdjustmentRequest.md +22 -10
  383. data/docs/ItemCheckout.md +24 -11
  384. data/docs/ItemContent.md +42 -20
  385. data/docs/ItemContentAssignment.md +28 -13
  386. data/docs/ItemContentAttribute.md +24 -11
  387. data/docs/ItemContentMultimedia.md +46 -22
  388. data/docs/ItemContentMultimediaThumbnail.md +28 -13
  389. data/docs/ItemDigitalDelivery.md +28 -13
  390. data/docs/ItemDigitalItem.md +26 -17
  391. data/docs/ItemEbay.md +154 -76
  392. data/docs/ItemEbayCategorySpecific.md +20 -9
  393. data/docs/ItemEbayMarketListing.md +26 -12
  394. data/docs/ItemEbayMarketPlaceAnalysis.md +36 -17
  395. data/docs/ItemEmailNotifications.md +20 -9
  396. data/docs/ItemEnrollment123.md +18 -8
  397. data/docs/ItemFulfillmentAddon.md +24 -12
  398. data/docs/ItemGiftCertificate.md +20 -9
  399. data/docs/ItemGoogleProductSearch.md +112 -55
  400. data/docs/ItemIdentifiers.md +24 -15
  401. data/docs/ItemInstantPaymentNotification.md +22 -10
  402. data/docs/ItemInstantPaymentNotifications.md +18 -8
  403. data/docs/ItemInternal.md +18 -8
  404. data/docs/ItemKitComponent.md +26 -12
  405. data/docs/ItemKitDefinition.md +18 -8
  406. data/docs/ItemOption.md +44 -21
  407. data/docs/ItemOptionValue.md +46 -22
  408. data/docs/ItemOptionValueAdditionalItem.md +20 -9
  409. data/docs/ItemOptionValueDigitalItem.md +20 -9
  410. data/docs/ItemPaymentProcessing.md +26 -12
  411. data/docs/ItemPhysical.md +24 -11
  412. data/docs/ItemPricing.md +52 -25
  413. data/docs/ItemPricingTier.md +26 -12
  414. data/docs/ItemPricingTierDiscount.md +20 -9
  415. data/docs/ItemPricingTierLimit.md +22 -12
  416. data/docs/ItemProperty.md +22 -10
  417. data/docs/ItemRealtimePricing.md +22 -10
  418. data/docs/ItemRelated.md +22 -10
  419. data/docs/ItemRelatedItem.md +22 -10
  420. data/docs/ItemReporting.md +20 -9
  421. data/docs/ItemResponse.md +26 -12
  422. data/docs/ItemRestriction.md +32 -15
  423. data/docs/ItemRestrictionItem.md +22 -10
  424. data/docs/ItemRevguard.md +30 -14
  425. data/docs/ItemReviews.md +34 -17
  426. data/docs/ItemSalesforce.md +20 -9
  427. data/docs/ItemShipping.md +112 -55
  428. data/docs/ItemShippingCase.md +24 -11
  429. data/docs/ItemShippingDestinationMarkup.md +28 -14
  430. data/docs/ItemShippingDestinationRestriction.md +22 -10
  431. data/docs/ItemShippingDistributionCenter.md +44 -21
  432. data/docs/ItemShippingMethod.md +46 -22
  433. data/docs/ItemShippingPackageRequirement.md +20 -9
  434. data/docs/ItemTag.md +20 -9
  435. data/docs/ItemTags.md +18 -8
  436. data/docs/ItemTax.md +24 -11
  437. data/docs/ItemTaxExemption.md +26 -12
  438. data/docs/ItemThirdPartyEmailMarketing.md +26 -12
  439. data/docs/ItemVariantItem.md +28 -13
  440. data/docs/ItemVariation.md +26 -12
  441. data/docs/ItemVariationOption.md +24 -11
  442. data/docs/ItemWishlistMember.md +22 -10
  443. data/docs/ItemsRequest.md +18 -8
  444. data/docs/ItemsResponse.md +26 -12
  445. data/docs/KeyValue.md +22 -10
  446. data/docs/LibraryFilterValues.md +24 -11
  447. data/docs/LibraryFilterValuesResponse.md +26 -12
  448. data/docs/LibraryItem.md +96 -47
  449. data/docs/LibraryItemAccount.md +22 -10
  450. data/docs/LibraryItemAsset.md +20 -9
  451. data/docs/LibraryItemAttribute.md +20 -9
  452. data/docs/LibraryItemEmail.md +22 -10
  453. data/docs/LibraryItemPublishedMeta.md +32 -15
  454. data/docs/LibraryItemPurchasedMeta.md +22 -10
  455. data/docs/LibraryItemQuery.md +40 -19
  456. data/docs/LibraryItemResponse.md +26 -12
  457. data/docs/LibraryItemScreenshot.md +20 -9
  458. data/docs/LibraryItemsResponse.md +26 -12
  459. data/docs/LinkedAccount.md +22 -10
  460. data/docs/ListSegmentMembership.md +22 -10
  461. data/docs/LookupRequest.md +26 -13
  462. data/docs/LookupResponse.md +26 -12
  463. data/docs/Mailgun.md +18 -8
  464. data/docs/Metric.md +32 -15
  465. data/docs/Notification.md +38 -18
  466. data/docs/OauthApi.md +179 -124
  467. data/docs/OauthRevokeSuccessResponse.md +20 -9
  468. data/docs/OauthTokenResponse.md +32 -15
  469. data/docs/Order.md +84 -45
  470. data/docs/OrderAffiliate.md +22 -10
  471. data/docs/OrderAffiliateLedger.md +34 -16
  472. data/docs/OrderApi.md +1856 -1520
  473. data/docs/OrderAutoOrder.md +56 -27
  474. data/docs/OrderBilling.md +48 -25
  475. data/docs/OrderBuysafe.md +28 -13
  476. data/docs/OrderByTokenQuery.md +18 -8
  477. data/docs/OrderChannelPartner.md +38 -18
  478. data/docs/OrderCheckout.md +44 -24
  479. data/docs/OrderCoupon.md +26 -12
  480. data/docs/OrderDigitalItem.md +32 -15
  481. data/docs/OrderDigitalOrder.md +26 -12
  482. data/docs/OrderEdi.md +24 -11
  483. data/docs/OrderFormat.md +48 -23
  484. data/docs/OrderFormatResponse.md +20 -9
  485. data/docs/OrderFraudScore.md +56 -27
  486. data/docs/OrderGift.md +36 -17
  487. data/docs/OrderGiftCertificate.md +22 -10
  488. data/docs/OrderInternal.md +26 -13
  489. data/docs/OrderItem.md +128 -72
  490. data/docs/OrderItemEdi.md +20 -9
  491. data/docs/OrderItemEdiIdentification.md +20 -9
  492. data/docs/OrderItemEdiLot.md +22 -10
  493. data/docs/OrderItemOption.md +38 -18
  494. data/docs/OrderItemOptionFileAttachment.md +24 -11
  495. data/docs/OrderItemProperty.md +24 -11
  496. data/docs/OrderItemTag.md +18 -8
  497. data/docs/OrderLinkedShipment.md +26 -12
  498. data/docs/OrderMarketing.md +22 -11
  499. data/docs/OrderPackingSlipResponse.md +26 -12
  500. data/docs/OrderPayment.md +52 -26
  501. data/docs/OrderPaymentCheck.md +18 -8
  502. data/docs/OrderPaymentCreditCard.md +38 -19
  503. data/docs/OrderPaymentECheck.md +36 -17
  504. data/docs/OrderPaymentInsurance.md +24 -11
  505. data/docs/OrderPaymentPurchaseOrder.md +18 -8
  506. data/docs/OrderPaymentTransaction.md +24 -12
  507. data/docs/OrderPaymentTransactionDetail.md +22 -10
  508. data/docs/OrderProcessPaymentRequest.md +20 -9
  509. data/docs/OrderProcessPaymentResponse.md +26 -12
  510. data/docs/OrderProperty.md +24 -11
  511. data/docs/OrderQuery.md +94 -50
  512. data/docs/OrderQueryBatch.md +18 -8
  513. data/docs/OrderQuote.md +22 -10
  514. data/docs/OrderReplacement.md +46 -22
  515. data/docs/OrderReplacementItem.md +22 -10
  516. data/docs/OrderReplacementResponse.md +28 -13
  517. data/docs/OrderResponse.md +26 -12
  518. data/docs/OrderSalesforce.md +18 -8
  519. data/docs/OrderShipping.md +76 -38
  520. data/docs/OrderSummary.md +56 -29
  521. data/docs/OrderTag.md +18 -8
  522. data/docs/OrderTaxes.md +50 -24
  523. data/docs/OrderTokenResponse.md +26 -12
  524. data/docs/OrderTrackingNumberDetail.md +40 -19
  525. data/docs/OrderTrackingNumberDetails.md +52 -25
  526. data/docs/OrdersResponse.md +26 -12
  527. data/docs/Permission.md +22 -10
  528. data/docs/PricingTier.md +78 -41
  529. data/docs/PricingTierNotification.md +22 -10
  530. data/docs/PricingTiersResponse.md +26 -12
  531. data/docs/Property.md +20 -9
  532. data/docs/PublishLibraryItemRequest.md +18 -8
  533. data/docs/RegisterAffiliateClickRequest.md +28 -13
  534. data/docs/RegisterAffiliateClickResponse.md +24 -11
  535. data/docs/ResponseMetadata.md +20 -9
  536. data/docs/ResultSet.md +28 -13
  537. data/docs/ScreenRecording.md +116 -57
  538. data/docs/ScreenRecordingAdPlatform.md +30 -14
  539. data/docs/ScreenRecordingFilter.md +136 -67
  540. data/docs/ScreenRecordingFilterGeoDistance.md +26 -12
  541. data/docs/ScreenRecordingFilterIpSearch.md +24 -11
  542. data/docs/ScreenRecordingFilterPageView.md +50 -24
  543. data/docs/ScreenRecordingFilterPageViewEvent.md +20 -9
  544. data/docs/ScreenRecordingFilterPageViewEventParam.md +26 -12
  545. data/docs/ScreenRecordingFilterPageViewParam.md +20 -9
  546. data/docs/ScreenRecordingFilterPageViewReferrerParam.md +20 -9
  547. data/docs/ScreenRecordingFilterRangeBigDecimal.md +26 -12
  548. data/docs/ScreenRecordingFilterRangeDate.md +20 -9
  549. data/docs/ScreenRecordingFilterRangeInteger.md +26 -12
  550. data/docs/ScreenRecordingFilterStringSearch.md +26 -12
  551. data/docs/ScreenRecordingFilterValues.md +58 -28
  552. data/docs/ScreenRecordingFilterValuesEvent.md +20 -9
  553. data/docs/ScreenRecordingFilterValuesEventParams.md +26 -12
  554. data/docs/ScreenRecordingFilterValuesPageParam.md +20 -9
  555. data/docs/ScreenRecordingFilterValuesPageView.md +28 -13
  556. data/docs/ScreenRecordingHeatmap.md +64 -31
  557. data/docs/ScreenRecordingHeatmapIndexRequest.md +18 -8
  558. data/docs/ScreenRecordingHeatmapIndexResponse.md +26 -12
  559. data/docs/ScreenRecordingHeatmapRequest.md +22 -10
  560. data/docs/ScreenRecordingHeatmapReset.md +18 -8
  561. data/docs/ScreenRecordingHeatmapResponse.md +26 -12
  562. data/docs/ScreenRecordingHeatmapUrl.md +28 -13
  563. data/docs/ScreenRecordingMerchantNotesRequest.md +18 -8
  564. data/docs/ScreenRecordingMultifield.md +26 -12
  565. data/docs/ScreenRecordingPageView.md +54 -26
  566. data/docs/ScreenRecordingPageViewDataResponse.md +26 -12
  567. data/docs/ScreenRecordingPageViewEvent.md +28 -13
  568. data/docs/ScreenRecordingPageViewEventParameter.md +20 -9
  569. data/docs/ScreenRecordingPageViewParameter.md +20 -9
  570. data/docs/ScreenRecordingQueryRequest.md +18 -8
  571. data/docs/ScreenRecordingQueryResponse.md +38 -18
  572. data/docs/ScreenRecordingResponse.md +28 -13
  573. data/docs/ScreenRecordingSegment.md +36 -17
  574. data/docs/ScreenRecordingSegmentResponse.md +26 -12
  575. data/docs/ScreenRecordingSegmentsResponse.md +26 -12
  576. data/docs/ScreenRecordingSettings.md +32 -15
  577. data/docs/ScreenRecordingSettingsResponse.md +26 -12
  578. data/docs/ScreenRecordingStoreFront.md +20 -9
  579. data/docs/ScreenRecordingTagsRequest.md +18 -8
  580. data/docs/ScreenRecordingTagsResponse.md +26 -12
  581. data/docs/ScreenRecordingUserAgent.md +26 -12
  582. data/docs/ScreenRecordingUserAgentDevice.md +18 -8
  583. data/docs/ScreenRecordingUserAgentOS.md +22 -10
  584. data/docs/ScreenRecordingUserProperty.md +20 -9
  585. data/docs/ScreenshotsResponse.md +26 -12
  586. data/docs/SelfConfig.md +18 -8
  587. data/docs/SimpleValue.md +20 -9
  588. data/docs/SingleSignOnAuthorizeRequest.md +20 -9
  589. data/docs/SingleSignOnAuthorizeResponse.md +20 -9
  590. data/docs/SingleSignOnTokenRequest.md +20 -9
  591. data/docs/SingleSignOnTokenResponse.md +22 -10
  592. data/docs/SovosConfig.md +30 -14
  593. data/docs/SsoApi.md +300 -201
  594. data/docs/StateProvince.md +20 -9
  595. data/docs/StepWaiting.md +20 -9
  596. data/docs/StorefrontApi.md +13005 -9321
  597. data/docs/TaxApi.md +2101 -1421
  598. data/docs/TaxCity.md +34 -16
  599. data/docs/TaxCountry.md +34 -16
  600. data/docs/TaxCountryCode.md +26 -12
  601. data/docs/TaxCounty.md +36 -17
  602. data/docs/TaxJarConfig.md +30 -14
  603. data/docs/TaxPostalCode.md +30 -14
  604. data/docs/TaxProviderActivateResult.md +20 -9
  605. data/docs/TaxProviderAvalara.md +24 -11
  606. data/docs/TaxProviderAvalaraCompaniesResult.md +18 -8
  607. data/docs/TaxProviderAvalaraCompany.md +26 -12
  608. data/docs/TaxProviderSelf.md +26 -12
  609. data/docs/TaxProviderSelfCountriesResponse.md +18 -8
  610. data/docs/TaxProviderSelfRegionsResponse.md +18 -8
  611. data/docs/TaxProviderSovos.md +24 -11
  612. data/docs/TaxProviderTaxJar.md +24 -11
  613. data/docs/TaxProviderTestResult.md +20 -9
  614. data/docs/TaxProviderUltraCart.md +26 -12
  615. data/docs/TaxProviderUltraCartState.md +36 -17
  616. data/docs/TaxProvidersResponse.md +34 -16
  617. data/docs/TaxState.md +52 -25
  618. data/docs/TaxStateCode.md +26 -12
  619. data/docs/TempMultimedia.md +30 -14
  620. data/docs/TempMultimediaResponse.md +26 -12
  621. data/docs/ThumbnailParametersRequest.md +26 -12
  622. data/docs/ThumbnailParametersResponse.md +26 -12
  623. data/docs/TransactionEmail.md +56 -27
  624. data/docs/TransactionEmailListResponse.md +26 -12
  625. data/docs/TransactionEmailOption.md +32 -15
  626. data/docs/TransactionEmailResponse.md +26 -12
  627. data/docs/Twilio.md +24 -16
  628. data/docs/TwilioResponse.md +28 -13
  629. data/docs/TwiliosResponse.md +26 -12
  630. data/docs/UltraCartConfig.md +18 -8
  631. data/docs/UploadCouponCodesRequest.md +26 -12
  632. data/docs/UploadCouponCodesResponse.md +30 -14
  633. data/docs/User.md +44 -21
  634. data/docs/UserApi.md +823 -558
  635. data/docs/UserGroupMembership.md +22 -10
  636. data/docs/UserLogin.md +24 -11
  637. data/docs/UserLoginsResponse.md +26 -12
  638. data/docs/UserResponse.md +26 -12
  639. data/docs/UsersResponse.md +26 -12
  640. data/docs/VerificationRecord.md +22 -10
  641. data/docs/Warning.md +20 -9
  642. data/docs/Webhook.md +52 -26
  643. data/docs/WebhookApi.md +636 -447
  644. data/docs/WebhookEventCategory.md +26 -12
  645. data/docs/WebhookEventSubscription.md +34 -17
  646. data/docs/WebhookLog.md +38 -18
  647. data/docs/WebhookLogResponse.md +26 -12
  648. data/docs/WebhookLogSummariesResponse.md +26 -12
  649. data/docs/WebhookLogSummary.md +22 -10
  650. data/docs/WebhookResponse.md +26 -12
  651. data/docs/WebhookSampleRequest.md +24 -11
  652. data/docs/WebhookSampleRequestResponse.md +26 -12
  653. data/docs/WebhooksResponse.md +26 -12
  654. data/docs/Weight.md +20 -9
  655. data/git_push.sh +57 -55
  656. data/lib/ultracart_api/api/affiliate_api.rb +191 -164
  657. data/lib/ultracart_api/api/auto_order_api.rb +672 -706
  658. data/lib/ultracart_api/api/channel_partner_api.rb +370 -664
  659. data/lib/ultracart_api/api/chargeback_api.rb +410 -356
  660. data/lib/ultracart_api/api/checkout_api.rb +1341 -1111
  661. data/lib/ultracart_api/api/coupon_api.rb +1390 -1161
  662. data/lib/ultracart_api/api/customer_api.rb +1292 -1523
  663. data/lib/ultracart_api/api/fulfillment_api.rb +452 -381
  664. data/lib/ultracart_api/api/gift_certificate_api.rb +594 -502
  665. data/lib/ultracart_api/api/integration_log_api.rb +404 -350
  666. data/lib/ultracart_api/api/item_api.rb +686 -1412
  667. data/lib/ultracart_api/api/oauth_api.rb +198 -171
  668. data/lib/ultracart_api/api/order_api.rb +1728 -1700
  669. data/lib/ultracart_api/api/sso_api.rb +289 -243
  670. data/lib/ultracart_api/api/storefront_api.rb +11407 -10517
  671. data/lib/ultracart_api/api/tax_api.rb +1916 -1580
  672. data/lib/ultracart_api/api/user_api.rb +755 -634
  673. data/lib/ultracart_api/api/webhook_api.rb +601 -514
  674. data/lib/ultracart_api/api_client.rb +399 -400
  675. data/lib/ultracart_api/api_error.rb +57 -38
  676. data/lib/ultracart_api/configuration.rb +302 -229
  677. data/lib/ultracart_api/models/accounts_receivable_retry_config.rb +364 -341
  678. data/lib/ultracart_api/models/accounts_receivable_retry_config_response.rb +287 -252
  679. data/lib/ultracart_api/models/accounts_receivable_retry_day_activity.rb +240 -205
  680. data/lib/ultracart_api/models/accounts_receivable_retry_stat_account.rb +250 -215
  681. data/lib/ultracart_api/models/accounts_receivable_retry_stat_metrics.rb +309 -274
  682. data/lib/ultracart_api/models/accounts_receivable_retry_stat_revenue.rb +228 -193
  683. data/lib/ultracart_api/models/accounts_receivable_retry_stats_response.rb +267 -232
  684. data/lib/ultracart_api/models/activity.rb +264 -247
  685. data/lib/ultracart_api/models/add_library_item_request.rb +324 -289
  686. data/lib/ultracart_api/models/adjust_internal_certificate_request.rb +270 -235
  687. data/lib/ultracart_api/models/adjust_internal_certificate_response.rb +267 -232
  688. data/lib/ultracart_api/models/affiliate_click.rb +319 -304
  689. data/lib/ultracart_api/models/affiliate_click_query.rb +270 -235
  690. data/lib/ultracart_api/models/affiliate_clicks_response.rb +259 -224
  691. data/lib/ultracart_api/models/affiliate_ledger.rb +431 -396
  692. data/lib/ultracart_api/models/affiliate_ledger_query.rb +270 -235
  693. data/lib/ultracart_api/models/affiliate_ledgers_response.rb +259 -224
  694. data/lib/ultracart_api/models/affiliate_link.rb +408 -373
  695. data/lib/ultracart_api/models/api_user_application_profile.rb +260 -225
  696. data/lib/ultracart_api/models/apply_library_item_request.rb +250 -215
  697. data/lib/ultracart_api/models/apply_library_item_response.rb +319 -284
  698. data/lib/ultracart_api/models/auto_order.rb +469 -485
  699. data/lib/ultracart_api/models/auto_order_item.rb +487 -492
  700. data/lib/ultracart_api/models/auto_order_item_future_schedule.rb +250 -215
  701. data/lib/ultracart_api/models/auto_order_item_option.rb +260 -225
  702. data/lib/ultracart_api/models/auto_order_item_simple_schedule.rb +274 -239
  703. data/lib/ultracart_api/models/auto_order_log.rb +230 -195
  704. data/lib/ultracart_api/models/auto_order_query.rb +480 -445
  705. data/lib/ultracart_api/models/auto_order_query_batch.rb +222 -187
  706. data/lib/ultracart_api/models/auto_order_response.rb +256 -221
  707. data/lib/ultracart_api/models/auto_orders_request.rb +222 -187
  708. data/lib/ultracart_api/models/auto_orders_response.rb +258 -223
  709. data/lib/ultracart_api/models/avalara_config.rb +340 -305
  710. data/lib/ultracart_api/models/base_response.rb +247 -212
  711. data/lib/ultracart_api/models/browser.rb +237 -202
  712. data/lib/ultracart_api/models/browser_device.rb +219 -184
  713. data/lib/ultracart_api/models/browser_os.rb +255 -220
  714. data/lib/ultracart_api/models/browser_user_agent.rb +246 -211
  715. data/lib/ultracart_api/models/cart.rb +506 -471
  716. data/lib/ultracart_api/models/cart_affiliate.rb +245 -210
  717. data/lib/ultracart_api/models/cart_affirm_checkout_response.rb +232 -197
  718. data/lib/ultracart_api/models/cart_billing.rb +572 -587
  719. data/lib/ultracart_api/models/cart_buysafe.rb +269 -234
  720. data/lib/ultracart_api/models/cart_checkout.rb +500 -550
  721. data/lib/ultracart_api/models/cart_coupon.rb +220 -185
  722. data/lib/ultracart_api/models/cart_currency_conversion.rb +232 -197
  723. data/lib/ultracart_api/models/cart_customer_profile.rb +438 -413
  724. data/lib/ultracart_api/models/cart_customer_profile_address.rb +350 -315
  725. data/lib/ultracart_api/models/cart_customer_profile_credit_card.rb +304 -269
  726. data/lib/ultracart_api/models/cart_finalize_order_request.rb +228 -193
  727. data/lib/ultracart_api/models/cart_finalize_order_request_options.rb +355 -320
  728. data/lib/ultracart_api/models/cart_finalize_order_response.rb +260 -225
  729. data/lib/ultracart_api/models/cart_gift.rb +313 -278
  730. data/lib/ultracart_api/models/cart_gift_certificate.rb +238 -203
  731. data/lib/ultracart_api/models/cart_item.rb +504 -481
  732. data/lib/ultracart_api/models/cart_item_attribute.rb +240 -205
  733. data/lib/ultracart_api/models/cart_item_multimedia.rb +336 -301
  734. data/lib/ultracart_api/models/cart_item_multimedia_thumbnail.rb +260 -225
  735. data/lib/ultracart_api/models/cart_item_option.rb +378 -343
  736. data/lib/ultracart_api/models/cart_item_option_value.rb +258 -223
  737. data/lib/ultracart_api/models/cart_item_physical.rb +246 -211
  738. data/lib/ultracart_api/models/cart_item_variation_selection.rb +230 -195
  739. data/lib/ultracart_api/models/cart_kit_component_option.rb +398 -363
  740. data/lib/ultracart_api/models/cart_marketing.rb +230 -205
  741. data/lib/ultracart_api/models/cart_payment.rb +275 -249
  742. data/lib/ultracart_api/models/cart_payment_affirm.rb +220 -185
  743. data/lib/ultracart_api/models/cart_payment_amazon.rb +220 -185
  744. data/lib/ultracart_api/models/cart_payment_check.rb +220 -185
  745. data/lib/ultracart_api/models/cart_payment_credit_card.rb +300 -265
  746. data/lib/ultracart_api/models/cart_payment_purchase_order.rb +220 -185
  747. data/lib/ultracart_api/models/cart_profile_login_request.rb +239 -204
  748. data/lib/ultracart_api/models/cart_profile_login_response.rb +231 -196
  749. data/lib/ultracart_api/models/cart_profile_register_request.rb +229 -194
  750. data/lib/ultracart_api/models/cart_profile_register_response.rb +231 -196
  751. data/lib/ultracart_api/models/cart_property.rb +280 -245
  752. data/lib/ultracart_api/models/cart_response.rb +231 -196
  753. data/lib/ultracart_api/models/cart_settings.rb +264 -229
  754. data/lib/ultracart_api/models/cart_settings_billing.rb +222 -187
  755. data/lib/ultracart_api/models/cart_settings_gift.rb +251 -216
  756. data/lib/ultracart_api/models/cart_settings_gift_wrap.rb +239 -204
  757. data/lib/ultracart_api/models/cart_settings_payment.rb +337 -302
  758. data/lib/ultracart_api/models/cart_settings_payment_amazon.rb +240 -205
  759. data/lib/ultracart_api/models/cart_settings_payment_credit_card.rb +242 -217
  760. data/lib/ultracart_api/models/cart_settings_payment_pay_pal.rb +260 -225
  761. data/lib/ultracart_api/models/cart_settings_province.rb +228 -193
  762. data/lib/ultracart_api/models/cart_settings_shipping.rb +262 -227
  763. data/lib/ultracart_api/models/cart_settings_shipping_calendar.rb +264 -229
  764. data/lib/ultracart_api/models/cart_settings_shipping_estimate.rb +345 -310
  765. data/lib/ultracart_api/models/cart_settings_taxes.rb +221 -186
  766. data/lib/ultracart_api/models/cart_settings_terms.rb +230 -195
  767. data/lib/ultracart_api/models/cart_shipping.rb +625 -590
  768. data/lib/ultracart_api/models/cart_summary.rb +354 -356
  769. data/lib/ultracart_api/models/cart_taxes.rb +255 -220
  770. data/lib/ultracart_api/models/cart_upsell_after.rb +255 -220
  771. data/lib/ultracart_api/models/cart_validation_request.rb +231 -196
  772. data/lib/ultracart_api/models/cart_validation_response.rb +231 -196
  773. data/lib/ultracart_api/models/channel_partner_cancel_response.rb +259 -224
  774. data/lib/ultracart_api/models/channel_partner_estimate_shipping_response.rb +259 -224
  775. data/lib/ultracart_api/models/channel_partner_estimate_tax_response.rb +256 -221
  776. data/lib/ultracart_api/models/channel_partner_import_response.rb +281 -246
  777. data/lib/ultracart_api/models/channel_partner_order.rb +1604 -1703
  778. data/lib/ultracart_api/models/channel_partner_order_item.rb +331 -296
  779. data/lib/ultracart_api/models/channel_partner_order_item_option.rb +230 -195
  780. data/lib/ultracart_api/models/channel_partner_order_transaction.rb +232 -197
  781. data/lib/ultracart_api/models/channel_partner_order_transaction_detail.rb +230 -195
  782. data/lib/ultracart_api/models/channel_partner_shipping_estimate.rb +230 -195
  783. data/lib/ultracart_api/models/chargeback_dispute.rb +649 -614
  784. data/lib/ultracart_api/models/chargeback_dispute_response.rb +256 -221
  785. data/lib/ultracart_api/models/chargeback_disputes_response.rb +258 -223
  786. data/lib/ultracart_api/models/checkout_allowed_countries_response.rb +221 -186
  787. data/lib/ultracart_api/models/checkout_handoff_request.rb +323 -288
  788. data/lib/ultracart_api/models/checkout_handoff_response.rb +241 -206
  789. data/lib/ultracart_api/models/checkout_setup_browser_key_request.rb +222 -187
  790. data/lib/ultracart_api/models/checkout_setup_browser_key_response.rb +220 -185
  791. data/lib/ultracart_api/models/checkout_state_province_response.rb +221 -186
  792. data/lib/ultracart_api/models/city_state_zip.rb +255 -220
  793. data/lib/ultracart_api/models/countries_response.rb +221 -186
  794. data/lib/ultracart_api/models/country.rb +260 -225
  795. data/lib/ultracart_api/models/coupon.rb +864 -917
  796. data/lib/ultracart_api/models/coupon_amount_off_items.rb +267 -244
  797. data/lib/ultracart_api/models/coupon_amount_off_shipping.rb +257 -222
  798. data/lib/ultracart_api/models/coupon_amount_off_shipping_with_items_purchase.rb +269 -234
  799. data/lib/ultracart_api/models/coupon_amount_off_subtotal.rb +245 -210
  800. data/lib/ultracart_api/models/coupon_amount_off_subtotal_and_shipping.rb +245 -210
  801. data/lib/ultracart_api/models/coupon_amount_off_subtotal_free_shipping_with_purchase.rb +267 -232
  802. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_block_purchase.rb +265 -230
  803. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_items_purchase.rb +267 -232
  804. data/lib/ultracart_api/models/coupon_amount_off_subtotal_with_purchase.rb +255 -220
  805. data/lib/ultracart_api/models/coupon_amount_shipping_with_subtotal.rb +267 -232
  806. data/lib/ultracart_api/models/coupon_auto_apply_condition.rb +239 -204
  807. data/lib/ultracart_api/models/coupon_auto_apply_conditions.rb +269 -234
  808. data/lib/ultracart_api/models/coupon_automatically_apply_coupon_codes.rb +222 -187
  809. data/lib/ultracart_api/models/coupon_buy_one_get_one_limit.rb +232 -209
  810. data/lib/ultracart_api/models/coupon_codes_request.rb +277 -242
  811. data/lib/ultracart_api/models/coupon_codes_response.rb +269 -234
  812. data/lib/ultracart_api/models/coupon_deletes_request.rb +234 -199
  813. data/lib/ultracart_api/models/coupon_discount_item_with_item_purchase.rb +275 -264
  814. data/lib/ultracart_api/models/coupon_discount_items.rb +267 -232
  815. data/lib/ultracart_api/models/coupon_editor_values.rb +330 -307
  816. data/lib/ultracart_api/models/coupon_exists_response.rb +267 -232
  817. data/lib/ultracart_api/models/coupon_free_item_and_shipping_with_subtotal.rb +279 -244
  818. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase.rb +254 -243
  819. data/lib/ultracart_api/models/coupon_free_item_with_subtotal.rb +267 -232
  820. data/lib/ultracart_api/models/coupon_free_items_with_item_purchase.rb +260 -225
  821. data/lib/ultracart_api/models/coupon_free_items_with_mix_match_purchase.rb +260 -225
  822. data/lib/ultracart_api/models/coupon_free_shipping.rb +222 -187
  823. data/lib/ultracart_api/models/coupon_free_shipping_specific_items.rb +222 -187
  824. data/lib/ultracart_api/models/coupon_free_shipping_with_items_purchase.rb +234 -199
  825. data/lib/ultracart_api/models/coupon_free_shipping_with_subtotal.rb +257 -222
  826. data/lib/ultracart_api/models/coupon_item_search_result.rb +290 -255
  827. data/lib/ultracart_api/models/coupon_item_search_results_response.rb +259 -224
  828. data/lib/ultracart_api/models/coupon_multiple_amounts_off_items.rb +232 -197
  829. data/lib/ultracart_api/models/coupon_percent_off_item_with_items_quantity_purchase.rb +264 -229
  830. data/lib/ultracart_api/models/coupon_percent_off_items.rb +254 -243
  831. data/lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb +244 -233
  832. data/lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb +254 -243
  833. data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +254 -239
  834. data/lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb +254 -219
  835. data/lib/ultracart_api/models/coupon_percent_off_shipping.rb +232 -197
  836. data/lib/ultracart_api/models/coupon_percent_off_subtotal.rb +220 -185
  837. data/lib/ultracart_api/models/coupon_percent_off_subtotal_and_free_shipping.rb +232 -197
  838. data/lib/ultracart_api/models/coupon_percent_off_subtotal_limit.rb +255 -220
  839. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_items_purchase.rb +232 -197
  840. data/lib/ultracart_api/models/coupon_percent_off_subtotal_with_subtotal.rb +255 -220
  841. data/lib/ultracart_api/models/coupon_query.rb +310 -275
  842. data/lib/ultracart_api/models/coupon_response.rb +268 -233
  843. data/lib/ultracart_api/models/coupon_restriction.rb +246 -211
  844. data/lib/ultracart_api/models/coupon_tier_amount.rb +255 -220
  845. data/lib/ultracart_api/models/coupon_tier_item_discount.rb +232 -197
  846. data/lib/ultracart_api/models/coupon_tier_percent.rb +255 -220
  847. data/lib/ultracart_api/models/coupon_tier_quantity_amount.rb +255 -220
  848. data/lib/ultracart_api/models/coupon_tier_quantity_percent.rb +255 -220
  849. data/lib/ultracart_api/models/coupon_tiered_amount_off_items.rb +244 -221
  850. data/lib/ultracart_api/models/coupon_tiered_amount_off_subtotal.rb +234 -199
  851. data/lib/ultracart_api/models/coupon_tiered_percent_off_items.rb +244 -221
  852. data/lib/ultracart_api/models/coupon_tiered_percent_off_shipping.rb +259 -224
  853. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal.rb +234 -199
  854. data/lib/ultracart_api/models/coupon_type.rb +230 -195
  855. data/lib/ultracart_api/models/coupons_request.rb +222 -187
  856. data/lib/ultracart_api/models/coupons_response.rb +258 -223
  857. data/lib/ultracart_api/models/currency.rb +260 -225
  858. data/lib/ultracart_api/models/customer.rb +978 -994
  859. data/lib/ultracart_api/models/customer_activity.rb +254 -255
  860. data/lib/ultracart_api/models/customer_affiliate.rb +250 -215
  861. data/lib/ultracart_api/models/customer_attachment.rb +260 -225
  862. data/lib/ultracart_api/models/customer_billing.rb +575 -540
  863. data/lib/ultracart_api/models/customer_card.rb +290 -255
  864. data/lib/ultracart_api/models/customer_editor_values.rb +328 -317
  865. data/lib/ultracart_api/models/customer_email.rb +300 -265
  866. data/lib/ultracart_api/models/customer_email_list_changes.rb +234 -199
  867. data/lib/ultracart_api/models/customer_loyalty.rb +283 -248
  868. data/lib/ultracart_api/models/customer_loyalty_ledger.rb +360 -325
  869. data/lib/ultracart_api/models/customer_loyalty_redemption.rb +340 -305
  870. data/lib/ultracart_api/models/customer_orders_summary.rb +250 -215
  871. data/lib/ultracart_api/models/customer_pricing_tier.rb +245 -210
  872. data/lib/ultracart_api/models/customer_privacy.rb +250 -215
  873. data/lib/ultracart_api/models/customer_query.rb +789 -754
  874. data/lib/ultracart_api/models/customer_quotes_summary.rb +250 -215
  875. data/lib/ultracart_api/models/customer_response.rb +256 -221
  876. data/lib/ultracart_api/models/customer_reviewer.rb +310 -275
  877. data/lib/ultracart_api/models/customer_shipping.rb +575 -540
  878. data/lib/ultracart_api/models/customer_software_entitlement.rb +365 -330
  879. data/lib/ultracart_api/models/customer_store_credit.rb +274 -239
  880. data/lib/ultracart_api/models/customer_store_credit_add_request.rb +250 -215
  881. data/lib/ultracart_api/models/customer_store_credit_ledger_entry.rb +295 -260
  882. data/lib/ultracart_api/models/customer_store_credit_response.rb +256 -221
  883. data/lib/ultracart_api/models/customer_tag.rb +235 -200
  884. data/lib/ultracart_api/models/customer_tax_codes.rb +260 -225
  885. data/lib/ultracart_api/models/customers_response.rb +258 -223
  886. data/lib/ultracart_api/models/data_tables_server_side_response.rb +248 -213
  887. data/lib/ultracart_api/models/distance.rb +264 -229
  888. data/lib/ultracart_api/models/distribution_center.rb +559 -674
  889. data/lib/ultracart_api/models/distribution_centers_response.rb +258 -223
  890. data/lib/ultracart_api/models/email_base_template_list_response.rb +221 -186
  891. data/lib/ultracart_api/models/email_campaign.rb +467 -452
  892. data/lib/ultracart_api/models/email_campaign_folder.rb +275 -240
  893. data/lib/ultracart_api/models/email_campaign_folder_response.rb +256 -221
  894. data/lib/ultracart_api/models/email_campaign_folders_response.rb +258 -223
  895. data/lib/ultracart_api/models/email_campaign_response.rb +256 -221
  896. data/lib/ultracart_api/models/email_campaigns_response.rb +258 -223
  897. data/lib/ultracart_api/models/email_click.rb +230 -195
  898. data/lib/ultracart_api/models/email_clicks_response.rb +258 -223
  899. data/lib/ultracart_api/models/email_commseq.rb +252 -217
  900. data/lib/ultracart_api/models/email_commseq_email.rb +470 -507
  901. data/lib/ultracart_api/models/email_commseq_email_response.rb +256 -221
  902. data/lib/ultracart_api/models/email_commseq_email_send_test_request.rb +304 -269
  903. data/lib/ultracart_api/models/email_commseq_email_send_test_response.rb +247 -212
  904. data/lib/ultracart_api/models/email_commseq_emails_request.rb +258 -223
  905. data/lib/ultracart_api/models/email_commseq_emails_response.rb +258 -223
  906. data/lib/ultracart_api/models/email_commseq_postcard.rb +340 -305
  907. data/lib/ultracart_api/models/email_commseq_postcard_response.rb +256 -221
  908. data/lib/ultracart_api/models/email_commseq_postcard_send_test_request.rb +329 -294
  909. data/lib/ultracart_api/models/email_commseq_postcard_send_test_response.rb +274 -239
  910. data/lib/ultracart_api/models/email_commseq_postcards_request.rb +221 -186
  911. data/lib/ultracart_api/models/email_commseq_postcards_response.rb +258 -223
  912. data/lib/ultracart_api/models/email_commseq_response.rb +256 -221
  913. data/lib/ultracart_api/models/email_commseq_stat.rb +580 -545
  914. data/lib/ultracart_api/models/email_commseq_stat_response.rb +256 -221
  915. data/lib/ultracart_api/models/email_commseq_step.rb +348 -313
  916. data/lib/ultracart_api/models/email_commseq_step_log.rb +240 -205
  917. data/lib/ultracart_api/models/email_commseq_step_logs_response.rb +258 -223
  918. data/lib/ultracart_api/models/email_commseq_webhook_send_test_request.rb +275 -240
  919. data/lib/ultracart_api/models/email_commseq_webhook_send_test_response.rb +277 -242
  920. data/lib/ultracart_api/models/email_commseqs_response.rb +258 -223
  921. data/lib/ultracart_api/models/email_customer.rb +292 -257
  922. data/lib/ultracart_api/models/email_customer_editor_url_response.rb +256 -221
  923. data/lib/ultracart_api/models/email_customers_response.rb +262 -227
  924. data/lib/ultracart_api/models/email_dashboard_activity.rb +280 -245
  925. data/lib/ultracart_api/models/email_dashboard_activity_response.rb +258 -223
  926. data/lib/ultracart_api/models/email_dashboard_stats_response.rb +258 -223
  927. data/lib/ultracart_api/models/email_domain.rb +329 -294
  928. data/lib/ultracart_api/models/email_editor_token_response.rb +256 -221
  929. data/lib/ultracart_api/models/email_flow.rb +505 -500
  930. data/lib/ultracart_api/models/email_flow_back_populate_request.rb +230 -195
  931. data/lib/ultracart_api/models/email_flow_back_populate_response.rb +247 -212
  932. data/lib/ultracart_api/models/email_flow_folder.rb +275 -240
  933. data/lib/ultracart_api/models/email_flow_folder_response.rb +256 -221
  934. data/lib/ultracart_api/models/email_flow_folders_response.rb +258 -223
  935. data/lib/ultracart_api/models/email_flow_response.rb +256 -221
  936. data/lib/ultracart_api/models/email_flows_response.rb +258 -223
  937. data/lib/ultracart_api/models/email_global_settings.rb +219 -184
  938. data/lib/ultracart_api/models/email_global_settings_response.rb +256 -221
  939. data/lib/ultracart_api/models/email_global_unsubscribe_request.rb +219 -184
  940. data/lib/ultracart_api/models/email_global_unsubscribe_response.rb +219 -184
  941. data/lib/ultracart_api/models/email_histogram_property_names_response.rb +221 -186
  942. data/lib/ultracart_api/models/email_histogram_property_values_response.rb +221 -186
  943. data/lib/ultracart_api/models/email_list.rb +347 -312
  944. data/lib/ultracart_api/models/email_list_archive_response.rb +256 -221
  945. data/lib/ultracart_api/models/email_list_customer.rb +250 -215
  946. data/lib/ultracart_api/models/email_list_customers_response.rb +262 -227
  947. data/lib/ultracart_api/models/email_list_response.rb +256 -221
  948. data/lib/ultracart_api/models/email_list_segment_folder.rb +275 -240
  949. data/lib/ultracart_api/models/email_list_segment_folder_response.rb +256 -221
  950. data/lib/ultracart_api/models/email_list_segment_folders_response.rb +258 -223
  951. data/lib/ultracart_api/models/email_list_segment_membership.rb +250 -215
  952. data/lib/ultracart_api/models/email_list_segment_used_by.rb +240 -205
  953. data/lib/ultracart_api/models/email_list_subscribe_response.rb +228 -193
  954. data/lib/ultracart_api/models/email_lists_response.rb +258 -223
  955. data/lib/ultracart_api/models/email_order.rb +249 -214
  956. data/lib/ultracart_api/models/email_orders_response.rb +258 -223
  957. data/lib/ultracart_api/models/email_performance.rb +475 -440
  958. data/lib/ultracart_api/models/email_performance_customer_histogram.rb +222 -187
  959. data/lib/ultracart_api/models/email_performance_customer_histogram_period.rb +260 -225
  960. data/lib/ultracart_api/models/email_performance_daily.rb +280 -245
  961. data/lib/ultracart_api/models/email_performance_response.rb +256 -221
  962. data/lib/ultracart_api/models/email_plan.rb +365 -330
  963. data/lib/ultracart_api/models/email_plan_additional.rb +291 -256
  964. data/lib/ultracart_api/models/email_plan_response.rb +256 -221
  965. data/lib/ultracart_api/models/email_postcard_stat.rb +531 -496
  966. data/lib/ultracart_api/models/email_segment.rb +445 -420
  967. data/lib/ultracart_api/models/email_segment_archive_response.rb +256 -221
  968. data/lib/ultracart_api/models/email_segment_customer.rb +250 -215
  969. data/lib/ultracart_api/models/email_segment_customers_response.rb +262 -227
  970. data/lib/ultracart_api/models/email_segment_download_prepare_response.rb +283 -248
  971. data/lib/ultracart_api/models/email_segment_response.rb +256 -221
  972. data/lib/ultracart_api/models/email_segments_response.rb +258 -223
  973. data/lib/ultracart_api/models/email_sending_domain_response.rb +256 -221
  974. data/lib/ultracart_api/models/email_sending_domains_response.rb +258 -223
  975. data/lib/ultracart_api/models/email_settings.rb +318 -351
  976. data/lib/ultracart_api/models/email_settings_response.rb +256 -221
  977. data/lib/ultracart_api/models/email_stat.rb +591 -556
  978. data/lib/ultracart_api/models/email_stat_postcard_summary_request.rb +230 -195
  979. data/lib/ultracart_api/models/email_stat_postcard_summary_response.rb +258 -223
  980. data/lib/ultracart_api/models/email_stat_summary_request.rb +241 -206
  981. data/lib/ultracart_api/models/email_stat_summary_response.rb +258 -223
  982. data/lib/ultracart_api/models/email_step_stat.rb +410 -475
  983. data/lib/ultracart_api/models/email_step_stat_request.rb +230 -195
  984. data/lib/ultracart_api/models/email_step_stat_response.rb +258 -223
  985. data/lib/ultracart_api/models/email_step_waiting_request.rb +221 -186
  986. data/lib/ultracart_api/models/email_step_waiting_response.rb +221 -186
  987. data/lib/ultracart_api/models/email_template.rb +365 -330
  988. data/lib/ultracart_api/models/email_templates_response.rb +258 -223
  989. data/lib/ultracart_api/models/email_third_party_list.rb +230 -195
  990. data/lib/ultracart_api/models/email_third_party_list_import_request.rb +222 -187
  991. data/lib/ultracart_api/models/email_third_party_provider.rb +324 -289
  992. data/lib/ultracart_api/models/email_third_party_providers_response.rb +258 -223
  993. data/lib/ultracart_api/models/email_third_party_tag.rb +230 -195
  994. data/lib/ultracart_api/models/email_verify_token_request.rb +230 -195
  995. data/lib/ultracart_api/models/email_verify_token_response.rb +257 -222
  996. data/lib/ultracart_api/models/email_verify_token_validate_request.rb +220 -185
  997. data/lib/ultracart_api/models/email_verify_token_validate_response.rb +247 -212
  998. data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +278 -243
  999. data/lib/ultracart_api/models/error.rb +260 -225
  1000. data/lib/ultracart_api/models/error_response.rb +247 -212
  1001. data/lib/ultracart_api/models/experiment.rb +426 -463
  1002. data/lib/ultracart_api/models/experiment_response.rb +256 -221
  1003. data/lib/ultracart_api/models/experiment_variation.rb +432 -407
  1004. data/lib/ultracart_api/models/experiment_variation_stat.rb +320 -307
  1005. data/lib/ultracart_api/models/experiments_response.rb +258 -223
  1006. data/lib/ultracart_api/models/fulfillment_inventory.rb +228 -193
  1007. data/lib/ultracart_api/models/fulfillment_shipment.rb +262 -227
  1008. data/lib/ultracart_api/models/geo_point.rb +228 -193
  1009. data/lib/ultracart_api/models/geocode_request.rb +260 -225
  1010. data/lib/ultracart_api/models/geocode_response.rb +265 -230
  1011. data/lib/ultracart_api/models/gift_certificate.rb +367 -332
  1012. data/lib/ultracart_api/models/gift_certificate_create_request.rb +260 -225
  1013. data/lib/ultracart_api/models/gift_certificate_ledger_entry.rb +285 -250
  1014. data/lib/ultracart_api/models/gift_certificate_query.rb +300 -265
  1015. data/lib/ultracart_api/models/gift_certificate_response.rb +256 -221
  1016. data/lib/ultracart_api/models/gift_certificates_response.rb +258 -223
  1017. data/lib/ultracart_api/models/group.rb +266 -231
  1018. data/lib/ultracart_api/models/group_response.rb +256 -221
  1019. data/lib/ultracart_api/models/group_user_membership.rb +260 -225
  1020. data/lib/ultracart_api/models/groups_response.rb +258 -223
  1021. data/lib/ultracart_api/models/http_header.rb +230 -195
  1022. data/lib/ultracart_api/models/integration_log.rb +379 -355
  1023. data/lib/ultracart_api/models/integration_log_file.rb +246 -211
  1024. data/lib/ultracart_api/models/integration_log_log.rb +228 -193
  1025. data/lib/ultracart_api/models/integration_log_query_filter_values.rb +340 -305
  1026. data/lib/ultracart_api/models/integration_log_query_request.rb +333 -329
  1027. data/lib/ultracart_api/models/integration_log_query_response.rb +267 -232
  1028. data/lib/ultracart_api/models/integration_log_response.rb +256 -221
  1029. data/lib/ultracart_api/models/integration_log_summary.rb +291 -256
  1030. data/lib/ultracart_api/models/integration_log_summary_query_request.rb +230 -195
  1031. data/lib/ultracart_api/models/integration_log_summary_query_response.rb +258 -223
  1032. data/lib/ultracart_api/models/item.rb +748 -713
  1033. data/lib/ultracart_api/models/item_accounting.rb +260 -225
  1034. data/lib/ultracart_api/models/item_amember.rb +245 -210
  1035. data/lib/ultracart_api/models/item_auto_order.rb +403 -418
  1036. data/lib/ultracart_api/models/item_auto_order_step.rb +413 -398
  1037. data/lib/ultracart_api/models/item_auto_order_step_arbitrary_unit_cost_schedule.rb +230 -195
  1038. data/lib/ultracart_api/models/item_auto_order_step_grandfather_pricing.rb +230 -195
  1039. data/lib/ultracart_api/models/item_cc_bill.rb +270 -235
  1040. data/lib/ultracart_api/models/item_channel_partner_mapping.rb +445 -410
  1041. data/lib/ultracart_api/models/item_chargeback.rb +234 -199
  1042. data/lib/ultracart_api/models/item_chargeback_addendum.rb +250 -215
  1043. data/lib/ultracart_api/models/item_chargeback_adjustment_request.rb +240 -205
  1044. data/lib/ultracart_api/models/item_checkout.rb +265 -230
  1045. data/lib/ultracart_api/models/item_content.rb +361 -326
  1046. data/lib/ultracart_api/models/item_content_assignment.rb +285 -250
  1047. data/lib/ultracart_api/models/item_content_attribute.rb +280 -245
  1048. data/lib/ultracart_api/models/item_content_multimedia.rb +441 -406
  1049. data/lib/ultracart_api/models/item_content_multimedia_thumbnail.rb +270 -235
  1050. data/lib/ultracart_api/models/item_digital_delivery.rb +317 -282
  1051. data/lib/ultracart_api/models/item_digital_item.rb +305 -334
  1052. data/lib/ultracart_api/models/item_ebay.rb +901 -866
  1053. data/lib/ultracart_api/models/item_ebay_category_specific.rb +230 -195
  1054. data/lib/ultracart_api/models/item_ebay_market_listing.rb +260 -225
  1055. data/lib/ultracart_api/models/item_ebay_market_place_analysis.rb +311 -276
  1056. data/lib/ultracart_api/models/item_email_notifications.rb +230 -195
  1057. data/lib/ultracart_api/models/item_enrollment123.rb +220 -185
  1058. data/lib/ultracart_api/models/item_fulfillment_addon.rb +250 -225
  1059. data/lib/ultracart_api/models/item_gift_certificate.rb +230 -195
  1060. data/lib/ultracart_api/models/item_google_product_search.rb +1289 -1254
  1061. data/lib/ultracart_api/models/item_identifiers.rb +310 -375
  1062. data/lib/ultracart_api/models/item_instant_payment_notification.rb +270 -235
  1063. data/lib/ultracart_api/models/item_instant_payment_notifications.rb +222 -187
  1064. data/lib/ultracart_api/models/item_internal.rb +235 -200
  1065. data/lib/ultracart_api/models/item_kit_component.rb +260 -225
  1066. data/lib/ultracart_api/models/item_kit_definition.rb +222 -187
  1067. data/lib/ultracart_api/models/item_option.rb +416 -381
  1068. data/lib/ultracart_api/models/item_option_value.rb +409 -374
  1069. data/lib/ultracart_api/models/item_option_value_additional_item.rb +230 -195
  1070. data/lib/ultracart_api/models/item_option_value_digital_item.rb +230 -195
  1071. data/lib/ultracart_api/models/item_payment_processing.rb +264 -229
  1072. data/lib/ultracart_api/models/item_physical.rb +246 -211
  1073. data/lib/ultracart_api/models/item_pricing.rb +422 -387
  1074. data/lib/ultracart_api/models/item_pricing_tier.rb +261 -226
  1075. data/lib/ultracart_api/models/item_pricing_tier_discount.rb +230 -195
  1076. data/lib/ultracart_api/models/item_pricing_tier_limit.rb +240 -227
  1077. data/lib/ultracart_api/models/item_property.rb +270 -235
  1078. data/lib/ultracart_api/models/item_realtime_pricing.rb +240 -205
  1079. data/lib/ultracart_api/models/item_related.rb +242 -207
  1080. data/lib/ultracart_api/models/item_related_item.rb +274 -239
  1081. data/lib/ultracart_api/models/item_reporting.rb +232 -197
  1082. data/lib/ultracart_api/models/item_response.rb +256 -221
  1083. data/lib/ultracart_api/models/item_restriction.rb +292 -257
  1084. data/lib/ultracart_api/models/item_restriction_item.rb +274 -239
  1085. data/lib/ultracart_api/models/item_revguard.rb +280 -245
  1086. data/lib/ultracart_api/models/item_reviews.rb +300 -276
  1087. data/lib/ultracart_api/models/item_salesforce.rb +230 -195
  1088. data/lib/ultracart_api/models/item_shipping.rb +713 -678
  1089. data/lib/ultracart_api/models/item_shipping_case.rb +265 -230
  1090. data/lib/ultracart_api/models/item_shipping_destination_markup.rb +315 -290
  1091. data/lib/ultracart_api/models/item_shipping_destination_restriction.rb +304 -269
  1092. data/lib/ultracart_api/models/item_shipping_distribution_center.rb +380 -345
  1093. data/lib/ultracart_api/models/item_shipping_method.rb +394 -359
  1094. data/lib/ultracart_api/models/item_shipping_package_requirement.rb +230 -195
  1095. data/lib/ultracart_api/models/item_tag.rb +279 -244
  1096. data/lib/ultracart_api/models/item_tags.rb +222 -187
  1097. data/lib/ultracart_api/models/item_tax.rb +286 -251
  1098. data/lib/ultracart_api/models/item_tax_exemption.rb +335 -300
  1099. data/lib/ultracart_api/models/item_third_party_email_marketing.rb +302 -267
  1100. data/lib/ultracart_api/models/item_variant_item.rb +289 -254
  1101. data/lib/ultracart_api/models/item_variation.rb +292 -257
  1102. data/lib/ultracart_api/models/item_variation_option.rb +265 -230
  1103. data/lib/ultracart_api/models/item_wishlist_member.rb +255 -220
  1104. data/lib/ultracart_api/models/items_request.rb +222 -187
  1105. data/lib/ultracart_api/models/items_response.rb +259 -224
  1106. data/lib/ultracart_api/models/key_value.rb +240 -205
  1107. data/lib/ultracart_api/models/library_filter_values.rb +254 -219
  1108. data/lib/ultracart_api/models/library_filter_values_response.rb +256 -221
  1109. data/lib/ultracart_api/models/library_item.rb +606 -571
  1110. data/lib/ultracart_api/models/library_item_account.rb +237 -202
  1111. data/lib/ultracart_api/models/library_item_asset.rb +228 -193
  1112. data/lib/ultracart_api/models/library_item_attribute.rb +228 -193
  1113. data/lib/ultracart_api/models/library_item_email.rb +237 -202
  1114. data/lib/ultracart_api/models/library_item_published_meta.rb +290 -255
  1115. data/lib/ultracart_api/models/library_item_purchased_meta.rb +240 -205
  1116. data/lib/ultracart_api/models/library_item_query.rb +330 -295
  1117. data/lib/ultracart_api/models/library_item_response.rb +256 -221
  1118. data/lib/ultracart_api/models/library_item_screenshot.rb +228 -193
  1119. data/lib/ultracart_api/models/library_items_response.rb +259 -224
  1120. data/lib/ultracart_api/models/linked_account.rb +240 -205
  1121. data/lib/ultracart_api/models/list_segment_membership.rb +237 -202
  1122. data/lib/ultracart_api/models/lookup_request.rb +255 -229
  1123. data/lib/ultracart_api/models/lookup_response.rb +258 -223
  1124. data/lib/ultracart_api/models/mailgun.rb +219 -184
  1125. data/lib/ultracart_api/models/metric.rb +282 -247
  1126. data/lib/ultracart_api/models/notification.rb +322 -287
  1127. data/lib/ultracart_api/models/oauth_revoke_success_response.rb +230 -195
  1128. data/lib/ultracart_api/models/oauth_token_response.rb +321 -286
  1129. data/lib/ultracart_api/models/order.rb +604 -610
  1130. data/lib/ultracart_api/models/order_affiliate.rb +242 -207
  1131. data/lib/ultracart_api/models/order_affiliate_ledger.rb +334 -299
  1132. data/lib/ultracart_api/models/order_auto_order.rb +448 -413
  1133. data/lib/ultracart_api/models/order_billing.rb +597 -612
  1134. data/lib/ultracart_api/models/order_buysafe.rb +268 -233
  1135. data/lib/ultracart_api/models/order_by_token_query.rb +220 -185
  1136. data/lib/ultracart_api/models/order_channel_partner.rb +335 -300
  1137. data/lib/ultracart_api/models/order_checkout.rb +469 -509
  1138. data/lib/ultracart_api/models/order_coupon.rb +290 -255
  1139. data/lib/ultracart_api/models/order_digital_item.rb +290 -255
  1140. data/lib/ultracart_api/models/order_digital_order.rb +262 -227
  1141. data/lib/ultracart_api/models/order_edi.rb +265 -230
  1142. data/lib/ultracart_api/models/order_format.rb +404 -369
  1143. data/lib/ultracart_api/models/order_format_response.rb +232 -197
  1144. data/lib/ultracart_api/models/order_fraud_score.rb +444 -409
  1145. data/lib/ultracart_api/models/order_gift.rb +351 -316
  1146. data/lib/ultracart_api/models/order_gift_certificate.rb +239 -204
  1147. data/lib/ultracart_api/models/order_internal.rb +275 -252
  1148. data/lib/ultracart_api/models/order_item.rb +889 -1019
  1149. data/lib/ultracart_api/models/order_item_edi.rb +234 -199
  1150. data/lib/ultracart_api/models/order_item_edi_identification.rb +230 -195
  1151. data/lib/ultracart_api/models/order_item_edi_lot.rb +240 -205
  1152. data/lib/ultracart_api/models/order_item_option.rb +378 -343
  1153. data/lib/ultracart_api/models/order_item_option_file_attachment.rb +250 -215
  1154. data/lib/ultracart_api/models/order_item_property.rb +280 -245
  1155. data/lib/ultracart_api/models/order_item_tag.rb +235 -200
  1156. data/lib/ultracart_api/models/order_linked_shipment.rb +264 -229
  1157. data/lib/ultracart_api/models/order_marketing.rb +270 -245
  1158. data/lib/ultracart_api/models/order_packing_slip_response.rb +257 -222
  1159. data/lib/ultracart_api/models/order_payment.rb +432 -406
  1160. data/lib/ultracart_api/models/order_payment_check.rb +220 -185
  1161. data/lib/ultracart_api/models/order_payment_credit_card.rb +354 -328
  1162. data/lib/ultracart_api/models/order_payment_e_check.rb +476 -441
  1163. data/lib/ultracart_api/models/order_payment_insurance.rb +250 -215
  1164. data/lib/ultracart_api/models/order_payment_purchase_order.rb +220 -185
  1165. data/lib/ultracart_api/models/order_payment_transaction.rb +252 -227
  1166. data/lib/ultracart_api/models/order_payment_transaction_detail.rb +240 -205
  1167. data/lib/ultracart_api/models/order_process_payment_request.rb +230 -195
  1168. data/lib/ultracart_api/models/order_process_payment_response.rb +256 -221
  1169. data/lib/ultracart_api/models/order_property.rb +280 -245
  1170. data/lib/ultracart_api/models/order_query.rb +826 -843
  1171. data/lib/ultracart_api/models/order_query_batch.rb +222 -187
  1172. data/lib/ultracart_api/models/order_quote.rb +240 -205
  1173. data/lib/ultracart_api/models/order_replacement.rb +467 -432
  1174. data/lib/ultracart_api/models/order_replacement_item.rb +255 -220
  1175. data/lib/ultracart_api/models/order_replacement_response.rb +264 -229
  1176. data/lib/ultracart_api/models/order_response.rb +256 -221
  1177. data/lib/ultracart_api/models/order_salesforce.rb +220 -185
  1178. data/lib/ultracart_api/models/order_shipping.rb +770 -745
  1179. data/lib/ultracart_api/models/order_summary.rb +390 -373
  1180. data/lib/ultracart_api/models/order_tag.rb +235 -200
  1181. data/lib/ultracart_api/models/order_taxes.rb +395 -360
  1182. data/lib/ultracart_api/models/order_token_response.rb +257 -222
  1183. data/lib/ultracart_api/models/order_tracking_number_detail.rb +320 -285
  1184. data/lib/ultracart_api/models/order_tracking_number_details.rb +374 -339
  1185. data/lib/ultracart_api/models/orders_response.rb +259 -224
  1186. data/lib/ultracart_api/models/permission.rb +240 -205
  1187. data/lib/ultracart_api/models/pricing_tier.rb +533 -528
  1188. data/lib/ultracart_api/models/pricing_tier_notification.rb +270 -235
  1189. data/lib/ultracart_api/models/pricing_tiers_response.rb +259 -224
  1190. data/lib/ultracart_api/models/property.rb +228 -193
  1191. data/lib/ultracart_api/models/publish_library_item_request.rb +220 -185
  1192. data/lib/ultracart_api/models/register_affiliate_click_request.rb +270 -235
  1193. data/lib/ultracart_api/models/register_affiliate_click_response.rb +254 -219
  1194. data/lib/ultracart_api/models/response_metadata.rb +229 -194
  1195. data/lib/ultracart_api/models/result_set.rb +270 -235
  1196. data/lib/ultracart_api/models/screen_recording.rb +688 -653
  1197. data/lib/ultracart_api/models/screen_recording_ad_platform.rb +280 -245
  1198. data/lib/ultracart_api/models/screen_recording_filter.rb +758 -723
  1199. data/lib/ultracart_api/models/screen_recording_filter_geo_distance.rb +255 -220
  1200. data/lib/ultracart_api/models/screen_recording_filter_ip_search.rb +246 -211
  1201. data/lib/ultracart_api/models/screen_recording_filter_page_view.rb +369 -334
  1202. data/lib/ultracart_api/models/screen_recording_filter_page_view_event.rb +230 -195
  1203. data/lib/ultracart_api/models/screen_recording_filter_page_view_event_param.rb +255 -220
  1204. data/lib/ultracart_api/models/screen_recording_filter_page_view_param.rb +228 -193
  1205. data/lib/ultracart_api/models/screen_recording_filter_page_view_referrer_param.rb +228 -193
  1206. data/lib/ultracart_api/models/screen_recording_filter_range_big_decimal.rb +255 -220
  1207. data/lib/ultracart_api/models/screen_recording_filter_range_date.rb +230 -195
  1208. data/lib/ultracart_api/models/screen_recording_filter_range_integer.rb +255 -220
  1209. data/lib/ultracart_api/models/screen_recording_filter_string_search.rb +255 -220
  1210. data/lib/ultracart_api/models/screen_recording_filter_values.rb +435 -400
  1211. data/lib/ultracart_api/models/screen_recording_filter_values_event.rb +230 -195
  1212. data/lib/ultracart_api/models/screen_recording_filter_values_event_params.rb +263 -228
  1213. data/lib/ultracart_api/models/screen_recording_filter_values_page_param.rb +230 -195
  1214. data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +272 -237
  1215. data/lib/ultracart_api/models/screen_recording_heatmap.rb +426 -391
  1216. data/lib/ultracart_api/models/screen_recording_heatmap_index_request.rb +219 -184
  1217. data/lib/ultracart_api/models/screen_recording_heatmap_index_response.rb +258 -223
  1218. data/lib/ultracart_api/models/screen_recording_heatmap_request.rb +239 -204
  1219. data/lib/ultracart_api/models/screen_recording_heatmap_reset.rb +219 -184
  1220. data/lib/ultracart_api/models/screen_recording_heatmap_response.rb +256 -221
  1221. data/lib/ultracart_api/models/screen_recording_heatmap_url.rb +266 -231
  1222. data/lib/ultracart_api/models/screen_recording_merchant_notes_request.rb +219 -184
  1223. data/lib/ultracart_api/models/screen_recording_multifield.rb +255 -220
  1224. data/lib/ultracart_api/models/screen_recording_page_view.rb +391 -356
  1225. data/lib/ultracart_api/models/screen_recording_page_view_data_response.rb +256 -221
  1226. data/lib/ultracart_api/models/screen_recording_page_view_event.rb +267 -232
  1227. data/lib/ultracart_api/models/screen_recording_page_view_event_parameter.rb +228 -193
  1228. data/lib/ultracart_api/models/screen_recording_page_view_parameter.rb +228 -193
  1229. data/lib/ultracart_api/models/screen_recording_query_request.rb +219 -184
  1230. data/lib/ultracart_api/models/screen_recording_query_response.rb +314 -279
  1231. data/lib/ultracart_api/models/screen_recording_response.rb +265 -230
  1232. data/lib/ultracart_api/models/screen_recording_segment.rb +302 -267
  1233. data/lib/ultracart_api/models/screen_recording_segment_response.rb +256 -221
  1234. data/lib/ultracart_api/models/screen_recording_segments_response.rb +258 -223
  1235. data/lib/ultracart_api/models/screen_recording_settings.rb +284 -249
  1236. data/lib/ultracart_api/models/screen_recording_settings_response.rb +256 -221
  1237. data/lib/ultracart_api/models/screen_recording_store_front.rb +228 -193
  1238. data/lib/ultracart_api/models/screen_recording_tags_request.rb +221 -186
  1239. data/lib/ultracart_api/models/screen_recording_tags_response.rb +258 -223
  1240. data/lib/ultracart_api/models/screen_recording_user_agent.rb +255 -220
  1241. data/lib/ultracart_api/models/screen_recording_user_agent_device.rb +219 -184
  1242. data/lib/ultracart_api/models/screen_recording_user_agent_os.rb +237 -202
  1243. data/lib/ultracart_api/models/screen_recording_user_property.rb +228 -193
  1244. data/lib/ultracart_api/models/screenshots_response.rb +259 -224
  1245. data/lib/ultracart_api/models/self_config.rb +220 -185
  1246. data/lib/ultracart_api/models/simple_value.rb +230 -195
  1247. data/lib/ultracart_api/models/single_sign_on_authorize_request.rb +230 -195
  1248. data/lib/ultracart_api/models/single_sign_on_authorize_response.rb +230 -195
  1249. data/lib/ultracart_api/models/single_sign_on_token_request.rb +230 -195
  1250. data/lib/ultracart_api/models/single_sign_on_token_response.rb +240 -205
  1251. data/lib/ultracart_api/models/sovos_config.rb +280 -245
  1252. data/lib/ultracart_api/models/state_province.rb +245 -210
  1253. data/lib/ultracart_api/models/step_waiting.rb +228 -193
  1254. data/lib/ultracart_api/models/tax_city.rb +302 -267
  1255. data/lib/ultracart_api/models/tax_country.rb +302 -267
  1256. data/lib/ultracart_api/models/tax_country_code.rb +260 -225
  1257. data/lib/ultracart_api/models/tax_county.rb +312 -277
  1258. data/lib/ultracart_api/models/tax_jar_config.rb +280 -245
  1259. data/lib/ultracart_api/models/tax_postal_code.rb +280 -245
  1260. data/lib/ultracart_api/models/tax_provider_activate_result.rb +229 -194
  1261. data/lib/ultracart_api/models/tax_provider_avalara.rb +249 -214
  1262. data/lib/ultracart_api/models/tax_provider_avalara_companies_result.rb +222 -187
  1263. data/lib/ultracart_api/models/tax_provider_avalara_company.rb +260 -225
  1264. data/lib/ultracart_api/models/tax_provider_self.rb +261 -226
  1265. data/lib/ultracart_api/models/tax_provider_self_countries_response.rb +222 -187
  1266. data/lib/ultracart_api/models/tax_provider_self_regions_response.rb +222 -187
  1267. data/lib/ultracart_api/models/tax_provider_sovos.rb +249 -214
  1268. data/lib/ultracart_api/models/tax_provider_tax_jar.rb +249 -214
  1269. data/lib/ultracart_api/models/tax_provider_test_result.rb +229 -194
  1270. data/lib/ultracart_api/models/tax_provider_ultra_cart.rb +261 -226
  1271. data/lib/ultracart_api/models/tax_provider_ultra_cart_state.rb +310 -275
  1272. data/lib/ultracart_api/models/tax_providers_response.rb +292 -257
  1273. data/lib/ultracart_api/models/tax_state.rb +392 -357
  1274. data/lib/ultracart_api/models/tax_state_code.rb +260 -225
  1275. data/lib/ultracart_api/models/temp_multimedia.rb +329 -294
  1276. data/lib/ultracart_api/models/temp_multimedia_response.rb +256 -221
  1277. data/lib/ultracart_api/models/thumbnail_parameters_request.rb +255 -220
  1278. data/lib/ultracart_api/models/thumbnail_parameters_response.rb +257 -222
  1279. data/lib/ultracart_api/models/transaction_email.rb +414 -379
  1280. data/lib/ultracart_api/models/transaction_email_list_response.rb +258 -223
  1281. data/lib/ultracart_api/models/transaction_email_option.rb +282 -247
  1282. data/lib/ultracart_api/models/transaction_email_response.rb +256 -221
  1283. data/lib/ultracart_api/models/twilio.rb +248 -258
  1284. data/lib/ultracart_api/models/twilio_response.rb +265 -230
  1285. data/lib/ultracart_api/models/twilios_response.rb +258 -223
  1286. data/lib/ultracart_api/models/ultra_cart_config.rb +220 -185
  1287. data/lib/ultracart_api/models/upload_coupon_codes_request.rb +259 -224
  1288. data/lib/ultracart_api/models/upload_coupon_codes_response.rb +283 -248
  1289. data/lib/ultracart_api/models/user.rb +377 -342
  1290. data/lib/ultracart_api/models/user_group_membership.rb +240 -205
  1291. data/lib/ultracart_api/models/user_login.rb +250 -215
  1292. data/lib/ultracart_api/models/user_logins_response.rb +259 -224
  1293. data/lib/ultracart_api/models/user_response.rb +256 -221
  1294. data/lib/ultracart_api/models/users_response.rb +258 -223
  1295. data/lib/ultracart_api/models/verification_record.rb +237 -202
  1296. data/lib/ultracart_api/models/warning.rb +230 -195
  1297. data/lib/ultracart_api/models/webhook.rb +437 -412
  1298. data/lib/ultracart_api/models/webhook_event_category.rb +264 -229
  1299. data/lib/ultracart_api/models/webhook_event_subscription.rb +300 -275
  1300. data/lib/ultracart_api/models/webhook_log.rb +324 -289
  1301. data/lib/ultracart_api/models/webhook_log_response.rb +256 -221
  1302. data/lib/ultracart_api/models/webhook_log_summaries_response.rb +259 -224
  1303. data/lib/ultracart_api/models/webhook_log_summary.rb +240 -205
  1304. data/lib/ultracart_api/models/webhook_response.rb +256 -221
  1305. data/lib/ultracart_api/models/webhook_sample_request.rb +252 -217
  1306. data/lib/ultracart_api/models/webhook_sample_request_response.rb +256 -221
  1307. data/lib/ultracart_api/models/webhooks_response.rb +258 -223
  1308. data/lib/ultracart_api/models/weight.rb +264 -229
  1309. data/lib/ultracart_api/version.rb +15 -15
  1310. data/lib/ultracart_api.rb +689 -914
  1311. data/spec/api_client_spec.rb +226 -243
  1312. data/spec/configuration_spec.rb +42 -42
  1313. data/spec/spec_helper.rb +111 -111
  1314. data/ultracart_api.gemspec +38 -46
  1315. metadata +5 -615
  1316. data/docs/AccountsReceivableRetryTransactionReject.md +0 -9
  1317. data/docs/AutoOrderAddonItem.md +0 -13
  1318. data/docs/AutoOrderAddonItemOption.md +0 -9
  1319. data/docs/AutoOrderConsolidate.md +0 -8
  1320. data/docs/AutoOrderManagement.md +0 -8
  1321. data/docs/CartItemProperty.md +0 -11
  1322. data/docs/CartPaymentHealthBenefitCard.md +0 -13
  1323. data/docs/ChannelPartner.md +0 -15
  1324. data/docs/ChannelPartnerShipToPreference.md +0 -14
  1325. data/docs/ChannelPartnerShipToPreferenceResponse.md +0 -12
  1326. data/docs/ChannelPartnerShipToPreferencesResponse.md +0 -12
  1327. data/docs/ChannelPartnersResponse.md +0 -12
  1328. data/docs/Conversation.md +0 -26
  1329. data/docs/ConversationAgentAuth.md +0 -20
  1330. data/docs/ConversationAgentAuthResponse.md +0 -12
  1331. data/docs/ConversationAgentProfile.md +0 -14
  1332. data/docs/ConversationAgentProfileResponse.md +0 -12
  1333. data/docs/ConversationApi.md +0 -4199
  1334. data/docs/ConversationAutocompleteRequest.md +0 -9
  1335. data/docs/ConversationAutocompleteResponse.md +0 -14
  1336. data/docs/ConversationAutocompleteValue.md +0 -9
  1337. data/docs/ConversationCannedMessage.md +0 -11
  1338. data/docs/ConversationCannedMessageResponse.md +0 -12
  1339. data/docs/ConversationCannedMessagesResponse.md +0 -12
  1340. data/docs/ConversationCannedMessagesSearch.md +0 -9
  1341. data/docs/ConversationDepartment.md +0 -12
  1342. data/docs/ConversationDepartmentMember.md +0 -10
  1343. data/docs/ConversationDepartmentMembersResponse.md +0 -12
  1344. data/docs/ConversationDepartmentResponse.md +0 -12
  1345. data/docs/ConversationDepartmentSettings.md +0 -7
  1346. data/docs/ConversationDepartmentsResponse.md +0 -12
  1347. data/docs/ConversationEngagement.md +0 -16
  1348. data/docs/ConversationEngagementEquation.md +0 -8
  1349. data/docs/ConversationEngagementEquationFunction.md +0 -21
  1350. data/docs/ConversationEngagementEquationGroup.md +0 -8
  1351. data/docs/ConversationEngagementResponse.md +0 -12
  1352. data/docs/ConversationEngagementsResponse.md +0 -12
  1353. data/docs/ConversationEventAddCoupon.md +0 -10
  1354. data/docs/ConversationEventAddItem.md +0 -10
  1355. data/docs/ConversationEventQueuePosition.md +0 -9
  1356. data/docs/ConversationEventRRWeb.md +0 -14
  1357. data/docs/ConversationEventReadMessage.md +0 -10
  1358. data/docs/ConversationEventTyping.md +0 -10
  1359. data/docs/ConversationEventWebchatContext.md +0 -10
  1360. data/docs/ConversationJoinRequest.md +0 -8
  1361. data/docs/ConversationLocationCountry.md +0 -10
  1362. data/docs/ConversationLocationStateProvince.md +0 -9
  1363. data/docs/ConversationLocationsResponse.md +0 -12
  1364. data/docs/ConversationMessage.md +0 -22
  1365. data/docs/ConversationMessageTranslation.md +0 -9
  1366. data/docs/ConversationMessageTransportStatus.md +0 -9
  1367. data/docs/ConversationMessagesResponse.md +0 -12
  1368. data/docs/ConversationMultimediaUploadUrl.md +0 -9
  1369. data/docs/ConversationMultimediaUploadUrlResponse.md +0 -12
  1370. data/docs/ConversationParticipant.md +0 -20
  1371. data/docs/ConversationPbxAgent.md +0 -23
  1372. data/docs/ConversationPbxAgentResponse.md +0 -12
  1373. data/docs/ConversationPbxAgentsResponse.md +0 -12
  1374. data/docs/ConversationPbxAudio.md +0 -17
  1375. data/docs/ConversationPbxAudioResponse.md +0 -12
  1376. data/docs/ConversationPbxAudioUploadUrl.md +0 -9
  1377. data/docs/ConversationPbxAudioUploadUrlResponse.md +0 -12
  1378. data/docs/ConversationPbxAudioUsageResponse.md +0 -14
  1379. data/docs/ConversationPbxAudiosResponse.md +0 -12
  1380. data/docs/ConversationPbxCustomerSnapshotRequest.md +0 -15
  1381. data/docs/ConversationPbxCustomerSnapshotResponse.md +0 -14
  1382. data/docs/ConversationPbxMenu.md +0 -18
  1383. data/docs/ConversationPbxMenuMapping.md +0 -11
  1384. data/docs/ConversationPbxMenuResponse.md +0 -12
  1385. data/docs/ConversationPbxMenusResponse.md +0 -12
  1386. data/docs/ConversationPbxPhoneNumber.md +0 -12
  1387. data/docs/ConversationPbxPhoneNumberResponse.md +0 -12
  1388. data/docs/ConversationPbxPhoneNumbersResponse.md +0 -12
  1389. data/docs/ConversationPbxQueue.md +0 -28
  1390. data/docs/ConversationPbxQueueMembers.md +0 -9
  1391. data/docs/ConversationPbxQueueResponse.md +0 -12
  1392. data/docs/ConversationPbxQueuesResponse.md +0 -12
  1393. data/docs/ConversationPbxTimeBased.md +0 -11
  1394. data/docs/ConversationPbxTimeBasedMapping.md +0 -11
  1395. data/docs/ConversationPbxTimeBasedMappingConfig.md +0 -9
  1396. data/docs/ConversationPbxTimeBasedResponse.md +0 -12
  1397. data/docs/ConversationPbxTimeBasedsResponse.md +0 -12
  1398. data/docs/ConversationPbxTimeRange.md +0 -12
  1399. data/docs/ConversationPbxTimeRangeConfig.md +0 -13
  1400. data/docs/ConversationPbxTimeRangeResponse.md +0 -12
  1401. data/docs/ConversationPbxTimeRangesResponse.md +0 -12
  1402. data/docs/ConversationPbxVoicemailMailbox.md +0 -19
  1403. data/docs/ConversationPbxVoicemailMailboxResponse.md +0 -12
  1404. data/docs/ConversationPbxVoicemailMailboxesResponse.md +0 -12
  1405. data/docs/ConversationPbxVoicemailMessage.md +0 -20
  1406. data/docs/ConversationPbxVoicemailMessageResponse.md +0 -12
  1407. data/docs/ConversationPbxVoicemailMessageSummariesResponse.md +0 -12
  1408. data/docs/ConversationPbxVoicemailMessageSummary.md +0 -17
  1409. data/docs/ConversationPermissions.md +0 -8
  1410. data/docs/ConversationPermissionsResponse.md +0 -12
  1411. data/docs/ConversationResponse.md +0 -12
  1412. data/docs/ConversationSearchRequest.md +0 -19
  1413. data/docs/ConversationSearchResponse.md +0 -11
  1414. data/docs/ConversationSentiment.md +0 -13
  1415. data/docs/ConversationStartRequest.md +0 -10
  1416. data/docs/ConversationStartResponse.md +0 -8
  1417. data/docs/ConversationSummary.md +0 -24
  1418. data/docs/ConversationTwilioAccount.md +0 -9
  1419. data/docs/ConversationWebchatContext.md +0 -15
  1420. data/docs/ConversationWebchatQueueStatus.md +0 -22
  1421. data/docs/ConversationWebchatQueueStatusAgent.md +0 -13
  1422. data/docs/ConversationWebchatQueueStatusQueueEntry.md +0 -15
  1423. data/docs/ConversationWebchatQueueStatusUpdateRequest.md +0 -8
  1424. data/docs/ConversationWebchatQueueStatusesResponse.md +0 -12
  1425. data/docs/ConversationWebsocketMessage.md +0 -31
  1426. data/docs/ConversationsResponse.md +0 -12
  1427. data/docs/CouponFreeItemWithItemPurchaseAndFreeShipping.md +0 -11
  1428. data/docs/CouponMoreLoyaltyCashback.md +0 -8
  1429. data/docs/CouponMoreLoyaltyPoints.md +0 -8
  1430. data/docs/CouponNoDiscount.md +0 -8
  1431. data/docs/CouponPercentMoreLoyaltyCashback.md +0 -8
  1432. data/docs/CouponPercentMoreLoyaltyPoints.md +0 -8
  1433. data/docs/CouponTieredPercentOffSubtotalBasedOnMSRP.md +0 -9
  1434. data/docs/CustomerEDI.md +0 -10
  1435. data/docs/CustomerMagicLinkResponse.md +0 -12
  1436. data/docs/CustomerMergeRequest.md +0 -9
  1437. data/docs/CustomerProperty.md +0 -11
  1438. data/docs/CustomerWishListItem.md +0 -14
  1439. data/docs/CustomerWishListItemResponse.md +0 -12
  1440. data/docs/CustomerWishListItemsResponse.md +0 -12
  1441. data/docs/DatawarehouseApi.md +0 -512
  1442. data/docs/EmailCommseqSequenceTestRequest.md +0 -22
  1443. data/docs/EmailCommseqSequenceTestResponse.md +0 -11
  1444. data/docs/EmailCommseqSmsSendTestRequest.md +0 -10
  1445. data/docs/EmailCommseqSmsSendTestResponse.md +0 -13
  1446. data/docs/EmailPostcardTracking.md +0 -32
  1447. data/docs/EmailPostcardTrackingResponse.md +0 -12
  1448. data/docs/EmailRateLimiter.md +0 -10
  1449. data/docs/EmailRateLimitersResponse.md +0 -12
  1450. data/docs/EmailSmsOrder.md +0 -11
  1451. data/docs/EmailSmsOrdersResponse.md +0 -12
  1452. data/docs/EmailSmsStat.md +0 -37
  1453. data/docs/EmailStatSmsSummaryRequest.md +0 -9
  1454. data/docs/EmailStatSmsSummaryResponse.md +0 -12
  1455. data/docs/FileManagerDirectory.md +0 -20
  1456. data/docs/FileManagerFile.md +0 -29
  1457. data/docs/FileManagerPage.md +0 -15
  1458. data/docs/FileManagerPageResponse.md +0 -12
  1459. data/docs/FileManagerUploadRequest.md +0 -10
  1460. data/docs/FileManagerUploadUrlResponse.md +0 -13
  1461. data/docs/HitPageView.md +0 -18
  1462. data/docs/HitPageViewMetaData.md +0 -9
  1463. data/docs/HitSessionStart.md +0 -24
  1464. data/docs/HitSessionUtm.md +0 -22
  1465. data/docs/ItemDigitalItemPdfMeta.md +0 -18
  1466. data/docs/ItemDigitalItemResponse.md +0 -12
  1467. data/docs/ItemDigitalItemsResponse.md +0 -12
  1468. data/docs/ItemInventorySnapshot.md +0 -13
  1469. data/docs/ItemInventorySnapshotDistributionCenter.md +0 -12
  1470. data/docs/ItemInventorySnapshotResponse.md +0 -12
  1471. data/docs/ItemReview.md +0 -44
  1472. data/docs/ItemReviewResponse.md +0 -12
  1473. data/docs/ItemReviewsResponse.md +0 -12
  1474. data/docs/OrderEdiDocument.md +0 -21
  1475. data/docs/OrderEdiDocumentsResponse.md +0 -12
  1476. data/docs/OrderInvoiceResponse.md +0 -12
  1477. data/docs/OrderPaymentCreditCardDualVaulted.md +0 -10
  1478. data/docs/OrderPaymentCreditCardDualVaultedProperty.md +0 -9
  1479. data/docs/OrderPaymentHealthBenefitCard.md +0 -13
  1480. data/docs/OrderPointOfSale.md +0 -10
  1481. data/docs/OrderReason.md +0 -10
  1482. data/docs/OrderRefundableResponse.md +0 -20
  1483. data/docs/OrderTransactionalMerchantNote.md +0 -11
  1484. data/docs/OrderUtm.md +0 -37
  1485. data/docs/OrderValidationRequest.md +0 -9
  1486. data/docs/OrderValidationResponse.md +0 -10
  1487. data/docs/PointOfSaleLocation.md +0 -17
  1488. data/docs/PointOfSaleReader.md +0 -16
  1489. data/docs/PointOfSaleRegister.md +0 -11
  1490. data/docs/Report.md +0 -18
  1491. data/docs/ReportAuth.md +0 -11
  1492. data/docs/ReportAuthResponse.md +0 -12
  1493. data/docs/ReportDataSet.md +0 -24
  1494. data/docs/ReportDataSetColumn.md +0 -13
  1495. data/docs/ReportDataSetPage.md +0 -17
  1496. data/docs/ReportDataSetPageResponse.md +0 -12
  1497. data/docs/ReportDataSetQuery.md +0 -20
  1498. data/docs/ReportDataSetQueryOrderByColumn.md +0 -9
  1499. data/docs/ReportDataSetResponse.md +0 -12
  1500. data/docs/ReportDataSetRow.md +0 -8
  1501. data/docs/ReportDataSetSchema.md +0 -10
  1502. data/docs/ReportDataSource.md +0 -14
  1503. data/docs/ReportDataSourceSchema.md +0 -11
  1504. data/docs/ReportDryRunQueriesRequest.md +0 -13
  1505. data/docs/ReportDryRunQueriesResponse.md +0 -8
  1506. data/docs/ReportDryRunQueryResult.md +0 -9
  1507. data/docs/ReportExecuteQueriesRequest.md +0 -15
  1508. data/docs/ReportFilter.md +0 -13
  1509. data/docs/ReportFilterConnection.md +0 -10
  1510. data/docs/ReportPage.md +0 -13
  1511. data/docs/ReportPageFilter.md +0 -11
  1512. data/docs/ReportPageVisualization.md +0 -17
  1513. data/docs/ReportPageVisualizationDimension.md +0 -14
  1514. data/docs/ReportPageVisualizationMetric.md +0 -11
  1515. data/docs/ReportResponse.md +0 -12
  1516. data/docs/ReportWebsocketEvent.md +0 -9
  1517. data/docs/ReportsResponse.md +0 -12
  1518. data/docs/RulerValidationRequest.md +0 -8
  1519. data/docs/RulerValidationResponse.md +0 -9
  1520. data/docs/StoreFront.md +0 -18
  1521. data/docs/StoreFrontsResponse.md +0 -12
  1522. data/docs/WorkflowAgentAuth.md +0 -10
  1523. data/docs/WorkflowAgentAuthResponse.md +0 -12
  1524. data/docs/WorkflowApi.md +0 -620
  1525. data/docs/WorkflowAttachment.md +0 -12
  1526. data/docs/WorkflowAttachmentUploadUrl.md +0 -9
  1527. data/docs/WorkflowAttachmentUploadUrlResponse.md +0 -12
  1528. data/docs/WorkflowGroup.md +0 -9
  1529. data/docs/WorkflowGroupsResponse.md +0 -12
  1530. data/docs/WorkflowNote.md +0 -13
  1531. data/docs/WorkflowTask.md +0 -39
  1532. data/docs/WorkflowTaskHistory.md +0 -11
  1533. data/docs/WorkflowTaskOpenCountResponse.md +0 -12
  1534. data/docs/WorkflowTaskResponse.md +0 -12
  1535. data/docs/WorkflowTaskTagsResponse.md +0 -12
  1536. data/docs/WorkflowTasksRequest.md +0 -27
  1537. data/docs/WorkflowTasksResponse.md +0 -13
  1538. data/docs/WorkflowUser.md +0 -10
  1539. data/docs/WorkflowUserResponse.md +0 -12
  1540. data/docs/WorkflowUsersResponse.md +0 -13
  1541. data/lib/ultracart_api/api/conversation_api.rb +0 -4583
  1542. data/lib/ultracart_api/api/datawarehouse_api.rb +0 -584
  1543. data/lib/ultracart_api/api/workflow_api.rb +0 -693
  1544. data/lib/ultracart_api/models/accounts_receivable_retry_transaction_reject.rb +0 -195
  1545. data/lib/ultracart_api/models/auto_order_addon_item.rb +0 -232
  1546. data/lib/ultracart_api/models/auto_order_addon_item_option.rb +0 -225
  1547. data/lib/ultracart_api/models/auto_order_consolidate.rb +0 -186
  1548. data/lib/ultracart_api/models/auto_order_management.rb +0 -185
  1549. data/lib/ultracart_api/models/cart_item_property.rb +0 -245
  1550. data/lib/ultracart_api/models/cart_payment_health_benefit_card.rb +0 -235
  1551. data/lib/ultracart_api/models/channel_partner.rb +0 -255
  1552. data/lib/ultracart_api/models/channel_partner_ship_to_preference.rb +0 -262
  1553. data/lib/ultracart_api/models/channel_partner_ship_to_preference_response.rb +0 -221
  1554. data/lib/ultracart_api/models/channel_partner_ship_to_preferences_response.rb +0 -224
  1555. data/lib/ultracart_api/models/channel_partners_response.rb +0 -224
  1556. data/lib/ultracart_api/models/conversation.rb +0 -390
  1557. data/lib/ultracart_api/models/conversation_agent_auth.rb +0 -294
  1558. data/lib/ultracart_api/models/conversation_agent_auth_response.rb +0 -221
  1559. data/lib/ultracart_api/models/conversation_agent_profile.rb +0 -279
  1560. data/lib/ultracart_api/models/conversation_agent_profile_response.rb +0 -221
  1561. data/lib/ultracart_api/models/conversation_autocomplete_request.rb +0 -193
  1562. data/lib/ultracart_api/models/conversation_autocomplete_response.rb +0 -241
  1563. data/lib/ultracart_api/models/conversation_autocomplete_value.rb +0 -193
  1564. data/lib/ultracart_api/models/conversation_canned_message.rb +0 -213
  1565. data/lib/ultracart_api/models/conversation_canned_message_response.rb +0 -221
  1566. data/lib/ultracart_api/models/conversation_canned_messages_response.rb +0 -223
  1567. data/lib/ultracart_api/models/conversation_canned_messages_search.rb +0 -193
  1568. data/lib/ultracart_api/models/conversation_department.rb +0 -222
  1569. data/lib/ultracart_api/models/conversation_department_member.rb +0 -202
  1570. data/lib/ultracart_api/models/conversation_department_members_response.rb +0 -223
  1571. data/lib/ultracart_api/models/conversation_department_response.rb +0 -221
  1572. data/lib/ultracart_api/models/conversation_department_settings.rb +0 -175
  1573. data/lib/ultracart_api/models/conversation_departments_response.rb +0 -223
  1574. data/lib/ultracart_api/models/conversation_engagement.rb +0 -293
  1575. data/lib/ultracart_api/models/conversation_engagement_equation.rb +0 -186
  1576. data/lib/ultracart_api/models/conversation_engagement_equation_function.rb +0 -414
  1577. data/lib/ultracart_api/models/conversation_engagement_equation_group.rb +0 -186
  1578. data/lib/ultracart_api/models/conversation_engagement_response.rb +0 -221
  1579. data/lib/ultracart_api/models/conversation_engagements_response.rb +0 -223
  1580. data/lib/ultracart_api/models/conversation_event_add_coupon.rb +0 -202
  1581. data/lib/ultracart_api/models/conversation_event_add_item.rb +0 -204
  1582. data/lib/ultracart_api/models/conversation_event_queue_position.rb +0 -195
  1583. data/lib/ultracart_api/models/conversation_event_read_message.rb +0 -203
  1584. data/lib/ultracart_api/models/conversation_event_rr_web.rb +0 -273
  1585. data/lib/ultracart_api/models/conversation_event_typing.rb +0 -202
  1586. data/lib/ultracart_api/models/conversation_event_webchat_context.rb +0 -202
  1587. data/lib/ultracart_api/models/conversation_join_request.rb +0 -184
  1588. data/lib/ultracart_api/models/conversation_location_country.rb +0 -204
  1589. data/lib/ultracart_api/models/conversation_location_state_province.rb +0 -193
  1590. data/lib/ultracart_api/models/conversation_locations_response.rb +0 -223
  1591. data/lib/ultracart_api/models/conversation_message.rb +0 -356
  1592. data/lib/ultracart_api/models/conversation_message_translation.rb +0 -193
  1593. data/lib/ultracart_api/models/conversation_message_transport_status.rb +0 -228
  1594. data/lib/ultracart_api/models/conversation_messages_response.rb +0 -223
  1595. data/lib/ultracart_api/models/conversation_multimedia_upload_url.rb +0 -193
  1596. data/lib/ultracart_api/models/conversation_multimedia_upload_url_response.rb +0 -221
  1597. data/lib/ultracart_api/models/conversation_participant.rb +0 -295
  1598. data/lib/ultracart_api/models/conversation_pbx_agent.rb +0 -440
  1599. data/lib/ultracart_api/models/conversation_pbx_agent_response.rb +0 -221
  1600. data/lib/ultracart_api/models/conversation_pbx_agents_response.rb +0 -223
  1601. data/lib/ultracart_api/models/conversation_pbx_audio.rb +0 -365
  1602. data/lib/ultracart_api/models/conversation_pbx_audio_response.rb +0 -221
  1603. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url.rb +0 -193
  1604. data/lib/ultracart_api/models/conversation_pbx_audio_upload_url_response.rb +0 -221
  1605. data/lib/ultracart_api/models/conversation_pbx_audio_usage_response.rb +0 -245
  1606. data/lib/ultracart_api/models/conversation_pbx_audios_response.rb +0 -223
  1607. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_request.rb +0 -248
  1608. data/lib/ultracart_api/models/conversation_pbx_customer_snapshot_response.rb +0 -245
  1609. data/lib/ultracart_api/models/conversation_pbx_menu.rb +0 -416
  1610. data/lib/ultracart_api/models/conversation_pbx_menu_mapping.rb +0 -269
  1611. data/lib/ultracart_api/models/conversation_pbx_menu_response.rb +0 -221
  1612. data/lib/ultracart_api/models/conversation_pbx_menus_response.rb +0 -223
  1613. data/lib/ultracart_api/models/conversation_pbx_phone_number.rb +0 -324
  1614. data/lib/ultracart_api/models/conversation_pbx_phone_number_response.rb +0 -221
  1615. data/lib/ultracart_api/models/conversation_pbx_phone_numbers_response.rb +0 -223
  1616. data/lib/ultracart_api/models/conversation_pbx_queue.rb +0 -534
  1617. data/lib/ultracart_api/models/conversation_pbx_queue_members.rb +0 -197
  1618. data/lib/ultracart_api/models/conversation_pbx_queue_response.rb +0 -221
  1619. data/lib/ultracart_api/models/conversation_pbx_queues_response.rb +0 -223
  1620. data/lib/ultracart_api/models/conversation_pbx_time_based.rb +0 -211
  1621. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping.rb +0 -299
  1622. data/lib/ultracart_api/models/conversation_pbx_time_based_mapping_config.rb +0 -196
  1623. data/lib/ultracart_api/models/conversation_pbx_time_based_response.rb +0 -221
  1624. data/lib/ultracart_api/models/conversation_pbx_time_baseds_response.rb +0 -223
  1625. data/lib/ultracart_api/models/conversation_pbx_time_range.rb +0 -287
  1626. data/lib/ultracart_api/models/conversation_pbx_time_range_config.rb +0 -235
  1627. data/lib/ultracart_api/models/conversation_pbx_time_range_response.rb +0 -221
  1628. data/lib/ultracart_api/models/conversation_pbx_time_ranges_response.rb +0 -223
  1629. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox.rb +0 -458
  1630. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailbox_response.rb +0 -221
  1631. data/lib/ultracart_api/models/conversation_pbx_voicemail_mailboxes_response.rb +0 -223
  1632. data/lib/ultracart_api/models/conversation_pbx_voicemail_message.rb +0 -339
  1633. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_response.rb +0 -221
  1634. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summaries_response.rb +0 -223
  1635. data/lib/ultracart_api/models/conversation_pbx_voicemail_message_summary.rb +0 -309
  1636. data/lib/ultracart_api/models/conversation_permissions.rb +0 -184
  1637. data/lib/ultracart_api/models/conversation_permissions_response.rb +0 -221
  1638. data/lib/ultracart_api/models/conversation_response.rb +0 -221
  1639. data/lib/ultracart_api/models/conversation_search_request.rb +0 -285
  1640. data/lib/ultracart_api/models/conversation_search_response.rb +0 -213
  1641. data/lib/ultracart_api/models/conversation_sentiment.rb +0 -269
  1642. data/lib/ultracart_api/models/conversation_start_request.rb +0 -204
  1643. data/lib/ultracart_api/models/conversation_start_response.rb +0 -184
  1644. data/lib/ultracart_api/models/conversation_summary.rb +0 -369
  1645. data/lib/ultracart_api/models/conversation_twilio_account.rb +0 -195
  1646. data/lib/ultracart_api/models/conversation_webchat_context.rb +0 -254
  1647. data/lib/ultracart_api/models/conversation_webchat_queue_status.rb +0 -315
  1648. data/lib/ultracart_api/models/conversation_webchat_queue_status_agent.rb +0 -266
  1649. data/lib/ultracart_api/models/conversation_webchat_queue_status_queue_entry.rb +0 -248
  1650. data/lib/ultracart_api/models/conversation_webchat_queue_status_update_request.rb +0 -219
  1651. data/lib/ultracart_api/models/conversation_webchat_queue_statuses_response.rb +0 -223
  1652. data/lib/ultracart_api/models/conversation_websocket_message.rb +0 -441
  1653. data/lib/ultracart_api/models/conversations_response.rb +0 -223
  1654. data/lib/ultracart_api/models/coupon_free_item_with_item_purchase_and_free_shipping.rb +0 -219
  1655. data/lib/ultracart_api/models/coupon_more_loyalty_cashback.rb +0 -185
  1656. data/lib/ultracart_api/models/coupon_more_loyalty_points.rb +0 -185
  1657. data/lib/ultracart_api/models/coupon_no_discount.rb +0 -185
  1658. data/lib/ultracart_api/models/coupon_percent_more_loyalty_cashback.rb +0 -185
  1659. data/lib/ultracart_api/models/coupon_percent_more_loyalty_points.rb +0 -185
  1660. data/lib/ultracart_api/models/coupon_tiered_percent_off_subtotal_based_on_msrp.rb +0 -199
  1661. data/lib/ultracart_api/models/customer_edi.rb +0 -205
  1662. data/lib/ultracart_api/models/customer_magic_link_response.rb +0 -222
  1663. data/lib/ultracart_api/models/customer_merge_request.rb +0 -195
  1664. data/lib/ultracart_api/models/customer_property.rb +0 -245
  1665. data/lib/ultracart_api/models/customer_wish_list_item.rb +0 -260
  1666. data/lib/ultracart_api/models/customer_wish_list_item_response.rb +0 -221
  1667. data/lib/ultracart_api/models/customer_wish_list_items_response.rb +0 -223
  1668. data/lib/ultracart_api/models/email_commseq_sequence_test_request.rb +0 -312
  1669. data/lib/ultracart_api/models/email_commseq_sequence_test_response.rb +0 -212
  1670. data/lib/ultracart_api/models/email_commseq_sms_send_test_request.rb +0 -202
  1671. data/lib/ultracart_api/models/email_commseq_sms_send_test_response.rb +0 -232
  1672. data/lib/ultracart_api/models/email_postcard_tracking.rb +0 -404
  1673. data/lib/ultracart_api/models/email_postcard_tracking_response.rb +0 -221
  1674. data/lib/ultracart_api/models/email_rate_limiter.rb +0 -202
  1675. data/lib/ultracart_api/models/email_rate_limiters_response.rb +0 -223
  1676. data/lib/ultracart_api/models/email_sms_order.rb +0 -214
  1677. data/lib/ultracart_api/models/email_sms_orders_response.rb +0 -223
  1678. data/lib/ultracart_api/models/email_sms_stat.rb +0 -476
  1679. data/lib/ultracart_api/models/email_stat_sms_summary_request.rb +0 -195
  1680. data/lib/ultracart_api/models/email_stat_sms_summary_response.rb +0 -223
  1681. data/lib/ultracart_api/models/file_manager_directory.rb +0 -292
  1682. data/lib/ultracart_api/models/file_manager_file.rb +0 -376
  1683. data/lib/ultracart_api/models/file_manager_page.rb +0 -253
  1684. data/lib/ultracart_api/models/file_manager_page_response.rb +0 -221
  1685. data/lib/ultracart_api/models/file_manager_upload_request.rb +0 -202
  1686. data/lib/ultracart_api/models/file_manager_upload_url_response.rb +0 -230
  1687. data/lib/ultracart_api/models/hit_page_view.rb +0 -276
  1688. data/lib/ultracart_api/models/hit_page_view_meta_data.rb +0 -193
  1689. data/lib/ultracart_api/models/hit_session_start.rb +0 -328
  1690. data/lib/ultracart_api/models/hit_session_utm.rb +0 -310
  1691. data/lib/ultracart_api/models/item_digital_item_pdf_meta.rb +0 -315
  1692. data/lib/ultracart_api/models/item_digital_item_response.rb +0 -221
  1693. data/lib/ultracart_api/models/item_digital_items_response.rb +0 -224
  1694. data/lib/ultracart_api/models/item_inventory_snapshot.rb +0 -231
  1695. data/lib/ultracart_api/models/item_inventory_snapshot_distribution_center.rb +0 -220
  1696. data/lib/ultracart_api/models/item_inventory_snapshot_response.rb +0 -224
  1697. data/lib/ultracart_api/models/item_review.rb +0 -801
  1698. data/lib/ultracart_api/models/item_review_response.rb +0 -221
  1699. data/lib/ultracart_api/models/item_reviews_response.rb +0 -224
  1700. data/lib/ultracart_api/models/order_edi_document.rb +0 -337
  1701. data/lib/ultracart_api/models/order_edi_documents_response.rb +0 -224
  1702. data/lib/ultracart_api/models/order_invoice_response.rb +0 -222
  1703. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted.rb +0 -204
  1704. data/lib/ultracart_api/models/order_payment_credit_card_dual_vaulted_property.rb +0 -193
  1705. data/lib/ultracart_api/models/order_payment_health_benefit_card.rb +0 -235
  1706. data/lib/ultracart_api/models/order_point_of_sale.rb +0 -202
  1707. data/lib/ultracart_api/models/order_reason.rb +0 -205
  1708. data/lib/ultracart_api/models/order_refundable_response.rb +0 -310
  1709. data/lib/ultracart_api/models/order_transactional_merchant_note.rb +0 -215
  1710. data/lib/ultracart_api/models/order_utm.rb +0 -446
  1711. data/lib/ultracart_api/models/order_validation_request.rb +0 -196
  1712. data/lib/ultracart_api/models/order_validation_response.rb +0 -209
  1713. data/lib/ultracart_api/models/point_of_sale_location.rb +0 -290
  1714. data/lib/ultracart_api/models/point_of_sale_reader.rb +0 -299
  1715. data/lib/ultracart_api/models/point_of_sale_register.rb +0 -215
  1716. data/lib/ultracart_api/models/report.rb +0 -317
  1717. data/lib/ultracart_api/models/report_auth.rb +0 -212
  1718. data/lib/ultracart_api/models/report_auth_response.rb +0 -221
  1719. data/lib/ultracart_api/models/report_data_set.rb +0 -381
  1720. data/lib/ultracart_api/models/report_data_set_column.rb +0 -229
  1721. data/lib/ultracart_api/models/report_data_set_page.rb +0 -273
  1722. data/lib/ultracart_api/models/report_data_set_page_response.rb +0 -221
  1723. data/lib/ultracart_api/models/report_data_set_query.rb +0 -342
  1724. data/lib/ultracart_api/models/report_data_set_query_order_by_column.rb +0 -193
  1725. data/lib/ultracart_api/models/report_data_set_response.rb +0 -221
  1726. data/lib/ultracart_api/models/report_data_set_row.rb +0 -186
  1727. data/lib/ultracart_api/models/report_data_set_schema.rb +0 -238
  1728. data/lib/ultracart_api/models/report_data_source.rb +0 -242
  1729. data/lib/ultracart_api/models/report_data_source_schema.rb +0 -248
  1730. data/lib/ultracart_api/models/report_dry_run_queries_request.rb +0 -231
  1731. data/lib/ultracart_api/models/report_dry_run_queries_response.rb +0 -186
  1732. data/lib/ultracart_api/models/report_dry_run_query_result.rb +0 -193
  1733. data/lib/ultracart_api/models/report_execute_queries_request.rb +0 -288
  1734. data/lib/ultracart_api/models/report_filter.rb +0 -272
  1735. data/lib/ultracart_api/models/report_filter_connection.rb +0 -203
  1736. data/lib/ultracart_api/models/report_page.rb +0 -237
  1737. data/lib/ultracart_api/models/report_page_filter.rb +0 -214
  1738. data/lib/ultracart_api/models/report_page_visualization.rb +0 -309
  1739. data/lib/ultracart_api/models/report_page_visualization_dimension.rb +0 -244
  1740. data/lib/ultracart_api/models/report_page_visualization_metric.rb +0 -248
  1741. data/lib/ultracart_api/models/report_response.rb +0 -221
  1742. data/lib/ultracart_api/models/report_websocket_event.rb +0 -228
  1743. data/lib/ultracart_api/models/reports_response.rb +0 -223
  1744. data/lib/ultracart_api/models/ruler_validation_request.rb +0 -184
  1745. data/lib/ultracart_api/models/ruler_validation_response.rb +0 -193
  1746. data/lib/ultracart_api/models/store_front.rb +0 -274
  1747. data/lib/ultracart_api/models/store_fronts_response.rb +0 -223
  1748. data/lib/ultracart_api/models/workflow_agent_auth.rb +0 -202
  1749. data/lib/ultracart_api/models/workflow_agent_auth_response.rb +0 -221
  1750. data/lib/ultracart_api/models/workflow_attachment.rb +0 -225
  1751. data/lib/ultracart_api/models/workflow_attachment_upload_url.rb +0 -193
  1752. data/lib/ultracart_api/models/workflow_attachment_upload_url_response.rb +0 -221
  1753. data/lib/ultracart_api/models/workflow_group.rb +0 -195
  1754. data/lib/ultracart_api/models/workflow_groups_response.rb +0 -224
  1755. data/lib/ultracart_api/models/workflow_note.rb +0 -236
  1756. data/lib/ultracart_api/models/workflow_task.rb +0 -574
  1757. data/lib/ultracart_api/models/workflow_task_history.rb +0 -214
  1758. data/lib/ultracart_api/models/workflow_task_open_count_response.rb +0 -222
  1759. data/lib/ultracart_api/models/workflow_task_response.rb +0 -221
  1760. data/lib/ultracart_api/models/workflow_task_tags_response.rb +0 -224
  1761. data/lib/ultracart_api/models/workflow_tasks_request.rb +0 -434
  1762. data/lib/ultracart_api/models/workflow_tasks_response.rb +0 -234
  1763. data/lib/ultracart_api/models/workflow_user.rb +0 -205
  1764. data/lib/ultracart_api/models/workflow_user_response.rb +0 -221
  1765. data/lib/ultracart_api/models/workflow_users_response.rb +0 -234
@@ -1,1412 +1,686 @@
1
- =begin
2
- #UltraCart Rest API V2
3
-
4
- #UltraCart REST API Version 2
5
-
6
- OpenAPI spec version: 2.0.0
7
- Contact: support@ultracart.com
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.15-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'addressable/uri'
14
-
15
- module UltracartClient
16
- class ItemApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- def self.new_using_api_key(simple_key, verify_ssl = true, debugging = false)
24
- api_config = Configuration.new
25
- api_config.api_key_prefix['x-ultracart-simple-key'] = simple_key
26
- api_config.api_version = '2017-03-01'
27
- api_config.verify_ssl = verify_ssl
28
-
29
- api_client = ApiClient.new(api_config)
30
- api_client.config.debugging = debugging
31
-
32
- UltracartClient::ItemApi.new(api_client)
33
- end
34
-
35
- # Delete a digital item, which is a file within the digital library, not an actual merchant item
36
- # Delete a digital item on the UltraCart account.
37
- # @param digital_item_oid The digital item oid to delete.
38
- # @param [Hash] opts the optional parameters
39
- # @return [nil]
40
- def delete_digital_item(digital_item_oid, opts = {})
41
- delete_digital_item_with_http_info(digital_item_oid, opts)
42
- nil
43
- end
44
-
45
- # Delete a digital item, which is a file within the digital library, not an actual merchant item
46
- # Delete a digital item on the UltraCart account.
47
- # @param digital_item_oid The digital item oid to delete.
48
- # @param [Hash] opts the optional parameters
49
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
50
- def delete_digital_item_with_http_info(digital_item_oid, opts = {})
51
- if @api_client.config.debugging
52
- @api_client.config.logger.debug 'Calling API: ItemApi.delete_digital_item ...'
53
- end
54
- # verify the required parameter 'digital_item_oid' is set
55
- if @api_client.config.client_side_validation && digital_item_oid.nil?
56
- fail ArgumentError, "Missing the required parameter 'digital_item_oid' when calling ItemApi.delete_digital_item"
57
- end
58
- # resource path
59
- local_var_path = '/item/digital_library/{digital_item_oid}'.sub('{' + 'digital_item_oid' + '}', digital_item_oid.to_s)
60
-
61
- # query parameters
62
- query_params = {}
63
-
64
- # header parameters
65
- header_params = {}
66
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
67
- # HTTP header 'Accept' (if needed)
68
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
69
- # HTTP header 'Content-Type'
70
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
71
-
72
- # form parameters
73
- form_params = {}
74
-
75
- # http body (model)
76
- post_body = nil
77
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
78
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
79
- :header_params => header_params,
80
- :query_params => query_params,
81
- :form_params => form_params,
82
- :body => post_body,
83
- :auth_names => auth_names)
84
- if @api_client.config.debugging
85
- @api_client.config.logger.debug "API called: ItemApi#delete_digital_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
86
- end
87
- return data, status_code, headers
88
- end
89
- # Delete an item
90
- # Delete an item on the UltraCart account.
91
- # @param merchant_item_oid The item oid to delete.
92
- # @param [Hash] opts the optional parameters
93
- # @return [nil]
94
- def delete_item(merchant_item_oid, opts = {})
95
- delete_item_with_http_info(merchant_item_oid, opts)
96
- nil
97
- end
98
-
99
- # Delete an item
100
- # Delete an item on the UltraCart account.
101
- # @param merchant_item_oid The item oid to delete.
102
- # @param [Hash] opts the optional parameters
103
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
104
- def delete_item_with_http_info(merchant_item_oid, opts = {})
105
- if @api_client.config.debugging
106
- @api_client.config.logger.debug 'Calling API: ItemApi.delete_item ...'
107
- end
108
- # verify the required parameter 'merchant_item_oid' is set
109
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
110
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.delete_item"
111
- end
112
- # resource path
113
- local_var_path = '/item/items/{merchant_item_oid}'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
114
-
115
- # query parameters
116
- query_params = {}
117
-
118
- # header parameters
119
- header_params = {}
120
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
121
- # HTTP header 'Accept' (if needed)
122
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
123
- # HTTP header 'Content-Type'
124
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
125
-
126
- # form parameters
127
- form_params = {}
128
-
129
- # http body (model)
130
- post_body = nil
131
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
132
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
133
- :header_params => header_params,
134
- :query_params => query_params,
135
- :form_params => form_params,
136
- :body => post_body,
137
- :auth_names => auth_names)
138
- if @api_client.config.debugging
139
- @api_client.config.logger.debug "API called: ItemApi#delete_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
140
- end
141
- return data, status_code, headers
142
- end
143
- # Delete a review
144
- # Delete an item review.
145
- # @param review_oid The review oid to delete.
146
- # @param merchant_item_oid The item oid the review is associated with.
147
- # @param [Hash] opts the optional parameters
148
- # @return [nil]
149
- def delete_review(review_oid, merchant_item_oid, opts = {})
150
- delete_review_with_http_info(review_oid, merchant_item_oid, opts)
151
- nil
152
- end
153
-
154
- # Delete a review
155
- # Delete an item review.
156
- # @param review_oid The review oid to delete.
157
- # @param merchant_item_oid The item oid the review is associated with.
158
- # @param [Hash] opts the optional parameters
159
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
160
- def delete_review_with_http_info(review_oid, merchant_item_oid, opts = {})
161
- if @api_client.config.debugging
162
- @api_client.config.logger.debug 'Calling API: ItemApi.delete_review ...'
163
- end
164
- # verify the required parameter 'review_oid' is set
165
- if @api_client.config.client_side_validation && review_oid.nil?
166
- fail ArgumentError, "Missing the required parameter 'review_oid' when calling ItemApi.delete_review"
167
- end
168
- # verify the required parameter 'merchant_item_oid' is set
169
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
170
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.delete_review"
171
- end
172
- # resource path
173
- local_var_path = '/item/items/{merchant_item_oid}/reviews/{review_oid}'.sub('{' + 'review_oid' + '}', review_oid.to_s).sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
174
-
175
- # query parameters
176
- query_params = {}
177
-
178
- # header parameters
179
- header_params = {}
180
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
181
- # HTTP header 'Accept' (if needed)
182
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
183
- # HTTP header 'Content-Type'
184
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
185
-
186
- # form parameters
187
- form_params = {}
188
-
189
- # http body (model)
190
- post_body = nil
191
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
192
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
193
- :header_params => header_params,
194
- :query_params => query_params,
195
- :form_params => form_params,
196
- :body => post_body,
197
- :auth_names => auth_names)
198
- if @api_client.config.debugging
199
- @api_client.config.logger.debug "API called: ItemApi#delete_review\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
200
- end
201
- return data, status_code, headers
202
- end
203
- # Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
204
- # Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
205
- # @param digital_item_oid The digital item oid to retrieve.
206
- # @param [Hash] opts the optional parameters
207
- # @return [ItemDigitalItemResponse]
208
- def get_digital_item(digital_item_oid, opts = {})
209
- data, _status_code, _headers = get_digital_item_with_http_info(digital_item_oid, opts)
210
- data
211
- end
212
-
213
- # Retrieve a digital item from the digital library, which are digital files that may be attached to normal items
214
- # Retrieves a digital item (file information) from the account. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
215
- # @param digital_item_oid The digital item oid to retrieve.
216
- # @param [Hash] opts the optional parameters
217
- # @return [Array<(ItemDigitalItemResponse, Fixnum, Hash)>] ItemDigitalItemResponse data, response status code and response headers
218
- def get_digital_item_with_http_info(digital_item_oid, opts = {})
219
- if @api_client.config.debugging
220
- @api_client.config.logger.debug 'Calling API: ItemApi.get_digital_item ...'
221
- end
222
- # verify the required parameter 'digital_item_oid' is set
223
- if @api_client.config.client_side_validation && digital_item_oid.nil?
224
- fail ArgumentError, "Missing the required parameter 'digital_item_oid' when calling ItemApi.get_digital_item"
225
- end
226
- # resource path
227
- local_var_path = '/item/digital_library/{digital_item_oid}'.sub('{' + 'digital_item_oid' + '}', digital_item_oid.to_s)
228
-
229
- # query parameters
230
- query_params = {}
231
-
232
- # header parameters
233
- header_params = {}
234
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
235
- # HTTP header 'Accept' (if needed)
236
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
237
- # HTTP header 'Content-Type'
238
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
239
-
240
- # form parameters
241
- form_params = {}
242
-
243
- # http body (model)
244
- post_body = nil
245
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
246
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
247
- :header_params => header_params,
248
- :query_params => query_params,
249
- :form_params => form_params,
250
- :body => post_body,
251
- :auth_names => auth_names,
252
- :return_type => 'ItemDigitalItemResponse')
253
- if @api_client.config.debugging
254
- @api_client.config.logger.debug "API called: ItemApi#get_digital_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
255
- end
256
- return data, status_code, headers
257
- end
258
- # Retrieve digital items from the digital library which are digital files that may be attached to normal items
259
- # Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
260
- # @param [Hash] opts the optional parameters
261
- # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
262
- # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
263
- # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
264
- # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
265
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
266
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
267
- # @return [ItemDigitalItemsResponse]
268
- def get_digital_items(opts = {})
269
- data, _status_code, _headers = get_digital_items_with_http_info(opts)
270
- data
271
- end
272
-
273
- # Retrieve digital items from the digital library which are digital files that may be attached to normal items
274
- # Retrieves a group of digital items (file information) from the account. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
275
- # @param [Hash] opts the optional parameters
276
- # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000)
277
- # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
278
- # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
279
- # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
280
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
281
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
282
- # @return [Array<(ItemDigitalItemsResponse, Fixnum, Hash)>] ItemDigitalItemsResponse data, response status code and response headers
283
- def get_digital_items_with_http_info(opts = {})
284
- if @api_client.config.debugging
285
- @api_client.config.logger.debug 'Calling API: ItemApi.get_digital_items ...'
286
- end
287
- # resource path
288
- local_var_path = '/item/digital_library'
289
-
290
- # query parameters
291
- query_params = {}
292
- query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
293
- query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
294
- query_params[:'_since'] = opts[:'_since'] if !opts[:'_since'].nil?
295
- query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
296
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
297
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
298
-
299
- # header parameters
300
- header_params = {}
301
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
302
- # HTTP header 'Accept' (if needed)
303
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
304
- # HTTP header 'Content-Type'
305
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
306
-
307
- # form parameters
308
- form_params = {}
309
-
310
- # http body (model)
311
- post_body = nil
312
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
313
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
314
- :header_params => header_params,
315
- :query_params => query_params,
316
- :form_params => form_params,
317
- :body => post_body,
318
- :auth_names => auth_names,
319
- :return_type => 'ItemDigitalItemsResponse')
320
- if @api_client.config.debugging
321
- @api_client.config.logger.debug "API called: ItemApi#get_digital_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
322
- end
323
- return data, status_code, headers
324
- end
325
- # Retrieves digital items from the digital library (which are digital files that may be attached to normal items) that having a matching external id
326
- # Retrieves digital items from the digital library (which are digital files that may be attached to normal items) that having a matching external id. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
327
- # @param external_id The external id to match against.
328
- # @param [Hash] opts the optional parameters
329
- # @return [ItemDigitalItemsResponse]
330
- def get_digital_items_by_external_id(external_id, opts = {})
331
- data, _status_code, _headers = get_digital_items_by_external_id_with_http_info(external_id, opts)
332
- data
333
- end
334
-
335
- # Retrieves digital items from the digital library (which are digital files that may be attached to normal items) that having a matching external id
336
- # Retrieves digital items from the digital library (which are digital files that may be attached to normal items) that having a matching external id. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items.
337
- # @param external_id The external id to match against.
338
- # @param [Hash] opts the optional parameters
339
- # @return [Array<(ItemDigitalItemsResponse, Fixnum, Hash)>] ItemDigitalItemsResponse data, response status code and response headers
340
- def get_digital_items_by_external_id_with_http_info(external_id, opts = {})
341
- if @api_client.config.debugging
342
- @api_client.config.logger.debug 'Calling API: ItemApi.get_digital_items_by_external_id ...'
343
- end
344
- # verify the required parameter 'external_id' is set
345
- if @api_client.config.client_side_validation && external_id.nil?
346
- fail ArgumentError, "Missing the required parameter 'external_id' when calling ItemApi.get_digital_items_by_external_id"
347
- end
348
- # resource path
349
- local_var_path = '/item/digital_library/by_external/{external_id}'.sub('{' + 'external_id' + '}', external_id.to_s)
350
-
351
- # query parameters
352
- query_params = {}
353
-
354
- # header parameters
355
- header_params = {}
356
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
357
- # HTTP header 'Accept' (if needed)
358
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
359
- # HTTP header 'Content-Type'
360
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
361
-
362
- # form parameters
363
- form_params = {}
364
-
365
- # http body (model)
366
- post_body = nil
367
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
368
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
369
- :header_params => header_params,
370
- :query_params => query_params,
371
- :form_params => form_params,
372
- :body => post_body,
373
- :auth_names => auth_names,
374
- :return_type => 'ItemDigitalItemsResponse')
375
- if @api_client.config.debugging
376
- @api_client.config.logger.debug "API called: ItemApi#get_digital_items_by_external_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
377
- end
378
- return data, status_code, headers
379
- end
380
- # Retrieve an item
381
- # Retrieves a single item using the specified item oid.
382
- # @param merchant_item_oid The item oid to retrieve.
383
- # @param [Hash] opts the optional parameters
384
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
385
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
386
- # @return [ItemResponse]
387
- def get_item(merchant_item_oid, opts = {})
388
- data, _status_code, _headers = get_item_with_http_info(merchant_item_oid, opts)
389
- data
390
- end
391
-
392
- # Retrieve an item
393
- # Retrieves a single item using the specified item oid.
394
- # @param merchant_item_oid The item oid to retrieve.
395
- # @param [Hash] opts the optional parameters
396
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
397
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
398
- # @return [Array<(ItemResponse, Fixnum, Hash)>] ItemResponse data, response status code and response headers
399
- def get_item_with_http_info(merchant_item_oid, opts = {})
400
- if @api_client.config.debugging
401
- @api_client.config.logger.debug 'Calling API: ItemApi.get_item ...'
402
- end
403
- # verify the required parameter 'merchant_item_oid' is set
404
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
405
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.get_item"
406
- end
407
- # resource path
408
- local_var_path = '/item/items/{merchant_item_oid}'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
409
-
410
- # query parameters
411
- query_params = {}
412
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
413
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
414
-
415
- # header parameters
416
- header_params = {}
417
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
418
- # HTTP header 'Accept' (if needed)
419
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
420
- # HTTP header 'Content-Type'
421
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
422
-
423
- # form parameters
424
- form_params = {}
425
-
426
- # http body (model)
427
- post_body = nil
428
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
429
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
430
- :header_params => header_params,
431
- :query_params => query_params,
432
- :form_params => form_params,
433
- :body => post_body,
434
- :auth_names => auth_names,
435
- :return_type => 'ItemResponse')
436
- if @api_client.config.debugging
437
- @api_client.config.logger.debug "API called: ItemApi#get_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
438
- end
439
- return data, status_code, headers
440
- end
441
- # Retrieve an item by item id
442
- # Retrieves a single item using the specified item id.
443
- # @param merchant_item_id The item id to retrieve.
444
- # @param [Hash] opts the optional parameters
445
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
446
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
447
- # @return [ItemResponse]
448
- def get_item_by_merchant_item_id(merchant_item_id, opts = {})
449
- data, _status_code, _headers = get_item_by_merchant_item_id_with_http_info(merchant_item_id, opts)
450
- data
451
- end
452
-
453
- # Retrieve an item by item id
454
- # Retrieves a single item using the specified item id.
455
- # @param merchant_item_id The item id to retrieve.
456
- # @param [Hash] opts the optional parameters
457
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
458
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
459
- # @return [Array<(ItemResponse, Fixnum, Hash)>] ItemResponse data, response status code and response headers
460
- def get_item_by_merchant_item_id_with_http_info(merchant_item_id, opts = {})
461
- if @api_client.config.debugging
462
- @api_client.config.logger.debug 'Calling API: ItemApi.get_item_by_merchant_item_id ...'
463
- end
464
- # verify the required parameter 'merchant_item_id' is set
465
- if @api_client.config.client_side_validation && merchant_item_id.nil?
466
- fail ArgumentError, "Missing the required parameter 'merchant_item_id' when calling ItemApi.get_item_by_merchant_item_id"
467
- end
468
- # resource path
469
- local_var_path = '/item/items/merchant_item_id/{merchant_item_id}'.sub('{' + 'merchant_item_id' + '}', merchant_item_id.to_s)
470
-
471
- # query parameters
472
- query_params = {}
473
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
474
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
475
-
476
- # header parameters
477
- header_params = {}
478
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
479
- # HTTP header 'Accept' (if needed)
480
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
481
- # HTTP header 'Content-Type'
482
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
483
-
484
- # form parameters
485
- form_params = {}
486
-
487
- # http body (model)
488
- post_body = nil
489
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
490
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
491
- :header_params => header_params,
492
- :query_params => query_params,
493
- :form_params => form_params,
494
- :body => post_body,
495
- :auth_names => auth_names,
496
- :return_type => 'ItemResponse')
497
- if @api_client.config.debugging
498
- @api_client.config.logger.debug "API called: ItemApi#get_item_by_merchant_item_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
499
- end
500
- return data, status_code, headers
501
- end
502
- # Retrieve items
503
- # Retrieves a group of items from the account. If no parameters are specified, all items will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
504
- # @param [Hash] opts the optional parameters
505
- # @option opts [Integer] :parent_category_id The parent category object id to retrieve items for. Unspecified means all items on the account. 0 &#x3D; root
506
- # @option opts [String] :parent_category_path The parent category path to retrieve items for. Unspecified means all items on the account. / &#x3D; root
507
- # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
508
- # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
509
- # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
510
- # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
511
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
512
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
513
- # @return [ItemsResponse]
514
- def get_items(opts = {})
515
- data, _status_code, _headers = get_items_with_http_info(opts)
516
- data
517
- end
518
-
519
- # Retrieve items
520
- # Retrieves a group of items from the account. If no parameters are specified, all items will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
521
- # @param [Hash] opts the optional parameters
522
- # @option opts [Integer] :parent_category_id The parent category object id to retrieve items for. Unspecified means all items on the account. 0 &#x3D; root
523
- # @option opts [String] :parent_category_path The parent category path to retrieve items for. Unspecified means all items on the account. / &#x3D; root
524
- # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000)
525
- # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
526
- # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
527
- # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
528
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
529
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
530
- # @return [Array<(ItemsResponse, Fixnum, Hash)>] ItemsResponse data, response status code and response headers
531
- def get_items_with_http_info(opts = {})
532
- if @api_client.config.debugging
533
- @api_client.config.logger.debug 'Calling API: ItemApi.get_items ...'
534
- end
535
- # resource path
536
- local_var_path = '/item/items'
537
-
538
- # query parameters
539
- query_params = {}
540
- query_params[:'parent_category_id'] = opts[:'parent_category_id'] if !opts[:'parent_category_id'].nil?
541
- query_params[:'parent_category_path'] = opts[:'parent_category_path'] if !opts[:'parent_category_path'].nil?
542
- query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
543
- query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
544
- query_params[:'_since'] = opts[:'_since'] if !opts[:'_since'].nil?
545
- query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
546
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
547
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
548
-
549
- # header parameters
550
- header_params = {}
551
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
552
- # HTTP header 'Accept' (if needed)
553
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
554
- # HTTP header 'Content-Type'
555
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
556
-
557
- # form parameters
558
- form_params = {}
559
-
560
- # http body (model)
561
- post_body = nil
562
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
563
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
564
- :header_params => header_params,
565
- :query_params => query_params,
566
- :form_params => form_params,
567
- :body => post_body,
568
- :auth_names => auth_names,
569
- :return_type => 'ItemsResponse')
570
- if @api_client.config.debugging
571
- @api_client.config.logger.debug "API called: ItemApi#get_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
572
- end
573
- return data, status_code, headers
574
- end
575
- # Retrieve pricing tiers
576
- # Retrieves the pricing tiers
577
- # @param [Hash] opts the optional parameters
578
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
579
- # @return [PricingTiersResponse]
580
- def get_pricing_tiers(opts = {})
581
- data, _status_code, _headers = get_pricing_tiers_with_http_info(opts)
582
- data
583
- end
584
-
585
- # Retrieve pricing tiers
586
- # Retrieves the pricing tiers
587
- # @param [Hash] opts the optional parameters
588
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
589
- # @return [Array<(PricingTiersResponse, Fixnum, Hash)>] PricingTiersResponse data, response status code and response headers
590
- def get_pricing_tiers_with_http_info(opts = {})
591
- if @api_client.config.debugging
592
- @api_client.config.logger.debug 'Calling API: ItemApi.get_pricing_tiers ...'
593
- end
594
- # resource path
595
- local_var_path = '/item/pricing_tiers'
596
-
597
- # query parameters
598
- query_params = {}
599
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
600
-
601
- # header parameters
602
- header_params = {}
603
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
604
- # HTTP header 'Accept' (if needed)
605
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
606
- # HTTP header 'Content-Type'
607
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
608
-
609
- # form parameters
610
- form_params = {}
611
-
612
- # http body (model)
613
- post_body = nil
614
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
615
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
616
- :header_params => header_params,
617
- :query_params => query_params,
618
- :form_params => form_params,
619
- :body => post_body,
620
- :auth_names => auth_names,
621
- :return_type => 'PricingTiersResponse')
622
- if @api_client.config.debugging
623
- @api_client.config.logger.debug "API called: ItemApi#get_pricing_tiers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
624
- end
625
- return data, status_code, headers
626
- end
627
- # Get a review
628
- # Retrieve an item review.
629
- # @param review_oid The review oid to retrieve.
630
- # @param merchant_item_oid The item oid the review is associated with.
631
- # @param [Hash] opts the optional parameters
632
- # @return [ItemReviewResponse]
633
- def get_review(review_oid, merchant_item_oid, opts = {})
634
- data, _status_code, _headers = get_review_with_http_info(review_oid, merchant_item_oid, opts)
635
- data
636
- end
637
-
638
- # Get a review
639
- # Retrieve an item review.
640
- # @param review_oid The review oid to retrieve.
641
- # @param merchant_item_oid The item oid the review is associated with.
642
- # @param [Hash] opts the optional parameters
643
- # @return [Array<(ItemReviewResponse, Fixnum, Hash)>] ItemReviewResponse data, response status code and response headers
644
- def get_review_with_http_info(review_oid, merchant_item_oid, opts = {})
645
- if @api_client.config.debugging
646
- @api_client.config.logger.debug 'Calling API: ItemApi.get_review ...'
647
- end
648
- # verify the required parameter 'review_oid' is set
649
- if @api_client.config.client_side_validation && review_oid.nil?
650
- fail ArgumentError, "Missing the required parameter 'review_oid' when calling ItemApi.get_review"
651
- end
652
- # verify the required parameter 'merchant_item_oid' is set
653
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
654
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.get_review"
655
- end
656
- # resource path
657
- local_var_path = '/item/items/{merchant_item_oid}/reviews/{review_oid}'.sub('{' + 'review_oid' + '}', review_oid.to_s).sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
658
-
659
- # query parameters
660
- query_params = {}
661
-
662
- # header parameters
663
- header_params = {}
664
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
665
- # HTTP header 'Accept' (if needed)
666
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
667
- # HTTP header 'Content-Type'
668
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
669
-
670
- # form parameters
671
- form_params = {}
672
-
673
- # http body (model)
674
- post_body = nil
675
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
676
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
677
- :header_params => header_params,
678
- :query_params => query_params,
679
- :form_params => form_params,
680
- :body => post_body,
681
- :auth_names => auth_names,
682
- :return_type => 'ItemReviewResponse')
683
- if @api_client.config.debugging
684
- @api_client.config.logger.debug "API called: ItemApi#get_review\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
685
- end
686
- return data, status_code, headers
687
- end
688
- # Get reviews for an item
689
- # Retrieve item reviews.
690
- # @param merchant_item_oid The item oid the review is associated with.
691
- # @param [Hash] opts the optional parameters
692
- # @return [ItemReviewsResponse]
693
- def get_reviews(merchant_item_oid, opts = {})
694
- data, _status_code, _headers = get_reviews_with_http_info(merchant_item_oid, opts)
695
- data
696
- end
697
-
698
- # Get reviews for an item
699
- # Retrieve item reviews.
700
- # @param merchant_item_oid The item oid the review is associated with.
701
- # @param [Hash] opts the optional parameters
702
- # @return [Array<(ItemReviewsResponse, Fixnum, Hash)>] ItemReviewsResponse data, response status code and response headers
703
- def get_reviews_with_http_info(merchant_item_oid, opts = {})
704
- if @api_client.config.debugging
705
- @api_client.config.logger.debug 'Calling API: ItemApi.get_reviews ...'
706
- end
707
- # verify the required parameter 'merchant_item_oid' is set
708
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
709
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.get_reviews"
710
- end
711
- # resource path
712
- local_var_path = '/item/items/{merchant_item_oid}/reviews'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
713
-
714
- # query parameters
715
- query_params = {}
716
-
717
- # header parameters
718
- header_params = {}
719
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
720
- # HTTP header 'Accept' (if needed)
721
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
722
- # HTTP header 'Content-Type'
723
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
724
-
725
- # form parameters
726
- form_params = {}
727
-
728
- # http body (model)
729
- post_body = nil
730
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
731
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
732
- :header_params => header_params,
733
- :query_params => query_params,
734
- :form_params => form_params,
735
- :body => post_body,
736
- :auth_names => auth_names,
737
- :return_type => 'ItemReviewsResponse')
738
- if @api_client.config.debugging
739
- @api_client.config.logger.debug "API called: ItemApi#get_reviews\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
740
- end
741
- return data, status_code, headers
742
- end
743
- # Retrieve digital items from the digital library (which are digital files that may be attached to normal items) not yet associated with actual items
744
- # Retrieves a group of digital items (file information) from the account that are not yet associated with any actual items. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
745
- # @param [Hash] opts the optional parameters
746
- # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
747
- # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
748
- # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
749
- # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
750
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
751
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
752
- # @return [ItemDigitalItemsResponse]
753
- def get_unassociated_digital_items(opts = {})
754
- data, _status_code, _headers = get_unassociated_digital_items_with_http_info(opts)
755
- data
756
- end
757
-
758
- # Retrieve digital items from the digital library (which are digital files that may be attached to normal items) not yet associated with actual items
759
- # Retrieves a group of digital items (file information) from the account that are not yet associated with any actual items. If no parameters are specified, all digital items will be returned. Be aware that these are not normal items that can be added to a shopping cart. Rather, they are digital files that may be associated with normal items. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
760
- # @param [Hash] opts the optional parameters
761
- # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000)
762
- # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
763
- # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
764
- # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
765
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
766
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
767
- # @return [Array<(ItemDigitalItemsResponse, Fixnum, Hash)>] ItemDigitalItemsResponse data, response status code and response headers
768
- def get_unassociated_digital_items_with_http_info(opts = {})
769
- if @api_client.config.debugging
770
- @api_client.config.logger.debug 'Calling API: ItemApi.get_unassociated_digital_items ...'
771
- end
772
- # resource path
773
- local_var_path = '/item/digital_library/unassociated'
774
-
775
- # query parameters
776
- query_params = {}
777
- query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
778
- query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
779
- query_params[:'_since'] = opts[:'_since'] if !opts[:'_since'].nil?
780
- query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
781
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
782
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
783
-
784
- # header parameters
785
- header_params = {}
786
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
787
- # HTTP header 'Accept' (if needed)
788
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
789
- # HTTP header 'Content-Type'
790
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
791
-
792
- # form parameters
793
- form_params = {}
794
-
795
- # http body (model)
796
- post_body = nil
797
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
798
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
799
- :header_params => header_params,
800
- :query_params => query_params,
801
- :form_params => form_params,
802
- :body => post_body,
803
- :auth_names => auth_names,
804
- :return_type => 'ItemDigitalItemsResponse')
805
- if @api_client.config.debugging
806
- @api_client.config.logger.debug "API called: ItemApi#get_unassociated_digital_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
807
- end
808
- return data, status_code, headers
809
- end
810
- # Create a file within the digital library
811
- # Create a file within the digital library. This does not create an item, but makes this digital file available and selectable as part (or all) of an item.
812
- # @param digital_item Digital item to create
813
- # @param [Hash] opts the optional parameters
814
- # @return [ItemDigitalItemResponse]
815
- def insert_digital_item(digital_item, opts = {})
816
- data, _status_code, _headers = insert_digital_item_with_http_info(digital_item, opts)
817
- data
818
- end
819
-
820
- # Create a file within the digital library
821
- # Create a file within the digital library. This does not create an item, but makes this digital file available and selectable as part (or all) of an item.
822
- # @param digital_item Digital item to create
823
- # @param [Hash] opts the optional parameters
824
- # @return [Array<(ItemDigitalItemResponse, Fixnum, Hash)>] ItemDigitalItemResponse data, response status code and response headers
825
- def insert_digital_item_with_http_info(digital_item, opts = {})
826
- if @api_client.config.debugging
827
- @api_client.config.logger.debug 'Calling API: ItemApi.insert_digital_item ...'
828
- end
829
- # verify the required parameter 'digital_item' is set
830
- if @api_client.config.client_side_validation && digital_item.nil?
831
- fail ArgumentError, "Missing the required parameter 'digital_item' when calling ItemApi.insert_digital_item"
832
- end
833
- # resource path
834
- local_var_path = '/item/digital_library'
835
-
836
- # query parameters
837
- query_params = {}
838
-
839
- # header parameters
840
- header_params = {}
841
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
842
- # HTTP header 'Accept' (if needed)
843
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
844
- # HTTP header 'Content-Type'
845
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
846
-
847
- # form parameters
848
- form_params = {}
849
-
850
- # http body (model)
851
- post_body = @api_client.object_to_http_body(digital_item)
852
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
853
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
854
- :header_params => header_params,
855
- :query_params => query_params,
856
- :form_params => form_params,
857
- :body => post_body,
858
- :auth_names => auth_names,
859
- :return_type => 'ItemDigitalItemResponse')
860
- if @api_client.config.debugging
861
- @api_client.config.logger.debug "API called: ItemApi#insert_digital_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
862
- end
863
- return data, status_code, headers
864
- end
865
- # Create an item
866
- # Create a new item on the UltraCart account.
867
- # @param item Item to create
868
- # @param [Hash] opts the optional parameters
869
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
870
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
871
- # @return [ItemResponse]
872
- def insert_item(item, opts = {})
873
- data, _status_code, _headers = insert_item_with_http_info(item, opts)
874
- data
875
- end
876
-
877
- # Create an item
878
- # Create a new item on the UltraCart account.
879
- # @param item Item to create
880
- # @param [Hash] opts the optional parameters
881
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
882
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
883
- # @return [Array<(ItemResponse, Fixnum, Hash)>] ItemResponse data, response status code and response headers
884
- def insert_item_with_http_info(item, opts = {})
885
- if @api_client.config.debugging
886
- @api_client.config.logger.debug 'Calling API: ItemApi.insert_item ...'
887
- end
888
- # verify the required parameter 'item' is set
889
- if @api_client.config.client_side_validation && item.nil?
890
- fail ArgumentError, "Missing the required parameter 'item' when calling ItemApi.insert_item"
891
- end
892
- # resource path
893
- local_var_path = '/item/items'
894
-
895
- # query parameters
896
- query_params = {}
897
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
898
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
899
-
900
- # header parameters
901
- header_params = {}
902
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
903
- # HTTP header 'Accept' (if needed)
904
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
905
- # HTTP header 'Content-Type'
906
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
907
-
908
- # form parameters
909
- form_params = {}
910
-
911
- # http body (model)
912
- post_body = @api_client.object_to_http_body(item)
913
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
914
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
915
- :header_params => header_params,
916
- :query_params => query_params,
917
- :form_params => form_params,
918
- :body => post_body,
919
- :auth_names => auth_names,
920
- :return_type => 'ItemResponse')
921
- if @api_client.config.debugging
922
- @api_client.config.logger.debug "API called: ItemApi#insert_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
923
- end
924
- return data, status_code, headers
925
- end
926
- # Insert a review
927
- # Insert a item review.
928
- # @param review Review to insert
929
- # @param merchant_item_oid The item oid the review is associated with.
930
- # @param [Hash] opts the optional parameters
931
- # @return [ItemReviewResponse]
932
- def insert_review(review, merchant_item_oid, opts = {})
933
- data, _status_code, _headers = insert_review_with_http_info(review, merchant_item_oid, opts)
934
- data
935
- end
936
-
937
- # Insert a review
938
- # Insert a item review.
939
- # @param review Review to insert
940
- # @param merchant_item_oid The item oid the review is associated with.
941
- # @param [Hash] opts the optional parameters
942
- # @return [Array<(ItemReviewResponse, Fixnum, Hash)>] ItemReviewResponse data, response status code and response headers
943
- def insert_review_with_http_info(review, merchant_item_oid, opts = {})
944
- if @api_client.config.debugging
945
- @api_client.config.logger.debug 'Calling API: ItemApi.insert_review ...'
946
- end
947
- # verify the required parameter 'review' is set
948
- if @api_client.config.client_side_validation && review.nil?
949
- fail ArgumentError, "Missing the required parameter 'review' when calling ItemApi.insert_review"
950
- end
951
- # verify the required parameter 'merchant_item_oid' is set
952
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
953
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.insert_review"
954
- end
955
- # resource path
956
- local_var_path = '/item/items/{merchant_item_oid}/reviews'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
957
-
958
- # query parameters
959
- query_params = {}
960
-
961
- # header parameters
962
- header_params = {}
963
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
964
- # HTTP header 'Accept' (if needed)
965
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
966
- # HTTP header 'Content-Type'
967
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
968
-
969
- # form parameters
970
- form_params = {}
971
-
972
- # http body (model)
973
- post_body = @api_client.object_to_http_body(review)
974
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
975
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
976
- :header_params => header_params,
977
- :query_params => query_params,
978
- :form_params => form_params,
979
- :body => post_body,
980
- :auth_names => auth_names,
981
- :return_type => 'ItemReviewResponse')
982
- if @api_client.config.debugging
983
- @api_client.config.logger.debug "API called: ItemApi#insert_review\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
984
- end
985
- return data, status_code, headers
986
- end
987
- # Upsert an item content attribute
988
- # Update an item content attribute, creating it new if it does not yet exist.
989
- # @param item_attribute Item content attribute to upsert
990
- # @param merchant_item_oid The item oid to modify.
991
- # @param [Hash] opts the optional parameters
992
- # @return [nil]
993
- def insert_update_item_content_attribute(item_attribute, merchant_item_oid, opts = {})
994
- insert_update_item_content_attribute_with_http_info(item_attribute, merchant_item_oid, opts)
995
- nil
996
- end
997
-
998
- # Upsert an item content attribute
999
- # Update an item content attribute, creating it new if it does not yet exist.
1000
- # @param item_attribute Item content attribute to upsert
1001
- # @param merchant_item_oid The item oid to modify.
1002
- # @param [Hash] opts the optional parameters
1003
- # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
1004
- def insert_update_item_content_attribute_with_http_info(item_attribute, merchant_item_oid, opts = {})
1005
- if @api_client.config.debugging
1006
- @api_client.config.logger.debug 'Calling API: ItemApi.insert_update_item_content_attribute ...'
1007
- end
1008
- # verify the required parameter 'item_attribute' is set
1009
- if @api_client.config.client_side_validation && item_attribute.nil?
1010
- fail ArgumentError, "Missing the required parameter 'item_attribute' when calling ItemApi.insert_update_item_content_attribute"
1011
- end
1012
- # verify the required parameter 'merchant_item_oid' is set
1013
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
1014
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.insert_update_item_content_attribute"
1015
- end
1016
- # resource path
1017
- local_var_path = '/item/items/{merchant_item_oid}/content/attributes'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
1018
-
1019
- # query parameters
1020
- query_params = {}
1021
-
1022
- # header parameters
1023
- header_params = {}
1024
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1025
- # HTTP header 'Accept' (if needed)
1026
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1027
- # HTTP header 'Content-Type'
1028
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1029
-
1030
- # form parameters
1031
- form_params = {}
1032
-
1033
- # http body (model)
1034
- post_body = @api_client.object_to_http_body(item_attribute)
1035
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1036
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1037
- :header_params => header_params,
1038
- :query_params => query_params,
1039
- :form_params => form_params,
1040
- :body => post_body,
1041
- :auth_names => auth_names)
1042
- if @api_client.config.debugging
1043
- @api_client.config.logger.debug "API called: ItemApi#insert_update_item_content_attribute\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1044
- end
1045
- return data, status_code, headers
1046
- end
1047
- # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1048
- # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1049
- # @param [Hash] opts the optional parameters
1050
- # @return [ItemInventorySnapshotResponse]
1051
- def rest_item_inventory_snapshot_response(opts = {})
1052
- data, _status_code, _headers = rest_item_inventory_snapshot_response_with_http_info(opts)
1053
- data
1054
- end
1055
-
1056
- # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1057
- # Retrieve a list of item inventories. This method may be called once every 15 minutes. More than that will result in a 429 response.
1058
- # @param [Hash] opts the optional parameters
1059
- # @return [Array<(ItemInventorySnapshotResponse, Fixnum, Hash)>] ItemInventorySnapshotResponse data, response status code and response headers
1060
- def rest_item_inventory_snapshot_response_with_http_info(opts = {})
1061
- if @api_client.config.debugging
1062
- @api_client.config.logger.debug 'Calling API: ItemApi.rest_item_inventory_snapshot_response ...'
1063
- end
1064
- # resource path
1065
- local_var_path = '/item/items/inventory_snapshot'
1066
-
1067
- # query parameters
1068
- query_params = {}
1069
-
1070
- # header parameters
1071
- header_params = {}
1072
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1073
- # HTTP header 'Accept' (if needed)
1074
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1075
- # HTTP header 'Content-Type'
1076
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
1077
-
1078
- # form parameters
1079
- form_params = {}
1080
-
1081
- # http body (model)
1082
- post_body = nil
1083
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1084
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
1085
- :header_params => header_params,
1086
- :query_params => query_params,
1087
- :form_params => form_params,
1088
- :body => post_body,
1089
- :auth_names => auth_names,
1090
- :return_type => 'ItemInventorySnapshotResponse')
1091
- if @api_client.config.debugging
1092
- @api_client.config.logger.debug "API called: ItemApi#rest_item_inventory_snapshot_response\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1093
- end
1094
- return data, status_code, headers
1095
- end
1096
- # Updates a file within the digital library
1097
- # Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
1098
- # @param digital_item_oid The digital item oid to update.
1099
- # @param digital_item Digital item to update
1100
- # @param [Hash] opts the optional parameters
1101
- # @return [ItemDigitalItemResponse]
1102
- def update_digital_item(digital_item_oid, digital_item, opts = {})
1103
- data, _status_code, _headers = update_digital_item_with_http_info(digital_item_oid, digital_item, opts)
1104
- data
1105
- end
1106
-
1107
- # Updates a file within the digital library
1108
- # Updates a file within the digital library. This does not update an item, but updates a digital file available and selectable as part (or all) of an item.
1109
- # @param digital_item_oid The digital item oid to update.
1110
- # @param digital_item Digital item to update
1111
- # @param [Hash] opts the optional parameters
1112
- # @return [Array<(ItemDigitalItemResponse, Fixnum, Hash)>] ItemDigitalItemResponse data, response status code and response headers
1113
- def update_digital_item_with_http_info(digital_item_oid, digital_item, opts = {})
1114
- if @api_client.config.debugging
1115
- @api_client.config.logger.debug 'Calling API: ItemApi.update_digital_item ...'
1116
- end
1117
- # verify the required parameter 'digital_item_oid' is set
1118
- if @api_client.config.client_side_validation && digital_item_oid.nil?
1119
- fail ArgumentError, "Missing the required parameter 'digital_item_oid' when calling ItemApi.update_digital_item"
1120
- end
1121
- # verify the required parameter 'digital_item' is set
1122
- if @api_client.config.client_side_validation && digital_item.nil?
1123
- fail ArgumentError, "Missing the required parameter 'digital_item' when calling ItemApi.update_digital_item"
1124
- end
1125
- # resource path
1126
- local_var_path = '/item/digital_library/{digital_item_oid}'.sub('{' + 'digital_item_oid' + '}', digital_item_oid.to_s)
1127
-
1128
- # query parameters
1129
- query_params = {}
1130
-
1131
- # header parameters
1132
- header_params = {}
1133
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1134
- # HTTP header 'Accept' (if needed)
1135
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1136
- # HTTP header 'Content-Type'
1137
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1138
-
1139
- # form parameters
1140
- form_params = {}
1141
-
1142
- # http body (model)
1143
- post_body = @api_client.object_to_http_body(digital_item)
1144
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1145
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1146
- :header_params => header_params,
1147
- :query_params => query_params,
1148
- :form_params => form_params,
1149
- :body => post_body,
1150
- :auth_names => auth_names,
1151
- :return_type => 'ItemDigitalItemResponse')
1152
- if @api_client.config.debugging
1153
- @api_client.config.logger.debug "API called: ItemApi#update_digital_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1154
- end
1155
- return data, status_code, headers
1156
- end
1157
- # Update an item
1158
- # Update a new item on the UltraCart account.
1159
- # @param item Item to update
1160
- # @param merchant_item_oid The item oid to update.
1161
- # @param [Hash] opts the optional parameters
1162
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1163
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
1164
- # @return [ItemResponse]
1165
- def update_item(item, merchant_item_oid, opts = {})
1166
- data, _status_code, _headers = update_item_with_http_info(item, merchant_item_oid, opts)
1167
- data
1168
- end
1169
-
1170
- # Update an item
1171
- # Update a new item on the UltraCart account.
1172
- # @param item Item to update
1173
- # @param merchant_item_oid The item oid to update.
1174
- # @param [Hash] opts the optional parameters
1175
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1176
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
1177
- # @return [Array<(ItemResponse, Fixnum, Hash)>] ItemResponse data, response status code and response headers
1178
- def update_item_with_http_info(item, merchant_item_oid, opts = {})
1179
- if @api_client.config.debugging
1180
- @api_client.config.logger.debug 'Calling API: ItemApi.update_item ...'
1181
- end
1182
- # verify the required parameter 'item' is set
1183
- if @api_client.config.client_side_validation && item.nil?
1184
- fail ArgumentError, "Missing the required parameter 'item' when calling ItemApi.update_item"
1185
- end
1186
- # verify the required parameter 'merchant_item_oid' is set
1187
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
1188
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.update_item"
1189
- end
1190
- # resource path
1191
- local_var_path = '/item/items/{merchant_item_oid}'.sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
1192
-
1193
- # query parameters
1194
- query_params = {}
1195
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
1196
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
1197
-
1198
- # header parameters
1199
- header_params = {}
1200
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1201
- # HTTP header 'Accept' (if needed)
1202
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1203
- # HTTP header 'Content-Type'
1204
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1205
-
1206
- # form parameters
1207
- form_params = {}
1208
-
1209
- # http body (model)
1210
- post_body = @api_client.object_to_http_body(item)
1211
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1212
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1213
- :header_params => header_params,
1214
- :query_params => query_params,
1215
- :form_params => form_params,
1216
- :body => post_body,
1217
- :auth_names => auth_names,
1218
- :return_type => 'ItemResponse')
1219
- if @api_client.config.debugging
1220
- @api_client.config.logger.debug "API called: ItemApi#update_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1221
- end
1222
- return data, status_code, headers
1223
- end
1224
- # Update multiple items
1225
- # Update multiple item on the UltraCart account.
1226
- # @param items_request Items to update (synchronous maximum 20 / asynchronous maximum 100)
1227
- # @param [Hash] opts the optional parameters
1228
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1229
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
1230
- # @option opts [BOOLEAN] :_async True if the operation should be run async. No result returned
1231
- # @return [ItemsResponse]
1232
- def update_items(items_request, opts = {})
1233
- data, _status_code, _headers = update_items_with_http_info(items_request, opts)
1234
- data
1235
- end
1236
-
1237
- # Update multiple items
1238
- # Update multiple item on the UltraCart account.
1239
- # @param items_request Items to update (synchronous maximum 20 / asynchronous maximum 100)
1240
- # @param [Hash] opts the optional parameters
1241
- # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
1242
- # @option opts [BOOLEAN] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
1243
- # @option opts [BOOLEAN] :_async True if the operation should be run async. No result returned
1244
- # @return [Array<(ItemsResponse, Fixnum, Hash)>] ItemsResponse data, response status code and response headers
1245
- def update_items_with_http_info(items_request, opts = {})
1246
- if @api_client.config.debugging
1247
- @api_client.config.logger.debug 'Calling API: ItemApi.update_items ...'
1248
- end
1249
- # verify the required parameter 'items_request' is set
1250
- if @api_client.config.client_side_validation && items_request.nil?
1251
- fail ArgumentError, "Missing the required parameter 'items_request' when calling ItemApi.update_items"
1252
- end
1253
- # resource path
1254
- local_var_path = '/item/items/batch'
1255
-
1256
- # query parameters
1257
- query_params = {}
1258
- query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
1259
- query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
1260
- query_params[:'_async'] = opts[:'_async'] if !opts[:'_async'].nil?
1261
-
1262
- # header parameters
1263
- header_params = {}
1264
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1265
- # HTTP header 'Accept' (if needed)
1266
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1267
- # HTTP header 'Content-Type'
1268
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1269
-
1270
- # form parameters
1271
- form_params = {}
1272
-
1273
- # http body (model)
1274
- post_body = @api_client.object_to_http_body(items_request)
1275
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1276
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1277
- :header_params => header_params,
1278
- :query_params => query_params,
1279
- :form_params => form_params,
1280
- :body => post_body,
1281
- :auth_names => auth_names,
1282
- :return_type => 'ItemsResponse')
1283
- if @api_client.config.debugging
1284
- @api_client.config.logger.debug "API called: ItemApi#update_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1285
- end
1286
- return data, status_code, headers
1287
- end
1288
- # Update a review
1289
- # Update an item review.
1290
- # @param review Review to update
1291
- # @param review_oid The review oid to update.
1292
- # @param merchant_item_oid The item oid the review is associated with.
1293
- # @param [Hash] opts the optional parameters
1294
- # @return [ItemReviewResponse]
1295
- def update_review(review, review_oid, merchant_item_oid, opts = {})
1296
- data, _status_code, _headers = update_review_with_http_info(review, review_oid, merchant_item_oid, opts)
1297
- data
1298
- end
1299
-
1300
- # Update a review
1301
- # Update an item review.
1302
- # @param review Review to update
1303
- # @param review_oid The review oid to update.
1304
- # @param merchant_item_oid The item oid the review is associated with.
1305
- # @param [Hash] opts the optional parameters
1306
- # @return [Array<(ItemReviewResponse, Fixnum, Hash)>] ItemReviewResponse data, response status code and response headers
1307
- def update_review_with_http_info(review, review_oid, merchant_item_oid, opts = {})
1308
- if @api_client.config.debugging
1309
- @api_client.config.logger.debug 'Calling API: ItemApi.update_review ...'
1310
- end
1311
- # verify the required parameter 'review' is set
1312
- if @api_client.config.client_side_validation && review.nil?
1313
- fail ArgumentError, "Missing the required parameter 'review' when calling ItemApi.update_review"
1314
- end
1315
- # verify the required parameter 'review_oid' is set
1316
- if @api_client.config.client_side_validation && review_oid.nil?
1317
- fail ArgumentError, "Missing the required parameter 'review_oid' when calling ItemApi.update_review"
1318
- end
1319
- # verify the required parameter 'merchant_item_oid' is set
1320
- if @api_client.config.client_side_validation && merchant_item_oid.nil?
1321
- fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.update_review"
1322
- end
1323
- # resource path
1324
- local_var_path = '/item/items/{merchant_item_oid}/reviews/{review_oid}'.sub('{' + 'review_oid' + '}', review_oid.to_s).sub('{' + 'merchant_item_oid' + '}', merchant_item_oid.to_s)
1325
-
1326
- # query parameters
1327
- query_params = {}
1328
-
1329
- # header parameters
1330
- header_params = {}
1331
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1332
- # HTTP header 'Accept' (if needed)
1333
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1334
- # HTTP header 'Content-Type'
1335
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
1336
-
1337
- # form parameters
1338
- form_params = {}
1339
-
1340
- # http body (model)
1341
- post_body = @api_client.object_to_http_body(review)
1342
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1343
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
1344
- :header_params => header_params,
1345
- :query_params => query_params,
1346
- :form_params => form_params,
1347
- :body => post_body,
1348
- :auth_names => auth_names,
1349
- :return_type => 'ItemReviewResponse')
1350
- if @api_client.config.debugging
1351
- @api_client.config.logger.debug "API called: ItemApi#update_review\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1352
- end
1353
- return data, status_code, headers
1354
- end
1355
- # Upload an image to the temporary multimedia.
1356
- # Uploads an image and returns back meta information about the image as well as the identifier needed for the item update.
1357
- # @param file File to upload
1358
- # @param [Hash] opts the optional parameters
1359
- # @return [TempMultimediaResponse]
1360
- def upload_temporary_multimedia(file, opts = {})
1361
- data, _status_code, _headers = upload_temporary_multimedia_with_http_info(file, opts)
1362
- data
1363
- end
1364
-
1365
- # Upload an image to the temporary multimedia.
1366
- # Uploads an image and returns back meta information about the image as well as the identifier needed for the item update.
1367
- # @param file File to upload
1368
- # @param [Hash] opts the optional parameters
1369
- # @return [Array<(TempMultimediaResponse, Fixnum, Hash)>] TempMultimediaResponse data, response status code and response headers
1370
- def upload_temporary_multimedia_with_http_info(file, opts = {})
1371
- if @api_client.config.debugging
1372
- @api_client.config.logger.debug 'Calling API: ItemApi.upload_temporary_multimedia ...'
1373
- end
1374
- # verify the required parameter 'file' is set
1375
- if @api_client.config.client_side_validation && file.nil?
1376
- fail ArgumentError, "Missing the required parameter 'file' when calling ItemApi.upload_temporary_multimedia"
1377
- end
1378
- # resource path
1379
- local_var_path = '/item/temp_multimedia'
1380
-
1381
- # query parameters
1382
- query_params = {}
1383
-
1384
- # header parameters
1385
- header_params = {}
1386
- header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
1387
- # HTTP header 'Accept' (if needed)
1388
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1389
- # HTTP header 'Content-Type'
1390
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
1391
-
1392
- # form parameters
1393
- form_params = {}
1394
- form_params['file'] = file
1395
-
1396
- # http body (model)
1397
- post_body = nil
1398
- auth_names = ['ultraCartOauth', 'ultraCartSimpleApiKey']
1399
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1400
- :header_params => header_params,
1401
- :query_params => query_params,
1402
- :form_params => form_params,
1403
- :body => post_body,
1404
- :auth_names => auth_names,
1405
- :return_type => 'TempMultimediaResponse')
1406
- if @api_client.config.debugging
1407
- @api_client.config.logger.debug "API called: ItemApi#upload_temporary_multimedia\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1408
- end
1409
- return data, status_code, headers
1410
- end
1411
- end
1412
- end
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ The version of the OpenAPI document: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.0.1-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'cgi'
14
+
15
+ module UltracartClient
16
+ class ItemApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ def self.new_using_api_key(simple_key, verify_ssl = true, debugging = false)
24
+ api_config = Configuration.new
25
+ api_config.api_key_prefix['x-ultracart-simple-key'] = simple_key
26
+ api_config.api_version = '2017-03-01'
27
+ api_config.verify_ssl = verify_ssl
28
+
29
+ api_client = ApiClient.new(api_config)
30
+ api_client.config.debugging = debugging
31
+
32
+ UltracartClient::ItemApi.new(api_client)
33
+ end
34
+
35
+ # Delete an item
36
+ # Delete an item on the UltraCart account.
37
+ # @param merchant_item_oid [Integer] The item oid to delete.
38
+ # @param [Hash] opts the optional parameters
39
+ # @return [nil]
40
+ def delete_item(merchant_item_oid, opts = {})
41
+ delete_item_with_http_info(merchant_item_oid, opts)
42
+ nil
43
+ end
44
+
45
+ # Delete an item
46
+ # Delete an item on the UltraCart account.
47
+ # @param merchant_item_oid [Integer] The item oid to delete.
48
+ # @param [Hash] opts the optional parameters
49
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
50
+ def delete_item_with_http_info(merchant_item_oid, opts = {})
51
+ if @api_client.config.debugging
52
+ @api_client.config.logger.debug 'Calling API: ItemApi.delete_item ...'
53
+ end
54
+ # verify the required parameter 'merchant_item_oid' is set
55
+ if @api_client.config.client_side_validation && merchant_item_oid.nil?
56
+ fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.delete_item"
57
+ end
58
+ # resource path
59
+ local_var_path = '/item/items/{merchant_item_oid}'.sub('{' + 'merchant_item_oid' + '}', CGI.escape(merchant_item_oid.to_s))
60
+
61
+ # query parameters
62
+ query_params = opts[:query_params] || {}
63
+
64
+ # header parameters
65
+ header_params = opts[:header_params] || {}
66
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
67
+ # HTTP header 'Accept' (if needed)
68
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
69
+
70
+ # form parameters
71
+ form_params = opts[:form_params] || {}
72
+
73
+ # http body (model)
74
+ post_body = opts[:debug_body]
75
+
76
+ # return_type
77
+ return_type = opts[:debug_return_type]
78
+
79
+ # auth_names
80
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
81
+
82
+ new_options = opts.merge(
83
+ :operation => :"ItemApi.delete_item",
84
+ :header_params => header_params,
85
+ :query_params => query_params,
86
+ :form_params => form_params,
87
+ :body => post_body,
88
+ :auth_names => auth_names,
89
+ :return_type => return_type
90
+ )
91
+
92
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
93
+ if @api_client.config.debugging
94
+ @api_client.config.logger.debug "API called: ItemApi#delete_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
95
+ end
96
+ return data, status_code, headers
97
+ end
98
+
99
+ # Retrieve an item
100
+ # Retrieves a single item using the specified item oid.
101
+ # @param merchant_item_oid [Integer] The item oid to retrieve.
102
+ # @param [Hash] opts the optional parameters
103
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
104
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
105
+ # @return [ItemResponse]
106
+ def get_item(merchant_item_oid, opts = {})
107
+ data, _status_code, _headers = get_item_with_http_info(merchant_item_oid, opts)
108
+ data
109
+ end
110
+
111
+ # Retrieve an item
112
+ # Retrieves a single item using the specified item oid.
113
+ # @param merchant_item_oid [Integer] The item oid to retrieve.
114
+ # @param [Hash] opts the optional parameters
115
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
116
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
117
+ # @return [Array<(ItemResponse, Integer, Hash)>] ItemResponse data, response status code and response headers
118
+ def get_item_with_http_info(merchant_item_oid, opts = {})
119
+ if @api_client.config.debugging
120
+ @api_client.config.logger.debug 'Calling API: ItemApi.get_item ...'
121
+ end
122
+ # verify the required parameter 'merchant_item_oid' is set
123
+ if @api_client.config.client_side_validation && merchant_item_oid.nil?
124
+ fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.get_item"
125
+ end
126
+ # resource path
127
+ local_var_path = '/item/items/{merchant_item_oid}'.sub('{' + 'merchant_item_oid' + '}', CGI.escape(merchant_item_oid.to_s))
128
+
129
+ # query parameters
130
+ query_params = opts[:query_params] || {}
131
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
132
+ query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
133
+
134
+ # header parameters
135
+ header_params = opts[:header_params] || {}
136
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
137
+ # HTTP header 'Accept' (if needed)
138
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
139
+
140
+ # form parameters
141
+ form_params = opts[:form_params] || {}
142
+
143
+ # http body (model)
144
+ post_body = opts[:debug_body]
145
+
146
+ # return_type
147
+ return_type = opts[:debug_return_type] || 'ItemResponse'
148
+
149
+ # auth_names
150
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
151
+
152
+ new_options = opts.merge(
153
+ :operation => :"ItemApi.get_item",
154
+ :header_params => header_params,
155
+ :query_params => query_params,
156
+ :form_params => form_params,
157
+ :body => post_body,
158
+ :auth_names => auth_names,
159
+ :return_type => return_type
160
+ )
161
+
162
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
163
+ if @api_client.config.debugging
164
+ @api_client.config.logger.debug "API called: ItemApi#get_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
165
+ end
166
+ return data, status_code, headers
167
+ end
168
+
169
+ # Retrieve an item by item id
170
+ # Retrieves a single item using the specified item id.
171
+ # @param merchant_item_id [String] The item id to retrieve.
172
+ # @param [Hash] opts the optional parameters
173
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
174
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
175
+ # @return [ItemResponse]
176
+ def get_item_by_merchant_item_id(merchant_item_id, opts = {})
177
+ data, _status_code, _headers = get_item_by_merchant_item_id_with_http_info(merchant_item_id, opts)
178
+ data
179
+ end
180
+
181
+ # Retrieve an item by item id
182
+ # Retrieves a single item using the specified item id.
183
+ # @param merchant_item_id [String] The item id to retrieve.
184
+ # @param [Hash] opts the optional parameters
185
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
186
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
187
+ # @return [Array<(ItemResponse, Integer, Hash)>] ItemResponse data, response status code and response headers
188
+ def get_item_by_merchant_item_id_with_http_info(merchant_item_id, opts = {})
189
+ if @api_client.config.debugging
190
+ @api_client.config.logger.debug 'Calling API: ItemApi.get_item_by_merchant_item_id ...'
191
+ end
192
+ # verify the required parameter 'merchant_item_id' is set
193
+ if @api_client.config.client_side_validation && merchant_item_id.nil?
194
+ fail ArgumentError, "Missing the required parameter 'merchant_item_id' when calling ItemApi.get_item_by_merchant_item_id"
195
+ end
196
+ # resource path
197
+ local_var_path = '/item/items/merchant_item_id/{merchant_item_id}'.sub('{' + 'merchant_item_id' + '}', CGI.escape(merchant_item_id.to_s))
198
+
199
+ # query parameters
200
+ query_params = opts[:query_params] || {}
201
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
202
+ query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
203
+
204
+ # header parameters
205
+ header_params = opts[:header_params] || {}
206
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
207
+ # HTTP header 'Accept' (if needed)
208
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
209
+
210
+ # form parameters
211
+ form_params = opts[:form_params] || {}
212
+
213
+ # http body (model)
214
+ post_body = opts[:debug_body]
215
+
216
+ # return_type
217
+ return_type = opts[:debug_return_type] || 'ItemResponse'
218
+
219
+ # auth_names
220
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
221
+
222
+ new_options = opts.merge(
223
+ :operation => :"ItemApi.get_item_by_merchant_item_id",
224
+ :header_params => header_params,
225
+ :query_params => query_params,
226
+ :form_params => form_params,
227
+ :body => post_body,
228
+ :auth_names => auth_names,
229
+ :return_type => return_type
230
+ )
231
+
232
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
233
+ if @api_client.config.debugging
234
+ @api_client.config.logger.debug "API called: ItemApi#get_item_by_merchant_item_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
235
+ end
236
+ return data, status_code, headers
237
+ end
238
+
239
+ # Retrieve items
240
+ # Retrieves a group of items from the account. If no parameters are specified, all items will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
241
+ # @param [Hash] opts the optional parameters
242
+ # @option opts [Integer] :parent_category_id The parent category object id to retrieve items for. Unspecified means all items on the account. 0 &#x3D; root
243
+ # @option opts [String] :parent_category_path The parent category path to retrieve items for. Unspecified means all items on the account. / &#x3D; root
244
+ # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
245
+ # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
246
+ # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
247
+ # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
248
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
249
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
250
+ # @return [ItemsResponse]
251
+ def get_items(opts = {})
252
+ data, _status_code, _headers = get_items_with_http_info(opts)
253
+ data
254
+ end
255
+
256
+ # Retrieve items
257
+ # Retrieves a group of items from the account. If no parameters are specified, all items will be returned. You will need to make multiple API calls in order to retrieve the entire result set since this API performs result set pagination.
258
+ # @param [Hash] opts the optional parameters
259
+ # @option opts [Integer] :parent_category_id The parent category object id to retrieve items for. Unspecified means all items on the account. 0 &#x3D; root
260
+ # @option opts [String] :parent_category_path The parent category path to retrieve items for. Unspecified means all items on the account. / &#x3D; root
261
+ # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Default 100, Max 2000) (default to 100)
262
+ # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
263
+ # @option opts [String] :_since Fetch items that have been created/modified since this date/time.
264
+ # @option opts [String] :_sort The sort order of the items. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
265
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
266
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
267
+ # @return [Array<(ItemsResponse, Integer, Hash)>] ItemsResponse data, response status code and response headers
268
+ def get_items_with_http_info(opts = {})
269
+ if @api_client.config.debugging
270
+ @api_client.config.logger.debug 'Calling API: ItemApi.get_items ...'
271
+ end
272
+ # resource path
273
+ local_var_path = '/item/items'
274
+
275
+ # query parameters
276
+ query_params = opts[:query_params] || {}
277
+ query_params[:'parent_category_id'] = opts[:'parent_category_id'] if !opts[:'parent_category_id'].nil?
278
+ query_params[:'parent_category_path'] = opts[:'parent_category_path'] if !opts[:'parent_category_path'].nil?
279
+ query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
280
+ query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
281
+ query_params[:'_since'] = opts[:'_since'] if !opts[:'_since'].nil?
282
+ query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
283
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
284
+ query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
285
+
286
+ # header parameters
287
+ header_params = opts[:header_params] || {}
288
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
289
+ # HTTP header 'Accept' (if needed)
290
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
291
+
292
+ # form parameters
293
+ form_params = opts[:form_params] || {}
294
+
295
+ # http body (model)
296
+ post_body = opts[:debug_body]
297
+
298
+ # return_type
299
+ return_type = opts[:debug_return_type] || 'ItemsResponse'
300
+
301
+ # auth_names
302
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
303
+
304
+ new_options = opts.merge(
305
+ :operation => :"ItemApi.get_items",
306
+ :header_params => header_params,
307
+ :query_params => query_params,
308
+ :form_params => form_params,
309
+ :body => post_body,
310
+ :auth_names => auth_names,
311
+ :return_type => return_type
312
+ )
313
+
314
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
315
+ if @api_client.config.debugging
316
+ @api_client.config.logger.debug "API called: ItemApi#get_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
317
+ end
318
+ return data, status_code, headers
319
+ end
320
+
321
+ # Retrieve pricing tiers
322
+ # Retrieves the pricing tiers
323
+ # @param [Hash] opts the optional parameters
324
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
325
+ # @return [PricingTiersResponse]
326
+ def get_pricing_tiers(opts = {})
327
+ data, _status_code, _headers = get_pricing_tiers_with_http_info(opts)
328
+ data
329
+ end
330
+
331
+ # Retrieve pricing tiers
332
+ # Retrieves the pricing tiers
333
+ # @param [Hash] opts the optional parameters
334
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
335
+ # @return [Array<(PricingTiersResponse, Integer, Hash)>] PricingTiersResponse data, response status code and response headers
336
+ def get_pricing_tiers_with_http_info(opts = {})
337
+ if @api_client.config.debugging
338
+ @api_client.config.logger.debug 'Calling API: ItemApi.get_pricing_tiers ...'
339
+ end
340
+ # resource path
341
+ local_var_path = '/item/pricing_tiers'
342
+
343
+ # query parameters
344
+ query_params = opts[:query_params] || {}
345
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
346
+
347
+ # header parameters
348
+ header_params = opts[:header_params] || {}
349
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
350
+ # HTTP header 'Accept' (if needed)
351
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
352
+
353
+ # form parameters
354
+ form_params = opts[:form_params] || {}
355
+
356
+ # http body (model)
357
+ post_body = opts[:debug_body]
358
+
359
+ # return_type
360
+ return_type = opts[:debug_return_type] || 'PricingTiersResponse'
361
+
362
+ # auth_names
363
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
364
+
365
+ new_options = opts.merge(
366
+ :operation => :"ItemApi.get_pricing_tiers",
367
+ :header_params => header_params,
368
+ :query_params => query_params,
369
+ :form_params => form_params,
370
+ :body => post_body,
371
+ :auth_names => auth_names,
372
+ :return_type => return_type
373
+ )
374
+
375
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
376
+ if @api_client.config.debugging
377
+ @api_client.config.logger.debug "API called: ItemApi#get_pricing_tiers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
+ end
379
+ return data, status_code, headers
380
+ end
381
+
382
+ # Create an item
383
+ # Create a new item on the UltraCart account.
384
+ # @param item [Item] Item to create
385
+ # @param [Hash] opts the optional parameters
386
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
387
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
388
+ # @return [ItemResponse]
389
+ def insert_item(item, opts = {})
390
+ data, _status_code, _headers = insert_item_with_http_info(item, opts)
391
+ data
392
+ end
393
+
394
+ # Create an item
395
+ # Create a new item on the UltraCart account.
396
+ # @param item [Item] Item to create
397
+ # @param [Hash] opts the optional parameters
398
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
399
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
400
+ # @return [Array<(ItemResponse, Integer, Hash)>] ItemResponse data, response status code and response headers
401
+ def insert_item_with_http_info(item, opts = {})
402
+ if @api_client.config.debugging
403
+ @api_client.config.logger.debug 'Calling API: ItemApi.insert_item ...'
404
+ end
405
+ # verify the required parameter 'item' is set
406
+ if @api_client.config.client_side_validation && item.nil?
407
+ fail ArgumentError, "Missing the required parameter 'item' when calling ItemApi.insert_item"
408
+ end
409
+ # resource path
410
+ local_var_path = '/item/items'
411
+
412
+ # query parameters
413
+ query_params = opts[:query_params] || {}
414
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
415
+ query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
416
+
417
+ # header parameters
418
+ header_params = opts[:header_params] || {}
419
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
420
+ # HTTP header 'Accept' (if needed)
421
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
422
+ # HTTP header 'Content-Type'
423
+ content_type = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
424
+ if !content_type.nil?
425
+ header_params['Content-Type'] = content_type
426
+ end
427
+
428
+ # form parameters
429
+ form_params = opts[:form_params] || {}
430
+
431
+ # http body (model)
432
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(item)
433
+
434
+ # return_type
435
+ return_type = opts[:debug_return_type] || 'ItemResponse'
436
+
437
+ # auth_names
438
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
439
+
440
+ new_options = opts.merge(
441
+ :operation => :"ItemApi.insert_item",
442
+ :header_params => header_params,
443
+ :query_params => query_params,
444
+ :form_params => form_params,
445
+ :body => post_body,
446
+ :auth_names => auth_names,
447
+ :return_type => return_type
448
+ )
449
+
450
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
451
+ if @api_client.config.debugging
452
+ @api_client.config.logger.debug "API called: ItemApi#insert_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
453
+ end
454
+ return data, status_code, headers
455
+ end
456
+
457
+ # Update an item
458
+ # Update a new item on the UltraCart account.
459
+ # @param merchant_item_oid [Integer] The item oid to update.
460
+ # @param item [Item] Item to update
461
+ # @param [Hash] opts the optional parameters
462
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
463
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
464
+ # @return [ItemResponse]
465
+ def update_item(merchant_item_oid, item, opts = {})
466
+ data, _status_code, _headers = update_item_with_http_info(merchant_item_oid, item, opts)
467
+ data
468
+ end
469
+
470
+ # Update an item
471
+ # Update a new item on the UltraCart account.
472
+ # @param merchant_item_oid [Integer] The item oid to update.
473
+ # @param item [Item] Item to update
474
+ # @param [Hash] opts the optional parameters
475
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
476
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
477
+ # @return [Array<(ItemResponse, Integer, Hash)>] ItemResponse data, response status code and response headers
478
+ def update_item_with_http_info(merchant_item_oid, item, opts = {})
479
+ if @api_client.config.debugging
480
+ @api_client.config.logger.debug 'Calling API: ItemApi.update_item ...'
481
+ end
482
+ # verify the required parameter 'merchant_item_oid' is set
483
+ if @api_client.config.client_side_validation && merchant_item_oid.nil?
484
+ fail ArgumentError, "Missing the required parameter 'merchant_item_oid' when calling ItemApi.update_item"
485
+ end
486
+ # verify the required parameter 'item' is set
487
+ if @api_client.config.client_side_validation && item.nil?
488
+ fail ArgumentError, "Missing the required parameter 'item' when calling ItemApi.update_item"
489
+ end
490
+ # resource path
491
+ local_var_path = '/item/items/{merchant_item_oid}'.sub('{' + 'merchant_item_oid' + '}', CGI.escape(merchant_item_oid.to_s))
492
+
493
+ # query parameters
494
+ query_params = opts[:query_params] || {}
495
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
496
+ query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
497
+
498
+ # header parameters
499
+ header_params = opts[:header_params] || {}
500
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
501
+ # HTTP header 'Accept' (if needed)
502
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
503
+ # HTTP header 'Content-Type'
504
+ content_type = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
505
+ if !content_type.nil?
506
+ header_params['Content-Type'] = content_type
507
+ end
508
+
509
+ # form parameters
510
+ form_params = opts[:form_params] || {}
511
+
512
+ # http body (model)
513
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(item)
514
+
515
+ # return_type
516
+ return_type = opts[:debug_return_type] || 'ItemResponse'
517
+
518
+ # auth_names
519
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
520
+
521
+ new_options = opts.merge(
522
+ :operation => :"ItemApi.update_item",
523
+ :header_params => header_params,
524
+ :query_params => query_params,
525
+ :form_params => form_params,
526
+ :body => post_body,
527
+ :auth_names => auth_names,
528
+ :return_type => return_type
529
+ )
530
+
531
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
532
+ if @api_client.config.debugging
533
+ @api_client.config.logger.debug "API called: ItemApi#update_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
534
+ end
535
+ return data, status_code, headers
536
+ end
537
+
538
+ # Update multiple items
539
+ # Update multiple item on the UltraCart account.
540
+ # @param items_request [ItemsRequest] Items to update (synchronous maximum 20 / asynchronous maximum 100)
541
+ # @param [Hash] opts the optional parameters
542
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
543
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
544
+ # @option opts [Boolean] :_async True if the operation should be run async. No result returned
545
+ # @return [ItemsResponse]
546
+ def update_items(items_request, opts = {})
547
+ data, _status_code, _headers = update_items_with_http_info(items_request, opts)
548
+ data
549
+ end
550
+
551
+ # Update multiple items
552
+ # Update multiple item on the UltraCart account.
553
+ # @param items_request [ItemsRequest] Items to update (synchronous maximum 20 / asynchronous maximum 100)
554
+ # @param [Hash] opts the optional parameters
555
+ # @option opts [String] :_expand The object expansion to perform on the result. See documentation for examples
556
+ # @option opts [Boolean] :_placeholders Whether or not placeholder values should be returned in the result. Useful for UIs that consume this REST API.
557
+ # @option opts [Boolean] :_async True if the operation should be run async. No result returned
558
+ # @return [Array<(ItemsResponse, Integer, Hash)>] ItemsResponse data, response status code and response headers
559
+ def update_items_with_http_info(items_request, opts = {})
560
+ if @api_client.config.debugging
561
+ @api_client.config.logger.debug 'Calling API: ItemApi.update_items ...'
562
+ end
563
+ # verify the required parameter 'items_request' is set
564
+ if @api_client.config.client_side_validation && items_request.nil?
565
+ fail ArgumentError, "Missing the required parameter 'items_request' when calling ItemApi.update_items"
566
+ end
567
+ # resource path
568
+ local_var_path = '/item/items/batch'
569
+
570
+ # query parameters
571
+ query_params = opts[:query_params] || {}
572
+ query_params[:'_expand'] = opts[:'_expand'] if !opts[:'_expand'].nil?
573
+ query_params[:'_placeholders'] = opts[:'_placeholders'] if !opts[:'_placeholders'].nil?
574
+ query_params[:'_async'] = opts[:'_async'] if !opts[:'_async'].nil?
575
+
576
+ # header parameters
577
+ header_params = opts[:header_params] || {}
578
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
579
+ # HTTP header 'Accept' (if needed)
580
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
581
+ # HTTP header 'Content-Type'
582
+ content_type = @api_client.select_header_content_type(['application/json; charset=UTF-8'])
583
+ if !content_type.nil?
584
+ header_params['Content-Type'] = content_type
585
+ end
586
+
587
+ # form parameters
588
+ form_params = opts[:form_params] || {}
589
+
590
+ # http body (model)
591
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(items_request)
592
+
593
+ # return_type
594
+ return_type = opts[:debug_return_type] || 'ItemsResponse'
595
+
596
+ # auth_names
597
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
598
+
599
+ new_options = opts.merge(
600
+ :operation => :"ItemApi.update_items",
601
+ :header_params => header_params,
602
+ :query_params => query_params,
603
+ :form_params => form_params,
604
+ :body => post_body,
605
+ :auth_names => auth_names,
606
+ :return_type => return_type
607
+ )
608
+
609
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
610
+ if @api_client.config.debugging
611
+ @api_client.config.logger.debug "API called: ItemApi#update_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
612
+ end
613
+ return data, status_code, headers
614
+ end
615
+
616
+ # Upload an image to the temporary multimedia.
617
+ # Uploads an image and returns back meta information about the image as well as the identifier needed for the item update.
618
+ # @param file [File] File to upload
619
+ # @param [Hash] opts the optional parameters
620
+ # @return [TempMultimediaResponse]
621
+ def upload_temporary_multimedia(file, opts = {})
622
+ data, _status_code, _headers = upload_temporary_multimedia_with_http_info(file, opts)
623
+ data
624
+ end
625
+
626
+ # Upload an image to the temporary multimedia.
627
+ # Uploads an image and returns back meta information about the image as well as the identifier needed for the item update.
628
+ # @param file [File] File to upload
629
+ # @param [Hash] opts the optional parameters
630
+ # @return [Array<(TempMultimediaResponse, Integer, Hash)>] TempMultimediaResponse data, response status code and response headers
631
+ def upload_temporary_multimedia_with_http_info(file, opts = {})
632
+ if @api_client.config.debugging
633
+ @api_client.config.logger.debug 'Calling API: ItemApi.upload_temporary_multimedia ...'
634
+ end
635
+ # verify the required parameter 'file' is set
636
+ if @api_client.config.client_side_validation && file.nil?
637
+ fail ArgumentError, "Missing the required parameter 'file' when calling ItemApi.upload_temporary_multimedia"
638
+ end
639
+ # resource path
640
+ local_var_path = '/item/temp_multimedia'
641
+
642
+ # query parameters
643
+ query_params = opts[:query_params] || {}
644
+
645
+ # header parameters
646
+ header_params = opts[:header_params] || {}
647
+ header_params['X-UltraCart-Api-Version'] = @api_client.select_header_api_version()
648
+ # HTTP header 'Accept' (if needed)
649
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
650
+ # HTTP header 'Content-Type'
651
+ content_type = @api_client.select_header_content_type(['multipart/form-data'])
652
+ if !content_type.nil?
653
+ header_params['Content-Type'] = content_type
654
+ end
655
+
656
+ # form parameters
657
+ form_params = opts[:form_params] || {}
658
+ form_params['file'] = file
659
+
660
+ # http body (model)
661
+ post_body = opts[:debug_body]
662
+
663
+ # return_type
664
+ return_type = opts[:debug_return_type] || 'TempMultimediaResponse'
665
+
666
+ # auth_names
667
+ auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
668
+
669
+ new_options = opts.merge(
670
+ :operation => :"ItemApi.upload_temporary_multimedia",
671
+ :header_params => header_params,
672
+ :query_params => query_params,
673
+ :form_params => form_params,
674
+ :body => post_body,
675
+ :auth_names => auth_names,
676
+ :return_type => return_type
677
+ )
678
+
679
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
680
+ if @api_client.config.debugging
681
+ @api_client.config.logger.debug "API called: ItemApi#upload_temporary_multimedia\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
682
+ end
683
+ return data, status_code, headers
684
+ end
685
+ end
686
+ end