@verma-consulting/common-library 0.1.28 → 0.1.29
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 +8 -327
- package/dist/index.d.ts +8 -327
- package/dist/index.js +4 -83
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -83
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -203,246 +203,6 @@ 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;
|
|
446
206
|
}
|
|
447
207
|
interface PermissionInterface {
|
|
448
208
|
id?: string;
|
|
@@ -1597,7 +1357,7 @@ interface ShippoRatesResponseInterface {
|
|
|
1597
1357
|
error?: any;
|
|
1598
1358
|
}
|
|
1599
1359
|
interface RatesOptionsInterface {
|
|
1600
|
-
|
|
1360
|
+
CarrierAccountInterfaces?: string[];
|
|
1601
1361
|
}
|
|
1602
1362
|
interface LabelOptionsInterface {
|
|
1603
1363
|
labelFormat?: "PNG" | "PDF" | "ZPLII" | "EPL2";
|
|
@@ -1639,7 +1399,7 @@ interface TrackingInfoInterface {
|
|
|
1639
1399
|
zip: string;
|
|
1640
1400
|
country: string;
|
|
1641
1401
|
};
|
|
1642
|
-
|
|
1402
|
+
TrackingHistoryInterface: TrackingHistoryInterface[];
|
|
1643
1403
|
estimatedDelivery?: string;
|
|
1644
1404
|
}
|
|
1645
1405
|
interface ShippoTrackingResponseInterface {
|
|
@@ -1673,7 +1433,7 @@ interface BatchShipmentInterface {
|
|
|
1673
1433
|
fromAddress: string | AddressInterface;
|
|
1674
1434
|
toAddress: string | AddressInterface;
|
|
1675
1435
|
parcels: Array<string | ParcelInputInterface>;
|
|
1676
|
-
|
|
1436
|
+
CarrierAccountInterface?: string;
|
|
1677
1437
|
serviceLevelToken?: string;
|
|
1678
1438
|
}
|
|
1679
1439
|
interface ShippoBatchResponseInterface {
|
|
@@ -1690,7 +1450,7 @@ interface CarrierAccountInterface {
|
|
|
1690
1450
|
}
|
|
1691
1451
|
interface CarrierAccountResponseInterface {
|
|
1692
1452
|
success: boolean;
|
|
1693
|
-
|
|
1453
|
+
CarrierAccountInterfaces?: CarrierAccountInterface[];
|
|
1694
1454
|
error?: any;
|
|
1695
1455
|
}
|
|
1696
1456
|
interface ServiceLevelsResponseInterface {
|
|
@@ -3354,94 +3114,15 @@ declare const defaults: {
|
|
|
3354
3114
|
title: string;
|
|
3355
3115
|
description: string;
|
|
3356
3116
|
category: string;
|
|
3357
|
-
type: string;
|
|
3358
3117
|
key: string;
|
|
3359
3118
|
secret: string;
|
|
3360
3119
|
logo: string;
|
|
3120
|
+
clientEmail: string;
|
|
3121
|
+
customerId: string;
|
|
3122
|
+
channelId: string;
|
|
3361
3123
|
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: {
|
|
3441
3124
|
importBridge: boolean;
|
|
3442
|
-
importedAt: null;
|
|
3443
3125
|
exportBridge: boolean;
|
|
3444
|
-
exportedAt: null;
|
|
3445
3126
|
dynamicBridge: boolean;
|
|
3446
3127
|
};
|
|
3447
3128
|
operations: {
|
|
@@ -3972,4 +3653,4 @@ declare const defaultTypes: {
|
|
|
3972
3653
|
};
|
|
3973
3654
|
};
|
|
3974
3655
|
|
|
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
|
|
3656
|
+
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, 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 };
|