Update API endpoints to use apis.helena.express
This commit is contained in:
parent
9b77b8e8a0
commit
8034957b31
@ -7,52 +7,55 @@
|
|||||||
var SETTINGS = {
|
var SETTINGS = {
|
||||||
apis: {
|
apis: {
|
||||||
// Dynamic text content updater
|
// Dynamic text content updater
|
||||||
dynamicappcontent: "http://localhost/helena.express/apis/dynamicappcontent/",
|
dynamicappcontent: "https://apis.helena.express/v1/dynamicappcontent/",
|
||||||
// Tracking
|
// Tracking
|
||||||
track: "http://localhost/helena.express/apis/track/",
|
track: "https://apis.helena.express/v1/track/",
|
||||||
trackmultiple: "http://localhost/helena.express/apis/trackmultiple/",
|
trackmultiple: "https://apis.helena.express/v1/trackmultiple/",
|
||||||
// Shipping rates
|
// Shipping rates
|
||||||
rates: "http://localhost/helena.express/apis/rates/",
|
rates: "https://apis.helena.express/v1/rates/",
|
||||||
// ZIP Code lookup
|
// ZIP Code lookup
|
||||||
zipcodelookup: "http://localhost/helena.express/apis/zipcodelookup/",
|
zipcodelookup: "https://apis.helena.express/v1/zipcodelookup/",
|
||||||
// Get appointment iframe URL
|
// Get appointment iframe URL
|
||||||
appointmentredirect: "http://localhost/helena.express/apis/appointmentredirect/",
|
appointmentredirect: "https://apis.helena.express/v1/appointmentredirect/",
|
||||||
// Request home pickup
|
// Request home pickup
|
||||||
requestpickup: "http://localhost/helena.express/apis/requestpickup/",
|
requestpickup: "https://apis.helena.express/v1/requestpickup/",
|
||||||
// Drop and Send
|
// Drop and Send
|
||||||
dropandsendlocations: "http://localhost/helena.express/apis/dropandsend/locations/",
|
dropandsendlocations: "https://apis.helena.express/v1/dropandsend/locations/",
|
||||||
dropandsendpickup: "http://localhost/helena.express/apis/dropandsend/requestpickup/",
|
dropandsendpickup: "https://apis.helena.express/v1/dropandsend/requestpickup/",
|
||||||
// Fetch account data
|
// Fetch account data
|
||||||
getaccountinfo: "http://localhost/helena.express/apis/account/getinfo/",
|
getaccountinfo: "https://apis.helena.express/v1/account/getinfo/",
|
||||||
// Fetch tracking numbers associated with account
|
// Fetch tracking numbers associated with account
|
||||||
gettrackingnumbers: "http://localhost/helena.express/apis/account/gettrackingnumbers/",
|
gettrackingnumbers: "https://apis.helena.express/v1/account/gettrackingnumbers/",
|
||||||
// Account login/registration/onboarding endpoints
|
// Account login/registration/onboarding endpoints
|
||||||
authorstartverify: "http://localhost/helena.express/apis/account/authorstartverify/",
|
authorstartverify: "https://apis.helena.express/v1/account/authorstartverify/",
|
||||||
verifyauthcode: "http://localhost/helena.express/apis/account/verifyauthcode/",
|
verifyauthcode: "https://apis.helena.express/v1/account/verifyauthcode/",
|
||||||
accountregister: "http://localhost/helena.express/apis/account/register/",
|
accountregister: "https://apis.helena.express/v1/account/register/",
|
||||||
// Setup saved payment method
|
// Setup saved payment method
|
||||||
redirecttopaymentsetup: "http://localhost/helena.express/apis/account/redirecttopaymentsetup/",
|
redirecttopaymentsetup: "https://apis.helena.express/v1/account/redirecttopaymentsetup/",
|
||||||
finishpaymentsetup: "http://localhost/helena.express/apis/account/finishpaymentsetup/",
|
finishpaymentsetup: "https://apis.helena.express/v1/account/finishpaymentsetup/",
|
||||||
// Send a telegram message
|
// Send a telegram message
|
||||||
sendtelegram: "http://localhost/helena.express/apis/telegram",
|
sendtelegram: "https://apis.helena.express/v1/telegram/",
|
||||||
// Fetch shop items
|
// Fetch shop items
|
||||||
shopitems: "http://localhost/helena.express/apis/shop/items",
|
shopitems: "https://apis.helena.express/v1/shop/items/",
|
||||||
// Create a shop order
|
// Create a shop order
|
||||||
shopbuy: "http://localhost/helena.express/apis/shop/buy",
|
shopbuy: "https://apis.helena.express/v1/shop/buy/",
|
||||||
// Get receipts linked with account
|
// Get receipts linked with account
|
||||||
getreceipts: "http://localhost/helena.express/apis/account/getreceipts",
|
getreceipts: "https://apis.helena.express/v1/account/getreceipts/",
|
||||||
getreceipt: "http://localhost/helena.express/apis/account/getreceipt",
|
getreceipt: "https://apis.helena.express/v1/account/getreceipt/",
|
||||||
// Crypto: check balance and send transactions
|
// Crypto: check balance and send transactions
|
||||||
walletbalance: "http://localhost/helena.express/apis/crypto/walletbalance",
|
walletbalance: "https://apis.helena.express/v1/crypto/walletbalance/",
|
||||||
getutxo: "http://localhost/helena.express/apis/crypto/getutxo",
|
getutxo: "https://apis.helena.express/v1/crypto/getutxo/",
|
||||||
broadcasttransaction: "http://localhost/helena.express/apis/crypto/broadcasttransaction",
|
broadcasttransaction: "https://apis.helena.express/v1/crypto/broadcasttransaction/",
|
||||||
cryptofees: "http://localhost/helena.express/apis/crypto/fees",
|
cryptofees: "https://apis.helena.express/v1/crypto/fees/",
|
||||||
// Service area map
|
// Service area map
|
||||||
servicearea: "http://localhost/helena.express/apis/servicearea",
|
servicearea: "https://apis.helena.express/v1/servicearea/",
|
||||||
// Trailer schedule/dates/times/locations
|
// Trailer schedule/dates/times/locations
|
||||||
trailerschedule: "https://helena.express/mobile/schedule.json",
|
trailerschedule: "https://helena.express/mobile/schedule.json",
|
||||||
// Money order verification
|
// Money order verification
|
||||||
moneyorderverify: "http://localhost/helena.express/apis/moneyorder/verify"
|
moneyorderverify: "https://apis.helena.express/v1/moneyorder/verify/",
|
||||||
|
// Label maker
|
||||||
|
label_rates: "https://apis.helena.express/v1/labelmaker/rates/",
|
||||||
|
label_purchase: "https://apis.helena.express/v1/labelmaker/purchase/"
|
||||||
},
|
},
|
||||||
stripe_pubkey: "pk_test_51J6qFXCa1Fboir5UzPO3LCiMsVNiFP2lq4wR0dEcjJJVzAaJ3uRggDekZPB3qeYpMD3ayIYHKyD5sSn0IFLlEXMW001LqrvGSH",
|
stripe_pubkey: "pk_test_51J6qFXCa1Fboir5UzPO3LCiMsVNiFP2lq4wR0dEcjJJVzAaJ3uRggDekZPB3qeYpMD3ayIYHKyD5sSn0IFLlEXMW001LqrvGSH",
|
||||||
branding: {
|
branding: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user