@nomalism-com/api 0.8.167 → 0.8.169
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 +2 -1
- package/dist/index.js +3 -1
- package/package.json +53 -53
package/dist/index.d.ts
CHANGED
|
@@ -120,5 +120,6 @@ import * as TicketsLanguage from './modules/tickets/language';
|
|
|
120
120
|
import * as Clt from './modules/tickets/clt';
|
|
121
121
|
import * as StartDocumentHeaderLastUpdate from './modules/stock/startDocumentHeaderLastUpdate';
|
|
122
122
|
import * as ErrorHandler from './modules/integration/errorHandler';
|
|
123
|
+
import * as Persona from './modules/user/persona';
|
|
123
124
|
export default api;
|
|
124
|
-
export { shared, Address, Attribute, AttributeValue, BankData, Client, ClientType, Color, Commissioner, Composition, CompositionMaterial, Contacts, ContactType, Payment, Country, DocumentHeader, DocumentLine, DocumentLineAssoc, DocumentLineFolder, DocumentType, EntityList, Favorites, Field, FieldGroup, File, GoogleSheets, GroupPermissions, History, Language, Location, Logout, Maintenance, MaintenanceAssoc, MaintenancePreset, MaintenancePresetAssoc, MaintenanceType, Multimedia, Observation, ObservationType, PaymentConditions, Password, Permissions, Plot, PrimaryColor, Product, ProductAttribute, ProductCategory, ProductColor, ProductImage, ProductPart, ProductSubCategory, ProductUse, ProductUseAssoc, ProductName, Promotion, PromotionAssoc, Providers, ProviderType, PurchaseConditions, ReasonForExemption, RefreshToken, SegmentsArea, Sessions, Shippings, SimilarProduct, SocialMedia, StoreOperator, Swift, TaskAttachment, TaskNote, Tasks, TasksGroup, TopMenu, TypeOfInventory, TypeOfLocation, UnitOfMeasure, UserPermissions, UserPositions, Users, UserTokens, VatTax, VatTaxZone, WebsiteRequest, Workflow, DynamicData, DeliveryMethods, MaturityDates, PaymentMethods, Vehicles, ExternalDocumentType, ExternalDocumentHeader, DocumentSet, ClientCurrentAccount, ProviderCurrentAccount, MoloniRequest, VatValidation, ProductNamePreset, StockMovement, ZipCode, Tenant, PreSale, PreSaleProduct, Cabide, CabideProduct, Npc, Printer, SchedulePrintJob, OrderManagement, QueryList, QueryParameter, ReturnReason, PropostaSheets, Schedule, GoogleFilePermission, Settings, Tickets, Channel, TicketsLanguage, Clt, StartDocumentHeaderLastUpdate, ErrorHandler, };
|
|
125
|
+
export { shared, Address, Attribute, AttributeValue, BankData, Client, ClientType, Color, Commissioner, Composition, CompositionMaterial, Contacts, ContactType, Payment, Country, DocumentHeader, DocumentLine, DocumentLineAssoc, DocumentLineFolder, DocumentType, EntityList, Favorites, Field, FieldGroup, File, GoogleSheets, GroupPermissions, History, Language, Location, Logout, Maintenance, MaintenanceAssoc, MaintenancePreset, MaintenancePresetAssoc, MaintenanceType, Multimedia, Observation, ObservationType, PaymentConditions, Password, Permissions, Plot, PrimaryColor, Product, ProductAttribute, ProductCategory, ProductColor, ProductImage, ProductPart, ProductSubCategory, ProductUse, ProductUseAssoc, ProductName, Promotion, PromotionAssoc, Providers, ProviderType, PurchaseConditions, ReasonForExemption, RefreshToken, SegmentsArea, Sessions, Shippings, SimilarProduct, SocialMedia, StoreOperator, Swift, TaskAttachment, TaskNote, Tasks, TasksGroup, TopMenu, TypeOfInventory, TypeOfLocation, UnitOfMeasure, UserPermissions, UserPositions, Users, UserTokens, VatTax, VatTaxZone, WebsiteRequest, Workflow, DynamicData, DeliveryMethods, MaturityDates, PaymentMethods, Vehicles, ExternalDocumentType, ExternalDocumentHeader, DocumentSet, ClientCurrentAccount, ProviderCurrentAccount, MoloniRequest, VatValidation, ProductNamePreset, StockMovement, ZipCode, Tenant, PreSale, PreSaleProduct, Cabide, CabideProduct, Npc, Printer, SchedulePrintJob, OrderManagement, QueryList, QueryParameter, ReturnReason, PropostaSheets, Schedule, GoogleFilePermission, Settings, Tickets, Channel, TicketsLanguage, Clt, StartDocumentHeaderLastUpdate, ErrorHandler, Persona, };
|
package/dist/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ProductPart = exports.ProductImage = exports.ProductColor = exports.ProductCategory = exports.ProductAttribute = exports.Product = exports.PrimaryColor = exports.Plot = exports.Permissions = exports.Password = exports.PaymentConditions = exports.ObservationType = exports.Observation = exports.Multimedia = exports.MaintenanceType = exports.MaintenancePresetAssoc = exports.MaintenancePreset = exports.MaintenanceAssoc = exports.Maintenance = exports.Logout = exports.Location = exports.Language = exports.History = exports.GroupPermissions = exports.GoogleSheets = exports.File = exports.FieldGroup = exports.Field = exports.Favorites = exports.EntityList = exports.DocumentType = exports.DocumentLineFolder = exports.DocumentLineAssoc = exports.DocumentLine = exports.DocumentHeader = exports.Country = exports.Payment = exports.ContactType = exports.Contacts = exports.CompositionMaterial = exports.Composition = exports.Commissioner = exports.Color = exports.ClientType = exports.Client = exports.BankData = exports.AttributeValue = exports.Attribute = exports.Address = exports.shared = void 0;
|
|
30
30
|
exports.Tenant = exports.ZipCode = exports.StockMovement = exports.ProductNamePreset = exports.VatValidation = exports.MoloniRequest = exports.ProviderCurrentAccount = exports.ClientCurrentAccount = exports.DocumentSet = exports.ExternalDocumentHeader = exports.ExternalDocumentType = exports.Vehicles = exports.PaymentMethods = exports.MaturityDates = exports.DeliveryMethods = exports.DynamicData = exports.Workflow = exports.WebsiteRequest = exports.VatTaxZone = exports.VatTax = exports.UserTokens = exports.Users = exports.UserPositions = exports.UserPermissions = exports.UnitOfMeasure = exports.TypeOfLocation = exports.TypeOfInventory = exports.TopMenu = exports.TasksGroup = exports.Tasks = exports.TaskNote = exports.TaskAttachment = exports.Swift = exports.StoreOperator = exports.SocialMedia = exports.SimilarProduct = exports.Shippings = exports.Sessions = exports.SegmentsArea = exports.RefreshToken = exports.ReasonForExemption = exports.PurchaseConditions = exports.ProviderType = exports.Providers = exports.PromotionAssoc = exports.Promotion = exports.ProductName = exports.ProductUseAssoc = exports.ProductUse = exports.ProductSubCategory = void 0;
|
|
31
|
-
exports.ErrorHandler = exports.StartDocumentHeaderLastUpdate = exports.Clt = exports.TicketsLanguage = exports.Channel = exports.Tickets = exports.Settings = exports.GoogleFilePermission = exports.Schedule = exports.PropostaSheets = exports.ReturnReason = exports.QueryParameter = exports.QueryList = exports.OrderManagement = exports.SchedulePrintJob = exports.Printer = exports.Npc = exports.CabideProduct = exports.Cabide = exports.PreSaleProduct = exports.PreSale = void 0;
|
|
31
|
+
exports.Persona = exports.ErrorHandler = exports.StartDocumentHeaderLastUpdate = exports.Clt = exports.TicketsLanguage = exports.Channel = exports.Tickets = exports.Settings = exports.GoogleFilePermission = exports.Schedule = exports.PropostaSheets = exports.ReturnReason = exports.QueryParameter = exports.QueryList = exports.OrderManagement = exports.SchedulePrintJob = exports.Printer = exports.Npc = exports.CabideProduct = exports.Cabide = exports.PreSaleProduct = exports.PreSale = void 0;
|
|
32
32
|
var types_1 = require("@nomalism-com/types");
|
|
33
33
|
Object.defineProperty(exports, "shared", { enumerable: true, get: function () { return types_1.shared; } });
|
|
34
34
|
var client_1 = __importDefault(require("./shared/client"));
|
|
@@ -272,4 +272,6 @@ var StartDocumentHeaderLastUpdate = __importStar(require("./modules/stock/startD
|
|
|
272
272
|
exports.StartDocumentHeaderLastUpdate = StartDocumentHeaderLastUpdate;
|
|
273
273
|
var ErrorHandler = __importStar(require("./modules/integration/errorHandler"));
|
|
274
274
|
exports.ErrorHandler = ErrorHandler;
|
|
275
|
+
var Persona = __importStar(require("./modules/user/persona"));
|
|
276
|
+
exports.Persona = Persona;
|
|
275
277
|
exports.default = client_1.default;
|
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.
|
|
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.15.7",
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
37
|
-
"@typescript-eslint/parser": "^5.56.0",
|
|
38
|
-
"concurrently": "^7.6.0",
|
|
39
|
-
"eslint": "^8.36.0",
|
|
40
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
41
|
-
"eslint-config-prettier": "^8.8.0",
|
|
42
|
-
"eslint-import-resolver-typescript": "^3.5.3",
|
|
43
|
-
"eslint-plugin-import": "^2.27.5",
|
|
44
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
45
|
-
"prettier": "^2.8.7",
|
|
46
|
-
"tsx": "^3.12.6",
|
|
47
|
-
"typescript": "^5.0.2"
|
|
48
|
-
},
|
|
49
|
-
"dependencies": {
|
|
50
|
-
"@nomalism-com/types": "^0.9.
|
|
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.169",
|
|
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.15.7",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^5.56.0",
|
|
37
|
+
"@typescript-eslint/parser": "^5.56.0",
|
|
38
|
+
"concurrently": "^7.6.0",
|
|
39
|
+
"eslint": "^8.36.0",
|
|
40
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
41
|
+
"eslint-config-prettier": "^8.8.0",
|
|
42
|
+
"eslint-import-resolver-typescript": "^3.5.3",
|
|
43
|
+
"eslint-plugin-import": "^2.27.5",
|
|
44
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
45
|
+
"prettier": "^2.8.7",
|
|
46
|
+
"tsx": "^3.12.6",
|
|
47
|
+
"typescript": "^5.0.2"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@nomalism-com/types": "^0.9.206",
|
|
51
|
+
"axios": "^0.27.2"
|
|
52
|
+
}
|
|
53
|
+
}
|