@nomalism-com/types 0.40.87 → 0.40.89
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
CHANGED
|
@@ -108,6 +108,7 @@ __export(main_exports, {
|
|
|
108
108
|
OrderRoutes: () => route_schema_exports80,
|
|
109
109
|
Password: () => interfaces_exports22,
|
|
110
110
|
PasswordRoutes: () => route_schema_exports31,
|
|
111
|
+
PatchNotes: () => interfaces_exports58,
|
|
111
112
|
Payment: () => interface_exports14,
|
|
112
113
|
PaymentBatch: () => interface_exports61,
|
|
113
114
|
PaymentBatchRoutes: () => route_schema_exports110,
|
|
@@ -5923,6 +5924,17 @@ var promptBodyKeys = {
|
|
|
5923
5924
|
};
|
|
5924
5925
|
var promptBody = joi114.object().keys(promptBodyKeys).messages(messages);
|
|
5925
5926
|
|
|
5927
|
+
// src/modules/integration/patchNotes/interfaces.ts
|
|
5928
|
+
var interfaces_exports58 = {};
|
|
5929
|
+
__export(interfaces_exports58, {
|
|
5930
|
+
LowerName: () => LowerName106,
|
|
5931
|
+
Route: () => Route109,
|
|
5932
|
+
UpperName: () => UpperName106
|
|
5933
|
+
});
|
|
5934
|
+
var Route109 = "patch_notes";
|
|
5935
|
+
var UpperName106 = "PatchNotes";
|
|
5936
|
+
var LowerName106 = UpperName106[0].toLowerCase() + UpperName106.substring(1);
|
|
5937
|
+
|
|
5926
5938
|
// src/index.ts
|
|
5927
5939
|
var index_default = main_exports;
|
|
5928
5940
|
export {
|
package/dist/index.js
CHANGED
|
@@ -108,6 +108,7 @@ __export(main_exports, {
|
|
|
108
108
|
OrderRoutes: () => route_schema_exports80,
|
|
109
109
|
Password: () => interfaces_exports22,
|
|
110
110
|
PasswordRoutes: () => route_schema_exports31,
|
|
111
|
+
PatchNotes: () => interfaces_exports58,
|
|
111
112
|
Payment: () => interface_exports14,
|
|
112
113
|
PaymentBatch: () => interface_exports61,
|
|
113
114
|
PaymentBatchRoutes: () => route_schema_exports110,
|
|
@@ -5923,6 +5924,17 @@ var promptBodyKeys = {
|
|
|
5923
5924
|
};
|
|
5924
5925
|
var promptBody = joi114.object().keys(promptBodyKeys).messages(messages);
|
|
5925
5926
|
|
|
5927
|
+
// src/modules/integration/patchNotes/interfaces.ts
|
|
5928
|
+
var interfaces_exports58 = {};
|
|
5929
|
+
__export(interfaces_exports58, {
|
|
5930
|
+
LowerName: () => LowerName106,
|
|
5931
|
+
Route: () => Route109,
|
|
5932
|
+
UpperName: () => UpperName106
|
|
5933
|
+
});
|
|
5934
|
+
var Route109 = "patch_notes";
|
|
5935
|
+
var UpperName106 = "PatchNotes";
|
|
5936
|
+
var LowerName106 = UpperName106[0].toLowerCase() + UpperName106.substring(1);
|
|
5937
|
+
|
|
5926
5938
|
// src/index.ts
|
|
5927
5939
|
var index_default = main_exports;
|
|
5928
5940
|
export {
|
package/dist/main.d.ts
CHANGED
|
@@ -237,4 +237,5 @@ import * as AccountCode from './modules/stock/accountCode/interface';
|
|
|
237
237
|
import * as AccountCodeRoutes from './modules/stock/accountCode/route.schema';
|
|
238
238
|
import * as LLM from './modules/llm/llm/interfaces';
|
|
239
239
|
import * as LLMRoutes from './modules/llm/llm/route.schema';
|
|
240
|
-
|
|
240
|
+
import * as PatchNotes from './modules/integration/patchNotes/interfaces';
|
|
241
|
+
export { shared, viewErrors, stockErrors, userErrors, documentManagementErrors, integrationErrors, ZipCode, ZipCodeRoutes, BankData, BankDataRoutes, Client, ClientRoutes, ClientType, ClientTypeRoutes, Chat, ChatRoutes, Commissioner, CommissionerRoutes, Country, CountryRoutes, DeliveryMethods, DeliveryMethodsRoutes, DocumentHeader, DocumentHeaderRoutes, DocumentHeaderHistory, BillOfLading, BillOfLadingRoutes, ProductionOrder, ProductionOrderRoutes, Proforma, ProformaRoutes, PropostaFornecedor, PropostaFornecedorRoutes, ProviderCreditNoteFromReturn, ProviderCreditNoteFromReturnRoutes, ProviderFinancialCreditNote, ProviderFinancialCreditNoteRoutes, ProviderServiceInvoice, ProviderServiceInvoiceRoutes, DocumentLine, DocumentLineRoutes, DocumentLineAssoc, DocumentLineAssocRoutes, DocumentSet, DocumentSetRoutes, DocumentType, DocumentTypeRoutes, ExternalDocumentType, ExternalDocumentHeader, ExternalDocumentHeaderRoutes, Favorites, FavoritesRoutes, File, FileRoutes, GoogleSheets, GoogleSheetsRoutes, Language, LanguageRoutes, Location, LocationRoutes, MaturityDates, MaturityDatesRoutes, Multimedia, MultimediaRoutes, OrderManagement, Observation, ObservationRoutes, ObservationType, ObservationTypeRoutes, Password, PasswordRoutes, Payment, PaymentRoutes, PaymentMethods, PaymentMethodsRoutes, ProductImage, ProductImageRoutes, Promotion, PromotionRoutes, PromotionAssoc, PromotionAssocRoutes, Providers, ProvidersRoutes, ProviderType, ProviderTypeRoutes, PurchaseConditions, PurchaseConditionsRoutes, ReasonForExemption, ReasonForExemptionRoutes, RefreshToken, RefreshTokenRoutes, SegmentsArea, SegmentsAreaRoutes, Sessions, SessionsRoutes, Shippings, ShippingsRoutes, StoreOperator, StoreOperatorRoutes, Swift, SwiftRoutes, TypeOfLocation, TypeOfLocationRoutes, UnitOfMeasure, UnitOfMeasureRoutes, UserPositions, UserPositionsRoutes, Users, UsersRoutes, UserTokens, UserTokensRoutes, VatValidation, VatValidationRoutes, VatTax, VatTaxRoutes, VatTaxZone, VatTaxZoneRoutes, Vehicles, VehiclesRoutes, Workflow, WorkflowRoutes, StockMovement, StockMovementRoutes, Tenant, TenantRoutes, PreSale, PreSaleRoutes, PreSaleProduct, PreSaleProductRoutes, Npc, NpcRoutes, Printer, PrinterRoutes, SchedulePrintJob, SchedulePrintJobRoutes, QueryList, QueryListRoutes, QueryParameter, QueryParameterRoutes, ReturnReason, ReturnReasonRoutes, PropostaSheets, PropostaSheetsRoutes, Schedule, ScheduleRoutes, GoogleFilePermission, GoogleFilePermissionRoutes, Settings, SettingsRoutes, Tickets, TicketsRoutes, Channel, ChannelRoutes, TicketsLanguage, TicketsLanguageRoutes, CLT, CLTRoutes, StartDocumentHeaderLastUpdate, Persona, PersonaRoutes, ProjectInfo, ProjectInfoRoutes, EmailVerification, EmailVerificationRoutes, EmailLog, EmailLogRoutes, Purchase, PurchaseRoutes, Order, OrderRoutes, MaterialEntrance, MaterialEntranceRoutes, Transformado, TransformadoRoutes, Quebra, QuebraRoutes, UpfrontReturn, UpfrontReturnRoutes, SavedEmPicking, SavedEmPickingRoutes, EmailTemplate, EmailTemplateRoutes, EmailTemplateAttachment, EmailTemplateAttachmentRoutes, Inventario, InventarioRoutes, ReturnToProvider, ReturnToProviderRoutes, Prison, PrisonRoutes, DocumentLineNote, DocumentLineNoteRoutes, SavedProviderProposal, SavedProviderProposalRoutes, ProductGoogleSheets, ProductGoogleSheetsRoutes, Task, TaskRoutes, TaskMessage, TaskMessageRoutes, RecurrentTasks, TaskRead, TaskReadRoutes, Theme, ThemeRoutes, Dashboard, DashboardRoutes, ChatRapidMessage, ChatRapidMessageRoutes, SideMenu, SideMenuRoutes, AdminPanel, ErrorLog, ErrorLogRoutes, DocumentLineRm, DocumentLineRmRoutes, DocumentLineMt, DocumentLineMtRoutes, ChatSubscriber, ChatSubscriberRoutes, Tag, TagRoutes, Gmails, GmailsRoutes, NPF, NPFRoutes, NRCL, NRCLRoutes, CurrentAccount, CurrentAccountRoutes, PaymentBatch, PaymentBatchRoutes, Portal, PortalRoutes, GoogleSheetPool, AccountCode, AccountCodeRoutes, LLM, LLMRoutes, PatchNotes, };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as IShared from '../../../shared/interface';
|
|
2
|
+
import { PatchNotes } from '../../../shared/entities/integration';
|
|
3
|
+
export type Entity = PatchNotes;
|
|
4
|
+
export declare const Route = "patch_notes";
|
|
5
|
+
export declare const UpperName = "PatchNotes";
|
|
6
|
+
export declare const LowerName: string;
|
|
7
|
+
export interface IFindResponse {
|
|
8
|
+
date: string;
|
|
9
|
+
version: string;
|
|
10
|
+
description: string;
|
|
11
|
+
}
|
|
12
|
+
export interface ICreateRequest {
|
|
13
|
+
id?: number;
|
|
14
|
+
service: string;
|
|
15
|
+
container?: string | null;
|
|
16
|
+
version: string;
|
|
17
|
+
deploy_ref: string;
|
|
18
|
+
environment?: string | null;
|
|
19
|
+
commit_sha: string;
|
|
20
|
+
commit_short_sha?: string | null;
|
|
21
|
+
commit_title: string;
|
|
22
|
+
commit_message: string;
|
|
23
|
+
commit_timestamp: string;
|
|
24
|
+
project_id: number;
|
|
25
|
+
project_path: string;
|
|
26
|
+
project_url: string;
|
|
27
|
+
pipeline_id: number;
|
|
28
|
+
pipeline_iid?: number | null;
|
|
29
|
+
pipeline_source: string;
|
|
30
|
+
pipeline_url: string;
|
|
31
|
+
job_id?: number | null;
|
|
32
|
+
job_name?: string | null;
|
|
33
|
+
job_url?: string | null;
|
|
34
|
+
merge_request_iid?: number | null;
|
|
35
|
+
mergeRequest_id?: number | null;
|
|
36
|
+
mr_source_branch?: string | null;
|
|
37
|
+
mr_target_branch?: string | null;
|
|
38
|
+
changes?: unknown;
|
|
39
|
+
raw?: unknown;
|
|
40
|
+
created_at?: string;
|
|
41
|
+
updated_at?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface IRepository {
|
|
44
|
+
find(): Promise<Entity[]>;
|
|
45
|
+
createOrUpdate(data: IShared.IFindByIdNumberRequest): Promise<void>;
|
|
46
|
+
}
|
|
47
|
+
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -29,6 +29,12 @@ export interface IChatBalloon {
|
|
|
29
29
|
}
|
|
30
30
|
export type IReport = Pick<Entity, 'email_processed' | 'email_delivered' | 'email_opened' | 'email_clicked'>;
|
|
31
31
|
export interface IPublicFindActiveByOwnerIdResponse {
|
|
32
|
+
last_group_report?: IReport;
|
|
33
|
+
owner_id?: string;
|
|
34
|
+
document_header_id?: string;
|
|
35
|
+
chat: IChatBalloon[];
|
|
36
|
+
}
|
|
37
|
+
export interface IPublicFindActiveByOwnerIdWithPersonaResponse {
|
|
32
38
|
persona?: Persona.IFindContactPersonaByOwnerId;
|
|
33
39
|
last_group_report?: IReport;
|
|
34
40
|
owner_id?: string;
|
|
@@ -70,7 +76,7 @@ export interface IMarkAllClientReadUnreadRequest {
|
|
|
70
76
|
export interface IRepository {
|
|
71
77
|
findActiveByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IPublicFindActiveByOwnerIdResponse>;
|
|
72
78
|
clientWebAppFindActiveByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<IPublicClientWebAppFindActiveByOwnerIdResponse>;
|
|
73
|
-
findActiveBySubscriberId(params: IShared.IFindByOwnerIdRequest): Promise<
|
|
79
|
+
findActiveBySubscriberId(params: IShared.IFindByOwnerIdRequest): Promise<IPublicFindActiveByOwnerIdWithPersonaResponse>;
|
|
74
80
|
resendLast(params: IShared.IFindByOwnerIdRequest): Promise<void>;
|
|
75
81
|
create(data: ICreateRequest): Promise<Chat>;
|
|
76
82
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<void>;
|
|
@@ -128,3 +128,38 @@ export type EmailVerification = {
|
|
|
128
128
|
updated_by: string;
|
|
129
129
|
updated_at: Date;
|
|
130
130
|
};
|
|
131
|
+
/**
|
|
132
|
+
* Model PatchNotes
|
|
133
|
+
*
|
|
134
|
+
*/
|
|
135
|
+
export type PatchNotes = {
|
|
136
|
+
id: number;
|
|
137
|
+
service: string;
|
|
138
|
+
container: string | null;
|
|
139
|
+
version: string;
|
|
140
|
+
deploy_ref: string;
|
|
141
|
+
environment: string | null;
|
|
142
|
+
commit_sha: string;
|
|
143
|
+
commit_short_sha: string | null;
|
|
144
|
+
commit_title: string;
|
|
145
|
+
commit_message: string;
|
|
146
|
+
commit_timestamp: string;
|
|
147
|
+
project_id: number;
|
|
148
|
+
project_path: string;
|
|
149
|
+
project_url: string;
|
|
150
|
+
pipeline_id: number;
|
|
151
|
+
pipeline_iid: number | null;
|
|
152
|
+
pipeline_source: string;
|
|
153
|
+
pipeline_url: string;
|
|
154
|
+
job_id: number | null;
|
|
155
|
+
job_name: string | null;
|
|
156
|
+
job_url: string | null;
|
|
157
|
+
merge_request_iid: number | null;
|
|
158
|
+
mergeRequest_id: number | null;
|
|
159
|
+
mr_source_branch: string | null;
|
|
160
|
+
mr_target_branch: string | null;
|
|
161
|
+
changes: unknown;
|
|
162
|
+
raw: unknown;
|
|
163
|
+
created_at: string;
|
|
164
|
+
updated_at: string;
|
|
165
|
+
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/types",
|
|
3
3
|
"description": "A nomalism package with all necessary types and validations for developing APIs",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.89",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|