@openbox/shared-types 0.1.65 → 0.1.67

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.
@@ -0,0 +1,4 @@
1
+ export declare class AuthUpdatePasswordRequest {
2
+ currentPassword: string;
3
+ newPassword: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthUpdatePasswordRequest = void 0;
4
+ class AuthUpdatePasswordRequest {
5
+ }
6
+ exports.AuthUpdatePasswordRequest = AuthUpdatePasswordRequest;
7
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/auth/UpdatePassword/Request.ts"],"names":[],"mappings":";;;AAAA,MAAa,yBAAyB;CAGrC;AAHD,8DAGC"}
@@ -0,0 +1,3 @@
1
+ export declare class AuthUpdatePasswordResponse {
2
+ message: string;
3
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthUpdatePasswordResponse = void 0;
4
+ class AuthUpdatePasswordResponse {
5
+ }
6
+ exports.AuthUpdatePasswordResponse = AuthUpdatePasswordResponse;
7
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/auth/UpdatePassword/Response.ts"],"names":[],"mappings":";;;AAAA,MAAa,0BAA0B;CAEtC;AAFD,gEAEC"}
@@ -1,8 +1,10 @@
1
- import { AuthGetUserResponse, LoggedUserInfo } from './GetUser/Response';
1
+ import { AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess } from './GetUser/Response';
2
2
  import { AuthLoginRequest } from './Login/Request';
3
3
  import { AuthLoginResponse, JWTResponse } from './Login/Response';
4
4
  import { AuthRecoverPasswordRequest } from './RecoverPassword/Request';
5
5
  import { AuthRecoverPasswordResponse } from './RecoverPassword/Response';
6
6
  import { AuthResetPasswordRequest } from './ResetPassword/Request';
7
7
  import { AuthResetPasswordResponse } from './ResetPassword/Response';
8
- export { AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordResponse, AuthResetPasswordRequest, AuthGetUserResponse, LoggedUserInfo, };
8
+ import { AuthUpdatePasswordRequest } from './UpdatePassword/Request';
9
+ import { AuthUpdatePasswordResponse } from './UpdatePassword/Response';
10
+ export { AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordResponse, AuthResetPasswordRequest, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, };
package/lib/auth/index.js CHANGED
@@ -1,3 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthUpdatePasswordResponse = exports.AuthUpdatePasswordRequest = void 0;
4
+ const Request_1 = require("./UpdatePassword/Request");
5
+ Object.defineProperty(exports, "AuthUpdatePasswordRequest", { enumerable: true, get: function () { return Request_1.AuthUpdatePasswordRequest; } });
6
+ const Response_1 = require("./UpdatePassword/Response");
7
+ Object.defineProperty(exports, "AuthUpdatePasswordResponse", { enumerable: true, get: function () { return Response_1.AuthUpdatePasswordResponse; } });
3
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":";;;AAWA,sDAAoE;AAclE,0GAdO,mCAAyB,OAcP;AAb3B,wDAAsE;AAcpE,2GAdO,qCAA0B,OAcP"}
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, JWTResponse, LoggedUserInfo } from './auth';
1
+ import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, JWTResponse, LoggedUserInfo, LoggedUserInfoProfileAccess } from './auth';
2
2
  import { CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, GetServiceResponse, GetServicesRequest, GetServicesResponse, ManyServices, ServiceSellingType, SingleService, UpdateServiceRequest, UpdateServiceResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse } from './services';
3
- export { ManyServices, GetServicesRequest, GetServicesResponse, SingleService, ServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, };
3
+ export { ManyServices, GetServicesRequest, GetServicesResponse, SingleService, ServiceSellingType, GetServiceResponse, CreateServiceRequest, CreateServiceResponse, DeleteServiceResponse, DeleteServicesRequest, DeleteServicesResponse, UpdateServicesStatusRequest, UpdateServicesStatusResponse, UpdateServiceStatusRequest, UpdateServiceStatusResponse, UpdateServiceRequest, UpdateServiceResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, };
package/lib/index.js CHANGED
@@ -1,3 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AuthUpdatePasswordResponse = exports.AuthUpdatePasswordRequest = void 0;
4
+ const auth_1 = require("./auth");
5
+ Object.defineProperty(exports, "AuthUpdatePasswordRequest", { enumerable: true, get: function () { return auth_1.AuthUpdatePasswordRequest; } });
6
+ Object.defineProperty(exports, "AuthUpdatePasswordResponse", { enumerable: true, get: function () { return auth_1.AuthUpdatePasswordResponse; } });
3
7
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,iCAae;AAiDb,0GAtDA,gCAAyB,OAsDA;AACzB,2GAtDA,iCAA0B,OAsDA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -0,0 +1,4 @@
1
+ export class AuthUpdatePasswordRequest {
2
+ currentPassword: string
3
+ newPassword: string
4
+ }
@@ -0,0 +1,3 @@
1
+ export class AuthUpdatePasswordResponse {
2
+ message: string
3
+ }
package/src/auth/index.ts CHANGED
@@ -1,10 +1,16 @@
1
- import { AuthGetUserResponse, LoggedUserInfo } from './GetUser/Response'
1
+ import {
2
+ AuthGetUserResponse,
3
+ LoggedUserInfo,
4
+ LoggedUserInfoProfileAccess,
5
+ } from './GetUser/Response'
2
6
  import { AuthLoginRequest } from './Login/Request'
3
7
  import { AuthLoginResponse, JWTResponse } from './Login/Response'
4
8
  import { AuthRecoverPasswordRequest } from './RecoverPassword/Request'
5
9
  import { AuthRecoverPasswordResponse } from './RecoverPassword/Response'
6
10
  import { AuthResetPasswordRequest } from './ResetPassword/Request'
7
11
  import { AuthResetPasswordResponse } from './ResetPassword/Response'
12
+ import { AuthUpdatePasswordRequest } from './UpdatePassword/Request'
13
+ import { AuthUpdatePasswordResponse } from './UpdatePassword/Response'
8
14
 
9
15
  export {
10
16
  AuthLoginRequest,
@@ -16,4 +22,7 @@ export {
16
22
  AuthResetPasswordRequest,
17
23
  AuthGetUserResponse,
18
24
  LoggedUserInfo,
25
+ LoggedUserInfoProfileAccess,
26
+ AuthUpdatePasswordRequest,
27
+ AuthUpdatePasswordResponse,
19
28
  }
package/src/index.ts CHANGED
@@ -6,8 +6,11 @@ import {
6
6
  AuthRecoverPasswordResponse,
7
7
  AuthResetPasswordRequest,
8
8
  AuthResetPasswordResponse,
9
+ AuthUpdatePasswordRequest,
10
+ AuthUpdatePasswordResponse,
9
11
  JWTResponse,
10
12
  LoggedUserInfo,
13
+ LoggedUserInfoProfileAccess,
11
14
  } from './auth'
12
15
  import {
13
16
  CreateServiceRequest,
@@ -56,4 +59,7 @@ export {
56
59
  AuthResetPasswordResponse,
57
60
  AuthGetUserResponse,
58
61
  LoggedUserInfo,
62
+ LoggedUserInfoProfileAccess,
63
+ AuthUpdatePasswordRequest,
64
+ AuthUpdatePasswordResponse,
59
65
  }