@verma-consulting/common-library 0.1.15 → 0.1.16
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 +404 -177
- package/dist/index.d.ts +404 -177
- package/dist/index.js +442 -636
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +427 -635
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -103,7 +103,7 @@ interface UserInterface {
|
|
|
103
103
|
usagesCreated?: UsageInterface[];
|
|
104
104
|
productsCreated?: ProductInterface[];
|
|
105
105
|
subscriptionsCreated?: SubscriptionInterface[];
|
|
106
|
-
paymentsCreated?:
|
|
106
|
+
paymentsCreated?: PaymentInterface[];
|
|
107
107
|
permissions?: PermissionInterface[];
|
|
108
108
|
notifications?: NotificationInterface[];
|
|
109
109
|
avatar?: FileInterface;
|
|
@@ -240,7 +240,7 @@ interface ProductInterface {
|
|
|
240
240
|
price?: PriceInterface;
|
|
241
241
|
client?: ClientInterface;
|
|
242
242
|
subscriptions?: SubscriptionInterface[];
|
|
243
|
-
payments?:
|
|
243
|
+
payments?: PaymentInterface[];
|
|
244
244
|
poolId?: string;
|
|
245
245
|
pool?: PoolInterface;
|
|
246
246
|
organizationId?: string;
|
|
@@ -338,7 +338,7 @@ interface PauseCollectionInterface {
|
|
|
338
338
|
behavior?: string;
|
|
339
339
|
resumesAt?: Date;
|
|
340
340
|
}
|
|
341
|
-
interface
|
|
341
|
+
interface PaymentInterface {
|
|
342
342
|
id?: string;
|
|
343
343
|
createdAt?: Date;
|
|
344
344
|
updatedAt?: Date;
|
|
@@ -582,7 +582,7 @@ interface ClientInterface {
|
|
|
582
582
|
tasks?: TaskInterface[];
|
|
583
583
|
products?: ProductInterface[];
|
|
584
584
|
subscriptions?: SubscriptionInterface[];
|
|
585
|
-
payments?:
|
|
585
|
+
payments?: PaymentInterface[];
|
|
586
586
|
contactIds?: string[];
|
|
587
587
|
dealIds?: string[];
|
|
588
588
|
invoiceIds?: string[];
|
|
@@ -758,7 +758,7 @@ interface InvoiceInterface {
|
|
|
758
758
|
poolId?: string | null;
|
|
759
759
|
accountOwnerId?: string;
|
|
760
760
|
dealId?: string;
|
|
761
|
-
payment?:
|
|
761
|
+
payment?: PaymentInterface;
|
|
762
762
|
contents?: ContentInterface[];
|
|
763
763
|
inventories?: InventoryInterface[];
|
|
764
764
|
inventoryIds?: string[];
|
|
@@ -885,7 +885,7 @@ interface PoolInterface {
|
|
|
885
885
|
lead?: LeadInterface;
|
|
886
886
|
product?: ProductInterface;
|
|
887
887
|
subscription?: SubscriptionInterface;
|
|
888
|
-
payment?:
|
|
888
|
+
payment?: PaymentInterface;
|
|
889
889
|
campaign?: CampaignInterface;
|
|
890
890
|
invoice?: InvoiceInterface;
|
|
891
891
|
engagement?: EngagementInterface;
|
|
@@ -1168,7 +1168,7 @@ declare enum userStatus {
|
|
|
1168
1168
|
Active = "Active",
|
|
1169
1169
|
Inactive = "Inactive"
|
|
1170
1170
|
}
|
|
1171
|
-
declare enum
|
|
1171
|
+
declare enum cancellationReason {
|
|
1172
1172
|
CustomerService = "customer_service",
|
|
1173
1173
|
LowQuality = "low_quality",
|
|
1174
1174
|
MissingFeatures = "missing_features",
|
|
@@ -1193,13 +1193,151 @@ declare enum captureMethod {
|
|
|
1193
1193
|
manual = "manual"
|
|
1194
1194
|
}
|
|
1195
1195
|
declare enum paymentStatus {
|
|
1196
|
-
|
|
1197
|
-
|
|
1196
|
+
pending = "pending",
|
|
1197
|
+
succeeded = "succeeded",
|
|
1198
|
+
failed = "failed",
|
|
1198
1199
|
requiresAction = "requires_action",
|
|
1199
1200
|
requiresCapture = "requires_capture",
|
|
1200
1201
|
requiresConfirmation = "requires_confirmation",
|
|
1201
|
-
requiresPaymentMethod = "requires_payment_method"
|
|
1202
|
-
|
|
1202
|
+
requiresPaymentMethod = "requires_payment_method"
|
|
1203
|
+
}
|
|
1204
|
+
declare enum paymentAllowRedirect {
|
|
1205
|
+
always = "always",
|
|
1206
|
+
never = "never"
|
|
1207
|
+
}
|
|
1208
|
+
declare enum paymentFutureUsage {
|
|
1209
|
+
off_session = "off_session",
|
|
1210
|
+
on_session = "on_session"
|
|
1211
|
+
}
|
|
1212
|
+
declare enum taxBehavior {
|
|
1213
|
+
exclusive = "exclusive",
|
|
1214
|
+
inclusive = "inclusive",
|
|
1215
|
+
unspecified = "unspecified"
|
|
1216
|
+
}
|
|
1217
|
+
declare enum priceType {
|
|
1218
|
+
one_time = "one_time",
|
|
1219
|
+
recurring = "recurring"
|
|
1220
|
+
}
|
|
1221
|
+
declare enum billingScheme {
|
|
1222
|
+
per_unit = "per_unit",
|
|
1223
|
+
tiered = "tiered"
|
|
1224
|
+
}
|
|
1225
|
+
declare enum tiersMode {
|
|
1226
|
+
graduated = "graduated",
|
|
1227
|
+
volume = "volume"
|
|
1228
|
+
}
|
|
1229
|
+
declare enum disputeReason {
|
|
1230
|
+
bankCannotProcess = "bank_cannot_process",
|
|
1231
|
+
checkReturned = "check_returned",
|
|
1232
|
+
creditNotProcessed = "credit_not_processed",
|
|
1233
|
+
customerInitiated = "customer_initiated",
|
|
1234
|
+
debitNotAuthorized = "debit_not_authorized",
|
|
1235
|
+
duplicate = "duplicate",
|
|
1236
|
+
fraudulent = "fraudulent",
|
|
1237
|
+
general = "general",
|
|
1238
|
+
incorrectAccountDetails = "incorrect_account_details",
|
|
1239
|
+
insufficientFunds = "insufficient_funds",
|
|
1240
|
+
noncompliant = "noncompliant",
|
|
1241
|
+
productNotReceived = "product_not_received",
|
|
1242
|
+
productUnacceptable = "product_unacceptable",
|
|
1243
|
+
subscriptionCanceled = "subscription_canceled",
|
|
1244
|
+
unrecognized = "unrecognized"
|
|
1245
|
+
}
|
|
1246
|
+
declare enum disputeStatus {
|
|
1247
|
+
warningNeedsResponse = "warning_needs_response",
|
|
1248
|
+
warningUnderReview = "warning_under_review",
|
|
1249
|
+
warningClosed = "warning_closed",
|
|
1250
|
+
needsResponse = "needs_response",
|
|
1251
|
+
underReview = "under_review",
|
|
1252
|
+
won = "won",
|
|
1253
|
+
lost = "lost",
|
|
1254
|
+
prevented = "prevented"
|
|
1255
|
+
}
|
|
1256
|
+
declare enum refundStatus {
|
|
1257
|
+
pending = "pending",
|
|
1258
|
+
requiresAction = "requires_action",
|
|
1259
|
+
succeeded = "succeeded",
|
|
1260
|
+
failed = "failed",
|
|
1261
|
+
canceled = "canceled"
|
|
1262
|
+
}
|
|
1263
|
+
declare enum refundReason {
|
|
1264
|
+
duplicate = "duplicate",
|
|
1265
|
+
fraudulent = "fraudulent",
|
|
1266
|
+
requestedByCustomer = "requested_by_customer",
|
|
1267
|
+
expiredUncapturedCharge = "expired_uncaptured_charge"
|
|
1268
|
+
}
|
|
1269
|
+
declare enum refundFailureReason {
|
|
1270
|
+
lostOrStolenCard = "lost_or_stolen_card",
|
|
1271
|
+
expiredOrCanceledCard = "expired_or_canceled_card",
|
|
1272
|
+
chargeForPendingRefundDisputed = "charge_for_pending_refund_disputed",
|
|
1273
|
+
insufficientFunds = "insufficient_funds",
|
|
1274
|
+
declined = "declined",
|
|
1275
|
+
merchantRequest = "merchant_request",
|
|
1276
|
+
unknown = "unknown"
|
|
1277
|
+
}
|
|
1278
|
+
declare enum refundPendingReason {
|
|
1279
|
+
processing = "processing",
|
|
1280
|
+
insufficientFunds = "insufficient_funds",
|
|
1281
|
+
chargePending = "charge_pending"
|
|
1282
|
+
}
|
|
1283
|
+
declare enum paymentMethodAllowReDisplay {
|
|
1284
|
+
always = "always",
|
|
1285
|
+
limited = "limited",
|
|
1286
|
+
unspecified = "unspecified"
|
|
1287
|
+
}
|
|
1288
|
+
declare enum paymentMethodType {
|
|
1289
|
+
AcssDebit = "acss_debit",
|
|
1290
|
+
Affirm = "affirm",
|
|
1291
|
+
AfterpayClearpay = "afterpay_clearpay",
|
|
1292
|
+
Alipay = "alipay",
|
|
1293
|
+
Alma = "alma",
|
|
1294
|
+
AmazonPay = "amazon_pay",
|
|
1295
|
+
AuBecsDebit = "au_becs_debit",
|
|
1296
|
+
BacsDebit = "bacs_debit",
|
|
1297
|
+
Bancontact = "bancontact",
|
|
1298
|
+
Billie = "billie",
|
|
1299
|
+
Blik = "blik",
|
|
1300
|
+
Boleto = "boleto",
|
|
1301
|
+
Card = "card",
|
|
1302
|
+
CardPresent = "card_present",
|
|
1303
|
+
CashApp = "cashapp",
|
|
1304
|
+
Crypto = "crypto",
|
|
1305
|
+
CustomerBalance = "customer_balance",
|
|
1306
|
+
Eps = "eps",
|
|
1307
|
+
Fpx = "fpx",
|
|
1308
|
+
Giropay = "giropay",
|
|
1309
|
+
GrabPay = "grabpay",
|
|
1310
|
+
Ideal = "ideal",
|
|
1311
|
+
InteracPresent = "interac_present",
|
|
1312
|
+
KakaoPay = "kakao_pay",
|
|
1313
|
+
Klarna = "klarna",
|
|
1314
|
+
Konbini = "konbini",
|
|
1315
|
+
KrCard = "kr_card",
|
|
1316
|
+
Link = "link",
|
|
1317
|
+
MbWay = "mb_way",
|
|
1318
|
+
MobilePay = "mobilepay",
|
|
1319
|
+
Multibanco = "multibanco",
|
|
1320
|
+
NaverPay = "naver_pay",
|
|
1321
|
+
NzBankAccount = "nz_bank_account",
|
|
1322
|
+
Oxxo = "oxxo",
|
|
1323
|
+
P24 = "p24",
|
|
1324
|
+
PayByBank = "pay_by_bank",
|
|
1325
|
+
Payco = "payco",
|
|
1326
|
+
PayNow = "paynow",
|
|
1327
|
+
Paypal = "paypal",
|
|
1328
|
+
PayPay = "paypay",
|
|
1329
|
+
Pix = "pix",
|
|
1330
|
+
PromptPay = "promptpay",
|
|
1331
|
+
RevolutPay = "revolut_pay",
|
|
1332
|
+
SamsungPay = "samsung_pay",
|
|
1333
|
+
Satispay = "satispay",
|
|
1334
|
+
SepaDebit = "sepa_debit",
|
|
1335
|
+
Sofort = "sofort",
|
|
1336
|
+
Swish = "swish",
|
|
1337
|
+
Twint = "twint",
|
|
1338
|
+
UsBankAccount = "us_bank_account",
|
|
1339
|
+
WechatPay = "wechat_pay",
|
|
1340
|
+
Zip = "zip"
|
|
1203
1341
|
}
|
|
1204
1342
|
declare enum OrganizationFeatures {
|
|
1205
1343
|
clients = "clients",
|
|
@@ -1213,8 +1351,9 @@ declare enum OrganizationFeatures {
|
|
|
1213
1351
|
engagements = "engagements",
|
|
1214
1352
|
campaigns = "campaigns",
|
|
1215
1353
|
subscriptions = "subscriptions",
|
|
1216
|
-
|
|
1354
|
+
payments = "payments",
|
|
1217
1355
|
paymentMethods = "paymentMethods",
|
|
1356
|
+
refunds = "refunds",
|
|
1218
1357
|
disputes = "disputes",
|
|
1219
1358
|
dataPools = "dataPools",
|
|
1220
1359
|
lists = "lists",
|
|
@@ -1648,25 +1787,46 @@ declare const constants: {
|
|
|
1648
1787
|
DEFAULT_CURRENCY_FIELDS: string[];
|
|
1649
1788
|
MODEL_APP_MAPPING: {
|
|
1650
1789
|
clients: string;
|
|
1651
|
-
|
|
1790
|
+
tasks: string;
|
|
1652
1791
|
products: string;
|
|
1792
|
+
inventories: string;
|
|
1653
1793
|
invoices: string;
|
|
1654
|
-
tasks: string;
|
|
1655
|
-
campaigns: string;
|
|
1656
1794
|
contacts: string;
|
|
1795
|
+
engagements: string;
|
|
1796
|
+
campaigns: string;
|
|
1797
|
+
leads: string;
|
|
1657
1798
|
deals: string;
|
|
1799
|
+
subscriptions: string;
|
|
1800
|
+
payments: string;
|
|
1801
|
+
paymentMethods: string;
|
|
1802
|
+
refunds: string;
|
|
1803
|
+
disputes: string;
|
|
1804
|
+
};
|
|
1805
|
+
MODEL_CATEGORY_MAP: {
|
|
1806
|
+
clients: string;
|
|
1807
|
+
tasks: string;
|
|
1808
|
+
products: string;
|
|
1809
|
+
inventories: string;
|
|
1810
|
+
invoices: string;
|
|
1811
|
+
contacts: string;
|
|
1658
1812
|
engagements: string;
|
|
1813
|
+
campaigns: string;
|
|
1659
1814
|
leads: string;
|
|
1660
|
-
|
|
1815
|
+
deals: string;
|
|
1661
1816
|
subscriptions: string;
|
|
1817
|
+
payments: string;
|
|
1662
1818
|
paymentMethods: string;
|
|
1819
|
+
refunds: string;
|
|
1663
1820
|
disputes: string;
|
|
1821
|
+
content: string[];
|
|
1822
|
+
relations: string[];
|
|
1823
|
+
financials: string[];
|
|
1664
1824
|
};
|
|
1665
1825
|
NOT_INCLUDED_FIELDS: string[];
|
|
1666
1826
|
GQL_FIELD_TYPE: {
|
|
1667
1827
|
LIST: string;
|
|
1668
1828
|
OBJECT: string;
|
|
1669
|
-
|
|
1829
|
+
Enum: string;
|
|
1670
1830
|
String: string;
|
|
1671
1831
|
Float: string;
|
|
1672
1832
|
Int: string;
|
|
@@ -1688,25 +1848,6 @@ declare const constants: {
|
|
|
1688
1848
|
assignees: string;
|
|
1689
1849
|
Team: string;
|
|
1690
1850
|
};
|
|
1691
|
-
MODEL_CATEGORY_MAP: {
|
|
1692
|
-
leads: string;
|
|
1693
|
-
campaigns: string;
|
|
1694
|
-
tasks: string;
|
|
1695
|
-
clients: string;
|
|
1696
|
-
products: string;
|
|
1697
|
-
inventories: string;
|
|
1698
|
-
deals: string;
|
|
1699
|
-
invoices: string;
|
|
1700
|
-
contacts: string;
|
|
1701
|
-
engagements: string;
|
|
1702
|
-
subscriptions: string;
|
|
1703
|
-
charges: string;
|
|
1704
|
-
paymentMethods: string;
|
|
1705
|
-
disputes: string;
|
|
1706
|
-
content: string[];
|
|
1707
|
-
relations: string[];
|
|
1708
|
-
financials: string[];
|
|
1709
|
-
};
|
|
1710
1851
|
SETTING_TABS: {
|
|
1711
1852
|
Personal: string;
|
|
1712
1853
|
Notifications: string;
|
|
@@ -1720,17 +1861,7 @@ declare const constants: {
|
|
|
1720
1861
|
};
|
|
1721
1862
|
POPULAR_EMAILS: string[];
|
|
1722
1863
|
STATES: string[];
|
|
1723
|
-
COUNTRIES:
|
|
1724
|
-
code: string;
|
|
1725
|
-
label: string;
|
|
1726
|
-
phone: string;
|
|
1727
|
-
suggested: boolean;
|
|
1728
|
-
} | {
|
|
1729
|
-
code: string;
|
|
1730
|
-
label: string;
|
|
1731
|
-
phone: string;
|
|
1732
|
-
suggested?: undefined;
|
|
1733
|
-
})[];
|
|
1864
|
+
COUNTRIES: string[];
|
|
1734
1865
|
CURRENCIES: {
|
|
1735
1866
|
aed: string;
|
|
1736
1867
|
afn: string;
|
|
@@ -2092,6 +2223,17 @@ declare const constants: {
|
|
|
2092
2223
|
};
|
|
2093
2224
|
|
|
2094
2225
|
declare const defaults: {
|
|
2226
|
+
organizations: {
|
|
2227
|
+
name: string;
|
|
2228
|
+
website: string;
|
|
2229
|
+
industry: string;
|
|
2230
|
+
currency: string;
|
|
2231
|
+
linkedinUrl: string;
|
|
2232
|
+
facebookUrl: string;
|
|
2233
|
+
twitterUrl: string;
|
|
2234
|
+
angelUrl: string;
|
|
2235
|
+
crunchbaseUrl: string;
|
|
2236
|
+
};
|
|
2095
2237
|
users: {
|
|
2096
2238
|
firstName: string;
|
|
2097
2239
|
lastName: string;
|
|
@@ -2151,88 +2293,65 @@ declare const defaults: {
|
|
|
2151
2293
|
engagements: string;
|
|
2152
2294
|
tasks: string;
|
|
2153
2295
|
};
|
|
2154
|
-
|
|
2296
|
+
tasks: {
|
|
2155
2297
|
name: string;
|
|
2156
2298
|
description: string;
|
|
2157
2299
|
status: string;
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2300
|
+
priority: string;
|
|
2301
|
+
dueDate: null;
|
|
2302
|
+
reminder: boolean;
|
|
2303
|
+
reminderDate: null;
|
|
2304
|
+
reminderTime: string;
|
|
2305
|
+
repeat: boolean;
|
|
2306
|
+
repeatDate: null;
|
|
2307
|
+
repeatTime: string;
|
|
2163
2308
|
client: string;
|
|
2164
|
-
|
|
2309
|
+
assignee: string;
|
|
2165
2310
|
};
|
|
2166
|
-
|
|
2311
|
+
products: {
|
|
2167
2312
|
name: string;
|
|
2168
|
-
description:
|
|
2313
|
+
description: null;
|
|
2169
2314
|
status: string;
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
twitterUrl: string;
|
|
2181
|
-
angelUrl: string;
|
|
2182
|
-
crunchbaseUrl: string;
|
|
2315
|
+
productType: string;
|
|
2316
|
+
client: string;
|
|
2317
|
+
inventory: string;
|
|
2318
|
+
accountOwner: string;
|
|
2319
|
+
active: boolean;
|
|
2320
|
+
shippable: boolean;
|
|
2321
|
+
statementDescriptor: string;
|
|
2322
|
+
taxCode: null;
|
|
2323
|
+
unitLabel: null;
|
|
2324
|
+
url: string;
|
|
2183
2325
|
};
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2326
|
+
packageDimensions: {
|
|
2327
|
+
height: number;
|
|
2328
|
+
length: number;
|
|
2329
|
+
weight: number;
|
|
2330
|
+
width: number;
|
|
2189
2331
|
};
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2332
|
+
prices: {
|
|
2333
|
+
active: boolean;
|
|
2334
|
+
unitAmount: number;
|
|
2335
|
+
unitAmountDecimal: null;
|
|
2336
|
+
lookupKey: string;
|
|
2337
|
+
type: string;
|
|
2338
|
+
taxBehavior: string;
|
|
2339
|
+
currency: string;
|
|
2340
|
+
billingScheme: string;
|
|
2341
|
+
recurring: {
|
|
2342
|
+
intervalCount: number;
|
|
2343
|
+
interval: string;
|
|
2344
|
+
aggregateUsage: string;
|
|
2345
|
+
usageType: string;
|
|
2346
|
+
trialPeriodDays: number;
|
|
2347
|
+
};
|
|
2204
2348
|
};
|
|
2205
|
-
|
|
2349
|
+
inventories: {
|
|
2206
2350
|
name: string;
|
|
2207
2351
|
description: string;
|
|
2208
2352
|
status: string;
|
|
2209
|
-
dealType: string;
|
|
2210
|
-
source: string;
|
|
2211
2353
|
amount: number;
|
|
2212
|
-
|
|
2213
|
-
expectedRevenue: number;
|
|
2214
|
-
probability: number;
|
|
2215
|
-
nextStep: string;
|
|
2216
|
-
accountOwner: string;
|
|
2217
|
-
client: string;
|
|
2218
|
-
campaign: string;
|
|
2219
|
-
};
|
|
2220
|
-
campaigns: {
|
|
2221
|
-
name: string;
|
|
2222
|
-
description: string;
|
|
2223
|
-
status: string;
|
|
2224
|
-
priority: string;
|
|
2225
|
-
startDate: null;
|
|
2226
|
-
endDate: null;
|
|
2227
|
-
campaignType: string;
|
|
2228
|
-
budgetedCost: number;
|
|
2229
|
-
expectedRevenue: number;
|
|
2230
|
-
actualCost: number;
|
|
2231
|
-
numbersSent: number;
|
|
2232
|
-
expectedResponse: string;
|
|
2233
|
-
accountOwner: string;
|
|
2234
|
-
leads: string;
|
|
2235
|
-
deals: string;
|
|
2354
|
+
quantity: number;
|
|
2236
2355
|
};
|
|
2237
2356
|
invoices: {
|
|
2238
2357
|
name: string;
|
|
@@ -2277,9 +2396,17 @@ declare const defaults: {
|
|
|
2277
2396
|
accountOwner: string;
|
|
2278
2397
|
deal: string;
|
|
2279
2398
|
};
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2399
|
+
contacts: {
|
|
2400
|
+
name: string;
|
|
2401
|
+
description: string;
|
|
2402
|
+
status: string;
|
|
2403
|
+
email: string;
|
|
2404
|
+
phone: string;
|
|
2405
|
+
role: string;
|
|
2406
|
+
linkedinUrl: string;
|
|
2407
|
+
twitterUrl: string;
|
|
2408
|
+
client: string;
|
|
2409
|
+
engagements: string;
|
|
2283
2410
|
};
|
|
2284
2411
|
engagements: {
|
|
2285
2412
|
name: string;
|
|
@@ -2289,48 +2416,52 @@ declare const defaults: {
|
|
|
2289
2416
|
client: string;
|
|
2290
2417
|
contact: string;
|
|
2291
2418
|
};
|
|
2292
|
-
|
|
2419
|
+
campaigns: {
|
|
2293
2420
|
name: string;
|
|
2294
2421
|
description: string;
|
|
2295
2422
|
status: string;
|
|
2423
|
+
priority: string;
|
|
2424
|
+
startDate: null;
|
|
2425
|
+
endDate: null;
|
|
2426
|
+
campaignType: string;
|
|
2427
|
+
budgetedCost: number;
|
|
2428
|
+
expectedRevenue: number;
|
|
2429
|
+
actualCost: number;
|
|
2430
|
+
numbersSent: number;
|
|
2431
|
+
expectedResponse: string;
|
|
2432
|
+
accountOwner: string;
|
|
2433
|
+
leads: string;
|
|
2434
|
+
deals: string;
|
|
2296
2435
|
};
|
|
2297
|
-
|
|
2436
|
+
leads: {
|
|
2298
2437
|
name: string;
|
|
2299
|
-
description:
|
|
2438
|
+
description: string;
|
|
2300
2439
|
status: string;
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2440
|
+
leadType: string;
|
|
2441
|
+
source: string;
|
|
2442
|
+
amount: number;
|
|
2443
|
+
projectedClosingDate: null;
|
|
2444
|
+
expectedRevenue: number;
|
|
2445
|
+
probability: number;
|
|
2446
|
+
nextStep: string;
|
|
2304
2447
|
accountOwner: string;
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
statementDescriptor: string;
|
|
2308
|
-
taxCode: null;
|
|
2309
|
-
unitLabel: null;
|
|
2310
|
-
url: string;
|
|
2311
|
-
};
|
|
2312
|
-
prices: {
|
|
2313
|
-
active: boolean;
|
|
2314
|
-
unitAmount: number;
|
|
2315
|
-
unitAmountDecimal: null;
|
|
2316
|
-
lookupKey: string;
|
|
2317
|
-
type: string;
|
|
2318
|
-
taxBehavior: string;
|
|
2319
|
-
currency: string;
|
|
2320
|
-
billingScheme: string;
|
|
2321
|
-
recurring: {
|
|
2322
|
-
intervalCount: number;
|
|
2323
|
-
interval: string;
|
|
2324
|
-
aggregateUsage: string;
|
|
2325
|
-
usageType: string;
|
|
2326
|
-
trialPeriodDays: number;
|
|
2327
|
-
};
|
|
2448
|
+
client: string;
|
|
2449
|
+
campaign: string;
|
|
2328
2450
|
};
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2451
|
+
deals: {
|
|
2452
|
+
name: string;
|
|
2453
|
+
description: string;
|
|
2454
|
+
status: string;
|
|
2455
|
+
dealType: string;
|
|
2456
|
+
source: string;
|
|
2457
|
+
amount: number;
|
|
2458
|
+
closingDate: null;
|
|
2459
|
+
expectedRevenue: number;
|
|
2460
|
+
probability: number;
|
|
2461
|
+
nextStep: string;
|
|
2462
|
+
accountOwner: string;
|
|
2463
|
+
client: string;
|
|
2464
|
+
campaign: string;
|
|
2334
2465
|
};
|
|
2335
2466
|
subscriptions: {
|
|
2336
2467
|
name: string;
|
|
@@ -2380,7 +2511,7 @@ declare const defaults: {
|
|
|
2380
2511
|
missingPaymentMethod: string;
|
|
2381
2512
|
};
|
|
2382
2513
|
};
|
|
2383
|
-
|
|
2514
|
+
payments: {
|
|
2384
2515
|
name: string;
|
|
2385
2516
|
description: string;
|
|
2386
2517
|
status: string;
|
|
@@ -2397,6 +2528,124 @@ declare const defaults: {
|
|
|
2397
2528
|
client: string;
|
|
2398
2529
|
subscription: string;
|
|
2399
2530
|
invoice: string;
|
|
2531
|
+
automaticPaymentMethods: {
|
|
2532
|
+
allowRedirects: string;
|
|
2533
|
+
enabled: boolean;
|
|
2534
|
+
};
|
|
2535
|
+
amountDetails: {
|
|
2536
|
+
discountAmount: null;
|
|
2537
|
+
shipping: {
|
|
2538
|
+
amount: null;
|
|
2539
|
+
fromPostalCode: null;
|
|
2540
|
+
toPostalCode: null;
|
|
2541
|
+
};
|
|
2542
|
+
tax: {
|
|
2543
|
+
totalTaxAmount: null;
|
|
2544
|
+
};
|
|
2545
|
+
tip: {
|
|
2546
|
+
amount: null;
|
|
2547
|
+
};
|
|
2548
|
+
};
|
|
2549
|
+
};
|
|
2550
|
+
paymentMethods: {
|
|
2551
|
+
name: string;
|
|
2552
|
+
description: string;
|
|
2553
|
+
status: string;
|
|
2554
|
+
livemode: boolean;
|
|
2555
|
+
};
|
|
2556
|
+
billingDetails: {
|
|
2557
|
+
address: {
|
|
2558
|
+
city: null;
|
|
2559
|
+
country: null;
|
|
2560
|
+
line1: null;
|
|
2561
|
+
line2: null;
|
|
2562
|
+
postalCode: null;
|
|
2563
|
+
state: null;
|
|
2564
|
+
};
|
|
2565
|
+
email: null;
|
|
2566
|
+
name: string;
|
|
2567
|
+
phone: null;
|
|
2568
|
+
};
|
|
2569
|
+
shipping: {
|
|
2570
|
+
address: {
|
|
2571
|
+
city: null;
|
|
2572
|
+
country: null;
|
|
2573
|
+
line1: null;
|
|
2574
|
+
line2: null;
|
|
2575
|
+
postalCode: null;
|
|
2576
|
+
state: null;
|
|
2577
|
+
};
|
|
2578
|
+
carrier: string;
|
|
2579
|
+
name: string;
|
|
2580
|
+
phone: string;
|
|
2581
|
+
trackingNumber: string;
|
|
2582
|
+
};
|
|
2583
|
+
disputes: {
|
|
2584
|
+
name: string;
|
|
2585
|
+
description: string;
|
|
2586
|
+
status: string;
|
|
2587
|
+
evidence: {
|
|
2588
|
+
accessActivityLog: null;
|
|
2589
|
+
billingAddress: null;
|
|
2590
|
+
cancellationPolicy: null;
|
|
2591
|
+
cancellationPolicyDisclosure: null;
|
|
2592
|
+
cancellationRebuttal: null;
|
|
2593
|
+
customerCommunication: null;
|
|
2594
|
+
customerEmailAddress: null;
|
|
2595
|
+
customerName: null;
|
|
2596
|
+
customerPurchaseIp: null;
|
|
2597
|
+
customerSignature: null;
|
|
2598
|
+
duplicateChargeDocumentation: null;
|
|
2599
|
+
duplicateChargeExplanation: null;
|
|
2600
|
+
duplicateChargeId: null;
|
|
2601
|
+
productDescription: null;
|
|
2602
|
+
receipt: null;
|
|
2603
|
+
refundPolicy: null;
|
|
2604
|
+
refundPolicyDisclosure: null;
|
|
2605
|
+
refundRefusalExplanation: null;
|
|
2606
|
+
serviceDate: null;
|
|
2607
|
+
serviceDocumentation: null;
|
|
2608
|
+
shippingAddress: null;
|
|
2609
|
+
shippingCarrier: null;
|
|
2610
|
+
shippingDate: null;
|
|
2611
|
+
shippingDocumentation: null;
|
|
2612
|
+
shippingTrackingNumber: null;
|
|
2613
|
+
uncategorizedFile: null;
|
|
2614
|
+
uncategorizedText: null;
|
|
2615
|
+
};
|
|
2616
|
+
evidenceDetails: {
|
|
2617
|
+
dueBy: null;
|
|
2618
|
+
hasEvidence: boolean;
|
|
2619
|
+
pastDue: boolean;
|
|
2620
|
+
submissionCount: number;
|
|
2621
|
+
};
|
|
2622
|
+
};
|
|
2623
|
+
refunds: {
|
|
2624
|
+
name: string;
|
|
2625
|
+
description: string;
|
|
2626
|
+
status: string;
|
|
2627
|
+
};
|
|
2628
|
+
pools: {
|
|
2629
|
+
name: string;
|
|
2630
|
+
description: string;
|
|
2631
|
+
status: string;
|
|
2632
|
+
};
|
|
2633
|
+
issuer: {
|
|
2634
|
+
account: string;
|
|
2635
|
+
type: string;
|
|
2636
|
+
};
|
|
2637
|
+
activties: {
|
|
2638
|
+
label: string;
|
|
2639
|
+
value: string;
|
|
2640
|
+
modelName: string;
|
|
2641
|
+
path: string;
|
|
2642
|
+
};
|
|
2643
|
+
schema: {
|
|
2644
|
+
deleted: boolean;
|
|
2645
|
+
selected: boolean;
|
|
2646
|
+
key: string;
|
|
2647
|
+
type: string;
|
|
2648
|
+
options: never[];
|
|
2400
2649
|
};
|
|
2401
2650
|
reports: {
|
|
2402
2651
|
label: string;
|
|
@@ -2442,31 +2691,9 @@ declare const defaults: {
|
|
|
2442
2691
|
latitude: number;
|
|
2443
2692
|
longitude: number;
|
|
2444
2693
|
};
|
|
2445
|
-
schema: {
|
|
2446
|
-
deleted: boolean;
|
|
2447
|
-
selected: boolean;
|
|
2448
|
-
key: string;
|
|
2449
|
-
type: string;
|
|
2450
|
-
options: never[];
|
|
2451
|
-
};
|
|
2452
2694
|
comments: {
|
|
2453
2695
|
label: string;
|
|
2454
2696
|
};
|
|
2455
|
-
tasks: {
|
|
2456
|
-
name: string;
|
|
2457
|
-
description: string;
|
|
2458
|
-
status: string;
|
|
2459
|
-
priority: string;
|
|
2460
|
-
dueDate: null;
|
|
2461
|
-
reminder: boolean;
|
|
2462
|
-
reminderDate: null;
|
|
2463
|
-
reminderTime: string;
|
|
2464
|
-
repeat: boolean;
|
|
2465
|
-
repeatDate: null;
|
|
2466
|
-
repeatTime: string;
|
|
2467
|
-
client: string;
|
|
2468
|
-
assignee: string;
|
|
2469
|
-
};
|
|
2470
2697
|
integrations: {
|
|
2471
2698
|
name: string;
|
|
2472
2699
|
title: string;
|
|
@@ -3496,7 +3723,7 @@ declare const defaultsWithTypes: {
|
|
|
3496
3723
|
};
|
|
3497
3724
|
};
|
|
3498
3725
|
};
|
|
3499
|
-
|
|
3726
|
+
payments: {
|
|
3500
3727
|
name: {
|
|
3501
3728
|
default: string;
|
|
3502
3729
|
type: string;
|
|
@@ -3872,4 +4099,4 @@ declare const defaultsWithTypes: {
|
|
|
3872
4099
|
};
|
|
3873
4100
|
};
|
|
3874
4101
|
|
|
3875
|
-
export { type ActivityInterface, type AddressInterface, type AnalyticsQueryInterface, AppMode, type AutomaticTaxInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType,
|
|
4102
|
+
export { type ActivityInterface, type AddressInterface, type AnalyticsQueryInterface, AppMode, type AutomaticTaxInterface, CalculationType, type CampaignInterface, CampaignType, type CancellationDetailsInterface, type CardInterface, CategoryType, ChartType, type ChatInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type DealInterface, DealType, DeviceNotification, type EmailInterface, type EngagementInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type ModelInterface, ModelType, type Notation, type NotificationInterface, type OperationInterface, OrganizationFeatures, type OrganizationInterface, type OrganizationModelInterface, type PackageDimensionsInterface, type PauseCollectionInterface, type PaymentInterface, type PaymentMethodInterface, type PermissionInterface, PermissionType, PlatformLanguage, type PoolInterface, type PriceInterface, type PriceRecurringInterface, Priority, type ProductInterface, type PromptInterface, type QueryFilterInterface, type RegisterInterface, type ReportInterface, type SchemaInterface, type SentEmailInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeCustomer, type StripePaymentIntent, type SubscriptionInterface, type TagInterface, type TaskInterface, type TokenInterface, type UsageInterface, UsageType, type UserInterface, UserSettingType, type WaitlistInterface, accountType, action, automaticTaxStatus, billingReason, billingScheme, camelCaseToWords, cancellationReason, capitalizeSentence, captureMethod, chatType, clientType, collectionMethod, commentRole, constants, currency, customerType, defaults, defaultsWithTypes, 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, taxBehavior, taxExempt, tiersMode, toCurrencyValue, userRole, userSource, userStatus, validEmail };
|