@xfloor/floor-memory-sdk-ts 1.0.21 → 1.0.23

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @xfloor/floor-memory-sdk-ts@1.0.21
1
+ # @xfloor/floor-memory-sdk-ts@1.0.23
2
2
  A TypeScript SDK client for the appfloor.in API.
3
3
 
4
4
  ### Usage
@@ -76,11 +76,6 @@ Change Mobile number
76
76
  Change Password
77
77
  *AuthApi*
78
78
 
79
- | [**registerExternalUserIdentity**](docs/AuthApi.md#registerexternaluseridentity) | **POST** /memory/identity/external-user |
80
-
81
- External User Registration
82
- *AuthApi*
83
-
84
79
  | [**resetPassword**](docs/AuthApi.md#resetpassword) | **POST** /auth-service/password/reset |
85
80
 
86
81
  Reset Password
@@ -154,10 +149,6 @@ Query (Primary API)
154
149
  ### Models
155
150
 
156
151
  - [BlockDetails](docs/BlockDetails.md)
157
- - [ChangeEmail200Response](docs/ChangeEmail200Response.md)
158
- - [ChangeEmail200ResponsePodInfo](docs/ChangeEmail200ResponsePodInfo.md)
159
- - [ChangeEmail200ResponseProfile](docs/ChangeEmail200ResponseProfile.md)
160
- - [ChangeEmail200ResponseProfileAvatar](docs/ChangeEmail200ResponseProfileAvatar.md)
161
152
  - [ChangePassword200Response](docs/ChangePassword200Response.md)
162
153
  - [EditFloor200Response](docs/EditFloor200Response.md)
163
154
  - [EditFloor400Response](docs/EditFloor400Response.md)
@@ -187,6 +178,9 @@ Query (Primary API)
187
178
  - [SignUp200Response](docs/SignUp200Response.md)
188
179
  - [SignUpResponse](docs/SignUpResponse.md)
189
180
  - [UserDetails](docs/UserDetails.md)
181
+ - [UserDetailsPodInfo](docs/UserDetailsPodInfo.md)
182
+ - [UserDetailsProfile](docs/UserDetailsProfile.md)
183
+ - [UserDetailsProfileAvatar](docs/UserDetailsProfileAvatar.md)
190
184
  - [ValidateCode400Response](docs/ValidateCode400Response.md)
191
185
  - [ValidateCode400ResponseError](docs/ValidateCode400ResponseError.md)
192
186
  - [ValidateCode412Response](docs/ValidateCode412Response.md)
@@ -208,7 +202,7 @@ and is automatically generated by the
208
202
  [OpenAPI Generator](https://openapi-generator.tech) project:
209
203
 
210
204
  - API version: `1.0.0`
211
- - Package version: `1.0.21`
205
+ - Package version: `1.0.23`
212
206
  - Generator version: `7.18.0`
213
207
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
214
208
 
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import * as runtime from '../runtime';
15
- import type { ChangeEmail200Response, ChangePassword200Response, ResetPassword200Response, SendValidationCode200Response, SignInResponse, SignUp200Response, UserDetails } from '../models/index';
15
+ import type { ChangePassword200Response, ResetPassword200Response, SendValidationCode200Response, SignInResponse, SignUp200Response, UserDetails } from '../models/index';
16
16
  export interface ChangeEmailRequest {
17
17
  newEmailId: string;
18
18
  activationCode: string;
@@ -26,12 +26,6 @@ export interface ChangePasswordRequest {
26
26
  activationCode: string;
27
27
  userId?: string;
28
28
  }
29
- export interface RegisterExternalUserIdentityRequest {
30
- mobileNumber?: string;
31
- emailId?: string;
32
- name?: string;
33
- appId?: string;
34
- }
35
29
  export interface ResetPasswordRequest {
36
30
  newPassword: string;
37
31
  activationCode: string;
@@ -79,22 +73,22 @@ export declare class AuthApi extends runtime.BaseAPI {
79
73
  * Updates the email ID associated with an existing user account after validating a one-time activation code sent to the **new email address**. This operation can only be performed by a **logged-in user**. When a user initiates an email change, an activation code is sent to the newly provided email ID. The email update takes effect only after the activation code is successfully validated. If the activation code validation fails, the email ID remains unchanged. --- ### **Authentication** This endpoint requires **Bearer Token authentication**. ``` Authorization: Bearer <access_token> ``` --- ### **Request Body** ```json { \"user_id\": \"string\", \"new_email_id\": \"string\", \"activation_code\": \"string\", \"app_id\":\"string\" } ``` **Field Description** * `user_id` – Unique identifier of the logged-in user * `new_email_id` – New email address to be associated with the account * `activation_code` – One-time activation code sent to the new email ID for verification --- ### **Flow Summary** 1. User is authenticated and logged in 2. User requests to change email ID 3. System sends an activation code to the **new email address** 4. User submits the activation code via this API 5. On successful validation, the email ID is updated --- ### **Successful Response** On successful validation: * The activation code is verified * The user’s email ID is updated immediately * A `success` string is returned confirming the email change --- ### **Error Response** The API returns an error response if: * The activation code is invalid or expired * The activation code does not match the user or email * The new email ID is already in use * Authorization fails or the bearer token is missing or invalid In all error cases, the existing email ID remains unchanged. --- ### **Behavior Notes** * Requires a prior call to `/auth-service/send/validation/code` with the proper mode. --- ### **Security Notes (Recommended)** * Activation codes are single-use and time-bound * Email changes require prior authentication * Rate limiting may be applied to prevent abuse --- ### **One-Line Summary** > Changes a user’s email ID after validating an activation code sent to the new email address.
80
74
  * Change email ID
81
75
  */
82
- changeEmailRaw(requestParameters: ChangeEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChangeEmail200Response>>;
76
+ changeEmailRaw(requestParameters: ChangeEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignInResponse>>;
83
77
  /**
84
78
  * Updates the email ID associated with an existing user account after validating a one-time activation code sent to the **new email address**. This operation can only be performed by a **logged-in user**. When a user initiates an email change, an activation code is sent to the newly provided email ID. The email update takes effect only after the activation code is successfully validated. If the activation code validation fails, the email ID remains unchanged. --- ### **Authentication** This endpoint requires **Bearer Token authentication**. ``` Authorization: Bearer <access_token> ``` --- ### **Request Body** ```json { \"user_id\": \"string\", \"new_email_id\": \"string\", \"activation_code\": \"string\", \"app_id\":\"string\" } ``` **Field Description** * `user_id` – Unique identifier of the logged-in user * `new_email_id` – New email address to be associated with the account * `activation_code` – One-time activation code sent to the new email ID for verification --- ### **Flow Summary** 1. User is authenticated and logged in 2. User requests to change email ID 3. System sends an activation code to the **new email address** 4. User submits the activation code via this API 5. On successful validation, the email ID is updated --- ### **Successful Response** On successful validation: * The activation code is verified * The user’s email ID is updated immediately * A `success` string is returned confirming the email change --- ### **Error Response** The API returns an error response if: * The activation code is invalid or expired * The activation code does not match the user or email * The new email ID is already in use * Authorization fails or the bearer token is missing or invalid In all error cases, the existing email ID remains unchanged. --- ### **Behavior Notes** * Requires a prior call to `/auth-service/send/validation/code` with the proper mode. --- ### **Security Notes (Recommended)** * Activation codes are single-use and time-bound * Email changes require prior authentication * Rate limiting may be applied to prevent abuse --- ### **One-Line Summary** > Changes a user’s email ID after validating an activation code sent to the new email address.
85
79
  * Change email ID
86
80
  */
87
- changeEmail(requestParameters: ChangeEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChangeEmail200Response>;
81
+ changeEmail(requestParameters: ChangeEmailRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignInResponse>;
88
82
  /**
89
83
  * Updates the mobile number associated with an existing user account after validating a one-time activation code sent to the **new mobile number**. This operation can only be performed by a **logged-in user**. When a user initiates a mobile number change, an activation code is sent to the newly provided mobile number. The mobile number update takes effect only after the activation code is successfully validated. If the activation code validation fails, the mobile number remains unchanged. --- ### **Authentication** This endpoint requires **Bearer Token authentication**. ``` Authorization: Bearer <access_token> ``` --- ### **Request Body** ```json { \"user_id\": \"string\", \"new_mobile_number\": \"string\", \"activation_code\": \"string\" } ``` **Field Description** * `user_id` – Unique identifier of the logged-in user * `new_mobile_number` – New mobile number to be associated with the account * `activation_code` – One-time activation code sent to the new mobile number for verification --- ### **Flow Summary** 1. User is authenticated and logged in 2. User requests to change mobile number 3. System sends an activation code to the **new mobile number** 4. User submits the activation code via this API 5. On successful validation, the mobile number is updated --- ### **Successful Response** On successful validation: * The activation code is verified * The user’s mobile number is updated immediately * A `success` string is returned confirming the mobile number change --- ### **Error Response** The API returns an error response if: * The activation code is invalid or expired * The activation code does not match the user or mobile number * The new mobile number is already in use * Authorization fails or the bearer token is missing or invalid In all error cases, the existing mobile number remains unchanged. --- ### **Behavior Notes** * Requires a prior call to `/auth-service/send/validation/code` with the proper mode. --- ### **Security Notes (Recommended)** * Activation codes are single-use and time-bound * Mobile number changes require prior authentication * Rate limiting may be applied to prevent abuse --- ### **One-Line Summary** > Changes a user’s mobile number after validating an activation code sent to the new mobile number.
90
84
  * Change Mobile number
91
85
  */
92
- changeMobileNumberRaw(requestParameters: ChangeMobileNumberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChangeEmail200Response>>;
86
+ changeMobileNumberRaw(requestParameters: ChangeMobileNumberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SignInResponse>>;
93
87
  /**
94
88
  * Updates the mobile number associated with an existing user account after validating a one-time activation code sent to the **new mobile number**. This operation can only be performed by a **logged-in user**. When a user initiates a mobile number change, an activation code is sent to the newly provided mobile number. The mobile number update takes effect only after the activation code is successfully validated. If the activation code validation fails, the mobile number remains unchanged. --- ### **Authentication** This endpoint requires **Bearer Token authentication**. ``` Authorization: Bearer <access_token> ``` --- ### **Request Body** ```json { \"user_id\": \"string\", \"new_mobile_number\": \"string\", \"activation_code\": \"string\" } ``` **Field Description** * `user_id` – Unique identifier of the logged-in user * `new_mobile_number` – New mobile number to be associated with the account * `activation_code` – One-time activation code sent to the new mobile number for verification --- ### **Flow Summary** 1. User is authenticated and logged in 2. User requests to change mobile number 3. System sends an activation code to the **new mobile number** 4. User submits the activation code via this API 5. On successful validation, the mobile number is updated --- ### **Successful Response** On successful validation: * The activation code is verified * The user’s mobile number is updated immediately * A `success` string is returned confirming the mobile number change --- ### **Error Response** The API returns an error response if: * The activation code is invalid or expired * The activation code does not match the user or mobile number * The new mobile number is already in use * Authorization fails or the bearer token is missing or invalid In all error cases, the existing mobile number remains unchanged. --- ### **Behavior Notes** * Requires a prior call to `/auth-service/send/validation/code` with the proper mode. --- ### **Security Notes (Recommended)** * Activation codes are single-use and time-bound * Mobile number changes require prior authentication * Rate limiting may be applied to prevent abuse --- ### **One-Line Summary** > Changes a user’s mobile number after validating an activation code sent to the new mobile number.
95
89
  * Change Mobile number
96
90
  */
97
- changeMobileNumber(requestParameters: ChangeMobileNumberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChangeEmail200Response>;
91
+ changeMobileNumber(requestParameters: ChangeMobileNumberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SignInResponse>;
98
92
  /**
99
93
  * ## 1) `POST /password/change` — Change Password (Logged-in User) Changes the password of an **authenticated user** who is currently logged in. This endpoint is used when a user is already signed in and wants to update their password as a security or preference action. The system validates a **one-time password-change verification code** (`activation_code`) issued specifically for the change-password flow. If the code is valid and not expired, the user’s password is updated to `new_password` and takes effect immediately. If verification fails, the password remains unchanged and an error response is returned. ### Authentication ✅ **Required**: Bearer token for the logged-in session ``` Authorization: Bearer <access_token> ``` ### Request Body (Form Data) * `user_id` (optional if derived from token) * `activation_code` (required) * `new_password` (required) ### Behavior Notes * Typically requires a prior call to **send a verification code** for password change (mode = password change). * `user_id` can be taken from the access token; include it only if your system requires it explicitly. ### One-Line Summary > Changes the password for a logged-in user after validating a one-time password-change code.
100
94
  * Change Password
@@ -105,16 +99,6 @@ export declare class AuthApi extends runtime.BaseAPI {
105
99
  * Change Password
106
100
  */
107
101
  changePassword(requestParameters: ChangePasswordRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChangePassword200Response>;
108
- /**
109
- * This API allows a calling application to **pass externally authenticated user identity information to xfloor** after completing authentication within its own system. xfloor **does not perform authentication, credential verification, or session management** as part of this API. The calling application is fully responsible for validating the user and ensuring the correctness of the identity data provided. Upon invocation, xfloor will: * **Create a new user profile** if no matching user exists, or * **Update the existing user profile** if the user is already present. xfloor returns a unique `xfloor_user_id`, which serves as the **canonical user identifier** and must be used in all subsequent xfloor APIs, including floors, blocks, conversations, memory interactions, and analytics.
110
- * External User Registration
111
- */
112
- registerExternalUserIdentityRaw(requestParameters: RegisterExternalUserIdentityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ChangeEmail200Response>>;
113
- /**
114
- * This API allows a calling application to **pass externally authenticated user identity information to xfloor** after completing authentication within its own system. xfloor **does not perform authentication, credential verification, or session management** as part of this API. The calling application is fully responsible for validating the user and ensuring the correctness of the identity data provided. Upon invocation, xfloor will: * **Create a new user profile** if no matching user exists, or * **Update the existing user profile** if the user is already present. xfloor returns a unique `xfloor_user_id`, which serves as the **canonical user identifier** and must be used in all subsequent xfloor APIs, including floors, blocks, conversations, memory interactions, and analytics.
115
- * External User Registration
116
- */
117
- registerExternalUserIdentity(requestParameters?: RegisterExternalUserIdentityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ChangeEmail200Response>;
118
102
  /**
119
103
  * --- ## Reset Password (Forgot Password, Not Logged In) Resets the password of a user who **cannot log in** and is using a **forgot-password** flow. This endpoint is used when the user is not authenticated and requests a password reset using a verified identity channel such as **email** or **mobile number**. The system validates a **one-time reset verification code** (`activation_code`) issued for the reset-password flow. If valid and not expired, the password is updated to `new_password` and takes effect immediately. If verification fails, the password remains unchanged and an error response is returned. ### Authentication ✅ **Recommended** (better security): a short-lived **reset token** issued after initiating reset ``` Authorization: Bearer <reset_token> ``` > If you don’t use a reset token, you must enforce strong rate limiting + OTP attempt throttling on this endpoint. ### Request Body (Form Data) * `email_id` or `mobile_number` (required to identify user) * `activation_code` (required) * `new_password` (required) * `user_id` (optional, if your reset flow already resolved it) ### Behavior Notes * Requires a prior call to **initiate reset** and send OTP/code (mode = forgot password). * Must enforce code attempt limits and expiration strictly. ### One-Line Summary > Resets a user’s password (forgot-password flow) after validating a one-time reset code sent to email or mobile.
120
104
  * Reset Password
@@ -132,7 +132,7 @@ var AuthApi = /** @class */ (function (_super) {
132
132
  }, initOverrides)];
133
133
  case 3:
134
134
  response = _a.sent();
135
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ChangeEmail200ResponseFromJSON)(jsonValue); })];
135
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SignInResponseFromJSON)(jsonValue); })];
136
136
  }
137
137
  });
138
138
  });
@@ -210,7 +210,7 @@ var AuthApi = /** @class */ (function (_super) {
210
210
  }, initOverrides)];
211
211
  case 3:
212
212
  response = _a.sent();
213
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ChangeEmail200ResponseFromJSON)(jsonValue); })];
213
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.SignInResponseFromJSON)(jsonValue); })];
214
214
  }
215
215
  });
216
216
  });
@@ -314,85 +314,6 @@ var AuthApi = /** @class */ (function (_super) {
314
314
  });
315
315
  });
316
316
  };
317
- /**
318
- * This API allows a calling application to **pass externally authenticated user identity information to xfloor** after completing authentication within its own system. xfloor **does not perform authentication, credential verification, or session management** as part of this API. The calling application is fully responsible for validating the user and ensuring the correctness of the identity data provided. Upon invocation, xfloor will: * **Create a new user profile** if no matching user exists, or * **Update the existing user profile** if the user is already present. xfloor returns a unique `xfloor_user_id`, which serves as the **canonical user identifier** and must be used in all subsequent xfloor APIs, including floors, blocks, conversations, memory interactions, and analytics.
319
- * External User Registration
320
- */
321
- AuthApi.prototype.registerExternalUserIdentityRaw = function (requestParameters, initOverrides) {
322
- return __awaiter(this, void 0, void 0, function () {
323
- var queryParameters, headerParameters, token, tokenString, consumes, canConsumeForm, formParams, useForm, urlPath, response;
324
- return __generator(this, function (_a) {
325
- switch (_a.label) {
326
- case 0:
327
- queryParameters = {};
328
- headerParameters = {};
329
- if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
330
- token = this.configuration.accessToken;
331
- return [4 /*yield*/, token("bearer", [])];
332
- case 1:
333
- tokenString = _a.sent();
334
- if (tokenString) {
335
- headerParameters["Authorization"] = "Bearer ".concat(tokenString);
336
- }
337
- _a.label = 2;
338
- case 2:
339
- consumes = [
340
- { contentType: 'multipart/form-data' },
341
- ];
342
- canConsumeForm = runtime.canConsumeForm(consumes);
343
- useForm = false;
344
- if (useForm) {
345
- formParams = new FormData();
346
- }
347
- else {
348
- formParams = new URLSearchParams();
349
- }
350
- if (requestParameters['mobileNumber'] != null) {
351
- formParams.append('mobile_number', requestParameters['mobileNumber']);
352
- }
353
- if (requestParameters['emailId'] != null) {
354
- formParams.append('email_id', requestParameters['emailId']);
355
- }
356
- if (requestParameters['name'] != null) {
357
- formParams.append('name', requestParameters['name']);
358
- }
359
- if (requestParameters['appId'] != null) {
360
- formParams.append('app_id', requestParameters['appId']);
361
- }
362
- urlPath = "/memory/identity/external-user";
363
- return [4 /*yield*/, this.request({
364
- path: urlPath,
365
- method: 'POST',
366
- headers: headerParameters,
367
- query: queryParameters,
368
- body: formParams,
369
- }, initOverrides)];
370
- case 3:
371
- response = _a.sent();
372
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ChangeEmail200ResponseFromJSON)(jsonValue); })];
373
- }
374
- });
375
- });
376
- };
377
- /**
378
- * This API allows a calling application to **pass externally authenticated user identity information to xfloor** after completing authentication within its own system. xfloor **does not perform authentication, credential verification, or session management** as part of this API. The calling application is fully responsible for validating the user and ensuring the correctness of the identity data provided. Upon invocation, xfloor will: * **Create a new user profile** if no matching user exists, or * **Update the existing user profile** if the user is already present. xfloor returns a unique `xfloor_user_id`, which serves as the **canonical user identifier** and must be used in all subsequent xfloor APIs, including floors, blocks, conversations, memory interactions, and analytics.
379
- * External User Registration
380
- */
381
- AuthApi.prototype.registerExternalUserIdentity = function () {
382
- return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
383
- var response;
384
- if (requestParameters === void 0) { requestParameters = {}; }
385
- return __generator(this, function (_a) {
386
- switch (_a.label) {
387
- case 0: return [4 /*yield*/, this.registerExternalUserIdentityRaw(requestParameters, initOverrides)];
388
- case 1:
389
- response = _a.sent();
390
- return [4 /*yield*/, response.value()];
391
- case 2: return [2 /*return*/, _a.sent()];
392
- }
393
- });
394
- });
395
- };
396
317
  /**
397
318
  * --- ## Reset Password (Forgot Password, Not Logged In) Resets the password of a user who **cannot log in** and is using a **forgot-password** flow. This endpoint is used when the user is not authenticated and requests a password reset using a verified identity channel such as **email** or **mobile number**. The system validates a **one-time reset verification code** (`activation_code`) issued for the reset-password flow. If valid and not expired, the password is updated to `new_password` and takes effect immediately. If verification fails, the password remains unchanged and an error response is returned. ### Authentication ✅ **Recommended** (better security): a short-lived **reset token** issued after initiating reset ``` Authorization: Bearer <reset_token> ``` > If you don’t use a reset token, you must enforce strong rate limiting + OTP attempt throttling on this endpoint. ### Request Body (Form Data) * `email_id` or `mobile_number` (required to identify user) * `activation_code` (required) * `new_password` (required) * `user_id` (optional, if your reset flow already resolved it) ### Behavior Notes * Requires a prior call to **initiate reset** and send OTP/code (mode = forgot password). * Must enforce code attempt limits and expiration strictly. ### One-Line Summary > Resets a user’s password (forgot-password flow) after validating a one-time reset code sent to email or mobile.
398
319
  * Reset Password
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import type { ChangeEmail200ResponseProfile } from './ChangeEmail200ResponseProfile';
15
- import type { ChangeEmail200ResponsePodInfo } from './ChangeEmail200ResponsePodInfo';
14
+ import type { UserDetailsPodInfo } from './UserDetailsPodInfo';
15
+ import type { UserDetailsProfile } from './UserDetailsProfile';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -21,16 +21,16 @@ import type { ChangeEmail200ResponsePodInfo } from './ChangeEmail200ResponsePodI
21
21
  export interface SignInResponse {
22
22
  /**
23
23
  *
24
- * @type {ChangeEmail200ResponseProfile}
24
+ * @type {UserDetailsProfile}
25
25
  * @memberof SignInResponse
26
26
  */
27
- profile: ChangeEmail200ResponseProfile;
27
+ profile: UserDetailsProfile;
28
28
  /**
29
29
  *
30
- * @type {ChangeEmail200ResponsePodInfo}
30
+ * @type {UserDetailsPodInfo}
31
31
  * @memberof SignInResponse
32
32
  */
33
- podInfo: ChangeEmail200ResponsePodInfo;
33
+ podInfo: UserDetailsPodInfo;
34
34
  /**
35
35
  * App ID
36
36
  * @type {string}
@@ -20,8 +20,8 @@ exports.SignInResponseFromJSON = SignInResponseFromJSON;
20
20
  exports.SignInResponseFromJSONTyped = SignInResponseFromJSONTyped;
21
21
  exports.SignInResponseToJSON = SignInResponseToJSON;
22
22
  exports.SignInResponseToJSONTyped = SignInResponseToJSONTyped;
23
- var ChangeEmail200ResponseProfile_1 = require("./ChangeEmail200ResponseProfile");
24
- var ChangeEmail200ResponsePodInfo_1 = require("./ChangeEmail200ResponsePodInfo");
23
+ var UserDetailsPodInfo_1 = require("./UserDetailsPodInfo");
24
+ var UserDetailsProfile_1 = require("./UserDetailsProfile");
25
25
  /**
26
26
  * Check if a given object implements the SignInResponse interface.
27
27
  */
@@ -40,8 +40,8 @@ function SignInResponseFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileFromJSON)(json['profile']),
44
- 'podInfo': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoFromJSON)(json['pod_info']),
43
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileFromJSON)(json['profile']),
44
+ 'podInfo': (0, UserDetailsPodInfo_1.UserDetailsPodInfoFromJSON)(json['pod_info']),
45
45
  'appId': json['app_id'] == null ? undefined : json['app_id'],
46
46
  };
47
47
  }
@@ -54,8 +54,8 @@ function SignInResponseToJSONTyped(value, ignoreDiscriminator) {
54
54
  return value;
55
55
  }
56
56
  return {
57
- 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileToJSON)(value['profile']),
58
- 'pod_info': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoToJSON)(value['podInfo']),
57
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileToJSON)(value['profile']),
58
+ 'pod_info': (0, UserDetailsPodInfo_1.UserDetailsPodInfoToJSON)(value['podInfo']),
59
59
  'app_id': value['appId'],
60
60
  };
61
61
  }
@@ -11,8 +11,8 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import type { ChangeEmail200ResponseProfile } from './ChangeEmail200ResponseProfile';
15
- import type { ChangeEmail200ResponsePodInfo } from './ChangeEmail200ResponsePodInfo';
14
+ import type { UserDetailsPodInfo } from './UserDetailsPodInfo';
15
+ import type { UserDetailsProfile } from './UserDetailsProfile';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -21,16 +21,16 @@ import type { ChangeEmail200ResponsePodInfo } from './ChangeEmail200ResponsePodI
21
21
  export interface UserDetails {
22
22
  /**
23
23
  *
24
- * @type {ChangeEmail200ResponseProfile}
24
+ * @type {UserDetailsProfile}
25
25
  * @memberof UserDetails
26
26
  */
27
- profile: ChangeEmail200ResponseProfile;
27
+ profile: UserDetailsProfile;
28
28
  /**
29
29
  *
30
- * @type {ChangeEmail200ResponsePodInfo}
30
+ * @type {UserDetailsPodInfo}
31
31
  * @memberof UserDetails
32
32
  */
33
- podInfo: ChangeEmail200ResponsePodInfo;
33
+ podInfo: UserDetailsPodInfo;
34
34
  /**
35
35
  * App ID
36
36
  * @type {string}
@@ -20,8 +20,8 @@ exports.UserDetailsFromJSON = UserDetailsFromJSON;
20
20
  exports.UserDetailsFromJSONTyped = UserDetailsFromJSONTyped;
21
21
  exports.UserDetailsToJSON = UserDetailsToJSON;
22
22
  exports.UserDetailsToJSONTyped = UserDetailsToJSONTyped;
23
- var ChangeEmail200ResponseProfile_1 = require("./ChangeEmail200ResponseProfile");
24
- var ChangeEmail200ResponsePodInfo_1 = require("./ChangeEmail200ResponsePodInfo");
23
+ var UserDetailsPodInfo_1 = require("./UserDetailsPodInfo");
24
+ var UserDetailsProfile_1 = require("./UserDetailsProfile");
25
25
  /**
26
26
  * Check if a given object implements the UserDetails interface.
27
27
  */
@@ -40,8 +40,8 @@ function UserDetailsFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileFromJSON)(json['profile']),
44
- 'podInfo': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoFromJSON)(json['pod_info']),
43
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileFromJSON)(json['profile']),
44
+ 'podInfo': (0, UserDetailsPodInfo_1.UserDetailsPodInfoFromJSON)(json['pod_info']),
45
45
  'appId': json['app_id'] == null ? undefined : json['app_id'],
46
46
  };
47
47
  }
@@ -54,8 +54,8 @@ function UserDetailsToJSONTyped(value, ignoreDiscriminator) {
54
54
  return value;
55
55
  }
56
56
  return {
57
- 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileToJSON)(value['profile']),
58
- 'pod_info': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoToJSON)(value['podInfo']),
57
+ 'profile': (0, UserDetailsProfile_1.UserDetailsProfileToJSON)(value['profile']),
58
+ 'pod_info': (0, UserDetailsPodInfo_1.UserDetailsPodInfoToJSON)(value['podInfo']),
59
59
  'app_id': value['appId'],
60
60
  };
61
61
  }
@@ -16,63 +16,63 @@ import type { Media } from './Media';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface ChangeEmail200ResponsePodInfo
19
+ * @interface UserDetailsPodInfo
20
20
  */
21
- export interface ChangeEmail200ResponsePodInfo {
21
+ export interface UserDetailsPodInfo {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ChangeEmail200ResponsePodInfo
25
+ * @memberof UserDetailsPodInfo
26
26
  */
27
27
  floorId: string;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
- * @memberof ChangeEmail200ResponsePodInfo
31
+ * @memberof UserDetailsPodInfo
32
32
  */
33
33
  isOwner?: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
- * @memberof ChangeEmail200ResponsePodInfo
37
+ * @memberof UserDetailsPodInfo
38
38
  */
39
39
  appId?: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
43
- * @memberof ChangeEmail200ResponsePodInfo
43
+ * @memberof UserDetailsPodInfo
44
44
  */
45
45
  title: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
- * @memberof ChangeEmail200ResponsePodInfo
49
+ * @memberof UserDetailsPodInfo
50
50
  */
51
51
  details?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
- * @memberof ChangeEmail200ResponsePodInfo
55
+ * @memberof UserDetailsPodInfo
56
56
  */
57
57
  floorUid: string;
58
58
  /**
59
59
  *
60
60
  * @type {Array<BlockDetails>}
61
- * @memberof ChangeEmail200ResponsePodInfo
61
+ * @memberof UserDetailsPodInfo
62
62
  */
63
63
  blocks: Array<BlockDetails>;
64
64
  /**
65
65
  *
66
66
  * @type {Media}
67
- * @memberof ChangeEmail200ResponsePodInfo
67
+ * @memberof UserDetailsPodInfo
68
68
  */
69
69
  avatar?: Media;
70
70
  }
71
71
  /**
72
- * Check if a given object implements the ChangeEmail200ResponsePodInfo interface.
72
+ * Check if a given object implements the UserDetailsPodInfo interface.
73
73
  */
74
- export declare function instanceOfChangeEmail200ResponsePodInfo(value: object): value is ChangeEmail200ResponsePodInfo;
75
- export declare function ChangeEmail200ResponsePodInfoFromJSON(json: any): ChangeEmail200ResponsePodInfo;
76
- export declare function ChangeEmail200ResponsePodInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200ResponsePodInfo;
77
- export declare function ChangeEmail200ResponsePodInfoToJSON(json: any): ChangeEmail200ResponsePodInfo;
78
- export declare function ChangeEmail200ResponsePodInfoToJSONTyped(value?: ChangeEmail200ResponsePodInfo | null, ignoreDiscriminator?: boolean): any;
74
+ export declare function instanceOfUserDetailsPodInfo(value: object): value is UserDetailsPodInfo;
75
+ export declare function UserDetailsPodInfoFromJSON(json: any): UserDetailsPodInfo;
76
+ export declare function UserDetailsPodInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetailsPodInfo;
77
+ export declare function UserDetailsPodInfoToJSON(json: any): UserDetailsPodInfo;
78
+ export declare function UserDetailsPodInfoToJSONTyped(value?: UserDetailsPodInfo | null, ignoreDiscriminator?: boolean): any;
@@ -15,17 +15,17 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfChangeEmail200ResponsePodInfo = instanceOfChangeEmail200ResponsePodInfo;
19
- exports.ChangeEmail200ResponsePodInfoFromJSON = ChangeEmail200ResponsePodInfoFromJSON;
20
- exports.ChangeEmail200ResponsePodInfoFromJSONTyped = ChangeEmail200ResponsePodInfoFromJSONTyped;
21
- exports.ChangeEmail200ResponsePodInfoToJSON = ChangeEmail200ResponsePodInfoToJSON;
22
- exports.ChangeEmail200ResponsePodInfoToJSONTyped = ChangeEmail200ResponsePodInfoToJSONTyped;
18
+ exports.instanceOfUserDetailsPodInfo = instanceOfUserDetailsPodInfo;
19
+ exports.UserDetailsPodInfoFromJSON = UserDetailsPodInfoFromJSON;
20
+ exports.UserDetailsPodInfoFromJSONTyped = UserDetailsPodInfoFromJSONTyped;
21
+ exports.UserDetailsPodInfoToJSON = UserDetailsPodInfoToJSON;
22
+ exports.UserDetailsPodInfoToJSONTyped = UserDetailsPodInfoToJSONTyped;
23
23
  var BlockDetails_1 = require("./BlockDetails");
24
24
  var Media_1 = require("./Media");
25
25
  /**
26
- * Check if a given object implements the ChangeEmail200ResponsePodInfo interface.
26
+ * Check if a given object implements the UserDetailsPodInfo interface.
27
27
  */
28
- function instanceOfChangeEmail200ResponsePodInfo(value) {
28
+ function instanceOfUserDetailsPodInfo(value) {
29
29
  if (!('floorId' in value) || value['floorId'] === undefined)
30
30
  return false;
31
31
  if (!('title' in value) || value['title'] === undefined)
@@ -36,10 +36,10 @@ function instanceOfChangeEmail200ResponsePodInfo(value) {
36
36
  return false;
37
37
  return true;
38
38
  }
39
- function ChangeEmail200ResponsePodInfoFromJSON(json) {
40
- return ChangeEmail200ResponsePodInfoFromJSONTyped(json, false);
39
+ function UserDetailsPodInfoFromJSON(json) {
40
+ return UserDetailsPodInfoFromJSONTyped(json, false);
41
41
  }
42
- function ChangeEmail200ResponsePodInfoFromJSONTyped(json, ignoreDiscriminator) {
42
+ function UserDetailsPodInfoFromJSONTyped(json, ignoreDiscriminator) {
43
43
  if (json == null) {
44
44
  return json;
45
45
  }
@@ -54,10 +54,10 @@ function ChangeEmail200ResponsePodInfoFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'avatar': json['avatar'] == null ? undefined : (0, Media_1.MediaFromJSON)(json['avatar']),
55
55
  };
56
56
  }
57
- function ChangeEmail200ResponsePodInfoToJSON(json) {
58
- return ChangeEmail200ResponsePodInfoToJSONTyped(json, false);
57
+ function UserDetailsPodInfoToJSON(json) {
58
+ return UserDetailsPodInfoToJSONTyped(json, false);
59
59
  }
60
- function ChangeEmail200ResponsePodInfoToJSONTyped(value, ignoreDiscriminator) {
60
+ function UserDetailsPodInfoToJSONTyped(value, ignoreDiscriminator) {
61
61
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
62
62
  if (value == null) {
63
63
  return value;
@@ -11,74 +11,74 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import type { ChangeEmail200ResponseProfileAvatar } from './ChangeEmail200ResponseProfileAvatar';
15
14
  import type { Remaining } from './Remaining';
15
+ import type { UserDetailsProfileAvatar } from './UserDetailsProfileAvatar';
16
16
  /**
17
17
  * User profile details
18
18
  * @export
19
- * @interface ChangeEmail200ResponseProfile
19
+ * @interface UserDetailsProfile
20
20
  */
21
- export interface ChangeEmail200ResponseProfile {
21
+ export interface UserDetailsProfile {
22
22
  /**
23
23
  * Associated floor ID
24
24
  * @type {string}
25
- * @memberof ChangeEmail200ResponseProfile
25
+ * @memberof UserDetailsProfile
26
26
  */
27
27
  floorId: string;
28
28
  /**
29
29
  *
30
30
  * @type {Remaining}
31
- * @memberof ChangeEmail200ResponseProfile
31
+ * @memberof UserDetailsProfile
32
32
  */
33
33
  floorCountInfo?: Remaining;
34
34
  /**
35
35
  *
36
36
  * @type {Remaining}
37
- * @memberof ChangeEmail200ResponseProfile
37
+ * @memberof UserDetailsProfile
38
38
  */
39
39
  blockCountInfo?: Remaining;
40
40
  /**
41
41
  * Unique ID of floor
42
42
  * @type {string}
43
- * @memberof ChangeEmail200ResponseProfile
43
+ * @memberof UserDetailsProfile
44
44
  */
45
45
  fID: string;
46
46
  /**
47
47
  * User Name
48
48
  * @type {string}
49
- * @memberof ChangeEmail200ResponseProfile
49
+ * @memberof UserDetailsProfile
50
50
  */
51
51
  name?: string;
52
52
  /**
53
53
  * Email ID
54
54
  * @type {string}
55
- * @memberof ChangeEmail200ResponseProfile
55
+ * @memberof UserDetailsProfile
56
56
  */
57
57
  email?: string;
58
58
  /**
59
59
  * Mobile number
60
60
  * @type {string}
61
- * @memberof ChangeEmail200ResponseProfile
61
+ * @memberof UserDetailsProfile
62
62
  */
63
63
  mobileNumber?: string;
64
64
  /**
65
65
  * Unique User ID
66
66
  * @type {string}
67
- * @memberof ChangeEmail200ResponseProfile
67
+ * @memberof UserDetailsProfile
68
68
  */
69
69
  userId: string;
70
70
  /**
71
71
  *
72
- * @type {ChangeEmail200ResponseProfileAvatar}
73
- * @memberof ChangeEmail200ResponseProfile
72
+ * @type {UserDetailsProfileAvatar}
73
+ * @memberof UserDetailsProfile
74
74
  */
75
- avatar?: ChangeEmail200ResponseProfileAvatar;
75
+ avatar?: UserDetailsProfileAvatar;
76
76
  }
77
77
  /**
78
- * Check if a given object implements the ChangeEmail200ResponseProfile interface.
78
+ * Check if a given object implements the UserDetailsProfile interface.
79
79
  */
80
- export declare function instanceOfChangeEmail200ResponseProfile(value: object): value is ChangeEmail200ResponseProfile;
81
- export declare function ChangeEmail200ResponseProfileFromJSON(json: any): ChangeEmail200ResponseProfile;
82
- export declare function ChangeEmail200ResponseProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200ResponseProfile;
83
- export declare function ChangeEmail200ResponseProfileToJSON(json: any): ChangeEmail200ResponseProfile;
84
- export declare function ChangeEmail200ResponseProfileToJSONTyped(value?: ChangeEmail200ResponseProfile | null, ignoreDiscriminator?: boolean): any;
80
+ export declare function instanceOfUserDetailsProfile(value: object): value is UserDetailsProfile;
81
+ export declare function UserDetailsProfileFromJSON(json: any): UserDetailsProfile;
82
+ export declare function UserDetailsProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetailsProfile;
83
+ export declare function UserDetailsProfileToJSON(json: any): UserDetailsProfile;
84
+ export declare function UserDetailsProfileToJSONTyped(value?: UserDetailsProfile | null, ignoreDiscriminator?: boolean): any;
@@ -15,17 +15,17 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfChangeEmail200ResponseProfile = instanceOfChangeEmail200ResponseProfile;
19
- exports.ChangeEmail200ResponseProfileFromJSON = ChangeEmail200ResponseProfileFromJSON;
20
- exports.ChangeEmail200ResponseProfileFromJSONTyped = ChangeEmail200ResponseProfileFromJSONTyped;
21
- exports.ChangeEmail200ResponseProfileToJSON = ChangeEmail200ResponseProfileToJSON;
22
- exports.ChangeEmail200ResponseProfileToJSONTyped = ChangeEmail200ResponseProfileToJSONTyped;
23
- var ChangeEmail200ResponseProfileAvatar_1 = require("./ChangeEmail200ResponseProfileAvatar");
18
+ exports.instanceOfUserDetailsProfile = instanceOfUserDetailsProfile;
19
+ exports.UserDetailsProfileFromJSON = UserDetailsProfileFromJSON;
20
+ exports.UserDetailsProfileFromJSONTyped = UserDetailsProfileFromJSONTyped;
21
+ exports.UserDetailsProfileToJSON = UserDetailsProfileToJSON;
22
+ exports.UserDetailsProfileToJSONTyped = UserDetailsProfileToJSONTyped;
24
23
  var Remaining_1 = require("./Remaining");
24
+ var UserDetailsProfileAvatar_1 = require("./UserDetailsProfileAvatar");
25
25
  /**
26
- * Check if a given object implements the ChangeEmail200ResponseProfile interface.
26
+ * Check if a given object implements the UserDetailsProfile interface.
27
27
  */
28
- function instanceOfChangeEmail200ResponseProfile(value) {
28
+ function instanceOfUserDetailsProfile(value) {
29
29
  if (!('floorId' in value) || value['floorId'] === undefined)
30
30
  return false;
31
31
  if (!('fID' in value) || value['fID'] === undefined)
@@ -34,10 +34,10 @@ function instanceOfChangeEmail200ResponseProfile(value) {
34
34
  return false;
35
35
  return true;
36
36
  }
37
- function ChangeEmail200ResponseProfileFromJSON(json) {
38
- return ChangeEmail200ResponseProfileFromJSONTyped(json, false);
37
+ function UserDetailsProfileFromJSON(json) {
38
+ return UserDetailsProfileFromJSONTyped(json, false);
39
39
  }
40
- function ChangeEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminator) {
40
+ function UserDetailsProfileFromJSONTyped(json, ignoreDiscriminator) {
41
41
  if (json == null) {
42
42
  return json;
43
43
  }
@@ -50,13 +50,13 @@ function ChangeEmail200ResponseProfileFromJSONTyped(json, ignoreDiscriminator) {
50
50
  'email': json['email'] == null ? undefined : json['email'],
51
51
  'mobileNumber': json['mobile_number'] == null ? undefined : json['mobile_number'],
52
52
  'userId': json['user_id'],
53
- 'avatar': json['avatar'] == null ? undefined : (0, ChangeEmail200ResponseProfileAvatar_1.ChangeEmail200ResponseProfileAvatarFromJSON)(json['avatar']),
53
+ 'avatar': json['avatar'] == null ? undefined : (0, UserDetailsProfileAvatar_1.UserDetailsProfileAvatarFromJSON)(json['avatar']),
54
54
  };
55
55
  }
56
- function ChangeEmail200ResponseProfileToJSON(json) {
57
- return ChangeEmail200ResponseProfileToJSONTyped(json, false);
56
+ function UserDetailsProfileToJSON(json) {
57
+ return UserDetailsProfileToJSONTyped(json, false);
58
58
  }
59
- function ChangeEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator) {
59
+ function UserDetailsProfileToJSONTyped(value, ignoreDiscriminator) {
60
60
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
61
61
  if (value == null) {
62
62
  return value;
@@ -70,6 +70,6 @@ function ChangeEmail200ResponseProfileToJSONTyped(value, ignoreDiscriminator) {
70
70
  'email': value['email'],
71
71
  'mobile_number': value['mobileNumber'],
72
72
  'user_id': value['userId'],
73
- 'avatar': (0, ChangeEmail200ResponseProfileAvatar_1.ChangeEmail200ResponseProfileAvatarToJSON)(value['avatar']),
73
+ 'avatar': (0, UserDetailsProfileAvatar_1.UserDetailsProfileAvatarToJSON)(value['avatar']),
74
74
  };
75
75
  }
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Floor Memory
3
+ * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
+ * - Memory and
5
+ * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: contact@ipomo.in
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Profile Pick details
16
+ * @export
17
+ * @interface UserDetailsProfileAvatar
18
+ */
19
+ export interface UserDetailsProfileAvatar {
20
+ /**
21
+ * Image URL
22
+ * @type {string}
23
+ * @memberof UserDetailsProfileAvatar
24
+ */
25
+ url: string;
26
+ /**
27
+ * Image ID
28
+ * @type {string}
29
+ * @memberof UserDetailsProfileAvatar
30
+ */
31
+ type: string;
32
+ }
33
+ /**
34
+ * Check if a given object implements the UserDetailsProfileAvatar interface.
35
+ */
36
+ export declare function instanceOfUserDetailsProfileAvatar(value: object): value is UserDetailsProfileAvatar;
37
+ export declare function UserDetailsProfileAvatarFromJSON(json: any): UserDetailsProfileAvatar;
38
+ export declare function UserDetailsProfileAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserDetailsProfileAvatar;
39
+ export declare function UserDetailsProfileAvatarToJSON(json: any): UserDetailsProfileAvatar;
40
+ export declare function UserDetailsProfileAvatarToJSONTyped(value?: UserDetailsProfileAvatar | null, ignoreDiscriminator?: boolean): any;
@@ -15,43 +15,43 @@
15
15
  * Do not edit the class manually.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfChangeEmail200ResponseProfileAvatar = instanceOfChangeEmail200ResponseProfileAvatar;
19
- exports.ChangeEmail200ResponseProfileAvatarFromJSON = ChangeEmail200ResponseProfileAvatarFromJSON;
20
- exports.ChangeEmail200ResponseProfileAvatarFromJSONTyped = ChangeEmail200ResponseProfileAvatarFromJSONTyped;
21
- exports.ChangeEmail200ResponseProfileAvatarToJSON = ChangeEmail200ResponseProfileAvatarToJSON;
22
- exports.ChangeEmail200ResponseProfileAvatarToJSONTyped = ChangeEmail200ResponseProfileAvatarToJSONTyped;
18
+ exports.instanceOfUserDetailsProfileAvatar = instanceOfUserDetailsProfileAvatar;
19
+ exports.UserDetailsProfileAvatarFromJSON = UserDetailsProfileAvatarFromJSON;
20
+ exports.UserDetailsProfileAvatarFromJSONTyped = UserDetailsProfileAvatarFromJSONTyped;
21
+ exports.UserDetailsProfileAvatarToJSON = UserDetailsProfileAvatarToJSON;
22
+ exports.UserDetailsProfileAvatarToJSONTyped = UserDetailsProfileAvatarToJSONTyped;
23
23
  /**
24
- * Check if a given object implements the ChangeEmail200ResponseProfileAvatar interface.
24
+ * Check if a given object implements the UserDetailsProfileAvatar interface.
25
25
  */
26
- function instanceOfChangeEmail200ResponseProfileAvatar(value) {
26
+ function instanceOfUserDetailsProfileAvatar(value) {
27
27
  if (!('url' in value) || value['url'] === undefined)
28
28
  return false;
29
- if (!('id' in value) || value['id'] === undefined)
29
+ if (!('type' in value) || value['type'] === undefined)
30
30
  return false;
31
31
  return true;
32
32
  }
33
- function ChangeEmail200ResponseProfileAvatarFromJSON(json) {
34
- return ChangeEmail200ResponseProfileAvatarFromJSONTyped(json, false);
33
+ function UserDetailsProfileAvatarFromJSON(json) {
34
+ return UserDetailsProfileAvatarFromJSONTyped(json, false);
35
35
  }
36
- function ChangeEmail200ResponseProfileAvatarFromJSONTyped(json, ignoreDiscriminator) {
36
+ function UserDetailsProfileAvatarFromJSONTyped(json, ignoreDiscriminator) {
37
37
  if (json == null) {
38
38
  return json;
39
39
  }
40
40
  return {
41
41
  'url': json['url'],
42
- 'id': json['id'],
42
+ 'type': json['type'],
43
43
  };
44
44
  }
45
- function ChangeEmail200ResponseProfileAvatarToJSON(json) {
46
- return ChangeEmail200ResponseProfileAvatarToJSONTyped(json, false);
45
+ function UserDetailsProfileAvatarToJSON(json) {
46
+ return UserDetailsProfileAvatarToJSONTyped(json, false);
47
47
  }
48
- function ChangeEmail200ResponseProfileAvatarToJSONTyped(value, ignoreDiscriminator) {
48
+ function UserDetailsProfileAvatarToJSONTyped(value, ignoreDiscriminator) {
49
49
  if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
50
50
  if (value == null) {
51
51
  return value;
52
52
  }
53
53
  return {
54
54
  'url': value['url'],
55
- 'id': value['id'],
55
+ 'type': value['type'],
56
56
  };
57
57
  }
@@ -1,8 +1,4 @@
1
1
  export * from './BlockDetails';
2
- export * from './ChangeEmail200Response';
3
- export * from './ChangeEmail200ResponsePodInfo';
4
- export * from './ChangeEmail200ResponseProfile';
5
- export * from './ChangeEmail200ResponseProfileAvatar';
6
2
  export * from './ChangePassword200Response';
7
3
  export * from './EditFloor200Response';
8
4
  export * from './EditFloor400Response';
@@ -32,6 +28,9 @@ export * from './SignInResponse';
32
28
  export * from './SignUp200Response';
33
29
  export * from './SignUpResponse';
34
30
  export * from './UserDetails';
31
+ export * from './UserDetailsPodInfo';
32
+ export * from './UserDetailsProfile';
33
+ export * from './UserDetailsProfileAvatar';
35
34
  export * from './ValidateCode400Response';
36
35
  export * from './ValidateCode400ResponseError';
37
36
  export * from './ValidateCode412Response';
@@ -17,10 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  /* tslint:disable */
18
18
  /* eslint-disable */
19
19
  __exportStar(require("./BlockDetails"), exports);
20
- __exportStar(require("./ChangeEmail200Response"), exports);
21
- __exportStar(require("./ChangeEmail200ResponsePodInfo"), exports);
22
- __exportStar(require("./ChangeEmail200ResponseProfile"), exports);
23
- __exportStar(require("./ChangeEmail200ResponseProfileAvatar"), exports);
24
20
  __exportStar(require("./ChangePassword200Response"), exports);
25
21
  __exportStar(require("./EditFloor200Response"), exports);
26
22
  __exportStar(require("./EditFloor400Response"), exports);
@@ -50,6 +46,9 @@ __exportStar(require("./SignInResponse"), exports);
50
46
  __exportStar(require("./SignUp200Response"), exports);
51
47
  __exportStar(require("./SignUpResponse"), exports);
52
48
  __exportStar(require("./UserDetails"), exports);
49
+ __exportStar(require("./UserDetailsPodInfo"), exports);
50
+ __exportStar(require("./UserDetailsProfile"), exports);
51
+ __exportStar(require("./UserDetailsProfileAvatar"), exports);
53
52
  __exportStar(require("./ValidateCode400Response"), exports);
54
53
  __exportStar(require("./ValidateCode400ResponseError"), exports);
55
54
  __exportStar(require("./ValidateCode412Response"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xfloor/floor-memory-sdk-ts",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "TypeScript SDK for xFloor Memory APIs (Memory + Registration).",
5
5
  "author": "xFloor",
6
6
  "repository": {
@@ -1,48 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import type { ChangeEmail200ResponseProfile } from './ChangeEmail200ResponseProfile';
15
- import type { ChangeEmail200ResponsePodInfo } from './ChangeEmail200ResponsePodInfo';
16
- /**
17
- *
18
- * @export
19
- * @interface ChangeEmail200Response
20
- */
21
- export interface ChangeEmail200Response {
22
- /**
23
- *
24
- * @type {ChangeEmail200ResponseProfile}
25
- * @memberof ChangeEmail200Response
26
- */
27
- profile: ChangeEmail200ResponseProfile;
28
- /**
29
- *
30
- * @type {ChangeEmail200ResponsePodInfo}
31
- * @memberof ChangeEmail200Response
32
- */
33
- podInfo: ChangeEmail200ResponsePodInfo;
34
- /**
35
- * App ID
36
- * @type {string}
37
- * @memberof ChangeEmail200Response
38
- */
39
- appId?: string;
40
- }
41
- /**
42
- * Check if a given object implements the ChangeEmail200Response interface.
43
- */
44
- export declare function instanceOfChangeEmail200Response(value: object): value is ChangeEmail200Response;
45
- export declare function ChangeEmail200ResponseFromJSON(json: any): ChangeEmail200Response;
46
- export declare function ChangeEmail200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200Response;
47
- export declare function ChangeEmail200ResponseToJSON(json: any): ChangeEmail200Response;
48
- export declare function ChangeEmail200ResponseToJSONTyped(value?: ChangeEmail200Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,61 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Floor Memory
6
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
7
- * - Memory and
8
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
9
- *
10
- * The version of the OpenAPI document: 1.0.0
11
- * Contact: contact@ipomo.in
12
- *
13
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
14
- * https://openapi-generator.tech
15
- * Do not edit the class manually.
16
- */
17
- Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.instanceOfChangeEmail200Response = instanceOfChangeEmail200Response;
19
- exports.ChangeEmail200ResponseFromJSON = ChangeEmail200ResponseFromJSON;
20
- exports.ChangeEmail200ResponseFromJSONTyped = ChangeEmail200ResponseFromJSONTyped;
21
- exports.ChangeEmail200ResponseToJSON = ChangeEmail200ResponseToJSON;
22
- exports.ChangeEmail200ResponseToJSONTyped = ChangeEmail200ResponseToJSONTyped;
23
- var ChangeEmail200ResponseProfile_1 = require("./ChangeEmail200ResponseProfile");
24
- var ChangeEmail200ResponsePodInfo_1 = require("./ChangeEmail200ResponsePodInfo");
25
- /**
26
- * Check if a given object implements the ChangeEmail200Response interface.
27
- */
28
- function instanceOfChangeEmail200Response(value) {
29
- if (!('profile' in value) || value['profile'] === undefined)
30
- return false;
31
- if (!('podInfo' in value) || value['podInfo'] === undefined)
32
- return false;
33
- return true;
34
- }
35
- function ChangeEmail200ResponseFromJSON(json) {
36
- return ChangeEmail200ResponseFromJSONTyped(json, false);
37
- }
38
- function ChangeEmail200ResponseFromJSONTyped(json, ignoreDiscriminator) {
39
- if (json == null) {
40
- return json;
41
- }
42
- return {
43
- 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileFromJSON)(json['profile']),
44
- 'podInfo': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoFromJSON)(json['pod_info']),
45
- 'appId': json['app_id'] == null ? undefined : json['app_id'],
46
- };
47
- }
48
- function ChangeEmail200ResponseToJSON(json) {
49
- return ChangeEmail200ResponseToJSONTyped(json, false);
50
- }
51
- function ChangeEmail200ResponseToJSONTyped(value, ignoreDiscriminator) {
52
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'profile': (0, ChangeEmail200ResponseProfile_1.ChangeEmail200ResponseProfileToJSON)(value['profile']),
58
- 'pod_info': (0, ChangeEmail200ResponsePodInfo_1.ChangeEmail200ResponsePodInfoToJSON)(value['podInfo']),
59
- 'app_id': value['appId'],
60
- };
61
- }
@@ -1,40 +0,0 @@
1
- /**
2
- * Floor Memory
3
- * The set APIs are used to develop Floor pds which can be used as their personal assistants. This set of APIs are divided into two parts.
4
- * - Memory and
5
- * - Registration. The developer has two ways of using the APIs for the app development. Developer can choose to the Registration APIs for using the existing xfloor infracture or can implement custom Registration process. In the case of custom registration process, the developer is bound to provide proper authentication mechanisms and then send the user information to xlfoor.
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- * Contact: contact@ipomo.in
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Profile Pick details
16
- * @export
17
- * @interface ChangeEmail200ResponseProfileAvatar
18
- */
19
- export interface ChangeEmail200ResponseProfileAvatar {
20
- /**
21
- * Image URL
22
- * @type {string}
23
- * @memberof ChangeEmail200ResponseProfileAvatar
24
- */
25
- url: string;
26
- /**
27
- * Image ID
28
- * @type {string}
29
- * @memberof ChangeEmail200ResponseProfileAvatar
30
- */
31
- id: string;
32
- }
33
- /**
34
- * Check if a given object implements the ChangeEmail200ResponseProfileAvatar interface.
35
- */
36
- export declare function instanceOfChangeEmail200ResponseProfileAvatar(value: object): value is ChangeEmail200ResponseProfileAvatar;
37
- export declare function ChangeEmail200ResponseProfileAvatarFromJSON(json: any): ChangeEmail200ResponseProfileAvatar;
38
- export declare function ChangeEmail200ResponseProfileAvatarFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeEmail200ResponseProfileAvatar;
39
- export declare function ChangeEmail200ResponseProfileAvatarToJSON(json: any): ChangeEmail200ResponseProfileAvatar;
40
- export declare function ChangeEmail200ResponseProfileAvatarToJSONTyped(value?: ChangeEmail200ResponseProfileAvatar | null, ignoreDiscriminator?: boolean): any;