@nomalism-com/types 0.39.26 → 0.39.28

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
@@ -1509,7 +1509,8 @@ var createFromHeaderBodyKeys = {
1509
1509
  return_reason: joi10.string().optional(),
1510
1510
  provider_ref: joi10.string().optional(),
1511
1511
  global_discount: joi10.number().min(0).max(100).optional(),
1512
- current_account: joi10.boolean().optional()
1512
+ current_account: joi10.boolean().optional(),
1513
+ store_operator_id: joi10.string().uuid().allow(null).optional()
1513
1514
  };
1514
1515
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1515
1516
  var findQueryKeys6 = {
@@ -3168,6 +3169,7 @@ var updateStoreOperatorQueryKeys = {
3168
3169
  main_persona_email: joi48.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
3169
3170
  user_account: joi48.string().allow(null, "").optional(),
3170
3171
  password: joi48.string().allow(null, "").optional(),
3172
+ pin: joi48.string().allow(null, "").optional(),
3171
3173
  inactive: joi48.boolean().optional(),
3172
3174
  superuser: joi48.boolean().optional(),
3173
3175
  default_theme: joi48.boolean().optional()
package/dist/index.js CHANGED
@@ -1509,7 +1509,8 @@ var createFromHeaderBodyKeys = {
1509
1509
  return_reason: joi10.string().optional(),
1510
1510
  provider_ref: joi10.string().optional(),
1511
1511
  global_discount: joi10.number().min(0).max(100).optional(),
1512
- current_account: joi10.boolean().optional()
1512
+ current_account: joi10.boolean().optional(),
1513
+ store_operator_id: joi10.string().uuid().allow(null).optional()
1513
1514
  };
1514
1515
  var createFromHeaderBody = joi10.object().keys(createFromHeaderBodyKeys).messages(messages);
1515
1516
  var findQueryKeys6 = {
@@ -3168,6 +3169,7 @@ var updateStoreOperatorQueryKeys = {
3168
3169
  main_persona_email: joi48.string().email({ tlds: { allow: false } }).allow(null, "").optional(),
3169
3170
  user_account: joi48.string().allow(null, "").optional(),
3170
3171
  password: joi48.string().allow(null, "").optional(),
3172
+ pin: joi48.string().allow(null, "").optional(),
3171
3173
  inactive: joi48.boolean().optional(),
3172
3174
  superuser: joi48.boolean().optional(),
3173
3175
  default_theme: joi48.boolean().optional()
@@ -129,6 +129,7 @@ export interface ICreateFromHeaderRequest {
129
129
  provider_ref?: string;
130
130
  global_discount?: number;
131
131
  current_account?: boolean;
132
+ store_operator_id?: string | null;
132
133
  }
133
134
  export interface IUpdateRequest {
134
135
  external_id?: string | null;
@@ -22,6 +22,7 @@ export interface IUpdateRequest {
22
22
  main_persona_email?: string | null;
23
23
  user_account?: string | null;
24
24
  password?: string | null;
25
+ pin?: string | null;
25
26
  inactive?: boolean;
26
27
  superuser?: boolean;
27
28
  default_theme?: boolean;
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.39.26",
4
+ "version": "0.39.28",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",