@nomalism-com/types 0.27.80 → 0.27.81

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.
@@ -416,7 +416,7 @@ export declare const IWarningEnum: {
416
416
  export type IWarningType = (typeof IWarningEnum)[keyof typeof IWarningEnum];
417
417
  export declare const IWarningType: string[];
418
418
  export interface ICreateProForma {
419
- document_header_id?: string;
419
+ document_header_id: string;
420
420
  from_document_header_id: string;
421
421
  document_type_id: number;
422
422
  product_designation: string;
@@ -454,7 +454,7 @@ export interface IRepository {
454
454
  createProviderProposal(data: IProviderProposalRequest): Promise<string>;
455
455
  createBillOfLading(data: ICreateBillOfLadingRequest): Promise<ICreateBillOfLadingResponse>;
456
456
  getAllRelatedDocumentHeaderIds(params: IShared.IFindByIdRequest): Promise<string[]>;
457
- createProForma(params: ICreateProForma): Promise<ICreateFromHeaderResponse>;
457
+ createProForma(params: ICreateProForma): Promise<Omit<ICreateFromHeaderResponse, "newDocumentHeaderId" | "needsExternalValidation">>;
458
458
  findSideMenuStoreOperators(): Promise<string[]>;
459
459
  }
460
460
  export type IApi = Omit<IRepository, "createFromHeader" | "createProductionOrder" | "createBillOfLading" | "createProForma"> & {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.27.80",
12
+ "version": "0.27.81",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [