@nomalism-com/api 0.36.23 → 0.36.25
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 +338 -317
- package/dist/index.d.ts +33 -20
- package/dist/index.js +338 -317
- package/package-lock.json +160 -159
- package/package.json +2 -2
- package/src/main.ts +8 -0
- package/src/modules/supply/documentHeaderHistory.ts +24 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosResponse, AxiosRequestHeaders, AxiosInstance } from 'axios';
|
|
2
2
|
import Nomalism$1 from '@nomalism-com/types';
|
|
3
3
|
|
|
4
|
-
declare class Repository$
|
|
4
|
+
declare class Repository$1P implements Nomalism$1.BankData.IRepository {
|
|
5
5
|
route: string;
|
|
6
6
|
publicRoute: string;
|
|
7
7
|
private api;
|
|
@@ -16,11 +16,11 @@ declare class Repository$1O implements Nomalism$1.BankData.IRepository {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
declare namespace bankData {
|
|
19
|
-
export { Repository$
|
|
19
|
+
export { Repository$1P as default };
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
type IPaginationResponse$5 = Nomalism$1.shared.IPaginationResponse<Nomalism$1.Client.IFindResponse>;
|
|
23
|
-
declare class Repository$
|
|
23
|
+
declare class Repository$1O implements Nomalism$1.Client.IRepository {
|
|
24
24
|
route: string;
|
|
25
25
|
publicRoute: string;
|
|
26
26
|
private api;
|
|
@@ -38,10 +38,10 @@ declare class Repository$1N implements Nomalism$1.Client.IRepository {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
declare namespace clients {
|
|
41
|
-
export { type IPaginationResponse$5 as IPaginationResponse, Repository$
|
|
41
|
+
export { type IPaginationResponse$5 as IPaginationResponse, Repository$1O as default };
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
declare class Repository$
|
|
44
|
+
declare class Repository$1N implements Nomalism$1.ClientType.IRepository {
|
|
45
45
|
route: string;
|
|
46
46
|
publicRoute: string;
|
|
47
47
|
private api;
|
|
@@ -56,10 +56,10 @@ declare class Repository$1M implements Nomalism$1.ClientType.IRepository {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
declare namespace clientType {
|
|
59
|
-
export { Repository$
|
|
59
|
+
export { Repository$1N as default };
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
declare class Repository$
|
|
62
|
+
declare class Repository$1M implements Nomalism$1.Chat.IRepository {
|
|
63
63
|
route: string;
|
|
64
64
|
publicRoute: string;
|
|
65
65
|
private api;
|
|
@@ -74,7 +74,7 @@ declare class Repository$1L implements Nomalism$1.Chat.IRepository {
|
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
type IPaginationResponse$4 = Nomalism$1.shared.IPaginationResponse<Nomalism$1.Commissioner.IFindResponse>;
|
|
77
|
-
declare class Repository$
|
|
77
|
+
declare class Repository$1L implements Nomalism$1.Commissioner.IRepository {
|
|
78
78
|
route: string;
|
|
79
79
|
publicRoute: string;
|
|
80
80
|
private api;
|
|
@@ -90,11 +90,11 @@ declare class Repository$1K implements Nomalism$1.Commissioner.IRepository {
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
declare namespace commissioner {
|
|
93
|
-
export { type IPaginationResponse$4 as IPaginationResponse, Repository$
|
|
93
|
+
export { type IPaginationResponse$4 as IPaginationResponse, Repository$1L as default };
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
type IPaginationResponse$3 = Nomalism$1.shared.IPaginationResponse<Nomalism$1.Country.IFindResponse>;
|
|
97
|
-
declare class Repository$
|
|
97
|
+
declare class Repository$1K implements Nomalism$1.Country.IRepository {
|
|
98
98
|
route: string;
|
|
99
99
|
publicRoute: string;
|
|
100
100
|
private api;
|
|
@@ -110,10 +110,10 @@ declare class Repository$1J implements Nomalism$1.Country.IRepository {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
declare namespace country {
|
|
113
|
-
export { type IPaginationResponse$3 as IPaginationResponse, Repository$
|
|
113
|
+
export { type IPaginationResponse$3 as IPaginationResponse, Repository$1K as default };
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
declare class Repository$
|
|
116
|
+
declare class Repository$1J implements Nomalism$1.DocumentHeader.IRepository {
|
|
117
117
|
route: string;
|
|
118
118
|
publicRoute: string;
|
|
119
119
|
private api;
|
|
@@ -146,6 +146,18 @@ declare class Repository$1I implements Nomalism$1.DocumentHeader.IRepository {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
declare namespace documentHeader {
|
|
149
|
+
export { Repository$1J as default };
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
declare class Repository$1I implements Nomalism$1.DocumentHeaderHistory.IRepository {
|
|
153
|
+
route: string;
|
|
154
|
+
publicRoute: string;
|
|
155
|
+
private api;
|
|
156
|
+
constructor({ api, route, publicRoute }: IModuleConstructor);
|
|
157
|
+
findByOwnerId(selector: Nomalism$1.shared.IFindByOwnerIdRequest): Promise<Nomalism$1.DocumentHeaderHistory.IFindByOwnerIdResponse[]>;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
declare namespace documentHeaderHistory {
|
|
149
161
|
export { Repository$1I as default };
|
|
150
162
|
}
|
|
151
163
|
|
|
@@ -1844,13 +1856,14 @@ declare class API {
|
|
|
1844
1856
|
processEnvironment: IEnvironment;
|
|
1845
1857
|
client: AxiosInstance;
|
|
1846
1858
|
services: Record<IService, string>;
|
|
1847
|
-
BankData: Repository$
|
|
1848
|
-
Client: Repository$
|
|
1849
|
-
ClientType: Repository$
|
|
1850
|
-
Chat: Repository$
|
|
1851
|
-
Commissioner: Repository$
|
|
1852
|
-
Country: Repository$
|
|
1853
|
-
DocumentHeader: Repository$
|
|
1859
|
+
BankData: Repository$1P;
|
|
1860
|
+
Client: Repository$1O;
|
|
1861
|
+
ClientType: Repository$1N;
|
|
1862
|
+
Chat: Repository$1M;
|
|
1863
|
+
Commissioner: Repository$1L;
|
|
1864
|
+
Country: Repository$1K;
|
|
1865
|
+
DocumentHeader: Repository$1J;
|
|
1866
|
+
DocumentHeaderHistory: Repository$1I;
|
|
1854
1867
|
BillOfLading: Repository$1H;
|
|
1855
1868
|
ProductionOrder: Repository$1G;
|
|
1856
1869
|
Proforma: Repository$1F;
|
|
@@ -1968,7 +1981,7 @@ type Nomalism_IEnvironment = IEnvironment;
|
|
|
1968
1981
|
type Nomalism_IModuleConstructor = IModuleConstructor;
|
|
1969
1982
|
type Nomalism_IOptions = IOptions;
|
|
1970
1983
|
declare namespace Nomalism {
|
|
1971
|
-
export { Nomalism_API as API, adminPanel as AdminPanelClass, bankData as BankData, channel as Channel, chatRapidMessage as ChatRapidMessageClass, chatSubscriber as ChatSubscriberClass, clients as Client, clientCurrentAccount as ClientCurrentAccount, clientType as ClientType, clt as Clt, commissioner as Commissioner, country as Country, dashboard as DashboardClass, deliveryMethods as DeliveryMethods, documentHeader as DocumentHeader, documentLine as DocumentLine, documentLineAssoc as DocumentLineAssoc, documentLineMt as DocumentLineMtClass, documentLineNote as DocumentLineNote, documentLineRm as DocumentLineRmClass, documentSet as DocumentSet, documentType as DocumentType, emailLog as EmailLog, emailTemplate as EmailTemplate, emailTemplateAttachment as EmailTemplateAttachment, emailVerification as EmailVerification, errorLog as ErrorLogClass, externalDocumentHeader as ExternalDocumentHeader, externalDocumentType as ExternalDocumentType, favorites as Favorites, file as File, googleFilePermission as GoogleFilePermission, googleSheets as GoogleSheets, groupPermission as GroupPermissions, type Nomalism_IEnvironment as IEnvironment, type Nomalism_IModuleConstructor as IModuleConstructor, type Nomalism_IOptions as IOptions, inventario as Inventario, language$1 as Language, location as Location, logout as Logout, materialEntrance as MaterialEntrance, maturityDates as MaturityDates, multimedia as Multimedia, npc as Npc, observation as Observation, observationType as ObservationType, order as Order, orderManagement as OrderManagement, password as Password, payment as Payment, paymentMethods as PaymentMethods, permission as Permissions, persona as Persona, preSale as PreSale, preSaleProduct as PreSaleProduct, printer as Printer, prison as Prison, productGoogleSheets as ProductGoogleSheets, productImage as ProductImage, projectInfo as ProjectInfo, promotion as Promotion, promotionAssoc as PromotionAssoc, propostaSheets as PropostaSheets, providerCurrentAccount as ProviderCurrentAccount, providerType as ProviderType, provider as Providers, purchase as Purchase, purchaseCondition as PurchaseConditions, quebra as Quebra, queryList as QueryList, queryParameter as QueryParameter, reasonForExemption as ReasonForExemption, recurrentTasks as RecurrentTasks, refreshToken as RefreshToken, returnReason as ReturnReason, returnToProvider as ReturnToProvider, savedEmPicking as SavedEmPicking, savedProviderProposal as SavedProviderProposal, schedule as Schedule, schedulePrintJob as SchedulePrintJob, segmentsArea as SegmentsArea, sessions as Sessions, settings as Settings, shippings as Shippings, sideMenu as SideMenuClass, startDocumentHeaderLastUpdate as StartDocumentHeaderLastUpdate, stockMovement as StockMovement, storeOperator as StoreOperator, swift as Swift, tag as TagClass, task as Task, taskMessage as TaskMessage, taskRead as TaskReadClass, tenant as Tenant, theme as ThemeClass, tickets as Tickets, language as TicketsLanguage, transformado as Transformado, typeOfLocation as TypeOfLocation, unitOfMeasure as UnitOfMeasure, upfrontReturn as UpfrontReturn, userPermission as UserPermissions, userPositions as UserPositions, user as Users, vatTax as VatTax, vatTaxZone as VatTaxZone, vatValidation as VatValidation, vehicles as Vehicles, workflow as Workflow, zipCode as ZipCode };
|
|
1984
|
+
export { Nomalism_API as API, adminPanel as AdminPanelClass, bankData as BankData, channel as Channel, chatRapidMessage as ChatRapidMessageClass, chatSubscriber as ChatSubscriberClass, clients as Client, clientCurrentAccount as ClientCurrentAccount, clientType as ClientType, clt as Clt, commissioner as Commissioner, country as Country, dashboard as DashboardClass, deliveryMethods as DeliveryMethods, documentHeader as DocumentHeader, documentHeaderHistory as DocumentHeaderHistory, documentLine as DocumentLine, documentLineAssoc as DocumentLineAssoc, documentLineMt as DocumentLineMtClass, documentLineNote as DocumentLineNote, documentLineRm as DocumentLineRmClass, documentSet as DocumentSet, documentType as DocumentType, emailLog as EmailLog, emailTemplate as EmailTemplate, emailTemplateAttachment as EmailTemplateAttachment, emailVerification as EmailVerification, errorLog as ErrorLogClass, externalDocumentHeader as ExternalDocumentHeader, externalDocumentType as ExternalDocumentType, favorites as Favorites, file as File, googleFilePermission as GoogleFilePermission, googleSheets as GoogleSheets, groupPermission as GroupPermissions, type Nomalism_IEnvironment as IEnvironment, type Nomalism_IModuleConstructor as IModuleConstructor, type Nomalism_IOptions as IOptions, inventario as Inventario, language$1 as Language, location as Location, logout as Logout, materialEntrance as MaterialEntrance, maturityDates as MaturityDates, multimedia as Multimedia, npc as Npc, observation as Observation, observationType as ObservationType, order as Order, orderManagement as OrderManagement, password as Password, payment as Payment, paymentMethods as PaymentMethods, permission as Permissions, persona as Persona, preSale as PreSale, preSaleProduct as PreSaleProduct, printer as Printer, prison as Prison, productGoogleSheets as ProductGoogleSheets, productImage as ProductImage, projectInfo as ProjectInfo, promotion as Promotion, promotionAssoc as PromotionAssoc, propostaSheets as PropostaSheets, providerCurrentAccount as ProviderCurrentAccount, providerType as ProviderType, provider as Providers, purchase as Purchase, purchaseCondition as PurchaseConditions, quebra as Quebra, queryList as QueryList, queryParameter as QueryParameter, reasonForExemption as ReasonForExemption, recurrentTasks as RecurrentTasks, refreshToken as RefreshToken, returnReason as ReturnReason, returnToProvider as ReturnToProvider, savedEmPicking as SavedEmPicking, savedProviderProposal as SavedProviderProposal, schedule as Schedule, schedulePrintJob as SchedulePrintJob, segmentsArea as SegmentsArea, sessions as Sessions, settings as Settings, shippings as Shippings, sideMenu as SideMenuClass, startDocumentHeaderLastUpdate as StartDocumentHeaderLastUpdate, stockMovement as StockMovement, storeOperator as StoreOperator, swift as Swift, tag as TagClass, task as Task, taskMessage as TaskMessage, taskRead as TaskReadClass, tenant as Tenant, theme as ThemeClass, tickets as Tickets, language as TicketsLanguage, transformado as Transformado, typeOfLocation as TypeOfLocation, unitOfMeasure as UnitOfMeasure, upfrontReturn as UpfrontReturn, userPermission as UserPermissions, userPositions as UserPositions, user as Users, vatTax as VatTax, vatTaxZone as VatTaxZone, vatValidation as VatValidation, vehicles as Vehicles, workflow as Workflow, zipCode as ZipCode };
|
|
1972
1985
|
}
|
|
1973
1986
|
|
|
1974
1987
|
export { Nomalism as default };
|