Skip to content

Commit 89de08d

Browse files
committed
adjusted prompt to use vitvaror instead of vitvara
1 parent b9c0e98 commit 89de08d

File tree

2 files changed

+67
-91
lines changed

2 files changed

+67
-91
lines changed

apps/property-tree/src/services/api/core/generated/api-types.ts

Lines changed: 66 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,56 @@ export interface paths {
331331
};
332332
};
333333
};
334+
"/leases/contacts-by-filters": {
335+
/**
336+
* Get contacts matching lease search filters
337+
* @description Retrieves contact information for tenants matching the given lease search filters.
338+
*/
339+
get: {
340+
parameters: {
341+
query?: {
342+
/** @description Free-text search (contract ID, tenant name, PNR, contact code, address) */
343+
q?: string;
344+
/** @description Object types (e.g., residence, parking) */
345+
objectType?: string[];
346+
/** @description Contract status filter (0=Current, 1=Upcoming, 2=AboutToEnd, 3=Ended) */
347+
status?: ("0" | "1" | "2" | "3")[];
348+
/** @description Minimum start date (YYYY-MM-DD) */
349+
startDateFrom?: string;
350+
/** @description Maximum start date (YYYY-MM-DD) */
351+
startDateTo?: string;
352+
/** @description Minimum end date (YYYY-MM-DD) */
353+
endDateFrom?: string;
354+
/** @description Maximum end date (YYYY-MM-DD) */
355+
endDateTo?: string;
356+
/** @description Property/estate names */
357+
property?: string[];
358+
/** @description Building codes */
359+
buildingCodes?: string[];
360+
/** @description Area codes (Område) */
361+
areaCodes?: string[];
362+
/** @description District names */
363+
districtNames?: string[];
364+
/** @description Building manager names (Kvartersvärd) */
365+
buildingManager?: string[];
366+
};
367+
};
368+
responses: {
369+
/** @description Successful response with contact information */
370+
200: {
371+
content: {
372+
"application/json": {
373+
content?: components["schemas"]["ContactInfo"][];
374+
};
375+
};
376+
};
377+
/** @description Internal server error */
378+
500: {
379+
content: never;
380+
};
381+
};
382+
};
383+
};
334384
"/leases/by-rental-property-id/{rentalPropertyId}": {
335385
/**
336386
* Get leases with related entities for a specific rental property id
@@ -611,80 +661,6 @@ export interface paths {
611661
};
612662
};
613663
};
614-
"/contacts/send-bulk-sms": {
615-
/**
616-
* Send SMS to multiple contacts
617-
* @description Send SMS messages to multiple phone numbers
618-
*/
619-
post: {
620-
requestBody: {
621-
content: {
622-
"application/json": {
623-
/** @description Array of phone numbers */
624-
phoneNumbers: string[];
625-
/** @description SMS message content */
626-
text: string;
627-
};
628-
};
629-
};
630-
responses: {
631-
/** @description SMS sent successfully */
632-
200: {
633-
content: {
634-
"application/json": {
635-
content?: components["schemas"]["BulkSmsResult"];
636-
};
637-
};
638-
};
639-
/** @description Invalid request */
640-
400: {
641-
content: never;
642-
};
643-
/** @description Internal server error */
644-
500: {
645-
content: never;
646-
};
647-
};
648-
};
649-
};
650-
"/contacts/send-bulk-email": {
651-
/**
652-
* Send email to multiple contacts
653-
* @description Send email messages to multiple email addresses
654-
*/
655-
post: {
656-
requestBody: {
657-
content: {
658-
"application/json": {
659-
/** @description Array of email addresses */
660-
emails: string[];
661-
/** @description Email subject */
662-
subject: string;
663-
/** @description Email message content */
664-
text: string;
665-
};
666-
};
667-
};
668-
responses: {
669-
/** @description Email sent successfully */
670-
200: {
671-
content: {
672-
"application/json": {
673-
content?: components["schemas"]["BulkEmailResult"];
674-
};
675-
};
676-
};
677-
/** @description Invalid request */
678-
400: {
679-
content: never;
680-
};
681-
/** @description Internal server error */
682-
500: {
683-
content: never;
684-
};
685-
};
686-
};
687-
};
688664
"/offers/{offerId}/applicants/{contactCode}": {
689665
/**
690666
* Get a specific offer for an applicant
@@ -5647,22 +5623,6 @@ export interface components {
56475623
/** @enum {string} */
56485624
rel: "self" | "first" | "last" | "prev" | "next";
56495625
};
5650-
BulkSmsResult: {
5651-
/** @description Phone numbers that received SMS */
5652-
successful: string[];
5653-
/** @description Invalid phone numbers */
5654-
invalid: string[];
5655-
totalSent: number;
5656-
totalInvalid: number;
5657-
};
5658-
BulkEmailResult: {
5659-
/** @description Email addresses that received email */
5660-
successful: string[];
5661-
/** @description Invalid email addresses */
5662-
invalid: string[];
5663-
totalSent: number;
5664-
totalInvalid: number;
5665-
};
56665626
ListingTextContent: {
56675627
/** Format: uuid */
56685628
id: string;
@@ -7045,6 +7005,22 @@ export interface components {
70457005
*/
70467006
expirySeconds?: number;
70477007
};
7008+
BulkSmsResult: {
7009+
/** @description Phone numbers that received SMS */
7010+
successful: string[];
7011+
/** @description Invalid phone numbers */
7012+
invalid: string[];
7013+
totalSent: number;
7014+
totalInvalid: number;
7015+
};
7016+
BulkEmailResult: {
7017+
/** @description Email addresses that received email */
7018+
successful: string[];
7019+
/** @description Invalid email addresses */
7020+
invalid: string[];
7021+
totalSent: number;
7022+
totalInvalid: number;
7023+
};
70487024
};
70497025
responses: never;
70507026
parameters: never;

services/property/src/adapters/berget-adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Fokusera på dessa typer av vitvaror:
3737
3838
Svara ENDAST med JSON i följande format (inget annat text):
3939
{
40-
"componentCategory": "övergripande kategori (för vitvaror: 'Vitvara')",
40+
"componentCategory": "övergripande kategori (för vitvaror: 'Vitvaror')",
4141
"componentType": "typ av komponent (t.ex. 'Kylskåp', 'Diskmaskin', 'Tvättmaskin', 'Spis')",
4242
"componentSubtype": "specifik variant (t.ex. '60cm integrerad', 'Fristående 190-215 liter', 'Kyl/frys-kombination', annars null)",
4343
"manufacturer": "tillverkare/märke (om synligt, annars null)",

0 commit comments

Comments
 (0)