@verma-consulting/common-library 0.1.37 → 0.1.38

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 +219 -219
  2. package/dist/index.d.ts +219 -219
  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 | null;
25
- organizationId?: string | null;
26
- createdById?: string | null;
24
+ cognitoUserId?: string;
25
+ organizationId?: string;
26
+ createdById?: string;
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 | null;
51
- organizationId?: string | null;
52
- avatarId?: string | null;
50
+ cognitoUserId?: string;
51
+ organizationId?: string;
52
+ avatarId?: string;
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 | null;
81
+ addressId?: string;
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 | null;
113
- updatedById?: string | null;
112
+ createdById?: string;
113
+ updatedById?: string;
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 | null;
138
- subOrganizationId?: string | null;
139
- stripeId?: string | null;
137
+ parentOrganizationId?: string;
138
+ subOrganizationId?: string;
139
+ stripeId?: string;
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 | null;
161
- updatedById?: string | null;
160
+ createdById?: string;
161
+ updatedById?: string;
162
162
  createdBy?: UserInterface;
163
163
  updatedBy?: UserInterface;
164
164
  notifications?: NotificationInterface[];
165
- logoId?: string | null;
165
+ logoId?: string;
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 | null;
189
- tenantId?: string | null;
190
- customerId?: string | null;
191
- teamId?: string | null;
192
- channelId?: string | null;
188
+ clientId?: string;
189
+ tenantId?: string;
190
+ customerId?: string;
191
+ teamId?: string;
192
+ channelId?: string;
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 | null;
201
+ organizationId?: string;
202
202
  organization?: OrganizationInterface;
203
- createdById?: string | null;
204
- updatedById?: string | null;
203
+ createdById?: string;
204
+ updatedById?: string;
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 | null;
216
- organizationId?: string | null;
215
+ userId?: string;
216
+ organizationId?: string;
217
217
  user?: UserInterface;
218
218
  organization?: OrganizationInterface;
219
219
  }
@@ -233,9 +233,9 @@ interface ProductInterface {
233
233
  taxCode?: string;
234
234
  unitLabel?: string;
235
235
  url?: string;
236
- stripeId?: string | null;
237
- shopifyId?: string | null;
238
- inventoryId?: string | null;
236
+ stripeId?: string;
237
+ shopifyId?: string;
238
+ inventoryId?: string;
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 | null;
246
+ poolId?: string;
247
247
  pool?: PoolInterface;
248
- organizationId?: string | null;
248
+ organizationId?: string;
249
249
  organization?: OrganizationInterface;
250
- accountOwnerId?: string | null;
250
+ accountOwnerId?: string;
251
251
  accountOwner?: UserInterface;
252
252
  contents?: ContentInterface[];
253
- createdById?: string | null;
254
- updatedById?: string | null;
253
+ createdById?: string;
254
+ updatedById?: string;
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 | null;
272
+ stripeId?: string;
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 | null;
282
+ productId?: string;
283
283
  product?: ProductInterface;
284
- createdById?: string | null;
285
- updatedById?: string | null;
284
+ createdById?: string;
285
+ updatedById?: string;
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 | null;
327
- dealId?: string | null;
326
+ stripeId?: string;
327
+ dealId?: string;
328
328
  deal?: DealInterface;
329
- clientId?: string | null;
329
+ clientId?: string;
330
330
  client?: ClientInterface;
331
- poolId?: string | null;
331
+ poolId?: string;
332
332
  pool?: PoolInterface;
333
- organizationId?: string | null;
333
+ organizationId?: string;
334
334
  organization?: OrganizationInterface;
335
- accountOwnerId?: string | null;
335
+ accountOwnerId?: string;
336
336
  accountOwner?: UserInterface;
337
337
  contents?: ContentInterface[];
338
- createdById?: string | null;
339
- updatedById?: string | null;
338
+ createdById?: string;
339
+ updatedById?: string;
340
340
  createdBy?: UserInterface;
341
341
  updatedBy?: UserInterface;
342
342
  }
@@ -385,22 +385,22 @@ interface PaymentInterface {
385
385
  amountDetails?: AmountDetailsInterface;
386
386
  billingDetails?: BillingDetailsInterface;
387
387
  shipping?: ShippingInterface;
388
- stripeId?: string | null;
389
- shopifyId?: string | null;
390
- productId?: string | null;
391
- subscriptionId?: string | null;
388
+ stripeId?: string;
389
+ shopifyId?: string;
390
+ productId?: string;
391
+ subscriptionId?: string;
392
392
  subscription: SubscriptionInterface;
393
393
  contents?: ContentInterface[];
394
- clientId?: string | null;
394
+ clientId?: string;
395
395
  client?: ClientInterface;
396
- poolId?: string | null;
396
+ poolId?: string;
397
397
  pool?: PoolInterface;
398
- organizationId?: string | null;
398
+ organizationId?: string;
399
399
  organization?: OrganizationInterface;
400
- accountOwnerId?: string | null;
400
+ accountOwnerId?: string;
401
401
  accountOwner?: UserInterface;
402
- createdById?: string | null;
403
- updatedById?: string | null;
402
+ createdById?: string;
403
+ updatedById?: string;
404
404
  createdBy?: UserInterface;
405
405
  updatedBy?: UserInterface;
406
406
  }
@@ -428,16 +428,16 @@ interface PaymentMethodInterface {
428
428
  allowRedisplay?: string;
429
429
  livemode?: boolean;
430
430
  billingDetails?: BillingDetailsInterface;
431
- stripeId?: string | null;
431
+ stripeId?: string;
432
432
  contents?: ContentInterface[];
433
- clientId?: string | null;
433
+ clientId?: string;
434
434
  client?: ClientInterface;
435
- poolId?: string | null;
435
+ poolId?: string;
436
436
  pool?: PoolInterface;
437
- organizationId?: string | null;
437
+ organizationId?: string;
438
438
  organization?: OrganizationInterface;
439
- createdById?: string | null;
440
- updatedById?: string | null;
439
+ createdById?: string;
440
+ updatedById?: string;
441
441
  createdBy?: UserInterface;
442
442
  updatedBy?: UserInterface;
443
443
  }
@@ -474,16 +474,16 @@ interface RefundInterface {
474
474
  amount?: number;
475
475
  livemode?: boolean;
476
476
  billingDetails?: BillingDetailsInterface;
477
- stripeId?: string | null;
477
+ stripeId?: string;
478
478
  contents?: ContentInterface[];
479
- clientId?: string | null;
479
+ clientId?: string;
480
480
  client?: ClientInterface;
481
- poolId?: string | null;
481
+ poolId?: string;
482
482
  pool?: PoolInterface;
483
- organizationId?: string | null;
483
+ organizationId?: string;
484
484
  organization?: OrganizationInterface;
485
- createdById?: string | null;
486
- updatedById?: string | null;
485
+ createdById?: string;
486
+ updatedById?: string;
487
487
  createdBy?: UserInterface;
488
488
  updatedBy?: UserInterface;
489
489
  }
@@ -503,16 +503,16 @@ interface DisputeInterface {
503
503
  livemode?: boolean;
504
504
  evidence?: EvidenceInterface;
505
505
  evidenceDetails?: EvidenceDetailsInterface;
506
- stripeId?: string | null;
506
+ stripeId?: string;
507
507
  contents?: ContentInterface[];
508
- clientId?: string | null;
508
+ clientId?: string;
509
509
  client?: ClientInterface;
510
- poolId?: string | null;
510
+ poolId?: string;
511
511
  pool?: PoolInterface;
512
- organizationId?: string | null;
512
+ organizationId?: string;
513
513
  organization?: OrganizationInterface;
514
- createdById?: string | null;
515
- updatedById?: string | null;
514
+ createdById?: string;
515
+ updatedById?: string;
516
516
  createdBy?: UserInterface;
517
517
  updatedBy?: UserInterface;
518
518
  }
@@ -529,7 +529,7 @@ interface EvidenceInterface {
529
529
  customerSignature?: string | null;
530
530
  duplicateChargeDocumentation?: string | null;
531
531
  duplicateChargeExplanation?: string | null;
532
- duplicateChargeId?: string | null;
532
+ duplicateChargeId?: string;
533
533
  productDescription?: string | null;
534
534
  receipt?: string | null;
535
535
  refundPolicy?: string | null;
@@ -559,14 +559,14 @@ interface UsageInterface {
559
559
  modelName?: string;
560
560
  feature?: string;
561
561
  dynamic?: boolean;
562
- organizationId?: string | null;
563
- organizationModelId?: string | null;
564
- assetId?: string | null;
562
+ organizationId?: string;
563
+ organizationModelId?: string;
564
+ assetId?: string;
565
565
  organization?: OrganizationInterface;
566
566
  asset?: FileInterface;
567
567
  uploadAsset?: FileInterface;
568
- createdById?: string | null;
569
- updatedById?: string | null;
568
+ createdById?: string;
569
+ updatedById?: string;
570
570
  createdBy?: UserInterface;
571
571
  updatedBy?: UserInterface;
572
572
  }
@@ -575,16 +575,16 @@ interface SentEmailInterface {
575
575
  createdAt?: Date;
576
576
  updatedAt?: Date;
577
577
  deletedAt?: Date;
578
- requestId?: string | null;
579
- messageId?: string | null;
578
+ requestId?: string;
579
+ messageId?: string;
580
580
  source?: string;
581
581
  subject?: string;
582
582
  body?: string;
583
583
  toAddresses?: string[];
584
- organizationId?: string | null;
584
+ organizationId?: string;
585
585
  organization?: OrganizationInterface;
586
- createdById?: string | null;
587
- updatedById?: string | null;
586
+ createdById?: string;
587
+ updatedById?: string;
588
588
  createdBy?: UserInterface;
589
589
  updatedBy?: UserInterface;
590
590
  }
@@ -598,10 +598,10 @@ interface FileInterface {
598
598
  encoding?: string;
599
599
  key?: string;
600
600
  url?: string;
601
- poolId?: string | null;
602
- organizationId?: string | null;
603
- createdById?: string | null;
604
- updatedById?: string | null;
601
+ poolId?: string;
602
+ organizationId?: string;
603
+ createdById?: string;
604
+ updatedById?: string;
605
605
  createdBy?: UserInterface;
606
606
  updatedBy?: UserInterface;
607
607
  pool?: PoolInterface;
@@ -614,11 +614,11 @@ interface ChatInterface {
614
614
  updatedAt?: Date;
615
615
  deletedAt?: Date;
616
616
  label?: string;
617
- chatId?: string | null;
617
+ chatId?: string;
618
618
  type?: string;
619
- integrationId?: string | null;
620
- createdById?: string | null;
621
- updatedById?: string | null;
619
+ integrationId?: string;
620
+ createdById?: string;
621
+ updatedById?: string;
622
622
  createdBy?: UserInterface;
623
623
  updatedBy?: UserInterface;
624
624
  integration?: IntegrationInterface;
@@ -631,10 +631,10 @@ interface CommentInterface {
631
631
  deletedAt?: Date;
632
632
  label?: string;
633
633
  role?: string;
634
- poolId?: string | null;
635
- chatId?: string | null;
636
- createdById?: string | null;
637
- updatedById?: string | null;
634
+ poolId?: string;
635
+ chatId?: string;
636
+ createdById?: string;
637
+ updatedById?: string;
638
638
  createdBy?: UserInterface;
639
639
  updatedBy?: UserInterface;
640
640
  pool?: PoolInterface;
@@ -647,8 +647,8 @@ interface NotificationInterface {
647
647
  deletedAt?: Date;
648
648
  label?: string;
649
649
  description?: string;
650
- userId?: string | null;
651
- organizationId?: string | null;
650
+ userId?: string;
651
+ organizationId?: string;
652
652
  user?: UserInterface;
653
653
  organization?: OrganizationInterface;
654
654
  }
@@ -673,7 +673,7 @@ interface AddressInterface {
673
673
  deletedAt?: Date;
674
674
  claimed?: boolean;
675
675
  label?: string;
676
- shippoId?: string | null;
676
+ shippoId?: string;
677
677
  isValid?: boolean;
678
678
  line1?: string;
679
679
  line2?: string;
@@ -685,10 +685,10 @@ interface AddressInterface {
685
685
  addressType?: string;
686
686
  longitude?: number;
687
687
  latitude?: number;
688
- poolId?: string | null;
689
- organizationId?: string | null;
690
- createdById?: string | null;
691
- updatedById?: string | null;
688
+ poolId?: string;
689
+ organizationId?: string;
690
+ createdById?: string;
691
+ updatedById?: string;
692
692
  createdBy?: UserInterface;
693
693
  updatedBy?: UserInterface;
694
694
  pool?: PoolInterface;
@@ -705,10 +705,10 @@ interface SchemaInterface {
705
705
  options?: string[];
706
706
  relation?: boolean;
707
707
  modelName?: string;
708
- organizationModelId?: string | null;
709
- listId?: string | null;
710
- createdById?: string | null;
711
- updatedById?: string | null;
708
+ organizationModelId?: string;
709
+ listId?: string;
710
+ createdById?: string;
711
+ updatedById?: string;
712
712
  createdBy?: UserInterface;
713
713
  updatedBy?: UserInterface;
714
714
  deleted?: boolean;
@@ -746,14 +746,14 @@ interface ClientInterface {
746
746
  angelUrl?: string;
747
747
  currency?: string;
748
748
  crunchbaseUrl?: string;
749
- organizationId?: string | null;
750
- createdById?: string | null;
751
- updatedById?: string | null;
752
- addressId?: string | null;
753
- poolId?: string | null;
754
- stripeId?: string | null;
755
- shopifyId?: string | null;
756
- accountOwnerId?: string | null;
749
+ organizationId?: string;
750
+ createdById?: string;
751
+ updatedById?: string;
752
+ addressId?: string;
753
+ poolId?: string;
754
+ stripeId?: string;
755
+ shopifyId?: string;
756
+ accountOwnerId?: string;
757
757
  accountOwner?: UserInterface;
758
758
  contents?: ContentInterface[];
759
759
  contacts?: ContactInterface[];
@@ -787,12 +787,12 @@ interface ContactInterface {
787
787
  twitterUrl?: string;
788
788
  phone?: string;
789
789
  role?: string;
790
- clientId?: string | null;
791
- userId?: string | null;
792
- organizationId?: string | null;
793
- createdById?: string | null;
794
- updatedById?: string | null;
795
- poolId?: string | null;
790
+ clientId?: string;
791
+ userId?: string;
792
+ organizationId?: string;
793
+ createdById?: string;
794
+ updatedById?: string;
795
+ poolId?: string;
796
796
  engagements?: EngagementInterface[];
797
797
  engagementIds?: string[];
798
798
  contents?: ContentInterface[];
@@ -808,10 +808,10 @@ interface ContentInterface {
808
808
  key?: string;
809
809
  value?: string;
810
810
  type?: string;
811
- poolId?: string | null;
812
- schemaId?: string | null;
813
- createdById?: string | null;
814
- updatedById?: string | null;
811
+ poolId?: string;
812
+ schemaId?: string;
813
+ createdById?: string;
814
+ updatedById?: string;
815
815
  }
816
816
  interface DealInterface {
817
817
  id?: string;
@@ -830,14 +830,14 @@ interface DealInterface {
830
830
  source?: string | null;
831
831
  closingDate?: Date;
832
832
  description?: string;
833
- organizationId?: string | null;
834
- createdById?: string | null;
835
- updatedById?: string | null;
836
- clientId?: string | null;
837
- poolId?: string | null;
838
- accountOwnerId?: string | null;
833
+ organizationId?: string;
834
+ createdById?: string;
835
+ updatedById?: string;
836
+ clientId?: string;
837
+ poolId?: string;
838
+ accountOwnerId?: string;
839
839
  campaign?: CampaignInterface;
840
- campaignId?: string | null;
840
+ campaignId?: string;
841
841
  invoice?: InvoiceInterface;
842
842
  accountOwner?: UserInterface;
843
843
  contents?: ContentInterface[];
@@ -872,14 +872,14 @@ interface OrderInterface {
872
872
  trackingUrl?: string;
873
873
  internalNotes?: string;
874
874
  customerNotes?: 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;
881
- poolId?: string | null;
882
- accountOwnerId?: string | null;
875
+ organizationId?: string;
876
+ createdById?: string;
877
+ updatedById?: string;
878
+ clientId?: string;
879
+ shippoId?: string;
880
+ shopifyId?: string;
881
+ poolId?: string;
882
+ accountOwnerId?: string;
883
883
  accountOwner?: UserInterface;
884
884
  contents?: ContentInterface[];
885
885
  client?: ClientInterface;
@@ -903,13 +903,13 @@ interface LeadInterface {
903
903
  source?: string | null;
904
904
  closingDate?: Date;
905
905
  description?: string;
906
- organizationId?: string | null;
907
- createdById?: string | null;
908
- updatedById?: string | null;
909
- clientId?: string | null;
910
- poolId?: string | null;
911
- accountOwnerId?: string | null;
912
- campaignId?: string | null;
906
+ organizationId?: string;
907
+ createdById?: string;
908
+ updatedById?: string;
909
+ clientId?: string;
910
+ poolId?: string;
911
+ accountOwnerId?: string;
912
+ campaignId?: string;
913
913
  accountOwner?: UserInterface;
914
914
  contents?: ContentInterface[];
915
915
  client?: ClientInterface;
@@ -973,14 +973,14 @@ interface InvoiceInterface {
973
973
  paid?: boolean;
974
974
  paidOutOfBand?: boolean;
975
975
  issuer?: StripeAccountInterface;
976
- organizationId?: string | null;
977
- createdById?: string | null;
978
- updatedById?: string | null;
979
- stripeId?: string | null;
980
- clientId?: string | null;
981
- poolId?: string | null;
982
- accountOwnerId?: string | null;
983
- dealId?: string | null;
976
+ organizationId?: string;
977
+ createdById?: string;
978
+ updatedById?: string;
979
+ stripeId?: string;
980
+ clientId?: string;
981
+ poolId?: string;
982
+ accountOwnerId?: string;
983
+ dealId?: string;
984
984
  payment?: PaymentInterface;
985
985
  contents?: ContentInterface[];
986
986
  inventories?: InventoryInterface[];
@@ -1008,12 +1008,12 @@ interface EngagementInterface {
1008
1008
  name?: string;
1009
1009
  engagementDate?: Date;
1010
1010
  description?: string;
1011
- organizationId?: string | null;
1012
- createdById?: string | null;
1013
- updatedById?: string | null;
1014
- clientId?: string | null;
1015
- contactId?: string | null;
1016
- poolId?: string | null;
1011
+ organizationId?: string;
1012
+ createdById?: string;
1013
+ updatedById?: string;
1014
+ clientId?: string;
1015
+ contactId?: string;
1016
+ poolId?: string;
1017
1017
  contents?: ContentInterface[];
1018
1018
  client?: ClientInterface;
1019
1019
  contact?: ContactInterface;
@@ -1030,11 +1030,11 @@ interface FilterInterface {
1030
1030
  type?: string;
1031
1031
  options?: string[];
1032
1032
  organizationFilterType?: string;
1033
- createdById?: string | null;
1034
- updatedById?: string | null;
1035
- organizationModelId?: string | null;
1036
- listId?: string | null;
1037
- organizationId?: string | null;
1033
+ createdById?: string;
1034
+ updatedById?: string;
1035
+ organizationModelId?: string;
1036
+ listId?: string;
1037
+ organizationId?: string;
1038
1038
  createdBy?: UserInterface;
1039
1039
  updatedBy?: UserInterface;
1040
1040
  }
@@ -1049,11 +1049,11 @@ interface InventoryInterface {
1049
1049
  currency?: string;
1050
1050
  amount?: number;
1051
1051
  quantity?: number;
1052
- shopifyId?: string | null;
1053
- organizationId?: string | null;
1054
- createdById?: string | null;
1055
- updatedById?: string | null;
1056
- poolId?: string | null;
1052
+ shopifyId?: string;
1053
+ organizationId?: string;
1054
+ createdById?: string;
1055
+ updatedById?: string;
1056
+ poolId?: string;
1057
1057
  products?: ProductInterface[];
1058
1058
  contents?: ContentInterface[];
1059
1059
  createdBy?: UserInterface;
@@ -1067,8 +1067,8 @@ interface ModelInterface {
1067
1067
  name?: string;
1068
1068
  oldName?: string;
1069
1069
  category?: string | null;
1070
- createdById?: string | null;
1071
- updatedById?: string | null;
1070
+ createdById?: string;
1071
+ updatedById?: string;
1072
1072
  createdBy?: UserInterface;
1073
1073
  updatedBy?: UserInterface;
1074
1074
  }
@@ -1078,10 +1078,10 @@ interface OrganizationModelInterface {
1078
1078
  updatedAt?: Date;
1079
1079
  deletedAt?: Date;
1080
1080
  delete?: boolean;
1081
- organizationId?: string | null;
1082
- modelId?: string | null;
1083
- createdById?: string | null;
1084
- updatedById?: string | null;
1081
+ organizationId?: string;
1082
+ modelId?: string;
1083
+ createdById?: string;
1084
+ updatedById?: string;
1085
1085
  model?: ModelInterface;
1086
1086
  schemas?: SchemaInterface[];
1087
1087
  pools?: PoolInterface[];
@@ -1097,8 +1097,8 @@ interface PoolInterface {
1097
1097
  description?: string;
1098
1098
  status?: string;
1099
1099
  editable?: boolean;
1100
- organizationModelId?: string | null;
1101
- listId?: string | null;
1100
+ organizationModelId?: string;
1101
+ listId?: string;
1102
1102
  organizationModel?: OrganizationModelInterface;
1103
1103
  list?: ListInterface;
1104
1104
  client?: ClientInterface;
@@ -1114,8 +1114,8 @@ interface PoolInterface {
1114
1114
  invoice?: InvoiceInterface;
1115
1115
  engagement?: EngagementInterface;
1116
1116
  contents?: ContentInterface[];
1117
- createdById?: string | null;
1118
- updatedById?: string | null;
1117
+ createdById?: string;
1118
+ updatedById?: string;
1119
1119
  createdBy?: UserInterface;
1120
1120
  updatedBy?: UserInterface;
1121
1121
  address?: AddressInterface;
@@ -1155,10 +1155,10 @@ interface StatisticInterface extends AnalyticsQueryInterface {
1155
1155
  createdAt?: Date;
1156
1156
  updatedAt?: Date;
1157
1157
  deletedAt?: Date;
1158
- organizationModelId?: string | null;
1159
- organizationId?: string | null;
1160
- createdById?: string | null;
1161
- updatedById?: string | null;
1158
+ organizationModelId?: string;
1159
+ organizationId?: string;
1160
+ createdById?: string;
1161
+ updatedById?: string;
1162
1162
  createdBy?: UserInterface;
1163
1163
  updatedBy?: UserInterface;
1164
1164
  }
@@ -1173,10 +1173,10 @@ interface ReportInterface extends AnalyticsQueryInterface {
1173
1173
  description?: string;
1174
1174
  startDate?: Date;
1175
1175
  endDate?: Date;
1176
- organizationId?: string | null;
1177
- organizationModelId?: string | null;
1178
- createdById?: string | null;
1179
- updatedById?: string | null;
1176
+ organizationId?: string;
1177
+ organizationModelId?: string;
1178
+ createdById?: string;
1179
+ updatedById?: string;
1180
1180
  data?: GenericPayload[];
1181
1181
  createdBy?: UserInterface;
1182
1182
  updatedBy?: UserInterface;
@@ -1188,10 +1188,10 @@ interface ListInterface extends AnalyticsQueryInterface {
1188
1188
  deletedAt?: Date;
1189
1189
  description?: string;
1190
1190
  dynamic?: boolean;
1191
- organizationId?: string | null;
1192
- organizationModelId?: string | null;
1193
- createdById?: string | null;
1194
- updatedById?: string | null;
1191
+ organizationId?: string;
1192
+ organizationModelId?: string;
1193
+ createdById?: string;
1194
+ updatedById?: string;
1195
1195
  createdBy?: UserInterface;
1196
1196
  updatedBy?: UserInterface;
1197
1197
  pools?: PoolInterface[];
@@ -1206,12 +1206,12 @@ interface PromptInterface extends AnalyticsQueryInterface {
1206
1206
  frequency?: string | null;
1207
1207
  frequencyField?: string;
1208
1208
  description?: 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;
1209
+ organizationModelId?: string;
1210
+ chatId?: string;
1211
+ integrationId?: string;
1212
+ operationId?: string;
1213
+ createdById?: string;
1214
+ updatedById?: string;
1215
1215
  createdBy?: UserInterface;
1216
1216
  updatedBy?: UserInterface;
1217
1217
  }
@@ -1225,9 +1225,9 @@ interface OperationInterface {
1225
1225
  description?: string;
1226
1226
  startDate?: Date;
1227
1227
  endDate?: Date;
1228
- organizationId?: string | null;
1229
- createdById?: string | null;
1230
- updatedById?: string | null;
1228
+ organizationId?: string;
1229
+ createdById?: string;
1230
+ updatedById?: string;
1231
1231
  createdBy?: UserInterface;
1232
1232
  updatedBy?: UserInterface;
1233
1233
  prompts?: PromptInterface[];
@@ -1249,8 +1249,8 @@ interface TagInterface {
1249
1249
  deletedAt?: Date;
1250
1250
  personal?: boolean;
1251
1251
  name?: string;
1252
- organizationId?: string | null;
1253
- userId?: string | null;
1252
+ organizationId?: string;
1253
+ userId?: string;
1254
1254
  }
1255
1255
  interface TaskInterface {
1256
1256
  id?: string;
@@ -1268,12 +1268,12 @@ interface TaskInterface {
1268
1268
  status?: string;
1269
1269
  dueDate?: Date;
1270
1270
  description?: 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;
1271
+ organizationId?: string;
1272
+ poolId?: string;
1273
+ clientId?: string;
1274
+ assigneeId?: string;
1275
+ createdById?: string;
1276
+ updatedById?: string;
1277
1277
  assignee?: UserInterface;
1278
1278
  client?: ClientInterface;
1279
1279
  createdBy?: UserInterface;
@@ -1300,12 +1300,12 @@ interface CampaignInterface {
1300
1300
  expectedResponse?: string;
1301
1301
  startDate?: Date;
1302
1302
  endDate?: Date;
1303
- organizationId?: string | null;
1303
+ organizationId?: string;
1304
1304
  leadIds?: string[];
1305
1305
  dealIds?: string[];
1306
- poolId?: string | null;
1307
- createdById?: string | null;
1308
- updatedById?: string | null;
1306
+ poolId?: string;
1307
+ createdById?: string;
1308
+ updatedById?: string;
1309
1309
  createdBy?: UserInterface;
1310
1310
  updatedBy?: UserInterface;
1311
1311
  pool?: PoolInterface;
@@ -1319,11 +1319,11 @@ interface WaitlistInterface {
1319
1319
  updatedAt?: Date;
1320
1320
  deletedAt?: Date;
1321
1321
  claimed?: boolean;
1322
- userId?: string | null;
1322
+ userId?: string;
1323
1323
  email: string;
1324
1324
  contents?: ContentInterface[];
1325
- createdById?: string | null;
1326
- updatedById?: string | null;
1325
+ createdById?: string;
1326
+ updatedById?: string;
1327
1327
  createdBy?: UserInterface;
1328
1328
  updatedBy?: UserInterface;
1329
1329
  }
@@ -1342,7 +1342,7 @@ interface QueryFilterInterface {
1342
1342
  orderBy?: string;
1343
1343
  newPage?: number;
1344
1344
  rowsPerPage?: number;
1345
- statisticId?: string | null;
1345
+ statisticId?: string;
1346
1346
  }
1347
1347
  interface ShippoAddressInterface {
1348
1348
  id?: string;
@@ -1393,7 +1393,7 @@ interface ShippingRateInterface {
1393
1393
  interface ShippoRatesResponseInterface {
1394
1394
  success: boolean;
1395
1395
  rates?: ShippingRateInterface[];
1396
- shipmentId?: string | null;
1396
+ shipmentId?: string;
1397
1397
  error?: any;
1398
1398
  }
1399
1399
  interface RatesOptionsInterface {