@verma-consulting/common-library 0.1.36 → 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.
package/dist/index.d.mts CHANGED
@@ -233,8 +233,8 @@ interface ProductInterface {
233
233
  taxCode?: string;
234
234
  unitLabel?: string;
235
235
  url?: string;
236
- stripeId?: string | null;
237
- shopifyId?: string | null;
236
+ stripeId?: string;
237
+ shopifyId?: string;
238
238
  inventoryId?: string;
239
239
  marketingFeatures?: MarketingFeatureInterface[];
240
240
  packageDimensions?: PackageDimensionsInterface;
@@ -386,6 +386,7 @@ interface PaymentInterface {
386
386
  billingDetails?: BillingDetailsInterface;
387
387
  shipping?: ShippingInterface;
388
388
  stripeId?: string;
389
+ shopifyId?: string;
389
390
  productId?: string;
390
391
  subscriptionId?: string;
391
392
  subscription: SubscriptionInterface;
@@ -528,7 +529,7 @@ interface EvidenceInterface {
528
529
  customerSignature?: string | null;
529
530
  duplicateChargeDocumentation?: string | null;
530
531
  duplicateChargeExplanation?: string | null;
531
- duplicateChargeId?: string | null;
532
+ duplicateChargeId?: string;
532
533
  productDescription?: string | null;
533
534
  receipt?: string | null;
534
535
  refundPolicy?: string | null;
@@ -672,7 +673,7 @@ interface AddressInterface {
672
673
  deletedAt?: Date;
673
674
  claimed?: boolean;
674
675
  label?: string;
675
- shippoId?: string | null;
676
+ shippoId?: string;
676
677
  isValid?: boolean;
677
678
  line1?: string;
678
679
  line2?: string;
@@ -749,9 +750,9 @@ interface ClientInterface {
749
750
  createdById?: string;
750
751
  updatedById?: string;
751
752
  addressId?: string;
752
- poolId?: string | null;
753
- stripeId?: string | null;
754
- shopifyId?: string | null;
753
+ poolId?: string;
754
+ stripeId?: string;
755
+ shopifyId?: string;
755
756
  accountOwnerId?: string;
756
757
  accountOwner?: UserInterface;
757
758
  contents?: ContentInterface[];
@@ -791,7 +792,7 @@ interface ContactInterface {
791
792
  organizationId?: string;
792
793
  createdById?: string;
793
794
  updatedById?: string;
794
- poolId?: string | null;
795
+ poolId?: string;
795
796
  engagements?: EngagementInterface[];
796
797
  engagementIds?: string[];
797
798
  contents?: ContentInterface[];
@@ -833,7 +834,7 @@ interface DealInterface {
833
834
  createdById?: string;
834
835
  updatedById?: string;
835
836
  clientId?: string;
836
- poolId?: string | null;
837
+ poolId?: string;
837
838
  accountOwnerId?: string;
838
839
  campaign?: CampaignInterface;
839
840
  campaignId?: string;
@@ -875,7 +876,9 @@ interface OrderInterface {
875
876
  createdById?: string;
876
877
  updatedById?: string;
877
878
  clientId?: string;
878
- poolId?: string | null;
879
+ shippoId?: string;
880
+ shopifyId?: string;
881
+ poolId?: string;
879
882
  accountOwnerId?: string;
880
883
  accountOwner?: UserInterface;
881
884
  contents?: ContentInterface[];
@@ -904,7 +907,7 @@ interface LeadInterface {
904
907
  createdById?: string;
905
908
  updatedById?: string;
906
909
  clientId?: string;
907
- poolId?: string | null;
910
+ poolId?: string;
908
911
  accountOwnerId?: string;
909
912
  campaignId?: string;
910
913
  accountOwner?: UserInterface;
@@ -975,7 +978,7 @@ interface InvoiceInterface {
975
978
  updatedById?: string;
976
979
  stripeId?: string;
977
980
  clientId?: string;
978
- poolId?: string | null;
981
+ poolId?: string;
979
982
  accountOwnerId?: string;
980
983
  dealId?: string;
981
984
  payment?: PaymentInterface;
@@ -1010,7 +1013,7 @@ interface EngagementInterface {
1010
1013
  updatedById?: string;
1011
1014
  clientId?: string;
1012
1015
  contactId?: string;
1013
- poolId?: string | null;
1016
+ poolId?: string;
1014
1017
  contents?: ContentInterface[];
1015
1018
  client?: ClientInterface;
1016
1019
  contact?: ContactInterface;
@@ -1046,11 +1049,11 @@ interface InventoryInterface {
1046
1049
  currency?: string;
1047
1050
  amount?: number;
1048
1051
  quantity?: number;
1049
- shopifyId?: string | null;
1052
+ shopifyId?: string;
1050
1053
  organizationId?: string;
1051
1054
  createdById?: string;
1052
1055
  updatedById?: string;
1053
- poolId?: string | null;
1056
+ poolId?: string;
1054
1057
  products?: ProductInterface[];
1055
1058
  contents?: ContentInterface[];
1056
1059
  createdBy?: UserInterface;
@@ -1076,7 +1079,7 @@ interface OrganizationModelInterface {
1076
1079
  deletedAt?: Date;
1077
1080
  delete?: boolean;
1078
1081
  organizationId?: string;
1079
- modelId?: string | null;
1082
+ modelId?: string;
1080
1083
  createdById?: string;
1081
1084
  updatedById?: string;
1082
1085
  model?: ModelInterface;
package/dist/index.d.ts CHANGED
@@ -233,8 +233,8 @@ interface ProductInterface {
233
233
  taxCode?: string;
234
234
  unitLabel?: string;
235
235
  url?: string;
236
- stripeId?: string | null;
237
- shopifyId?: string | null;
236
+ stripeId?: string;
237
+ shopifyId?: string;
238
238
  inventoryId?: string;
239
239
  marketingFeatures?: MarketingFeatureInterface[];
240
240
  packageDimensions?: PackageDimensionsInterface;
@@ -386,6 +386,7 @@ interface PaymentInterface {
386
386
  billingDetails?: BillingDetailsInterface;
387
387
  shipping?: ShippingInterface;
388
388
  stripeId?: string;
389
+ shopifyId?: string;
389
390
  productId?: string;
390
391
  subscriptionId?: string;
391
392
  subscription: SubscriptionInterface;
@@ -528,7 +529,7 @@ interface EvidenceInterface {
528
529
  customerSignature?: string | null;
529
530
  duplicateChargeDocumentation?: string | null;
530
531
  duplicateChargeExplanation?: string | null;
531
- duplicateChargeId?: string | null;
532
+ duplicateChargeId?: string;
532
533
  productDescription?: string | null;
533
534
  receipt?: string | null;
534
535
  refundPolicy?: string | null;
@@ -672,7 +673,7 @@ interface AddressInterface {
672
673
  deletedAt?: Date;
673
674
  claimed?: boolean;
674
675
  label?: string;
675
- shippoId?: string | null;
676
+ shippoId?: string;
676
677
  isValid?: boolean;
677
678
  line1?: string;
678
679
  line2?: string;
@@ -749,9 +750,9 @@ interface ClientInterface {
749
750
  createdById?: string;
750
751
  updatedById?: string;
751
752
  addressId?: string;
752
- poolId?: string | null;
753
- stripeId?: string | null;
754
- shopifyId?: string | null;
753
+ poolId?: string;
754
+ stripeId?: string;
755
+ shopifyId?: string;
755
756
  accountOwnerId?: string;
756
757
  accountOwner?: UserInterface;
757
758
  contents?: ContentInterface[];
@@ -791,7 +792,7 @@ interface ContactInterface {
791
792
  organizationId?: string;
792
793
  createdById?: string;
793
794
  updatedById?: string;
794
- poolId?: string | null;
795
+ poolId?: string;
795
796
  engagements?: EngagementInterface[];
796
797
  engagementIds?: string[];
797
798
  contents?: ContentInterface[];
@@ -833,7 +834,7 @@ interface DealInterface {
833
834
  createdById?: string;
834
835
  updatedById?: string;
835
836
  clientId?: string;
836
- poolId?: string | null;
837
+ poolId?: string;
837
838
  accountOwnerId?: string;
838
839
  campaign?: CampaignInterface;
839
840
  campaignId?: string;
@@ -875,7 +876,9 @@ interface OrderInterface {
875
876
  createdById?: string;
876
877
  updatedById?: string;
877
878
  clientId?: string;
878
- poolId?: string | null;
879
+ shippoId?: string;
880
+ shopifyId?: string;
881
+ poolId?: string;
879
882
  accountOwnerId?: string;
880
883
  accountOwner?: UserInterface;
881
884
  contents?: ContentInterface[];
@@ -904,7 +907,7 @@ interface LeadInterface {
904
907
  createdById?: string;
905
908
  updatedById?: string;
906
909
  clientId?: string;
907
- poolId?: string | null;
910
+ poolId?: string;
908
911
  accountOwnerId?: string;
909
912
  campaignId?: string;
910
913
  accountOwner?: UserInterface;
@@ -975,7 +978,7 @@ interface InvoiceInterface {
975
978
  updatedById?: string;
976
979
  stripeId?: string;
977
980
  clientId?: string;
978
- poolId?: string | null;
981
+ poolId?: string;
979
982
  accountOwnerId?: string;
980
983
  dealId?: string;
981
984
  payment?: PaymentInterface;
@@ -1010,7 +1013,7 @@ interface EngagementInterface {
1010
1013
  updatedById?: string;
1011
1014
  clientId?: string;
1012
1015
  contactId?: string;
1013
- poolId?: string | null;
1016
+ poolId?: string;
1014
1017
  contents?: ContentInterface[];
1015
1018
  client?: ClientInterface;
1016
1019
  contact?: ContactInterface;
@@ -1046,11 +1049,11 @@ interface InventoryInterface {
1046
1049
  currency?: string;
1047
1050
  amount?: number;
1048
1051
  quantity?: number;
1049
- shopifyId?: string | null;
1052
+ shopifyId?: string;
1050
1053
  organizationId?: string;
1051
1054
  createdById?: string;
1052
1055
  updatedById?: string;
1053
- poolId?: string | null;
1056
+ poolId?: string;
1054
1057
  products?: ProductInterface[];
1055
1058
  contents?: ContentInterface[];
1056
1059
  createdBy?: UserInterface;
@@ -1076,7 +1079,7 @@ interface OrganizationModelInterface {
1076
1079
  deletedAt?: Date;
1077
1080
  delete?: boolean;
1078
1081
  organizationId?: string;
1079
- modelId?: string | null;
1082
+ modelId?: string;
1080
1083
  createdById?: string;
1081
1084
  updatedById?: string;
1082
1085
  model?: ModelInterface;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verma-consulting/common-library",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "description": "Shared common library for Verma Consulting",
5
5
  "author": "Ankit Verma <ankit@vermadev.com>",
6
6
  "license": "MIT",