@nomalism-com/api 1.3.57 → 1.3.62
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.cjs +487 -1241
- package/dist/index.js +487 -1241
- package/dist/main.d.ts +3 -20
- package/dist/modules/document/materialEntrance.d.ts +1 -1
- package/dist/modules/documentManagement/multimedia.d.ts +1 -1
- package/dist/modules/integration/googleFilePermission.d.ts +0 -3
- package/dist/modules/integration/settings.d.ts +0 -1
- package/dist/modules/print/printer.d.ts +0 -1
- package/dist/modules/sms/smsTemplate.d.ts +0 -4
- package/dist/modules/stock/displayLabel.d.ts +1 -1
- package/dist/modules/stock/location.d.ts +0 -7
- package/dist/modules/stock/productGoogleSheets.d.ts +2 -2
- package/dist/modules/stock/productImage.d.ts +1 -0
- package/dist/modules/stock/productUpdate.d.ts +14 -0
- package/dist/modules/stock/queryList.d.ts +0 -4
- package/dist/modules/stock/returnReason.d.ts +0 -3
- package/dist/modules/stock/unitOfMeasure.d.ts +0 -4
- package/dist/modules/stock/vatTax.d.ts +0 -4
- package/dist/modules/stock/vatTaxZone.d.ts +0 -4
- package/dist/modules/supply/documentLine.d.ts +2 -2
- package/dist/modules/supply/documentSet.d.ts +0 -4
- package/dist/modules/supply/payment.d.ts +0 -3
- package/dist/modules/supply/paymentBatch.d.ts +1 -6
- package/dist/modules/supply/saft.d.ts +2 -6
- package/dist/modules/ui/sidemenuHighlight.d.ts +0 -1
- package/dist/modules/user/bankData.d.ts +0 -3
- package/dist/modules/user/clientType.d.ts +0 -5
- package/dist/modules/user/country.d.ts +0 -5
- package/dist/modules/user/deliveryMethods.d.ts +0 -1
- package/dist/modules/user/favorites.d.ts +0 -3
- package/dist/modules/user/language.d.ts +0 -3
- package/dist/modules/user/maturityDates.d.ts +0 -1
- package/dist/modules/user/paymentMethods.d.ts +0 -1
- package/dist/modules/user/providerType.d.ts +0 -5
- package/dist/modules/user/purchaseCondition.d.ts +0 -3
- package/dist/modules/user/reasonForExemption.d.ts +0 -1
- package/dist/modules/user/segmentsArea.d.ts +0 -5
- package/dist/modules/user/shippings.d.ts +0 -3
- package/dist/modules/user/storeOperator.d.ts +0 -2
- package/dist/modules/user/swift.d.ts +0 -5
- package/dist/modules/user/systemModule.d.ts +0 -1
- package/package.json +6 -6
- package/dist/modules/document/productionOrder.d.ts +0 -8
- package/dist/modules/integration/emailTemplateAttachment.d.ts +0 -9
- package/dist/modules/integration/observationType.d.ts +0 -12
- package/dist/modules/stock/queryParameter.d.ts +0 -13
- package/dist/modules/stock/typeOfLocation.d.ts +0 -15
- package/dist/modules/supply/externalDocumentType.d.ts +0 -9
- package/dist/modules/user/userPositions.d.ts +0 -14
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "1.3.
|
|
4
|
+
"version": "1.3.62",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"prepare": "husky"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@nomalism-com/types": "^1.3.
|
|
33
|
+
"@nomalism-com/types": "^1.3.62",
|
|
34
34
|
"axios": "^1.20.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@eslint/js": "^10.0.1",
|
|
38
|
-
"@swc/core": "^1.16.
|
|
38
|
+
"@swc/core": "^1.16.18",
|
|
39
39
|
"@types/node": "^26.6.5",
|
|
40
40
|
"@typescript-eslint/eslint-plugin": "^8.62.0",
|
|
41
41
|
"@typescript-eslint/parser": "^8.62.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"lint-staged": "^17.6.0",
|
|
48
48
|
"prettier": "^3.9.10",
|
|
49
49
|
"tsup": "^8.5.1",
|
|
50
|
-
"typescript-eslint": "^8.71.
|
|
50
|
+
"typescript-eslint": "^8.71.2"
|
|
51
51
|
},
|
|
52
52
|
"repository": {
|
|
53
53
|
"type": "git",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
]
|
|
69
69
|
},
|
|
70
70
|
"allowScripts": {
|
|
71
|
-
"esbuild
|
|
72
|
-
"@swc/core
|
|
71
|
+
"esbuild": true,
|
|
72
|
+
"@swc/core": true
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.ProductionOrder.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
createProductionOrder(body: Nomalism.ProductionOrder.ICreateProductionOrderRequest): Promise<void>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.EmailTemplateAttachment.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
create(data: Nomalism.EmailTemplateAttachment.ICreateRequest): Promise<string>;
|
|
8
|
-
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<void>;
|
|
9
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.ObservationType.IApi {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(): Promise<Nomalism.ObservationType.Entity[]>;
|
|
8
|
-
findMinified(params?: Nomalism.shared.IFindMinifiedRequest): Promise<Nomalism.shared.IFindMinifiedResponse[]>;
|
|
9
|
-
create(body: Nomalism.ObservationType.ICreateRequest): Promise<Nomalism.ObservationType.Entity>;
|
|
10
|
-
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.ObservationType.IUpdateRequest): Promise<Nomalism.ObservationType.Entity | null>;
|
|
11
|
-
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.ObservationType.Entity | null>;
|
|
12
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.QueryParameter.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(): Promise<Nomalism.QueryParameter.Entity[]>;
|
|
8
|
-
findById(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.QueryParameter.Entity | null>;
|
|
9
|
-
create(body: Nomalism.QueryParameter.ICreateRequest): Promise<Nomalism.QueryParameter.Entity>;
|
|
10
|
-
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.QueryParameter.IUpdateRequest): Promise<Nomalism.QueryParameter.Entity | null>;
|
|
11
|
-
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<void>;
|
|
12
|
-
findByOwnerId(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.QueryParameter.IFindByOwnerIdResponse[]>;
|
|
13
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.TypeOfLocation.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(params: Nomalism.TypeOfLocation.IFindRequest): Promise<Nomalism.TypeOfLocation.IFindResponse[]>;
|
|
8
|
-
findPaginated(params: Nomalism.TypeOfLocation.IFindPaginatedRequest): Promise<Nomalism.shared.IPaginationResponse<Nomalism.TypeOfLocation.IFindResponse>>;
|
|
9
|
-
findMinified(params?: Nomalism.shared.IFindMinifiedRequest): Promise<Nomalism.shared.IFindMinifiedResponse[]>;
|
|
10
|
-
findByOwnerId(params: Nomalism.shared.IFindByOwnerIdRequest): Promise<Nomalism.TypeOfLocation.IFindResponse[]>;
|
|
11
|
-
findById(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.TypeOfLocation.IFindResponse | null>;
|
|
12
|
-
create(body: Nomalism.TypeOfLocation.ICreateRequest): Promise<Nomalism.TypeOfLocation.Entity>;
|
|
13
|
-
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.TypeOfLocation.IUpdateRequest): Promise<Nomalism.TypeOfLocation.Entity | null>;
|
|
14
|
-
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.TypeOfLocation.Entity | null>;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.ExternalDocumentType.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(): Promise<Nomalism.ExternalDocumentType.Entity[]>;
|
|
8
|
-
findMinified(params?: Nomalism.shared.IFindMinifiedRequest): Promise<Nomalism.shared.IFindMinifiedResponse[]>;
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as Nomalism from "@nomalism-com/types";
|
|
2
|
-
import { IModuleConstructor } from "../../main";
|
|
3
|
-
export default class Repository implements Nomalism.UserPositions.IRepository {
|
|
4
|
-
route: string;
|
|
5
|
-
private api;
|
|
6
|
-
constructor({ api, route }: IModuleConstructor);
|
|
7
|
-
find(params: Nomalism.UserPositions.IFindRequest): Promise<Nomalism.UserPositions.IFindResponse[]>;
|
|
8
|
-
findPaginated(params: Nomalism.UserPositions.IFindPaginatedRequest): Promise<Nomalism.shared.IPaginationResponse<Nomalism.UserPositions.IFindResponse>>;
|
|
9
|
-
findMinified(params?: Nomalism.shared.IFindMinifiedRequest): Promise<Nomalism.shared.IFindMinifiedResponse[]>;
|
|
10
|
-
findById(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.UserPositions.IFindResponse | null>;
|
|
11
|
-
create(body: Nomalism.UserPositions.ICreateRequest): Promise<Nomalism.UserPositions.Entity>;
|
|
12
|
-
update(selector: Nomalism.shared.IFindByIdRequest, body: Nomalism.UserPositions.IUpdateRequest): Promise<Nomalism.UserPositions.Entity | null>;
|
|
13
|
-
deleteOne(selector: Nomalism.shared.IFindByIdRequest): Promise<Nomalism.UserPositions.Entity | null>;
|
|
14
|
-
}
|