@nomalism-com/types 0.14.1 → 0.14.3
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.
|
@@ -232,6 +232,7 @@ export interface IRepository {
|
|
|
232
232
|
update(selector: IShared.IFindByIdRequest, data: IUpdateRequest): Promise<IFindResponse | null>;
|
|
233
233
|
deleteOne(selector: IShared.IFindByIdRequest): Promise<void>;
|
|
234
234
|
duplicateProduct(selector: IShared.IFindByIdRequest, body: IDuplicateProductRequest): Promise<string>;
|
|
235
|
+
googleSheetsFieldsByRef(selector: IFindByReferenceRequest): Promise<string>;
|
|
235
236
|
}
|
|
236
237
|
export type IApi = Omit<IRepository, 'getLabelData'>;
|
|
237
238
|
export type IController = IShared.IEntityWithUserToken<IRepository>;
|
|
@@ -317,10 +317,6 @@ export interface ISendClientNotificationRequest {
|
|
|
317
317
|
}
|
|
318
318
|
export interface IDocumentPdfRequest {
|
|
319
319
|
token?: string;
|
|
320
|
-
hideTaxes?: boolean;
|
|
321
|
-
hidePrices?: boolean;
|
|
322
|
-
hidePayments?: boolean;
|
|
323
|
-
hideDiscounts?: boolean;
|
|
324
320
|
}
|
|
325
321
|
export interface IFindByTypeRequest {
|
|
326
322
|
documentTypeCodes: IDocumentType.IDocumentTypeCodeType[];
|
|
@@ -461,10 +461,6 @@ exports.findByTypeQuery = joi_1.default
|
|
|
461
461
|
.messages(messages_1.messages);
|
|
462
462
|
var documentPdfQueryKeys = {
|
|
463
463
|
token: joi_1.default.string().optional(),
|
|
464
|
-
hideTaxes: joi_1.default.boolean().optional(),
|
|
465
|
-
hidePrices: joi_1.default.boolean().optional(),
|
|
466
|
-
hidePayments: joi_1.default.boolean().optional(),
|
|
467
|
-
hideDiscounts: joi_1.default.boolean().optional(),
|
|
468
464
|
};
|
|
469
465
|
exports.documentPdfQuery = joi_1.default
|
|
470
466
|
.object()
|