@nomalism-com/types 0.43.80 → 0.43.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.
package/dist/index.cjs CHANGED
@@ -1655,7 +1655,7 @@ var transferClientOwnershipBodyKeys = {
1655
1655
  var transferClientOwnershipBody = joi10.object().keys(transferClientOwnershipBodyKeys).messages(messages);
1656
1656
  var updateManyWithPersonaBodyKeys = {
1657
1657
  id: joi10.string().uuid().required(),
1658
- owner_id: joi10.string().uuid().required(),
1658
+ owner_id: joi10.string().uuid().optional(),
1659
1659
  owner_name: joi10.string().allow(null).optional(),
1660
1660
  name: joi10.string().allow(null).optional(),
1661
1661
  telephone: joi10.string().allow(null).optional(),
package/dist/index.js CHANGED
@@ -1655,7 +1655,7 @@ var transferClientOwnershipBodyKeys = {
1655
1655
  var transferClientOwnershipBody = joi10.object().keys(transferClientOwnershipBodyKeys).messages(messages);
1656
1656
  var updateManyWithPersonaBodyKeys = {
1657
1657
  id: joi10.string().uuid().required(),
1658
- owner_id: joi10.string().uuid().required(),
1658
+ owner_id: joi10.string().uuid().optional(),
1659
1659
  owner_name: joi10.string().allow(null).optional(),
1660
1660
  name: joi10.string().allow(null).optional(),
1661
1661
  telephone: joi10.string().allow(null).optional(),
@@ -218,8 +218,8 @@ export interface IFindResponse {
218
218
  }
219
219
  export type IUpdateManyWithPersona = {
220
220
  id: string;
221
- owner_id: string;
222
- owner_name: string | null;
221
+ owner_id?: string;
222
+ owner_name?: string | null;
223
223
  name: string | null;
224
224
  telephone: string | null;
225
225
  email: string | null;
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.43.80",
4
+ "version": "0.43.81",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",