@shopify/shopify-api 3.1.3 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (355) hide show
  1. package/CHANGELOG.md +78 -53
  2. package/dist/auth/session/session_storage.d.ts +12 -0
  3. package/dist/auth/session/session_storage.d.ts.map +1 -1
  4. package/dist/auth/session/storage/__tests__/battery-of-tests.d.ts.map +1 -1
  5. package/dist/auth/session/storage/__tests__/battery-of-tests.js +124 -0
  6. package/dist/auth/session/storage/__tests__/session-test-utils.d.ts +3 -0
  7. package/dist/auth/session/storage/__tests__/session-test-utils.d.ts.map +1 -0
  8. package/dist/auth/session/storage/__tests__/session-test-utils.js +46 -0
  9. package/dist/auth/session/storage/custom.d.ts +5 -1
  10. package/dist/auth/session/storage/custom.d.ts.map +1 -1
  11. package/dist/auth/session/storage/custom.js +56 -1
  12. package/dist/auth/session/storage/memory.d.ts +2 -0
  13. package/dist/auth/session/storage/memory.d.ts.map +1 -1
  14. package/dist/auth/session/storage/memory.js +18 -0
  15. package/dist/auth/session/storage/mongodb.d.ts +2 -0
  16. package/dist/auth/session/storage/mongodb.d.ts.map +1 -1
  17. package/dist/auth/session/storage/mongodb.js +39 -6
  18. package/dist/auth/session/storage/mysql.d.ts +2 -0
  19. package/dist/auth/session/storage/mysql.d.ts.map +1 -1
  20. package/dist/auth/session/storage/mysql.js +39 -0
  21. package/dist/auth/session/storage/postgresql.d.ts +2 -0
  22. package/dist/auth/session/storage/postgresql.d.ts.map +1 -1
  23. package/dist/auth/session/storage/postgresql.js +43 -4
  24. package/dist/auth/session/storage/redis.d.ts +2 -0
  25. package/dist/auth/session/storage/redis.d.ts.map +1 -1
  26. package/dist/auth/session/storage/redis.js +65 -0
  27. package/dist/auth/session/storage/sqlite.d.ts +2 -0
  28. package/dist/auth/session/storage/sqlite.d.ts.map +1 -1
  29. package/dist/auth/session/storage/sqlite.js +39 -0
  30. package/dist/base-types.d.ts +2 -1
  31. package/dist/base-types.d.ts.map +1 -1
  32. package/dist/base-types.js +3 -2
  33. package/dist/clients/http_client/http_client.d.ts.map +1 -1
  34. package/dist/clients/http_client/http_client.js +4 -0
  35. package/dist/error.d.ts +2 -0
  36. package/dist/error.d.ts.map +1 -1
  37. package/dist/error.js +9 -1
  38. package/dist/index.d.ts +1 -0
  39. package/dist/index.d.ts.map +1 -1
  40. package/dist/rest-resources/{2021-07 → 2022-07}/abandoned_checkout.d.ts +3 -0
  41. package/dist/rest-resources/2022-07/abandoned_checkout.d.ts.map +1 -0
  42. package/dist/rest-resources/{2021-07 → 2022-07}/abandoned_checkout.js +4 -1
  43. package/dist/rest-resources/{2021-07 → 2022-07}/access_scope.d.ts +3 -0
  44. package/dist/rest-resources/2022-07/access_scope.d.ts.map +1 -0
  45. package/dist/rest-resources/{2021-07 → 2022-07}/access_scope.js +4 -1
  46. package/dist/rest-resources/{2021-07 → 2022-07}/android_pay_key.d.ts +3 -0
  47. package/dist/rest-resources/2022-07/android_pay_key.d.ts.map +1 -0
  48. package/dist/rest-resources/{2021-07 → 2022-07}/android_pay_key.js +4 -1
  49. package/dist/rest-resources/{2021-07 → 2022-07}/apple_pay_certificate.d.ts +3 -0
  50. package/dist/rest-resources/2022-07/apple_pay_certificate.d.ts.map +1 -0
  51. package/dist/rest-resources/{2021-07 → 2022-07}/apple_pay_certificate.js +4 -1
  52. package/dist/rest-resources/{2021-07 → 2022-07}/application_charge.d.ts +3 -0
  53. package/dist/rest-resources/2022-07/application_charge.d.ts.map +1 -0
  54. package/dist/rest-resources/{2021-07 → 2022-07}/application_charge.js +4 -1
  55. package/dist/rest-resources/{2021-07 → 2022-07}/application_credit.d.ts +3 -0
  56. package/dist/rest-resources/2022-07/application_credit.d.ts.map +1 -0
  57. package/dist/rest-resources/{2021-07 → 2022-07}/application_credit.js +4 -1
  58. package/dist/rest-resources/{2021-07 → 2022-07}/article.d.ts +3 -0
  59. package/dist/rest-resources/2022-07/article.d.ts.map +1 -0
  60. package/dist/rest-resources/{2021-07 → 2022-07}/article.js +4 -1
  61. package/dist/rest-resources/{2021-07 → 2022-07}/asset.d.ts +3 -0
  62. package/dist/rest-resources/2022-07/asset.d.ts.map +1 -0
  63. package/dist/rest-resources/{2021-07 → 2022-07}/asset.js +4 -1
  64. package/dist/rest-resources/{2021-07 → 2022-07}/assigned_fulfillment_order.d.ts +3 -0
  65. package/dist/rest-resources/2022-07/assigned_fulfillment_order.d.ts.map +1 -0
  66. package/dist/rest-resources/{2021-07 → 2022-07}/assigned_fulfillment_order.js +4 -1
  67. package/dist/rest-resources/{2021-07 → 2022-07}/balance.d.ts +3 -0
  68. package/dist/rest-resources/2022-07/balance.d.ts.map +1 -0
  69. package/dist/rest-resources/{2021-07 → 2022-07}/balance.js +4 -1
  70. package/dist/rest-resources/{2021-07 → 2022-07}/blog.d.ts +3 -0
  71. package/dist/rest-resources/2022-07/blog.d.ts.map +1 -0
  72. package/dist/rest-resources/{2021-07 → 2022-07}/blog.js +4 -1
  73. package/dist/rest-resources/{2021-07 → 2022-07}/cancellation_request.d.ts +3 -0
  74. package/dist/rest-resources/2022-07/cancellation_request.d.ts.map +1 -0
  75. package/dist/rest-resources/{2021-07 → 2022-07}/cancellation_request.js +4 -1
  76. package/dist/rest-resources/{2021-07 → 2022-07}/carrier_service.d.ts +3 -1
  77. package/dist/rest-resources/2022-07/carrier_service.d.ts.map +1 -0
  78. package/dist/rest-resources/{2021-07 → 2022-07}/carrier_service.js +4 -1
  79. package/dist/rest-resources/{2021-07 → 2022-07}/checkout.d.ts +3 -0
  80. package/dist/rest-resources/2022-07/checkout.d.ts.map +1 -0
  81. package/dist/rest-resources/{2021-07 → 2022-07}/checkout.js +4 -1
  82. package/dist/rest-resources/{2021-07 → 2022-07}/collect.d.ts +3 -0
  83. package/dist/rest-resources/2022-07/collect.d.ts.map +1 -0
  84. package/dist/rest-resources/{2021-07 → 2022-07}/collect.js +4 -1
  85. package/dist/rest-resources/{2021-07 → 2022-07}/collection.d.ts +3 -0
  86. package/dist/rest-resources/2022-07/collection.d.ts.map +1 -0
  87. package/dist/rest-resources/{2021-07 → 2022-07}/collection.js +4 -1
  88. package/dist/rest-resources/{2021-07 → 2022-07}/collection_listing.d.ts +3 -0
  89. package/dist/rest-resources/2022-07/collection_listing.d.ts.map +1 -0
  90. package/dist/rest-resources/{2021-07 → 2022-07}/collection_listing.js +4 -1
  91. package/dist/rest-resources/{2021-07 → 2022-07}/comment.d.ts +3 -0
  92. package/dist/rest-resources/2022-07/comment.d.ts.map +1 -0
  93. package/dist/rest-resources/{2021-07 → 2022-07}/comment.js +4 -1
  94. package/dist/rest-resources/{2021-07 → 2022-07}/country.d.ts +3 -0
  95. package/dist/rest-resources/2022-07/country.d.ts.map +1 -0
  96. package/dist/rest-resources/{2021-07 → 2022-07}/country.js +4 -1
  97. package/dist/rest-resources/{2021-07 → 2022-07}/currency.d.ts +3 -0
  98. package/dist/rest-resources/2022-07/currency.d.ts.map +1 -0
  99. package/dist/rest-resources/{2021-07 → 2022-07}/currency.js +4 -1
  100. package/dist/rest-resources/{2021-07 → 2022-07}/custom_collection.d.ts +3 -0
  101. package/dist/rest-resources/2022-07/custom_collection.d.ts.map +1 -0
  102. package/dist/rest-resources/{2021-07 → 2022-07}/custom_collection.js +4 -1
  103. package/dist/rest-resources/{2021-07 → 2022-07}/customer.d.ts +11 -0
  104. package/dist/rest-resources/2022-07/customer.d.ts.map +1 -0
  105. package/dist/rest-resources/{2021-07 → 2022-07}/customer.js +4 -1
  106. package/dist/rest-resources/{2021-07 → 2022-07}/customer_address.d.ts +3 -0
  107. package/dist/rest-resources/2022-07/customer_address.d.ts.map +1 -0
  108. package/dist/rest-resources/{2021-07 → 2022-07}/customer_address.js +4 -1
  109. package/dist/rest-resources/{2021-07 → 2022-07}/customer_saved_search.d.ts +3 -0
  110. package/dist/rest-resources/2022-07/customer_saved_search.d.ts.map +1 -0
  111. package/dist/rest-resources/{2021-07 → 2022-07}/customer_saved_search.js +4 -1
  112. package/dist/rest-resources/{2021-07 → 2022-07}/deprecated_api_call.d.ts +3 -0
  113. package/dist/rest-resources/2022-07/deprecated_api_call.d.ts.map +1 -0
  114. package/dist/rest-resources/{2021-07 → 2022-07}/deprecated_api_call.js +4 -1
  115. package/dist/rest-resources/{2021-07 → 2022-07}/discount_code.d.ts +3 -0
  116. package/dist/rest-resources/2022-07/discount_code.d.ts.map +1 -0
  117. package/dist/rest-resources/{2021-07 → 2022-07}/discount_code.js +4 -1
  118. package/dist/rest-resources/{2021-07 → 2022-07}/dispute.d.ts +3 -0
  119. package/dist/rest-resources/2022-07/dispute.d.ts.map +1 -0
  120. package/dist/rest-resources/{2021-07 → 2022-07}/dispute.js +4 -1
  121. package/dist/rest-resources/2022-07/dispute_evidence.d.ts +56 -0
  122. package/dist/rest-resources/2022-07/dispute_evidence.d.ts.map +1 -0
  123. package/dist/rest-resources/2022-07/dispute_evidence.js +48 -0
  124. package/dist/rest-resources/2022-07/dispute_file_upload.d.ts +35 -0
  125. package/dist/rest-resources/2022-07/dispute_file_upload.d.ts.map +1 -0
  126. package/dist/rest-resources/2022-07/dispute_file_upload.js +46 -0
  127. package/dist/rest-resources/{2021-07 → 2022-07}/draft_order.d.ts +8 -1
  128. package/dist/rest-resources/2022-07/draft_order.d.ts.map +1 -0
  129. package/dist/rest-resources/{2021-07 → 2022-07}/draft_order.js +9 -6
  130. package/dist/rest-resources/{2021-07 → 2022-07}/event.d.ts +3 -0
  131. package/dist/rest-resources/2022-07/event.d.ts.map +1 -0
  132. package/dist/rest-resources/{2021-07 → 2022-07}/event.js +4 -1
  133. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment.d.ts +13 -0
  134. package/dist/rest-resources/2022-07/fulfillment.d.ts.map +1 -0
  135. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment.js +28 -1
  136. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_event.d.ts +3 -0
  137. package/dist/rest-resources/2022-07/fulfillment_event.d.ts.map +1 -0
  138. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_event.js +4 -1
  139. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_order.d.ts +33 -0
  140. package/dist/rest-resources/2022-07/fulfillment_order.d.ts.map +1 -0
  141. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_order.js +74 -2
  142. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_request.d.ts +6 -1
  143. package/dist/rest-resources/2022-07/fulfillment_request.d.ts.map +1 -0
  144. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_request.js +9 -6
  145. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_service.d.ts +4 -1
  146. package/dist/rest-resources/2022-07/fulfillment_service.d.ts.map +1 -0
  147. package/dist/rest-resources/{2021-07 → 2022-07}/fulfillment_service.js +4 -1
  148. package/dist/rest-resources/{2021-07 → 2022-07}/gift_card.d.ts +3 -0
  149. package/dist/rest-resources/2022-07/gift_card.d.ts.map +1 -0
  150. package/dist/rest-resources/{2021-07 → 2022-07}/gift_card.js +4 -1
  151. package/dist/rest-resources/{2021-07 → 2022-07}/gift_card_adjustment.d.ts +3 -0
  152. package/dist/rest-resources/2022-07/gift_card_adjustment.d.ts.map +1 -0
  153. package/dist/rest-resources/{2021-07 → 2022-07}/gift_card_adjustment.js +4 -1
  154. package/dist/rest-resources/{2021-07 → 2022-07}/image.d.ts +3 -0
  155. package/dist/rest-resources/2022-07/image.d.ts.map +1 -0
  156. package/dist/rest-resources/{2021-07 → 2022-07}/image.js +4 -1
  157. package/dist/rest-resources/{2021-07 → 2022-07}/index.d.ts +2 -0
  158. package/dist/rest-resources/2022-07/index.d.ts.map +1 -0
  159. package/dist/rest-resources/{2021-07 → 2022-07}/index.js +6 -2
  160. package/dist/rest-resources/{2021-07 → 2022-07}/inventory_item.d.ts +3 -0
  161. package/dist/rest-resources/2022-07/inventory_item.d.ts.map +1 -0
  162. package/dist/rest-resources/{2021-07 → 2022-07}/inventory_item.js +4 -1
  163. package/dist/rest-resources/{2021-07 → 2022-07}/inventory_level.d.ts +3 -0
  164. package/dist/rest-resources/2022-07/inventory_level.d.ts.map +1 -0
  165. package/dist/rest-resources/{2021-07 → 2022-07}/inventory_level.js +4 -1
  166. package/dist/rest-resources/{2021-07 → 2022-07}/location.d.ts +3 -0
  167. package/dist/rest-resources/2022-07/location.d.ts.map +1 -0
  168. package/dist/rest-resources/{2021-07 → 2022-07}/location.js +4 -1
  169. package/dist/rest-resources/{2021-07 → 2022-07}/locations_for_move.d.ts +3 -0
  170. package/dist/rest-resources/2022-07/locations_for_move.d.ts.map +1 -0
  171. package/dist/rest-resources/{2021-07 → 2022-07}/locations_for_move.js +4 -1
  172. package/dist/rest-resources/{2021-07 → 2022-07}/marketing_event.d.ts +3 -0
  173. package/dist/rest-resources/2022-07/marketing_event.d.ts.map +1 -0
  174. package/dist/rest-resources/{2021-07 → 2022-07}/marketing_event.js +4 -1
  175. package/dist/rest-resources/{2021-07 → 2022-07}/metafield.d.ts +3 -0
  176. package/dist/rest-resources/2022-07/metafield.d.ts.map +1 -0
  177. package/dist/rest-resources/{2021-07 → 2022-07}/metafield.js +4 -1
  178. package/dist/rest-resources/{2021-07 → 2022-07}/mobile_platform_application.d.ts +3 -0
  179. package/dist/rest-resources/2022-07/mobile_platform_application.d.ts.map +1 -0
  180. package/dist/rest-resources/{2021-07 → 2022-07}/mobile_platform_application.js +4 -1
  181. package/dist/rest-resources/{2021-07 → 2022-07}/order.d.ts +6 -0
  182. package/dist/rest-resources/2022-07/order.d.ts.map +1 -0
  183. package/dist/rest-resources/{2021-07 → 2022-07}/order.js +4 -1
  184. package/dist/rest-resources/{2021-07 → 2022-07}/order_risk.d.ts +3 -0
  185. package/dist/rest-resources/2022-07/order_risk.d.ts.map +1 -0
  186. package/dist/rest-resources/{2021-07 → 2022-07}/order_risk.js +4 -1
  187. package/dist/rest-resources/{2021-07 → 2022-07}/page.d.ts +3 -0
  188. package/dist/rest-resources/2022-07/page.d.ts.map +1 -0
  189. package/dist/rest-resources/{2021-07 → 2022-07}/page.js +4 -1
  190. package/dist/rest-resources/{2021-07 → 2022-07}/payment.d.ts +3 -0
  191. package/dist/rest-resources/2022-07/payment.d.ts.map +1 -0
  192. package/dist/rest-resources/{2021-07 → 2022-07}/payment.js +4 -1
  193. package/dist/rest-resources/{2021-07 → 2022-07}/payment_gateway.d.ts +3 -0
  194. package/dist/rest-resources/2022-07/payment_gateway.d.ts.map +1 -0
  195. package/dist/rest-resources/{2021-07 → 2022-07}/payment_gateway.js +4 -1
  196. package/dist/rest-resources/{2021-07 → 2022-07}/payment_transaction.d.ts +3 -0
  197. package/dist/rest-resources/2022-07/payment_transaction.d.ts.map +1 -0
  198. package/dist/rest-resources/{2021-07 → 2022-07}/payment_transaction.js +4 -1
  199. package/dist/rest-resources/{2021-07 → 2022-07}/payout.d.ts +3 -0
  200. package/dist/rest-resources/2022-07/payout.d.ts.map +1 -0
  201. package/dist/rest-resources/{2021-07 → 2022-07}/payout.js +4 -1
  202. package/dist/rest-resources/{2021-07 → 2022-07}/policy.d.ts +3 -0
  203. package/dist/rest-resources/2022-07/policy.d.ts.map +1 -0
  204. package/dist/rest-resources/{2021-07 → 2022-07}/policy.js +4 -1
  205. package/dist/rest-resources/{2021-07 → 2022-07}/price_rule.d.ts +4 -1
  206. package/dist/rest-resources/2022-07/price_rule.d.ts.map +1 -0
  207. package/dist/rest-resources/{2021-07 → 2022-07}/price_rule.js +4 -1
  208. package/dist/rest-resources/{2021-07 → 2022-07}/product.d.ts +3 -0
  209. package/dist/rest-resources/2022-07/product.d.ts.map +1 -0
  210. package/dist/rest-resources/{2021-07 → 2022-07}/product.js +4 -1
  211. package/dist/rest-resources/{2021-07 → 2022-07}/product_listing.d.ts +3 -0
  212. package/dist/rest-resources/2022-07/product_listing.d.ts.map +1 -0
  213. package/dist/rest-resources/{2021-07 → 2022-07}/product_listing.js +4 -1
  214. package/dist/rest-resources/{2021-07 → 2022-07}/product_resource_feedback.d.ts +3 -0
  215. package/dist/rest-resources/2022-07/product_resource_feedback.d.ts.map +1 -0
  216. package/dist/rest-resources/{2021-07 → 2022-07}/product_resource_feedback.js +4 -1
  217. package/dist/rest-resources/{2021-07 → 2022-07}/province.d.ts +3 -0
  218. package/dist/rest-resources/2022-07/province.d.ts.map +1 -0
  219. package/dist/rest-resources/{2021-07 → 2022-07}/province.js +4 -1
  220. package/dist/rest-resources/{2021-07 → 2022-07}/recurring_application_charge.d.ts +3 -0
  221. package/dist/rest-resources/2022-07/recurring_application_charge.d.ts.map +1 -0
  222. package/dist/rest-resources/{2021-07 → 2022-07}/recurring_application_charge.js +4 -1
  223. package/dist/rest-resources/{2021-07 → 2022-07}/redirect.d.ts +3 -0
  224. package/dist/rest-resources/2022-07/redirect.d.ts.map +1 -0
  225. package/dist/rest-resources/{2021-07 → 2022-07}/redirect.js +4 -1
  226. package/dist/rest-resources/{2021-07 → 2022-07}/refund.d.ts +3 -0
  227. package/dist/rest-resources/2022-07/refund.d.ts.map +1 -0
  228. package/dist/rest-resources/{2021-07 → 2022-07}/refund.js +4 -1
  229. package/dist/rest-resources/{2021-07 → 2022-07}/report.d.ts +3 -0
  230. package/dist/rest-resources/2022-07/report.d.ts.map +1 -0
  231. package/dist/rest-resources/{2021-07 → 2022-07}/report.js +4 -1
  232. package/dist/rest-resources/{2021-07 → 2022-07}/resource_feedback.d.ts +3 -0
  233. package/dist/rest-resources/2022-07/resource_feedback.d.ts.map +1 -0
  234. package/dist/rest-resources/{2021-07 → 2022-07}/resource_feedback.js +4 -1
  235. package/dist/rest-resources/{2021-07 → 2022-07}/script_tag.d.ts +3 -0
  236. package/dist/rest-resources/2022-07/script_tag.d.ts.map +1 -0
  237. package/dist/rest-resources/{2021-07 → 2022-07}/script_tag.js +4 -1
  238. package/dist/rest-resources/{2021-07 → 2022-07}/shipping_zone.d.ts +3 -0
  239. package/dist/rest-resources/2022-07/shipping_zone.d.ts.map +1 -0
  240. package/dist/rest-resources/{2021-07 → 2022-07}/shipping_zone.js +4 -1
  241. package/dist/rest-resources/{2021-07 → 2022-07}/shop.d.ts +3 -0
  242. package/dist/rest-resources/2022-07/shop.d.ts.map +1 -0
  243. package/dist/rest-resources/{2021-07 → 2022-07}/shop.js +4 -1
  244. package/dist/rest-resources/{2021-07 → 2022-07}/smart_collection.d.ts +3 -0
  245. package/dist/rest-resources/2022-07/smart_collection.d.ts.map +1 -0
  246. package/dist/rest-resources/{2021-07 → 2022-07}/smart_collection.js +4 -1
  247. package/dist/rest-resources/{2021-07 → 2022-07}/storefront_access_token.d.ts +3 -0
  248. package/dist/rest-resources/2022-07/storefront_access_token.d.ts.map +1 -0
  249. package/dist/rest-resources/{2021-07 → 2022-07}/storefront_access_token.js +4 -1
  250. package/dist/rest-resources/{2021-07 → 2022-07}/tender_transaction.d.ts +3 -0
  251. package/dist/rest-resources/2022-07/tender_transaction.d.ts.map +1 -0
  252. package/dist/rest-resources/{2021-07 → 2022-07}/tender_transaction.js +4 -1
  253. package/dist/rest-resources/{2021-07 → 2022-07}/theme.d.ts +3 -0
  254. package/dist/rest-resources/2022-07/theme.d.ts.map +1 -0
  255. package/dist/rest-resources/{2021-07 → 2022-07}/theme.js +4 -1
  256. package/dist/rest-resources/{2021-07 → 2022-07}/transaction.d.ts +6 -0
  257. package/dist/rest-resources/2022-07/transaction.d.ts.map +1 -0
  258. package/dist/rest-resources/{2021-07 → 2022-07}/transaction.js +4 -1
  259. package/dist/rest-resources/{2021-07 → 2022-07}/usage_charge.d.ts +3 -0
  260. package/dist/rest-resources/2022-07/usage_charge.d.ts.map +1 -0
  261. package/dist/rest-resources/{2021-07 → 2022-07}/usage_charge.js +4 -1
  262. package/dist/rest-resources/{2021-07 → 2022-07}/user.d.ts +3 -0
  263. package/dist/rest-resources/2022-07/user.d.ts.map +1 -0
  264. package/dist/rest-resources/{2021-07 → 2022-07}/user.js +4 -1
  265. package/dist/rest-resources/{2021-07 → 2022-07}/variant.d.ts +3 -0
  266. package/dist/rest-resources/2022-07/variant.d.ts.map +1 -0
  267. package/dist/rest-resources/{2021-07 → 2022-07}/variant.js +4 -1
  268. package/dist/rest-resources/{2021-07 → 2022-07}/webhook.d.ts +3 -0
  269. package/dist/rest-resources/2022-07/webhook.d.ts.map +1 -0
  270. package/dist/rest-resources/{2021-07 → 2022-07}/webhook.js +4 -1
  271. package/dist/utils/get-embedded-app-url.d.ts +9 -0
  272. package/dist/utils/get-embedded-app-url.d.ts.map +1 -0
  273. package/dist/utils/get-embedded-app-url.js +26 -0
  274. package/dist/utils/index.d.ts +2 -0
  275. package/dist/utils/index.d.ts.map +1 -1
  276. package/dist/utils/index.js +2 -0
  277. package/dist/version.d.ts +1 -1
  278. package/dist/version.js +1 -1
  279. package/dist/webhooks/registry.js +2 -2
  280. package/package.json +4 -4
  281. package/dist/rest-resources/2021-07/abandoned_checkout.d.ts.map +0 -1
  282. package/dist/rest-resources/2021-07/access_scope.d.ts.map +0 -1
  283. package/dist/rest-resources/2021-07/android_pay_key.d.ts.map +0 -1
  284. package/dist/rest-resources/2021-07/apple_pay_certificate.d.ts.map +0 -1
  285. package/dist/rest-resources/2021-07/application_charge.d.ts.map +0 -1
  286. package/dist/rest-resources/2021-07/application_credit.d.ts.map +0 -1
  287. package/dist/rest-resources/2021-07/article.d.ts.map +0 -1
  288. package/dist/rest-resources/2021-07/asset.d.ts.map +0 -1
  289. package/dist/rest-resources/2021-07/assigned_fulfillment_order.d.ts.map +0 -1
  290. package/dist/rest-resources/2021-07/balance.d.ts.map +0 -1
  291. package/dist/rest-resources/2021-07/blog.d.ts.map +0 -1
  292. package/dist/rest-resources/2021-07/cancellation_request.d.ts.map +0 -1
  293. package/dist/rest-resources/2021-07/carrier_service.d.ts.map +0 -1
  294. package/dist/rest-resources/2021-07/checkout.d.ts.map +0 -1
  295. package/dist/rest-resources/2021-07/collect.d.ts.map +0 -1
  296. package/dist/rest-resources/2021-07/collection.d.ts.map +0 -1
  297. package/dist/rest-resources/2021-07/collection_listing.d.ts.map +0 -1
  298. package/dist/rest-resources/2021-07/comment.d.ts.map +0 -1
  299. package/dist/rest-resources/2021-07/country.d.ts.map +0 -1
  300. package/dist/rest-resources/2021-07/currency.d.ts.map +0 -1
  301. package/dist/rest-resources/2021-07/custom_collection.d.ts.map +0 -1
  302. package/dist/rest-resources/2021-07/customer.d.ts.map +0 -1
  303. package/dist/rest-resources/2021-07/customer_address.d.ts.map +0 -1
  304. package/dist/rest-resources/2021-07/customer_saved_search.d.ts.map +0 -1
  305. package/dist/rest-resources/2021-07/deprecated_api_call.d.ts.map +0 -1
  306. package/dist/rest-resources/2021-07/discount_code.d.ts.map +0 -1
  307. package/dist/rest-resources/2021-07/dispute.d.ts.map +0 -1
  308. package/dist/rest-resources/2021-07/draft_order.d.ts.map +0 -1
  309. package/dist/rest-resources/2021-07/event.d.ts.map +0 -1
  310. package/dist/rest-resources/2021-07/fulfillment.d.ts.map +0 -1
  311. package/dist/rest-resources/2021-07/fulfillment_event.d.ts.map +0 -1
  312. package/dist/rest-resources/2021-07/fulfillment_order.d.ts.map +0 -1
  313. package/dist/rest-resources/2021-07/fulfillment_request.d.ts.map +0 -1
  314. package/dist/rest-resources/2021-07/fulfillment_service.d.ts.map +0 -1
  315. package/dist/rest-resources/2021-07/gift_card.d.ts.map +0 -1
  316. package/dist/rest-resources/2021-07/gift_card_adjustment.d.ts.map +0 -1
  317. package/dist/rest-resources/2021-07/image.d.ts.map +0 -1
  318. package/dist/rest-resources/2021-07/index.d.ts.map +0 -1
  319. package/dist/rest-resources/2021-07/inventory_item.d.ts.map +0 -1
  320. package/dist/rest-resources/2021-07/inventory_level.d.ts.map +0 -1
  321. package/dist/rest-resources/2021-07/location.d.ts.map +0 -1
  322. package/dist/rest-resources/2021-07/locations_for_move.d.ts.map +0 -1
  323. package/dist/rest-resources/2021-07/marketing_event.d.ts.map +0 -1
  324. package/dist/rest-resources/2021-07/metafield.d.ts.map +0 -1
  325. package/dist/rest-resources/2021-07/mobile_platform_application.d.ts.map +0 -1
  326. package/dist/rest-resources/2021-07/order.d.ts.map +0 -1
  327. package/dist/rest-resources/2021-07/order_risk.d.ts.map +0 -1
  328. package/dist/rest-resources/2021-07/page.d.ts.map +0 -1
  329. package/dist/rest-resources/2021-07/payment.d.ts.map +0 -1
  330. package/dist/rest-resources/2021-07/payment_gateway.d.ts.map +0 -1
  331. package/dist/rest-resources/2021-07/payment_transaction.d.ts.map +0 -1
  332. package/dist/rest-resources/2021-07/payout.d.ts.map +0 -1
  333. package/dist/rest-resources/2021-07/policy.d.ts.map +0 -1
  334. package/dist/rest-resources/2021-07/price_rule.d.ts.map +0 -1
  335. package/dist/rest-resources/2021-07/product.d.ts.map +0 -1
  336. package/dist/rest-resources/2021-07/product_listing.d.ts.map +0 -1
  337. package/dist/rest-resources/2021-07/product_resource_feedback.d.ts.map +0 -1
  338. package/dist/rest-resources/2021-07/province.d.ts.map +0 -1
  339. package/dist/rest-resources/2021-07/recurring_application_charge.d.ts.map +0 -1
  340. package/dist/rest-resources/2021-07/redirect.d.ts.map +0 -1
  341. package/dist/rest-resources/2021-07/refund.d.ts.map +0 -1
  342. package/dist/rest-resources/2021-07/report.d.ts.map +0 -1
  343. package/dist/rest-resources/2021-07/resource_feedback.d.ts.map +0 -1
  344. package/dist/rest-resources/2021-07/script_tag.d.ts.map +0 -1
  345. package/dist/rest-resources/2021-07/shipping_zone.d.ts.map +0 -1
  346. package/dist/rest-resources/2021-07/shop.d.ts.map +0 -1
  347. package/dist/rest-resources/2021-07/smart_collection.d.ts.map +0 -1
  348. package/dist/rest-resources/2021-07/storefront_access_token.d.ts.map +0 -1
  349. package/dist/rest-resources/2021-07/tender_transaction.d.ts.map +0 -1
  350. package/dist/rest-resources/2021-07/theme.d.ts.map +0 -1
  351. package/dist/rest-resources/2021-07/transaction.d.ts.map +0 -1
  352. package/dist/rest-resources/2021-07/usage_charge.d.ts.map +0 -1
  353. package/dist/rest-resources/2021-07/user.d.ts.map +0 -1
  354. package/dist/rest-resources/2021-07/variant.d.ts.map +0 -1
  355. package/dist/rest-resources/2021-07/webhook.d.ts.map +0 -1
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.Fulfillment = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -67,6 +70,28 @@ var Fulfillment = /** @class */ (function (_super) {
67
70
  });
68
71
  });
69
72
  };
73
+ Fulfillment.prototype.cancel = function (_a) {
74
+ var _b = _a.body, body = _b === void 0 ? null : _b, otherArgs = tslib_1.__rest(_a, ["body"]);
75
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
76
+ var response;
77
+ return tslib_1.__generator(this, function (_c) {
78
+ switch (_c.label) {
79
+ case 0: return [4 /*yield*/, Fulfillment.request({
80
+ http_method: "post",
81
+ operation: "cancel",
82
+ session: this.session,
83
+ urlIds: { "id": this.id },
84
+ params: tslib_1.__assign({}, otherArgs),
85
+ body: body,
86
+ entity: this,
87
+ })];
88
+ case 1:
89
+ response = _c.sent();
90
+ return [2 /*return*/, response ? response.body : null];
91
+ }
92
+ });
93
+ });
94
+ };
70
95
  Fulfillment.prototype.update_tracking = function (_a) {
71
96
  var _b = _a.body, body = _b === void 0 ? null : _b, otherArgs = tslib_1.__rest(_a, ["body"]);
72
97
  return tslib_1.__awaiter(this, void 0, void 0, function () {
@@ -89,7 +114,7 @@ var Fulfillment = /** @class */ (function (_super) {
89
114
  });
90
115
  });
91
116
  };
92
- Fulfillment.API_VERSION = base_types_1.ApiVersion.July21;
117
+ Fulfillment.API_VERSION = base_types_1.ApiVersion.July22;
93
118
  Fulfillment.NAME = 'fulfillment';
94
119
  Fulfillment.PLURAL_NAME = 'fulfillments';
95
120
  Fulfillment.HAS_ONE = {};
@@ -99,6 +124,8 @@ var Fulfillment = /** @class */ (function (_super) {
99
124
  { "http_method": "get", "operation": "get", "ids": ["fulfillment_order_id"], "path": "fulfillment_orders/<fulfillment_order_id>/fulfillments.json" },
100
125
  { "http_method": "get", "operation": "get", "ids": ["order_id"], "path": "orders/<order_id>/fulfillments.json" },
101
126
  { "http_method": "get", "operation": "get", "ids": ["order_id", "id"], "path": "orders/<order_id>/fulfillments/<id>.json" },
127
+ { "http_method": "post", "operation": "cancel", "ids": ["id"], "path": "fulfillments/<id>/cancel.json" },
128
+ { "http_method": "post", "operation": "post", "ids": [], "path": "fulfillments.json" },
102
129
  { "http_method": "post", "operation": "update_tracking", "ids": ["id"], "path": "fulfillments/<id>/update_tracking.json" }
103
130
  ];
104
131
  return Fulfillment;
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment_event.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/fulfillment_event.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAClC,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAEpC,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAClC,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AACD,UAAU,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,EAAE,OAAO,GACT,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAUvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,EAAE,OAAO,GAAG,IAAI,GAAG;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAC/C,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,QAAQ,EAAE,QAAQ,GAAG,IAAI,GAAG;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IACjD,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.FulfillmentEvent = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -70,7 +73,7 @@ var FulfillmentEvent = /** @class */ (function (_super) {
70
73
  });
71
74
  });
72
75
  };
73
- FulfillmentEvent.API_VERSION = base_types_1.ApiVersion.July21;
76
+ FulfillmentEvent.API_VERSION = base_types_1.ApiVersion.July22;
74
77
  FulfillmentEvent.NAME = 'fulfillment_event';
75
78
  FulfillmentEvent.PLURAL_NAME = 'fulfillment_events';
76
79
  FulfillmentEvent.HAS_ONE = {
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -23,6 +26,15 @@ interface CloseArgs {
23
26
  [key: string]: unknown;
24
27
  } | null;
25
28
  }
29
+ interface HoldArgs {
30
+ [key: string]: unknown;
31
+ reason?: unknown;
32
+ reason_notes?: unknown;
33
+ notify_merchant?: unknown;
34
+ body?: {
35
+ [key: string]: unknown;
36
+ } | null;
37
+ }
26
38
  interface MoveArgs {
27
39
  [key: string]: unknown;
28
40
  new_location_id?: unknown;
@@ -36,12 +48,26 @@ interface OpenArgs {
36
48
  [key: string]: unknown;
37
49
  } | null;
38
50
  }
51
+ interface ReleaseHoldArgs {
52
+ [key: string]: unknown;
53
+ body?: {
54
+ [key: string]: unknown;
55
+ } | null;
56
+ }
39
57
  interface RescheduleArgs {
40
58
  [key: string]: unknown;
41
59
  body?: {
42
60
  [key: string]: unknown;
43
61
  } | null;
44
62
  }
63
+ interface SetFulfillmentOrdersDeadlineArgs {
64
+ [key: string]: unknown;
65
+ fulfillment_order_ids?: unknown;
66
+ fulfillment_deadline?: unknown;
67
+ body?: {
68
+ [key: string]: unknown;
69
+ } | null;
70
+ }
45
71
  export declare class FulfillmentOrder extends Base {
46
72
  static API_VERSION: ApiVersion;
47
73
  protected static NAME: string;
@@ -57,9 +83,12 @@ export declare class FulfillmentOrder extends Base {
57
83
  static all({ session, order_id, ...otherArgs }: AllArgs): Promise<FulfillmentOrder[]>;
58
84
  cancel({ body, ...otherArgs }: CancelArgs): Promise<unknown>;
59
85
  close({ message, body, ...otherArgs }: CloseArgs): Promise<unknown>;
86
+ hold({ reason, reason_notes, notify_merchant, body, ...otherArgs }: HoldArgs): Promise<unknown>;
60
87
  move({ new_location_id, body, ...otherArgs }: MoveArgs): Promise<unknown>;
61
88
  open({ body, ...otherArgs }: OpenArgs): Promise<unknown>;
89
+ release_hold({ body, ...otherArgs }: ReleaseHoldArgs): Promise<unknown>;
62
90
  reschedule({ body, ...otherArgs }: RescheduleArgs): Promise<unknown>;
91
+ set_fulfillment_orders_deadline({ fulfillment_order_ids, fulfillment_deadline, body, ...otherArgs }: SetFulfillmentOrdersDeadlineArgs): Promise<unknown>;
63
92
  assigned_location: {
64
93
  [key: string]: unknown;
65
94
  } | null;
@@ -71,6 +100,10 @@ export declare class FulfillmentOrder extends Base {
71
100
  [key: string]: unknown;
72
101
  } | null;
73
102
  fulfill_at: string | null;
103
+ fulfill_by: string | null;
104
+ fulfillment_holds: {
105
+ [key: string]: unknown;
106
+ }[] | null;
74
107
  id: number | null;
75
108
  international_duties: {
76
109
  [key: string]: unknown;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment_order.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/fulfillment_order.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACnC;AACD,UA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,GAAG,IAAI,CAAC;IACtD,UAAU,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,EAAE,GAAG,IAAI,CAAC;IAC9C,iBAAiB,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,EAAE,GAAG,IAAI,CAAC;IACrD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,iBAAiB,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;CAC3C"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.FulfillmentOrder = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -89,6 +92,28 @@ var FulfillmentOrder = /** @class */ (function (_super) {
89
92
  });
90
93
  });
91
94
  };
95
+ FulfillmentOrder.prototype.hold = function (_a) {
96
+ var _b = _a.reason, reason = _b === void 0 ? null : _b, _c = _a.reason_notes, reason_notes = _c === void 0 ? null : _c, _d = _a.notify_merchant, notify_merchant = _d === void 0 ? null : _d, _e = _a.body, body = _e === void 0 ? null : _e, otherArgs = tslib_1.__rest(_a, ["reason", "reason_notes", "notify_merchant", "body"]);
97
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
98
+ var response;
99
+ return tslib_1.__generator(this, function (_f) {
100
+ switch (_f.label) {
101
+ case 0: return [4 /*yield*/, FulfillmentOrder.request({
102
+ http_method: "post",
103
+ operation: "hold",
104
+ session: this.session,
105
+ urlIds: { "id": this.id },
106
+ params: tslib_1.__assign({ "reason": reason, "reason_notes": reason_notes, "notify_merchant": notify_merchant }, otherArgs),
107
+ body: body,
108
+ entity: this,
109
+ })];
110
+ case 1:
111
+ response = _f.sent();
112
+ return [2 /*return*/, response ? response.body : null];
113
+ }
114
+ });
115
+ });
116
+ };
92
117
  FulfillmentOrder.prototype.move = function (_a) {
93
118
  var _b = _a.new_location_id, new_location_id = _b === void 0 ? null : _b, _c = _a.body, body = _c === void 0 ? null : _c, otherArgs = tslib_1.__rest(_a, ["new_location_id", "body"]);
94
119
  return tslib_1.__awaiter(this, void 0, void 0, function () {
@@ -133,6 +158,28 @@ var FulfillmentOrder = /** @class */ (function (_super) {
133
158
  });
134
159
  });
135
160
  };
161
+ FulfillmentOrder.prototype.release_hold = function (_a) {
162
+ var _b = _a.body, body = _b === void 0 ? null : _b, otherArgs = tslib_1.__rest(_a, ["body"]);
163
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
164
+ var response;
165
+ return tslib_1.__generator(this, function (_c) {
166
+ switch (_c.label) {
167
+ case 0: return [4 /*yield*/, FulfillmentOrder.request({
168
+ http_method: "post",
169
+ operation: "release_hold",
170
+ session: this.session,
171
+ urlIds: { "id": this.id },
172
+ params: tslib_1.__assign({}, otherArgs),
173
+ body: body,
174
+ entity: this,
175
+ })];
176
+ case 1:
177
+ response = _c.sent();
178
+ return [2 /*return*/, response ? response.body : null];
179
+ }
180
+ });
181
+ });
182
+ };
136
183
  FulfillmentOrder.prototype.reschedule = function (_a) {
137
184
  var _b = _a.body, body = _b === void 0 ? null : _b, otherArgs = tslib_1.__rest(_a, ["body"]);
138
185
  return tslib_1.__awaiter(this, void 0, void 0, function () {
@@ -155,7 +202,29 @@ var FulfillmentOrder = /** @class */ (function (_super) {
155
202
  });
156
203
  });
157
204
  };
158
- FulfillmentOrder.API_VERSION = base_types_1.ApiVersion.July21;
205
+ FulfillmentOrder.prototype.set_fulfillment_orders_deadline = function (_a) {
206
+ var _b = _a.fulfillment_order_ids, fulfillment_order_ids = _b === void 0 ? null : _b, _c = _a.fulfillment_deadline, fulfillment_deadline = _c === void 0 ? null : _c, _d = _a.body, body = _d === void 0 ? null : _d, otherArgs = tslib_1.__rest(_a, ["fulfillment_order_ids", "fulfillment_deadline", "body"]);
207
+ return tslib_1.__awaiter(this, void 0, void 0, function () {
208
+ var response;
209
+ return tslib_1.__generator(this, function (_e) {
210
+ switch (_e.label) {
211
+ case 0: return [4 /*yield*/, FulfillmentOrder.request({
212
+ http_method: "post",
213
+ operation: "set_fulfillment_orders_deadline",
214
+ session: this.session,
215
+ urlIds: {},
216
+ params: tslib_1.__assign({ "fulfillment_order_ids": fulfillment_order_ids, "fulfillment_deadline": fulfillment_deadline }, otherArgs),
217
+ body: body,
218
+ entity: this,
219
+ })];
220
+ case 1:
221
+ response = _e.sent();
222
+ return [2 /*return*/, response ? response.body : null];
223
+ }
224
+ });
225
+ });
226
+ };
227
+ FulfillmentOrder.API_VERSION = base_types_1.ApiVersion.July22;
159
228
  FulfillmentOrder.NAME = 'fulfillment_order';
160
229
  FulfillmentOrder.PLURAL_NAME = 'fulfillment_orders';
161
230
  FulfillmentOrder.HAS_ONE = {};
@@ -165,9 +234,12 @@ var FulfillmentOrder = /** @class */ (function (_super) {
165
234
  { "http_method": "get", "operation": "get", "ids": ["order_id"], "path": "orders/<order_id>/fulfillment_orders.json" },
166
235
  { "http_method": "post", "operation": "cancel", "ids": ["id"], "path": "fulfillment_orders/<id>/cancel.json" },
167
236
  { "http_method": "post", "operation": "close", "ids": ["id"], "path": "fulfillment_orders/<id>/close.json" },
237
+ { "http_method": "post", "operation": "hold", "ids": ["id"], "path": "fulfillment_orders/<id>/hold.json" },
168
238
  { "http_method": "post", "operation": "move", "ids": ["id"], "path": "fulfillment_orders/<id>/move.json" },
169
239
  { "http_method": "post", "operation": "open", "ids": ["id"], "path": "fulfillment_orders/<id>/open.json" },
170
- { "http_method": "post", "operation": "reschedule", "ids": ["id"], "path": "fulfillment_orders/<id>/reschedule.json" }
240
+ { "http_method": "post", "operation": "release_hold", "ids": ["id"], "path": "fulfillment_orders/<id>/release_hold.json" },
241
+ { "http_method": "post", "operation": "reschedule", "ids": ["id"], "path": "fulfillment_orders/<id>/reschedule.json" },
242
+ { "http_method": "post", "operation": "set_fulfillment_orders_deadline", "ids": [], "path": "fulfillment_orders/set_fulfillment_orders_deadline.json" }
171
243
  ];
172
244
  return FulfillmentOrder;
173
245
  }(base_rest_resource_1.default));
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { ApiVersion } from '../../base-types';
3
6
  interface AcceptArgs {
@@ -10,6 +13,8 @@ interface AcceptArgs {
10
13
  interface RejectArgs {
11
14
  [key: string]: unknown;
12
15
  message?: unknown;
16
+ reason?: unknown;
17
+ line_items?: unknown;
13
18
  body?: {
14
19
  [key: string]: unknown;
15
20
  } | null;
@@ -26,7 +31,7 @@ export declare class FulfillmentRequest extends Base {
26
31
  };
27
32
  protected static PATHS: ResourcePath[];
28
33
  accept({ message, body, ...otherArgs }: AcceptArgs): Promise<unknown>;
29
- reject({ message, body, ...otherArgs }: RejectArgs): Promise<unknown>;
34
+ reject({ message, reason, line_items, body, ...otherArgs }: RejectArgs): Promise<unknown>;
30
35
  fulfillment_order_id: number | null;
31
36
  }
32
37
  export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment_request.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/fulfillment_request.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,UAAU;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC;CACxC;AACD,UAAU,UAAU;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC;CACxC;AAED,qBAAa,kBAAmB,SAAQ,IAAI;IAC1C,OAAc,WAAW,aAAqB;IAE9C,SAAS,CAAC,MAAM,CAAC,IAAI,SAAyB;IAC9C,SAAS,CAAC,MAAM,CAAC,WAAW,SAA0B;IACtD,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC5D,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC7D,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,CAIpC;IAEW,MAAM,CACjB,EACE,OAAc,EACd,IAAW,EACX,GAAG,SAAS,EACb,EAAE,UAAU,GACZ,OAAO,CAAC,OAAO,CAAC;IAcN,MAAM,CACjB,EACE,OAAc,EACd,MAAa,EACb,UAAiB,EACjB,IAAW,EACX,GAAG,SAAS,EACb,EAAE,UAAU,GACZ,OAAO,CAAC,OAAO,CAAC;IAcZ,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5C"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.FulfillmentRequest = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -32,28 +35,28 @@ var FulfillmentRequest = /** @class */ (function (_super) {
32
35
  });
33
36
  };
34
37
  FulfillmentRequest.prototype.reject = function (_a) {
35
- var _b = _a.message, message = _b === void 0 ? null : _b, _c = _a.body, body = _c === void 0 ? null : _c, otherArgs = tslib_1.__rest(_a, ["message", "body"]);
38
+ var _b = _a.message, message = _b === void 0 ? null : _b, _c = _a.reason, reason = _c === void 0 ? null : _c, _d = _a.line_items, line_items = _d === void 0 ? null : _d, _e = _a.body, body = _e === void 0 ? null : _e, otherArgs = tslib_1.__rest(_a, ["message", "reason", "line_items", "body"]);
36
39
  return tslib_1.__awaiter(this, void 0, void 0, function () {
37
40
  var response;
38
- return tslib_1.__generator(this, function (_d) {
39
- switch (_d.label) {
41
+ return tslib_1.__generator(this, function (_f) {
42
+ switch (_f.label) {
40
43
  case 0: return [4 /*yield*/, FulfillmentRequest.request({
41
44
  http_method: "post",
42
45
  operation: "reject",
43
46
  session: this.session,
44
47
  urlIds: { "fulfillment_order_id": this.fulfillment_order_id },
45
- params: tslib_1.__assign({ "message": message }, otherArgs),
48
+ params: tslib_1.__assign({ "message": message, "reason": reason, "line_items": line_items }, otherArgs),
46
49
  body: body,
47
50
  entity: this,
48
51
  })];
49
52
  case 1:
50
- response = _d.sent();
53
+ response = _f.sent();
51
54
  return [2 /*return*/, response ? response.body : null];
52
55
  }
53
56
  });
54
57
  });
55
58
  };
56
- FulfillmentRequest.API_VERSION = base_types_1.ApiVersion.July21;
59
+ FulfillmentRequest.API_VERSION = base_types_1.ApiVersion.July22;
57
60
  FulfillmentRequest.NAME = 'fulfillment_request';
58
61
  FulfillmentRequest.PLURAL_NAME = 'fulfillment_requests';
59
62
  FulfillmentRequest.HAS_ONE = {};
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -30,13 +33,13 @@ export declare class FulfillmentService extends Base {
30
33
  static all({ session, scope, ...otherArgs }: AllArgs): Promise<FulfillmentService[]>;
31
34
  admin_graphql_api_id: string | null;
32
35
  callback_url: string | null;
33
- format: string | null;
34
36
  fulfillment_orders_opt_in: boolean | null;
35
37
  handle: string | null;
36
38
  id: number | null;
37
39
  inventory_management: boolean | null;
38
40
  location_id: number | null;
39
41
  name: string | null;
42
+ permits_sku_sharing: boolean | null;
40
43
  provider_id: string | null;
41
44
  requires_shipping_method: boolean | null;
42
45
  tracking_support: boolean | null;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fulfillment_service.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/fulfillment_service.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AACD,UAAU,UAAU;IAClB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,kBAAmB,SAAQ,IAAI;IAC1C,OAAc,WAAW,aAAqB;IAE9C,SAAS,CAAC,MAAM,CAAC,IAAI,SAAyB;IAC9C,SAAS,CAAC,MAAM,CAAC,WAAW,SAA0B;IACtD,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC5D,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC7D,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,CAMpC;WAEkB,IAAI,CACtB,EACE,OAAO,EACP,EAAE,EACH,EAAE,QAAQ,GACV,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC;WASjB,MAAM,CACxB,EACE,OAAO,EACP,EAAE,EACH,EAAE,UAAU,GACZ,OAAO,CAAC,OAAO,CAAC;WAYC,GAAG,CACrB,EACE,OAAO,EACP,KAAY,EACZ,GAAG,SAAS,EACb,EAAE,OAAO,GACT,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAUzB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,yBAAyB,EAAE,OAAO,GAAG,IAAI,CAAC;IAC1C,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,oBAAoB,EAAE,OAAO,GAAG,IAAI,CAAC;IACrC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAAC;IACpC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,wBAAwB,EAAE,OAAO,GAAG,IAAI,CAAC;IACzC,gBAAgB,EAAE,OAAO,GAAG,IAAI,CAAC;CACzC"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.FulfillmentService = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -65,7 +68,7 @@ var FulfillmentService = /** @class */ (function (_super) {
65
68
  });
66
69
  });
67
70
  };
68
- FulfillmentService.API_VERSION = base_types_1.ApiVersion.July21;
71
+ FulfillmentService.API_VERSION = base_types_1.ApiVersion.July22;
69
72
  FulfillmentService.NAME = 'fulfillment_service';
70
73
  FulfillmentService.PLURAL_NAME = 'fulfillment_services';
71
74
  FulfillmentService.HAS_ONE = {};
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gift_card.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/gift_card.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,UAAU,SAAS;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,MAAM,CAAC,E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,OAAO,EACP,KAAY,EACZ,KAAY,EACZ,KAAY,EACZ,MAAa,EACb,GAAG,SAAS,EACb,EAAE,UAAU,GACZ,OAAO,CAAC,OAAO,CAAC;IAcN,OAAO,CAClB,EACE,IAAW,EACX,GAAG,SAAS,EACb,EAAE,WAAW,GACb,OAAO,CAAC,OAAO,CAAC;IAcZ,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.GiftCard = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -111,7 +114,7 @@ var GiftCard = /** @class */ (function (_super) {
111
114
  });
112
115
  });
113
116
  };
114
- GiftCard.API_VERSION = base_types_1.ApiVersion.July21;
117
+ GiftCard.API_VERSION = base_types_1.ApiVersion.July22;
115
118
  GiftCard.NAME = 'gift_card';
116
119
  GiftCard.PLURAL_NAME = 'gift_cards';
117
120
  GiftCard.HAS_ONE = {};
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gift_card_adjustment.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/gift_card_adjustment.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACvC;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACvC;AAED,qBAAa,kBAAmB,SAAQ,IAAI;IAC1C,OAAc,WAAW,aAAqB;IAE9C,SAAS,CAAC,MAAM,CAAC,IAAI,SAA0B;IAC/C,SAAS,CAAC,MAAM,CAAC,WAAW,SAA2B;IACvD,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC5D,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC7D,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,CAIpC;IAEF,SAAS,CAAC,MAAM,CAAC,eAAe,IAAI,MAAM;WAKtB,IAAI,CACtB,EACE,OAAO,EACP,EAAE,EACF,YAAmB,EACpB,EAAE,QAAQ,GACV,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC;WASjB,GAAG,CACrB,EACE,OAAO,EACP,YAAmB,EACnB,GAAG,SAAS,EACb,EAAE,OAAO,GACT,OAAO,CAAC,kBAAkB,EAAE,CAAC;IAUzB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.GiftCardAdjustment = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -48,7 +51,7 @@ var GiftCardAdjustment = /** @class */ (function (_super) {
48
51
  });
49
52
  });
50
53
  };
51
- GiftCardAdjustment.API_VERSION = base_types_1.ApiVersion.July21;
54
+ GiftCardAdjustment.API_VERSION = base_types_1.ApiVersion.July22;
52
55
  GiftCardAdjustment.NAME = 'gift_card_adjustment';
53
56
  GiftCardAdjustment.PLURAL_NAME = 'gift_card_adjustments';
54
57
  GiftCardAdjustment.HAS_ONE = {};
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/image.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AACD,UAAU,UAAU;IAClB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACrC;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;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M,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC7B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAC7B"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.Image = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -87,7 +90,7 @@ var Image = /** @class */ (function (_super) {
87
90
  });
88
91
  });
89
92
  };
90
- Image.API_VERSION = base_types_1.ApiVersion.July21;
93
+ Image.API_VERSION = base_types_1.ApiVersion.July22;
91
94
  Image.NAME = 'image';
92
95
  Image.PLURAL_NAME = 'images';
93
96
  Image.HAS_ONE = {};
@@ -25,6 +25,8 @@ export { CustomerSavedSearch } from './customer_saved_search';
25
25
  export { DeprecatedApiCall } from './deprecated_api_call';
26
26
  export { DiscountCode } from './discount_code';
27
27
  export { Dispute } from './dispute';
28
+ export { DisputeEvidence } from './dispute_evidence';
29
+ export { DisputeFileUpload } from './dispute_file_upload';
28
30
  export { DraftOrder } from './draft_order';
29
31
  export { Event } from './event';
30
32
  export { Fulfillment } from './fulfillment';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OA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EAAC,OAAO,EAAC,MAAM,WAAW,CAAC"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaymentTransaction = exports.PaymentGateway = exports.Payment = exports.Page = exports.OrderRisk = exports.Order = exports.MobilePlatformApplication = exports.Metafield = exports.MarketingEvent = exports.LocationsForMove = exports.Location = exports.InventoryLevel = exports.InventoryItem = exports.Image = exports.GiftCardAdjustment = exports.GiftCard = exports.FulfillmentService = exports.FulfillmentRequest = exports.FulfillmentOrder = exports.FulfillmentEvent = exports.Fulfillment = exports.Event = exports.DraftOrder = exports.Dispute = exports.DiscountCode = exports.DeprecatedApiCall = exports.CustomerSavedSearch = exports.CustomerAddress = exports.Customer = exports.CustomCollection = exports.Currency = exports.Country = exports.Comment = exports.CollectionListing = exports.Collection = exports.Collect = exports.Checkout = exports.CarrierService = exports.CancellationRequest = exports.Blog = exports.Balance = exports.AssignedFulfillmentOrder = exports.Asset = exports.Article = exports.ApplicationCredit = exports.ApplicationCharge = exports.ApplePayCertificate = exports.AndroidPayKey = exports.AccessScope = exports.AbandonedCheckout = void 0;
4
- exports.Webhook = exports.Variant = exports.User = exports.UsageCharge = exports.Transaction = exports.Theme = exports.TenderTransaction = exports.StorefrontAccessToken = exports.SmartCollection = exports.Shop = exports.ShippingZone = exports.ScriptTag = exports.ResourceFeedback = exports.Report = exports.Refund = exports.Redirect = exports.RecurringApplicationCharge = exports.Province = exports.ProductResourceFeedback = exports.ProductListing = exports.Product = exports.PriceRule = exports.Policy = exports.Payout = void 0;
3
+ exports.Payment = exports.Page = exports.OrderRisk = exports.Order = exports.MobilePlatformApplication = exports.Metafield = exports.MarketingEvent = exports.LocationsForMove = exports.Location = exports.InventoryLevel = exports.InventoryItem = exports.Image = exports.GiftCardAdjustment = exports.GiftCard = exports.FulfillmentService = exports.FulfillmentRequest = exports.FulfillmentOrder = exports.FulfillmentEvent = exports.Fulfillment = exports.Event = exports.DraftOrder = exports.DisputeFileUpload = exports.DisputeEvidence = exports.Dispute = exports.DiscountCode = exports.DeprecatedApiCall = exports.CustomerSavedSearch = exports.CustomerAddress = exports.Customer = exports.CustomCollection = exports.Currency = exports.Country = exports.Comment = exports.CollectionListing = exports.Collection = exports.Collect = exports.Checkout = exports.CarrierService = exports.CancellationRequest = exports.Blog = exports.Balance = exports.AssignedFulfillmentOrder = exports.Asset = exports.Article = exports.ApplicationCredit = exports.ApplicationCharge = exports.ApplePayCertificate = exports.AndroidPayKey = exports.AccessScope = exports.AbandonedCheckout = void 0;
4
+ exports.Webhook = exports.Variant = exports.User = exports.UsageCharge = exports.Transaction = exports.Theme = exports.TenderTransaction = exports.StorefrontAccessToken = exports.SmartCollection = exports.Shop = exports.ShippingZone = exports.ScriptTag = exports.ResourceFeedback = exports.Report = exports.Refund = exports.Redirect = exports.RecurringApplicationCharge = exports.Province = exports.ProductResourceFeedback = exports.ProductListing = exports.Product = exports.PriceRule = exports.Policy = exports.Payout = exports.PaymentTransaction = exports.PaymentGateway = void 0;
5
5
  var abandoned_checkout_1 = require("./abandoned_checkout");
6
6
  Object.defineProperty(exports, "AbandonedCheckout", { enumerable: true, get: function () { return abandoned_checkout_1.AbandonedCheckout; } });
7
7
  var access_scope_1 = require("./access_scope");
@@ -56,6 +56,10 @@ var discount_code_1 = require("./discount_code");
56
56
  Object.defineProperty(exports, "DiscountCode", { enumerable: true, get: function () { return discount_code_1.DiscountCode; } });
57
57
  var dispute_1 = require("./dispute");
58
58
  Object.defineProperty(exports, "Dispute", { enumerable: true, get: function () { return dispute_1.Dispute; } });
59
+ var dispute_evidence_1 = require("./dispute_evidence");
60
+ Object.defineProperty(exports, "DisputeEvidence", { enumerable: true, get: function () { return dispute_evidence_1.DisputeEvidence; } });
61
+ var dispute_file_upload_1 = require("./dispute_file_upload");
62
+ Object.defineProperty(exports, "DisputeFileUpload", { enumerable: true, get: function () { return dispute_file_upload_1.DisputeFileUpload; } });
59
63
  var draft_order_1 = require("./draft_order");
60
64
  Object.defineProperty(exports, "DraftOrder", { enumerable: true, get: function () { return draft_order_1.DraftOrder; } });
61
65
  var event_1 = require("./event");
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory_item.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/inventory_item.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,QAAQ;IAChB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,aAAc,SAAQ,IAAI;IACrC,OAAc,WAAW,aAAqB;IAE9C,SAAS,CAAC,MAAM,CAAC,IAAI,SAAoB;IACzC,SAAS,CAAC,MAAM,CAAC,WAAW,SAAqB;IACjD,SAAS,CAAC,MAAM,CAAC,OAAO,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC5D,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,IAAI,CAAA;KAAC,CAAM;IAC7D,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,YAAY,EAAE,CAIpC;WAEkB,IAAI,CACtB,EACE,OAAO,EACP,EAAE,EACH,EAAE,QAAQ,GACV,OAAO,CAAC,aAAa,GAAG,IAAI,CAAC;WASZ,GAAG,CACrB,EACE,OAAO,EACP,GAAU,EACV,KAAY,EACZ,GAAG,SAAS,EACb,EAAE,OAAO,GACT,OAAO,CAAC,aAAa,EAAE,CAAC;IAUpB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,+BAA+B,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,EAAE,GAAG,IAAI,CAAC;IACnE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,sBAAsB,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IACvC,iBAAiB,EAAE,OAAO,GAAG,IAAI,CAAC;IAClC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC"}
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /***********************************************************************************************************************
3
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
4
+ ***********************************************************************************************************************/
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.InventoryItem = void 0;
4
7
  var tslib_1 = require("tslib");
@@ -45,7 +48,7 @@ var InventoryItem = /** @class */ (function (_super) {
45
48
  });
46
49
  });
47
50
  };
48
- InventoryItem.API_VERSION = base_types_1.ApiVersion.July21;
51
+ InventoryItem.API_VERSION = base_types_1.ApiVersion.July22;
49
52
  InventoryItem.NAME = 'inventory_item';
50
53
  InventoryItem.PLURAL_NAME = 'inventory_items';
51
54
  InventoryItem.HAS_ONE = {};
@@ -1,3 +1,6 @@
1
+ /***********************************************************************************************************************
2
+ * This file is auto-generated. If you have an issue, please create a GitHub issue. *
3
+ ***********************************************************************************************************************/
1
4
  import Base, { ResourcePath } from '../../base-rest-resource';
2
5
  import { SessionInterface } from '../../auth/session/types';
3
6
  import { ApiVersion } from '../../base-types';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inventory_level.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2022-07/inventory_level.ts"],"names":[],"mappings":"AAAA;;wHAEwH;AAExH,OAAO,IAAI,EAAE,EAAC,YAAY,EAAC,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,UAAU,UAAU;IAClB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AACD,UAAU,UAAU;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,IAAI,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC;CACxC;AACD,UAAU,WAAW;IACnB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAA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