@homespot-sdk/core 0.0.350 → 0.0.351

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.
Files changed (78) hide show
  1. package/dist/rem/zod.gen.d.ts +11 -11
  2. package/package.json +1 -1
  3. package/dist/registration/client/client.gen.d.ts +0 -3
  4. package/dist/registration/client/client.gen.d.ts.map +0 -1
  5. package/dist/registration/client/client.gen.js +0 -207
  6. package/dist/registration/client/client.gen.js.map +0 -1
  7. package/dist/registration/client/index.d.ts +0 -9
  8. package/dist/registration/client/index.d.ts.map +0 -1
  9. package/dist/registration/client/index.js +0 -7
  10. package/dist/registration/client/index.js.map +0 -1
  11. package/dist/registration/client/types.gen.d.ts +0 -100
  12. package/dist/registration/client/types.gen.d.ts.map +0 -1
  13. package/dist/registration/client/types.gen.js +0 -3
  14. package/dist/registration/client/types.gen.js.map +0 -1
  15. package/dist/registration/client/utils.gen.d.ts +0 -41
  16. package/dist/registration/client/utils.gen.d.ts.map +0 -1
  17. package/dist/registration/client/utils.gen.js +0 -303
  18. package/dist/registration/client/utils.gen.js.map +0 -1
  19. package/dist/registration/client.gen.d.ts +0 -13
  20. package/dist/registration/client.gen.d.ts.map +0 -1
  21. package/dist/registration/client.gen.js +0 -6
  22. package/dist/registration/client.gen.js.map +0 -1
  23. package/dist/registration/core/auth.gen.d.ts +0 -19
  24. package/dist/registration/core/auth.gen.d.ts.map +0 -1
  25. package/dist/registration/core/auth.gen.js +0 -15
  26. package/dist/registration/core/auth.gen.js.map +0 -1
  27. package/dist/registration/core/bodySerializer.gen.d.ts +0 -26
  28. package/dist/registration/core/bodySerializer.gen.d.ts.map +0 -1
  29. package/dist/registration/core/bodySerializer.gen.js +0 -58
  30. package/dist/registration/core/bodySerializer.gen.js.map +0 -1
  31. package/dist/registration/core/params.gen.d.ts +0 -44
  32. package/dist/registration/core/params.gen.d.ts.map +0 -1
  33. package/dist/registration/core/params.gen.js +0 -102
  34. package/dist/registration/core/params.gen.js.map +0 -1
  35. package/dist/registration/core/pathSerializer.gen.d.ts +0 -34
  36. package/dist/registration/core/pathSerializer.gen.d.ts.map +0 -1
  37. package/dist/registration/core/pathSerializer.gen.js +0 -119
  38. package/dist/registration/core/pathSerializer.gen.js.map +0 -1
  39. package/dist/registration/core/queryKeySerializer.gen.d.ts +0 -19
  40. package/dist/registration/core/queryKeySerializer.gen.d.ts.map +0 -1
  41. package/dist/registration/core/queryKeySerializer.gen.js +0 -100
  42. package/dist/registration/core/queryKeySerializer.gen.js.map +0 -1
  43. package/dist/registration/core/serverSentEvents.gen.d.ts +0 -72
  44. package/dist/registration/core/serverSentEvents.gen.d.ts.map +0 -1
  45. package/dist/registration/core/serverSentEvents.gen.js +0 -140
  46. package/dist/registration/core/serverSentEvents.gen.js.map +0 -1
  47. package/dist/registration/core/types.gen.d.ts +0 -79
  48. package/dist/registration/core/types.gen.d.ts.map +0 -1
  49. package/dist/registration/core/types.gen.js +0 -3
  50. package/dist/registration/core/types.gen.js.map +0 -1
  51. package/dist/registration/core/utils.gen.d.ts +0 -20
  52. package/dist/registration/core/utils.gen.d.ts.map +0 -1
  53. package/dist/registration/core/utils.gen.js +0 -89
  54. package/dist/registration/core/utils.gen.js.map +0 -1
  55. package/dist/registration/index.d.ts +0 -3
  56. package/dist/registration/index.d.ts.map +0 -1
  57. package/dist/registration/index.js +0 -3
  58. package/dist/registration/index.js.map +0 -1
  59. package/dist/registration/schemas.gen.d.ts +0 -547
  60. package/dist/registration/schemas.gen.d.ts.map +0 -1
  61. package/dist/registration/schemas.gen.js +0 -708
  62. package/dist/registration/schemas.gen.js.map +0 -1
  63. package/dist/registration/sdk.gen.d.ts +0 -35
  64. package/dist/registration/sdk.gen.d.ts.map +0 -1
  65. package/dist/registration/sdk.gen.js +0 -148
  66. package/dist/registration/sdk.gen.js.map +0 -1
  67. package/dist/registration/transformers.gen.d.ts +0 -3
  68. package/dist/registration/transformers.gen.d.ts.map +0 -1
  69. package/dist/registration/transformers.gen.js +0 -10
  70. package/dist/registration/transformers.gen.js.map +0 -1
  71. package/dist/registration/types.gen.d.ts +0 -445
  72. package/dist/registration/types.gen.d.ts.map +0 -1
  73. package/dist/registration/types.gen.js +0 -3
  74. package/dist/registration/types.gen.js.map +0 -1
  75. package/dist/registration/zod.gen.d.ts +0 -1265
  76. package/dist/registration/zod.gen.d.ts.map +0 -1
  77. package/dist/registration/zod.gen.js +0 -595
  78. package/dist/registration/zod.gen.js.map +0 -1
@@ -1,89 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- import { serializeArrayParam, serializeObjectParam, serializePrimitiveParam, } from './pathSerializer.gen';
3
- export const PATH_PARAM_RE = /\{[^{}]+\}/g;
4
- export const defaultPathSerializer = ({ path, url: _url }) => {
5
- let url = _url;
6
- const matches = _url.match(PATH_PARAM_RE);
7
- if (matches) {
8
- for (const match of matches) {
9
- let explode = false;
10
- let name = match.substring(1, match.length - 1);
11
- let style = 'simple';
12
- if (name.endsWith('*')) {
13
- explode = true;
14
- name = name.substring(0, name.length - 1);
15
- }
16
- if (name.startsWith('.')) {
17
- name = name.substring(1);
18
- style = 'label';
19
- }
20
- else if (name.startsWith(';')) {
21
- name = name.substring(1);
22
- style = 'matrix';
23
- }
24
- const value = path[name];
25
- if (value === undefined || value === null) {
26
- continue;
27
- }
28
- if (Array.isArray(value)) {
29
- url = url.replace(match, serializeArrayParam({ explode, name, style, value }));
30
- continue;
31
- }
32
- if (typeof value === 'object') {
33
- url = url.replace(match, serializeObjectParam({
34
- explode,
35
- name,
36
- style,
37
- value: value,
38
- valueOnly: true,
39
- }));
40
- continue;
41
- }
42
- if (style === 'matrix') {
43
- url = url.replace(match, `;${serializePrimitiveParam({
44
- name,
45
- value: value,
46
- })}`);
47
- continue;
48
- }
49
- const replaceValue = encodeURIComponent(style === 'label' ? `.${value}` : value);
50
- url = url.replace(match, replaceValue);
51
- }
52
- }
53
- return url;
54
- };
55
- export const getUrl = ({ baseUrl, path, query, querySerializer, url: _url, }) => {
56
- const pathUrl = _url.startsWith('/') ? _url : `/${_url}`;
57
- let url = (baseUrl ?? '') + pathUrl;
58
- if (path) {
59
- url = defaultPathSerializer({ path, url });
60
- }
61
- let search = query ? querySerializer(query) : '';
62
- if (search.startsWith('?')) {
63
- search = search.substring(1);
64
- }
65
- if (search) {
66
- url += `?${search}`;
67
- }
68
- return url;
69
- };
70
- export function getValidRequestBody(options) {
71
- const hasBody = options.body !== undefined;
72
- const isSerializedBody = hasBody && options.bodySerializer;
73
- if (isSerializedBody) {
74
- if ('serializedBody' in options) {
75
- const hasSerializedBody = options.serializedBody !== undefined &&
76
- options.serializedBody !== '';
77
- return hasSerializedBody ? options.serializedBody : null;
78
- }
79
- // not all clients implement a serializedBody property (i.e. client-axios)
80
- return options.body !== '' ? options.body : null;
81
- }
82
- // plain/text body
83
- if (hasBody) {
84
- return options.body;
85
- }
86
- // no body was provided
87
- return undefined;
88
- }
89
- //# sourceMappingURL=utils.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.gen.js","sourceRoot":"","sources":["../../../api/registration/core/utils.gen.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAGrD,OAAO,EAEH,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,GAC1B,MAAM,sBAAsB,CAAC;AAO9B,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC;AAE3C,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,EAAkB,EAAE,EAAE;IACzE,IAAI,GAAG,GAAG,IAAI,CAAC;IACf,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC1C,IAAI,OAAO,EAAE,CAAC;QACV,KAAK,MAAM,KAAK,IAAI,OAAO,EAAE,CAAC;YAC1B,IAAI,OAAO,GAAG,KAAK,CAAC;YACpB,IAAI,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,EAAE,KAAK,CAAC,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AAG,CAAC;AACf,CAAC,CAAC;AAEF,MAAM,UAAU,mBAAmB,CAAC,OAInC;IACG,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,KAAK,SAAS,CAAC;IAC3C,MAAM,gBAAgB,GAAG,OAAO,IAAI,OAAO,CAAC,cAAc,CAAC;IAE3D,IAAI,gBAAgB,EAAE,CAAC;QACnB,IAAI,gBAAgB,IAAI,OAAO,EAAE,CAAC;YAC9B,MAAM,iBAAiB,GACnB,OAAO,CAAC,cAAc,KAAK,SAAS;gBACpC,OAAO,CAAC,cAAc,KAAK,EAAE,CAAC;YAElC,OAAO,iBAAiB,CAAC,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC;QAC7D,CAAC;QAED,0EAA0E;QAC1E,OAAO,OAAO,CAAC,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IACrD,CAAC;IAED,kBAAkB;IAClB,IAAI,OAAO,EAAE,CAAC;QACV,OAAO,OAAO,CAAC,IAAI,CAAC;IACxB,CAAC;IAED,uBAAuB;IACvB,OAAO,SAAS,CAAC;AACrB,CAAC"}
@@ -1,3 +0,0 @@
1
- export { draftControllerDeleteDraft, draftControllerGetDrafts, draftControllerGetDraftStatus, draftPhotosControllerDeleteAllPhotos, draftPhotosControllerDeletePhoto, draftPhotosControllerReorderPhotos, multistepFormControllerCompleteRegistration, multistepFormControllerGetDraft, multistepFormControllerNotifyPhotoUpload, multistepFormControllerRegisterAddress, multistepFormControllerRegisterAmenities, multistepFormControllerRegisterDescription, multistepFormControllerRegisterDetails, multistepFormControllerRegisterMeasurements, multistepFormControllerRegisterSpaces, multistepFormControllerRequestPresignedUrls, multistepFormControllerRestartRegistration, multistepFormControllerStartRegistration, multistepFormControllerStartRegistrationForAgency, type Options, } from './sdk.gen';
2
- export type { AddressRefRequest, AddressResponse, AgencyStartRegistrationRequest, AmenitiesRequest, ClientOptions, CoordinatesRequest, DeleteDraftByDraftIdData, DeleteDraftByDraftIdPhotosByPhotoKeyData, DeleteDraftByDraftIdPhotosByPhotoKeyResponse, DeleteDraftByDraftIdPhotosByPhotoKeyResponses, DeleteDraftByDraftIdPhotosData, DeleteDraftByDraftIdPhotosResponse, DeleteDraftByDraftIdPhotosResponses, DeleteDraftByDraftIdResponse, DeleteDraftByDraftIdResponses, DetailsRequest, DetailsResponse, DraftCardResponse, DraftStatusResponse, GetDraftByDraftIdStatusData, GetDraftByDraftIdStatusResponse, GetDraftByDraftIdStatusResponses, GetDraftData, GetDraftResponse, GetDraftResponses, GetRegistrationByDraftIdData, GetRegistrationByDraftIdResponse, GetRegistrationByDraftIdResponses, LangTextResponse, LocationResponse, LocationTargetRequest, MeasurementRequest, MeasurementResponse, PhotoReorderRequest, PhotoRequest, PhotosKeyUrlResponse, PhotosRequest, PostRegistrationAgencyData, PostRegistrationAgencyResponse, PostRegistrationAgencyResponses, PostRegistrationByDraftIdData, PostRegistrationByDraftIdPresignedUrlsNotifyData, PostRegistrationByDraftIdPresignedUrlsNotifyResponse, PostRegistrationByDraftIdPresignedUrlsNotifyResponses, PostRegistrationByDraftIdRegisterData, PostRegistrationByDraftIdRegisterResponses, PostRegistrationByDraftIdResponse, PostRegistrationByDraftIdResponses, PostRegistrationData, PostRegistrationResponse, PostRegistrationResponses, PresignedUrlResponse, PresignedUrlsResponse, PutDraftByDraftIdPhotosReorderData, PutDraftByDraftIdPhotosReorderResponse, PutDraftByDraftIdPhotosReorderResponses, PutRegistrationByDraftIdAddressData, PutRegistrationByDraftIdAddressResponse, PutRegistrationByDraftIdAddressResponses, PutRegistrationByDraftIdAmenitiesData, PutRegistrationByDraftIdAmenitiesResponse, PutRegistrationByDraftIdAmenitiesResponses, PutRegistrationByDraftIdDescriptionData, PutRegistrationByDraftIdDescriptionResponse, PutRegistrationByDraftIdDescriptionResponses, PutRegistrationByDraftIdDetailsData, PutRegistrationByDraftIdDetailsResponse, PutRegistrationByDraftIdDetailsResponses, PutRegistrationByDraftIdMeasurementsData, PutRegistrationByDraftIdMeasurementsResponse, PutRegistrationByDraftIdMeasurementsResponses, PutRegistrationByDraftIdPresignedUrlsData, PutRegistrationByDraftIdPresignedUrlsResponse, PutRegistrationByDraftIdPresignedUrlsResponses, PutRegistrationByDraftIdSpacesData, PutRegistrationByDraftIdSpacesResponse, PutRegistrationByDraftIdSpacesResponses, RegistrationDraftResponse, RegistrationProgressDto, SpaceRequest, SpaceResponse, SpacesRequest, StartRegistrationRequest, TextRequest, TitleAndDescriptionRequest, } from './types.gen';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../api/registration/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,EACxB,6BAA6B,EAC7B,oCAAoC,EACpC,gCAAgC,EAChC,kCAAkC,EAClC,2CAA2C,EAC3C,+BAA+B,EAC/B,wCAAwC,EACxC,sCAAsC,EACtC,wCAAwC,EACxC,0CAA0C,EAC1C,sCAAsC,EACtC,2CAA2C,EAC3C,qCAAqC,EACrC,2CAA2C,EAC3C,0CAA0C,EAC1C,wCAAwC,EACxC,iDAAiD,EACjD,KAAK,OAAO,GACf,MAAM,WAAW,CAAC;AACnB,YAAY,EACR,iBAAiB,EACjB,eAAe,EACf,8BAA8B,EAC9B,gBAAgB,EAChB,aAAa,EACb,kBAAkB,EAClB,wBAAwB,EACxB,wCAAwC,EACxC,4CAA4C,EAC5C,6CAA6C,EAC7C,8BAA8B,EAC9B,kCAAkC,EAClC,mCAAmC,EACnC,4BAA4B,EAC5B,6BAA6B,EAC7B,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,mBAAmB,EACnB,2BAA2B,EAC3B,+BAA+B,EAC/B,gCAAgC,EAChC,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,4BAA4B,EAC5B,gCAAgC,EAChC,iCAAiC,EACjC,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,YAAY,EACZ,oBAAoB,EACpB,aAAa,EACb,0BAA0B,EAC1B,8BAA8B,EAC9B,+BAA+B,EAC/B,6BAA6B,EAC7B,gDAAgD,EAChD,oDAAoD,EACpD,qDAAqD,EACrD,qCAAqC,EACrC,0CAA0C,EAC1C,iCAAiC,EACjC,kCAAkC,EAClC,oBAAoB,EACpB,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,EACpB,qBAAqB,EACrB,kCAAkC,EAClC,sCAAsC,EACtC,uCAAuC,EACvC,mCAAmC,EACnC,uCAAuC,EACvC,wCAAwC,EACxC,qCAAqC,EACrC,yCAAyC,EACzC,0CAA0C,EAC1C,uCAAuC,EACvC,2CAA2C,EAC3C,4CAA4C,EAC5C,mCAAmC,EACnC,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EACxC,4CAA4C,EAC5C,6CAA6C,EAC7C,yCAAyC,EACzC,6CAA6C,EAC7C,8CAA8C,EAC9C,kCAAkC,EAClC,sCAAsC,EACtC,uCAAuC,EACvC,yBAAyB,EACzB,uBAAuB,EACvB,YAAY,EACZ,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,0BAA0B,GAC7B,MAAM,aAAa,CAAC"}
@@ -1,3 +0,0 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- export { draftControllerDeleteDraft, draftControllerGetDrafts, draftControllerGetDraftStatus, draftPhotosControllerDeleteAllPhotos, draftPhotosControllerDeletePhoto, draftPhotosControllerReorderPhotos, multistepFormControllerCompleteRegistration, multistepFormControllerGetDraft, multistepFormControllerNotifyPhotoUpload, multistepFormControllerRegisterAddress, multistepFormControllerRegisterAmenities, multistepFormControllerRegisterDescription, multistepFormControllerRegisterDetails, multistepFormControllerRegisterMeasurements, multistepFormControllerRegisterSpaces, multistepFormControllerRequestPresignedUrls, multistepFormControllerRestartRegistration, multistepFormControllerStartRegistration, multistepFormControllerStartRegistrationForAgency, } from './sdk.gen';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../api/registration/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;AAErD,OAAO,EACH,0BAA0B,EAC1B,wBAAwB,EACxB,6BAA6B,EAC7B,oCAAoC,EACpC,gCAAgC,EAChC,kCAAkC,EAClC,2CAA2C,EAC3C,+BAA+B,EAC/B,wCAAwC,EACxC,sCAAsC,EACtC,wCAAwC,EACxC,0CAA0C,EAC1C,sCAAsC,EACtC,2CAA2C,EAC3C,qCAAqC,EACrC,2CAA2C,EAC3C,0CAA0C,EAC1C,wCAAwC,EACxC,iDAAiD,GAEpD,MAAM,WAAW,CAAC"}
@@ -1,547 +0,0 @@
1
- export declare const SpaceRequestSchema: {
2
- readonly type: "object";
3
- readonly properties: {
4
- readonly type: {
5
- readonly type: "string";
6
- readonly enum: readonly ["BEDROOM", "BATHROOM", "KITCHEN", "LIVING_ROOM", "GARAGE", "BACKYARD", "GYM", "LAUNDRY", "HOME_THEATRE", "GAME_ROOM"];
7
- };
8
- readonly area: {
9
- readonly type: "number";
10
- readonly format: "double";
11
- };
12
- };
13
- readonly required: readonly ["type"];
14
- };
15
- export declare const SpacesRequestSchema: {
16
- readonly type: "object";
17
- readonly properties: {
18
- readonly spaces: {
19
- readonly type: "array";
20
- readonly items: {
21
- readonly $ref: "#/components/schemas/SpaceRequest";
22
- };
23
- };
24
- };
25
- readonly required: readonly ["spaces"];
26
- };
27
- export declare const RegistrationProgressDtoSchema: {
28
- readonly type: "object";
29
- readonly properties: {
30
- readonly registrationId: {
31
- readonly type: "string";
32
- readonly format: "uuid";
33
- readonly description: "id of the property being registered";
34
- };
35
- readonly pages: {
36
- readonly type: "array";
37
- readonly description: "multiform pages";
38
- readonly items: {
39
- readonly type: "string";
40
- };
41
- };
42
- readonly total: {
43
- readonly type: "integer";
44
- readonly format: "int32";
45
- readonly description: "total pages";
46
- };
47
- readonly group: {
48
- readonly type: "string";
49
- readonly description: "property group being registered";
50
- readonly enum: readonly ["HOUSE_GROUP", "APARTMENT_GROUP", "HOSPITALITY_GROUP", "LAND_GROUP", "BUSINESS_GROUP", "STORAGE_GROUP"];
51
- };
52
- };
53
- readonly required: readonly ["group", "pages", "registrationId", "total"];
54
- };
55
- export declare const PhotoRequestSchema: {
56
- readonly type: "object";
57
- readonly properties: {
58
- readonly photo: {
59
- readonly type: "string";
60
- readonly maxLength: 255;
61
- readonly minLength: 0;
62
- };
63
- readonly type: {
64
- readonly type: "string";
65
- readonly enum: readonly ["JPEG", "JPG", "PNG", "WEBP"];
66
- };
67
- readonly width: {
68
- readonly type: "integer";
69
- readonly format: "int32";
70
- readonly maximum: 11000;
71
- readonly minimum: 10;
72
- };
73
- readonly height: {
74
- readonly type: "integer";
75
- readonly format: "int32";
76
- readonly maximum: 11000;
77
- readonly minimum: 10;
78
- };
79
- };
80
- readonly required: readonly ["photo", "type", "width"];
81
- };
82
- export declare const PhotosRequestSchema: {
83
- readonly type: "object";
84
- readonly properties: {
85
- readonly photos: {
86
- readonly type: "array";
87
- readonly items: {
88
- readonly $ref: "#/components/schemas/PhotoRequest";
89
- };
90
- readonly maxItems: 30;
91
- readonly minItems: 1;
92
- };
93
- };
94
- readonly required: readonly ["photos"];
95
- };
96
- export declare const PresignedUrlResponseSchema: {
97
- readonly type: "object";
98
- readonly properties: {
99
- readonly originalName: {
100
- readonly type: "string";
101
- };
102
- readonly key: {
103
- readonly type: "string";
104
- };
105
- readonly url: {
106
- readonly type: "string";
107
- };
108
- };
109
- readonly required: readonly ["key", "originalName", "url"];
110
- };
111
- export declare const PresignedUrlsResponseSchema: {
112
- readonly type: "object";
113
- readonly properties: {
114
- readonly data: {
115
- readonly type: "array";
116
- readonly items: {
117
- readonly $ref: "#/components/schemas/PresignedUrlResponse";
118
- };
119
- };
120
- };
121
- readonly required: readonly ["data"];
122
- };
123
- export declare const MeasurementRequestSchema: {
124
- readonly type: "object";
125
- readonly properties: {
126
- readonly totalArea: {
127
- readonly type: "number";
128
- readonly format: "double";
129
- readonly minimum: 1;
130
- };
131
- readonly livingArea: {
132
- readonly type: "number";
133
- readonly format: "double";
134
- };
135
- readonly balconyArea: {
136
- readonly type: "number";
137
- readonly format: "double";
138
- };
139
- };
140
- readonly required: readonly ["totalArea"];
141
- };
142
- export declare const DetailsRequestSchema: {
143
- readonly type: "object";
144
- readonly properties: {
145
- readonly status: {
146
- readonly type: "string";
147
- readonly enum: readonly ["OLD_BUILDING", "NEW_BUILDING", "UNDER_CONSTRUCTION", "FINISHED"];
148
- };
149
- readonly condition: {
150
- readonly type: "string";
151
- readonly enum: readonly ["NEWLY_RENOVATED", "OLD_RENOVATED", "CURRENT_RENOVATION", "REPAIRING", "WHITE_FRAME", "BLACK_FRAME", "GREEN_FRAME", "WHITE_PLUS"];
152
- };
153
- readonly totalFloors: {
154
- readonly type: "integer";
155
- readonly format: "int32";
156
- };
157
- readonly floorAt: {
158
- readonly type: readonly ["integer", "null"];
159
- readonly format: "int32";
160
- };
161
- };
162
- readonly required: readonly ["condition", "status", "totalFloors"];
163
- };
164
- export declare const TextRequestSchema: {
165
- readonly type: "object";
166
- readonly properties: {
167
- readonly language: {
168
- readonly type: "string";
169
- readonly enum: readonly ["ka", "en", "ru"];
170
- };
171
- readonly text: {
172
- readonly type: "string";
173
- };
174
- };
175
- readonly required: readonly ["language"];
176
- };
177
- export declare const TitleAndDescriptionRequestSchema: {
178
- readonly type: "object";
179
- readonly properties: {
180
- readonly title: {
181
- readonly type: "string";
182
- };
183
- readonly data: {
184
- readonly type: "array";
185
- readonly items: {
186
- readonly $ref: "#/components/schemas/TextRequest";
187
- };
188
- };
189
- };
190
- };
191
- export declare const AmenitiesRequestSchema: {
192
- readonly type: "object";
193
- readonly properties: {
194
- readonly amenities: {
195
- readonly type: "array";
196
- readonly items: {
197
- readonly type: "integer";
198
- readonly format: "int32";
199
- };
200
- };
201
- };
202
- };
203
- export declare const AddressRefRequestSchema: {
204
- readonly type: "object";
205
- readonly properties: {
206
- readonly location: {
207
- readonly $ref: "#/components/schemas/LocationTargetRequest";
208
- };
209
- readonly cadastreCode: {
210
- readonly type: "string";
211
- };
212
- readonly coordinates: {
213
- readonly $ref: "#/components/schemas/CoordinatesRequest";
214
- };
215
- };
216
- readonly required: readonly ["coordinates", "location"];
217
- };
218
- export declare const CoordinatesRequestSchema: {
219
- readonly type: "object";
220
- readonly properties: {
221
- readonly lat: {
222
- readonly type: "number";
223
- readonly format: "double";
224
- readonly maximum: 90;
225
- readonly minimum: -90;
226
- };
227
- readonly lng: {
228
- readonly type: "number";
229
- readonly format: "double";
230
- readonly maximum: 90;
231
- readonly minimum: -90;
232
- };
233
- };
234
- readonly required: readonly ["lat", "lng"];
235
- };
236
- export declare const LocationTargetRequestSchema: {
237
- readonly type: "object";
238
- readonly properties: {
239
- readonly id: {
240
- readonly type: "integer";
241
- readonly format: "int64";
242
- };
243
- readonly parentId: {
244
- readonly type: "integer";
245
- readonly format: "int64";
246
- };
247
- readonly type: {
248
- readonly type: "string";
249
- readonly enum: readonly ["REGION", "DISTRICT", "SUBDISTRICT", "STREET"];
250
- };
251
- };
252
- readonly required: readonly ["id", "type"];
253
- };
254
- export declare const PhotoReorderRequestSchema: {
255
- readonly type: "object";
256
- readonly properties: {
257
- readonly photos: {
258
- readonly type: "array";
259
- readonly items: {
260
- readonly type: "string";
261
- };
262
- readonly minItems: 1;
263
- };
264
- };
265
- readonly required: readonly ["photos"];
266
- };
267
- export declare const StartRegistrationRequestSchema: {
268
- readonly type: "object";
269
- readonly properties: {
270
- readonly propertyType: {
271
- readonly type: "string";
272
- readonly enum: readonly ["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"];
273
- };
274
- };
275
- readonly required: readonly ["propertyType"];
276
- };
277
- export declare const AgencyStartRegistrationRequestSchema: {
278
- readonly type: "object";
279
- readonly properties: {
280
- readonly propertyType: {
281
- readonly type: "string";
282
- readonly enum: readonly ["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"];
283
- };
284
- readonly clientId: {
285
- readonly type: "integer";
286
- readonly format: "int64";
287
- };
288
- readonly ownerId: {
289
- readonly type: "string";
290
- };
291
- };
292
- readonly required: readonly ["clientId", "propertyType"];
293
- };
294
- export declare const AddressResponseSchema: {
295
- readonly type: "object";
296
- readonly properties: {
297
- readonly region: {
298
- readonly $ref: "#/components/schemas/LocationResponse";
299
- };
300
- readonly district: {
301
- readonly $ref: "#/components/schemas/LocationResponse";
302
- };
303
- readonly subdistrict: {
304
- readonly $ref: "#/components/schemas/LocationResponse";
305
- };
306
- readonly street: {
307
- readonly $ref: "#/components/schemas/LocationResponse";
308
- };
309
- readonly cadastreCode: {
310
- readonly type: "string";
311
- };
312
- readonly lat: {
313
- readonly type: "number";
314
- readonly format: "double";
315
- };
316
- readonly lng: {
317
- readonly type: "number";
318
- readonly format: "double";
319
- };
320
- };
321
- readonly required: readonly ["district", "lat", "lng", "region", "subdistrict"];
322
- };
323
- export declare const DetailsResponseSchema: {
324
- readonly type: "object";
325
- readonly properties: {
326
- readonly status: {
327
- readonly type: "string";
328
- readonly enum: readonly ["OLD_BUILDING", "NEW_BUILDING", "UNDER_CONSTRUCTION", "FINISHED"];
329
- };
330
- readonly condition: {
331
- readonly type: "string";
332
- readonly enum: readonly ["NEWLY_RENOVATED", "OLD_RENOVATED", "CURRENT_RENOVATION", "REPAIRING", "WHITE_FRAME", "BLACK_FRAME", "GREEN_FRAME", "WHITE_PLUS"];
333
- };
334
- readonly totalFloors: {
335
- readonly type: "integer";
336
- readonly format: "int32";
337
- };
338
- readonly floorAt: {
339
- readonly type: readonly ["integer", "null"];
340
- readonly format: "int32";
341
- };
342
- };
343
- readonly required: readonly ["condition", "status", "totalFloors"];
344
- };
345
- export declare const LangTextResponseSchema: {
346
- readonly type: "object";
347
- readonly properties: {
348
- readonly language: {
349
- readonly type: "string";
350
- readonly enum: readonly ["ka", "en", "ru"];
351
- };
352
- readonly text: {
353
- readonly type: "string";
354
- };
355
- };
356
- readonly required: readonly ["language", "text"];
357
- };
358
- export declare const LocationResponseSchema: {
359
- readonly type: "object";
360
- readonly properties: {
361
- readonly id: {
362
- readonly type: "integer";
363
- readonly format: "int64";
364
- };
365
- readonly names: {
366
- readonly type: "array";
367
- readonly items: {
368
- readonly $ref: "#/components/schemas/LangTextResponse";
369
- };
370
- };
371
- };
372
- readonly required: readonly ["id", "names"];
373
- };
374
- export declare const MeasurementResponseSchema: {
375
- readonly type: "object";
376
- readonly properties: {
377
- readonly totalArea: {
378
- readonly type: "number";
379
- readonly format: "double";
380
- };
381
- readonly livingArea: {
382
- readonly type: "number";
383
- readonly format: "double";
384
- };
385
- readonly balconyArea: {
386
- readonly type: "number";
387
- readonly format: "double";
388
- };
389
- };
390
- readonly required: readonly ["totalArea"];
391
- };
392
- export declare const PhotosKeyUrlResponseSchema: {
393
- readonly type: "object";
394
- readonly properties: {
395
- readonly key: {
396
- readonly type: "string";
397
- };
398
- readonly url: {
399
- readonly type: "string";
400
- };
401
- };
402
- };
403
- export declare const RegistrationDraftResponseSchema: {
404
- readonly type: "object";
405
- readonly properties: {
406
- readonly propertyId: {
407
- readonly type: "string";
408
- readonly format: "uuid";
409
- };
410
- readonly ownershipType: {
411
- readonly type: "string";
412
- readonly enum: readonly ["DIRECT", "AGENCY_MANAGED", "CO_MANAGED"];
413
- };
414
- readonly userId: {
415
- readonly type: "string";
416
- };
417
- readonly clientId: {
418
- readonly type: "integer";
419
- readonly format: "int64";
420
- };
421
- readonly agencyId: {
422
- readonly type: "string";
423
- readonly format: "uuid";
424
- };
425
- readonly memberId: {
426
- readonly type: "string";
427
- readonly format: "uuid";
428
- };
429
- readonly type: {
430
- readonly type: "string";
431
- readonly enum: readonly ["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"];
432
- };
433
- readonly title: {
434
- readonly type: "string";
435
- };
436
- readonly description: {
437
- readonly type: "array";
438
- readonly items: {
439
- readonly $ref: "#/components/schemas/LangTextResponse";
440
- };
441
- };
442
- readonly measurements: {
443
- readonly $ref: "#/components/schemas/MeasurementResponse";
444
- };
445
- readonly details: {
446
- readonly $ref: "#/components/schemas/DetailsResponse";
447
- };
448
- readonly address: {
449
- readonly $ref: "#/components/schemas/AddressResponse";
450
- };
451
- readonly spaces: {
452
- readonly type: "array";
453
- readonly items: {
454
- readonly $ref: "#/components/schemas/SpaceResponse";
455
- };
456
- };
457
- readonly photos: {
458
- readonly type: "array";
459
- readonly items: {
460
- readonly $ref: "#/components/schemas/PhotosKeyUrlResponse";
461
- };
462
- };
463
- readonly amenities: {
464
- readonly type: "array";
465
- readonly items: {
466
- readonly type: "integer";
467
- readonly format: "int32";
468
- };
469
- };
470
- readonly pages: {
471
- readonly type: "array";
472
- readonly items: {
473
- readonly type: "string";
474
- };
475
- };
476
- readonly total: {
477
- readonly type: "integer";
478
- readonly format: "int32";
479
- };
480
- readonly group: {
481
- readonly type: "string";
482
- readonly enum: readonly ["HOUSE_GROUP", "APARTMENT_GROUP", "HOSPITALITY_GROUP", "LAND_GROUP", "BUSINESS_GROUP", "STORAGE_GROUP"];
483
- };
484
- };
485
- readonly required: readonly ["amenities", "description", "group", "ownershipType", "pages", "photos", "propertyId", "spaces", "title", "total", "type"];
486
- };
487
- export declare const SpaceResponseSchema: {
488
- readonly type: "object";
489
- readonly properties: {
490
- readonly type: {
491
- readonly type: "string";
492
- readonly enum: readonly ["BEDROOM", "BATHROOM", "KITCHEN", "LIVING_ROOM", "GARAGE", "BACKYARD", "GYM", "LAUNDRY", "HOME_THEATRE", "GAME_ROOM"];
493
- };
494
- readonly area: {
495
- readonly type: "number";
496
- readonly format: "double";
497
- };
498
- };
499
- };
500
- export declare const DraftCardResponseSchema: {
501
- readonly type: "object";
502
- readonly properties: {
503
- readonly id: {
504
- readonly type: "string";
505
- readonly format: "uuid";
506
- };
507
- readonly type: {
508
- readonly type: "string";
509
- readonly enum: readonly ["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"];
510
- };
511
- readonly title: {
512
- readonly type: "string";
513
- };
514
- readonly region: {
515
- readonly $ref: "#/components/schemas/LocationResponse";
516
- };
517
- readonly district: {
518
- readonly $ref: "#/components/schemas/LocationResponse";
519
- };
520
- readonly subdistrict: {
521
- readonly $ref: "#/components/schemas/LocationResponse";
522
- };
523
- readonly street: {
524
- readonly $ref: "#/components/schemas/LocationResponse";
525
- };
526
- readonly coverPhoto: {
527
- readonly type: "string";
528
- };
529
- readonly uploadDate: {
530
- readonly type: "string";
531
- readonly format: "date-time";
532
- };
533
- };
534
- readonly required: readonly ["id", "title", "type", "uploadDate"];
535
- };
536
- export declare const DraftStatusResponseSchema: {
537
- readonly type: "object";
538
- readonly properties: {
539
- readonly status: {
540
- readonly type: "string";
541
- readonly description: "property draft status";
542
- readonly enum: readonly ["IN_REGISTRATION", "PROCESSING", "COMPLETED"];
543
- };
544
- };
545
- readonly required: readonly ["status"];
546
- };
547
- //# sourceMappingURL=schemas.gen.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schemas.gen.d.ts","sourceRoot":"","sources":["../../api/registration/schemas.gen.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;CAwBrB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;CAWtB,CAAC;AAEX,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkChC,CAAC;AAEX,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BrB,CAAC;AAEX,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;CAatB,CAAC;AAEX,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;CAc7B,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;CAW9B,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;CAkB3B,CAAC;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;CAmCvB,CAAC;AAEX,eAAO,MAAM,iBAAiB;;;;;;;;;;;;CAYpB,CAAC;AAEX,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;CAanC,CAAC;AAEX,eAAO,MAAM,sBAAsB;;;;;;;;;;;CAWzB,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;CAc1B,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;CAiB3B,CAAC;AAEX,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;CAiB9B,CAAC;AAEX,eAAO,MA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