@openbox/shared-types 0.4.98 → 0.5.0

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/lib/index.d.ts CHANGED
@@ -5,5 +5,6 @@ export * from './inventories';
5
5
  export * from './invoices';
6
6
  export * from './legal';
7
7
  export * from './management';
8
+ export * from './partners';
8
9
  export * from './services';
9
10
  export * from './system';
package/lib/index.js CHANGED
@@ -21,6 +21,7 @@ __exportStar(require("./inventories"), exports);
21
21
  __exportStar(require("./invoices"), exports);
22
22
  __exportStar(require("./legal"), exports);
23
23
  __exportStar(require("./management"), exports);
24
+ __exportStar(require("./partners"), exports);
24
25
  __exportStar(require("./services"), exports);
25
26
  __exportStar(require("./system"), exports);
26
27
  //# 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,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,gDAA6B;AAC7B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,2CAAwB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,yCAAsB;AACtB,8CAA2B;AAC3B,gDAA6B;AAC7B,6CAA0B;AAC1B,0CAAuB;AACvB,+CAA4B;AAC5B,6CAA0B;AAC1B,6CAA0B;AAC1B,2CAAwB"}
@@ -0,0 +1,4 @@
1
+ export type PartnersV1AuthProcessLoginRequest = {
2
+ key: string;
3
+ secret: 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/partners/V1/auth/ProcessLogin/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export type PartnersV1AuthProcessLoginResponseData = {
2
+ access_token: string;
3
+ };
4
+ export type PartnersV1AuthProcessLoginResponse = {
5
+ data: PartnersV1AuthProcessLoginResponseData;
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/partners/V1/auth/ProcessLogin/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './ProcessLogin/Request';
2
+ export * from './ProcessLogin/Response';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ProcessLogin/Request"), exports);
18
+ __exportStar(require("./ProcessLogin/Response"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC"}
@@ -0,0 +1 @@
1
+ export * from './auth';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./auth"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/partners/V1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB"}
@@ -0,0 +1 @@
1
+ export * from './V1';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./V1"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/partners/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAoB"}
@@ -1,6 +1,7 @@
1
1
  import { SystemLogs } from '../system.logs.types';
2
2
  export type SystemLogsCreateSingleRequest = Omit<SystemLogs, 'id' | 'user' | 'module' | 'company' | 'companyBranch'> & {
3
3
  user: string;
4
+ key: string;
4
5
  module: string;
5
6
  company: string;
6
7
  companyBranch: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.4.98",
3
+ "version": "0.5.0",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -5,6 +5,7 @@ export type SystemLogsCreateSingleRequest = Omit<
5
5
  'id' | 'user' | 'module' | 'company' | 'companyBranch'
6
6
  > & {
7
7
  user: string
8
+ key: string
8
9
  module: string
9
10
  company: string
10
11
  companyBranch: string
package/src/index.ts CHANGED
@@ -5,5 +5,6 @@ export * from './inventories'
5
5
  export * from './invoices'
6
6
  export * from './legal'
7
7
  export * from './management'
8
+ export * from './partners'
8
9
  export * from './services'
9
10
  export * from './system'
@@ -0,0 +1,4 @@
1
+ export type PartnersV1AuthProcessLoginRequest = {
2
+ key: string
3
+ secret: string
4
+ }
@@ -0,0 +1,7 @@
1
+ export type PartnersV1AuthProcessLoginResponseData = {
2
+ access_token: string
3
+ }
4
+
5
+ export type PartnersV1AuthProcessLoginResponse = {
6
+ data: PartnersV1AuthProcessLoginResponseData
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './ProcessLogin/Request'
2
+ export * from './ProcessLogin/Response'
@@ -0,0 +1 @@
1
+ export * from './auth'
@@ -0,0 +1 @@
1
+ export * from './V1'