@nomalism-com/types 0.27.78 → 0.27.80

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.
@@ -211,8 +211,9 @@ export interface IUpdateRequest {
211
211
  created_by?: string;
212
212
  chat_token_active?: boolean;
213
213
  }
214
+ export type IGetActionsDocumentType = Pick<DocumentType, "user_type" | "allow_create_from_header_without_lines" | "pay" | "credit" | "debit" | "invoice" | "code" | "return" | "allow_duplicates" | "duplicate_group" | "id">;
214
215
  export interface IGetActionsResponse {
215
- document_type: DocumentType;
216
+ document_type: IGetActionsDocumentType;
216
217
  transition_name: string;
217
218
  document_line_ids: string[];
218
219
  from_document_headers: {
@@ -288,6 +289,8 @@ export interface ICreateProviderCreditNoteFromReturnRequest {
288
289
  total: number;
289
290
  }
290
291
  export interface ICreateFromHeaderResponse {
292
+ newDocumentHeaderId: string;
293
+ needsExternalValidation: boolean;
291
294
  brokerMessages: IShared.IBrokerMessage<IShared.IBrokerTopic>[];
292
295
  tasks: IShared.ITaskCluster[];
293
296
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.27.78",
12
+ "version": "0.27.80",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -43,7 +43,7 @@
43
43
  "@typescript-eslint/eslint-plugin": "^7.18.0",
44
44
  "@typescript-eslint/parser": "^7.18.0",
45
45
  "eslint": "^8.57.1",
46
- "rollup": "^4.27.2",
46
+ "rollup": "^4.27.3",
47
47
  "tslib": "^2.8.1"
48
48
  }
49
49
  }