@verma-consulting/common-library 0.1.35 → 0.1.37

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.
Files changed (3) hide show
  1. package/dist/index.d.mts +204 -200
  2. package/dist/index.d.ts +204 -200
  3. package/package.json +1 -1
package/dist/index.d.mts CHANGED
@@ -21,9 +21,9 @@ interface GenericPayload {
21
21
  interface RegisterInterface {
22
22
  email?: string;
23
23
  userName?: string;
24
- cognitoUserId?: string;
25
- organizationId?: string;
26
- createdById?: string;
24
+ cognitoUserId?: string | null;
25
+ organizationId?: string | null;
26
+ createdById?: string | null;
27
27
  firstName?: string;
28
28
  lastName?: string;
29
29
  jobTitle?: string;
@@ -47,9 +47,9 @@ interface RegisterInterface {
47
47
  }
48
48
  interface UserInterface {
49
49
  id?: string;
50
- cognitoUserId?: string;
51
- organizationId?: string;
52
- avatarId?: string;
50
+ cognitoUserId?: string | null;
51
+ organizationId?: string | null;
52
+ avatarId?: string | null;
53
53
  createdAt?: Date;
54
54
  updatedAt?: Date;
55
55
  deletedAt?: Date;
@@ -78,7 +78,7 @@ interface UserInterface {
78
78
  confirmMfa?: boolean;
79
79
  passwordRequestFlag?: boolean;
80
80
  termsNConditionFlag?: boolean;
81
- addressId?: string;
81
+ addressId?: string | null;
82
82
  tasksCreated?: TaskInterface[];
83
83
  listsCreated?: ListInterface[];
84
84
  reportsCreated?: ReportInterface[];
@@ -109,8 +109,8 @@ interface UserInterface {
109
109
  avatar?: FileInterface;
110
110
  uploadAvatar?: FileInterface;
111
111
  organization?: OrganizationInterface;
112
- createdById?: string;
113
- updatedById?: string;
112
+ createdById?: string | null;
113
+ updatedById?: string | null;
114
114
  createdBy?: UserInterface;
115
115
  updatedBy?: UserInterface;
116
116
  name?: () => null;
@@ -134,9 +134,9 @@ interface OrganizationInterface {
134
134
  claimed?: boolean;
135
135
  clientSecret?: string;
136
136
  name?: string;
137
- parentOrganizationId?: string;
138
- subOrganizationId?: string;
139
- stripeId?: string;
137
+ parentOrganizationId?: string | null;
138
+ subOrganizationId?: string | null;
139
+ stripeId?: string | null;
140
140
  email?: string;
141
141
  contactName?: string;
142
142
  phone?: string;
@@ -157,12 +157,12 @@ interface OrganizationInterface {
157
157
  subscriptionCancellationDate?: Date;
158
158
  subscriptionPauseCollection?: PauseCollectionInterface;
159
159
  subscriptionCancellationDetails?: CancellationDetailsInterface;
160
- createdById?: string;
161
- updatedById?: string;
160
+ createdById?: string | null;
161
+ updatedById?: string | null;
162
162
  createdBy?: UserInterface;
163
163
  updatedBy?: UserInterface;
164
164
  notifications?: NotificationInterface[];
165
- logoId?: string;
165
+ logoId?: string | null;
166
166
  logo?: FileInterface;
167
167
  uploadLogo?: FileInterface;
168
168
  address?: AddressInterface;
@@ -185,11 +185,11 @@ interface IntegrationInterface {
185
185
  secret?: string;
186
186
  logo?: string;
187
187
  clientEmail?: string;
188
- clientId?: string;
189
- tenantId?: string;
190
- customerId?: string;
191
- teamId?: string;
192
- channelId?: string;
188
+ clientId?: string | null;
189
+ tenantId?: string | null;
190
+ customerId?: string | null;
191
+ teamId?: string | null;
192
+ channelId?: string | null;
193
193
  domain?: string;
194
194
  model?: string;
195
195
  active?: boolean;
@@ -198,10 +198,10 @@ interface IntegrationInterface {
198
198
  exportBridge?: boolean;
199
199
  exportedAt?: Date;
200
200
  dynamicBridge?: boolean;
201
- organizationId?: string;
201
+ organizationId?: string | null;
202
202
  organization?: OrganizationInterface;
203
- createdById?: string;
204
- updatedById?: string;
203
+ createdById?: string | null;
204
+ updatedById?: string | null;
205
205
  createdBy?: UserInterface;
206
206
  updatedBy?: UserInterface;
207
207
  }
@@ -212,8 +212,8 @@ interface PermissionInterface {
212
212
  deletedAt?: Date;
213
213
  permission?: string;
214
214
  feature?: string;
215
- userId?: string;
216
- organizationId?: string;
215
+ userId?: string | null;
216
+ organizationId?: string | null;
217
217
  user?: UserInterface;
218
218
  organization?: OrganizationInterface;
219
219
  }
@@ -235,7 +235,7 @@ interface ProductInterface {
235
235
  url?: string;
236
236
  stripeId?: string | null;
237
237
  shopifyId?: string | null;
238
- inventoryId?: string;
238
+ inventoryId?: string | null;
239
239
  marketingFeatures?: MarketingFeatureInterface[];
240
240
  packageDimensions?: PackageDimensionsInterface;
241
241
  inventory?: InventoryInterface;
@@ -243,15 +243,15 @@ interface ProductInterface {
243
243
  client?: ClientInterface;
244
244
  subscriptions?: SubscriptionInterface[];
245
245
  payments?: PaymentInterface[];
246
- poolId?: string;
246
+ poolId?: string | null;
247
247
  pool?: PoolInterface;
248
- organizationId?: string;
248
+ organizationId?: string | null;
249
249
  organization?: OrganizationInterface;
250
- accountOwnerId?: string;
250
+ accountOwnerId?: string | null;
251
251
  accountOwner?: UserInterface;
252
252
  contents?: ContentInterface[];
253
- createdById?: string;
254
- updatedById?: string;
253
+ createdById?: string | null;
254
+ updatedById?: string | null;
255
255
  createdBy?: UserInterface;
256
256
  updatedBy?: UserInterface;
257
257
  }
@@ -269,7 +269,7 @@ interface PriceInterface {
269
269
  createdAt?: Date;
270
270
  updatedAt?: Date;
271
271
  deletedAt?: Date;
272
- stripeId?: string;
272
+ stripeId?: string | null;
273
273
  active?: boolean;
274
274
  lookupKey?: string;
275
275
  priceType?: string;
@@ -279,10 +279,10 @@ interface PriceInterface {
279
279
  unitAmount?: number;
280
280
  unitAmountDecimal?: string;
281
281
  recurring?: PriceRecurringInterface;
282
- productId?: string;
282
+ productId?: string | null;
283
283
  product?: ProductInterface;
284
- createdById?: string;
285
- updatedById?: string;
284
+ createdById?: string | null;
285
+ updatedById?: string | null;
286
286
  createdBy?: UserInterface;
287
287
  updatedBy?: UserInterface;
288
288
  }
@@ -323,20 +323,20 @@ interface SubscriptionInterface {
323
323
  automaticTax?: AutomaticTaxInterface;
324
324
  pauseCollection?: PauseCollectionInterface;
325
325
  cancellationDetails?: CancellationDetailsInterface;
326
- stripeId?: string;
327
- dealId?: string;
326
+ stripeId?: string | null;
327
+ dealId?: string | null;
328
328
  deal?: DealInterface;
329
- clientId?: string;
329
+ clientId?: string | null;
330
330
  client?: ClientInterface;
331
- poolId?: string;
331
+ poolId?: string | null;
332
332
  pool?: PoolInterface;
333
- organizationId?: string;
333
+ organizationId?: string | null;
334
334
  organization?: OrganizationInterface;
335
- accountOwnerId?: string;
335
+ accountOwnerId?: string | null;
336
336
  accountOwner?: UserInterface;
337
337
  contents?: ContentInterface[];
338
- createdById?: string;
339
- updatedById?: string;
338
+ createdById?: string | null;
339
+ updatedById?: string | null;
340
340
  createdBy?: UserInterface;
341
341
  updatedBy?: UserInterface;
342
342
  }
@@ -385,21 +385,22 @@ interface PaymentInterface {
385
385
  amountDetails?: AmountDetailsInterface;
386
386
  billingDetails?: BillingDetailsInterface;
387
387
  shipping?: ShippingInterface;
388
- stripeId?: string;
389
- productId?: string;
390
- subscriptionId?: string;
388
+ stripeId?: string | null;
389
+ shopifyId?: string | null;
390
+ productId?: string | null;
391
+ subscriptionId?: string | null;
391
392
  subscription: SubscriptionInterface;
392
393
  contents?: ContentInterface[];
393
- clientId?: string;
394
+ clientId?: string | null;
394
395
  client?: ClientInterface;
395
- poolId?: string;
396
+ poolId?: string | null;
396
397
  pool?: PoolInterface;
397
- organizationId?: string;
398
+ organizationId?: string | null;
398
399
  organization?: OrganizationInterface;
399
- accountOwnerId?: string;
400
+ accountOwnerId?: string | null;
400
401
  accountOwner?: UserInterface;
401
- createdById?: string;
402
- updatedById?: string;
402
+ createdById?: string | null;
403
+ updatedById?: string | null;
403
404
  createdBy?: UserInterface;
404
405
  updatedBy?: UserInterface;
405
406
  }
@@ -427,16 +428,16 @@ interface PaymentMethodInterface {
427
428
  allowRedisplay?: string;
428
429
  livemode?: boolean;
429
430
  billingDetails?: BillingDetailsInterface;
430
- stripeId?: string;
431
+ stripeId?: string | null;
431
432
  contents?: ContentInterface[];
432
- clientId?: string;
433
+ clientId?: string | null;
433
434
  client?: ClientInterface;
434
- poolId?: string;
435
+ poolId?: string | null;
435
436
  pool?: PoolInterface;
436
- organizationId?: string;
437
+ organizationId?: string | null;
437
438
  organization?: OrganizationInterface;
438
- createdById?: string;
439
- updatedById?: string;
439
+ createdById?: string | null;
440
+ updatedById?: string | null;
440
441
  createdBy?: UserInterface;
441
442
  updatedBy?: UserInterface;
442
443
  }
@@ -473,16 +474,16 @@ interface RefundInterface {
473
474
  amount?: number;
474
475
  livemode?: boolean;
475
476
  billingDetails?: BillingDetailsInterface;
476
- stripeId?: string;
477
+ stripeId?: string | null;
477
478
  contents?: ContentInterface[];
478
- clientId?: string;
479
+ clientId?: string | null;
479
480
  client?: ClientInterface;
480
- poolId?: string;
481
+ poolId?: string | null;
481
482
  pool?: PoolInterface;
482
- organizationId?: string;
483
+ organizationId?: string | null;
483
484
  organization?: OrganizationInterface;
484
- createdById?: string;
485
- updatedById?: string;
485
+ createdById?: string | null;
486
+ updatedById?: string | null;
486
487
  createdBy?: UserInterface;
487
488
  updatedBy?: UserInterface;
488
489
  }
@@ -502,16 +503,16 @@ interface DisputeInterface {
502
503
  livemode?: boolean;
503
504
  evidence?: EvidenceInterface;
504
505
  evidenceDetails?: EvidenceDetailsInterface;
505
- stripeId?: string;
506
+ stripeId?: string | null;
506
507
  contents?: ContentInterface[];
507
- clientId?: string;
508
+ clientId?: string | null;
508
509
  client?: ClientInterface;
509
- poolId?: string;
510
+ poolId?: string | null;
510
511
  pool?: PoolInterface;
511
- organizationId?: string;
512
+ organizationId?: string | null;
512
513
  organization?: OrganizationInterface;
513
- createdById?: string;
514
- updatedById?: string;
514
+ createdById?: string | null;
515
+ updatedById?: string | null;
515
516
  createdBy?: UserInterface;
516
517
  updatedBy?: UserInterface;
517
518
  }
@@ -558,14 +559,14 @@ interface UsageInterface {
558
559
  modelName?: string;
559
560
  feature?: string;
560
561
  dynamic?: boolean;
561
- organizationId?: string;
562
- organizationModelId?: string;
563
- assetId?: string;
562
+ organizationId?: string | null;
563
+ organizationModelId?: string | null;
564
+ assetId?: string | null;
564
565
  organization?: OrganizationInterface;
565
566
  asset?: FileInterface;
566
567
  uploadAsset?: FileInterface;
567
- createdById?: string;
568
- updatedById?: string;
568
+ createdById?: string | null;
569
+ updatedById?: string | null;
569
570
  createdBy?: UserInterface;
570
571
  updatedBy?: UserInterface;
571
572
  }
@@ -574,16 +575,16 @@ interface SentEmailInterface {
574
575
  createdAt?: Date;
575
576
  updatedAt?: Date;
576
577
  deletedAt?: Date;
577
- requestId?: string;
578
- messageId?: string;
578
+ requestId?: string | null;
579
+ messageId?: string | null;
579
580
  source?: string;
580
581
  subject?: string;
581
582
  body?: string;
582
583
  toAddresses?: string[];
583
- organizationId?: string;
584
+ organizationId?: string | null;
584
585
  organization?: OrganizationInterface;
585
- createdById?: string;
586
- updatedById?: string;
586
+ createdById?: string | null;
587
+ updatedById?: string | null;
587
588
  createdBy?: UserInterface;
588
589
  updatedBy?: UserInterface;
589
590
  }
@@ -597,10 +598,10 @@ interface FileInterface {
597
598
  encoding?: string;
598
599
  key?: string;
599
600
  url?: string;
600
- poolId?: string;
601
- organizationId?: string;
602
- createdById?: string;
603
- updatedById?: string;
601
+ poolId?: string | null;
602
+ organizationId?: string | null;
603
+ createdById?: string | null;
604
+ updatedById?: string | null;
604
605
  createdBy?: UserInterface;
605
606
  updatedBy?: UserInterface;
606
607
  pool?: PoolInterface;
@@ -613,11 +614,11 @@ interface ChatInterface {
613
614
  updatedAt?: Date;
614
615
  deletedAt?: Date;
615
616
  label?: string;
616
- chatId?: string;
617
+ chatId?: string | null;
617
618
  type?: string;
618
- integrationId?: string;
619
- createdById?: string;
620
- updatedById?: string;
619
+ integrationId?: string | null;
620
+ createdById?: string | null;
621
+ updatedById?: string | null;
621
622
  createdBy?: UserInterface;
622
623
  updatedBy?: UserInterface;
623
624
  integration?: IntegrationInterface;
@@ -630,10 +631,10 @@ interface CommentInterface {
630
631
  deletedAt?: Date;
631
632
  label?: string;
632
633
  role?: string;
633
- poolId?: string;
634
- chatId?: string;
635
- createdById?: string;
636
- updatedById?: string;
634
+ poolId?: string | null;
635
+ chatId?: string | null;
636
+ createdById?: string | null;
637
+ updatedById?: string | null;
637
638
  createdBy?: UserInterface;
638
639
  updatedBy?: UserInterface;
639
640
  pool?: PoolInterface;
@@ -646,8 +647,8 @@ interface NotificationInterface {
646
647
  deletedAt?: Date;
647
648
  label?: string;
648
649
  description?: string;
649
- userId?: string;
650
- organizationId?: string;
650
+ userId?: string | null;
651
+ organizationId?: string | null;
651
652
  user?: UserInterface;
652
653
  organization?: OrganizationInterface;
653
654
  }
@@ -684,10 +685,10 @@ interface AddressInterface {
684
685
  addressType?: string;
685
686
  longitude?: number;
686
687
  latitude?: number;
687
- poolId?: string;
688
- organizationId?: string;
689
- createdById?: string;
690
- updatedById?: string;
688
+ poolId?: string | null;
689
+ organizationId?: string | null;
690
+ createdById?: string | null;
691
+ updatedById?: string | null;
691
692
  createdBy?: UserInterface;
692
693
  updatedBy?: UserInterface;
693
694
  pool?: PoolInterface;
@@ -704,10 +705,10 @@ interface SchemaInterface {
704
705
  options?: string[];
705
706
  relation?: boolean;
706
707
  modelName?: string;
707
- organizationModelId?: string;
708
- listId?: string;
709
- createdById?: string;
710
- updatedById?: string;
708
+ organizationModelId?: string | null;
709
+ listId?: string | null;
710
+ createdById?: string | null;
711
+ updatedById?: string | null;
711
712
  createdBy?: UserInterface;
712
713
  updatedBy?: UserInterface;
713
714
  deleted?: boolean;
@@ -745,14 +746,14 @@ interface ClientInterface {
745
746
  angelUrl?: string;
746
747
  currency?: string;
747
748
  crunchbaseUrl?: string;
748
- organizationId?: string;
749
- createdById?: string;
750
- updatedById?: string;
751
- addressId?: string;
749
+ organizationId?: string | null;
750
+ createdById?: string | null;
751
+ updatedById?: string | null;
752
+ addressId?: string | null;
752
753
  poolId?: string | null;
753
754
  stripeId?: string | null;
754
755
  shopifyId?: string | null;
755
- accountOwnerId?: string;
756
+ accountOwnerId?: string | null;
756
757
  accountOwner?: UserInterface;
757
758
  contents?: ContentInterface[];
758
759
  contacts?: ContactInterface[];
@@ -786,11 +787,11 @@ interface ContactInterface {
786
787
  twitterUrl?: string;
787
788
  phone?: string;
788
789
  role?: string;
789
- clientId?: string;
790
- userId?: string;
791
- organizationId?: string;
792
- createdById?: string;
793
- updatedById?: string;
790
+ clientId?: string | null;
791
+ userId?: string | null;
792
+ organizationId?: string | null;
793
+ createdById?: string | null;
794
+ updatedById?: string | null;
794
795
  poolId?: string | null;
795
796
  engagements?: EngagementInterface[];
796
797
  engagementIds?: string[];
@@ -807,10 +808,10 @@ interface ContentInterface {
807
808
  key?: string;
808
809
  value?: string;
809
810
  type?: string;
810
- poolId?: string;
811
- schemaId?: string;
812
- createdById?: string;
813
- updatedById?: string;
811
+ poolId?: string | null;
812
+ schemaId?: string | null;
813
+ createdById?: string | null;
814
+ updatedById?: string | null;
814
815
  }
815
816
  interface DealInterface {
816
817
  id?: string;
@@ -829,14 +830,14 @@ interface DealInterface {
829
830
  source?: string | null;
830
831
  closingDate?: Date;
831
832
  description?: string;
832
- organizationId?: string;
833
- createdById?: string;
834
- updatedById?: string;
835
- clientId?: string;
833
+ organizationId?: string | null;
834
+ createdById?: string | null;
835
+ updatedById?: string | null;
836
+ clientId?: string | null;
836
837
  poolId?: string | null;
837
- accountOwnerId?: string;
838
+ accountOwnerId?: string | null;
838
839
  campaign?: CampaignInterface;
839
- campaignId?: string;
840
+ campaignId?: string | null;
840
841
  invoice?: InvoiceInterface;
841
842
  accountOwner?: UserInterface;
842
843
  contents?: ContentInterface[];
@@ -871,12 +872,14 @@ interface OrderInterface {
871
872
  trackingUrl?: string;
872
873
  internalNotes?: string;
873
874
  customerNotes?: string;
874
- organizationId?: string;
875
- createdById?: string;
876
- updatedById?: string;
877
- clientId?: string;
875
+ organizationId?: string | null;
876
+ createdById?: string | null;
877
+ updatedById?: string | null;
878
+ clientId?: string | null;
879
+ shippoId?: string | null;
880
+ shopifyId?: string | null;
878
881
  poolId?: string | null;
879
- accountOwnerId?: string;
882
+ accountOwnerId?: string | null;
880
883
  accountOwner?: UserInterface;
881
884
  contents?: ContentInterface[];
882
885
  client?: ClientInterface;
@@ -900,13 +903,13 @@ interface LeadInterface {
900
903
  source?: string | null;
901
904
  closingDate?: Date;
902
905
  description?: string;
903
- organizationId?: string;
904
- createdById?: string;
905
- updatedById?: string;
906
- clientId?: string;
906
+ organizationId?: string | null;
907
+ createdById?: string | null;
908
+ updatedById?: string | null;
909
+ clientId?: string | null;
907
910
  poolId?: string | null;
908
- accountOwnerId?: string;
909
- campaignId?: string;
911
+ accountOwnerId?: string | null;
912
+ campaignId?: string | null;
910
913
  accountOwner?: UserInterface;
911
914
  contents?: ContentInterface[];
912
915
  client?: ClientInterface;
@@ -970,14 +973,14 @@ interface InvoiceInterface {
970
973
  paid?: boolean;
971
974
  paidOutOfBand?: boolean;
972
975
  issuer?: StripeAccountInterface;
973
- organizationId?: string;
974
- createdById?: string;
975
- updatedById?: string;
976
- stripeId?: string;
977
- clientId?: string;
976
+ organizationId?: string | null;
977
+ createdById?: string | null;
978
+ updatedById?: string | null;
979
+ stripeId?: string | null;
980
+ clientId?: string | null;
978
981
  poolId?: string | null;
979
- accountOwnerId?: string;
980
- dealId?: string;
982
+ accountOwnerId?: string | null;
983
+ dealId?: string | null;
981
984
  payment?: PaymentInterface;
982
985
  contents?: ContentInterface[];
983
986
  inventories?: InventoryInterface[];
@@ -1005,11 +1008,11 @@ interface EngagementInterface {
1005
1008
  name?: string;
1006
1009
  engagementDate?: Date;
1007
1010
  description?: string;
1008
- organizationId?: string;
1009
- createdById?: string;
1010
- updatedById?: string;
1011
- clientId?: string;
1012
- contactId?: string;
1011
+ organizationId?: string | null;
1012
+ createdById?: string | null;
1013
+ updatedById?: string | null;
1014
+ clientId?: string | null;
1015
+ contactId?: string | null;
1013
1016
  poolId?: string | null;
1014
1017
  contents?: ContentInterface[];
1015
1018
  client?: ClientInterface;
@@ -1027,11 +1030,11 @@ interface FilterInterface {
1027
1030
  type?: string;
1028
1031
  options?: string[];
1029
1032
  organizationFilterType?: string;
1030
- createdById?: string;
1031
- updatedById?: string;
1032
- organizationModelId?: string;
1033
- listId?: string;
1034
- organizationId?: string;
1033
+ createdById?: string | null;
1034
+ updatedById?: string | null;
1035
+ organizationModelId?: string | null;
1036
+ listId?: string | null;
1037
+ organizationId?: string | null;
1035
1038
  createdBy?: UserInterface;
1036
1039
  updatedBy?: UserInterface;
1037
1040
  }
@@ -1047,9 +1050,9 @@ interface InventoryInterface {
1047
1050
  amount?: number;
1048
1051
  quantity?: number;
1049
1052
  shopifyId?: string | null;
1050
- organizationId?: string;
1051
- createdById?: string;
1052
- updatedById?: string;
1053
+ organizationId?: string | null;
1054
+ createdById?: string | null;
1055
+ updatedById?: string | null;
1053
1056
  poolId?: string | null;
1054
1057
  products?: ProductInterface[];
1055
1058
  contents?: ContentInterface[];
@@ -1064,8 +1067,8 @@ interface ModelInterface {
1064
1067
  name?: string;
1065
1068
  oldName?: string;
1066
1069
  category?: string | null;
1067
- createdById?: string;
1068
- updatedById?: string;
1070
+ createdById?: string | null;
1071
+ updatedById?: string | null;
1069
1072
  createdBy?: UserInterface;
1070
1073
  updatedBy?: UserInterface;
1071
1074
  }
@@ -1075,10 +1078,10 @@ interface OrganizationModelInterface {
1075
1078
  updatedAt?: Date;
1076
1079
  deletedAt?: Date;
1077
1080
  delete?: boolean;
1078
- organizationId?: string;
1081
+ organizationId?: string | null;
1079
1082
  modelId?: string | null;
1080
- createdById?: string;
1081
- updatedById?: string;
1083
+ createdById?: string | null;
1084
+ updatedById?: string | null;
1082
1085
  model?: ModelInterface;
1083
1086
  schemas?: SchemaInterface[];
1084
1087
  pools?: PoolInterface[];
@@ -1094,8 +1097,8 @@ interface PoolInterface {
1094
1097
  description?: string;
1095
1098
  status?: string;
1096
1099
  editable?: boolean;
1097
- organizationModelId?: string;
1098
- listId?: string;
1100
+ organizationModelId?: string | null;
1101
+ listId?: string | null;
1099
1102
  organizationModel?: OrganizationModelInterface;
1100
1103
  list?: ListInterface;
1101
1104
  client?: ClientInterface;
@@ -1111,8 +1114,8 @@ interface PoolInterface {
1111
1114
  invoice?: InvoiceInterface;
1112
1115
  engagement?: EngagementInterface;
1113
1116
  contents?: ContentInterface[];
1114
- createdById?: string;
1115
- updatedById?: string;
1117
+ createdById?: string | null;
1118
+ updatedById?: string | null;
1116
1119
  createdBy?: UserInterface;
1117
1120
  updatedBy?: UserInterface;
1118
1121
  address?: AddressInterface;
@@ -1152,10 +1155,10 @@ interface StatisticInterface extends AnalyticsQueryInterface {
1152
1155
  createdAt?: Date;
1153
1156
  updatedAt?: Date;
1154
1157
  deletedAt?: Date;
1155
- organizationModelId?: string;
1156
- organizationId?: string;
1157
- createdById?: string;
1158
- updatedById?: string;
1158
+ organizationModelId?: string | null;
1159
+ organizationId?: string | null;
1160
+ createdById?: string | null;
1161
+ updatedById?: string | null;
1159
1162
  createdBy?: UserInterface;
1160
1163
  updatedBy?: UserInterface;
1161
1164
  }
@@ -1170,10 +1173,10 @@ interface ReportInterface extends AnalyticsQueryInterface {
1170
1173
  description?: string;
1171
1174
  startDate?: Date;
1172
1175
  endDate?: Date;
1173
- organizationId?: string;
1174
- organizationModelId?: string;
1175
- createdById?: string;
1176
- updatedById?: string;
1176
+ organizationId?: string | null;
1177
+ organizationModelId?: string | null;
1178
+ createdById?: string | null;
1179
+ updatedById?: string | null;
1177
1180
  data?: GenericPayload[];
1178
1181
  createdBy?: UserInterface;
1179
1182
  updatedBy?: UserInterface;
@@ -1185,10 +1188,10 @@ interface ListInterface extends AnalyticsQueryInterface {
1185
1188
  deletedAt?: Date;
1186
1189
  description?: string;
1187
1190
  dynamic?: boolean;
1188
- organizationId?: string;
1189
- organizationModelId?: string;
1190
- createdById?: string;
1191
- updatedById?: string;
1191
+ organizationId?: string | null;
1192
+ organizationModelId?: string | null;
1193
+ createdById?: string | null;
1194
+ updatedById?: string | null;
1192
1195
  createdBy?: UserInterface;
1193
1196
  updatedBy?: UserInterface;
1194
1197
  pools?: PoolInterface[];
@@ -1203,12 +1206,12 @@ interface PromptInterface extends AnalyticsQueryInterface {
1203
1206
  frequency?: string | null;
1204
1207
  frequencyField?: string;
1205
1208
  description?: string;
1206
- organizationModelId?: string;
1207
- chatId?: string;
1208
- integrationId?: string;
1209
- operationId?: string;
1210
- createdById?: string;
1211
- updatedById?: string;
1209
+ organizationModelId?: string | null;
1210
+ chatId?: string | null;
1211
+ integrationId?: string | null;
1212
+ operationId?: string | null;
1213
+ createdById?: string | null;
1214
+ updatedById?: string | null;
1212
1215
  createdBy?: UserInterface;
1213
1216
  updatedBy?: UserInterface;
1214
1217
  }
@@ -1222,9 +1225,9 @@ interface OperationInterface {
1222
1225
  description?: string;
1223
1226
  startDate?: Date;
1224
1227
  endDate?: Date;
1225
- organizationId?: string;
1226
- createdById?: string;
1227
- updatedById?: string;
1228
+ organizationId?: string | null;
1229
+ createdById?: string | null;
1230
+ updatedById?: string | null;
1228
1231
  createdBy?: UserInterface;
1229
1232
  updatedBy?: UserInterface;
1230
1233
  prompts?: PromptInterface[];
@@ -1246,8 +1249,8 @@ interface TagInterface {
1246
1249
  deletedAt?: Date;
1247
1250
  personal?: boolean;
1248
1251
  name?: string;
1249
- organizationId?: string;
1250
- userId?: string;
1252
+ organizationId?: string | null;
1253
+ userId?: string | null;
1251
1254
  }
1252
1255
  interface TaskInterface {
1253
1256
  id?: string;
@@ -1265,12 +1268,12 @@ interface TaskInterface {
1265
1268
  status?: string;
1266
1269
  dueDate?: Date;
1267
1270
  description?: string;
1268
- organizationId?: string;
1269
- poolId?: string;
1270
- clientId?: string;
1271
- assigneeId?: string;
1272
- createdById?: string;
1273
- updatedById?: string;
1271
+ organizationId?: string | null;
1272
+ poolId?: string | null;
1273
+ clientId?: string | null;
1274
+ assigneeId?: string | null;
1275
+ createdById?: string | null;
1276
+ updatedById?: string | null;
1274
1277
  assignee?: UserInterface;
1275
1278
  client?: ClientInterface;
1276
1279
  createdBy?: UserInterface;
@@ -1297,12 +1300,12 @@ interface CampaignInterface {
1297
1300
  expectedResponse?: string;
1298
1301
  startDate?: Date;
1299
1302
  endDate?: Date;
1300
- organizationId?: string;
1303
+ organizationId?: string | null;
1301
1304
  leadIds?: string[];
1302
1305
  dealIds?: string[];
1303
- poolId?: string;
1304
- createdById?: string;
1305
- updatedById?: string;
1306
+ poolId?: string | null;
1307
+ createdById?: string | null;
1308
+ updatedById?: string | null;
1306
1309
  createdBy?: UserInterface;
1307
1310
  updatedBy?: UserInterface;
1308
1311
  pool?: PoolInterface;
@@ -1316,11 +1319,11 @@ interface WaitlistInterface {
1316
1319
  updatedAt?: Date;
1317
1320
  deletedAt?: Date;
1318
1321
  claimed?: boolean;
1319
- userId?: string;
1322
+ userId?: string | null;
1320
1323
  email: string;
1321
1324
  contents?: ContentInterface[];
1322
- createdById?: string;
1323
- updatedById?: string;
1325
+ createdById?: string | null;
1326
+ updatedById?: string | null;
1324
1327
  createdBy?: UserInterface;
1325
1328
  updatedBy?: UserInterface;
1326
1329
  }
@@ -1339,7 +1342,7 @@ interface QueryFilterInterface {
1339
1342
  orderBy?: string;
1340
1343
  newPage?: number;
1341
1344
  rowsPerPage?: number;
1342
- statisticId?: string;
1345
+ statisticId?: string | null;
1343
1346
  }
1344
1347
  interface ShippoAddressInterface {
1345
1348
  id?: string;
@@ -1351,6 +1354,7 @@ interface ShippoAddressInterface {
1351
1354
  state_province?: string;
1352
1355
  postal_code?: string;
1353
1356
  country_code?: string;
1357
+ address_type?: string;
1354
1358
  phone?: string;
1355
1359
  email?: string;
1356
1360
  }
@@ -1389,7 +1393,7 @@ interface ShippingRateInterface {
1389
1393
  interface ShippoRatesResponseInterface {
1390
1394
  success: boolean;
1391
1395
  rates?: ShippingRateInterface[];
1392
- shipmentId?: string;
1396
+ shipmentId?: string | null;
1393
1397
  error?: any;
1394
1398
  }
1395
1399
  interface RatesOptionsInterface {