@shopify/shopify-api 3.0.0-rc.1 → 3.0.0-rc.2
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.
- package/CHANGELOG.md +7 -4
- package/dist/base-rest-resource.d.ts.map +1 -1
- package/dist/base-rest-resource.js +38 -59
- package/dist/clients/http_client/http_client.d.ts.map +1 -1
- package/dist/clients/http_client/http_client.js +28 -6
- package/dist/error.d.ts +46 -30
- package/dist/error.d.ts.map +1 -1
- package/dist/error.js +14 -16
- package/dist/rest-resources/2021-04/abandoned_checkout.js +6 -6
- package/dist/rest-resources/2021-04/access_scope.js +1 -1
- package/dist/rest-resources/2021-04/android_pay_key.js +5 -5
- package/dist/rest-resources/2021-04/apple_pay_certificate.js +8 -8
- package/dist/rest-resources/2021-04/application_charge.js +6 -6
- package/dist/rest-resources/2021-04/application_credit.js +6 -6
- package/dist/rest-resources/2021-04/article.js +19 -19
- package/dist/rest-resources/2021-04/asset.js +8 -8
- package/dist/rest-resources/2021-04/assigned_fulfillment_order.js +2 -2
- package/dist/rest-resources/2021-04/balance.js +1 -1
- package/dist/rest-resources/2021-04/blog.js +11 -11
- package/dist/rest-resources/2021-04/cancellation_request.js +7 -7
- package/dist/rest-resources/2021-04/carrier_service.js +7 -7
- package/dist/rest-resources/2021-04/checkout.d.ts +1 -4
- package/dist/rest-resources/2021-04/checkout.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/checkout.js +11 -13
- package/dist/rest-resources/2021-04/collect.js +9 -9
- package/dist/rest-resources/2021-04/collection.js +7 -7
- package/dist/rest-resources/2021-04/collection_listing.js +11 -11
- package/dist/rest-resources/2021-04/comment.js +19 -19
- package/dist/rest-resources/2021-04/country.js +11 -11
- package/dist/rest-resources/2021-04/currency.js +1 -1
- package/dist/rest-resources/2021-04/custom_collection.js +11 -11
- package/dist/rest-resources/2021-04/customer.d.ts +1 -9
- package/dist/rest-resources/2021-04/customer.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/customer.js +17 -40
- package/dist/rest-resources/2021-04/customer_address.js +13 -13
- package/dist/rest-resources/2021-04/customer_saved_search.js +14 -14
- package/dist/rest-resources/2021-04/deprecated_api_call.js +1 -1
- package/dist/rest-resources/2021-04/discount_code.js +17 -17
- package/dist/rest-resources/2021-04/dispute.d.ts +1 -4
- package/dist/rest-resources/2021-04/dispute.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/dispute.js +5 -8
- package/dist/rest-resources/2021-04/draft_order.d.ts +1 -4
- package/dist/rest-resources/2021-04/draft_order.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/draft_order.js +17 -19
- package/dist/rest-resources/2021-04/event.js +10 -10
- package/dist/rest-resources/2021-04/fulfillment.js +22 -22
- package/dist/rest-resources/2021-04/fulfillment_event.js +10 -10
- package/dist/rest-resources/2021-04/fulfillment_order.js +16 -16
- package/dist/rest-resources/2021-04/fulfillment_request.js +7 -7
- package/dist/rest-resources/2021-04/fulfillment_service.js +8 -8
- package/dist/rest-resources/2021-04/gift_card.d.ts +2 -8
- package/dist/rest-resources/2021-04/gift_card.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/gift_card.js +13 -18
- package/dist/rest-resources/2021-04/gift_card_adjustment.js +5 -5
- package/dist/rest-resources/2021-04/image.js +13 -13
- package/dist/rest-resources/2021-04/inventory_item.js +5 -5
- package/dist/rest-resources/2021-04/inventory_level.js +10 -10
- package/dist/rest-resources/2021-04/location.d.ts +2 -8
- package/dist/rest-resources/2021-04/location.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/location.js +7 -12
- package/dist/rest-resources/2021-04/locations_for_move.js +2 -2
- package/dist/rest-resources/2021-04/marketing_event.js +12 -12
- package/dist/rest-resources/2021-04/metafield.js +11 -11
- package/dist/rest-resources/2021-04/mobile_platform_application.js +7 -7
- package/dist/rest-resources/2021-04/order.js +22 -22
- package/dist/rest-resources/2021-04/order_risk.js +8 -8
- package/dist/rest-resources/2021-04/page.js +12 -12
- package/dist/rest-resources/2021-04/payment.js +9 -9
- package/dist/rest-resources/2021-04/payment_gateway.js +7 -7
- package/dist/rest-resources/2021-04/payment_transaction.js +3 -3
- package/dist/rest-resources/2021-04/payout.d.ts +1 -4
- package/dist/rest-resources/2021-04/payout.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/payout.js +5 -8
- package/dist/rest-resources/2021-04/policy.js +1 -1
- package/dist/rest-resources/2021-04/price_rule.js +9 -9
- package/dist/rest-resources/2021-04/product.js +13 -13
- package/dist/rest-resources/2021-04/product_listing.js +12 -12
- package/dist/rest-resources/2021-04/product_resource_feedback.js +3 -3
- package/dist/rest-resources/2021-04/province.js +9 -9
- package/dist/rest-resources/2021-04/recurring_application_charge.js +10 -10
- package/dist/rest-resources/2021-04/redirect.js +11 -11
- package/dist/rest-resources/2021-04/refund.js +11 -11
- package/dist/rest-resources/2021-04/report.js +9 -9
- package/dist/rest-resources/2021-04/resource_feedback.js +2 -2
- package/dist/rest-resources/2021-04/script_tag.js +11 -11
- package/dist/rest-resources/2021-04/shipping_zone.js +4 -4
- package/dist/rest-resources/2021-04/shop.d.ts +3 -12
- package/dist/rest-resources/2021-04/shop.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/shop.js +3 -10
- package/dist/rest-resources/2021-04/smart_collection.js +14 -14
- package/dist/rest-resources/2021-04/storefront_access_token.d.ts +1 -4
- package/dist/rest-resources/2021-04/storefront_access_token.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/storefront_access_token.js +5 -8
- package/dist/rest-resources/2021-04/tender_transaction.d.ts +1 -4
- package/dist/rest-resources/2021-04/tender_transaction.d.ts.map +1 -1
- package/dist/rest-resources/2021-04/tender_transaction.js +3 -6
- package/dist/rest-resources/2021-04/theme.js +9 -9
- package/dist/rest-resources/2021-04/transaction.js +9 -9
- package/dist/rest-resources/2021-04/usage_charge.js +7 -7
- package/dist/rest-resources/2021-04/user.js +5 -5
- package/dist/rest-resources/2021-04/variant.js +12 -12
- package/dist/rest-resources/2021-04/webhook.js +11 -11
- package/dist/rest-resources/2021-07/abandoned_checkout.js +6 -6
- package/dist/rest-resources/2021-07/access_scope.js +1 -1
- package/dist/rest-resources/2021-07/android_pay_key.js +5 -5
- package/dist/rest-resources/2021-07/apple_pay_certificate.js +8 -8
- package/dist/rest-resources/2021-07/application_charge.js +6 -6
- package/dist/rest-resources/2021-07/application_credit.js +6 -6
- package/dist/rest-resources/2021-07/article.js +19 -19
- package/dist/rest-resources/2021-07/asset.js +8 -8
- package/dist/rest-resources/2021-07/assigned_fulfillment_order.js +2 -2
- package/dist/rest-resources/2021-07/balance.js +1 -1
- package/dist/rest-resources/2021-07/blog.js +11 -11
- package/dist/rest-resources/2021-07/cancellation_request.js +7 -7
- package/dist/rest-resources/2021-07/carrier_service.js +7 -7
- package/dist/rest-resources/2021-07/checkout.d.ts +1 -4
- package/dist/rest-resources/2021-07/checkout.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/checkout.js +11 -13
- package/dist/rest-resources/2021-07/collect.js +9 -9
- package/dist/rest-resources/2021-07/collection.js +7 -7
- package/dist/rest-resources/2021-07/collection_listing.js +11 -11
- package/dist/rest-resources/2021-07/comment.js +19 -19
- package/dist/rest-resources/2021-07/country.js +11 -11
- package/dist/rest-resources/2021-07/currency.js +1 -1
- package/dist/rest-resources/2021-07/custom_collection.js +11 -11
- package/dist/rest-resources/2021-07/customer.d.ts +1 -9
- package/dist/rest-resources/2021-07/customer.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/customer.js +17 -40
- package/dist/rest-resources/2021-07/customer_address.js +13 -13
- package/dist/rest-resources/2021-07/customer_saved_search.js +14 -14
- package/dist/rest-resources/2021-07/deprecated_api_call.js +1 -1
- package/dist/rest-resources/2021-07/discount_code.js +17 -17
- package/dist/rest-resources/2021-07/dispute.d.ts +1 -4
- package/dist/rest-resources/2021-07/dispute.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/dispute.js +5 -8
- package/dist/rest-resources/2021-07/draft_order.d.ts +1 -4
- package/dist/rest-resources/2021-07/draft_order.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/draft_order.js +17 -19
- package/dist/rest-resources/2021-07/event.js +10 -10
- package/dist/rest-resources/2021-07/fulfillment.js +22 -22
- package/dist/rest-resources/2021-07/fulfillment_event.js +10 -10
- package/dist/rest-resources/2021-07/fulfillment_order.js +16 -16
- package/dist/rest-resources/2021-07/fulfillment_request.js +7 -7
- package/dist/rest-resources/2021-07/fulfillment_service.js +8 -8
- package/dist/rest-resources/2021-07/gift_card.d.ts +2 -8
- package/dist/rest-resources/2021-07/gift_card.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/gift_card.js +13 -18
- package/dist/rest-resources/2021-07/gift_card_adjustment.js +5 -5
- package/dist/rest-resources/2021-07/image.js +13 -13
- package/dist/rest-resources/2021-07/inventory_item.js +5 -5
- package/dist/rest-resources/2021-07/inventory_level.js +10 -10
- package/dist/rest-resources/2021-07/location.d.ts +2 -8
- package/dist/rest-resources/2021-07/location.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/location.js +7 -12
- package/dist/rest-resources/2021-07/locations_for_move.js +2 -2
- package/dist/rest-resources/2021-07/marketing_event.js +12 -12
- package/dist/rest-resources/2021-07/metafield.js +11 -11
- package/dist/rest-resources/2021-07/mobile_platform_application.js +7 -7
- package/dist/rest-resources/2021-07/order.js +22 -22
- package/dist/rest-resources/2021-07/order_risk.js +8 -8
- package/dist/rest-resources/2021-07/page.js +12 -12
- package/dist/rest-resources/2021-07/payment.js +9 -9
- package/dist/rest-resources/2021-07/payment_gateway.js +7 -7
- package/dist/rest-resources/2021-07/payment_transaction.js +3 -3
- package/dist/rest-resources/2021-07/payout.d.ts +1 -4
- package/dist/rest-resources/2021-07/payout.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/payout.js +5 -8
- package/dist/rest-resources/2021-07/policy.js +1 -1
- package/dist/rest-resources/2021-07/price_rule.js +9 -9
- package/dist/rest-resources/2021-07/product.js +13 -13
- package/dist/rest-resources/2021-07/product_listing.js +12 -12
- package/dist/rest-resources/2021-07/product_resource_feedback.js +3 -3
- package/dist/rest-resources/2021-07/province.js +9 -9
- package/dist/rest-resources/2021-07/recurring_application_charge.js +10 -10
- package/dist/rest-resources/2021-07/redirect.js +11 -11
- package/dist/rest-resources/2021-07/refund.js +11 -11
- package/dist/rest-resources/2021-07/report.js +9 -9
- package/dist/rest-resources/2021-07/resource_feedback.js +2 -2
- package/dist/rest-resources/2021-07/script_tag.js +11 -11
- package/dist/rest-resources/2021-07/shipping_zone.js +4 -4
- package/dist/rest-resources/2021-07/shop.d.ts +3 -12
- package/dist/rest-resources/2021-07/shop.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/shop.js +3 -10
- package/dist/rest-resources/2021-07/smart_collection.js +14 -14
- package/dist/rest-resources/2021-07/storefront_access_token.d.ts +1 -4
- package/dist/rest-resources/2021-07/storefront_access_token.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/storefront_access_token.js +5 -8
- package/dist/rest-resources/2021-07/tender_transaction.d.ts +1 -4
- package/dist/rest-resources/2021-07/tender_transaction.d.ts.map +1 -1
- package/dist/rest-resources/2021-07/tender_transaction.js +3 -6
- package/dist/rest-resources/2021-07/theme.js +9 -9
- package/dist/rest-resources/2021-07/transaction.js +9 -9
- package/dist/rest-resources/2021-07/usage_charge.js +7 -7
- package/dist/rest-resources/2021-07/user.js +5 -5
- package/dist/rest-resources/2021-07/variant.js +12 -12
- package/dist/rest-resources/2021-07/webhook.js +11 -11
- package/dist/rest-resources/2021-10/abandoned_checkout.js +6 -6
- package/dist/rest-resources/2021-10/access_scope.js +1 -1
- package/dist/rest-resources/2021-10/android_pay_key.js +5 -5
- package/dist/rest-resources/2021-10/apple_pay_certificate.js +8 -8
- package/dist/rest-resources/2021-10/application_charge.js +6 -6
- package/dist/rest-resources/2021-10/application_credit.js +6 -6
- package/dist/rest-resources/2021-10/article.js +19 -19
- package/dist/rest-resources/2021-10/asset.js +8 -8
- package/dist/rest-resources/2021-10/assigned_fulfillment_order.js +2 -2
- package/dist/rest-resources/2021-10/balance.js +1 -1
- package/dist/rest-resources/2021-10/blog.js +11 -11
- package/dist/rest-resources/2021-10/cancellation_request.js +7 -7
- package/dist/rest-resources/2021-10/carrier_service.js +7 -7
- package/dist/rest-resources/2021-10/checkout.d.ts +1 -4
- package/dist/rest-resources/2021-10/checkout.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/checkout.js +11 -13
- package/dist/rest-resources/2021-10/collect.js +9 -9
- package/dist/rest-resources/2021-10/collection.js +7 -7
- package/dist/rest-resources/2021-10/collection_listing.js +11 -11
- package/dist/rest-resources/2021-10/comment.js +19 -19
- package/dist/rest-resources/2021-10/country.js +11 -11
- package/dist/rest-resources/2021-10/currency.js +1 -1
- package/dist/rest-resources/2021-10/custom_collection.js +11 -11
- package/dist/rest-resources/2021-10/customer.d.ts +1 -9
- package/dist/rest-resources/2021-10/customer.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/customer.js +17 -40
- package/dist/rest-resources/2021-10/customer_address.js +13 -13
- package/dist/rest-resources/2021-10/customer_saved_search.js +14 -14
- package/dist/rest-resources/2021-10/deprecated_api_call.js +1 -1
- package/dist/rest-resources/2021-10/discount_code.js +17 -17
- package/dist/rest-resources/2021-10/dispute.d.ts +1 -4
- package/dist/rest-resources/2021-10/dispute.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/dispute.js +5 -8
- package/dist/rest-resources/2021-10/draft_order.d.ts +1 -4
- package/dist/rest-resources/2021-10/draft_order.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/draft_order.js +17 -19
- package/dist/rest-resources/2021-10/event.js +10 -10
- package/dist/rest-resources/2021-10/fulfillment.js +22 -22
- package/dist/rest-resources/2021-10/fulfillment_event.js +10 -10
- package/dist/rest-resources/2021-10/fulfillment_order.js +21 -21
- package/dist/rest-resources/2021-10/fulfillment_request.js +7 -7
- package/dist/rest-resources/2021-10/fulfillment_service.js +8 -8
- package/dist/rest-resources/2021-10/gift_card.d.ts +2 -8
- package/dist/rest-resources/2021-10/gift_card.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/gift_card.js +13 -18
- package/dist/rest-resources/2021-10/gift_card_adjustment.js +5 -5
- package/dist/rest-resources/2021-10/image.js +13 -13
- package/dist/rest-resources/2021-10/inventory_item.js +5 -5
- package/dist/rest-resources/2021-10/inventory_level.js +10 -10
- package/dist/rest-resources/2021-10/location.d.ts +2 -8
- package/dist/rest-resources/2021-10/location.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/location.js +7 -12
- package/dist/rest-resources/2021-10/locations_for_move.js +2 -2
- package/dist/rest-resources/2021-10/marketing_event.js +12 -12
- package/dist/rest-resources/2021-10/metafield.js +11 -11
- package/dist/rest-resources/2021-10/mobile_platform_application.js +7 -7
- package/dist/rest-resources/2021-10/order.js +22 -22
- package/dist/rest-resources/2021-10/order_risk.js +8 -8
- package/dist/rest-resources/2021-10/page.js +12 -12
- package/dist/rest-resources/2021-10/payment.js +9 -9
- package/dist/rest-resources/2021-10/payment_gateway.js +7 -7
- package/dist/rest-resources/2021-10/payment_transaction.js +3 -3
- package/dist/rest-resources/2021-10/payout.d.ts +1 -4
- package/dist/rest-resources/2021-10/payout.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/payout.js +5 -8
- package/dist/rest-resources/2021-10/policy.js +1 -1
- package/dist/rest-resources/2021-10/price_rule.js +9 -9
- package/dist/rest-resources/2021-10/product.js +13 -13
- package/dist/rest-resources/2021-10/product_listing.js +12 -12
- package/dist/rest-resources/2021-10/product_resource_feedback.js +3 -3
- package/dist/rest-resources/2021-10/province.js +9 -9
- package/dist/rest-resources/2021-10/recurring_application_charge.js +10 -10
- package/dist/rest-resources/2021-10/redirect.js +11 -11
- package/dist/rest-resources/2021-10/refund.js +11 -11
- package/dist/rest-resources/2021-10/report.js +9 -9
- package/dist/rest-resources/2021-10/resource_feedback.js +2 -2
- package/dist/rest-resources/2021-10/script_tag.js +11 -11
- package/dist/rest-resources/2021-10/shipping_zone.js +4 -4
- package/dist/rest-resources/2021-10/shop.d.ts +3 -12
- package/dist/rest-resources/2021-10/shop.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/shop.js +3 -10
- package/dist/rest-resources/2021-10/smart_collection.js +14 -14
- package/dist/rest-resources/2021-10/storefront_access_token.d.ts +1 -4
- package/dist/rest-resources/2021-10/storefront_access_token.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/storefront_access_token.js +5 -8
- package/dist/rest-resources/2021-10/tender_transaction.d.ts +1 -4
- package/dist/rest-resources/2021-10/tender_transaction.d.ts.map +1 -1
- package/dist/rest-resources/2021-10/tender_transaction.js +3 -6
- package/dist/rest-resources/2021-10/theme.js +9 -9
- package/dist/rest-resources/2021-10/transaction.js +9 -9
- package/dist/rest-resources/2021-10/usage_charge.js +7 -7
- package/dist/rest-resources/2021-10/user.js +5 -5
- package/dist/rest-resources/2021-10/variant.js +12 -12
- package/dist/rest-resources/2021-10/webhook.js +11 -11
- package/dist/rest-resources/2022-01/abandoned_checkout.js +6 -6
- package/dist/rest-resources/2022-01/access_scope.js +1 -1
- package/dist/rest-resources/2022-01/android_pay_key.js +5 -5
- package/dist/rest-resources/2022-01/apple_pay_certificate.js +8 -8
- package/dist/rest-resources/2022-01/application_charge.js +6 -6
- package/dist/rest-resources/2022-01/application_credit.js +6 -6
- package/dist/rest-resources/2022-01/article.js +19 -19
- package/dist/rest-resources/2022-01/asset.js +8 -8
- package/dist/rest-resources/2022-01/assigned_fulfillment_order.js +2 -2
- package/dist/rest-resources/2022-01/balance.js +1 -1
- package/dist/rest-resources/2022-01/blog.js +11 -11
- package/dist/rest-resources/2022-01/cancellation_request.js +7 -7
- package/dist/rest-resources/2022-01/carrier_service.js +7 -7
- package/dist/rest-resources/2022-01/checkout.d.ts +1 -4
- package/dist/rest-resources/2022-01/checkout.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/checkout.js +11 -13
- package/dist/rest-resources/2022-01/collect.js +9 -9
- package/dist/rest-resources/2022-01/collection.js +7 -7
- package/dist/rest-resources/2022-01/collection_listing.js +11 -11
- package/dist/rest-resources/2022-01/comment.js +19 -19
- package/dist/rest-resources/2022-01/country.js +11 -11
- package/dist/rest-resources/2022-01/currency.js +1 -1
- package/dist/rest-resources/2022-01/custom_collection.js +11 -11
- package/dist/rest-resources/2022-01/customer.d.ts +1 -9
- package/dist/rest-resources/2022-01/customer.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/customer.js +17 -40
- package/dist/rest-resources/2022-01/customer_address.js +13 -13
- package/dist/rest-resources/2022-01/customer_saved_search.js +14 -14
- package/dist/rest-resources/2022-01/deprecated_api_call.js +1 -1
- package/dist/rest-resources/2022-01/discount_code.js +17 -17
- package/dist/rest-resources/2022-01/dispute.d.ts +1 -4
- package/dist/rest-resources/2022-01/dispute.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/dispute.js +5 -8
- package/dist/rest-resources/2022-01/draft_order.d.ts +1 -4
- package/dist/rest-resources/2022-01/draft_order.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/draft_order.js +17 -19
- package/dist/rest-resources/2022-01/event.js +10 -10
- package/dist/rest-resources/2022-01/fulfillment.js +22 -22
- package/dist/rest-resources/2022-01/fulfillment_event.js +10 -10
- package/dist/rest-resources/2022-01/fulfillment_order.js +21 -21
- package/dist/rest-resources/2022-01/fulfillment_request.js +7 -7
- package/dist/rest-resources/2022-01/fulfillment_service.js +8 -8
- package/dist/rest-resources/2022-01/gift_card.d.ts +2 -8
- package/dist/rest-resources/2022-01/gift_card.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/gift_card.js +13 -18
- package/dist/rest-resources/2022-01/gift_card_adjustment.js +5 -5
- package/dist/rest-resources/2022-01/image.js +13 -13
- package/dist/rest-resources/2022-01/inventory_item.js +5 -5
- package/dist/rest-resources/2022-01/inventory_level.js +10 -10
- package/dist/rest-resources/2022-01/location.d.ts +2 -8
- package/dist/rest-resources/2022-01/location.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/location.js +7 -12
- package/dist/rest-resources/2022-01/locations_for_move.js +2 -2
- package/dist/rest-resources/2022-01/marketing_event.js +12 -12
- package/dist/rest-resources/2022-01/metafield.js +11 -11
- package/dist/rest-resources/2022-01/mobile_platform_application.js +7 -7
- package/dist/rest-resources/2022-01/order.js +22 -22
- package/dist/rest-resources/2022-01/order_risk.js +8 -8
- package/dist/rest-resources/2022-01/page.js +12 -12
- package/dist/rest-resources/2022-01/payment.js +9 -9
- package/dist/rest-resources/2022-01/payment_gateway.js +7 -7
- package/dist/rest-resources/2022-01/payment_transaction.js +3 -3
- package/dist/rest-resources/2022-01/payout.d.ts +1 -4
- package/dist/rest-resources/2022-01/payout.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/payout.js +5 -8
- package/dist/rest-resources/2022-01/policy.js +1 -1
- package/dist/rest-resources/2022-01/price_rule.js +9 -9
- package/dist/rest-resources/2022-01/product.js +13 -13
- package/dist/rest-resources/2022-01/product_listing.js +12 -12
- package/dist/rest-resources/2022-01/product_resource_feedback.js +3 -3
- package/dist/rest-resources/2022-01/province.js +9 -9
- package/dist/rest-resources/2022-01/recurring_application_charge.js +10 -10
- package/dist/rest-resources/2022-01/redirect.js +11 -11
- package/dist/rest-resources/2022-01/refund.js +11 -11
- package/dist/rest-resources/2022-01/report.js +9 -9
- package/dist/rest-resources/2022-01/resource_feedback.js +2 -2
- package/dist/rest-resources/2022-01/script_tag.js +11 -11
- package/dist/rest-resources/2022-01/shipping_zone.js +4 -4
- package/dist/rest-resources/2022-01/shop.d.ts +3 -12
- package/dist/rest-resources/2022-01/shop.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/shop.js +3 -10
- package/dist/rest-resources/2022-01/smart_collection.js +14 -14
- package/dist/rest-resources/2022-01/storefront_access_token.d.ts +1 -4
- package/dist/rest-resources/2022-01/storefront_access_token.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/storefront_access_token.js +5 -8
- package/dist/rest-resources/2022-01/tender_transaction.d.ts +1 -4
- package/dist/rest-resources/2022-01/tender_transaction.d.ts.map +1 -1
- package/dist/rest-resources/2022-01/tender_transaction.js +3 -6
- package/dist/rest-resources/2022-01/theme.js +9 -9
- package/dist/rest-resources/2022-01/transaction.js +9 -9
- package/dist/rest-resources/2022-01/usage_charge.js +7 -7
- package/dist/rest-resources/2022-01/user.js +5 -5
- package/dist/rest-resources/2022-01/variant.js +12 -12
- package/dist/rest-resources/2022-01/webhook.js +11 -11
- package/package.json +1 -1
|
@@ -4,9 +4,6 @@ exports.Shop = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var base_rest_resource_1 = tslib_1.__importDefault(require("../../base-rest-resource"));
|
|
6
6
|
var base_types_1 = require("../../base-types");
|
|
7
|
-
var country_1 = require("./country");
|
|
8
|
-
var currency_1 = require("./currency");
|
|
9
|
-
var province_1 = require("./province");
|
|
10
7
|
var Shop = /** @class */ (function (_super) {
|
|
11
8
|
tslib_1.__extends(Shop, _super);
|
|
12
9
|
function Shop() {
|
|
@@ -21,7 +18,7 @@ var Shop = /** @class */ (function (_super) {
|
|
|
21
18
|
case 0: return [4 /*yield*/, Shop.baseFind({
|
|
22
19
|
session: session,
|
|
23
20
|
urlIds: {},
|
|
24
|
-
params: tslib_1.__assign({ fields: fields }, otherArgs),
|
|
21
|
+
params: tslib_1.__assign({ "fields": fields }, otherArgs),
|
|
25
22
|
})];
|
|
26
23
|
case 1:
|
|
27
24
|
response = _c.sent();
|
|
@@ -33,14 +30,10 @@ var Shop = /** @class */ (function (_super) {
|
|
|
33
30
|
Shop.API_VERSION = base_types_1.ApiVersion.October21;
|
|
34
31
|
Shop.NAME = 'shop';
|
|
35
32
|
Shop.PLURAL_NAME = 'shops';
|
|
36
|
-
Shop.HAS_ONE = {
|
|
37
|
-
country: country_1.Country,
|
|
38
|
-
currency: currency_1.Currency,
|
|
39
|
-
province: province_1.Province
|
|
40
|
-
};
|
|
33
|
+
Shop.HAS_ONE = {};
|
|
41
34
|
Shop.HAS_MANY = {};
|
|
42
35
|
Shop.PATHS = [
|
|
43
|
-
{ http_method: "get", operation: "get", ids: [], path: "shop.json" }
|
|
36
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "shop.json" }
|
|
44
37
|
];
|
|
45
38
|
return Shop;
|
|
46
39
|
}(base_rest_resource_1.default));
|
|
@@ -17,8 +17,8 @@ var SmartCollection = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_c.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, SmartCollection.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id },
|
|
21
|
-
params: { fields: fields },
|
|
20
|
+
urlIds: { "id": id },
|
|
21
|
+
params: { "fields": fields },
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
24
24
|
result = _c.sent();
|
|
@@ -37,7 +37,7 @@ var SmartCollection = /** @class */ (function (_super) {
|
|
|
37
37
|
http_method: "delete",
|
|
38
38
|
operation: "delete",
|
|
39
39
|
session: session,
|
|
40
|
-
urlIds: { id: id },
|
|
40
|
+
urlIds: { "id": id },
|
|
41
41
|
params: {},
|
|
42
42
|
})];
|
|
43
43
|
case 1:
|
|
@@ -56,7 +56,7 @@ var SmartCollection = /** @class */ (function (_super) {
|
|
|
56
56
|
case 0: return [4 /*yield*/, SmartCollection.baseFind({
|
|
57
57
|
session: session,
|
|
58
58
|
urlIds: {},
|
|
59
|
-
params: tslib_1.__assign({ limit: limit, ids: ids, since_id: since_id, title: title, product_id: product_id, handle: handle, updated_at_min: updated_at_min, updated_at_max: updated_at_max, published_at_min: published_at_min, published_at_max: published_at_max, published_status: published_status, fields: fields }, otherArgs),
|
|
59
|
+
params: tslib_1.__assign({ "limit": limit, "ids": ids, "since_id": since_id, "title": title, "product_id": product_id, "handle": handle, "updated_at_min": updated_at_min, "updated_at_max": updated_at_max, "published_at_min": published_at_min, "published_at_max": published_at_max, "published_status": published_status, "fields": fields }, otherArgs),
|
|
60
60
|
})];
|
|
61
61
|
case 1:
|
|
62
62
|
response = _p.sent();
|
|
@@ -76,7 +76,7 @@ var SmartCollection = /** @class */ (function (_super) {
|
|
|
76
76
|
operation: "count",
|
|
77
77
|
session: session,
|
|
78
78
|
urlIds: {},
|
|
79
|
-
params: tslib_1.__assign({ title: title, product_id: product_id, updated_at_min: updated_at_min, updated_at_max: updated_at_max, published_at_min: published_at_min, published_at_max: published_at_max, published_status: published_status }, otherArgs),
|
|
79
|
+
params: tslib_1.__assign({ "title": title, "product_id": product_id, "updated_at_min": updated_at_min, "updated_at_max": updated_at_max, "published_at_min": published_at_min, "published_at_max": published_at_max, "published_status": published_status }, otherArgs),
|
|
80
80
|
body: {},
|
|
81
81
|
entity: null,
|
|
82
82
|
})];
|
|
@@ -97,8 +97,8 @@ var SmartCollection = /** @class */ (function (_super) {
|
|
|
97
97
|
http_method: "put",
|
|
98
98
|
operation: "order",
|
|
99
99
|
session: this.session,
|
|
100
|
-
urlIds: { id: this.id },
|
|
101
|
-
params: tslib_1.__assign({ products: products, sort_order: sort_order }, otherArgs),
|
|
100
|
+
urlIds: { "id": this.id },
|
|
101
|
+
params: tslib_1.__assign({ "products": products, "sort_order": sort_order }, otherArgs),
|
|
102
102
|
body: body,
|
|
103
103
|
entity: this,
|
|
104
104
|
})];
|
|
@@ -115,13 +115,13 @@ var SmartCollection = /** @class */ (function (_super) {
|
|
|
115
115
|
SmartCollection.HAS_ONE = {};
|
|
116
116
|
SmartCollection.HAS_MANY = {};
|
|
117
117
|
SmartCollection.PATHS = [
|
|
118
|
-
{ http_method: "get", operation: "get", ids: [], path: "smart_collections.json" },
|
|
119
|
-
{ http_method: "post", operation: "post", ids: [], path: "smart_collections.json" },
|
|
120
|
-
{ http_method: "get", operation: "count", ids: [], path: "smart_collections/count.json" },
|
|
121
|
-
{ http_method: "get", operation: "get", ids: ["id"], path: "smart_collections/<id>.json" },
|
|
122
|
-
{ http_method: "put", operation: "put", ids: ["id"], path: "smart_collections/<id>.json" },
|
|
123
|
-
{ http_method: "delete", operation: "delete", ids: ["id"], path: "smart_collections/<id>.json" },
|
|
124
|
-
{ http_method: "put", operation: "order", ids: ["id"], path: "smart_collections/<id>/order.json" }
|
|
118
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "smart_collections.json" },
|
|
119
|
+
{ "http_method": "post", "operation": "post", "ids": [], "path": "smart_collections.json" },
|
|
120
|
+
{ "http_method": "get", "operation": "count", "ids": [], "path": "smart_collections/count.json" },
|
|
121
|
+
{ "http_method": "get", "operation": "get", "ids": ["id"], "path": "smart_collections/<id>.json" },
|
|
122
|
+
{ "http_method": "put", "operation": "put", "ids": ["id"], "path": "smart_collections/<id>.json" },
|
|
123
|
+
{ "http_method": "delete", "operation": "delete", "ids": ["id"], "path": "smart_collections/<id>.json" },
|
|
124
|
+
{ "http_method": "put", "operation": "order", "ids": ["id"], "path": "smart_collections/<id>/order.json" }
|
|
125
125
|
];
|
|
126
126
|
return SmartCollection;
|
|
127
127
|
}(base_rest_resource_1.default));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Base, { ResourcePath } from '../../base-rest-resource';
|
|
2
2
|
import { SessionInterface } from '../../auth/session/types';
|
|
3
3
|
import { ApiVersion } from '../../base-types';
|
|
4
|
-
import { AccessScope } from './access_scope';
|
|
5
4
|
interface DeleteArgs {
|
|
6
5
|
session: SessionInterface;
|
|
7
6
|
id: number | string;
|
|
@@ -24,9 +23,7 @@ export declare class StorefrontAccessToken extends Base {
|
|
|
24
23
|
static delete({ session, id }: DeleteArgs): Promise<unknown>;
|
|
25
24
|
static all({ session, ...otherArgs }: AllArgs): Promise<StorefrontAccessToken[]>;
|
|
26
25
|
title: string | null;
|
|
27
|
-
access_scope:
|
|
28
|
-
[key: string]: any;
|
|
29
|
-
};
|
|
26
|
+
access_scope: string | null;
|
|
30
27
|
access_token: string | null;
|
|
31
28
|
created_at: string | null;
|
|
32
29
|
id: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storefront_access_token.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2021-10/storefront_access_token.ts"],"names":[],"mappings":"AAAA,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,
|
|
1
|
+
{"version":3,"file":"storefront_access_token.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2021-10/storefront_access_token.ts"],"names":[],"mappings":"AAAA,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,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;CACrB;AACD,UAAU,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;CAC3B;AAED,qBAAa,qBAAsB,SAAQ,IAAI;IAC7C,OAAc,WAAW,aAAwB;IAEjD,SAAS,CAAC,MAAM,CAAC,IAAI,SAA6B;IAClD,SAAS,CAAC,MAAM,CAAC,WAAW,SAA8B;IAC1D,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,MAAM,CACxB,EACE,OAAO,EACP,EAAE,EACH,EAAE,UAAU,GACZ,OAAO,CAAC,OAAO,CAAC;WAYC,GAAG,CACrB,EACE,OAAO,EACP,GAAG,SAAS,EACb,EAAE,OAAO,GACT,OAAO,CAAC,qBAAqB,EAAE,CAAC;IAU5B,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B"}
|
|
@@ -4,7 +4,6 @@ exports.StorefrontAccessToken = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var base_rest_resource_1 = tslib_1.__importDefault(require("../../base-rest-resource"));
|
|
6
6
|
var base_types_1 = require("../../base-types");
|
|
7
|
-
var access_scope_1 = require("./access_scope");
|
|
8
7
|
var StorefrontAccessToken = /** @class */ (function (_super) {
|
|
9
8
|
tslib_1.__extends(StorefrontAccessToken, _super);
|
|
10
9
|
function StorefrontAccessToken() {
|
|
@@ -20,7 +19,7 @@ var StorefrontAccessToken = /** @class */ (function (_super) {
|
|
|
20
19
|
http_method: "delete",
|
|
21
20
|
operation: "delete",
|
|
22
21
|
session: session,
|
|
23
|
-
urlIds: { id: id },
|
|
22
|
+
urlIds: { "id": id },
|
|
24
23
|
params: {},
|
|
25
24
|
})];
|
|
26
25
|
case 1:
|
|
@@ -51,14 +50,12 @@ var StorefrontAccessToken = /** @class */ (function (_super) {
|
|
|
51
50
|
StorefrontAccessToken.API_VERSION = base_types_1.ApiVersion.October21;
|
|
52
51
|
StorefrontAccessToken.NAME = 'storefront_access_token';
|
|
53
52
|
StorefrontAccessToken.PLURAL_NAME = 'storefront_access_tokens';
|
|
54
|
-
StorefrontAccessToken.HAS_ONE = {
|
|
55
|
-
access_scope: access_scope_1.AccessScope
|
|
56
|
-
};
|
|
53
|
+
StorefrontAccessToken.HAS_ONE = {};
|
|
57
54
|
StorefrontAccessToken.HAS_MANY = {};
|
|
58
55
|
StorefrontAccessToken.PATHS = [
|
|
59
|
-
{ http_method: "post", operation: "post", ids: [], path: "storefront_access_tokens.json" },
|
|
60
|
-
{ http_method: "get", operation: "get", ids: [], path: "storefront_access_tokens.json" },
|
|
61
|
-
{ http_method: "delete", operation: "delete", ids: ["id"], path: "storefront_access_tokens/<id>.json" }
|
|
56
|
+
{ "http_method": "post", "operation": "post", "ids": [], "path": "storefront_access_tokens.json" },
|
|
57
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "storefront_access_tokens.json" },
|
|
58
|
+
{ "http_method": "delete", "operation": "delete", "ids": ["id"], "path": "storefront_access_tokens/<id>.json" }
|
|
62
59
|
];
|
|
63
60
|
return StorefrontAccessToken;
|
|
64
61
|
}(base_rest_resource_1.default));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import Base, { ResourcePath } from '../../base-rest-resource';
|
|
2
2
|
import { SessionInterface } from '../../auth/session/types';
|
|
3
3
|
import { ApiVersion } from '../../base-types';
|
|
4
|
-
import { Currency } from './currency';
|
|
5
4
|
interface AllArgs {
|
|
6
5
|
[key: string]: unknown;
|
|
7
6
|
session: SessionInterface;
|
|
@@ -25,9 +24,7 @@ export declare class TenderTransaction extends Base {
|
|
|
25
24
|
protected static PATHS: ResourcePath[];
|
|
26
25
|
static all({ session, limit, since_id, processed_at_min, processed_at_max, processed_at, order, ...otherArgs }: AllArgs): Promise<TenderTransaction[]>;
|
|
27
26
|
amount: string | null;
|
|
28
|
-
currency:
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
};
|
|
27
|
+
currency: string | null;
|
|
31
28
|
id: number | null;
|
|
32
29
|
order_id: number | null;
|
|
33
30
|
payment_details: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tender_transaction.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2021-10/tender_transaction.ts"],"names":[],"mappings":"AAAA,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,
|
|
1
|
+
{"version":3,"file":"tender_transaction.d.ts","sourceRoot":"","sources":["../../../src/rest-resources/2021-10/tender_transaction.ts"],"names":[],"mappings":"AAAA,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,OAAO;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;IACvB,OAAO,EAAE,gBAAgB,CAAC;IAC1B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,iBAAkB,SAAQ,IAAI;IACzC,OAAc,WAAW,aAAwB;IAEjD,SAAS,CAAC,MAAM,CAAC,IAAI,SAAwB;IAC7C,SAAS,CAAC,MAAM,CAAC,WAAW,SAAyB;IACrD,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,CAEpC;WAEkB,GAAG,CACrB,EACE,OAAO,EACP,KAAY,EACZ,QAAe,EACf,gBAAuB,EACvB,gBAAuB,EACvB,YAAmB,EACnB,KAAY,EACZ,GAAG,SAAS,EACb,EAAE,OAAO,GACT,OAAO,CAAC,iBAAiB,EAAE,CAAC;IAUxB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,eAAe,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC;IACjD,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CAC/B"}
|
|
@@ -4,7 +4,6 @@ exports.TenderTransaction = void 0;
|
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
var base_rest_resource_1 = tslib_1.__importDefault(require("../../base-rest-resource"));
|
|
6
6
|
var base_types_1 = require("../../base-types");
|
|
7
|
-
var currency_1 = require("./currency");
|
|
8
7
|
var TenderTransaction = /** @class */ (function (_super) {
|
|
9
8
|
tslib_1.__extends(TenderTransaction, _super);
|
|
10
9
|
function TenderTransaction() {
|
|
@@ -19,7 +18,7 @@ var TenderTransaction = /** @class */ (function (_super) {
|
|
|
19
18
|
case 0: return [4 /*yield*/, TenderTransaction.baseFind({
|
|
20
19
|
session: session,
|
|
21
20
|
urlIds: {},
|
|
22
|
-
params: tslib_1.__assign({ limit: limit, since_id: since_id, processed_at_min: processed_at_min, processed_at_max: processed_at_max, processed_at: processed_at, order: order }, otherArgs),
|
|
21
|
+
params: tslib_1.__assign({ "limit": limit, "since_id": since_id, "processed_at_min": processed_at_min, "processed_at_max": processed_at_max, "processed_at": processed_at, "order": order }, otherArgs),
|
|
23
22
|
})];
|
|
24
23
|
case 1:
|
|
25
24
|
response = _h.sent();
|
|
@@ -31,12 +30,10 @@ var TenderTransaction = /** @class */ (function (_super) {
|
|
|
31
30
|
TenderTransaction.API_VERSION = base_types_1.ApiVersion.October21;
|
|
32
31
|
TenderTransaction.NAME = 'tender_transaction';
|
|
33
32
|
TenderTransaction.PLURAL_NAME = 'tender_transactions';
|
|
34
|
-
TenderTransaction.HAS_ONE = {
|
|
35
|
-
currency: currency_1.Currency
|
|
36
|
-
};
|
|
33
|
+
TenderTransaction.HAS_ONE = {};
|
|
37
34
|
TenderTransaction.HAS_MANY = {};
|
|
38
35
|
TenderTransaction.PATHS = [
|
|
39
|
-
{ http_method: "get", operation: "get", ids: [], path: "tender_transactions.json" }
|
|
36
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "tender_transactions.json" }
|
|
40
37
|
];
|
|
41
38
|
return TenderTransaction;
|
|
42
39
|
}(base_rest_resource_1.default));
|
|
@@ -17,8 +17,8 @@ var Theme = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_c.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, Theme.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id },
|
|
21
|
-
params: { fields: fields },
|
|
20
|
+
urlIds: { "id": id },
|
|
21
|
+
params: { "fields": fields },
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
24
24
|
result = _c.sent();
|
|
@@ -37,7 +37,7 @@ var Theme = /** @class */ (function (_super) {
|
|
|
37
37
|
http_method: "delete",
|
|
38
38
|
operation: "delete",
|
|
39
39
|
session: session,
|
|
40
|
-
urlIds: { id: id },
|
|
40
|
+
urlIds: { "id": id },
|
|
41
41
|
params: {},
|
|
42
42
|
})];
|
|
43
43
|
case 1:
|
|
@@ -56,7 +56,7 @@ var Theme = /** @class */ (function (_super) {
|
|
|
56
56
|
case 0: return [4 /*yield*/, Theme.baseFind({
|
|
57
57
|
session: session,
|
|
58
58
|
urlIds: {},
|
|
59
|
-
params: tslib_1.__assign({ fields: fields }, otherArgs),
|
|
59
|
+
params: tslib_1.__assign({ "fields": fields }, otherArgs),
|
|
60
60
|
})];
|
|
61
61
|
case 1:
|
|
62
62
|
response = _c.sent();
|
|
@@ -71,11 +71,11 @@ var Theme = /** @class */ (function (_super) {
|
|
|
71
71
|
Theme.HAS_ONE = {};
|
|
72
72
|
Theme.HAS_MANY = {};
|
|
73
73
|
Theme.PATHS = [
|
|
74
|
-
{ http_method: "get", operation: "get", ids: [], path: "themes.json" },
|
|
75
|
-
{ http_method: "post", operation: "post", ids: [], path: "themes.json" },
|
|
76
|
-
{ http_method: "get", operation: "get", ids: ["id"], path: "themes/<id>.json" },
|
|
77
|
-
{ http_method: "put", operation: "put", ids: ["id"], path: "themes/<id>.json" },
|
|
78
|
-
{ http_method: "delete", operation: "delete", ids: ["id"], path: "themes/<id>.json" }
|
|
74
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "themes.json" },
|
|
75
|
+
{ "http_method": "post", "operation": "post", "ids": [], "path": "themes.json" },
|
|
76
|
+
{ "http_method": "get", "operation": "get", "ids": ["id"], "path": "themes/<id>.json" },
|
|
77
|
+
{ "http_method": "put", "operation": "put", "ids": ["id"], "path": "themes/<id>.json" },
|
|
78
|
+
{ "http_method": "delete", "operation": "delete", "ids": ["id"], "path": "themes/<id>.json" }
|
|
79
79
|
];
|
|
80
80
|
return Theme;
|
|
81
81
|
}(base_rest_resource_1.default));
|
|
@@ -17,8 +17,8 @@ var Transaction = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_e.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, Transaction.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id, order_id: order_id },
|
|
21
|
-
params: { fields: fields, in_shop_currency: in_shop_currency },
|
|
20
|
+
urlIds: { "id": id, "order_id": order_id },
|
|
21
|
+
params: { "fields": fields, "in_shop_currency": in_shop_currency },
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
24
24
|
result = _e.sent();
|
|
@@ -35,8 +35,8 @@ var Transaction = /** @class */ (function (_super) {
|
|
|
35
35
|
switch (_f.label) {
|
|
36
36
|
case 0: return [4 /*yield*/, Transaction.baseFind({
|
|
37
37
|
session: session,
|
|
38
|
-
urlIds: { order_id: order_id },
|
|
39
|
-
params: tslib_1.__assign({ since_id: since_id, fields: fields, in_shop_currency: in_shop_currency }, otherArgs),
|
|
38
|
+
urlIds: { "order_id": order_id },
|
|
39
|
+
params: tslib_1.__assign({ "since_id": since_id, "fields": fields, "in_shop_currency": in_shop_currency }, otherArgs),
|
|
40
40
|
})];
|
|
41
41
|
case 1:
|
|
42
42
|
response = _f.sent();
|
|
@@ -55,7 +55,7 @@ var Transaction = /** @class */ (function (_super) {
|
|
|
55
55
|
http_method: "get",
|
|
56
56
|
operation: "count",
|
|
57
57
|
session: session,
|
|
58
|
-
urlIds: { order_id: order_id },
|
|
58
|
+
urlIds: { "order_id": order_id },
|
|
59
59
|
params: tslib_1.__assign({}, otherArgs),
|
|
60
60
|
body: {},
|
|
61
61
|
entity: null,
|
|
@@ -73,10 +73,10 @@ var Transaction = /** @class */ (function (_super) {
|
|
|
73
73
|
Transaction.HAS_ONE = {};
|
|
74
74
|
Transaction.HAS_MANY = {};
|
|
75
75
|
Transaction.PATHS = [
|
|
76
|
-
{ http_method: "get", operation: "get", ids: ["order_id"], path: "orders/<order_id>/transactions.json" },
|
|
77
|
-
{ http_method: "post", operation: "post", ids: ["order_id"], path: "orders/<order_id>/transactions.json" },
|
|
78
|
-
{ http_method: "get", operation: "count", ids: ["order_id"], path: "orders/<order_id>/transactions/count.json" },
|
|
79
|
-
{ http_method: "get", operation: "get", ids: ["order_id", "id"], path: "orders/<order_id>/transactions/<id>.json" }
|
|
76
|
+
{ "http_method": "get", "operation": "get", "ids": ["order_id"], "path": "orders/<order_id>/transactions.json" },
|
|
77
|
+
{ "http_method": "post", "operation": "post", "ids": ["order_id"], "path": "orders/<order_id>/transactions.json" },
|
|
78
|
+
{ "http_method": "get", "operation": "count", "ids": ["order_id"], "path": "orders/<order_id>/transactions/count.json" },
|
|
79
|
+
{ "http_method": "get", "operation": "get", "ids": ["order_id", "id"], "path": "orders/<order_id>/transactions/<id>.json" }
|
|
80
80
|
];
|
|
81
81
|
return Transaction;
|
|
82
82
|
}(base_rest_resource_1.default));
|
|
@@ -17,8 +17,8 @@ var UsageCharge = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_d.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, UsageCharge.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id, recurring_application_charge_id: recurring_application_charge_id },
|
|
21
|
-
params: { fields: fields },
|
|
20
|
+
urlIds: { "id": id, "recurring_application_charge_id": recurring_application_charge_id },
|
|
21
|
+
params: { "fields": fields },
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
24
24
|
result = _d.sent();
|
|
@@ -35,8 +35,8 @@ var UsageCharge = /** @class */ (function (_super) {
|
|
|
35
35
|
switch (_d.label) {
|
|
36
36
|
case 0: return [4 /*yield*/, UsageCharge.baseFind({
|
|
37
37
|
session: session,
|
|
38
|
-
urlIds: { recurring_application_charge_id: recurring_application_charge_id },
|
|
39
|
-
params: tslib_1.__assign({ fields: fields }, otherArgs),
|
|
38
|
+
urlIds: { "recurring_application_charge_id": recurring_application_charge_id },
|
|
39
|
+
params: tslib_1.__assign({ "fields": fields }, otherArgs),
|
|
40
40
|
})];
|
|
41
41
|
case 1:
|
|
42
42
|
response = _d.sent();
|
|
@@ -51,9 +51,9 @@ var UsageCharge = /** @class */ (function (_super) {
|
|
|
51
51
|
UsageCharge.HAS_ONE = {};
|
|
52
52
|
UsageCharge.HAS_MANY = {};
|
|
53
53
|
UsageCharge.PATHS = [
|
|
54
|
-
{ http_method: "post", operation: "post", ids: ["recurring_application_charge_id"], path: "recurring_application_charges/<recurring_application_charge_id>/usage_charges.json" },
|
|
55
|
-
{ http_method: "get", operation: "get", ids: ["recurring_application_charge_id"], path: "recurring_application_charges/<recurring_application_charge_id>/usage_charges.json" },
|
|
56
|
-
{ http_method: "get", operation: "get", ids: ["recurring_application_charge_id", "id"], path: "recurring_application_charges/<recurring_application_charge_id>/usage_charges/<id>.json" }
|
|
54
|
+
{ "http_method": "post", "operation": "post", "ids": ["recurring_application_charge_id"], "path": "recurring_application_charges/<recurring_application_charge_id>/usage_charges.json" },
|
|
55
|
+
{ "http_method": "get", "operation": "get", "ids": ["recurring_application_charge_id"], "path": "recurring_application_charges/<recurring_application_charge_id>/usage_charges.json" },
|
|
56
|
+
{ "http_method": "get", "operation": "get", "ids": ["recurring_application_charge_id", "id"], "path": "recurring_application_charges/<recurring_application_charge_id>/usage_charges/<id>.json" }
|
|
57
57
|
];
|
|
58
58
|
return UsageCharge;
|
|
59
59
|
}(base_rest_resource_1.default));
|
|
@@ -17,7 +17,7 @@ var User = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_b.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, User.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id },
|
|
20
|
+
urlIds: { "id": id },
|
|
21
21
|
params: {},
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
@@ -36,7 +36,7 @@ var User = /** @class */ (function (_super) {
|
|
|
36
36
|
case 0: return [4 /*yield*/, User.baseFind({
|
|
37
37
|
session: session,
|
|
38
38
|
urlIds: {},
|
|
39
|
-
params: tslib_1.__assign({ limit: limit, page_info: page_info }, otherArgs),
|
|
39
|
+
params: tslib_1.__assign({ "limit": limit, "page_info": page_info }, otherArgs),
|
|
40
40
|
})];
|
|
41
41
|
case 1:
|
|
42
42
|
response = _d.sent();
|
|
@@ -73,9 +73,9 @@ var User = /** @class */ (function (_super) {
|
|
|
73
73
|
User.HAS_ONE = {};
|
|
74
74
|
User.HAS_MANY = {};
|
|
75
75
|
User.PATHS = [
|
|
76
|
-
{ http_method: "get", operation: "get", ids: [], path: "users.json" },
|
|
77
|
-
{ http_method: "get", operation: "get", ids: ["id"], path: "users/<id>.json" },
|
|
78
|
-
{ http_method: "get", operation: "current", ids: [], path: "users/current.json" }
|
|
76
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "users.json" },
|
|
77
|
+
{ "http_method": "get", "operation": "get", "ids": ["id"], "path": "users/<id>.json" },
|
|
78
|
+
{ "http_method": "get", "operation": "current", "ids": [], "path": "users/current.json" }
|
|
79
79
|
];
|
|
80
80
|
return User;
|
|
81
81
|
}(base_rest_resource_1.default));
|
|
@@ -17,8 +17,8 @@ var Variant = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_c.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, Variant.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id },
|
|
21
|
-
params: { fields: fields },
|
|
20
|
+
urlIds: { "id": id },
|
|
21
|
+
params: { "fields": fields },
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
24
24
|
result = _c.sent();
|
|
@@ -37,7 +37,7 @@ var Variant = /** @class */ (function (_super) {
|
|
|
37
37
|
http_method: "delete",
|
|
38
38
|
operation: "delete",
|
|
39
39
|
session: session,
|
|
40
|
-
urlIds: { id: id, product_id: product_id },
|
|
40
|
+
urlIds: { "id": id, "product_id": product_id },
|
|
41
41
|
params: {},
|
|
42
42
|
})];
|
|
43
43
|
case 1:
|
|
@@ -55,8 +55,8 @@ var Variant = /** @class */ (function (_super) {
|
|
|
55
55
|
switch (_g.label) {
|
|
56
56
|
case 0: return [4 /*yield*/, Variant.baseFind({
|
|
57
57
|
session: session,
|
|
58
|
-
urlIds: { product_id: product_id },
|
|
59
|
-
params: tslib_1.__assign({ limit: limit, presentment_currencies: presentment_currencies, since_id: since_id, fields: fields }, otherArgs),
|
|
58
|
+
urlIds: { "product_id": product_id },
|
|
59
|
+
params: tslib_1.__assign({ "limit": limit, "presentment_currencies": presentment_currencies, "since_id": since_id, "fields": fields }, otherArgs),
|
|
60
60
|
})];
|
|
61
61
|
case 1:
|
|
62
62
|
response = _g.sent();
|
|
@@ -75,7 +75,7 @@ var Variant = /** @class */ (function (_super) {
|
|
|
75
75
|
http_method: "get",
|
|
76
76
|
operation: "count",
|
|
77
77
|
session: session,
|
|
78
|
-
urlIds: { product_id: product_id },
|
|
78
|
+
urlIds: { "product_id": product_id },
|
|
79
79
|
params: tslib_1.__assign({}, otherArgs),
|
|
80
80
|
body: {},
|
|
81
81
|
entity: null,
|
|
@@ -93,12 +93,12 @@ var Variant = /** @class */ (function (_super) {
|
|
|
93
93
|
Variant.HAS_ONE = {};
|
|
94
94
|
Variant.HAS_MANY = {};
|
|
95
95
|
Variant.PATHS = [
|
|
96
|
-
{ http_method: "get", operation: "get", ids: ["product_id"], path: "products/<product_id>/variants.json" },
|
|
97
|
-
{ http_method: "get", operation: "count", ids: ["product_id"], path: "products/<product_id>/variants/count.json" },
|
|
98
|
-
{ http_method: "get", operation: "get", ids: ["id"], path: "variants/<id>.json" },
|
|
99
|
-
{ http_method: "put", operation: "put", ids: ["id"], path: "variants/<id>.json" },
|
|
100
|
-
{ http_method: "post", operation: "post", ids: ["product_id"], path: "products/<product_id>/variants.json" },
|
|
101
|
-
{ http_method: "delete", operation: "delete", ids: ["product_id", "id"], path: "products/<product_id>/variants/<id>.json" }
|
|
96
|
+
{ "http_method": "get", "operation": "get", "ids": ["product_id"], "path": "products/<product_id>/variants.json" },
|
|
97
|
+
{ "http_method": "get", "operation": "count", "ids": ["product_id"], "path": "products/<product_id>/variants/count.json" },
|
|
98
|
+
{ "http_method": "get", "operation": "get", "ids": ["id"], "path": "variants/<id>.json" },
|
|
99
|
+
{ "http_method": "put", "operation": "put", "ids": ["id"], "path": "variants/<id>.json" },
|
|
100
|
+
{ "http_method": "post", "operation": "post", "ids": ["product_id"], "path": "products/<product_id>/variants.json" },
|
|
101
|
+
{ "http_method": "delete", "operation": "delete", "ids": ["product_id", "id"], "path": "products/<product_id>/variants/<id>.json" }
|
|
102
102
|
];
|
|
103
103
|
return Variant;
|
|
104
104
|
}(base_rest_resource_1.default));
|
|
@@ -17,8 +17,8 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_c.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, Webhook.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id },
|
|
21
|
-
params: { fields: fields },
|
|
20
|
+
urlIds: { "id": id },
|
|
21
|
+
params: { "fields": fields },
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
24
24
|
result = _c.sent();
|
|
@@ -37,7 +37,7 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
37
37
|
http_method: "delete",
|
|
38
38
|
operation: "delete",
|
|
39
39
|
session: session,
|
|
40
|
-
urlIds: { id: id },
|
|
40
|
+
urlIds: { "id": id },
|
|
41
41
|
params: {},
|
|
42
42
|
})];
|
|
43
43
|
case 1:
|
|
@@ -56,7 +56,7 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
56
56
|
case 0: return [4 /*yield*/, Webhook.baseFind({
|
|
57
57
|
session: session,
|
|
58
58
|
urlIds: {},
|
|
59
|
-
params: tslib_1.__assign({ address: address, created_at_max: created_at_max, created_at_min: created_at_min, fields: fields, limit: limit, since_id: since_id, topic: topic, updated_at_min: updated_at_min, updated_at_max: updated_at_max }, otherArgs),
|
|
59
|
+
params: tslib_1.__assign({ "address": address, "created_at_max": created_at_max, "created_at_min": created_at_min, "fields": fields, "limit": limit, "since_id": since_id, "topic": topic, "updated_at_min": updated_at_min, "updated_at_max": updated_at_max }, otherArgs),
|
|
60
60
|
})];
|
|
61
61
|
case 1:
|
|
62
62
|
response = _l.sent();
|
|
@@ -76,7 +76,7 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
76
76
|
operation: "count",
|
|
77
77
|
session: session,
|
|
78
78
|
urlIds: {},
|
|
79
|
-
params: tslib_1.__assign({ address: address, topic: topic }, otherArgs),
|
|
79
|
+
params: tslib_1.__assign({ "address": address, "topic": topic }, otherArgs),
|
|
80
80
|
body: {},
|
|
81
81
|
entity: null,
|
|
82
82
|
})];
|
|
@@ -93,12 +93,12 @@ var Webhook = /** @class */ (function (_super) {
|
|
|
93
93
|
Webhook.HAS_ONE = {};
|
|
94
94
|
Webhook.HAS_MANY = {};
|
|
95
95
|
Webhook.PATHS = [
|
|
96
|
-
{ http_method: "get", operation: "get", ids: [], path: "webhooks.json" },
|
|
97
|
-
{ http_method: "post", operation: "post", ids: [], path: "webhooks.json" },
|
|
98
|
-
{ http_method: "get", operation: "count", ids: [], path: "webhooks/count.json" },
|
|
99
|
-
{ http_method: "get", operation: "get", ids: ["id"], path: "webhooks/<id>.json" },
|
|
100
|
-
{ http_method: "put", operation: "put", ids: ["id"], path: "webhooks/<id>.json" },
|
|
101
|
-
{ http_method: "delete", operation: "delete", ids: ["id"], path: "webhooks/<id>.json" }
|
|
96
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "webhooks.json" },
|
|
97
|
+
{ "http_method": "post", "operation": "post", "ids": [], "path": "webhooks.json" },
|
|
98
|
+
{ "http_method": "get", "operation": "count", "ids": [], "path": "webhooks/count.json" },
|
|
99
|
+
{ "http_method": "get", "operation": "get", "ids": ["id"], "path": "webhooks/<id>.json" },
|
|
100
|
+
{ "http_method": "put", "operation": "put", "ids": ["id"], "path": "webhooks/<id>.json" },
|
|
101
|
+
{ "http_method": "delete", "operation": "delete", "ids": ["id"], "path": "webhooks/<id>.json" }
|
|
102
102
|
];
|
|
103
103
|
return Webhook;
|
|
104
104
|
}(base_rest_resource_1.default));
|
|
@@ -23,7 +23,7 @@ var AbandonedCheckout = /** @class */ (function (_super) {
|
|
|
23
23
|
operation: "checkouts",
|
|
24
24
|
session: session,
|
|
25
25
|
urlIds: {},
|
|
26
|
-
params: tslib_1.__assign({ since_id: since_id, created_at_min: created_at_min, created_at_max: created_at_max, updated_at_min: updated_at_min, updated_at_max: updated_at_max, status: status, limit: limit }, otherArgs),
|
|
26
|
+
params: tslib_1.__assign({ "since_id": since_id, "created_at_min": created_at_min, "created_at_max": created_at_max, "updated_at_min": updated_at_min, "updated_at_max": updated_at_max, "status": status, "limit": limit }, otherArgs),
|
|
27
27
|
body: {},
|
|
28
28
|
entity: null,
|
|
29
29
|
})];
|
|
@@ -38,15 +38,15 @@ var AbandonedCheckout = /** @class */ (function (_super) {
|
|
|
38
38
|
AbandonedCheckout.NAME = 'abandoned_checkout';
|
|
39
39
|
AbandonedCheckout.PLURAL_NAME = 'abandoned_checkouts';
|
|
40
40
|
AbandonedCheckout.HAS_ONE = {
|
|
41
|
-
currency: currency_1.Currency,
|
|
42
|
-
customer: customer_1.Customer
|
|
41
|
+
"currency": currency_1.Currency,
|
|
42
|
+
"customer": customer_1.Customer
|
|
43
43
|
};
|
|
44
44
|
AbandonedCheckout.HAS_MANY = {
|
|
45
|
-
discount_codes: discount_code_1.DiscountCode
|
|
45
|
+
"discount_codes": discount_code_1.DiscountCode
|
|
46
46
|
};
|
|
47
47
|
AbandonedCheckout.PATHS = [
|
|
48
|
-
{ http_method: "get", operation: "checkouts", ids: [], path: "checkouts.json" },
|
|
49
|
-
{ http_method: "get", operation: "checkouts", ids: [], path: "checkouts.json" }
|
|
48
|
+
{ "http_method": "get", "operation": "checkouts", "ids": [], "path": "checkouts.json" },
|
|
49
|
+
{ "http_method": "get", "operation": "checkouts", "ids": [], "path": "checkouts.json" }
|
|
50
50
|
];
|
|
51
51
|
return AbandonedCheckout;
|
|
52
52
|
}(base_rest_resource_1.default));
|
|
@@ -34,7 +34,7 @@ var AccessScope = /** @class */ (function (_super) {
|
|
|
34
34
|
AccessScope.HAS_MANY = {};
|
|
35
35
|
AccessScope.CUSTOM_PREFIX = "/admin/oauth";
|
|
36
36
|
AccessScope.PATHS = [
|
|
37
|
-
{ http_method: "get", operation: "get", ids: [], path: "access_scopes.json" }
|
|
37
|
+
{ "http_method": "get", "operation": "get", "ids": [], "path": "access_scopes.json" }
|
|
38
38
|
];
|
|
39
39
|
return AccessScope;
|
|
40
40
|
}(base_rest_resource_1.default));
|
|
@@ -17,7 +17,7 @@ var AndroidPayKey = /** @class */ (function (_super) {
|
|
|
17
17
|
switch (_b.label) {
|
|
18
18
|
case 0: return [4 /*yield*/, AndroidPayKey.baseFind({
|
|
19
19
|
session: session,
|
|
20
|
-
urlIds: { id: id },
|
|
20
|
+
urlIds: { "id": id },
|
|
21
21
|
params: {},
|
|
22
22
|
})];
|
|
23
23
|
case 1:
|
|
@@ -37,7 +37,7 @@ var AndroidPayKey = /** @class */ (function (_super) {
|
|
|
37
37
|
http_method: "delete",
|
|
38
38
|
operation: "delete",
|
|
39
39
|
session: session,
|
|
40
|
-
urlIds: { id: id },
|
|
40
|
+
urlIds: { "id": id },
|
|
41
41
|
params: {},
|
|
42
42
|
})];
|
|
43
43
|
case 1:
|
|
@@ -53,9 +53,9 @@ var AndroidPayKey = /** @class */ (function (_super) {
|
|
|
53
53
|
AndroidPayKey.HAS_ONE = {};
|
|
54
54
|
AndroidPayKey.HAS_MANY = {};
|
|
55
55
|
AndroidPayKey.PATHS = [
|
|
56
|
-
{ http_method: "post", operation: "post", ids: [], path: "android_pay_keys.json" },
|
|
57
|
-
{ http_method: "get", operation: "get", ids: ["id"], path: "android_pay_keys/<id>.json" },
|
|
58
|
-
{ http_method: "delete", operation: "delete", ids: ["id"], path: "android_pay_keys/<id>.json" }
|
|
56
|
+
{ "http_method": "post", "operation": "post", "ids": [], "path": "android_pay_keys.json" },
|
|
57
|
+
{ "http_method": "get", "operation": "get", "ids": ["id"], "path": "android_pay_keys/<id>.json" },
|
|
58
|
+
{ "http_method": "delete", "operation": "delete", "ids": ["id"], "path": "android_pay_keys/<id>.json" }
|
|
59
59
|
];
|
|
60
60
|
return AndroidPayKey;
|
|
61
61
|
}(base_rest_resource_1.default));
|