@experts_hub/shared 1.0.701 → 1.0.703

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.
@@ -11,6 +11,8 @@ export declare class City extends BaseEntity {
11
11
  cityCode: string;
12
12
  cityName: string;
13
13
  isActive: boolean;
14
+ latitude: number;
15
+ longitude: number;
14
16
  freelancerProfile: FreelancerProfile[];
15
17
  companyProfile: CompanyProfile[];
16
18
  }
@@ -20,7 +20,9 @@ export declare enum ContractTypeEnum {
20
20
  NDA = "NDA",
21
21
  WORK = "WORK",
22
22
  SOW = "SOW",
23
- MSA = "MSA"
23
+ MSA = "MSA",
24
+ CL_SOW = "CL_SOW",
25
+ FL_SOW = "FL_SOW"
24
26
  }
25
27
  export declare class Contract extends BaseEntity {
26
28
  contractUniqueId: string;
@@ -10,6 +10,8 @@ export declare class State extends BaseEntity {
10
10
  stateName: string;
11
11
  stateCode: string;
12
12
  isActive: boolean;
13
+ centerLatitude: number;
14
+ centerLongitude: number;
13
15
  freelancerProfile: FreelancerProfile[];
14
16
  companyProfile: CompanyProfile[];
15
17
  }
@@ -18,6 +18,7 @@ export declare class UserSubscriptionTransaction extends BaseEntity {
18
18
  userId: number;
19
19
  type: UserSubscriptionTransactionTypeEnum;
20
20
  status: UserSubscriptionTransactionStatusEnum;
21
+ planName: string | null;
21
22
  amountMinor: number | null;
22
23
  currency: string | null;
23
24
  stripeEventId: string | null;
@@ -25,5 +26,6 @@ export declare class UserSubscriptionTransaction extends BaseEntity {
25
26
  stripeSubscriptionId: string | null;
26
27
  stripeInvoiceId: string | null;
27
28
  description: string | null;
29
+ invoiceUrl: string | null;
28
30
  metadata: Record<string, unknown> | null;
29
31
  }
package/dist/index.d.mts CHANGED
@@ -471,6 +471,8 @@ declare class City extends BaseEntity {
471
471
  cityCode: string;
472
472
  cityName: string;
473
473
  isActive: boolean;
474
+ latitude: number;
475
+ longitude: number;
474
476
  freelancerProfile: FreelancerProfile[];
475
477
  companyProfile: CompanyProfile[];
476
478
  }
@@ -482,6 +484,8 @@ declare class State extends BaseEntity {
482
484
  stateName: string;
483
485
  stateCode: string;
484
486
  isActive: boolean;
487
+ centerLatitude: number;
488
+ centerLongitude: number;
485
489
  freelancerProfile: FreelancerProfile[];
486
490
  companyProfile: CompanyProfile[];
487
491
  }
@@ -1118,7 +1122,9 @@ declare enum ContractTypeEnum {
1118
1122
  NDA = "NDA",
1119
1123
  WORK = "WORK",
1120
1124
  SOW = "SOW",
1121
- MSA = "MSA"
1125
+ MSA = "MSA",
1126
+ CL_SOW = "CL_SOW",
1127
+ FL_SOW = "FL_SOW"
1122
1128
  }
1123
1129
  declare class Contract extends BaseEntity {
1124
1130
  contractUniqueId: string;
@@ -5114,6 +5120,7 @@ declare class UserSubscriptionTransaction extends BaseEntity {
5114
5120
  userId: number;
5115
5121
  type: UserSubscriptionTransactionTypeEnum;
5116
5122
  status: UserSubscriptionTransactionStatusEnum;
5123
+ planName: string | null;
5117
5124
  amountMinor: number | null;
5118
5125
  currency: string | null;
5119
5126
  stripeEventId: string | null;
@@ -5121,6 +5128,7 @@ declare class UserSubscriptionTransaction extends BaseEntity {
5121
5128
  stripeSubscriptionId: string | null;
5122
5129
  stripeInvoiceId: string | null;
5123
5130
  description: string | null;
5131
+ invoiceUrl: string | null;
5124
5132
  metadata: Record<string, unknown> | null;
5125
5133
  }
5126
5134
 
package/dist/index.d.ts CHANGED
@@ -471,6 +471,8 @@ declare class City extends BaseEntity {
471
471
  cityCode: string;
472
472
  cityName: string;
473
473
  isActive: boolean;
474
+ latitude: number;
475
+ longitude: number;
474
476
  freelancerProfile: FreelancerProfile[];
475
477
  companyProfile: CompanyProfile[];
476
478
  }
@@ -482,6 +484,8 @@ declare class State extends BaseEntity {
482
484
  stateName: string;
483
485
  stateCode: string;
484
486
  isActive: boolean;
487
+ centerLatitude: number;
488
+ centerLongitude: number;
485
489
  freelancerProfile: FreelancerProfile[];
486
490
  companyProfile: CompanyProfile[];
487
491
  }
@@ -1118,7 +1122,9 @@ declare enum ContractTypeEnum {
1118
1122
  NDA = "NDA",
1119
1123
  WORK = "WORK",
1120
1124
  SOW = "SOW",
1121
- MSA = "MSA"
1125
+ MSA = "MSA",
1126
+ CL_SOW = "CL_SOW",
1127
+ FL_SOW = "FL_SOW"
1122
1128
  }
1123
1129
  declare class Contract extends BaseEntity {
1124
1130
  contractUniqueId: string;
@@ -5114,6 +5120,7 @@ declare class UserSubscriptionTransaction extends BaseEntity {
5114
5120
  userId: number;
5115
5121
  type: UserSubscriptionTransactionTypeEnum;
5116
5122
  status: UserSubscriptionTransactionStatusEnum;
5123
+ planName: string | null;
5117
5124
  amountMinor: number | null;
5118
5125
  currency: string | null;
5119
5126
  stripeEventId: string | null;
@@ -5121,6 +5128,7 @@ declare class UserSubscriptionTransaction extends BaseEntity {
5121
5128
  stripeSubscriptionId: string | null;
5122
5129
  stripeInvoiceId: string | null;
5123
5130
  description: string | null;
5131
+ invoiceUrl: string | null;
5124
5132
  metadata: Record<string, unknown> | null;
5125
5133
  }
5126
5134
 
package/dist/index.js CHANGED
@@ -1858,6 +1858,24 @@ __decorateClass([
1858
1858
  comment: "Flag indicating if the city is active"
1859
1859
  })
1860
1860
  ], City.prototype, "isActive", 2);
1861
+ __decorateClass([
1862
+ (0, import_typeorm6.Column)({
1863
+ name: "latitude",
1864
+ type: "decimal",
1865
+ precision: 9,
1866
+ scale: 6,
1867
+ nullable: true
1868
+ })
1869
+ ], City.prototype, "latitude", 2);
1870
+ __decorateClass([
1871
+ (0, import_typeorm6.Column)({
1872
+ name: "longitude",
1873
+ type: "decimal",
1874
+ precision: 9,
1875
+ scale: 6,
1876
+ nullable: true
1877
+ })
1878
+ ], City.prototype, "longitude", 2);
1861
1879
  __decorateClass([
1862
1880
  (0, import_typeorm6.OneToMany)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.city)
1863
1881
  ], City.prototype, "freelancerProfile", 2);
@@ -1911,6 +1929,24 @@ __decorateClass([
1911
1929
  comment: "Flag indicating if the state is active"
1912
1930
  })
1913
1931
  ], State.prototype, "isActive", 2);
1932
+ __decorateClass([
1933
+ (0, import_typeorm7.Column)({
1934
+ name: "center_latitude",
1935
+ type: "decimal",
1936
+ precision: 9,
1937
+ scale: 6,
1938
+ nullable: true
1939
+ })
1940
+ ], State.prototype, "centerLatitude", 2);
1941
+ __decorateClass([
1942
+ (0, import_typeorm7.Column)({
1943
+ name: "center_longitude",
1944
+ type: "decimal",
1945
+ precision: 9,
1946
+ scale: 6,
1947
+ nullable: true
1948
+ })
1949
+ ], State.prototype, "centerLongitude", 2);
1914
1950
  __decorateClass([
1915
1951
  (0, import_typeorm7.OneToMany)(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.state)
1916
1952
  ], State.prototype, "freelancerProfile", 2);
@@ -3938,6 +3974,8 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
3938
3974
  ContractTypeEnum2["WORK"] = "WORK";
3939
3975
  ContractTypeEnum2["SOW"] = "SOW";
3940
3976
  ContractTypeEnum2["MSA"] = "MSA";
3977
+ ContractTypeEnum2["CL_SOW"] = "CL_SOW";
3978
+ ContractTypeEnum2["FL_SOW"] = "FL_SOW";
3941
3979
  return ContractTypeEnum2;
3942
3980
  })(ContractTypeEnum || {});
3943
3981
  var Contract = class extends BaseEntity {
@@ -14936,6 +14974,9 @@ __decorateClass([
14936
14974
  default: "COMPLETED" /* COMPLETED */
14937
14975
  })
14938
14976
  ], UserSubscriptionTransaction.prototype, "status", 2);
14977
+ __decorateClass([
14978
+ (0, import_typeorm101.Column)({ name: "plan_name", type: "text", nullable: true })
14979
+ ], UserSubscriptionTransaction.prototype, "planName", 2);
14939
14980
  __decorateClass([
14940
14981
  (0, import_typeorm101.Column)({ name: "amount_minor", type: "integer", nullable: true })
14941
14982
  ], UserSubscriptionTransaction.prototype, "amountMinor", 2);
@@ -14957,6 +14998,9 @@ __decorateClass([
14957
14998
  __decorateClass([
14958
14999
  (0, import_typeorm101.Column)({ name: "description", type: "text", nullable: true })
14959
15000
  ], UserSubscriptionTransaction.prototype, "description", 2);
15001
+ __decorateClass([
15002
+ (0, import_typeorm101.Column)({ name: "invoice_url", type: "text", nullable: true })
15003
+ ], UserSubscriptionTransaction.prototype, "invoiceUrl", 2);
14960
15004
  __decorateClass([
14961
15005
  (0, import_typeorm101.Column)({ name: "metadata", type: "jsonb", nullable: true, default: {} })
14962
15006
  ], UserSubscriptionTransaction.prototype, "metadata", 2);
package/dist/index.mjs CHANGED
@@ -1487,6 +1487,24 @@ __decorateClass([
1487
1487
  comment: "Flag indicating if the city is active"
1488
1488
  })
1489
1489
  ], City.prototype, "isActive", 2);
1490
+ __decorateClass([
1491
+ Column6({
1492
+ name: "latitude",
1493
+ type: "decimal",
1494
+ precision: 9,
1495
+ scale: 6,
1496
+ nullable: true
1497
+ })
1498
+ ], City.prototype, "latitude", 2);
1499
+ __decorateClass([
1500
+ Column6({
1501
+ name: "longitude",
1502
+ type: "decimal",
1503
+ precision: 9,
1504
+ scale: 6,
1505
+ nullable: true
1506
+ })
1507
+ ], City.prototype, "longitude", 2);
1490
1508
  __decorateClass([
1491
1509
  OneToMany(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.city)
1492
1510
  ], City.prototype, "freelancerProfile", 2);
@@ -1540,6 +1558,24 @@ __decorateClass([
1540
1558
  comment: "Flag indicating if the state is active"
1541
1559
  })
1542
1560
  ], State.prototype, "isActive", 2);
1561
+ __decorateClass([
1562
+ Column7({
1563
+ name: "center_latitude",
1564
+ type: "decimal",
1565
+ precision: 9,
1566
+ scale: 6,
1567
+ nullable: true
1568
+ })
1569
+ ], State.prototype, "centerLatitude", 2);
1570
+ __decorateClass([
1571
+ Column7({
1572
+ name: "center_longitude",
1573
+ type: "decimal",
1574
+ precision: 9,
1575
+ scale: 6,
1576
+ nullable: true
1577
+ })
1578
+ ], State.prototype, "centerLongitude", 2);
1543
1579
  __decorateClass([
1544
1580
  OneToMany2(() => FreelancerProfile, (freelancerProfile) => freelancerProfile.state)
1545
1581
  ], State.prototype, "freelancerProfile", 2);
@@ -3624,6 +3660,8 @@ var ContractTypeEnum = /* @__PURE__ */ ((ContractTypeEnum2) => {
3624
3660
  ContractTypeEnum2["WORK"] = "WORK";
3625
3661
  ContractTypeEnum2["SOW"] = "SOW";
3626
3662
  ContractTypeEnum2["MSA"] = "MSA";
3663
+ ContractTypeEnum2["CL_SOW"] = "CL_SOW";
3664
+ ContractTypeEnum2["FL_SOW"] = "FL_SOW";
3627
3665
  return ContractTypeEnum2;
3628
3666
  })(ContractTypeEnum || {});
3629
3667
  var Contract = class extends BaseEntity {
@@ -15118,6 +15156,9 @@ __decorateClass([
15118
15156
  default: "COMPLETED" /* COMPLETED */
15119
15157
  })
15120
15158
  ], UserSubscriptionTransaction.prototype, "status", 2);
15159
+ __decorateClass([
15160
+ Column98({ name: "plan_name", type: "text", nullable: true })
15161
+ ], UserSubscriptionTransaction.prototype, "planName", 2);
15121
15162
  __decorateClass([
15122
15163
  Column98({ name: "amount_minor", type: "integer", nullable: true })
15123
15164
  ], UserSubscriptionTransaction.prototype, "amountMinor", 2);
@@ -15139,6 +15180,9 @@ __decorateClass([
15139
15180
  __decorateClass([
15140
15181
  Column98({ name: "description", type: "text", nullable: true })
15141
15182
  ], UserSubscriptionTransaction.prototype, "description", 2);
15183
+ __decorateClass([
15184
+ Column98({ name: "invoice_url", type: "text", nullable: true })
15185
+ ], UserSubscriptionTransaction.prototype, "invoiceUrl", 2);
15142
15186
  __decorateClass([
15143
15187
  Column98({ name: "metadata", type: "jsonb", nullable: true, default: {} })
15144
15188
  ], UserSubscriptionTransaction.prototype, "metadata", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.701",
3
+ "version": "1.0.703",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",