@nomalism-com/api 0.8.290 → 0.8.292

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/dist/index.d.ts CHANGED
@@ -120,8 +120,8 @@ export * as StartDocumentHeaderLastUpdate from './modules/supply/startDocumentHe
120
120
  export * as ErrorHandler from './modules/integration/errorHandler';
121
121
  export * as Persona from './modules/user/persona';
122
122
  export * as ProjectInfo from './modules/integration/projectInfo';
123
- export * as Order from './modules/supply/order';
124
- export * as Purchase from './modules/supply/purchase';
125
- export * as MaterialEntrance from './modules/supply/materialEntrance';
123
+ export * as Order from './modules/document/order';
124
+ export * as Purchase from './modules/document/purchase';
125
+ export * as MaterialEntrance from './modules/document/materialEntrance';
126
126
  export default api;
127
127
  export { shared };
package/dist/index.js CHANGED
@@ -152,7 +152,7 @@ exports.StartDocumentHeaderLastUpdate = __importStar(require("./modules/supply/s
152
152
  exports.ErrorHandler = __importStar(require("./modules/integration/errorHandler"));
153
153
  exports.Persona = __importStar(require("./modules/user/persona"));
154
154
  exports.ProjectInfo = __importStar(require("./modules/integration/projectInfo"));
155
- exports.Order = __importStar(require("./modules/supply/order"));
156
- exports.Purchase = __importStar(require("./modules/supply/purchase"));
157
- exports.MaterialEntrance = __importStar(require("./modules/supply/materialEntrance"));
155
+ exports.Order = __importStar(require("./modules/document/order"));
156
+ exports.Purchase = __importStar(require("./modules/document/purchase"));
157
+ exports.MaterialEntrance = __importStar(require("./modules/document/materialEntrance"));
158
158
  exports.default = client_1.default;
@@ -2,6 +2,7 @@ import { shared, PreSale as Entity } from '@nomalism-com/types';
2
2
  export import IFindResponse = Entity.IFindResponse;
3
3
  export import IFindResponseWithQuantityOfPlots = Entity.IFindResponseWithQuantityOfPlots;
4
4
  export import ICreateRequest = Entity.ICreateRequest;
5
+ export import IProductMinified = Entity.IProductMinified;
5
6
  export import IEntityExtended = Entity.IEntityExtended;
6
7
  export import IUpdateRequest = Entity.IUpdateRequest;
7
8
  export import IRemovePlotOrPreSaleProductRequest = Entity.IRemovePlotOrPreSaleProductRequest;
package/package.json CHANGED
@@ -1,53 +1,53 @@
1
- {
2
- "name": "@nomalism-com/api",
3
- "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
5
- "keywords": [
6
- "nomalism",
7
- "api",
8
- "types",
9
- "typescript",
10
- "helper"
11
- ],
12
- "version": "0.8.290",
13
- "main": "dist/index.js",
14
- "types": "./dist/index.d.ts",
15
- "files": [
16
- "dist"
17
- ],
18
- "license": "UNLICENSED",
19
- "homepage": "https://gitlab.com/nomalism-develop/api",
20
- "bugs": {
21
- "url": "https://gitlab.com/nomalism-develop/api/issues"
22
- },
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://gitlab.com/nomalism-develop/api.git"
26
- },
27
- "scripts": {
28
- "lint": "eslint src --ext .ts,.js --ignore-pattern node_modules --ignore-pattern dist --cache",
29
- "build": "rm -rf dist && tsc --project tsconfig.json",
30
- "start": "tsx --tsconfig ./tsconfig.json src/index.ts",
31
- "prepack": "concurrently --success all \"npm run lint\" \"npm run build\" \"npm run start\""
32
- },
33
- "devDependencies": {
34
- "@types/convert-units": "^2.3.5",
35
- "@types/node": "^18.16.14",
36
- "@typescript-eslint/eslint-plugin": "^5.59.7",
37
- "@typescript-eslint/parser": "^5.59.7",
38
- "concurrently": "^8.0.1",
39
- "eslint": "^8.41.0",
40
- "eslint-config-airbnb-base": "^15.0.0",
41
- "eslint-config-prettier": "^8.8.0",
42
- "eslint-import-resolver-typescript": "^3.5.5",
43
- "eslint-plugin-import": "^2.27.5",
44
- "eslint-plugin-prettier": "^4.2.1",
45
- "prettier": "^2.8.8",
46
- "tsx": "^3.12.7",
47
- "typescript": "^5.0.4"
48
- },
49
- "dependencies": {
50
- "@nomalism-com/types": "^0.9.378",
51
- "axios": "^0.27.2"
52
- }
53
- }
1
+ {
2
+ "name": "@nomalism-com/api",
3
+ "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
+ "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
5
+ "keywords": [
6
+ "nomalism",
7
+ "api",
8
+ "types",
9
+ "typescript",
10
+ "helper"
11
+ ],
12
+ "version": "0.8.292",
13
+ "main": "dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "files": [
16
+ "dist"
17
+ ],
18
+ "license": "UNLICENSED",
19
+ "homepage": "https://gitlab.com/nomalism-develop/api",
20
+ "bugs": {
21
+ "url": "https://gitlab.com/nomalism-develop/api/issues"
22
+ },
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://gitlab.com/nomalism-develop/api.git"
26
+ },
27
+ "scripts": {
28
+ "lint": "eslint src --ext .ts,.js --ignore-pattern node_modules --ignore-pattern dist --cache",
29
+ "build": "rm -rf dist && tsc --project tsconfig.json",
30
+ "start": "tsx --tsconfig ./tsconfig.json src/index.ts",
31
+ "prepack": "concurrently --success all \"npm run lint\" \"npm run build\" \"npm run start\""
32
+ },
33
+ "devDependencies": {
34
+ "@types/convert-units": "^2.3.5",
35
+ "@types/node": "^18.16.14",
36
+ "@typescript-eslint/eslint-plugin": "^5.59.7",
37
+ "@typescript-eslint/parser": "^5.59.7",
38
+ "concurrently": "^8.0.1",
39
+ "eslint": "^8.41.0",
40
+ "eslint-config-airbnb-base": "^15.0.0",
41
+ "eslint-config-prettier": "^8.8.0",
42
+ "eslint-import-resolver-typescript": "^3.5.5",
43
+ "eslint-plugin-import": "^2.27.5",
44
+ "eslint-plugin-prettier": "^4.2.1",
45
+ "prettier": "^2.8.8",
46
+ "tsx": "^3.12.7",
47
+ "typescript": "^5.0.4"
48
+ },
49
+ "dependencies": {
50
+ "@nomalism-com/types": "^0.9.380",
51
+ "axios": "^0.27.2"
52
+ }
53
+ }
File without changes
File without changes
File without changes
File without changes