@nomalism-com/types 0.9.500 → 0.9.501

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.
@@ -5,12 +5,12 @@ export declare const Route = "saved_em_picking";
5
5
  export declare const UpperName = "SavedEmPicking";
6
6
  export declare const LowerName: string;
7
7
  export interface ICreateRequest {
8
- owner_id: string;
8
+ provider_id: string;
9
9
  document_header_id: string;
10
10
  data: unknown;
11
11
  }
12
12
  export interface IRepository {
13
- findByOwnerId(params: IShared.IFindByOwnerIdRequest): Promise<Entity[]>;
13
+ findByProviderId(params: IShared.IFindByIdRequest): Promise<Entity[]>;
14
14
  create(data: ICreateRequest): Promise<Entity>;
15
15
  deleteOne(selector: IShared.IFindByIdRequest): Promise<Entity | null>;
16
16
  }
@@ -9,6 +9,6 @@ var messages_1 = require("../../../shared/messages");
9
9
  var createBodyKeys = {
10
10
  data: joi_1.default.any(),
11
11
  document_header_id: joi_1.default.string().uuid().required(),
12
- owner_id: joi_1.default.string().uuid().required(),
12
+ provider_id: joi_1.default.string().uuid().required(),
13
13
  };
14
14
  exports.createBody = joi_1.default.object().keys(createBodyKeys).messages(messages_1.messages);
@@ -1059,6 +1059,7 @@ export type ProviderProductView = {
1059
1059
  export type SavedEmPicking = {
1060
1060
  id: string;
1061
1061
  owner_id: string;
1062
+ provider_id: string;
1062
1063
  document_header_id: string;
1063
1064
  data: unknown;
1064
1065
  };
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.9.500",
12
+ "version": "0.9.501",
13
13
  "main": "./dist/index.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [