@verma-consulting/common-library 0.1.27 → 0.1.28
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 +330 -4
- package/dist/index.d.ts +330 -4
- package/dist/index.js +93 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +92 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -203,6 +203,246 @@ interface IntegrationInterface {
|
|
|
203
203
|
updatedById?: string;
|
|
204
204
|
createdBy?: UserInterface;
|
|
205
205
|
updatedBy?: UserInterface;
|
|
206
|
+
stripeAccount?: StripeAccountModelInterface;
|
|
207
|
+
googleWorkspaceAccount?: GoogleWorkspaceAccountInterface;
|
|
208
|
+
microsoftTeamsAccount?: MicrosoftTeamsAccountInterface;
|
|
209
|
+
microsoft365Account?: Microsoft365AccountInterface;
|
|
210
|
+
slackAccount?: SlackAccountInterface;
|
|
211
|
+
fixerIoAccount?: FixerIoAccountInterface;
|
|
212
|
+
chatGptAccount?: ChatGptAccountInterface;
|
|
213
|
+
deepseekAccount?: DeepseekAccountInterface;
|
|
214
|
+
claudeAccount?: ClaudeAccountInterface;
|
|
215
|
+
googleMapsAccount?: GoogleMapsAccountInterface;
|
|
216
|
+
shippoAccount?: ShippoAccountInterface;
|
|
217
|
+
shopifyAccount?: ShopifyAccountInterface;
|
|
218
|
+
}
|
|
219
|
+
interface StripeAccountModelInterface {
|
|
220
|
+
id?: string;
|
|
221
|
+
createdAt?: Date;
|
|
222
|
+
updatedAt?: Date;
|
|
223
|
+
deletedAt?: Date;
|
|
224
|
+
importBridge?: boolean;
|
|
225
|
+
importedAt?: Date;
|
|
226
|
+
exportBridge?: boolean;
|
|
227
|
+
exportedAt?: Date;
|
|
228
|
+
dynamicBridge?: boolean;
|
|
229
|
+
organizationId?: string;
|
|
230
|
+
organization?: OrganizationInterface;
|
|
231
|
+
createdById?: string;
|
|
232
|
+
updatedById?: string;
|
|
233
|
+
createdBy?: UserInterface;
|
|
234
|
+
updatedBy?: UserInterface;
|
|
235
|
+
integrationId?: string;
|
|
236
|
+
integration?: IntegrationInterface;
|
|
237
|
+
}
|
|
238
|
+
interface GoogleWorkspaceAccountInterface {
|
|
239
|
+
id?: string;
|
|
240
|
+
createdAt?: Date;
|
|
241
|
+
updatedAt?: Date;
|
|
242
|
+
deletedAt?: Date;
|
|
243
|
+
importBridge?: boolean;
|
|
244
|
+
importedAt?: Date;
|
|
245
|
+
exportBridge?: boolean;
|
|
246
|
+
exportedAt?: Date;
|
|
247
|
+
dynamicBridge?: boolean;
|
|
248
|
+
organizationId?: string;
|
|
249
|
+
organization?: OrganizationInterface;
|
|
250
|
+
createdById?: string;
|
|
251
|
+
updatedById?: string;
|
|
252
|
+
createdBy?: UserInterface;
|
|
253
|
+
updatedBy?: UserInterface;
|
|
254
|
+
integrationId?: string;
|
|
255
|
+
integration?: IntegrationInterface;
|
|
256
|
+
}
|
|
257
|
+
interface MicrosoftTeamsAccountInterface {
|
|
258
|
+
id?: string;
|
|
259
|
+
createdAt?: Date;
|
|
260
|
+
updatedAt?: Date;
|
|
261
|
+
deletedAt?: Date;
|
|
262
|
+
importBridge?: boolean;
|
|
263
|
+
importedAt?: Date;
|
|
264
|
+
exportBridge?: boolean;
|
|
265
|
+
exportedAt?: Date;
|
|
266
|
+
dynamicBridge?: boolean;
|
|
267
|
+
organizationId?: string;
|
|
268
|
+
organization?: OrganizationInterface;
|
|
269
|
+
createdById?: string;
|
|
270
|
+
updatedById?: string;
|
|
271
|
+
createdBy?: UserInterface;
|
|
272
|
+
updatedBy?: UserInterface;
|
|
273
|
+
integrationId?: string;
|
|
274
|
+
integration?: IntegrationInterface;
|
|
275
|
+
}
|
|
276
|
+
interface Microsoft365AccountInterface {
|
|
277
|
+
id?: string;
|
|
278
|
+
createdAt?: Date;
|
|
279
|
+
updatedAt?: Date;
|
|
280
|
+
deletedAt?: Date;
|
|
281
|
+
importBridge?: boolean;
|
|
282
|
+
importedAt?: Date;
|
|
283
|
+
exportBridge?: boolean;
|
|
284
|
+
exportedAt?: Date;
|
|
285
|
+
dynamicBridge?: boolean;
|
|
286
|
+
organizationId?: string;
|
|
287
|
+
organization?: OrganizationInterface;
|
|
288
|
+
createdById?: string;
|
|
289
|
+
updatedById?: string;
|
|
290
|
+
createdBy?: UserInterface;
|
|
291
|
+
updatedBy?: UserInterface;
|
|
292
|
+
integrationId?: string;
|
|
293
|
+
integration?: IntegrationInterface;
|
|
294
|
+
}
|
|
295
|
+
interface SlackAccountInterface {
|
|
296
|
+
id?: string;
|
|
297
|
+
createdAt?: Date;
|
|
298
|
+
updatedAt?: Date;
|
|
299
|
+
deletedAt?: Date;
|
|
300
|
+
importBridge?: boolean;
|
|
301
|
+
importedAt?: Date;
|
|
302
|
+
exportBridge?: boolean;
|
|
303
|
+
exportedAt?: Date;
|
|
304
|
+
dynamicBridge?: boolean;
|
|
305
|
+
organizationId?: string;
|
|
306
|
+
organization?: OrganizationInterface;
|
|
307
|
+
createdById?: string;
|
|
308
|
+
updatedById?: string;
|
|
309
|
+
createdBy?: UserInterface;
|
|
310
|
+
updatedBy?: UserInterface;
|
|
311
|
+
integrationId?: string;
|
|
312
|
+
integration?: IntegrationInterface;
|
|
313
|
+
}
|
|
314
|
+
interface FixerIoAccountInterface {
|
|
315
|
+
id?: string;
|
|
316
|
+
createdAt?: Date;
|
|
317
|
+
updatedAt?: Date;
|
|
318
|
+
deletedAt?: Date;
|
|
319
|
+
importBridge?: boolean;
|
|
320
|
+
importedAt?: Date;
|
|
321
|
+
exportBridge?: boolean;
|
|
322
|
+
exportedAt?: Date;
|
|
323
|
+
dynamicBridge?: boolean;
|
|
324
|
+
organizationId?: string;
|
|
325
|
+
organization?: OrganizationInterface;
|
|
326
|
+
createdById?: string;
|
|
327
|
+
updatedById?: string;
|
|
328
|
+
createdBy?: UserInterface;
|
|
329
|
+
updatedBy?: UserInterface;
|
|
330
|
+
integrationId?: string;
|
|
331
|
+
integration?: IntegrationInterface;
|
|
332
|
+
}
|
|
333
|
+
interface ChatGptAccountInterface {
|
|
334
|
+
id?: string;
|
|
335
|
+
createdAt?: Date;
|
|
336
|
+
updatedAt?: Date;
|
|
337
|
+
deletedAt?: Date;
|
|
338
|
+
importBridge?: boolean;
|
|
339
|
+
importedAt?: Date;
|
|
340
|
+
exportBridge?: boolean;
|
|
341
|
+
exportedAt?: Date;
|
|
342
|
+
dynamicBridge?: boolean;
|
|
343
|
+
organizationId?: string;
|
|
344
|
+
organization?: OrganizationInterface;
|
|
345
|
+
createdById?: string;
|
|
346
|
+
updatedById?: string;
|
|
347
|
+
createdBy?: UserInterface;
|
|
348
|
+
updatedBy?: UserInterface;
|
|
349
|
+
integrationId?: string;
|
|
350
|
+
integration?: IntegrationInterface;
|
|
351
|
+
}
|
|
352
|
+
interface DeepseekAccountInterface {
|
|
353
|
+
id?: string;
|
|
354
|
+
createdAt?: Date;
|
|
355
|
+
updatedAt?: Date;
|
|
356
|
+
deletedAt?: Date;
|
|
357
|
+
importBridge?: boolean;
|
|
358
|
+
importedAt?: Date;
|
|
359
|
+
exportBridge?: boolean;
|
|
360
|
+
exportedAt?: Date;
|
|
361
|
+
dynamicBridge?: boolean;
|
|
362
|
+
organizationId?: string;
|
|
363
|
+
organization?: OrganizationInterface;
|
|
364
|
+
createdById?: string;
|
|
365
|
+
updatedById?: string;
|
|
366
|
+
createdBy?: UserInterface;
|
|
367
|
+
updatedBy?: UserInterface;
|
|
368
|
+
integrationId?: string;
|
|
369
|
+
integration?: IntegrationInterface;
|
|
370
|
+
}
|
|
371
|
+
interface ClaudeAccountInterface {
|
|
372
|
+
id?: string;
|
|
373
|
+
createdAt?: Date;
|
|
374
|
+
updatedAt?: Date;
|
|
375
|
+
deletedAt?: Date;
|
|
376
|
+
importBridge?: boolean;
|
|
377
|
+
importedAt?: Date;
|
|
378
|
+
exportBridge?: boolean;
|
|
379
|
+
exportedAt?: Date;
|
|
380
|
+
dynamicBridge?: boolean;
|
|
381
|
+
organizationId?: string;
|
|
382
|
+
organization?: OrganizationInterface;
|
|
383
|
+
createdById?: string;
|
|
384
|
+
updatedById?: string;
|
|
385
|
+
createdBy?: UserInterface;
|
|
386
|
+
updatedBy?: UserInterface;
|
|
387
|
+
integrationId?: string;
|
|
388
|
+
integration?: IntegrationInterface;
|
|
389
|
+
}
|
|
390
|
+
interface GoogleMapsAccountInterface {
|
|
391
|
+
id?: string;
|
|
392
|
+
createdAt?: Date;
|
|
393
|
+
updatedAt?: Date;
|
|
394
|
+
deletedAt?: Date;
|
|
395
|
+
importBridge?: boolean;
|
|
396
|
+
importedAt?: Date;
|
|
397
|
+
exportBridge?: boolean;
|
|
398
|
+
exportedAt?: Date;
|
|
399
|
+
dynamicBridge?: boolean;
|
|
400
|
+
organizationId?: string;
|
|
401
|
+
organization?: OrganizationInterface;
|
|
402
|
+
createdById?: string;
|
|
403
|
+
updatedById?: string;
|
|
404
|
+
createdBy?: UserInterface;
|
|
405
|
+
updatedBy?: UserInterface;
|
|
406
|
+
integrationId?: string;
|
|
407
|
+
integration?: IntegrationInterface;
|
|
408
|
+
}
|
|
409
|
+
interface ShippoAccountInterface {
|
|
410
|
+
id?: string;
|
|
411
|
+
createdAt?: Date;
|
|
412
|
+
updatedAt?: Date;
|
|
413
|
+
deletedAt?: Date;
|
|
414
|
+
importBridge?: boolean;
|
|
415
|
+
importedAt?: Date;
|
|
416
|
+
exportBridge?: boolean;
|
|
417
|
+
exportedAt?: Date;
|
|
418
|
+
dynamicBridge?: boolean;
|
|
419
|
+
organizationId?: string;
|
|
420
|
+
organization?: OrganizationInterface;
|
|
421
|
+
createdById?: string;
|
|
422
|
+
updatedById?: string;
|
|
423
|
+
createdBy?: UserInterface;
|
|
424
|
+
updatedBy?: UserInterface;
|
|
425
|
+
integrationId?: string;
|
|
426
|
+
integration?: IntegrationInterface;
|
|
427
|
+
}
|
|
428
|
+
interface ShopifyAccountInterface {
|
|
429
|
+
id?: string;
|
|
430
|
+
createdAt?: Date;
|
|
431
|
+
updatedAt?: Date;
|
|
432
|
+
deletedAt?: Date;
|
|
433
|
+
importBridge?: boolean;
|
|
434
|
+
importedAt?: Date;
|
|
435
|
+
exportBridge?: boolean;
|
|
436
|
+
exportedAt?: Date;
|
|
437
|
+
dynamicBridge?: boolean;
|
|
438
|
+
organizationId?: string;
|
|
439
|
+
organization?: OrganizationInterface;
|
|
440
|
+
createdById?: string;
|
|
441
|
+
updatedById?: string;
|
|
442
|
+
createdBy?: UserInterface;
|
|
443
|
+
updatedBy?: UserInterface;
|
|
444
|
+
integrationId?: string;
|
|
445
|
+
integration?: IntegrationInterface;
|
|
206
446
|
}
|
|
207
447
|
interface PermissionInterface {
|
|
208
448
|
id?: string;
|
|
@@ -1532,6 +1772,13 @@ declare enum userStatus {
|
|
|
1532
1772
|
Active = "Active",
|
|
1533
1773
|
Inactive = "Inactive"
|
|
1534
1774
|
}
|
|
1775
|
+
declare enum addressType {
|
|
1776
|
+
unknown = "unknown",
|
|
1777
|
+
residential = "residential",
|
|
1778
|
+
commercial = "commercial",
|
|
1779
|
+
po_box = "po_box",
|
|
1780
|
+
military = "military"
|
|
1781
|
+
}
|
|
1535
1782
|
declare enum subscriptionCancellationReason {
|
|
1536
1783
|
CustomerService = "customer_service",
|
|
1537
1784
|
LowQuality = "low_quality",
|
|
@@ -3107,15 +3354,94 @@ declare const defaults: {
|
|
|
3107
3354
|
title: string;
|
|
3108
3355
|
description: string;
|
|
3109
3356
|
category: string;
|
|
3357
|
+
type: string;
|
|
3110
3358
|
key: string;
|
|
3111
3359
|
secret: string;
|
|
3112
3360
|
logo: string;
|
|
3113
|
-
clientEmail: string;
|
|
3114
|
-
customerId: string;
|
|
3115
|
-
channelId: string;
|
|
3116
3361
|
active: boolean;
|
|
3362
|
+
};
|
|
3363
|
+
stripeAccount: {
|
|
3364
|
+
importBridge: boolean;
|
|
3365
|
+
importedAt: null;
|
|
3366
|
+
exportBridge: boolean;
|
|
3367
|
+
exportedAt: null;
|
|
3368
|
+
dynamicBridge: boolean;
|
|
3369
|
+
};
|
|
3370
|
+
googleWorkspaceAccount: {
|
|
3371
|
+
importBridge: boolean;
|
|
3372
|
+
importedAt: null;
|
|
3373
|
+
exportBridge: boolean;
|
|
3374
|
+
exportedAt: null;
|
|
3375
|
+
dynamicBridge: boolean;
|
|
3376
|
+
};
|
|
3377
|
+
microsoftTeamsAccount: {
|
|
3378
|
+
importBridge: boolean;
|
|
3379
|
+
importedAt: null;
|
|
3380
|
+
exportBridge: boolean;
|
|
3381
|
+
exportedAt: null;
|
|
3382
|
+
dynamicBridge: boolean;
|
|
3383
|
+
};
|
|
3384
|
+
microsoft365Account: {
|
|
3385
|
+
importBridge: boolean;
|
|
3386
|
+
importedAt: null;
|
|
3387
|
+
exportBridge: boolean;
|
|
3388
|
+
exportedAt: null;
|
|
3389
|
+
dynamicBridge: boolean;
|
|
3390
|
+
};
|
|
3391
|
+
slackAccount: {
|
|
3392
|
+
importBridge: boolean;
|
|
3393
|
+
importedAt: null;
|
|
3394
|
+
exportBridge: boolean;
|
|
3395
|
+
exportedAt: null;
|
|
3396
|
+
dynamicBridge: boolean;
|
|
3397
|
+
};
|
|
3398
|
+
fixerIoAccount: {
|
|
3399
|
+
importBridge: boolean;
|
|
3400
|
+
importedAt: null;
|
|
3401
|
+
exportBridge: boolean;
|
|
3402
|
+
exportedAt: null;
|
|
3403
|
+
dynamicBridge: boolean;
|
|
3404
|
+
};
|
|
3405
|
+
chatGptAccount: {
|
|
3406
|
+
importBridge: boolean;
|
|
3407
|
+
importedAt: null;
|
|
3408
|
+
exportBridge: boolean;
|
|
3409
|
+
exportedAt: null;
|
|
3410
|
+
dynamicBridge: boolean;
|
|
3411
|
+
};
|
|
3412
|
+
deepseekAccount: {
|
|
3413
|
+
importBridge: boolean;
|
|
3414
|
+
importedAt: null;
|
|
3415
|
+
exportBridge: boolean;
|
|
3416
|
+
exportedAt: null;
|
|
3417
|
+
dynamicBridge: boolean;
|
|
3418
|
+
};
|
|
3419
|
+
claudeAccount: {
|
|
3420
|
+
importBridge: boolean;
|
|
3421
|
+
importedAt: null;
|
|
3422
|
+
exportBridge: boolean;
|
|
3423
|
+
exportedAt: null;
|
|
3424
|
+
dynamicBridge: boolean;
|
|
3425
|
+
};
|
|
3426
|
+
googleMapsAccount: {
|
|
3427
|
+
importBridge: boolean;
|
|
3428
|
+
importedAt: null;
|
|
3429
|
+
exportBridge: boolean;
|
|
3430
|
+
exportedAt: null;
|
|
3431
|
+
dynamicBridge: boolean;
|
|
3432
|
+
};
|
|
3433
|
+
shippoAccount: {
|
|
3434
|
+
importBridge: boolean;
|
|
3435
|
+
importedAt: null;
|
|
3436
|
+
exportBridge: boolean;
|
|
3437
|
+
exportedAt: null;
|
|
3438
|
+
dynamicBridge: boolean;
|
|
3439
|
+
};
|
|
3440
|
+
shopifyAccount: {
|
|
3117
3441
|
importBridge: boolean;
|
|
3442
|
+
importedAt: null;
|
|
3118
3443
|
exportBridge: boolean;
|
|
3444
|
+
exportedAt: null;
|
|
3119
3445
|
dynamicBridge: boolean;
|
|
3120
3446
|
};
|
|
3121
3447
|
operations: {
|
|
@@ -3646,4 +3972,4 @@ declare const defaultTypes: {
|
|
|
3646
3972
|
};
|
|
3647
3973
|
};
|
|
3648
3974
|
|
|
3649
|
-
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 ShippoAddressResponseInterface, 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, 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 };
|
|
3975
|
+
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 ChatGptAccountInterface, type ChatInterface, type ClaudeAccountInterface, type ClientInterface, type CommentInterface, type ContactInterface, type ContentInterface, ContentType, type CurrentRateInterface, type CustomsItemInterface, type DealInterface, DealType, type DeepseekAccountInterface, DeviceNotification, type DisputeInterface, type EmailInterface, type EngagementInterface, type EvidenceDetailsInterface, type EvidenceInterface, FeatureType, type FileInterface, type FilterInterface, FilterType, type FixerIoAccountInterface, FormFieldOrder, FormFieldType, FrequencyType, Gender, type GenericPayload, type GoogleMapsAccountInterface, type GoogleWorkspaceAccountInterface, type IntegrationInterface, type InventoryInterface, type InvoiceInterface, type LabelOptionsInterface, LandingPath, LandingView, type LeadInterface, LeadType, type ListInterface, type MarketingFeatureInterface, type Microsoft365AccountInterface, type MicrosoftTeamsAccountInterface, 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 ShippoAccountInterface, type ShippoAddressInterface, type ShippoAddressResponseInterface, type ShippoBatchResponseInterface, type ShippoCustomsDeclarationInputInterface, type ShippoCustomsResponseInterface, type ShippoParcelInterface, type ShippoParcelResponseInterface, type ShippoRatesResponseInterface, type ShippoTrackingResponseInterface, type ShippoTransactionResponseInterface, type ShopifyAccountInterface, type SlackAccountInterface, SourceType, type StatisticInterface, type StripeAccountInterface, type StripeAccountModelInterface, 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 };
|
package/dist/index.js
CHANGED
|
@@ -47,6 +47,7 @@ __export(index_exports, {
|
|
|
47
47
|
UserSettingType: () => UserSettingType,
|
|
48
48
|
accountType: () => accountType,
|
|
49
49
|
action: () => action,
|
|
50
|
+
addressType: () => addressType,
|
|
50
51
|
automaticTaxStatus: () => automaticTaxStatus,
|
|
51
52
|
billingReason: () => billingReason,
|
|
52
53
|
billingScheme: () => billingScheme,
|
|
@@ -236,6 +237,14 @@ var userStatus = /* @__PURE__ */ ((userStatus2) => {
|
|
|
236
237
|
userStatus2["Inactive"] = "Inactive";
|
|
237
238
|
return userStatus2;
|
|
238
239
|
})(userStatus || {});
|
|
240
|
+
var addressType = /* @__PURE__ */ ((addressType2) => {
|
|
241
|
+
addressType2["unknown"] = "unknown";
|
|
242
|
+
addressType2["residential"] = "residential";
|
|
243
|
+
addressType2["commercial"] = "commercial";
|
|
244
|
+
addressType2["po_box"] = "po_box";
|
|
245
|
+
addressType2["military"] = "military";
|
|
246
|
+
return addressType2;
|
|
247
|
+
})(addressType || {});
|
|
239
248
|
var subscriptionCancellationReason = /* @__PURE__ */ ((subscriptionCancellationReason2) => {
|
|
240
249
|
subscriptionCancellationReason2["CustomerService"] = "customer_service";
|
|
241
250
|
subscriptionCancellationReason2["LowQuality"] = "low_quality";
|
|
@@ -2479,15 +2488,94 @@ var defaults = {
|
|
|
2479
2488
|
title: "",
|
|
2480
2489
|
description: "",
|
|
2481
2490
|
category: "",
|
|
2491
|
+
type: "",
|
|
2482
2492
|
key: "",
|
|
2483
2493
|
secret: "",
|
|
2484
2494
|
logo: "",
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2495
|
+
active: false
|
|
2496
|
+
},
|
|
2497
|
+
stripeAccount: {
|
|
2498
|
+
importBridge: false,
|
|
2499
|
+
importedAt: null,
|
|
2500
|
+
exportBridge: false,
|
|
2501
|
+
exportedAt: null,
|
|
2502
|
+
dynamicBridge: false
|
|
2503
|
+
},
|
|
2504
|
+
googleWorkspaceAccount: {
|
|
2505
|
+
importBridge: false,
|
|
2506
|
+
importedAt: null,
|
|
2507
|
+
exportBridge: false,
|
|
2508
|
+
exportedAt: null,
|
|
2509
|
+
dynamicBridge: false
|
|
2510
|
+
},
|
|
2511
|
+
microsoftTeamsAccount: {
|
|
2512
|
+
importBridge: false,
|
|
2513
|
+
importedAt: null,
|
|
2514
|
+
exportBridge: false,
|
|
2515
|
+
exportedAt: null,
|
|
2516
|
+
dynamicBridge: false
|
|
2517
|
+
},
|
|
2518
|
+
microsoft365Account: {
|
|
2519
|
+
importBridge: false,
|
|
2520
|
+
importedAt: null,
|
|
2521
|
+
exportBridge: false,
|
|
2522
|
+
exportedAt: null,
|
|
2523
|
+
dynamicBridge: false
|
|
2524
|
+
},
|
|
2525
|
+
slackAccount: {
|
|
2526
|
+
importBridge: false,
|
|
2527
|
+
importedAt: null,
|
|
2528
|
+
exportBridge: false,
|
|
2529
|
+
exportedAt: null,
|
|
2530
|
+
dynamicBridge: false
|
|
2531
|
+
},
|
|
2532
|
+
fixerIoAccount: {
|
|
2533
|
+
importBridge: false,
|
|
2534
|
+
importedAt: null,
|
|
2535
|
+
exportBridge: false,
|
|
2536
|
+
exportedAt: null,
|
|
2537
|
+
dynamicBridge: false
|
|
2538
|
+
},
|
|
2539
|
+
chatGptAccount: {
|
|
2540
|
+
importBridge: false,
|
|
2541
|
+
importedAt: null,
|
|
2542
|
+
exportBridge: false,
|
|
2543
|
+
exportedAt: null,
|
|
2544
|
+
dynamicBridge: false
|
|
2545
|
+
},
|
|
2546
|
+
deepseekAccount: {
|
|
2547
|
+
importBridge: false,
|
|
2548
|
+
importedAt: null,
|
|
2549
|
+
exportBridge: false,
|
|
2550
|
+
exportedAt: null,
|
|
2551
|
+
dynamicBridge: false
|
|
2552
|
+
},
|
|
2553
|
+
claudeAccount: {
|
|
2554
|
+
importBridge: false,
|
|
2555
|
+
importedAt: null,
|
|
2556
|
+
exportBridge: false,
|
|
2557
|
+
exportedAt: null,
|
|
2558
|
+
dynamicBridge: false
|
|
2559
|
+
},
|
|
2560
|
+
googleMapsAccount: {
|
|
2561
|
+
importBridge: false,
|
|
2562
|
+
importedAt: null,
|
|
2563
|
+
exportBridge: false,
|
|
2564
|
+
exportedAt: null,
|
|
2565
|
+
dynamicBridge: false
|
|
2566
|
+
},
|
|
2567
|
+
shippoAccount: {
|
|
2568
|
+
importBridge: false,
|
|
2569
|
+
importedAt: null,
|
|
2570
|
+
exportBridge: false,
|
|
2571
|
+
exportedAt: null,
|
|
2572
|
+
dynamicBridge: false
|
|
2573
|
+
},
|
|
2574
|
+
shopifyAccount: {
|
|
2489
2575
|
importBridge: false,
|
|
2576
|
+
importedAt: null,
|
|
2490
2577
|
exportBridge: false,
|
|
2578
|
+
exportedAt: null,
|
|
2491
2579
|
dynamicBridge: false
|
|
2492
2580
|
},
|
|
2493
2581
|
operations: { label: "", description: "", star: false },
|
|
@@ -3037,6 +3125,7 @@ var defaultTypes_default = defaultTypes;
|
|
|
3037
3125
|
UserSettingType,
|
|
3038
3126
|
accountType,
|
|
3039
3127
|
action,
|
|
3128
|
+
addressType,
|
|
3040
3129
|
automaticTaxStatus,
|
|
3041
3130
|
billingReason,
|
|
3042
3131
|
billingScheme,
|