@experts_hub/shared 1.0.702 → 1.0.704

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
  }
@@ -27,5 +27,8 @@ export declare class UserSubscriptionTransaction extends BaseEntity {
27
27
  stripeInvoiceId: string | null;
28
28
  description: string | null;
29
29
  invoiceUrl: string | null;
30
+ checkoutRequestPayload: Record<string, unknown> | null;
31
+ checkoutResponsePayload: Record<string, unknown> | null;
32
+ webhookPayload: Record<string, unknown> | null;
30
33
  metadata: Record<string, unknown> | null;
31
34
  }
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;
@@ -5123,6 +5129,9 @@ declare class UserSubscriptionTransaction extends BaseEntity {
5123
5129
  stripeInvoiceId: string | null;
5124
5130
  description: string | null;
5125
5131
  invoiceUrl: string | null;
5132
+ checkoutRequestPayload: Record<string, unknown> | null;
5133
+ checkoutResponsePayload: Record<string, unknown> | null;
5134
+ webhookPayload: Record<string, unknown> | null;
5126
5135
  metadata: Record<string, unknown> | null;
5127
5136
  }
5128
5137
 
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;
@@ -5123,6 +5129,9 @@ declare class UserSubscriptionTransaction extends BaseEntity {
5123
5129
  stripeInvoiceId: string | null;
5124
5130
  description: string | null;
5125
5131
  invoiceUrl: string | null;
5132
+ checkoutRequestPayload: Record<string, unknown> | null;
5133
+ checkoutResponsePayload: Record<string, unknown> | null;
5134
+ webhookPayload: Record<string, unknown> | null;
5126
5135
  metadata: Record<string, unknown> | null;
5127
5136
  }
5128
5137
 
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 {
@@ -14963,6 +15001,15 @@ __decorateClass([
14963
15001
  __decorateClass([
14964
15002
  (0, import_typeorm101.Column)({ name: "invoice_url", type: "text", nullable: true })
14965
15003
  ], UserSubscriptionTransaction.prototype, "invoiceUrl", 2);
15004
+ __decorateClass([
15005
+ (0, import_typeorm101.Column)({ name: "checkout_request_payload", type: "jsonb", nullable: true })
15006
+ ], UserSubscriptionTransaction.prototype, "checkoutRequestPayload", 2);
15007
+ __decorateClass([
15008
+ (0, import_typeorm101.Column)({ name: "checkout_response_payload", type: "jsonb", nullable: true })
15009
+ ], UserSubscriptionTransaction.prototype, "checkoutResponsePayload", 2);
15010
+ __decorateClass([
15011
+ (0, import_typeorm101.Column)({ name: "webhook_payload", type: "jsonb", nullable: true })
15012
+ ], UserSubscriptionTransaction.prototype, "webhookPayload", 2);
14966
15013
  __decorateClass([
14967
15014
  (0, import_typeorm101.Column)({ name: "metadata", type: "jsonb", nullable: true, default: {} })
14968
15015
  ], 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 {
@@ -15145,6 +15183,15 @@ __decorateClass([
15145
15183
  __decorateClass([
15146
15184
  Column98({ name: "invoice_url", type: "text", nullable: true })
15147
15185
  ], UserSubscriptionTransaction.prototype, "invoiceUrl", 2);
15186
+ __decorateClass([
15187
+ Column98({ name: "checkout_request_payload", type: "jsonb", nullable: true })
15188
+ ], UserSubscriptionTransaction.prototype, "checkoutRequestPayload", 2);
15189
+ __decorateClass([
15190
+ Column98({ name: "checkout_response_payload", type: "jsonb", nullable: true })
15191
+ ], UserSubscriptionTransaction.prototype, "checkoutResponsePayload", 2);
15192
+ __decorateClass([
15193
+ Column98({ name: "webhook_payload", type: "jsonb", nullable: true })
15194
+ ], UserSubscriptionTransaction.prototype, "webhookPayload", 2);
15148
15195
  __decorateClass([
15149
15196
  Column98({ name: "metadata", type: "jsonb", nullable: true, default: {} })
15150
15197
  ], UserSubscriptionTransaction.prototype, "metadata", 2);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@experts_hub/shared",
3
- "version": "1.0.702",
3
+ "version": "1.0.704",
4
4
  "description": "Shared DTOs, interfaces, and utilities for experts hub applications",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/",