@nomalism-com/api 0.8.278 → 0.8.280
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 +4 -1
- package/dist/index.js +7 -1
- package/dist/modules/stock/order.d.ts +2 -0
- package/package.json +53 -53
package/dist/index.d.ts
CHANGED
|
@@ -122,5 +122,8 @@ import * as StartDocumentHeaderLastUpdate from './modules/stock/startDocumentHea
|
|
|
122
122
|
import * as ErrorHandler from './modules/integration/errorHandler';
|
|
123
123
|
import * as Persona from './modules/user/persona';
|
|
124
124
|
import * as ProjectInfo from './modules/integration/projectInfo';
|
|
125
|
+
import * as Order from './modules/stock/order';
|
|
126
|
+
import * as Purchase from './modules/stock/purchase';
|
|
127
|
+
import * as MaterialEntrance from './modules/stock/materialEntrance';
|
|
125
128
|
export default api;
|
|
126
|
-
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, ProjectInfo, };
|
|
129
|
+
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, ProjectInfo, Order, Purchase, MaterialEntrance, };
|
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.ProjectInfo = 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;
|
|
31
|
+
exports.MaterialEntrance = exports.Purchase = exports.Order = exports.ProjectInfo = 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"));
|
|
@@ -276,4 +276,10 @@ var Persona = __importStar(require("./modules/user/persona"));
|
|
|
276
276
|
exports.Persona = Persona;
|
|
277
277
|
var ProjectInfo = __importStar(require("./modules/integration/projectInfo"));
|
|
278
278
|
exports.ProjectInfo = ProjectInfo;
|
|
279
|
+
var Order = __importStar(require("./modules/stock/order"));
|
|
280
|
+
exports.Order = Order;
|
|
281
|
+
var Purchase = __importStar(require("./modules/stock/purchase"));
|
|
282
|
+
exports.Purchase = Purchase;
|
|
283
|
+
var MaterialEntrance = __importStar(require("./modules/stock/materialEntrance"));
|
|
284
|
+
exports.MaterialEntrance = MaterialEntrance;
|
|
279
285
|
exports.default = client_1.default;
|
|
@@ -11,6 +11,8 @@ export declare const ConferirEncomendaClienteOptionsEnum: {
|
|
|
11
11
|
'Espera RM interna': "Espera RM interna";
|
|
12
12
|
'Espera enc todos os tecidos': "Espera enc todos os tecidos";
|
|
13
13
|
'Espera definir detalhes c/ vendedor': "Espera definir detalhes c/ vendedor";
|
|
14
|
+
'Espera Consulta Stock': "Espera Consulta Stock";
|
|
15
|
+
'Espera Cota\u00E7\u00E3o': "Espera Cotação";
|
|
14
16
|
'Encomendar VA': "Encomendar VA";
|
|
15
17
|
'Encomendar Stock': "Encomendar Stock";
|
|
16
18
|
'Stock em Loja': "Stock em Loja";
|
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.16.
|
|
36
|
-
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
37
|
-
"@typescript-eslint/parser": "^5.59.6",
|
|
38
|
-
"concurrently": "^8.0.1",
|
|
39
|
-
"eslint": "^8.40.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.
|
|
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.280",
|
|
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.12",
|
|
36
|
+
"@typescript-eslint/eslint-plugin": "^5.59.6",
|
|
37
|
+
"@typescript-eslint/parser": "^5.59.6",
|
|
38
|
+
"concurrently": "^8.0.1",
|
|
39
|
+
"eslint": "^8.40.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.362",
|
|
51
|
+
"axios": "^0.27.2"
|
|
52
|
+
}
|
|
53
|
+
}
|