export const consolidate = {}; export const destroy = { PIN: { Value: 329014521622 } }; export const post = { Shipment: { SenderInformation: { Address: { Name: 'Aaron Summer', StreetNumber: 328, StreetName: 'W Hastings St', City: 'Vancouver', Province: 'BC', Country: 'CA', PostalCode: 'V6B1K6', PhoneNumber: { CountryCode: 1, AreaCode: 905, Phone: 5555555, } } }, ReceiverInformation: { Address: { Name: 'Sender Name', Company: 'Purolator Ltd', Department: 'Web Services', StreetNumber: 328, StreetName: 'W Hastings St', City: 'Vancouver', Province: 'BC', Country: 'CA', PostalCode: 'V6B1K6', PhoneNumber: { CountryCode: 1, AreaCode: 905, Phone: 5555555, } } }, PackageInformation: { ServiceID: 'PurolatorExpress', // PurolatorExpressInternational TotalWeight: { Value: 10, WeightUnit: 'lb' }, TotalPieces: 1, OptionsInformation: { Options: { OptionIDValuePair: [{ ID: 'ExpressCheque', Value: 'TRUE' }, { ID: 'ExpressChequeMethodOfPayment', Value: 'Cheque' }, { ID: 'ExpressChequeAmount', Value: 11 }] }, ExpressChequeAddress: { Name: 'Aaron Summer', StreetNumber: 328, StreetName: 'W Hastings St', City: 'Vancouver', Province: 'BC', Country: 'CA', PostalCode: 'V6B1K6', PhoneNumber: { CountryCode: 1, AreaCode: 905, Phone: 5555555, } } } }, // FOR INT SHIPMENT // InternationalInformation: { // DocumentsOnlyIndicator: false, // ContentDetails: { // ContentDetail: [{ // Description: 'test', // HarmonizedCode: '', // CountryOfManufacture: 'CA', // ProductCode: '', // UnitValue: 1, // Quantity: 1, // // NAFTADocumentIndicator: false // }] // }, // DutyInformation: { // BillDutiesToParty: 'Sender', // BusinessRelationship: 'Related', // Currency: 'CAD' // }, // ImportExportType: 'Permanent' // Permanent, Temporary, Repair, Return // }, PaymentInformation: { PaymentType: 'Sender', RegisteredAccountNumber: process.env.PURO_ACC, BillingAccountNumber: process.env.PURO_ACC }, PickupInformation: { PickupType: 'DropOff' }, NotificationInformation: { ConfirmationEmailAddress: 'test@test.com' }, }, PrinterType: 'Thermal' }; export const validate = { Shipment: { SenderInformation: { Address: { Name: 'Aaron Summer', StreetNumber: 328, StreetName: 'W Hastings St', City: 'Vancouver', Province: 'BC', Country: 'CA', PostalCode: 'V6B1K6', PhoneNumber: { CountryCode: 1, AreaCode: 905, Phone: 5555555, } } }, ReceiverInformation: { Address: { Name: 'Sender Name', Company: 'Purolator Ltd', Department: 'Web Services', StreetNumber: 1234, StreetName: 'Main Street', City: 'Mississauga', Province: 'ON', Country: 'CA', PostalCode: 'L4W5M8', PhoneNumber: { CountryCode: 1, AreaCode: 905, Phone: 5555555, } } }, PackageInformation: { ServiceID: 'PurolatorExpress', TotalWeight: { Value: 10, WeightUnit: 'lb' }, TotalPieces: 1 }, PaymentInformation: { PaymentType: 'Sender', RegisteredAccountNumber: process.env.PURO_ACC, BillingAccountNumber: process.env.PURO_ACC }, PickupInformation: { PickupType: 'DropOff' }, TrackingReferenceInformation: { Reference1: 'RMA123' }, ProactiveNotification: { RequestorName: 'My name', RequestorEmail: 'test@test.com', Subscriptions: { Subscription: { Name: 'MyName', Email: 'test@test.com', NotifyWhenExceptionOccurs: true, NotifyWhenDeliveryOccurs: true } } } } };