diff --git a/src/API/AddTracking.ts b/src/API/AddTracking.ts index ad3fa03..88077f0 100644 --- a/src/API/AddTracking.ts +++ b/src/API/AddTracking.ts @@ -1,11 +1,11 @@ -import AddTrackersResponse, { TAddTrackersResponse } from "./../Types/APIResponses/AddTrackers.js"; -import { TTracker } from "./../Types/Objects/Tracker.js"; -import PayPal from "../PayPal.js"; -import Tracker from "../Types/Objects/Tracker.js"; -import LinkDescription, { TLinkDescription } from "../Types/Objects/LinkDescription.js"; -import TrackerIdentifier from "../Types/Objects/TrackerIdentifier.js"; -import { default as PayPalError } from "../Types/Objects/Error.js"; -import TrackerUpdateOrCancelError from "../Errors/AddTracking/TrackerUpdateOrCancelError.js"; +import AddTrackersResponse, { TAddTrackersResponse } from "@Types/APIResponses/AddTrackers.js"; +import { TTracker } from "@Types/Objects/Tracker.js"; +import PayPal from "@/PayPal.js"; +import Tracker from "@Types/Objects/Tracker.js"; +import LinkDescription, { TLinkDescription } from "@Types/Objects/LinkDescription.js"; +import TrackerIdentifier from "@Types/Objects/TrackerIdentifier.js"; +import { default as PayPalError } from "@Types/Objects/Error.js"; +import TrackerUpdateOrCancelError from "@Errors/AddTracking/TrackerUpdateOrCancelError.js"; class AddTracking { protected PayPal: PayPal; diff --git a/src/API/Authentication.ts b/src/API/Authentication.ts index 1e3ff6e..1c5e98c 100644 --- a/src/API/Authentication.ts +++ b/src/API/Authentication.ts @@ -1,5 +1,5 @@ -import PayPal from "../PayPal.js"; -import { Integer } from "../Types/Types.js"; +import PayPal from "@/PayPal.js"; +import { Integer } from "@Types/Types.js"; class Authentication { protected PayPal: PayPal; diff --git a/src/API/Disputes.ts b/src/API/Disputes.ts index 4f9c6a8..3800ca3 100644 --- a/src/API/Disputes.ts +++ b/src/API/Disputes.ts @@ -1,12 +1,10 @@ -import PayPal from "../PayPal"; -import ListDisputesResponse, { TListDisputesResponse } from "../Types/APIResponses/ListDisputes"; -import PartialUpdateDisputeResponse, { - TPartialUpdateDisputeResponse, -} from "../Types/APIResponses/PartialUpdateDispute"; -import { DisputeState } from "../Types/Enums/DisputeState"; -import Patch from "../Types/Objects/Patch"; -import { TPatchRequest } from "../Types/Objects/PatchRequest"; -import { Integer } from "../Types/Types"; +import PayPal from "@/PayPal"; +import ListDisputesResponse, { TListDisputesResponse } from "@Types/APIResponses/ListDisputes"; +import PartialUpdateDisputeResponse, { TPartialUpdateDisputeResponse } from "@Types/APIResponses/PartialUpdateDispute"; +import { DisputeState } from "@Types/Enums/DisputeState"; +import Patch from "@Types/Objects/Patch"; +import { TPatchRequest } from "@Types/Objects/PatchRequest"; +import { Integer } from "@Types/Types"; class Disputes { protected PayPal: PayPal; diff --git a/src/API/Invoicing.ts b/src/API/Invoicing.ts index 007f6df..feb9893 100644 --- a/src/API/Invoicing.ts +++ b/src/API/Invoicing.ts @@ -1,24 +1,24 @@ -import PayPal from "../PayPal.js"; +import PayPal from "@/PayPal.js"; import GenerateInvoiceNumberResponse, { TGenerateInvoiceNumberResponse, -} from "../Types/APIResponses/GenerateInvoiceNumber.js"; -import ListInvoicesResponse, { TListInvoicesResponse } from "../Types/APIResponses/ListInvoices.js"; -import ListTemplatesResponse, { TListTemplatesResponse } from "../Types/APIResponses/ListTemplates.js"; -import SearchForInvoicesResponse, { TSearchForInvoicesResponse } from "../Types/APIResponses/SearchForInvoices.js"; -import { GenerateQrCodeAction } from "../Types/Enums/GenerateQrCodeAction.js"; -import { InvoiceStatus } from "../Types/Enums/InvoiceStatus.js"; -import AddressPortable from "../Types/Objects/AddressPortable.js"; -import { TAmountRange } from "../Types/Objects/AmountRange.js"; -import { TDateRange } from "../Types/Objects/DateRange.js"; -import EmailAddress, { TEmailAddress } from "../Types/Objects/EmailAddress.js"; -import Field from "../Types/Objects/Field.js"; -import Invoice, { TInvoice } from "../Types/Objects/Invoice.js"; -import LinkDescription from "../Types/Objects/LinkDescription.js"; -import PaymentDetail, { TPaymentDetail } from "../Types/Objects/PaymentDetail.js"; -import PhoneDetail from "../Types/Objects/PhoneDetail.js"; -import RefundDetail, { TRefundDetail } from "../Types/Objects/RefundDetail.js"; -import Template, { TTemplate } from "../Types/Objects/Template.js"; -import { Integer } from "../Types/Types.js"; +} from "@Types/APIResponses/GenerateInvoiceNumber.js"; +import ListInvoicesResponse, { TListInvoicesResponse } from "@Types/APIResponses/ListInvoices.js"; +import ListTemplatesResponse, { TListTemplatesResponse } from "@Types/APIResponses/ListTemplates.js"; +import SearchForInvoicesResponse, { TSearchForInvoicesResponse } from "@Types/APIResponses/SearchForInvoices.js"; +import { GenerateQrCodeAction } from "@Types/Enums/GenerateQrCodeAction.js"; +import { InvoiceStatus } from "@Types/Enums/InvoiceStatus.js"; +import AddressPortable from "@Types/Objects/AddressPortable.js"; +import { TAmountRange } from "@Types/Objects/AmountRange.js"; +import { TDateRange } from "@Types/Objects/DateRange.js"; +import EmailAddress, { TEmailAddress } from "@Types/Objects/EmailAddress.js"; +import Field from "@Types/Objects/Field.js"; +import Invoice, { TInvoice } from "@Types/Objects/Invoice.js"; +import LinkDescription from "@Types/Objects/LinkDescription.js"; +import PaymentDetail, { TPaymentDetail } from "@Types/Objects/PaymentDetail.js"; +import PhoneDetail from "@Types/Objects/PhoneDetail.js"; +import RefundDetail, { TRefundDetail } from "@Types/Objects/RefundDetail.js"; +import Template, { TTemplate } from "@Types/Objects/Template.js"; +import { Integer } from "@Types/Types.js"; class Invoicing { protected PayPal: PayPal; diff --git a/src/API/Products.ts b/src/API/Products.ts index da92bdf..725b0cb 100644 --- a/src/API/Products.ts +++ b/src/API/Products.ts @@ -1,12 +1,12 @@ -import { TProduct } from "./../Types/Objects/Product.js"; -import ListProductsResponse, { TListProductsResponse } from "./../Types/APIResponses/ListProducts.js"; -import PayPal from "../PayPal.js"; -import LinkDescription from "../Types/Objects/LinkDescription.js"; -import ProductCollectionElement from "../Types/Objects/ProductCollectionElement.js"; -import Product from "../Types/Objects/Product.js"; -import PatchRequest, { TPatchRequest } from "../Types/Objects/PatchRequest.js"; -import ProductUpdateError from "../Errors/Products/ProductUpdateError.js"; -import { Integer } from "../Types/Types.js"; +import { TProduct } from "@Types/Objects/Product.js"; +import ListProductsResponse, { TListProductsResponse } from "@Types/APIResponses/ListProducts.js"; +import PayPal from "@/PayPal.js"; +import LinkDescription from "@Types/Objects/LinkDescription.js"; +import ProductCollectionElement from "@Types/Objects/ProductCollectionElement.js"; +import Product from "@Types/Objects/Product.js"; +import PatchRequest, { TPatchRequest } from "@Types/Objects/PatchRequest.js"; +import ProductUpdateError from "@Errors/Products/ProductUpdateError.js"; +import { Integer } from "@Types/Types.js"; class Products { protected PayPal: PayPal; diff --git a/src/Errors/AddTracking/TrackerUpdateOrCancelError.ts b/src/Errors/AddTracking/TrackerUpdateOrCancelError.ts index f091693..33e53c4 100644 --- a/src/Errors/AddTracking/TrackerUpdateOrCancelError.ts +++ b/src/Errors/AddTracking/TrackerUpdateOrCancelError.ts @@ -1,4 +1,4 @@ -import APIError from "../APIError.js"; +import APIError from "@Errors/APIError.js"; class TrackerUpdateOrCancelError extends APIError { declare data: unknown; diff --git a/src/Errors/Invoicing/InvoiceSendError.ts b/src/Errors/Invoicing/InvoiceSendError.ts index 44f34e7..7c9046f 100644 --- a/src/Errors/Invoicing/InvoiceSendError.ts +++ b/src/Errors/Invoicing/InvoiceSendError.ts @@ -1,5 +1,5 @@ import { AxiosResponse } from "axios"; -import APIError from "../APIError.js"; +import APIError from "@Errors/APIError.js"; class InvoiceSendError extends APIError { declare data: AxiosResponse; diff --git a/src/Errors/Products/ProductUpdateError.ts b/src/Errors/Products/ProductUpdateError.ts index 080a760..ab3044d 100644 --- a/src/Errors/Products/ProductUpdateError.ts +++ b/src/Errors/Products/ProductUpdateError.ts @@ -1,4 +1,4 @@ -import APIError from "../APIError"; +import APIError from "@Errors/APIError.js"; class ProductUpdateError extends APIError { declare data: unknown; diff --git a/src/Types/APIResponses/AddTrackers.ts b/src/Types/APIResponses/AddTrackers.ts index 4283fce..7b5e3c5 100644 --- a/src/Types/APIResponses/AddTrackers.ts +++ b/src/Types/APIResponses/AddTrackers.ts @@ -1,9 +1,9 @@ -import { TLinkDescription } from "./../Objects/LinkDescription.js"; -import { TError } from "./../Objects/Error.js"; -import Error from "../Objects/Error.js"; -import LinkDescription from "../Objects/LinkDescription.js"; -import TrackerIdentifier, { TTrackerIdentifier } from "../Objects/TrackerIdentifier.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { TLinkDescription } from "@Types/Objects/LinkDescription.js"; +import { TError } from "@Types/Objects/Error.js"; +import Error from "@Types/Objects/Error.js"; +import LinkDescription from "@Types/Objects/LinkDescription.js"; +import TrackerIdentifier, { TTrackerIdentifier } from "@Types/Objects/TrackerIdentifier.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TAddTrackersResponse = { readonly errors: TError[]; diff --git a/src/Types/APIResponses/GenerateInvoiceNumber.ts b/src/Types/APIResponses/GenerateInvoiceNumber.ts index 5da42ed..be054dd 100644 --- a/src/Types/APIResponses/GenerateInvoiceNumber.ts +++ b/src/Types/APIResponses/GenerateInvoiceNumber.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TGenerateInvoiceNumberResponse = { readonly invoice_number: string; diff --git a/src/Types/APIResponses/ListDisputes.ts b/src/Types/APIResponses/ListDisputes.ts index 4ef56a0..a1c28b2 100644 --- a/src/Types/APIResponses/ListDisputes.ts +++ b/src/Types/APIResponses/ListDisputes.ts @@ -1,6 +1,6 @@ -import DisputeInfo, { TDisputeInfo } from "../Objects/DisputeInfo"; -import LinkDescription, { TLinkDescription } from "../Objects/LinkDescription"; -import Types, { ITypes, Static } from "../Types"; +import DisputeInfo, { TDisputeInfo } from "@Types/Objects/DisputeInfo"; +import LinkDescription, { TLinkDescription } from "@Types/Objects/LinkDescription"; +import Types, { ITypes, Static } from "@Types/Types"; export type TListDisputesResponse = { readonly items: TDisputeInfo[]; diff --git a/src/Types/APIResponses/ListInvoices.ts b/src/Types/APIResponses/ListInvoices.ts index a6e950c..af6e7ba 100644 --- a/src/Types/APIResponses/ListInvoices.ts +++ b/src/Types/APIResponses/ListInvoices.ts @@ -1,6 +1,6 @@ -import Invoice, { TInvoice } from "../Objects/Invoice.js"; -import LinkDescription, { TLinkDescription } from "../Objects/LinkDescription.js"; -import Types, { ITypes, Integer, Static } from "../Types.js"; +import Invoice, { TInvoice } from "@Types/Objects/Invoice.js"; +import LinkDescription, { TLinkDescription } from "@Types/Objects/LinkDescription.js"; +import Types, { ITypes, Integer, Static } from "@Types/Types.js"; export type TListInvoicesResponse = { readonly items: TInvoice[]; diff --git a/src/Types/APIResponses/ListProducts.ts b/src/Types/APIResponses/ListProducts.ts index 4119226..d4dc14c 100644 --- a/src/Types/APIResponses/ListProducts.ts +++ b/src/Types/APIResponses/ListProducts.ts @@ -1,7 +1,7 @@ -import { TLinkDescription } from "./../Objects/LinkDescription.js"; -import LinkDescription from "../Objects/LinkDescription.js"; -import ProductCollectionElement, { TProductCollectionElement } from "../Objects/ProductCollectionElement.js"; -import Types, { ITypes, Integer, Static } from "../Types.js"; +import { TLinkDescription } from "@Types/Objects/LinkDescription.js"; +import LinkDescription from "@Types/Objects/LinkDescription.js"; +import ProductCollectionElement, { TProductCollectionElement } from "@Types/Objects/ProductCollectionElement.js"; +import Types, { ITypes, Integer, Static } from "@Types/Types.js"; export type TListProductsResponse = { readonly links: TLinkDescription[]; diff --git a/src/Types/APIResponses/ListTemplates.ts b/src/Types/APIResponses/ListTemplates.ts index e8756a0..b708643 100644 --- a/src/Types/APIResponses/ListTemplates.ts +++ b/src/Types/APIResponses/ListTemplates.ts @@ -1,8 +1,8 @@ -import AddressPortable, { TAddressPortable } from "../Objects/AddressPortable.js"; -import LinkDescription, { TLinkDescription } from "../Objects/LinkDescription.js"; -import PhoneDetail, { TPhoneDetail } from "../Objects/PhoneDetail.js"; -import Template, { TTemplate } from "../Objects/Template.js"; -import Types, { ITypes, Static } from "../Types.js"; +import AddressPortable, { TAddressPortable } from "@Types/Objects/AddressPortable.js"; +import LinkDescription, { TLinkDescription } from "@Types/Objects/LinkDescription.js"; +import PhoneDetail, { TPhoneDetail } from "@Types/Objects/PhoneDetail.js"; +import Template, { TTemplate } from "@Types/Objects/Template.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TListTemplatesResponse = { readonly addresses: TAddressPortable[]; diff --git a/src/Types/APIResponses/PartialUpdateDispute.ts b/src/Types/APIResponses/PartialUpdateDispute.ts index c8c7404..8a06415 100644 --- a/src/Types/APIResponses/PartialUpdateDispute.ts +++ b/src/Types/APIResponses/PartialUpdateDispute.ts @@ -1,5 +1,5 @@ -import LinkDescription, { TLinkDescription } from "../Objects/LinkDescription"; -import Types, { ITypes, Static } from "../Types"; +import LinkDescription, { TLinkDescription } from "@Types/Objects/LinkDescription"; +import Types, { ITypes, Static } from "@Types/Types"; export type TPartialUpdateDisputeResponse = { readonly links: TLinkDescription[]; diff --git a/src/Types/APIResponses/SearchForInvoices.ts b/src/Types/APIResponses/SearchForInvoices.ts index 1e275c9..f0cae97 100644 --- a/src/Types/APIResponses/SearchForInvoices.ts +++ b/src/Types/APIResponses/SearchForInvoices.ts @@ -1,6 +1,6 @@ -import Invoice, { TInvoice } from "../Objects/Invoice.js"; -import LinkDescription, { TLinkDescription } from "../Objects/LinkDescription.js"; -import Types, { ITypes, Integer, Static } from "../Types.js"; +import Invoice, { TInvoice } from "@Types/Objects/Invoice.js"; +import LinkDescription, { TLinkDescription } from "@Types/Objects/LinkDescription.js"; +import Types, { ITypes, Integer, Static } from "@Types/Types.js"; export type TSearchForInvoicesResponse = { readonly items: TInvoice[]; diff --git a/src/Types/Objects/202Response.ts b/src/Types/Objects/202Response.ts index 29a9458..ac40db2 100644 --- a/src/Types/Objects/202Response.ts +++ b/src/Types/Objects/202Response.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; export type TAcceptedResponse = { diff --git a/src/Types/Objects/AcceptClaim.ts b/src/Types/Objects/AcceptClaim.ts index db34d58..f8e9399 100644 --- a/src/Types/Objects/AcceptClaim.ts +++ b/src/Types/Objects/AcceptClaim.ts @@ -1,6 +1,6 @@ -import { AcceptClaimReason } from "../Enums/AcceptClaimReason.js"; -import { AcceptClaimType } from "../Enums/AcceptClaimType.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { AcceptClaimReason } from "@Types/Enums/AcceptClaimReason.js"; +import { AcceptClaimType } from "@Types/Enums/AcceptClaimType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AddressPortable, { TAddressPortable } from "./AddressPortable.js"; import Money, { TMoney } from "./Money.js"; import ResponseAcceptClaimType, { TResponseAcceptClaimType } from "./ResponseAcceptClaimType.js"; diff --git a/src/Types/Objects/AcceptOffer.ts b/src/Types/Objects/AcceptOffer.ts index 32c232e..b7ad6e3 100644 --- a/src/Types/Objects/AcceptOffer.ts +++ b/src/Types/Objects/AcceptOffer.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TAcceptOffer = { note?: string; diff --git a/src/Types/Objects/AcknowledgeReturnItem.ts b/src/Types/Objects/AcknowledgeReturnItem.ts index 66c094d..98c52c4 100644 --- a/src/Types/Objects/AcknowledgeReturnItem.ts +++ b/src/Types/Objects/AcknowledgeReturnItem.ts @@ -1,6 +1,6 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AcknowledgementType, { TAcknowledgementType } from "./AcknowledgementType.js"; -import { AcknowledgementType as AcknowledgementTypeEnum } from "../Enums/AcknowledgementType.js"; +import { AcknowledgementType as AcknowledgementTypeEnum } from "@Types/Enums/AcknowledgementType.js"; import AcknowledgeReturnItemEvidence, { TAcknowledgeReturnItemEvidence } from "./AcknowledgeReturnItemEvidence.js"; export type TAcknowledgeReturnItem = { diff --git a/src/Types/Objects/AcknowledgeReturnItemEvidence.ts b/src/Types/Objects/AcknowledgeReturnItemEvidence.ts index 0698b56..b505138 100644 --- a/src/Types/Objects/AcknowledgeReturnItemEvidence.ts +++ b/src/Types/Objects/AcknowledgeReturnItemEvidence.ts @@ -1,5 +1,5 @@ -import { EvidenceType } from "../Enums/EvidenceType.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { EvidenceType } from "@Types/Enums/EvidenceType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Document, { TDocument } from "./Document.js"; export type TAcknowledgeReturnItemEvidence = { diff --git a/src/Types/Objects/AcknowledgementType.ts b/src/Types/Objects/AcknowledgementType.ts index 958346c..e661194 100644 --- a/src/Types/Objects/AcknowledgementType.ts +++ b/src/Types/Objects/AcknowledgementType.ts @@ -1,5 +1,5 @@ -import Types, { ITypes, Static } from "../Types.js"; -import { AcknowledgementType as AcknowledgementTypeEnum } from "../Enums/AcknowledgementType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; +import { AcknowledgementType as AcknowledgementTypeEnum } from "@Types/Enums/AcknowledgementType.js"; export type TAcknowledgementType = { acknowledgement_type?: keyof typeof AcknowledgementTypeEnum; diff --git a/src/Types/Objects/ActionInfo.ts b/src/Types/Objects/ActionInfo.ts index bd3cdd9..a70506c 100644 --- a/src/Types/Objects/ActionInfo.ts +++ b/src/Types/Objects/ActionInfo.ts @@ -1,5 +1,5 @@ -import { Action } from "../Enums/Action"; -import Types, { ITypes, Static } from "../Types"; +import { Action } from "@Types/Enums/Action"; +import Types, { ITypes, Static } from "@Types/Types"; export type TActionInfo = { action?: keyof typeof Action; diff --git a/src/Types/Objects/AddressDetails.ts b/src/Types/Objects/AddressDetails.ts index ea1abef..7a30518 100644 --- a/src/Types/Objects/AddressDetails.ts +++ b/src/Types/Objects/AddressDetails.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TAddressDetails = { street_number?: string; diff --git a/src/Types/Objects/AddressPortable.ts b/src/Types/Objects/AddressPortable.ts index 9178e53..cd15c0d 100644 --- a/src/Types/Objects/AddressPortable.ts +++ b/src/Types/Objects/AddressPortable.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AddressDetails, { TAddressDetails } from "./AddressDetails.js"; export type TAddressPortable = { diff --git a/src/Types/Objects/Adjudicate.ts b/src/Types/Objects/Adjudicate.ts index b94bc98..fd13719 100644 --- a/src/Types/Objects/Adjudicate.ts +++ b/src/Types/Objects/Adjudicate.ts @@ -1,5 +1,5 @@ -import { AdjudicationOutcome } from "../Enums/AdjudicationOutcome"; -import Types, { ITypes, Static } from "../Types"; +import { AdjudicationOutcome } from "@Types/Enums/AdjudicationOutcome"; +import Types, { ITypes, Static } from "@Types/Types"; export type TAdjudicate = { adjudication_outcome?: keyof typeof AdjudicationOutcome; diff --git a/src/Types/Objects/Adjudication.ts b/src/Types/Objects/Adjudication.ts index d314c0e..b4b8dc0 100644 --- a/src/Types/Objects/Adjudication.ts +++ b/src/Types/Objects/Adjudication.ts @@ -1,7 +1,7 @@ -import { AdjudicationReason } from "../Enums/AdjudicationReason"; -import { AdjudicationType } from "../Enums/AdjudicationType"; -import { DisputeLifeCycleStage } from "../Enums/DisputeLifeCycleStage"; -import Types, { ITypes, Static } from "../Types"; +import { AdjudicationReason } from "@Types/Enums/AdjudicationReason"; +import { AdjudicationType } from "@Types/Enums/AdjudicationType"; +import { DisputeLifeCycleStage } from "@Types/Enums/DisputeLifeCycleStage"; +import Types, { ITypes, Static } from "@Types/Types"; export type TAdjudication = { adjudication_time: string; diff --git a/src/Types/Objects/AggregatedDiscount.ts b/src/Types/Objects/AggregatedDiscount.ts index 151fa0e..3355bda 100644 --- a/src/Types/Objects/AggregatedDiscount.ts +++ b/src/Types/Objects/AggregatedDiscount.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Discount, { TDiscount } from "./Discount.js"; import Money, { TMoney } from "./Money.js"; diff --git a/src/Types/Objects/AllowedResponseOptions.ts b/src/Types/Objects/AllowedResponseOptions.ts index 29fdda5..e2ad8d8 100644 --- a/src/Types/Objects/AllowedResponseOptions.ts +++ b/src/Types/Objects/AllowedResponseOptions.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types"; +import Types, { ITypes, Static } from "@Types/Types"; import AcceptClaim, { TAcceptClaim } from "./AcceptClaim"; import AcknowledgeReturnItem, { TAcknowledgeReturnItem } from "./AcknowledgeReturnItem"; import MakeOffer, { TMakeOffer } from "./MakeOffer"; diff --git a/src/Types/Objects/AmountRange.ts b/src/Types/Objects/AmountRange.ts index dff297b..0f3868f 100644 --- a/src/Types/Objects/AmountRange.ts +++ b/src/Types/Objects/AmountRange.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; export type TAmountRange = { diff --git a/src/Types/Objects/AmountSummaryDetail.ts b/src/Types/Objects/AmountSummaryDetail.ts index 74341a6..7b2b400 100644 --- a/src/Types/Objects/AmountSummaryDetail.ts +++ b/src/Types/Objects/AmountSummaryDetail.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AmountWithBreakdown, { TAmountWithBreakdown } from "./AmountWithBreakdown.js"; export type TAmountSummaryDetail = { diff --git a/src/Types/Objects/AmountWithBreakdown.ts b/src/Types/Objects/AmountWithBreakdown.ts index 309a4a9..0dee122 100644 --- a/src/Types/Objects/AmountWithBreakdown.ts +++ b/src/Types/Objects/AmountWithBreakdown.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AggregatedDiscount, { TAggregatedDiscount } from "./AggregatedDiscount.js"; import CustomAmount, { TCustomAmount } from "./CustomAmount.js"; import Money, { TMoney } from "./Money.js"; diff --git a/src/Types/Objects/BatchTrackerCollection.ts b/src/Types/Objects/BatchTrackerCollection.ts index f15302d..aacacc1 100644 --- a/src/Types/Objects/BatchTrackerCollection.ts +++ b/src/Types/Objects/BatchTrackerCollection.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; import TrackerIdentifier, { TTrackerIdentifier } from "./TrackerIdentifier.js"; import Error, { TError } from "./Error.js"; diff --git a/src/Types/Objects/BillingInfo.ts b/src/Types/Objects/BillingInfo.ts index 5ee0c63..d7b997c 100644 --- a/src/Types/Objects/BillingInfo.ts +++ b/src/Types/Objects/BillingInfo.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import PhoneDetail, { TPhoneDetail } from "./PhoneDetail.js"; export type TBillingInfo = { diff --git a/src/Types/Objects/BusinessName.ts b/src/Types/Objects/BusinessName.ts index f35f6ee..92f7d6c 100644 --- a/src/Types/Objects/BusinessName.ts +++ b/src/Types/Objects/BusinessName.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TBusinessName = { business_name?: string; diff --git a/src/Types/Objects/Configuration.ts b/src/Types/Objects/Configuration.ts index e475c36..bb7fae6 100644 --- a/src/Types/Objects/Configuration.ts +++ b/src/Types/Objects/Configuration.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import PartialPayment, { TPartialPayment } from "./PartialPayment.js"; export type TConfiguration = { diff --git a/src/Types/Objects/ContactInformation.ts b/src/Types/Objects/ContactInformation.ts index eb417ca..7ddeff1 100644 --- a/src/Types/Objects/ContactInformation.ts +++ b/src/Types/Objects/ContactInformation.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AddressPortable, { TAddressPortable } from "./AddressPortable.js"; import Name, { TName } from "./Name.js"; diff --git a/src/Types/Objects/Cryptocurrency.ts b/src/Types/Objects/Cryptocurrency.ts index e2d9028..a647f77 100644 --- a/src/Types/Objects/Cryptocurrency.ts +++ b/src/Types/Objects/Cryptocurrency.ts @@ -1,5 +1,5 @@ -import { AssetSymbol } from "../Enums/AssetSymbol"; -import Types, { ITypes, Static } from "../Types"; +import { AssetSymbol } from "@Types/Enums/AssetSymbol"; +import Types, { ITypes, Static } from "@Types/Types"; export type TCryptocurrency = { asset_symbol: keyof typeof AssetSymbol; diff --git a/src/Types/Objects/CustomAmount.ts b/src/Types/Objects/CustomAmount.ts index 1d934f1..882a5d9 100644 --- a/src/Types/Objects/CustomAmount.ts +++ b/src/Types/Objects/CustomAmount.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; export type TCustomAmount = { diff --git a/src/Types/Objects/DateNoTime.ts b/src/Types/Objects/DateNoTime.ts index 2802881..ae9e8ac 100644 --- a/src/Types/Objects/DateNoTime.ts +++ b/src/Types/Objects/DateNoTime.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TDateNoTime = { date_no_time?: string; diff --git a/src/Types/Objects/DateRange.ts b/src/Types/Objects/DateRange.ts index f40c504..8628683 100644 --- a/src/Types/Objects/DateRange.ts +++ b/src/Types/Objects/DateRange.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TDateRange = { end: string; diff --git a/src/Types/Objects/Discount.ts b/src/Types/Objects/Discount.ts index f36d9de..cb6b842 100644 --- a/src/Types/Objects/Discount.ts +++ b/src/Types/Objects/Discount.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; export type TDiscount = { diff --git a/src/Types/Objects/DisputeInfo.ts b/src/Types/Objects/DisputeInfo.ts index 308413d..cfcd241 100644 --- a/src/Types/Objects/DisputeInfo.ts +++ b/src/Types/Objects/DisputeInfo.ts @@ -1,9 +1,9 @@ -import { DisputeChannel } from "../Enums/DisputeChannel"; -import { DisputeLifeCycleStage } from "../Enums/DisputeLifeCycleStage"; -import { DisputeReason } from "../Enums/DisputeReason"; -import { DisputeState } from "../Enums/DisputeState"; -import { DisputeStatus } from "../Enums/DisputeStatus"; -import Types, { ITypes, Static } from "../Types"; +import { DisputeChannel } from "@Types/Enums/DisputeChannel"; +import { DisputeLifeCycleStage } from "@Types/Enums/DisputeLifeCycleStage"; +import { DisputeReason } from "@Types/Enums/DisputeReason"; +import { DisputeState } from "@Types/Enums/DisputeState"; +import { DisputeStatus } from "@Types/Enums/DisputeStatus"; +import Types, { ITypes, Static } from "@Types/Types"; import Cryptocurrency, { TCryptocurrency } from "./Cryptocurrency"; import LinkDescription, { TLinkDescription } from "./LinkDescription"; import Money, { TMoney } from "./Money"; diff --git a/src/Types/Objects/Document.ts b/src/Types/Objects/Document.ts index a4d2312..734f28e 100644 --- a/src/Types/Objects/Document.ts +++ b/src/Types/Objects/Document.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types"; +import Types, { ITypes, Static } from "@Types/Types"; export type TDocument = { name?: string; diff --git a/src/Types/Objects/EmailAddress.ts b/src/Types/Objects/EmailAddress.ts index 6b27829..f18c53a 100644 --- a/src/Types/Objects/EmailAddress.ts +++ b/src/Types/Objects/EmailAddress.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TEmailAddress = { email_address?: string; diff --git a/src/Types/Objects/Error.ts b/src/Types/Objects/Error.ts index 16f1162..8d4eb4d 100644 --- a/src/Types/Objects/Error.ts +++ b/src/Types/Objects/Error.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import ErrorDetails, { TErrorDetails } from "./ErrorDetails.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; diff --git a/src/Types/Objects/ErrorDetails.ts b/src/Types/Objects/ErrorDetails.ts index 0458fd4..756daeb 100644 --- a/src/Types/Objects/ErrorDetails.ts +++ b/src/Types/Objects/ErrorDetails.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TErrorDetails = { issue: string; diff --git a/src/Types/Objects/Field.ts b/src/Types/Objects/Field.ts index ab807b7..d67a1af 100644 --- a/src/Types/Objects/Field.ts +++ b/src/Types/Objects/Field.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TField = { field?: string; diff --git a/src/Types/Objects/FileReference.ts b/src/Types/Objects/FileReference.ts index 5d35990..0385711 100644 --- a/src/Types/Objects/FileReference.ts +++ b/src/Types/Objects/FileReference.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TFileReference = { content_type?: string; diff --git a/src/Types/Objects/Invoice.ts b/src/Types/Objects/Invoice.ts index 4fb5203..579e5e2 100644 --- a/src/Types/Objects/Invoice.ts +++ b/src/Types/Objects/Invoice.ts @@ -1,7 +1,7 @@ -import PayPal from "../../PayPal.js"; -import { GenerateQrCodeAction } from "../Enums/GenerateQrCodeAction.js"; -import { InvoiceStatus } from "../Enums/InvoiceStatus.js"; -import Types, { ITypes, Static } from "../Types.js"; +import PayPal from "@Types/../PayPal.js"; +import { GenerateQrCodeAction } from "@Types/Enums/GenerateQrCodeAction.js"; +import { InvoiceStatus } from "@Types/Enums/InvoiceStatus.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AmountSummaryDetail, { TAmountSummaryDetail } from "./AmountSummaryDetail.js"; import Configuration, { TConfiguration } from "./Configuration.js"; import EmailAddress, { TEmailAddress } from "./EmailAddress.js"; diff --git a/src/Types/Objects/InvoiceDetail.ts b/src/Types/Objects/InvoiceDetail.ts index 44d08ba..a28b433 100644 --- a/src/Types/Objects/InvoiceDetail.ts +++ b/src/Types/Objects/InvoiceDetail.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import FileReference, { TFileReference } from "./FileReference.js"; import InvoicePaymentTerm, { TInvoicePaymentTerm } from "./InvoicePaymentTerm.js"; import Metadata, { TMetadata } from "./Metadata.js"; diff --git a/src/Types/Objects/InvoicePaymentTerm.ts b/src/Types/Objects/InvoicePaymentTerm.ts index 0b86bd4..1fb9a9c 100644 --- a/src/Types/Objects/InvoicePaymentTerm.ts +++ b/src/Types/Objects/InvoicePaymentTerm.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TInvoicePaymentTerm = { term_type?: string; diff --git a/src/Types/Objects/InvoicerInfo.ts b/src/Types/Objects/InvoicerInfo.ts index 12b5b78..b5abd33 100644 --- a/src/Types/Objects/InvoicerInfo.ts +++ b/src/Types/Objects/InvoicerInfo.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import PhoneDetail, { TPhoneDetail } from "./PhoneDetail.js"; export type TInvoicerInfo = { diff --git a/src/Types/Objects/Item.ts b/src/Types/Objects/Item.ts index 312f26a..1ab90a3 100644 --- a/src/Types/Objects/Item.ts +++ b/src/Types/Objects/Item.ts @@ -1,5 +1,5 @@ -import { UnitOfMeasure } from "../Enums/UnitOfMeasure.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { UnitOfMeasure } from "@Types/Enums/UnitOfMeasure.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Discount, { TDiscount } from "./Discount.js"; import Money, { TMoney } from "./Money.js"; import Tax, { TTax } from "./Tax.js"; diff --git a/src/Types/Objects/LinkDescription.ts b/src/Types/Objects/LinkDescription.ts index 9840af8..a0afbdc 100644 --- a/src/Types/Objects/LinkDescription.ts +++ b/src/Types/Objects/LinkDescription.ts @@ -1,5 +1,5 @@ -import { HTTPMethod } from "../Enums/HTTPMethod.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { HTTPMethod } from "@Types/Enums/HTTPMethod.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TLinkDescription = { href: string; diff --git a/src/Types/Objects/MakeOffer.ts b/src/Types/Objects/MakeOffer.ts index 387abf2..1128aa0 100644 --- a/src/Types/Objects/MakeOffer.ts +++ b/src/Types/Objects/MakeOffer.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types"; +import Types, { ITypes, Static } from "@Types/Types"; import AddressPortable, { TAddressPortable } from "./AddressPortable"; import Money, { TMoney } from "./Money"; import OfferType, { TOfferType } from "./OfferType"; diff --git a/src/Types/Objects/Metadata.ts b/src/Types/Objects/Metadata.ts index 21c8400..17cf8b2 100644 --- a/src/Types/Objects/Metadata.ts +++ b/src/Types/Objects/Metadata.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TMetadata = { create_time?: string; diff --git a/src/Types/Objects/Money.ts b/src/Types/Objects/Money.ts index 93bbb02..fe3d61e 100644 --- a/src/Types/Objects/Money.ts +++ b/src/Types/Objects/Money.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TMoney = { currency_code: string; diff --git a/src/Types/Objects/Name.ts b/src/Types/Objects/Name.ts index 1fd0afe..1b7edb9 100644 --- a/src/Types/Objects/Name.ts +++ b/src/Types/Objects/Name.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TName = { alternate_full_name?: string; diff --git a/src/Types/Objects/OfferType.ts b/src/Types/Objects/OfferType.ts index de3efd3..6b2c7d2 100644 --- a/src/Types/Objects/OfferType.ts +++ b/src/Types/Objects/OfferType.ts @@ -1,5 +1,5 @@ -import Types, { ITypes, Static } from "../Types"; -import { OfferType as OfferTypeEnum } from "../Enums/OfferType"; +import Types, { ITypes, Static } from "@Types/Types"; +import { OfferType as OfferTypeEnum } from "@Types/Enums/OfferType"; export type TOfferType = { offer_type?: keyof typeof OfferTypeEnum; diff --git a/src/Types/Objects/PartialPayment.ts b/src/Types/Objects/PartialPayment.ts index 873e546..3276111 100644 --- a/src/Types/Objects/PartialPayment.ts +++ b/src/Types/Objects/PartialPayment.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; export type TPartialPayment = { diff --git a/src/Types/Objects/Patch.ts b/src/Types/Objects/Patch.ts index d741ec4..6217c06 100644 --- a/src/Types/Objects/Patch.ts +++ b/src/Types/Objects/Patch.ts @@ -1,5 +1,5 @@ -import { PatchOperation } from "../Enums/PatchOperation.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { PatchOperation } from "@Types/Enums/PatchOperation.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TPatch = { op: keyof typeof PatchOperation; diff --git a/src/Types/Objects/PatchRequest.ts b/src/Types/Objects/PatchRequest.ts index aa90f5a..666c5d4 100644 --- a/src/Types/Objects/PatchRequest.ts +++ b/src/Types/Objects/PatchRequest.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Patch, { TPatch } from "./Patch.js"; export type TPatchRequest = { diff --git a/src/Types/Objects/PaymentDetail.ts b/src/Types/Objects/PaymentDetail.ts index 29a2e3e..7681984 100644 --- a/src/Types/Objects/PaymentDetail.ts +++ b/src/Types/Objects/PaymentDetail.ts @@ -1,6 +1,6 @@ -import { PaymentDetailMethod } from "../Enums/PaymentDetailMethod.js"; -import { PaymentDetailType } from "../Enums/PaymentDetailType.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { PaymentDetailMethod } from "@Types/Enums/PaymentDetailMethod.js"; +import { PaymentDetailType } from "@Types/Enums/PaymentDetailType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import ContactInformation, { TContactInformation } from "./ContactInformation.js"; import Money, { TMoney } from "./Money.js"; diff --git a/src/Types/Objects/PaymentTerm.ts b/src/Types/Objects/PaymentTerm.ts index 6e0d80b..2fa53fa 100644 --- a/src/Types/Objects/PaymentTerm.ts +++ b/src/Types/Objects/PaymentTerm.ts @@ -1,5 +1,5 @@ -import { PaymentTermType } from "../Enums/PaymentTermType.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { PaymentTermType } from "@Types/Enums/PaymentTermType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TPaymentTerm = { term_type?: keyof typeof PaymentTermType; diff --git a/src/Types/Objects/Payments.ts b/src/Types/Objects/Payments.ts index 9e1b5cd..502a91a 100644 --- a/src/Types/Objects/Payments.ts +++ b/src/Types/Objects/Payments.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; import PaymentDetail, { TPaymentDetail } from "./PaymentDetail.js"; diff --git a/src/Types/Objects/PhoneDetail.ts b/src/Types/Objects/PhoneDetail.ts index bb780a7..b6c5cd3 100644 --- a/src/Types/Objects/PhoneDetail.ts +++ b/src/Types/Objects/PhoneDetail.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TPhoneDetail = { country_code: string; diff --git a/src/Types/Objects/Product.ts b/src/Types/Objects/Product.ts index 5204af6..437cf88 100644 --- a/src/Types/Objects/Product.ts +++ b/src/Types/Objects/Product.ts @@ -1,8 +1,8 @@ -import { ProductType } from "./../Enums/ProductType.js"; -import { ProductCategory } from "./../Enums/ProductCategory.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { ProductType } from "@Types/Enums/ProductType.js"; +import { ProductCategory } from "@Types/Enums/ProductCategory.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; -import PayPal from "../../PayPal.js"; +import PayPal from "@Types/../PayPal.js"; import PatchRequest from "./PatchRequest.js"; export type TProduct = { diff --git a/src/Types/Objects/ProductCollectionElement.ts b/src/Types/Objects/ProductCollectionElement.ts index 22b98d3..62bee94 100644 --- a/src/Types/Objects/ProductCollectionElement.ts +++ b/src/Types/Objects/ProductCollectionElement.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; export type TProductCollectionElement = { diff --git a/src/Types/Objects/RecipientInfo.ts b/src/Types/Objects/RecipientInfo.ts index 847276f..a980026 100644 --- a/src/Types/Objects/RecipientInfo.ts +++ b/src/Types/Objects/RecipientInfo.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import BillingInfo, { TBillingInfo } from "./BillingInfo.js"; import ContactInformation, { TContactInformation } from "./ContactInformation.js"; diff --git a/src/Types/Objects/RefundDetail.ts b/src/Types/Objects/RefundDetail.ts index e66f6b5..8386555 100644 --- a/src/Types/Objects/RefundDetail.ts +++ b/src/Types/Objects/RefundDetail.ts @@ -1,6 +1,6 @@ -import { PaymentDetailMethod } from "../Enums/PaymentDetailMethod.js"; -import { PaymentDetailType } from "../Enums/PaymentDetailType.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { PaymentDetailMethod } from "@Types/Enums/PaymentDetailMethod.js"; +import { PaymentDetailType } from "@Types/Enums/PaymentDetailType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; export type TRefundDetail = { diff --git a/src/Types/Objects/Refunds.ts b/src/Types/Objects/Refunds.ts index 6ec635e..17cd908 100644 --- a/src/Types/Objects/Refunds.ts +++ b/src/Types/Objects/Refunds.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; import RefundDetail, { TRefundDetail } from "./RefundDetail.js"; diff --git a/src/Types/Objects/ResponseAcceptClaimType.ts b/src/Types/Objects/ResponseAcceptClaimType.ts index 7edb340..2ca2fc3 100644 --- a/src/Types/Objects/ResponseAcceptClaimType.ts +++ b/src/Types/Objects/ResponseAcceptClaimType.ts @@ -1,5 +1,5 @@ -import Types, { ITypes, Static } from "../Types.js"; -import { ResponseAcceptClaimType as ResponseAcceptClaimTypeEnum } from "../Enums/ResponseAcceptClaimType.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; +import { ResponseAcceptClaimType as ResponseAcceptClaimTypeEnum } from "@Types/Enums/ResponseAcceptClaimType.js"; export type TResponseAcceptClaimType = { "response-accept_claim_type"?: keyof typeof ResponseAcceptClaimTypeEnum; diff --git a/src/Types/Objects/ResponseShipmentInfo.ts b/src/Types/Objects/ResponseShipmentInfo.ts index 70bb8dd..2054bf7 100644 --- a/src/Types/Objects/ResponseShipmentInfo.ts +++ b/src/Types/Objects/ResponseShipmentInfo.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Document, { TDocument } from "./Document.js"; import ResponseTrackingInfo, { TResponseTrackingInfo } from "./ResponseTrackingInfo.js"; diff --git a/src/Types/Objects/ResponseTrackingInfo.ts b/src/Types/Objects/ResponseTrackingInfo.ts index 69d8104..55d8b04 100644 --- a/src/Types/Objects/ResponseTrackingInfo.ts +++ b/src/Types/Objects/ResponseTrackingInfo.ts @@ -1,5 +1,5 @@ -import { Carrier } from "../Enums/Carrier.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { Carrier } from "@Types/Enums/Carrier.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TResponseTrackingInfo = { carrier_name?: keyof typeof Carrier; diff --git a/src/Types/Objects/ShippingCost.ts b/src/Types/Objects/ShippingCost.ts index 6a01a40..0a52507 100644 --- a/src/Types/Objects/ShippingCost.ts +++ b/src/Types/Objects/ShippingCost.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; import Tax, { TTax } from "./Tax.js"; diff --git a/src/Types/Objects/Tax.ts b/src/Types/Objects/Tax.ts index b75ee72..1d6e448 100644 --- a/src/Types/Objects/Tax.ts +++ b/src/Types/Objects/Tax.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import Money, { TMoney } from "./Money.js"; export type TTax = { diff --git a/src/Types/Objects/Template.ts b/src/Types/Objects/Template.ts index b2e2c38..1241656 100644 --- a/src/Types/Objects/Template.ts +++ b/src/Types/Objects/Template.ts @@ -1,6 +1,6 @@ -import PayPal from "../../PayPal.js"; -import { UnitOfMeasure } from "../Enums/UnitOfMeasure.js"; -import Types, { ITypes, Static } from "../Types.js"; +import PayPal from "@Types/../PayPal.js"; +import { UnitOfMeasure } from "@Types/Enums/UnitOfMeasure.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; import TemplateInfo, { TTemplateInfo } from "./TemplateInfo.js"; import TemplateSettings, { TTemplateSettings } from "./TemplateSettings.js"; diff --git a/src/Types/Objects/TemplateDetail.ts b/src/Types/Objects/TemplateDetail.ts index 482ee14..c9a7070 100644 --- a/src/Types/Objects/TemplateDetail.ts +++ b/src/Types/Objects/TemplateDetail.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import FileReference, { TFileReference } from "./FileReference.js"; import PaymentTerm, { TPaymentTerm } from "./PaymentTerm.js"; import TemplateMetadata, { TTemplateMetadata } from "./TemplateMetadata.js"; diff --git a/src/Types/Objects/TemplateDisplayPreference.ts b/src/Types/Objects/TemplateDisplayPreference.ts index 895600e..7de5755 100644 --- a/src/Types/Objects/TemplateDisplayPreference.ts +++ b/src/Types/Objects/TemplateDisplayPreference.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TTemplateDisplayPreference = { hidden?: boolean; diff --git a/src/Types/Objects/TemplateInfo.ts b/src/Types/Objects/TemplateInfo.ts index bd5682a..d84582b 100644 --- a/src/Types/Objects/TemplateInfo.ts +++ b/src/Types/Objects/TemplateInfo.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import AmountSummaryDetail, { TAmountSummaryDetail } from "./AmountSummaryDetail.js"; import Configuration, { TConfiguration } from "./Configuration.js"; import EmailAddress, { TEmailAddress } from "./EmailAddress.js"; diff --git a/src/Types/Objects/TemplateItemSetting.ts b/src/Types/Objects/TemplateItemSetting.ts index 0505056..450e62e 100644 --- a/src/Types/Objects/TemplateItemSetting.ts +++ b/src/Types/Objects/TemplateItemSetting.ts @@ -1,5 +1,5 @@ -import { TemplateFieldName } from "../Enums/TemplateFieldName.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { TemplateFieldName } from "@Types/Enums/TemplateFieldName.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import TemplateDisplayPreference, { TTemplateDisplayPreference } from "./TemplateDisplayPreference.js"; export type TTemplateItemSetting = { diff --git a/src/Types/Objects/TemplateMetadata.ts b/src/Types/Objects/TemplateMetadata.ts index a1ce68b..28be2f5 100644 --- a/src/Types/Objects/TemplateMetadata.ts +++ b/src/Types/Objects/TemplateMetadata.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; export type TTemplateMetadata = { readonly create_time?: string; diff --git a/src/Types/Objects/TemplateSettings.ts b/src/Types/Objects/TemplateSettings.ts index 8a4df46..e7ef2ec 100644 --- a/src/Types/Objects/TemplateSettings.ts +++ b/src/Types/Objects/TemplateSettings.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import TemplateItemSetting, { TTemplateItemSetting } from "./TemplateItemSetting.js"; import TemplateSubtotalSetting, { TTemplateSubtotalSetting } from "./TemplateSubtotalSetting.js"; diff --git a/src/Types/Objects/TemplateSubtotalSetting.ts b/src/Types/Objects/TemplateSubtotalSetting.ts index e65960f..5cd0c2e 100644 --- a/src/Types/Objects/TemplateSubtotalSetting.ts +++ b/src/Types/Objects/TemplateSubtotalSetting.ts @@ -1,5 +1,5 @@ -import { TemplateFieldName } from "../Enums/TemplateFieldName.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { TemplateFieldName } from "@Types/Enums/TemplateFieldName.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import TemplateDisplayPreference, { TTemplateDisplayPreference } from "./TemplateDisplayPreference.js"; export type TTemplateSubtotalSetting = { diff --git a/src/Types/Objects/Tracker.ts b/src/Types/Objects/Tracker.ts index 494fc17..1da6695 100644 --- a/src/Types/Objects/Tracker.ts +++ b/src/Types/Objects/Tracker.ts @@ -1,9 +1,9 @@ -import { TrackingNumberType } from "./../Enums/TrackingNumberType.js"; -import { Carrier } from "./../Enums/Carrier.js"; -import { ShippingStatus } from "./../Enums/ShippingStatus.js"; -import Types, { ITypes, Static } from "../Types.js"; +import { TrackingNumberType } from "@Types/Enums/TrackingNumberType.js"; +import { Carrier } from "@Types/Enums/Carrier.js"; +import { ShippingStatus } from "@Types/Enums/ShippingStatus.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; -import PayPal from "../../PayPal.js"; +import PayPal from "@Types/../PayPal.js"; export type TTracker = { status: keyof typeof ShippingStatus; diff --git a/src/Types/Objects/TrackerIdentifier.ts b/src/Types/Objects/TrackerIdentifier.ts index 89eafb6..97786a0 100644 --- a/src/Types/Objects/TrackerIdentifier.ts +++ b/src/Types/Objects/TrackerIdentifier.ts @@ -1,4 +1,4 @@ -import Types, { ITypes, Static } from "../Types.js"; +import Types, { ITypes, Static } from "@Types/Types.js"; import LinkDescription, { TLinkDescription } from "./LinkDescription.js"; export type TTrackerIdentifier = { diff --git a/tsconfig.json b/tsconfig.json index 354e93e..a88260d 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,13 @@ "noImplicitOverride": true, "declaration": true, "outDir": "./dist", + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"], + "@API/*": ["./src/API/*"], + "@Errors/*": ["./src/Errors/*"], + "@Types/*": ["./src/Types/*"] + } }, "exclude": ["node_modules", "out", "dist", ".vs/**/*"] }