@homespot-sdk/core 0.0.364 → 0.0.365

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.
@@ -629,6 +629,40 @@ export const UpdateContactDetailsRequestSchema = {
629
629
  },
630
630
  },
631
631
  };
632
+ export const ExternalListingManualSaveRequestSchema = {
633
+ type: 'object',
634
+ properties: {
635
+ listingId: {
636
+ type: 'integer',
637
+ format: 'int64',
638
+ },
639
+ platform: {
640
+ type: 'string',
641
+ description: 'Which portal the listing is on; needed for a bare number, and a link has to agree with it',
642
+ enum: ['SS', 'MY_HOME'],
643
+ },
644
+ portalListing: {
645
+ type: 'string',
646
+ description: "The listing's link on ss.ge or myhome.ge, or its number",
647
+ minLength: 1,
648
+ },
649
+ listedAt: {
650
+ type: 'string',
651
+ format: 'date',
652
+ },
653
+ renewedAt: {
654
+ type: 'string',
655
+ format: 'date',
656
+ description: 'When the agent last renewed it on the portal; today, to mark it renewed',
657
+ },
658
+ expiresAt: {
659
+ type: 'string',
660
+ format: 'date',
661
+ description: 'When the portal says it ends; left out, 30 days after renewedAt or else listedAt',
662
+ },
663
+ },
664
+ required: ['listingId', 'portalListing'],
665
+ };
632
666
  export const ReassignMemberRequestSchema = {
633
667
  type: 'object',
634
668
  properties: {
@@ -2347,19 +2381,6 @@ export const ExternalListingBoostRequestSchema = {
2347
2381
  },
2348
2382
  required: ['listingId', 'numberOfDays', 'platform', 'tier'],
2349
2383
  };
2350
- export const OnboardFromSourceRequestSchema = {
2351
- type: 'object',
2352
- properties: {
2353
- sourceLink: {
2354
- type: 'string',
2355
- },
2356
- phone: {
2357
- type: 'string',
2358
- minLength: 1,
2359
- },
2360
- },
2361
- required: ['phone', 'sourceLink'],
2362
- };
2363
2384
  export const CreateBoardRequestSchema = {
2364
2385
  type: 'object',
2365
2386
  properties: {
@@ -5548,6 +5569,7 @@ export const PlatformListingResponseSchema = {
5548
5569
  'EXPIRED',
5549
5570
  'WITHDRAWING',
5550
5571
  'WITHDRAWN',
5572
+ 'MANUAL',
5551
5573
  ],
5552
5574
  },
5553
5575
  listedAt: {
@@ -5571,6 +5593,10 @@ export const PlatformListingResponseSchema = {
5571
5593
  coloredListing: {
5572
5594
  $ref: '#/components/schemas/ColoredListingResponse',
5573
5595
  },
5596
+ url: {
5597
+ type: 'string',
5598
+ description: 'Opens the listing on the portal, once the portal gave it a number',
5599
+ },
5574
5600
  },
5575
5601
  required: ['platformType', 'status'],
5576
5602
  };
@@ -7016,12 +7042,10 @@ export const ListingGridResponseSchema = {
7016
7042
  },
7017
7043
  listingState: {
7018
7044
  type: 'string',
7019
- description: 'Whether the agency still works the listing; null for a property without one',
7020
7045
  enum: ['OPEN', 'CLOSED'],
7021
7046
  },
7022
7047
  marketplaceStatus: {
7023
7048
  type: 'string',
7024
- description: "The listing on HomeSpot's own marketplace; null for a property without one",
7025
7049
  enum: ['ACTIVE', 'PAUSED', 'EXPIRED'],
7026
7050
  },
7027
7051
  price: {
@@ -7042,7 +7066,6 @@ export const ListingGridResponseSchema = {
7042
7066
  },
7043
7067
  socialPosts: {
7044
7068
  type: 'array',
7045
- description: 'Where the listing is posted on Facebook / Instagram: the latest published post per channel',
7046
7069
  items: {
7047
7070
  $ref: '#/components/schemas/SocialPostLink',
7048
7071
  },
@@ -7099,7 +7122,6 @@ export const PlatformViewSchema = {
7099
7122
  },
7100
7123
  status: {
7101
7124
  type: 'string',
7102
- description: 'PENDING until the portal answers; SYNDICATED while live',
7103
7125
  enum: [
7104
7126
  'PENDING',
7105
7127
  'SYNDICATED',
@@ -7107,6 +7129,7 @@ export const PlatformViewSchema = {
7107
7129
  'EXPIRED',
7108
7130
  'WITHDRAWING',
7109
7131
  'WITHDRAWN',
7132
+ 'MANUAL',
7110
7133
  ],
7111
7134
  },
7112
7135
  expiresAt: {
@@ -7121,6 +7144,9 @@ export const PlatformViewSchema = {
7121
7144
  type: 'string',
7122
7145
  format: 'date',
7123
7146
  },
7147
+ url: {
7148
+ type: 'string',
7149
+ },
7124
7150
  },
7125
7151
  required: ['status'],
7126
7152
  };
@@ -7133,7 +7159,6 @@ export const SocialPostLinkSchema = {
7133
7159
  },
7134
7160
  permalink: {
7135
7161
  type: 'string',
7136
- description: 'Opens the post on Facebook / Instagram',
7137
7162
  },
7138
7163
  },
7139
7164
  required: ['channel', 'permalink'],
@@ -8571,4 +8596,18 @@ export const MemberCurationViewSchema = {
8571
8596
  },
8572
8597
  },
8573
8598
  };
8599
+ export const ExternalListingManualRemoveRequestSchema = {
8600
+ type: 'object',
8601
+ properties: {
8602
+ listingId: {
8603
+ type: 'integer',
8604
+ format: 'int64',
8605
+ },
8606
+ platform: {
8607
+ type: 'string',
8608
+ enum: ['SS', 'MY_HOME'],
8609
+ },
8610
+ },
8611
+ required: ['listingId', 'platform'],
8612
+ };
8574
8613
  //# sourceMappingURL=schemas.gen.js.map