File tree Expand file tree Collapse file tree 8 files changed +18
-18
lines changed
keys-portal/src/services/api/core/generated
property-tree/src/services/api/core
services/leasing/src/services/lease-service/routes Expand file tree Collapse file tree 8 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export interface paths {
157157 } ;
158158 "security" : {
159159 } ;
160- "/contacts/send-bulk-sms " : {
160+ "/sendBulkSms " : {
161161 /**
162162 * Send SMS to multiple contacts
163163 * @description Send SMS messages to multiple phone numbers
@@ -193,7 +193,7 @@ export interface paths {
193193 } ;
194194 } ;
195195 } ;
196- "/contacts/send-bulk-email " : {
196+ "/sendBulkEmail " : {
197197 /**
198198 * Send email to multiple contacts
199199 * @description Send email messages to multiple email addresses
@@ -405,7 +405,7 @@ export interface paths {
405405 } ;
406406 } ;
407407 } ;
408- "/leases/ contacts-by-filters " : {
408+ "/contacts/from-lease-search " : {
409409 /**
410410 * Get contacts matching lease search filters
411411 * @description Retrieves contact information for tenants matching the given lease search filters.
Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export interface paths {
157157 } ;
158158 "security" : {
159159 } ;
160- "/contacts/send-bulk-sms " : {
160+ "/sendBulkSms " : {
161161 /**
162162 * Send SMS to multiple contacts
163163 * @description Send SMS messages to multiple phone numbers
@@ -193,7 +193,7 @@ export interface paths {
193193 } ;
194194 } ;
195195 } ;
196- "/contacts/send-bulk-email " : {
196+ "/sendBulkEmail " : {
197197 /**
198198 * Send email to multiple contacts
199199 * @description Send email messages to multiple email addresses
@@ -405,7 +405,7 @@ export interface paths {
405405 } ;
406406 } ;
407407 } ;
408- "/leases/ contacts-by-filters " : {
408+ "/contacts/from-lease-search " : {
409409 /**
410410 * Get contacts matching lease search filters
411411 * @description Retrieves contact information for tenants matching the given lease search filters.
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ async function getBuildingManagers(): Promise<BuildingManager[]> {
8383async function getContactsByFilters (
8484 params : LeaseSearchQueryParams
8585) : Promise < ContactInfo [ ] > {
86- const { data, error } = await GET ( '/leases/ contacts-by-filters ' as any , {
86+ const { data, error } = await GET ( '/contacts/from-lease-search ' as any , {
8787 params : {
8888 query : params ,
8989 } ,
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ async function sendBulkSms(
5353 phoneNumbers : string [ ] ,
5454 text : string
5555) : Promise < BulkSmsResult > {
56- const { data, error } = await POST ( '/contacts/send-bulk-sms ' , {
56+ const { data, error } = await POST ( '/sendBulkSms ' , {
5757 body : { phoneNumbers, text } ,
5858 } )
5959
@@ -68,7 +68,7 @@ async function sendBulkEmail(
6868 subject : string ,
6969 text : string
7070) : Promise < BulkEmailResult > {
71- const { data, error } = await POST ( '/contacts/send-bulk-email ' , {
71+ const { data, error } = await POST ( '/sendBulkEmail ' , {
7272 body : { emails, subject, text } ,
7373 } )
7474
Original file line number Diff line number Diff line change @@ -903,7 +903,7 @@ const getContactsByFilters = async (
903903) : Promise < AdapterResult < { content : leasing . v1 . ContactInfo [ ] } , 'unknown' > > => {
904904 try {
905905 const response = await axios . get (
906- `${ tenantsLeasesServiceUrl } /leases/ contacts-by-filters ` ,
906+ `${ tenantsLeasesServiceUrl } /contacts/from-lease-search ` ,
907907 {
908908 params : queryParams ,
909909 paramsSerializer : {
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ export const routes = (router: KoaRouter) => {
4343
4444 /**
4545 * @swagger
46- * /contacts/send-bulk-sms :
46+ * /sendBulkSms :
4747 * post:
4848 * summary: Send SMS to multiple contacts
4949 * description: Send SMS messages to multiple phone numbers
@@ -84,7 +84,7 @@ export const routes = (router: KoaRouter) => {
8484 * security:
8585 * - bearerAuth: []
8686 */
87- router . post ( '(.*)/contacts/send-bulk-sms ' , async ( ctx ) => {
87+ router . post ( '(.*)/sendBulkSms ' , async ( ctx ) => {
8888 const metadata = generateRouteMetadata ( ctx )
8989 const result = await communicationAdapter . sendBulkSms ( ctx . request . body )
9090
@@ -99,7 +99,7 @@ export const routes = (router: KoaRouter) => {
9999
100100 /**
101101 * @swagger
102- * /contacts/send-bulk-email :
102+ * /sendBulkEmail :
103103 * post:
104104 * summary: Send email to multiple contacts
105105 * description: Send email messages to multiple email addresses
@@ -144,7 +144,7 @@ export const routes = (router: KoaRouter) => {
144144 * security:
145145 * - bearerAuth: []
146146 */
147- router . post ( '(.*)/contacts/send-bulk-email ' , async ( ctx ) => {
147+ router . post ( '(.*)/sendBulkEmail ' , async ( ctx ) => {
148148 const metadata = generateRouteMetadata ( ctx )
149149 const result = await communicationAdapter . sendBulkEmail ( ctx . request . body )
150150
Original file line number Diff line number Diff line change @@ -412,7 +412,7 @@ export const routes = (router: KoaRouter) => {
412412
413413 /**
414414 * @swagger
415- * /leases/ contacts-by-filters :
415+ * /contacts/from-lease-search :
416416 * get:
417417 * summary: Get contacts matching lease search filters
418418 * tags:
@@ -515,7 +515,7 @@ export const routes = (router: KoaRouter) => {
515515 * security:
516516 * - bearerAuth: []
517517 */
518- router . get ( '/leases/ contacts-by-filters ' , async ( ctx ) => {
518+ router . get ( '/contacts/from-lease-search ' , async ( ctx ) => {
519519 const metadata = generateRouteMetadata ( ctx )
520520
521521 const result = await leasingAdapter . getContactsByFilters ( ctx . query )
Original file line number Diff line number Diff line change @@ -466,7 +466,7 @@ export const routes = (router: KoaRouter) => {
466466
467467 /**
468468 * @swagger
469- * /leases/ contacts-by-filters :
469+ * /contacts/from-lease-search :
470470 * get:
471471 * summary: Get unique contacts matching lease filters
472472 * description: Returns deduplicated contacts for all leases matching the given filters. Uses same filters as /leases/search but without pagination.
@@ -549,7 +549,7 @@ export const routes = (router: KoaRouter) => {
549549 * 500:
550550 * description: Internal server error
551551 */
552- router . get ( '(.*)/leases/ contacts-by-filters ' , async ( ctx ) => {
552+ router . get ( '(.*)/contacts/from-lease-search ' , async ( ctx ) => {
553553 const metadata = generateRouteMetadata ( ctx , [
554554 'q' ,
555555 'objectType' ,
You can’t perform that action at this time.
0 commit comments