@gobolt/models
Version:
This is a shared repository that includes models that should be shared across all BoxKnight services. Do not include anything for the controller, service or repository layers of your application in this package.
190 lines (189 loc) • 8.45 kB
TypeScript
import { Address } from './address/address';
import { DeliveryConstraintsByWeek } from './constraints/deliveryConstraintsByWeek';
import { PickupConstraintsByWeek } from './constraints/pickupConstraintsByWeek';
import { CustomNotifications } from './customNotifications';
import { EmailNotifications } from './emailNotifications';
import { LabelingFormatType } from './labelingFormatType';
import { MappingItem } from './mappingItem';
import { MerchantDisplayLogoUrl } from './merchantDisplayLogoUrl';
import { MerchantLocation } from './merchantLocation';
import { OtherLocation } from './otherLocation';
import { RateShowingOptionType } from './rateShowingOptionType';
import { Report } from './report';
import { ShipHero } from './shipHero';
import { ShippingRule } from './shippingRule';
import { Shipstation } from './shipstation';
import { Shop } from './Shop';
import { StatusType } from './status';
import { LocationPricing } from './strategies/location/locationPricing';
import { NamedPricingStrategy } from './strategies/namedPricingStrategy';
import { TaskTimeCreationType } from './taskTimeCreationType';
import { Webhooks } from './webhooks';
import { Zone } from './zone';
export declare class Merchant {
private id;
private createdAt;
private name;
private createPickup;
private scanningRequired;
private signatureRequired;
private createOnePackagePerItem;
private merchantLocation;
private services;
private locationPricing;
private labelingFormat;
private taskTimeCreation;
private deliveryConstraintsByWeek;
private pickupConstraintsByWeek;
private scheduledDeliveryPickupConstraintsByWeek;
private otherLocations;
private personalizedNotes;
private pickupNotes;
private maxWindowDays;
private rateShowingOptionType;
private shipstation?;
private shipHero?;
private shopifyShop?;
private shops?;
private webhooks?;
private thirdPartyId;
private phone?;
private addEstimatedDelivery?;
private geocodedAddressWithCoordinate?;
private useGeocodedAddressWithCoordinate?;
private inTransitDays;
private zones?;
private shippingRules?;
private freshFood?;
private orderTags?;
private customNotifications?;
private emailNotifications?;
private timeZone?;
private email?;
private retailerEmailNotifications?;
private phoneOptional?;
private logoUrl?;
private additionalLocations?;
private apiRequestMappings?;
private merchantDisplayLogoUrls?;
private reports?;
private minimumAge?;
private goboltOrgId?;
private goboltPickupCustomerId?;
private status?;
private archivedAt?;
private archivedBy?;
private lastRedactedAt?;
private dataRedactionEnabled?;
private partialDeliveryEnabled?;
getId: () => string;
setId: (value: string) => void;
getCreatedAt: () => Date;
setCreatedAt: (value: Date) => void;
getName: () => string;
setName: (value: string) => void;
getMerchantLocation: () => MerchantLocation;
setMerchantLocation: (value: MerchantLocation) => void;
getServices: () => NamedPricingStrategy[];
setServices: (value: NamedPricingStrategy[]) => void;
getLocationPricing: () => LocationPricing;
setLocationPricing: (value: LocationPricing) => void;
getDeliveryConstraintsByWeek: () => DeliveryConstraintsByWeek;
setDeliveryConstraintsByWeek: (value: DeliveryConstraintsByWeek) => void;
getPickupConstraintsByWeek: () => PickupConstraintsByWeek;
setPickupConstraintsByWeek: (value: PickupConstraintsByWeek) => void;
getScheduledDeliveryPickupConstraintsByWeek: () => DeliveryConstraintsByWeek;
setscheduledDeliveryPickupConstraintsByWeek: (value: DeliveryConstraintsByWeek) => void;
getLabelingFormat: () => LabelingFormatType;
setLabelingFormat: (value: LabelingFormatType) => void;
getTaskTimeCreation: () => TaskTimeCreationType;
setTaskTimeCreation: (value: TaskTimeCreationType) => void;
getCreatePickup: () => boolean;
setCreatePickup: (value: boolean) => void;
getSignatureRequired: () => boolean;
setSignatureRequired: (value: boolean) => void;
getScanningRequired: () => boolean;
setScanningRequired: (value: boolean) => void;
getCreateOnePackagePerItem: () => boolean;
setCreateOnePackagePerItem: (value: boolean) => void;
getOtherLocations: () => OtherLocation[];
setOtherLocations: (value: OtherLocation[]) => void;
getPickupNotes: () => string;
setPickupNotes: (value: string) => void;
getPersonalizedNotes: () => string;
setPersonalizedNotes: (value: string) => void;
getMaxWindowDays: () => number;
setMaxWindowDays: (value: number) => void;
getRateShowingOptionType: () => RateShowingOptionType;
setRateShowingOptionType: (value: RateShowingOptionType) => void;
getShipstation: () => Shipstation | undefined;
setShipstation: (value: Shipstation) => void;
getShipHero: () => ShipHero | undefined;
setShipHero: (value: ShipHero) => void;
getShopifyShop: () => string | undefined;
setShopifyShop: (shopifyShop: string) => void;
getShops: () => Shop[] | undefined;
setShops: (shops: Shop[]) => void;
getWebhooks: () => Webhooks | undefined;
setWebhooks: (value: Webhooks) => void;
getThirdPartyId: () => string;
setThirdPartyId: (value: string) => void;
getPhone: () => string | undefined;
setPhone: (value: string) => void;
getAddEstimatedDelivery: () => boolean | undefined;
setAddEstimatedDelivery: (value: boolean) => void;
getGeocodedAddressWithCoordinate: () => Address | undefined;
setGeocodedAddressWithCoordinate: (value: Address) => void;
getUseGeocodedAddressWithCoordinate: () => boolean | undefined;
setUseGeocodedAddressWithCoordinate: (value: boolean) => void;
getInTransitDays: () => number;
setInTransitDays: (value: number) => void;
getZones: () => Zone[] | undefined;
setZones: (value: Zone[]) => void;
getShippingRules: () => ShippingRule[] | undefined;
setShippingRules: (value: ShippingRule[]) => void;
getFreshFood: () => boolean | undefined;
setFreshFood: (value: boolean) => void;
getOrderTags: () => string[] | undefined;
setOrderTags: (value: string[]) => void;
getCustomNotifications: () => CustomNotifications | undefined;
setCustomNotifications: (value: CustomNotifications) => void;
getEmailNotifications: () => EmailNotifications | undefined;
setEmailNotifications: (value: EmailNotifications) => void;
getTimeZone: () => string | undefined;
setTimeZone: (value: string) => void;
getEmail: () => string | undefined;
setEmail: (value: string) => void;
getRetailerEmailNotifications: () => EmailNotifications | undefined;
setRetailerEmailNotifications: (value: EmailNotifications) => void;
getPhoneOptional: () => boolean | undefined;
setPhoneOptional: (value: boolean) => void;
getLogoUrl: () => string | undefined;
setLogoUrl: (value: string) => void;
getAdditionalLocations: () => MerchantLocation[] | undefined;
setAdditionalLocations: (value: MerchantLocation[]) => void;
getApiRequestMappings: () => MappingItem[] | undefined;
setApiRequestMappings: (value: MappingItem[]) => void;
getMerchantDisplayLogoUrls: () => MerchantDisplayLogoUrl[] | undefined;
setMerchantDisplayLogoUrls: (value: MerchantDisplayLogoUrl[]) => void;
getReports: () => Report[] | undefined;
setReports: (value: Report[]) => void;
getMinimumAge: () => number | undefined;
setMinimumAge: (value: number) => void;
getGoboltOrgId: () => string | undefined;
setGoboltOrgId: (value: string) => void;
getGoboltPickupCustomerId: () => string | undefined;
setGoboltPickupCustomerId: (value: string) => void;
getStatus: () => "ACTIVE" | "ARCHIVED" | undefined;
setStatus: (value: StatusType) => void;
getArchivedAt: () => number | undefined;
setArchivedAt: (value: number) => void;
getArchivedBy: () => string | undefined;
setArchivedBy: (value: string) => void;
getLastRedactedAt: () => number | undefined;
setLastRedactedAt: (value: number) => void;
getDataRedactionEnabled: () => boolean | undefined;
setDataRedactionEnabled: (value: boolean) => void;
getPartialDeliveryEnabled: () => boolean | undefined;
setPartialDeliveryEnabled: (value: boolean) => void;
}