@homespot-sdk/core 0.0.118 → 0.0.119

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.
@@ -13,16 +13,13 @@ export type BatchAssignRoleRequest = {
13
13
  roleId: number;
14
14
  memberIds: Array<string>;
15
15
  };
16
- export type ChangeStatusRequest = {
17
- status: SchemaEnum;
18
- };
19
- export type SourceRequest = {
16
+ export type RecordSourceRequest = {
20
17
  sourceUrl?: string;
21
18
  };
22
- export type UpdateNoteRequest = {
19
+ export type NoteRequest = {
23
20
  note?: string;
24
21
  };
25
- export type LeadIntentRequest = {
22
+ export type IntentRequest = {
26
23
  clientType: ClientTypeEnum;
27
24
  listingType: ListingTypeEnum;
28
25
  propertyType: PropertyTypeEnum;
@@ -48,11 +45,14 @@ export type ContactInfoRequest = {
48
45
  email?: string;
49
46
  phone: string;
50
47
  };
51
- export type AssignToMemberRequest = {
48
+ export type ReassignMemberRequest = {
52
49
  memberId: string;
53
50
  };
54
- export type ClientRequirementRequest = {
55
- propertyType: Array<PropertyTypeEnum>;
51
+ export type ReprioritizeClientRequest = {
52
+ priority?: PriorityEnum;
53
+ };
54
+ export type CaptureInterestRequest = {
55
+ propertyTypes: Array<PropertyTypeEnum>;
56
56
  listingType: ListingTypeEnum;
57
57
  priceMin?: number;
58
58
  priceMax?: number;
@@ -60,18 +60,15 @@ export type ClientRequirementRequest = {
60
60
  bedroomsMax?: number;
61
61
  bathroomsMin?: number;
62
62
  bathroomsMax?: number;
63
- totalMin?: number;
64
- totalMax?: number;
65
- livingMin?: number;
66
- livingMax?: number;
67
- targetLocation?: LocationRefRequest;
63
+ totalAreaMin?: number;
64
+ totalAreaMax?: number;
65
+ livingAreaMin?: number;
66
+ livingAreaMax?: number;
67
+ location?: LocationRefRequest;
68
68
  };
69
- export type UpdatePriorityRequest = {
70
- priority?: PriorityEnum;
71
- };
72
- export type UpdateContactMethodsRequest = {
69
+ export type UpdateContactPreferencesRequest = {
73
70
  contactMethods: Array<ItemsEnum2>;
74
- favoriteContactMethod: ItemsEnum2;
71
+ favoriteContactMethod?: ItemsEnum2;
75
72
  };
76
73
  export type AddressRequest = {
77
74
  country: string;
@@ -84,7 +81,7 @@ export type CreateAgencyRequest = {
84
81
  name: string;
85
82
  email: string;
86
83
  seats: number;
87
- subDomain: string;
84
+ subdomain: string;
88
85
  phone: string;
89
86
  address: AddressRequest;
90
87
  yearSince: number;
@@ -106,21 +103,25 @@ export type DepositFundsRequest = {
106
103
  export type IdResponseInteger = {
107
104
  id: number;
108
105
  };
109
- export type CreateLeadRequest = {
106
+ export type CaptureLeadRequest = {
110
107
  contactInfo: ContactInfoRequest;
111
108
  note?: string;
112
- sourceUrl?: string;
109
+ sourceLink?: string;
113
110
  };
114
- export type IdResponseLong = {
115
- id: number;
111
+ export type LeadId = {
112
+ value?: number;
113
+ };
114
+ export type RecordOutcomeRequest = {
115
+ outcome: OutcomeEnum;
116
+ reason?: string;
117
+ };
118
+ export type BulkRecruitmentRequest = {
119
+ emails: Array<RecruitmentRequest>;
116
120
  };
117
- export type InvitationDetailsRequest = {
121
+ export type RecruitmentRequest = {
118
122
  email: string;
119
123
  roleId: number;
120
124
  };
121
- export type InviteMemberRequest = {
122
- emails: Array<InvitationDetailsRequest>;
123
- };
124
125
  export type AuthRequest = {
125
126
  sub?: string;
126
127
  agencyId?: string;
@@ -131,12 +132,19 @@ export type AgencyPrincipalDto = {
131
132
  isActive?: boolean;
132
133
  isOwner?: boolean;
133
134
  };
134
- export type CreateClientRequest = {
135
+ export type OnboardClientRequest = {
135
136
  contactInfo: ContactInfoRequest;
136
137
  sourceUrl?: string;
137
138
  contactMethods: Array<ItemsEnum2>;
138
- favoriteContactMethod: ItemsEnum2;
139
+ favoriteContactMethod?: ItemsEnum2;
139
140
  priority?: PriorityEnum;
141
+ convertedFromLeadId?: number;
142
+ };
143
+ export type ClientId = {
144
+ value?: number;
145
+ };
146
+ export type InterestId = {
147
+ value?: number;
140
148
  };
141
149
  export type IdResponseUuid = {
142
150
  id: string;
@@ -163,12 +171,12 @@ export type OrganizationSummaryViewResponse = {
163
171
  agencyId: string;
164
172
  isOwner: boolean;
165
173
  agencyName: string;
166
- subDomain: string;
174
+ subdomain: string;
167
175
  roleId?: number;
168
176
  memberId: string;
169
177
  roleName: string;
170
178
  permissions: Array<ItemsEnum>;
171
- status: SchemaEnum2;
179
+ status: SchemaEnum;
172
180
  };
173
181
  export type UserContextViewResponse = {
174
182
  user: UserSummaryViewResponse;
@@ -195,6 +203,14 @@ export type RoleResponse = {
195
203
  description: string;
196
204
  permissions: Array<ItemsEnum>;
197
205
  };
206
+ export type GroupedPermissionsResponse = {
207
+ group: GroupEnum;
208
+ permissions: Array<PermissionResponse>;
209
+ };
210
+ export type PermissionResponse = {
211
+ permission: ItemsEnum;
212
+ implied: Array<ItemsEnum>;
213
+ };
198
214
  export type InvitationDetailsResponse = {
199
215
  invitationId: string;
200
216
  agencyId: string;
@@ -209,25 +225,17 @@ export type AgencySummaryResponse = {
209
225
  name: string;
210
226
  email: string;
211
227
  seats: string;
212
- subDomain: string;
228
+ subdomain: string;
213
229
  phone: string;
214
230
  website?: string;
215
- yearSince: string;
216
- status: SchemaEnum2;
231
+ establishedYear: string;
232
+ status: SchemaEnum;
217
233
  logo?: string;
218
234
  };
219
235
  export type PagedModelAgencySummaryResponse = {
220
236
  content?: Array<AgencySummaryResponse>;
221
237
  page?: PageMetadata;
222
238
  };
223
- export type GroupedPermissionsResponse = {
224
- group: GroupEnum;
225
- permissions: Array<PermissionResponse>;
226
- };
227
- export type PermissionResponse = {
228
- permission: ItemsEnum;
229
- implied: Array<ItemsEnum>;
230
- };
231
239
  export type MemberViewResponse = {
232
240
  userId: string;
233
241
  firstName: string;
@@ -256,11 +264,11 @@ export type IntentResponse = {
256
264
  area?: number;
257
265
  numberOfRooms?: number;
258
266
  };
259
- export type LeadProjectionResponse = {
267
+ export type LeadGridResponse = {
260
268
  id: number;
261
269
  createdBy: string;
262
270
  assignedTo?: string;
263
- status: SchemaEnum;
271
+ status: SchemaEnum2;
264
272
  contactFullName?: string;
265
273
  contactGender?: GenderEnum;
266
274
  contactPhoneNumber: string;
@@ -272,8 +280,8 @@ export type LeadProjectionResponse = {
272
280
  isListing: boolean;
273
281
  intents?: Array<IntentResponse>;
274
282
  };
275
- export type PagedModelLeadProjectionResponse = {
276
- content?: Array<LeadProjectionResponse>;
283
+ export type PagedModelLeadGridResponse = {
284
+ content?: Array<LeadGridResponse>;
277
285
  page?: PageMetadata;
278
286
  };
279
287
  export type InvitationViewResponse = {
@@ -289,7 +297,7 @@ export type PagedModelInvitationViewResponse = {
289
297
  content?: Array<InvitationViewResponse>;
290
298
  page?: PageMetadata;
291
299
  };
292
- export type ClientProjectionResponse = {
300
+ export type ClientGridResponse = {
293
301
  id: number;
294
302
  createdBy: string;
295
303
  leadId?: number;
@@ -305,36 +313,11 @@ export type ClientProjectionResponse = {
305
313
  contactMethods: Array<ItemsEnum2>;
306
314
  favoriteContactMethod?: ItemsEnum2;
307
315
  priority?: PriorityEnum;
308
- requirements?: Array<RequirementResponse>;
309
- properties?: Array<PropertyResponse>;
310
316
  };
311
- export type PagedModelClientProjectionResponse = {
312
- content?: Array<ClientProjectionResponse>;
317
+ export type PagedModelClientGridResponse = {
318
+ content?: Array<ClientGridResponse>;
313
319
  page?: PageMetadata;
314
320
  };
315
- export type PropertyResponse = {
316
- propertyId: string;
317
- propertyType: PropertyTypeEnum;
318
- };
319
- export type RequirementResponse = {
320
- id: number;
321
- propertyType: Array<PropertyTypeEnum>;
322
- listingType: ListingTypeEnum;
323
- priceMin?: number;
324
- priceMax?: number;
325
- bedroomsMin?: number;
326
- bedroomsMax?: number;
327
- bathroomsMin?: number;
328
- bathroomsMax?: number;
329
- totalMin?: number;
330
- totalMax?: number;
331
- livingMin?: number;
332
- livingMax?: number;
333
- regionId?: number;
334
- districtId?: number;
335
- subDistrictId?: number;
336
- streetId?: number;
337
- };
338
321
  export type AddressViewResponse = {
339
322
  country: string;
340
323
  city: string;
@@ -346,14 +329,14 @@ export type AgencyProfileResponse = {
346
329
  name: string;
347
330
  email: string;
348
331
  seats: number;
349
- subDomain: string;
332
+ subdomain: string;
350
333
  phone: string;
351
334
  address: AddressViewResponse;
352
- yearSince: number;
335
+ establishedYear: number;
353
336
  };
354
- export type SchemaEnum = 'NEW' | 'ATTEMPTED_CONTACT' | 'CONTACTED' | 'DISQUALIFIED' | 'CONVERTED' | 'LOST';
355
- export type SchemaEnum2 = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
356
- export type ItemsEnum = 'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'LEAD_READ' | 'LEAD_WRITE' | 'LEAD_READ_ALL' | 'LEAD_WRITE_ALL';
337
+ export type SchemaEnum = 'NEW' | 'ACTIVE' | 'PAYMENT_FAILED' | 'INACTIVE';
338
+ export type SchemaEnum2 = 'NEW' | 'ATTEMPTED_CONTACT' | 'CONTACTED' | 'DISQUALIFIED' | 'CONVERTED' | 'LOST';
339
+ export type ItemsEnum = 'AGENCY_WRITE' | 'INVITATION_READ' | 'INVITATION_WRITE' | 'ROLE_READ' | 'ROLE_WRITE' | 'MEMBER_READ' | 'MEMBER_WRITE' | 'LEAD_READ' | 'LEAD_WRITE' | 'LEAD_READ_ALL' | 'LEAD_WRITE_ALL' | 'CLIENT_READ' | 'CLIENT_WRITE' | 'CLIENT_READ_ALL' | 'CLIENT_WRITE_ALL' | 'PROPERTY_READ_ALL';
357
340
  export type ClientTypeEnum = 'LISTING' | 'SEEKING';
358
341
  export type ListingTypeEnum = 'SALE' | 'RENT' | 'DAILY_RENT' | 'PLEDGE';
359
342
  export type PropertyTypeEnum = 'HOUSE' | 'TOWN_HOUSE' | 'COUNTRY_HOUSE' | 'VILLA' | 'COTTAGE' | 'APARTMENT' | 'DUPLEX' | 'TRIPLEX' | 'SEMI_BASEMENT' | 'ATTIC' | 'AGRICULTURAL_LAND' | 'RESIDENTIAL_LAND' | 'HOTEL_ROOM' | 'MOTEL_ROOM' | 'CO_LIVING_SPACE' | 'OFFICE' | 'COMMERCIAL_SPACE' | 'CO_WORKING_SPACE' | 'WAREHOUSE' | 'GARAGE';
@@ -361,9 +344,10 @@ export type GenderEnum = 'MALE' | 'FEMALE' | 'UNKNOWN';
361
344
  export type PriorityEnum = 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
362
345
  export type ItemsEnum2 = 'WHATSAPP' | 'VIBER' | 'PHONE_CALL';
363
346
  export type TypeEnum = 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN';
347
+ export type OutcomeEnum = 'CONVERTED' | 'LOST' | 'DISQUALIFIED';
364
348
  export type TypeEnum2 = 'JPEG' | 'JPG' | 'PNG' | 'WEBP';
349
+ export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD' | 'CLIENT' | 'PROPERTY';
365
350
  export type StatusEnum = 'PENDING' | 'ACCEPTED' | 'CANCELLED' | 'EXPIRED';
366
- export type GroupEnum = 'AGENCY' | 'INVITATION' | 'ROLE' | 'MEMBER' | 'LEAD';
367
351
  export type SourceTypeEnum = 'MY_HOME' | 'SS' | 'FACEBOOK' | 'YOUTUBE' | 'INSTAGRAM' | 'TIKTOK' | 'LINKEDIN' | 'UNKNOWN';
368
352
  export type RemoveRoleData = {
369
353
  body?: never;
@@ -423,254 +407,189 @@ export type AssignRoleBatchResponses = {
423
407
  204: void;
424
408
  };
425
409
  export type AssignRoleBatchResponse = AssignRoleBatchResponses[keyof AssignRoleBatchResponses];
426
- export type ChangeStatusData = {
427
- body: ChangeStatusRequest;
410
+ export type RecordSourceData = {
411
+ body: RecordSourceRequest;
428
412
  path: {
429
413
  leadId: number;
430
414
  };
431
415
  query?: never;
432
- url: '/lead/{leadId}/status';
416
+ url: '/leads/{leadId}/source';
433
417
  };
434
- export type ChangeStatusResponses = {
418
+ export type RecordSourceResponses = {
435
419
  /**
436
420
  * No Content
437
421
  */
438
422
  204: void;
439
423
  };
440
- export type ChangeStatusResponse = ChangeStatusResponses[keyof ChangeStatusResponses];
441
- export type UpdateSourceData = {
442
- body: SourceRequest;
424
+ export type RecordSourceResponse = RecordSourceResponses[keyof RecordSourceResponses];
425
+ export type AnnotateData = {
426
+ body: NoteRequest;
443
427
  path: {
444
428
  leadId: number;
445
429
  };
446
430
  query?: never;
447
- url: '/lead/{leadId}/source';
431
+ url: '/leads/{leadId}/note';
448
432
  };
449
- export type UpdateSourceResponses = {
433
+ export type AnnotateResponses = {
450
434
  /**
451
435
  * No Content
452
436
  */
453
437
  204: void;
454
438
  };
455
- export type UpdateSourceResponse = UpdateSourceResponses[keyof UpdateSourceResponses];
456
- export type UpdateNoteData = {
457
- body: UpdateNoteRequest;
458
- path: {
459
- leadId: number;
460
- };
461
- query?: never;
462
- url: '/lead/{leadId}/note';
463
- };
464
- export type UpdateNoteResponses = {
465
- /**
466
- * No Content
467
- */
468
- 204: void;
469
- };
470
- export type UpdateNoteResponse = UpdateNoteResponses[keyof UpdateNoteResponses];
471
- export type RemoveIntentData = {
439
+ export type AnnotateResponse = AnnotateResponses[keyof AnnotateResponses];
440
+ export type WithdrawData = {
472
441
  body?: never;
473
442
  path: {
474
443
  leadId: number;
475
- };
476
- query: {
477
444
  intentId: number;
478
445
  };
479
- url: '/lead/{leadId}/intent';
480
- };
481
- export type RemoveIntentResponses = {
482
- /**
483
- * No Content
484
- */
485
- 204: void;
486
- };
487
- export type RemoveIntentResponse = RemoveIntentResponses[keyof RemoveIntentResponses];
488
- export type AddIntentData = {
489
- body: LeadIntentRequest;
490
- path: {
491
- leadId: number;
492
- };
493
446
  query?: never;
494
- url: '/lead/{leadId}/intent';
447
+ url: '/leads/{leadId}/intents/{intentId}';
495
448
  };
496
- export type AddIntentResponses = {
449
+ export type WithdrawResponses = {
497
450
  /**
498
451
  * No Content
499
452
  */
500
453
  204: void;
501
454
  };
502
- export type AddIntentResponse = AddIntentResponses[keyof AddIntentResponses];
503
- export type UpdateIntentData = {
504
- body: LeadIntentRequest;
455
+ export type WithdrawResponse = WithdrawResponses[keyof WithdrawResponses];
456
+ export type ReviseData = {
457
+ body: IntentRequest;
505
458
  path: {
506
459
  leadId: number;
507
- };
508
- query: {
509
460
  intentId: number;
510
461
  };
511
- url: '/lead/{leadId}/intent';
462
+ query?: never;
463
+ url: '/leads/{leadId}/intents/{intentId}';
512
464
  };
513
- export type UpdateIntentResponses = {
465
+ export type ReviseResponses = {
514
466
  /**
515
467
  * No Content
516
468
  */
517
469
  204: void;
518
470
  };
519
- export type UpdateIntentResponse = UpdateIntentResponses[keyof UpdateIntentResponses];
520
- export type UpdateContactInfoData = {
471
+ export type ReviseResponse = ReviseResponses[keyof ReviseResponses];
472
+ export type CorrectContactInfoData = {
521
473
  body: ContactInfoRequest;
522
474
  path: {
523
475
  leadId: number;
524
476
  };
525
477
  query?: never;
526
- url: '/lead/{leadId}/contact-info';
478
+ url: '/leads/{leadId}/contact-info';
527
479
  };
528
- export type UpdateContactInfoResponses = {
480
+ export type CorrectContactInfoResponses = {
529
481
  /**
530
482
  * No Content
531
483
  */
532
484
  204: void;
533
485
  };
534
- export type UpdateContactInfoResponse = UpdateContactInfoResponses[keyof UpdateContactInfoResponses];
535
- export type AssignToAgentData = {
536
- body: AssignToMemberRequest;
486
+ export type CorrectContactInfoResponse = CorrectContactInfoResponses[keyof CorrectContactInfoResponses];
487
+ export type ReassignData = {
488
+ body: ReassignMemberRequest;
537
489
  path: {
538
490
  leadId: number;
539
491
  };
540
492
  query?: never;
541
- url: '/lead/{leadId}/assign';
493
+ url: '/leads/{leadId}/assignment';
542
494
  };
543
- export type AssignToAgentResponses = {
495
+ export type ReassignResponses = {
544
496
  /**
545
497
  * No Content
546
498
  */
547
499
  204: void;
548
500
  };
549
- export type AssignToAgentResponse = AssignToAgentResponses[keyof AssignToAgentResponses];
550
- export type UpdateSource1Data = {
551
- body: SourceRequest;
501
+ export type ReassignResponse = ReassignResponses[keyof ReassignResponses];
502
+ export type RecordSource1Data = {
503
+ body: RecordSourceRequest;
552
504
  path: {
553
505
  clientId: number;
554
506
  };
555
507
  query?: never;
556
- url: '/client/{clientId}/source';
508
+ url: '/clients/{clientId}/source';
557
509
  };
558
- export type UpdateSource1Responses = {
510
+ export type RecordSource1Responses = {
559
511
  /**
560
512
  * No Content
561
513
  */
562
514
  204: void;
563
515
  };
564
- export type UpdateSource1Response = UpdateSource1Responses[keyof UpdateSource1Responses];
565
- export type RemoveClientRequirementData = {
566
- body?: never;
567
- path: {
568
- clientId: number;
569
- };
570
- query: {
571
- requirementId: number;
572
- };
573
- url: '/client/{clientId}/requirement';
574
- };
575
- export type RemoveClientRequirementResponses = {
576
- /**
577
- * No Content
578
- */
579
- 204: void;
580
- };
581
- export type RemoveClientRequirementResponse = RemoveClientRequirementResponses[keyof RemoveClientRequirementResponses];
582
- export type AddClientRequirementData = {
583
- body: ClientRequirementRequest;
516
+ export type RecordSource1Response = RecordSource1Responses[keyof RecordSource1Responses];
517
+ export type ReprioritizeData = {
518
+ body: ReprioritizeClientRequest;
584
519
  path: {
585
520
  clientId: number;
586
521
  };
587
522
  query?: never;
588
- url: '/client/{clientId}/requirement';
523
+ url: '/clients/{clientId}/priority';
589
524
  };
590
- export type AddClientRequirementResponses = {
525
+ export type ReprioritizeResponses = {
591
526
  /**
592
527
  * No Content
593
528
  */
594
529
  204: void;
595
530
  };
596
- export type AddClientRequirementResponse = AddClientRequirementResponses[keyof AddClientRequirementResponses];
597
- export type UpdateClientRequirementData = {
598
- body: ClientRequirementRequest;
599
- path: {
600
- clientId: number;
601
- };
602
- query: {
603
- requirementId: number;
604
- };
605
- url: '/client/{clientId}/requirement';
606
- };
607
- export type UpdateClientRequirementResponses = {
608
- /**
609
- * No Content
610
- */
611
- 204: void;
612
- };
613
- export type UpdateClientRequirementResponse = UpdateClientRequirementResponses[keyof UpdateClientRequirementResponses];
614
- export type UpdatePriorityData = {
615
- body: UpdatePriorityRequest;
531
+ export type ReprioritizeResponse = ReprioritizeResponses[keyof ReprioritizeResponses];
532
+ export type ReviseCriteriaData = {
533
+ body: CaptureInterestRequest;
616
534
  path: {
617
535
  clientId: number;
536
+ interestId: number;
618
537
  };
619
538
  query?: never;
620
- url: '/client/{clientId}/priority';
539
+ url: '/clients/{clientId}/interests/{interestId}';
621
540
  };
622
- export type UpdatePriorityResponses = {
541
+ export type ReviseCriteriaResponses = {
623
542
  /**
624
543
  * No Content
625
544
  */
626
545
  204: void;
627
546
  };
628
- export type UpdatePriorityResponse = UpdatePriorityResponses[keyof UpdatePriorityResponses];
629
- export type UpdateContactMethodsData = {
630
- body: UpdateContactMethodsRequest;
547
+ export type ReviseCriteriaResponse = ReviseCriteriaResponses[keyof ReviseCriteriaResponses];
548
+ export type UpdateContactPreferencesData = {
549
+ body: UpdateContactPreferencesRequest;
631
550
  path: {
632
551
  clientId: number;
633
552
  };
634
553
  query?: never;
635
- url: '/client/{clientId}/contact-methods';
554
+ url: '/clients/{clientId}/contact-preferences';
636
555
  };
637
- export type UpdateContactMethodsResponses = {
556
+ export type UpdateContactPreferencesResponses = {
638
557
  /**
639
558
  * No Content
640
559
  */
641
560
  204: void;
642
561
  };
643
- export type UpdateContactMethodsResponse = UpdateContactMethodsResponses[keyof UpdateContactMethodsResponses];
644
- export type UpdateContactInfo1Data = {
562
+ export type UpdateContactPreferencesResponse = UpdateContactPreferencesResponses[keyof UpdateContactPreferencesResponses];
563
+ export type CorrectContactInfo1Data = {
645
564
  body: ContactInfoRequest;
646
565
  path: {
647
566
  clientId: number;
648
567
  };
649
568
  query?: never;
650
- url: '/client/{clientId}/contact-info';
569
+ url: '/clients/{clientId}/contact-info';
651
570
  };
652
- export type UpdateContactInfo1Responses = {
571
+ export type CorrectContactInfo1Responses = {
653
572
  /**
654
573
  * No Content
655
574
  */
656
575
  204: void;
657
576
  };
658
- export type UpdateContactInfo1Response = UpdateContactInfo1Responses[keyof UpdateContactInfo1Responses];
659
- export type AssignToAgent1Data = {
660
- body: AssignToMemberRequest;
577
+ export type CorrectContactInfo1Response = CorrectContactInfo1Responses[keyof CorrectContactInfo1Responses];
578
+ export type Reassign1Data = {
579
+ body: ReassignMemberRequest;
661
580
  path: {
662
581
  clientId: number;
663
582
  };
664
583
  query?: never;
665
- url: '/client/{clientId}/assign';
584
+ url: '/clients/{clientId}/assignment';
666
585
  };
667
- export type AssignToAgent1Responses = {
586
+ export type Reassign1Responses = {
668
587
  /**
669
588
  * No Content
670
589
  */
671
590
  204: void;
672
591
  };
673
- export type AssignToAgent1Response = AssignToAgent1Responses[keyof AssignToAgent1Responses];
592
+ export type Reassign1Response = Reassign1Responses[keyof Reassign1Responses];
674
593
  export type CorrectRegistrationDetailsData = {
675
594
  body: CreateAgencyRequest;
676
595
  path: {
@@ -779,48 +698,78 @@ export type CreateRoleResponses = {
779
698
  201: IdResponseInteger;
780
699
  };
781
700
  export type CreateRoleResponse = CreateRoleResponses[keyof CreateRoleResponses];
782
- export type SearchLeadsData = {
783
- body?: never;
701
+ export type CaptureData = {
702
+ body: CaptureLeadRequest;
784
703
  path?: never;
785
- query?: {
786
- status?: SchemaEnum;
787
- isSearching?: boolean;
788
- isListing?: boolean;
789
- /**
790
- * Zero-based page index (0..N)
791
- */
792
- page?: number;
793
- /**
794
- * The size of the page to be returned
795
- */
796
- size?: number;
797
- /**
798
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
799
- */
800
- sort?: Array<string>;
704
+ query?: never;
705
+ url: '/leads';
706
+ };
707
+ export type CaptureResponses = {
708
+ /**
709
+ * Created
710
+ */
711
+ 201: LeadId;
712
+ };
713
+ export type CaptureResponse = CaptureResponses[keyof CaptureResponses];
714
+ export type RecordOutcomeData = {
715
+ body: RecordOutcomeRequest;
716
+ path: {
717
+ leadId: number;
801
718
  };
802
- url: '/lead';
719
+ query?: never;
720
+ url: '/leads/{leadId}/outcome';
803
721
  };
804
- export type SearchLeadsResponses = {
722
+ export type RecordOutcomeResponses = {
805
723
  /**
806
- * OK
724
+ * No Content
807
725
  */
808
- 200: PagedModelLeadProjectionResponse;
726
+ 204: void;
809
727
  };
810
- export type SearchLeadsResponse = SearchLeadsResponses[keyof SearchLeadsResponses];
811
- export type CreateLeadData = {
812
- body: CreateLeadRequest;
813
- path?: never;
728
+ export type RecordOutcomeResponse = RecordOutcomeResponses[keyof RecordOutcomeResponses];
729
+ export type ExpressData = {
730
+ body: IntentRequest;
731
+ path: {
732
+ leadId: number;
733
+ };
814
734
  query?: never;
815
- url: '/lead';
735
+ url: '/leads/{leadId}/intents';
816
736
  };
817
- export type CreateLeadResponses = {
737
+ export type ExpressResponses = {
818
738
  /**
819
739
  * Created
820
740
  */
821
- 201: IdResponseLong;
741
+ 201: unknown;
742
+ };
743
+ export type MarkContactedData = {
744
+ body?: never;
745
+ path: {
746
+ leadId: number;
747
+ };
748
+ query?: never;
749
+ url: '/leads/{leadId}/contacted';
822
750
  };
823
- export type CreateLeadResponse = CreateLeadResponses[keyof CreateLeadResponses];
751
+ export type MarkContactedResponses = {
752
+ /**
753
+ * No Content
754
+ */
755
+ 204: void;
756
+ };
757
+ export type MarkContactedResponse = MarkContactedResponses[keyof MarkContactedResponses];
758
+ export type LogContactAttemptData = {
759
+ body?: never;
760
+ path: {
761
+ leadId: number;
762
+ };
763
+ query?: never;
764
+ url: '/leads/{leadId}/contact-attempts';
765
+ };
766
+ export type LogContactAttemptResponses = {
767
+ /**
768
+ * No Content
769
+ */
770
+ 204: void;
771
+ };
772
+ export type LogContactAttemptResponse = LogContactAttemptResponses[keyof LogContactAttemptResponses];
824
773
  export type GetSentInvitationsData = {
825
774
  body?: never;
826
775
  path?: never;
@@ -848,7 +797,7 @@ export type GetSentInvitationsResponses = {
848
797
  };
849
798
  export type GetSentInvitationsResponse = GetSentInvitationsResponses[keyof GetSentInvitationsResponses];
850
799
  export type SendInvitationData = {
851
- body: InviteMemberRequest;
800
+ body: BulkRecruitmentRequest;
852
801
  path?: never;
853
802
  query?: never;
854
803
  url: '/invitation';
@@ -888,47 +837,66 @@ export type RequestPrincipleResponses = {
888
837
  200: AgencyPrincipalDto;
889
838
  };
890
839
  export type RequestPrincipleResponse = RequestPrincipleResponses[keyof RequestPrincipleResponses];
891
- export type SearchClientsData = {
892
- body?: never;
840
+ export type OnboardData = {
841
+ body: OnboardClientRequest;
893
842
  path?: never;
894
- query?: {
895
- isSearching?: boolean;
896
- isListing?: boolean;
897
- /**
898
- * Zero-based page index (0..N)
899
- */
900
- page?: number;
901
- /**
902
- * The size of the page to be returned
903
- */
904
- size?: number;
905
- /**
906
- * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
907
- */
908
- sort?: Array<string>;
909
- };
910
- url: '/client';
843
+ query?: never;
844
+ url: '/clients';
911
845
  };
912
- export type SearchClientsResponses = {
846
+ export type OnboardResponses = {
913
847
  /**
914
- * OK
848
+ * Created
915
849
  */
916
- 200: PagedModelClientProjectionResponse;
850
+ 201: ClientId;
917
851
  };
918
- export type SearchClientsResponse = SearchClientsResponses[keyof SearchClientsResponses];
919
- export type CreateClientData = {
920
- body: CreateClientRequest;
921
- path?: never;
852
+ export type OnboardResponse = OnboardResponses[keyof OnboardResponses];
853
+ export type CreateData = {
854
+ body: CaptureInterestRequest;
855
+ path: {
856
+ clientId: number;
857
+ };
922
858
  query?: never;
923
- url: '/client';
859
+ url: '/clients/{clientId}/interests';
924
860
  };
925
- export type CreateClientResponses = {
861
+ export type CreateResponses = {
926
862
  /**
927
863
  * Created
928
864
  */
929
- 201: IdResponseLong;
865
+ 201: InterestId;
866
+ };
867
+ export type CreateResponse = CreateResponses[keyof CreateResponses];
868
+ export type FulfillData = {
869
+ body?: never;
870
+ path: {
871
+ clientId: number;
872
+ interestId: number;
873
+ };
874
+ query?: never;
875
+ url: '/clients/{clientId}/interests/{interestId}/fulfilled';
876
+ };
877
+ export type FulfillResponses = {
878
+ /**
879
+ * No Content
880
+ */
881
+ 204: void;
882
+ };
883
+ export type FulfillResponse = FulfillResponses[keyof FulfillResponses];
884
+ export type CancelData = {
885
+ body?: never;
886
+ path: {
887
+ clientId: number;
888
+ interestId: number;
889
+ };
890
+ query?: never;
891
+ url: '/clients/{clientId}/interests/{interestId}/cancelled';
892
+ };
893
+ export type CancelResponses = {
894
+ /**
895
+ * No Content
896
+ */
897
+ 204: void;
930
898
  };
931
- export type CreateClientResponse = CreateClientResponses[keyof CreateClientResponses];
899
+ export type CancelResponse = CancelResponses[keyof CancelResponses];
932
900
  export type CreateAgencyData = {
933
901
  body: CreateAgencyRequest;
934
902
  path?: never;
@@ -994,6 +962,19 @@ export type GetMeResponses = {
994
962
  200: UserContextViewResponse;
995
963
  };
996
964
  export type GetMeResponse = GetMeResponses[keyof GetMeResponses];
965
+ export type GetPermissionCatalogData = {
966
+ body?: never;
967
+ path?: never;
968
+ query?: never;
969
+ url: '/public/permissions';
970
+ };
971
+ export type GetPermissionCatalogResponses = {
972
+ /**
973
+ * OK
974
+ */
975
+ 200: Array<GroupedPermissionsResponse>;
976
+ };
977
+ export type GetPermissionCatalogResponse = GetPermissionCatalogResponses[keyof GetPermissionCatalogResponses];
997
978
  export type GetInvitationDetailsData = {
998
979
  body?: never;
999
980
  path: {
@@ -1015,7 +996,7 @@ export type GetAllAgenciesData = {
1015
996
  body?: never;
1016
997
  path?: never;
1017
998
  query?: {
1018
- status?: SchemaEnum2;
999
+ status?: SchemaEnum;
1019
1000
  /**
1020
1001
  * Zero-based page index (0..N)
1021
1002
  */
@@ -1053,24 +1034,40 @@ export type GetAgencyBySubdomainResponses = {
1053
1034
  200: AgencySummaryResponse;
1054
1035
  };
1055
1036
  export type GetAgencyBySubdomainResponse = GetAgencyBySubdomainResponses[keyof GetAgencyBySubdomainResponses];
1056
- export type ListPermissionCatalogData = {
1037
+ export type GetAllMembersData = {
1057
1038
  body?: never;
1058
1039
  path?: never;
1059
- query?: never;
1060
- url: '/public/agency/roles/permissions';
1040
+ query?: {
1041
+ roleId?: number;
1042
+ /**
1043
+ * Zero-based page index (0..N)
1044
+ */
1045
+ page?: number;
1046
+ /**
1047
+ * The size of the page to be returned
1048
+ */
1049
+ size?: number;
1050
+ /**
1051
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
1052
+ */
1053
+ sort?: Array<string>;
1054
+ };
1055
+ url: '/member';
1061
1056
  };
1062
- export type ListPermissionCatalogResponses = {
1057
+ export type GetAllMembersResponses = {
1063
1058
  /**
1064
1059
  * OK
1065
1060
  */
1066
- 200: Array<GroupedPermissionsResponse>;
1061
+ 200: PagedModelMemberViewResponse;
1067
1062
  };
1068
- export type ListPermissionCatalogResponse = ListPermissionCatalogResponses[keyof ListPermissionCatalogResponses];
1069
- export type GetAllMembersData = {
1063
+ export type GetAllMembersResponse = GetAllMembersResponses[keyof GetAllMembersResponses];
1064
+ export type SearchData = {
1070
1065
  body?: never;
1071
1066
  path?: never;
1072
1067
  query?: {
1073
- roleId?: number;
1068
+ status?: SchemaEnum2;
1069
+ isSearching?: boolean;
1070
+ isListing?: boolean;
1074
1071
  /**
1075
1072
  * Zero-based page index (0..N)
1076
1073
  */
@@ -1084,16 +1081,16 @@ export type GetAllMembersData = {
1084
1081
  */
1085
1082
  sort?: Array<string>;
1086
1083
  };
1087
- url: '/member';
1084
+ url: '/lead';
1088
1085
  };
1089
- export type GetAllMembersResponses = {
1086
+ export type SearchResponses = {
1090
1087
  /**
1091
1088
  * OK
1092
1089
  */
1093
- 200: PagedModelMemberViewResponse;
1090
+ 200: PagedModelLeadGridResponse;
1094
1091
  };
1095
- export type GetAllMembersResponse = GetAllMembersResponses[keyof GetAllMembersResponses];
1096
- export type GetLeadByIdData = {
1092
+ export type SearchResponse = SearchResponses[keyof SearchResponses];
1093
+ export type GetByIdData = {
1097
1094
  body?: never;
1098
1095
  path: {
1099
1096
  leadId: number;
@@ -1101,18 +1098,18 @@ export type GetLeadByIdData = {
1101
1098
  query?: never;
1102
1099
  url: '/lead/{leadId}';
1103
1100
  };
1104
- export type GetLeadByIdResponses = {
1101
+ export type GetByIdResponses = {
1105
1102
  /**
1106
1103
  * OK
1107
1104
  */
1108
- 200: LeadProjectionResponse;
1105
+ 200: LeadGridResponse;
1109
1106
  };
1110
- export type GetLeadByIdResponse = GetLeadByIdResponses[keyof GetLeadByIdResponses];
1111
- export type SearchMyLeadsData = {
1107
+ export type GetByIdResponse = GetByIdResponses[keyof GetByIdResponses];
1108
+ export type SearchMineData = {
1112
1109
  body?: never;
1113
1110
  path?: never;
1114
1111
  query?: {
1115
- status?: SchemaEnum;
1112
+ status?: SchemaEnum2;
1116
1113
  isSearching?: boolean;
1117
1114
  isListing?: boolean;
1118
1115
  /**
@@ -1128,15 +1125,43 @@ export type SearchMyLeadsData = {
1128
1125
  */
1129
1126
  sort?: Array<string>;
1130
1127
  };
1131
- url: '/lead/my';
1128
+ url: '/lead/mine';
1132
1129
  };
1133
- export type SearchMyLeadsResponses = {
1130
+ export type SearchMineResponses = {
1134
1131
  /**
1135
1132
  * OK
1136
1133
  */
1137
- 200: PagedModelLeadProjectionResponse;
1134
+ 200: PagedModelLeadGridResponse;
1138
1135
  };
1139
- export type SearchMyLeadsResponse = SearchMyLeadsResponses[keyof SearchMyLeadsResponses];
1136
+ export type SearchMineResponse = SearchMineResponses[keyof SearchMineResponses];
1137
+ export type SearchClientsData = {
1138
+ body?: never;
1139
+ path?: never;
1140
+ query?: {
1141
+ isSearching?: boolean;
1142
+ isListing?: boolean;
1143
+ /**
1144
+ * Zero-based page index (0..N)
1145
+ */
1146
+ page?: number;
1147
+ /**
1148
+ * The size of the page to be returned
1149
+ */
1150
+ size?: number;
1151
+ /**
1152
+ * Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.
1153
+ */
1154
+ sort?: Array<string>;
1155
+ };
1156
+ url: '/client';
1157
+ };
1158
+ export type SearchClientsResponses = {
1159
+ /**
1160
+ * OK
1161
+ */
1162
+ 200: PagedModelClientGridResponse;
1163
+ };
1164
+ export type SearchClientsResponse = SearchClientsResponses[keyof SearchClientsResponses];
1140
1165
  export type GetClientByIdData = {
1141
1166
  body?: never;
1142
1167
  path: {
@@ -1149,7 +1174,7 @@ export type GetClientByIdResponses = {
1149
1174
  /**
1150
1175
  * OK
1151
1176
  */
1152
- 200: ClientProjectionResponse;
1177
+ 200: ClientGridResponse;
1153
1178
  };
1154
1179
  export type GetClientByIdResponse = GetClientByIdResponses[keyof GetClientByIdResponses];
1155
1180
  export type SearchMyClientsData = {
@@ -1177,7 +1202,7 @@ export type SearchMyClientsResponses = {
1177
1202
  /**
1178
1203
  * OK
1179
1204
  */
1180
- 200: PagedModelClientProjectionResponse;
1205
+ 200: PagedModelClientGridResponse;
1181
1206
  };
1182
1207
  export type SearchMyClientsResponse = SearchMyClientsResponses[keyof SearchMyClientsResponses];
1183
1208
  export type GetAgencyData = {
@@ -1195,4 +1220,19 @@ export type GetAgencyResponses = {
1195
1220
  200: AgencyProfileResponse;
1196
1221
  };
1197
1222
  export type GetAgencyResponse = GetAgencyResponses[keyof GetAgencyResponses];
1223
+ export type RemoveMemberData = {
1224
+ body?: never;
1225
+ path: {
1226
+ memberId: string;
1227
+ };
1228
+ query?: never;
1229
+ url: '/member/{memberId}';
1230
+ };
1231
+ export type RemoveMemberResponses = {
1232
+ /**
1233
+ * No Content
1234
+ */
1235
+ 204: void;
1236
+ };
1237
+ export type RemoveMemberResponse = RemoveMemberResponses[keyof RemoveMemberResponses];
1198
1238
  //# sourceMappingURL=types.gen.d.ts.map