@verma-consulting/common-library 0.1.30 → 0.1.32
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/dist/index.d.mts +123 -14
- package/dist/index.d.ts +123 -14
- package/dist/index.js +124 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +115 -12
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -839,6 +839,45 @@ interface DealInterface {
|
|
|
839
839
|
createdBy?: UserInterface;
|
|
840
840
|
updatedBy?: UserInterface;
|
|
841
841
|
}
|
|
842
|
+
interface OrderInterface {
|
|
843
|
+
id?: string;
|
|
844
|
+
createdAt?: Date;
|
|
845
|
+
updatedAt?: Date;
|
|
846
|
+
deletedAt?: Date;
|
|
847
|
+
name?: string;
|
|
848
|
+
status?: string;
|
|
849
|
+
description?: string;
|
|
850
|
+
orderNumber?: string;
|
|
851
|
+
fulfillmentStatus?: string;
|
|
852
|
+
paymentStatus?: string;
|
|
853
|
+
financialStatus?: string;
|
|
854
|
+
subtotalAmount?: number;
|
|
855
|
+
taxAmount?: number;
|
|
856
|
+
shippingAmount?: number;
|
|
857
|
+
discountAmount?: number;
|
|
858
|
+
totalAmount?: number;
|
|
859
|
+
currency?: string;
|
|
860
|
+
customerName?: string;
|
|
861
|
+
customerEmail?: string;
|
|
862
|
+
customerPhone?: string;
|
|
863
|
+
shippingProvider?: string;
|
|
864
|
+
shippingServiceLevel?: string;
|
|
865
|
+
trackingNumber?: string;
|
|
866
|
+
trackingUrl?: string;
|
|
867
|
+
internalNotes?: string;
|
|
868
|
+
customerNotes?: string;
|
|
869
|
+
organizationId?: string;
|
|
870
|
+
createdById?: string;
|
|
871
|
+
updatedById?: string;
|
|
872
|
+
clientId?: string;
|
|
873
|
+
poolId?: string | null;
|
|
874
|
+
accountOwnerId?: string;
|
|
875
|
+
accountOwner?: UserInterface;
|
|
876
|
+
contents?: ContentInterface[];
|
|
877
|
+
client?: ClientInterface;
|
|
878
|
+
createdBy?: UserInterface;
|
|
879
|
+
updatedBy?: UserInterface;
|
|
880
|
+
}
|
|
842
881
|
interface LeadInterface {
|
|
843
882
|
id?: string;
|
|
844
883
|
createdAt?: Date;
|
|
@@ -1473,11 +1512,6 @@ interface OrderAddressInterface {
|
|
|
1473
1512
|
phone?: string;
|
|
1474
1513
|
email?: string;
|
|
1475
1514
|
}
|
|
1476
|
-
interface OrderInterface {
|
|
1477
|
-
shippingAddress: OrderAddressInterface;
|
|
1478
|
-
PackageDimensionsInterface?: PackageDimensionsInterface;
|
|
1479
|
-
totalWeight?: number;
|
|
1480
|
-
}
|
|
1481
1515
|
interface CarrierMappingInterface {
|
|
1482
1516
|
name: string;
|
|
1483
1517
|
services: string[];
|
|
@@ -1531,6 +1565,47 @@ declare enum addressType {
|
|
|
1531
1565
|
po_box = "po_box",
|
|
1532
1566
|
military = "military"
|
|
1533
1567
|
}
|
|
1568
|
+
declare enum unit {
|
|
1569
|
+
cm = "cm",
|
|
1570
|
+
in = "in"
|
|
1571
|
+
}
|
|
1572
|
+
declare enum weightUnit {
|
|
1573
|
+
g = "g",
|
|
1574
|
+
oz = "oz",
|
|
1575
|
+
kg = "kg",
|
|
1576
|
+
lb = "lb"
|
|
1577
|
+
}
|
|
1578
|
+
declare enum girth {
|
|
1579
|
+
USPS = "USPS",
|
|
1580
|
+
UPS = "UPS"
|
|
1581
|
+
}
|
|
1582
|
+
declare enum packageType {
|
|
1583
|
+
package = "package",
|
|
1584
|
+
envelope = "envelope",
|
|
1585
|
+
tube = "tube"
|
|
1586
|
+
}
|
|
1587
|
+
declare enum shippingProvider {
|
|
1588
|
+
USPS = "USPS",
|
|
1589
|
+
UPS = "UPS",
|
|
1590
|
+
FedEx = "FedEx",
|
|
1591
|
+
DHL = "DHL"
|
|
1592
|
+
}
|
|
1593
|
+
declare enum shippingServiceLevel {
|
|
1594
|
+
priority = "priority",
|
|
1595
|
+
express = "express",
|
|
1596
|
+
ground = "ground"
|
|
1597
|
+
}
|
|
1598
|
+
declare enum financialStatus {
|
|
1599
|
+
authorized = "authorized",
|
|
1600
|
+
captured = "captured",
|
|
1601
|
+
voided = "voided"
|
|
1602
|
+
}
|
|
1603
|
+
declare enum fulfillmentStatus {
|
|
1604
|
+
unfulfilled = "unfulfilled",
|
|
1605
|
+
partial = "partial",
|
|
1606
|
+
fulfilled = "fulfilled",
|
|
1607
|
+
delivered = "delivered"
|
|
1608
|
+
}
|
|
1534
1609
|
declare enum subscriptionCancellationReason {
|
|
1535
1610
|
CustomerService = "customer_service",
|
|
1536
1611
|
LowQuality = "low_quality",
|
|
@@ -1556,6 +1631,9 @@ declare enum captureMethod {
|
|
|
1556
1631
|
manual = "manual"
|
|
1557
1632
|
}
|
|
1558
1633
|
declare enum paymentStatus {
|
|
1634
|
+
unpaid = "unpaid",
|
|
1635
|
+
paid = "paid",
|
|
1636
|
+
refunded = "refunded",
|
|
1559
1637
|
pending = "pending",
|
|
1560
1638
|
succeeded = "succeeded",
|
|
1561
1639
|
failed = "failed",
|
|
@@ -1707,15 +1785,16 @@ declare enum OrganizationFeatures {
|
|
|
1707
1785
|
tasks = "tasks",
|
|
1708
1786
|
products = "products",
|
|
1709
1787
|
inventories = "inventories",
|
|
1710
|
-
invoices = "invoices",
|
|
1711
|
-
leads = "leads",
|
|
1712
|
-
deals = "deals",
|
|
1713
1788
|
contacts = "contacts",
|
|
1714
1789
|
engagements = "engagements",
|
|
1715
1790
|
campaigns = "campaigns",
|
|
1716
|
-
|
|
1791
|
+
leads = "leads",
|
|
1792
|
+
deals = "deals",
|
|
1793
|
+
orders = "orders",
|
|
1794
|
+
invoices = "invoices",
|
|
1717
1795
|
payments = "payments",
|
|
1718
1796
|
paymentMethods = "paymentMethods",
|
|
1797
|
+
subscriptions = "subscriptions",
|
|
1719
1798
|
refunds = "refunds",
|
|
1720
1799
|
disputes = "disputes",
|
|
1721
1800
|
dataPools = "dataPools",
|
|
@@ -1850,15 +1929,16 @@ declare enum ModelType {
|
|
|
1850
1929
|
tasks = "tasks",
|
|
1851
1930
|
products = "products",
|
|
1852
1931
|
inventories = "inventories",
|
|
1853
|
-
invoices = "invoices",
|
|
1854
1932
|
leads = "leads",
|
|
1855
1933
|
deals = "deals",
|
|
1934
|
+
orders = "orders",
|
|
1856
1935
|
contacts = "contacts",
|
|
1857
1936
|
engagements = "engagements",
|
|
1858
1937
|
campaigns = "campaigns",
|
|
1859
|
-
|
|
1938
|
+
invoices = "invoices",
|
|
1860
1939
|
payments = "payments",
|
|
1861
1940
|
paymentMethods = "paymentMethods",
|
|
1941
|
+
subscriptions = "subscriptions",
|
|
1862
1942
|
refunds = "refunds",
|
|
1863
1943
|
disputes = "disputes"
|
|
1864
1944
|
}
|
|
@@ -2156,9 +2236,9 @@ declare const constants: {
|
|
|
2156
2236
|
tasks: string;
|
|
2157
2237
|
products: string;
|
|
2158
2238
|
inventories: string;
|
|
2159
|
-
campaigns: string;
|
|
2160
2239
|
contacts: string;
|
|
2161
2240
|
engagements: string;
|
|
2241
|
+
campaigns: string;
|
|
2162
2242
|
leads: string;
|
|
2163
2243
|
deals: string;
|
|
2164
2244
|
orders: string;
|
|
@@ -2174,9 +2254,9 @@ declare const constants: {
|
|
|
2174
2254
|
tasks: string;
|
|
2175
2255
|
products: string;
|
|
2176
2256
|
inventories: string;
|
|
2177
|
-
campaigns: string;
|
|
2178
2257
|
contacts: string;
|
|
2179
2258
|
engagements: string;
|
|
2259
|
+
campaigns: string;
|
|
2180
2260
|
leads: string;
|
|
2181
2261
|
deals: string;
|
|
2182
2262
|
orders: string;
|
|
@@ -2706,6 +2786,11 @@ declare const defaults: {
|
|
|
2706
2786
|
length: number;
|
|
2707
2787
|
weight: number;
|
|
2708
2788
|
width: number;
|
|
2789
|
+
unit: string;
|
|
2790
|
+
weightUnit: string;
|
|
2791
|
+
girth: number;
|
|
2792
|
+
packageType: string;
|
|
2793
|
+
template: string;
|
|
2709
2794
|
};
|
|
2710
2795
|
prices: {
|
|
2711
2796
|
active: boolean;
|
|
@@ -2841,6 +2926,30 @@ declare const defaults: {
|
|
|
2841
2926
|
client: string;
|
|
2842
2927
|
campaign: string;
|
|
2843
2928
|
};
|
|
2929
|
+
orders: {
|
|
2930
|
+
name: string;
|
|
2931
|
+
description: string;
|
|
2932
|
+
status: string;
|
|
2933
|
+
orderNumber: string;
|
|
2934
|
+
fulfillmentStatus: string;
|
|
2935
|
+
paymentStatus: string;
|
|
2936
|
+
financialStatus: string;
|
|
2937
|
+
subtotalAmount: number;
|
|
2938
|
+
taxAmount: number;
|
|
2939
|
+
shippingAmount: number;
|
|
2940
|
+
discountAmount: number;
|
|
2941
|
+
totalAmount: number;
|
|
2942
|
+
currency: string;
|
|
2943
|
+
customerName: string;
|
|
2944
|
+
customerEmail: string;
|
|
2945
|
+
customerPhone: string;
|
|
2946
|
+
shippingProvider: string;
|
|
2947
|
+
shippingServiceLevel: string;
|
|
2948
|
+
trackingNumber: string;
|
|
2949
|
+
trackingUrl: string;
|
|
2950
|
+
internalNotes: string;
|
|
2951
|
+
customerNotes: string;
|
|
2952
|
+
};
|
|
2844
2953
|
subscriptions: {
|
|
2845
2954
|
name: string;
|
|
2846
2955
|
description: null;
|
|
@@ -3649,4 +3758,4 @@ declare const defaultTypes: {
|
|
|
3649
3758
|
};
|
|
3650
3759
|
};
|
|
3651
3760
|
|
|
3652
|
-
export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
|
|
3761
|
+
export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, financialStatus, formatPhoneNumber, fulfillmentStatus, getRandomArbitrary, girth, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, packageType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, shippingProvider, shippingServiceLevel, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, unit, userRole, userSource, userStatus, validEmail, weightUnit };
|
package/dist/index.d.ts
CHANGED
|
@@ -839,6 +839,45 @@ interface DealInterface {
|
|
|
839
839
|
createdBy?: UserInterface;
|
|
840
840
|
updatedBy?: UserInterface;
|
|
841
841
|
}
|
|
842
|
+
interface OrderInterface {
|
|
843
|
+
id?: string;
|
|
844
|
+
createdAt?: Date;
|
|
845
|
+
updatedAt?: Date;
|
|
846
|
+
deletedAt?: Date;
|
|
847
|
+
name?: string;
|
|
848
|
+
status?: string;
|
|
849
|
+
description?: string;
|
|
850
|
+
orderNumber?: string;
|
|
851
|
+
fulfillmentStatus?: string;
|
|
852
|
+
paymentStatus?: string;
|
|
853
|
+
financialStatus?: string;
|
|
854
|
+
subtotalAmount?: number;
|
|
855
|
+
taxAmount?: number;
|
|
856
|
+
shippingAmount?: number;
|
|
857
|
+
discountAmount?: number;
|
|
858
|
+
totalAmount?: number;
|
|
859
|
+
currency?: string;
|
|
860
|
+
customerName?: string;
|
|
861
|
+
customerEmail?: string;
|
|
862
|
+
customerPhone?: string;
|
|
863
|
+
shippingProvider?: string;
|
|
864
|
+
shippingServiceLevel?: string;
|
|
865
|
+
trackingNumber?: string;
|
|
866
|
+
trackingUrl?: string;
|
|
867
|
+
internalNotes?: string;
|
|
868
|
+
customerNotes?: string;
|
|
869
|
+
organizationId?: string;
|
|
870
|
+
createdById?: string;
|
|
871
|
+
updatedById?: string;
|
|
872
|
+
clientId?: string;
|
|
873
|
+
poolId?: string | null;
|
|
874
|
+
accountOwnerId?: string;
|
|
875
|
+
accountOwner?: UserInterface;
|
|
876
|
+
contents?: ContentInterface[];
|
|
877
|
+
client?: ClientInterface;
|
|
878
|
+
createdBy?: UserInterface;
|
|
879
|
+
updatedBy?: UserInterface;
|
|
880
|
+
}
|
|
842
881
|
interface LeadInterface {
|
|
843
882
|
id?: string;
|
|
844
883
|
createdAt?: Date;
|
|
@@ -1473,11 +1512,6 @@ interface OrderAddressInterface {
|
|
|
1473
1512
|
phone?: string;
|
|
1474
1513
|
email?: string;
|
|
1475
1514
|
}
|
|
1476
|
-
interface OrderInterface {
|
|
1477
|
-
shippingAddress: OrderAddressInterface;
|
|
1478
|
-
PackageDimensionsInterface?: PackageDimensionsInterface;
|
|
1479
|
-
totalWeight?: number;
|
|
1480
|
-
}
|
|
1481
1515
|
interface CarrierMappingInterface {
|
|
1482
1516
|
name: string;
|
|
1483
1517
|
services: string[];
|
|
@@ -1531,6 +1565,47 @@ declare enum addressType {
|
|
|
1531
1565
|
po_box = "po_box",
|
|
1532
1566
|
military = "military"
|
|
1533
1567
|
}
|
|
1568
|
+
declare enum unit {
|
|
1569
|
+
cm = "cm",
|
|
1570
|
+
in = "in"
|
|
1571
|
+
}
|
|
1572
|
+
declare enum weightUnit {
|
|
1573
|
+
g = "g",
|
|
1574
|
+
oz = "oz",
|
|
1575
|
+
kg = "kg",
|
|
1576
|
+
lb = "lb"
|
|
1577
|
+
}
|
|
1578
|
+
declare enum girth {
|
|
1579
|
+
USPS = "USPS",
|
|
1580
|
+
UPS = "UPS"
|
|
1581
|
+
}
|
|
1582
|
+
declare enum packageType {
|
|
1583
|
+
package = "package",
|
|
1584
|
+
envelope = "envelope",
|
|
1585
|
+
tube = "tube"
|
|
1586
|
+
}
|
|
1587
|
+
declare enum shippingProvider {
|
|
1588
|
+
USPS = "USPS",
|
|
1589
|
+
UPS = "UPS",
|
|
1590
|
+
FedEx = "FedEx",
|
|
1591
|
+
DHL = "DHL"
|
|
1592
|
+
}
|
|
1593
|
+
declare enum shippingServiceLevel {
|
|
1594
|
+
priority = "priority",
|
|
1595
|
+
express = "express",
|
|
1596
|
+
ground = "ground"
|
|
1597
|
+
}
|
|
1598
|
+
declare enum financialStatus {
|
|
1599
|
+
authorized = "authorized",
|
|
1600
|
+
captured = "captured",
|
|
1601
|
+
voided = "voided"
|
|
1602
|
+
}
|
|
1603
|
+
declare enum fulfillmentStatus {
|
|
1604
|
+
unfulfilled = "unfulfilled",
|
|
1605
|
+
partial = "partial",
|
|
1606
|
+
fulfilled = "fulfilled",
|
|
1607
|
+
delivered = "delivered"
|
|
1608
|
+
}
|
|
1534
1609
|
declare enum subscriptionCancellationReason {
|
|
1535
1610
|
CustomerService = "customer_service",
|
|
1536
1611
|
LowQuality = "low_quality",
|
|
@@ -1556,6 +1631,9 @@ declare enum captureMethod {
|
|
|
1556
1631
|
manual = "manual"
|
|
1557
1632
|
}
|
|
1558
1633
|
declare enum paymentStatus {
|
|
1634
|
+
unpaid = "unpaid",
|
|
1635
|
+
paid = "paid",
|
|
1636
|
+
refunded = "refunded",
|
|
1559
1637
|
pending = "pending",
|
|
1560
1638
|
succeeded = "succeeded",
|
|
1561
1639
|
failed = "failed",
|
|
@@ -1707,15 +1785,16 @@ declare enum OrganizationFeatures {
|
|
|
1707
1785
|
tasks = "tasks",
|
|
1708
1786
|
products = "products",
|
|
1709
1787
|
inventories = "inventories",
|
|
1710
|
-
invoices = "invoices",
|
|
1711
|
-
leads = "leads",
|
|
1712
|
-
deals = "deals",
|
|
1713
1788
|
contacts = "contacts",
|
|
1714
1789
|
engagements = "engagements",
|
|
1715
1790
|
campaigns = "campaigns",
|
|
1716
|
-
|
|
1791
|
+
leads = "leads",
|
|
1792
|
+
deals = "deals",
|
|
1793
|
+
orders = "orders",
|
|
1794
|
+
invoices = "invoices",
|
|
1717
1795
|
payments = "payments",
|
|
1718
1796
|
paymentMethods = "paymentMethods",
|
|
1797
|
+
subscriptions = "subscriptions",
|
|
1719
1798
|
refunds = "refunds",
|
|
1720
1799
|
disputes = "disputes",
|
|
1721
1800
|
dataPools = "dataPools",
|
|
@@ -1850,15 +1929,16 @@ declare enum ModelType {
|
|
|
1850
1929
|
tasks = "tasks",
|
|
1851
1930
|
products = "products",
|
|
1852
1931
|
inventories = "inventories",
|
|
1853
|
-
invoices = "invoices",
|
|
1854
1932
|
leads = "leads",
|
|
1855
1933
|
deals = "deals",
|
|
1934
|
+
orders = "orders",
|
|
1856
1935
|
contacts = "contacts",
|
|
1857
1936
|
engagements = "engagements",
|
|
1858
1937
|
campaigns = "campaigns",
|
|
1859
|
-
|
|
1938
|
+
invoices = "invoices",
|
|
1860
1939
|
payments = "payments",
|
|
1861
1940
|
paymentMethods = "paymentMethods",
|
|
1941
|
+
subscriptions = "subscriptions",
|
|
1862
1942
|
refunds = "refunds",
|
|
1863
1943
|
disputes = "disputes"
|
|
1864
1944
|
}
|
|
@@ -2156,9 +2236,9 @@ declare const constants: {
|
|
|
2156
2236
|
tasks: string;
|
|
2157
2237
|
products: string;
|
|
2158
2238
|
inventories: string;
|
|
2159
|
-
campaigns: string;
|
|
2160
2239
|
contacts: string;
|
|
2161
2240
|
engagements: string;
|
|
2241
|
+
campaigns: string;
|
|
2162
2242
|
leads: string;
|
|
2163
2243
|
deals: string;
|
|
2164
2244
|
orders: string;
|
|
@@ -2174,9 +2254,9 @@ declare const constants: {
|
|
|
2174
2254
|
tasks: string;
|
|
2175
2255
|
products: string;
|
|
2176
2256
|
inventories: string;
|
|
2177
|
-
campaigns: string;
|
|
2178
2257
|
contacts: string;
|
|
2179
2258
|
engagements: string;
|
|
2259
|
+
campaigns: string;
|
|
2180
2260
|
leads: string;
|
|
2181
2261
|
deals: string;
|
|
2182
2262
|
orders: string;
|
|
@@ -2706,6 +2786,11 @@ declare const defaults: {
|
|
|
2706
2786
|
length: number;
|
|
2707
2787
|
weight: number;
|
|
2708
2788
|
width: number;
|
|
2789
|
+
unit: string;
|
|
2790
|
+
weightUnit: string;
|
|
2791
|
+
girth: number;
|
|
2792
|
+
packageType: string;
|
|
2793
|
+
template: string;
|
|
2709
2794
|
};
|
|
2710
2795
|
prices: {
|
|
2711
2796
|
active: boolean;
|
|
@@ -2841,6 +2926,30 @@ declare const defaults: {
|
|
|
2841
2926
|
client: string;
|
|
2842
2927
|
campaign: string;
|
|
2843
2928
|
};
|
|
2929
|
+
orders: {
|
|
2930
|
+
name: string;
|
|
2931
|
+
description: string;
|
|
2932
|
+
status: string;
|
|
2933
|
+
orderNumber: string;
|
|
2934
|
+
fulfillmentStatus: string;
|
|
2935
|
+
paymentStatus: string;
|
|
2936
|
+
financialStatus: string;
|
|
2937
|
+
subtotalAmount: number;
|
|
2938
|
+
taxAmount: number;
|
|
2939
|
+
shippingAmount: number;
|
|
2940
|
+
discountAmount: number;
|
|
2941
|
+
totalAmount: number;
|
|
2942
|
+
currency: string;
|
|
2943
|
+
customerName: string;
|
|
2944
|
+
customerEmail: string;
|
|
2945
|
+
customerPhone: string;
|
|
2946
|
+
shippingProvider: string;
|
|
2947
|
+
shippingServiceLevel: string;
|
|
2948
|
+
trackingNumber: string;
|
|
2949
|
+
trackingUrl: string;
|
|
2950
|
+
internalNotes: string;
|
|
2951
|
+
customerNotes: string;
|
|
2952
|
+
};
|
|
2844
2953
|
subscriptions: {
|
|
2845
2954
|
name: string;
|
|
2846
2955
|
description: null;
|
|
@@ -3649,4 +3758,4 @@ declare const defaultTypes: {
|
|
|
3649
3758
|
};
|
|
3650
3759
|
};
|
|
3651
3760
|
|
|
3652
|
-
export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, formatPhoneNumber, getRandomArbitrary, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
|
|
3761
|
+
export { type ActivityInterface, type AddressInterface, type AmountDetailsInterface, type AnalyticsQueryInterface, AppMode, type AutomaticPaymentMethodsInterface, type AutomaticTaxInterface, type BatchShipmentInterface, type BillingDetailsInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, type CarrierAccountInterface, type CarrierAccountResponseInterface, type CarrierMappingInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, type DealInterface, DealType, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, type OrderAddressInterface, type OrderInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type ParcelInputInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RatesOptionsInterface, type RefundInterface, type RefundResponseInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, type ServiceLevelsResponseInterface, type ShippingInterface, type ShippingRateInterface, type ShippingTransactionInterface, type ShippoAddressInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type TrackingHistoryInterface, type TrackingInfoInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, addressType, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaultTypes, defaults, disputeReason, disputeStatus, financialStatus, formatPhoneNumber, fulfillmentStatus, getRandomArbitrary, girth, grabAge, integrationType, isNumber, largeNumberLabel, missingPaymentMethod, normalizeKey, openInNewTab, operationType, organizationFilterType, packageType, paymentAllowRedirect, paymentCancellationReason, paymentFutureUsage, paymentMethodAllowReDisplay, paymentMethodType, paymentStatus, prettifyString, priceType, productType, refundFailureReason, refundPendingReason, refundReason, refundStatus, shippingProvider, shippingServiceLevel, snakeToPretty, status, stripHtmlTags, subscriptionCancellationReason, taxBehavior, taxExempt, tiersMode, toCurrencyValue, unit, userRole, userSource, userStatus, validEmail, weightUnit };
|