@openbox/shared-types 0.1.67 → 0.1.69

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.
@@ -1,4 +1,4 @@
1
- export declare class AuthUpdatePasswordRequest {
1
+ export interface AuthUpdatePasswordRequest {
2
2
  currentPassword: string;
3
3
  newPassword: string;
4
4
  }
@@ -1,7 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthUpdatePasswordRequest = void 0;
4
- class AuthUpdatePasswordRequest {
5
- }
6
- exports.AuthUpdatePasswordRequest = AuthUpdatePasswordRequest;
7
3
  //# sourceMappingURL=Request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/auth/UpdatePassword/Request.ts"],"names":[],"mappings":";;;AAAA,MAAa,yBAAyB;CAGrC;AAHD,8DAGC"}
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/auth/UpdatePassword/Request.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- export declare class AuthUpdatePasswordResponse {
1
+ export interface AuthUpdatePasswordResponse {
2
2
  message: string;
3
3
  }
@@ -1,7 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthUpdatePasswordResponse = void 0;
4
- class AuthUpdatePasswordResponse {
5
- }
6
- exports.AuthUpdatePasswordResponse = AuthUpdatePasswordResponse;
7
3
  //# sourceMappingURL=Response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/auth/UpdatePassword/Response.ts"],"names":[],"mappings":";;;AAAA,MAAa,0BAA0B;CAEtC;AAFD,gEAEC"}
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/auth/UpdatePassword/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface AuthUpdateWorkspaceRequest {
2
+ bid: string;
3
+ cid: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../src/auth/UpdateWorkspace/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export interface WorkspaceChanged {
2
+ access_token: string;
3
+ }
4
+ export interface AuthUpdateWorkspaceResponse {
5
+ data: WorkspaceChanged;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../src/auth/UpdateWorkspace/Response.ts"],"names":[],"mappings":""}
@@ -7,4 +7,6 @@ import { AuthResetPasswordRequest } from './ResetPassword/Request';
7
7
  import { AuthResetPasswordResponse } from './ResetPassword/Response';
8
8
  import { AuthUpdatePasswordRequest } from './UpdatePassword/Request';
9
9
  import { AuthUpdatePasswordResponse } from './UpdatePassword/Response';
10
- export { AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordResponse, AuthResetPasswordRequest, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, };
10
+ import { AuthUpdateWorkspaceRequest } from './UpdateWorkspace/Request';
11
+ import { AuthUpdateWorkspaceResponse, WorkspaceChanged } from './UpdateWorkspace/Response';
12
+ export { AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordResponse, AuthResetPasswordRequest, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, };
package/lib/auth/index.js CHANGED
@@ -1,8 +1,3 @@
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; } });
8
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/auth/index.ts"],"names":[],"mappings":""}
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, JWTResponse, LoggedUserInfo, LoggedUserInfoProfileAccess } from './auth';
1
+ import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, JWTResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, WorkspaceChanged } 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, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, };
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, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, };
package/lib/index.js CHANGED
@@ -1,7 +1,3 @@
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; } });
7
3
  //# 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":";;;AAAA,iCAae;AAiDb,0GAtDA,gCAAyB,OAsDA;AACzB,2GAtDA,iCAA0B,OAsDA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.1.67",
3
+ "version": "0.1.69",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,4 @@
1
- export class AuthUpdatePasswordRequest {
1
+ export interface AuthUpdatePasswordRequest {
2
2
  currentPassword: string
3
3
  newPassword: string
4
4
  }
@@ -1,3 +1,3 @@
1
- export class AuthUpdatePasswordResponse {
1
+ export interface AuthUpdatePasswordResponse {
2
2
  message: string
3
3
  }
@@ -0,0 +1,4 @@
1
+ export interface AuthUpdateWorkspaceRequest {
2
+ bid: string
3
+ cid: string
4
+ }
@@ -0,0 +1,7 @@
1
+ export interface WorkspaceChanged {
2
+ access_token: string
3
+ }
4
+
5
+ export interface AuthUpdateWorkspaceResponse {
6
+ data: WorkspaceChanged
7
+ }
package/src/auth/index.ts CHANGED
@@ -11,6 +11,11 @@ import { AuthResetPasswordRequest } from './ResetPassword/Request'
11
11
  import { AuthResetPasswordResponse } from './ResetPassword/Response'
12
12
  import { AuthUpdatePasswordRequest } from './UpdatePassword/Request'
13
13
  import { AuthUpdatePasswordResponse } from './UpdatePassword/Response'
14
+ import { AuthUpdateWorkspaceRequest } from './UpdateWorkspace/Request'
15
+ import {
16
+ AuthUpdateWorkspaceResponse,
17
+ WorkspaceChanged,
18
+ } from './UpdateWorkspace/Response'
14
19
 
15
20
  export {
16
21
  AuthLoginRequest,
@@ -25,4 +30,7 @@ export {
25
30
  LoggedUserInfoProfileAccess,
26
31
  AuthUpdatePasswordRequest,
27
32
  AuthUpdatePasswordResponse,
33
+ AuthUpdateWorkspaceRequest,
34
+ AuthUpdateWorkspaceResponse,
35
+ WorkspaceChanged,
28
36
  }
package/src/index.ts CHANGED
@@ -8,9 +8,12 @@ import {
8
8
  AuthResetPasswordResponse,
9
9
  AuthUpdatePasswordRequest,
10
10
  AuthUpdatePasswordResponse,
11
+ AuthUpdateWorkspaceRequest,
12
+ AuthUpdateWorkspaceResponse,
11
13
  JWTResponse,
12
14
  LoggedUserInfo,
13
15
  LoggedUserInfoProfileAccess,
16
+ WorkspaceChanged,
14
17
  } from './auth'
15
18
  import {
16
19
  CreateServiceRequest,
@@ -62,4 +65,7 @@ export {
62
65
  LoggedUserInfoProfileAccess,
63
66
  AuthUpdatePasswordRequest,
64
67
  AuthUpdatePasswordResponse,
68
+ AuthUpdateWorkspaceRequest,
69
+ AuthUpdateWorkspaceResponse,
70
+ WorkspaceChanged,
65
71
  }